@media (max-width: 1080px) {
    .main-nav {
        gap: 0.75rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 300px;
        max-width: 680px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .screenshots-grid {
        row-gap: 1.45rem;
    }

    .screenshot-card.is-mobile {
        width: 74%;
        max-width: 360px;
    }

    .screenshot-card.is-mobile img {
        max-height: 420px;
    }

    .screens-extra-card {
        width: 82%;
        max-width: 380px;
    }

    .screens-extra-card img {
        max-height: 390px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 861px) and (max-width: 1080px) {
    .site-header-inner {
        gap: 0.6rem;
    }

    .logo-img {
        width: 144px;
    }

    .main-nav {
        gap: 0.5rem;
        margin-left: 0.5rem;
    }

    .main-nav a {
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        font-size: 0.86rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .lang-switch select {
        min-width: 128px;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.45rem);
        left: 0;
        right: 0;
        z-index: 90;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 0.9rem;
        border: 1px solid rgba(147, 197, 253, 0.25);
        border-radius: 0.9rem;
        background: rgba(4, 12, 22, 0.96);
        margin-left: 0;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 0.4rem 0;
    }

    .mobile-nav-cta {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        border-radius: 999px;
        padding: 0.52rem 0.8rem;
        font-size: 0.84rem;
        font-weight: 700;
        margin-top: 0.3rem;
    }

    .mobile-nav-cta-secondary {
        color: var(--text);
        border: 1px solid rgba(147, 197, 253, 0.4);
        background: rgba(8, 18, 32, 0.65);
    }

    .mobile-nav-cta-primary {
        color: #04111f;
        background: linear-gradient(100deg, var(--accent), var(--accent-2));
        box-shadow: 0 8px 18px rgba(56, 189, 248, 0.28);
    }

    .header-actions {
        margin-left: 0.4rem;
        gap: 0.45rem;
    }

    .header-cta-group {
        gap: 0.4rem;
    }

    .header-cta-secondary {
        display: none;
    }

    .header-cta-primary {
        font-size: 0.8rem;
        padding: 0.5rem 0.78rem;
    }

    .card-grid-2,
    .card-grid-3,
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        row-gap: 1.15rem;
    }

    .screenshot-card.is-platform {
        width: 100%;
    }

    .screenshot-card.is-platform h3 {
        font-size: 1.08rem;
    }

    .screenshot-card.is-mobile {
        width: 78%;
        max-width: 360px;
    }

    .screenshot-card.is-mobile img {
        max-height: 400px;
    }

    .screens-support-grid {
        margin-top: 1.35rem;
        row-gap: 1rem;
    }

    .screens-insights {
        margin-top: 0.95rem;
    }

    .screens-extra-card {
        width: 82%;
        max-width: 380px;
    }

    .screens-extra-card img {
        max-height: 370px;
    }

    .screens-extra-card h3 {
        font-size: 1rem;
    }

    #fidelizacion {
        padding-bottom: 0.85rem;
    }

    #capturas {
        padding-top: 0.9rem;
    }

    #capturas .section-lead {
        margin-bottom: 0.55rem;
    }

    #capturas .screenshots-grid,
    #capturas .screenshots-grid-top {
        margin-top: 0.55rem;
    }
}

@media (max-width: 620px) {
    .section {
        padding: 4rem 0;
    }

    #fidelizacion {
        padding-bottom: 0.6rem;
    }

    #capturas {
        padding-top: 0.65rem;
    }

    #capturas .section-lead {
        margin-bottom: 0.45rem;
    }

    #capturas .screenshots-grid,
    #capturas .screenshots-grid-top {
        margin-top: 0.45rem;
    }

    #capturas .screens-support-grid {
        margin-top: 0.9rem;
    }

    #capturas .screens-insights {
        margin-top: 0.8rem;
        gap: 0.75rem;
    }

    .site-header-inner {
        min-height: 70px;
    }

    .logo-img {
        width: 132px;
    }

    .lang-switch select {
        min-width: 122px;
    }

    .header-cta-group {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .mockup-main {
        width: 100%;
    }

    .mockup-side {
        position: static;
        width: 64%;
        margin-top: 0.8rem;
    }

    .cta-final-box {
        padding: 1.8rem 1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .screenshot-card.is-mobile,
    .screens-extra-card {
        width: 100%;
    }

    .screenshot-card.is-mobile {
        max-width: none;
        padding: 0.58rem 0.58rem 0.62rem;
    }

    .screens-extra-card {
        max-width: none;
    }

    .screenshot-card.is-mobile img {
        width: 100%;
        max-height: none;
        margin: 0 0 0.56rem;
    }

    .screens-extra-card img {
        width: 100%;
        max-height: none;
    }

    .screenshot-card.is-platform h3 {
        font-size: 1.02rem;
    }

    .screenshot-card.is-mobile h3 {
        font-size: 0.93rem;
    }

    .screens-insight {
        padding: 0.85rem 0.92rem;
    }

    .screens-insight h3 {
        font-size: 0.92rem;
    }

    .screens-insight p {
        font-size: 0.88rem;
    }
}
