/* ==========================================================================
   ELEVARE — Responsive Overrides
   Breakpoints follow Bootstrap 5: xl 1200 / lg 992 / md 768 / sm 576
   ========================================================================== */

/* ===== Large desktops / laptops (<=1399.98px) ===== */
@media (max-width: 1399.98px) {
    :root {
        --section-pad-y: 5.5rem;
    }
}

/* ===== Laptops / small desktops (<=1199.98px) ===== */
@media (max-width: 1199.98px) {
    .hero-float-card.card-top-left {
        left: 0;
    }
    .hero-float-card.card-bottom-right {
        right: 0;
    }
    .cta-section {
        padding: 3.5rem 2rem;
    }
}

/* ===== Tablets (<=991.98px) ===== */
@media (max-width: 991.98px) {
    :root {
        --section-pad-y: 4.5rem;
        --section-pad-y-sm: 3rem;
    }

    .main-nav {
        display: none !important;
    }
    .navbar-cta .d-lg-inline-flex {
        display: none !important;
    }

    .hero-section {
        padding: 8rem 0 4rem;
        text-align: center;
    }
    .hero-stats-strip {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 3rem;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-float-card {
        display: none;
    }

    .page-hero {
        padding: 7.5rem 0 3.5rem;
    }

    .process-connector {
        display: none;
    }
    .process-step {
        margin-bottom: 2.5rem;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .footer-legal-links {
        justify-content: flex-start;
    }
    .site-footer {
        padding-top: 4.5rem;
    }

    .pricing-card.is-featured {
        transform: scale(1);
        margin-bottom: 1rem;
    }
    .pricing-card.is-featured:hover {
        transform: translateY(-8px);
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ===== Small tablets / large phones (<=767.98px) ===== */
@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.8rem;
    }
    .cta-section,
    .newsletter-section {
        padding: 2.75rem 1.5rem;
        border-radius: var(--radius-md);
    }
    .contact-form-card {
        padding: 1.75rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
    .author-box img {
        margin: 0 auto;
    }
    .comment-item.is-reply {
        margin-left: 1.5rem;
    }
    .post-tags-share {
        justify-content: center;
        text-align: center;
    }

    .stat-card {
        padding: 1.5rem 0.5rem;
    }

    .newsletter-form .btn {
        position: static;
        margin-top: 0.75rem;
        width: 100%;
    }
    .newsletter-form .form-control {
        padding-right: 1.6rem;
    }

    .avatar-group {
        justify-content: center;
    }
}

/* ===== Phones (<=575.98px) ===== */
@media (max-width: 575.98px) {
    :root {
        --section-pad-y: 3.5rem;
        --section-pad-y-sm: 2.5rem;
    }

    .hero-heading {
        font-size: 2.1rem;
    }
    .hero-stats-strip {
        gap: 1.5rem;
        justify-content: space-between;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.88rem;
    }
    .btn-lg-pill {
        padding: 0.9rem 1.75rem;
    }

    .navbar-brand-custom {
        font-size: 1.2rem;
    }
    .navbar-brand-custom .brand-mark {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .error-code {
        font-size: 4.5rem;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 42px;
        height: 42px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.85rem 1rem;
    }
}
