/* ============================================
   ZÉNIT GPS - RESPONSIVE
   ============================================ */

/* ============ TABLET (hasta 1024px) ============ */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero__subtitle {
        max-width: 100%;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .hero__features {
        justify-content: center;
    }
    
    .hero__visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero__float-card--location {
        right: 0;
    }
    
    .hero__float-card--signal {
        left: 0;
    }
    
    .selector__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card {
        grid-template-columns: 1fr;
    }
    
    .product-card--reverse .product-card__image {
        order: 1;
    }
    
    .product-card--reverse .product-card__content {
        order: 2;
    }
    
    .product-card__image {
        aspect-ratio: 16/10;
        min-height: 250px;
    }
    
    .platform__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .platform__content .section-title,
    .platform__content .section-description {
        text-align: center;
    }
    
    .platform__features {
        max-width: 400px;
        margin: 0 auto 1.5rem;
    }
    
    .platform__note {
        text-align: center;
    }
    
    .platform__visual {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* ============ MÓVIL GRANDE (hasta 768px) ============ */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --text-5xl: 2.25rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
        --text-2xl: 1.375rem;
    }
    
    /* Header móvil */
    .header__nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-darker);
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        transition: left var(--transition-base);
        padding: 5rem 1.5rem 2rem;
        z-index: 999;
        display: block;
    }
    
    .header__nav--open {
        left: 0;
    }
    
    .header__menu {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .header__link {
        padding: 0.875rem 0;
        font-size: var(--text-base);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: block;
    }
    
    .header__link::after {
        display: none;
    }
    
    .header__hamburger {
        display: flex;
    }
    
    .header__cta {
        display: none;
    }
    
    .header--scrolled .header__container {
        padding: 0.5rem 1rem;
    }
    
    /* Hero */
    .hero {
        padding: 7rem 0 3rem;
        min-height: auto;
    }
    
    .hero__title {
        font-size: var(--text-4xl);
    }
    
    .hero__subtitle {
        font-size: var(--text-base);
    }
    
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero__features {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero__float-card {
        padding: 0.625rem 0.875rem;
        gap: 0.5rem;
    }
    
    .hero__float-card strong {
        font-size: var(--text-xs);
    }
    
    .hero__float-card span {
        font-size: 0.7rem;
    }
    
    .hero__float-icon {
        width: 28px;
        height: 28px;
    }
    
    /* Trust bar */
    .trust-bar__content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .trust-bar__items {
        justify-content: center;
        gap: 1rem;
    }
    
    /* Selector */
    .selector__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Product cards */
    .product-card__content {
        padding: 1.5rem;
    }
    
    .product-card__features {
        grid-template-columns: 1fr;
    }
    
    /* Benefits */
    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Why */
    .why__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* How */
    .how__steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .how-step {
        max-width: 100%;
        min-width: 100%;
    }
    
    .how-step__connector {
        display: none;
    }
    
    /* Mission */
    .mission__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Contact */
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Chatbot */
    .chatbot {
        bottom: 5rem;
        right: 1rem;
    }
    
    .chatbot__window {
        width: 300px;
        max-width: calc(100vw - 2rem);
        max-height: 400px;
    }
    
    .chatbot__messages {
        max-height: 280px;
    }
    
    .chatbot__toggle-label {
        display: none;
    }
    
    .chatbot__toggle {
        padding: 0.625rem;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        justify-content: center;
    }
    
    /* WhatsApp float */
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* ============ MÓVIL PEQUEÑO (hasta 480px) ============ */
@media (max-width: 480px) {
    :root {
        --text-5xl: 1.75rem;
        --text-4xl: 1.5rem;
        --text-3xl: 1.375rem;
        --text-2xl: 1.25rem;
        --text-xl: 1.125rem;
    }
    
    .hero {
        padding: 6rem 0 2rem;
    }
    
    .hero__title {
        font-size: var(--text-4xl);
        line-height: 1.3;
    }
    
    .hero__badge {
        font-size: 0.65rem;
        letter-spacing: 1px;
        padding: 0.4rem 0.75rem;
    }
    
    .hero__float-card {
        display: none;
    }
    
    .trust-bar__items {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .product-card__content {
        padding: 1.25rem;
    }
    
    .product-card__content h3 {
        font-size: var(--text-xl);
    }
    
    .product-card__price {
        font-size: var(--text-lg);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .btn--xlarge {
        padding: 1rem 1.5rem;
        font-size: var(--text-base);
        letter-spacing: 0.5px;
    }
    
    .faq-item__question {
        font-size: var(--text-sm);
        padding: 1rem 1.25rem;
    }
    
    .final-cta__content {
        padding: 2rem 1.25rem;
    }
    
    .chatbot__window {
        width: 280px;
    }
}