@media (max-width: 1100px) {
    .home-slide-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
        min-height: 600px;
    }

    .home-slide-copy h1 {
        font-size: clamp(2.35rem, 5.2vw, 4.3rem);
    }
}

@media (max-width: 900px) {
    .header-inner {
        align-items: flex-start;
        padding: 14px 0;
    }

    .menu-toggle {
        display: inline-flex;
        margin-top: 14px;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 0 0;
    }

    .site-nav.open {
        display: flex;
    }

    .header-inner {
        flex-wrap: wrap;
    }

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

    .hero-grid,
    .home-slide-grid,
    .split-layout,
    .service-panels,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .home-slide-grid {
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 88px;
        text-align: center;
    }

    .home-slide-copy,
    .home-slide-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .home-slide-copy .hero-actions {
        justify-content: center;
    }

    .home-slide-media img {
        max-height: 430px;
    }

    .hero-visual {
        min-height: 360px;
    }

    .commerce-device {
        min-height: 360px;
    }

    .benefits-grid,
    .process-grid,
    .feature-grid-wide,
    .comparison-grid,
    .five-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .brand img {
        width: 64px;
    }

    .page-hero {
        padding: 26px 0;
    }

    .hero-home {
        padding: 32px 0 36px;
    }

    .section,
    .final-cta {
        padding: 28px 0;
    }

    .feature-grid,
    .benefits-grid,
    .process-grid,
    .feature-grid-wide,
    .comparison-grid,
    .five-steps,
    .mini-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .home-slide-grid {
        gap: 18px;
        padding-top: 34px;
        padding-bottom: 84px;
    }

    .home-slide-copy h1 {
        font-size: clamp(2.15rem, 12vw, 3.5rem);
        line-height: 1.02;
    }

    .home-slide-copy p {
        font-size: 1rem;
    }

    .home-slide-media img {
        max-height: 310px;
    }

    .home-slider-controls {
        bottom: 18px;
        gap: 9px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

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

    .hero-actions .button {
        width: 100%;
    }

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

    .commerce-device {
        min-height: 300px;
        border-radius: 18px;
    }

    .metric-card,
    .metric-card.accent {
        font-size: 0.86rem;
    }
}

/* Tarjeta general de Mobile e-Commerce y planes completos. */
@media (max-width: 900px) {
    .mec-home-showcase-card {
        grid-template-columns: 1fr;
    }

    .mec-home-showcase-content {
        align-items: center;
        text-align: center;
    }

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

@media (max-width: 560px) {
    .store-browser {
        border-radius: 12px;
    }

    .mec-home-showcase-card {
        border-radius: 12px;
    }

    .mec-home-showcase-image {
        padding: 10px;
    }

    .mec-home-showcase-content {
        padding: 26px 20px 30px;
    }

    .mec-detail-plan-grid {
        gap: 10px;
    }

    .mec-detail-plan-card {
        border-radius: 10px;
    }

    .mec-detail-plan-head {
        min-height: 252px;
        padding: 14px 9px 13px;
    }

    .mec-detail-plan-image-box {
        width: 76%;
        min-height: 112px;
        margin-bottom: 11px;
        padding: 6px;
        border-radius: 13px;
    }

    .mec-detail-plan-image-box img {
        max-height: 101px;
    }

    .mec-detail-plan-head h3 {
        margin-bottom: 7px;
        font-size: 0.88rem;
        line-height: 1.14;
    }

    .mec-detail-plan-head p {
        font-size: 0.64rem;
        line-height: 1.3;
    }

    .mec-detail-plan-body {
        padding: 12px 9px 10px;
    }

    .mec-detail-plan-features li {
        gap: 5px;
        min-height: 34px;
        padding: 4px 0;
        font-size: 0.65rem;
        line-height: 1.25;
    }

    .mec-detail-plan-features li span {
        flex-basis: 21px;
        width: 21px;
        height: 21px;
        font-size: 0.58rem;
    }

    .mec-detail-plan-footer {
        margin-top: 11px;
        padding: 13px 8px 8px;
        border-radius: 10px;
    }

    .mec-detail-plan-price {
        min-height: 35px;
        margin-bottom: 9px;
        font-size: 1rem;
    }

    .mec-detail-plan-buy {
        min-height: 40px;
        padding: 8px 6px;
        font-size: 0.78rem;
    }
}


/* Inicio: 4 tarjetas de Hosting en PC y 2 en tablet/celular. */
@media (min-width: 901px) {
    .hosting-plan-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .hosting-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px;
    }
}

@media (max-width: 560px) {
    .hosting-plan-grid {
        gap: 10px;
    }

    .hosting-plan-card {
        border-radius: 10px;
    }

    .hosting-plan-summary {
        padding: 10px 8px;
    }

    .hosting-plan-summary h3 {
        font-size: 0.82rem;
    }

    .hosting-plan-price {
        padding-bottom: 9px;
        font-size: 0.92rem;
    }

    .hosting-plan-button {
        min-height: 40px;
        padding: 8px 5px;
        font-size: 0.75rem;
    }
}


/* MOBILE E-COMMERCE: COMPARISON, SUPPORT AND LICENSE RESPONSIVE */
@media (max-width: 1180px) {
    .mec-support-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .mec-plan-comparison-shell {
        padding: 20px;
        border-radius: 22px;
    }

    .mec-plan-comparison-heading {
        display: grid;
        gap: 12px;
    }

    .mec-plan-comparison-table th,
    .mec-plan-comparison-table td {
        padding: 16px 14px;
    }

    .mec-support-grid,
    .mec-license-highlight-grid {
        grid-template-columns: 1fr;
    }
}

/* ESCALA RESPONSIVE DE TÍTULOS EN HOME Y MOBILE E-COMMERCE */
@media (max-width: 900px) {
    .hero-home .hero-copy h1,
    .page-hero.inner-hero .hero-copy h1 {
        font-size: clamp(2.25rem, 6.4vw, 3rem);
        line-height: 1.1;
    }

    .mobile-overview-section .section-heading h2,
    .mec-home-plans .section-heading h2,
    #soluciones .section-heading h2 {
        font-size: clamp(1.95rem, 5vw, 2.45rem);
        line-height: 1.14;
    }
}

@media (max-width: 560px) {
    .hero-home .hero-copy h1,
    .page-hero.inner-hero .hero-copy h1 {
        font-size: clamp(2rem, 9.2vw, 2.55rem);
        line-height: 1.1;
    }

    .mobile-overview-section .section-heading h2,
    .mec-home-plans .section-heading h2,
    #soluciones .section-heading h2 {
        font-size: clamp(1.72rem, 7.6vw, 2.1rem);
        line-height: 1.16;
    }
}



/* ESCALA RESPONSIVE GLOBAL DEFINITIVA: TODOS LOS MENÚS */
@media (max-width: 900px) {
    .hero-home .hero-copy h1,
    .home-slide-copy h1,
    .page-hero.inner-hero h1,
    .page-hero.inner-hero .hero-copy h1 {
        font-size: clamp(2.05rem, 5.4vw, 2.65rem);
        line-height: 1.1;
    }

    .section-heading h2,
    .visual-plans-section .section-heading h2,
    .split-layout h2,
    .final-cta h2,
    .mec-plan-comparison-heading h2 {
        font-size: clamp(1.75rem, 4.5vw, 2.18rem);
        line-height: 1.14;
    }
}

@media (max-width: 560px) {
    .hero-home .hero-copy h1,
    .home-slide-copy h1,
    .page-hero.inner-hero h1,
    .page-hero.inner-hero .hero-copy h1 {
        font-size: clamp(1.75rem, 8.2vw, 2.15rem);
        line-height: 1.12;
        letter-spacing: -0.018em;
    }

    .section-heading h2,
    .visual-plans-section .section-heading h2,
    .split-layout h2,
    .final-cta h2,
    .mec-plan-comparison-heading h2 {
        font-size: clamp(1.5rem, 7vw, 1.85rem);
        line-height: 1.16;
        letter-spacing: -0.012em;
    }
}


/* ESPACIADO RESPONSIVE GLOBAL: TODOS LOS MENÚS */
@media (max-width: 900px) {
    .page-hero {
        padding: 34px 0;
    }

    .hero-home {
        padding: 42px 0 46px;
    }

    .section,
    .final-cta {
        padding: 36px 0;
    }

    .section-heading {
        margin-bottom: 22px;
    }

    .page-hero .container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .mobile-overview-plan-grid {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .mec-plan-comparison-heading {
        margin-bottom: 16px;
    }
}

@media (max-width: 560px) {
    .page-hero {
        padding: 22px 0;
    }

    .hero-home {
        padding: 28px 0 32px;
    }

    .section,
    .final-cta {
        padding: 26px 0;
    }

    .section-heading {
        margin-bottom: 18px;
    }

    .page-hero .container {
        padding: 22px 18px;
    }

    .split-layout {
        gap: 18px;
    }

    .mobile-overview-plan-grid {
        margin-bottom: 16px;
    }

    .mec-plan-comparison-shell {
        padding: 16px;
    }

    .mec-support-card,
    .mec-license-highlight-card,
    .feature-card,
    .benefit-card,
    .process-step,
    .service-panel {
        padding: 18px;
    }
}


/* Menú Información y Métodos de pago */
@media (max-width: 900px) {
    .nav-info-menu,
    .nav-info-menu > summary {
        width: 100%;
    }

    .nav-info-menu > summary {
        min-height: 44px;
        justify-content: space-between;
    }

    .nav-info-dropdown {
        position: static;
        width: 100%;
        margin-top: 6px;
        padding: 7px;
        box-shadow: none;
        border-radius: 12px;
        background: #f8fbf2;
    }

    .site-nav .nav-info-item {
        min-height: 64px;
    }

    .payment-system-heading,
    .payment-method-layout {
        grid-template-columns: 1fr;
    }

    .payment-method-card.is-setup {
        min-height: 150px;
    }
}

@media (max-width: 560px) {
    .nav-info-icon {
        width: 42px;
        height: 42px;
    }

    .payment-method-panel {
        padding: 17px;
    }

    .payment-panel-header,
    .payment-method-card {
        gap: 10px;
    }

    .payment-panel-icon {
        width: 46px;
        height: 46px;
    }

    .payment-method-card {
        padding: 14px;
    }

    .payment-method-card.is-setup {
        min-height: 0;
    }
}


/* Desarrollo Web: 4 tarjetas en PC y 2 en tablet/celular. */
@media (min-width: 901px) {
    .web-plan-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .web-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px;
    }
}

@media (max-width: 560px) {
    .web-plan-grid {
        gap: 10px;
    }

    .web-plan-card {
        border-radius: 10px;
    }

    .web-plan-summary {
        padding: 9px 7px;
    }

    .web-plan-summary h3 {
        min-height: 2.7em;
        margin-bottom: 5px;
        font-size: 0.76rem;
    }

    .web-plan-price {
        min-height: 34px;
        margin-bottom: 7px;
        font-size: 0.78rem;
    }

    .web-plan-summary .button {
        min-height: 39px;
        padding: 7px 5px;
        font-size: 0.72rem;
    }
}

