/* =====================================================
   NEVA BITA · RESPONSIVE GENERAL
   Archivo generado a partir del CSS organizado.
===================================================== */

/* =====================================================
   16. RESPONSIVE
===================================================== */
@media (max-width: 980px) {
    .services-grid,
    .forfait-grid,
    .process-list,
    .packs-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .pack-card__subtitle { min-height: auto; }
    .pack-card--featured { transform: none; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .site-header { padding: 12px 14px; }

    .site-header__inner,
    .site-header__inner_nevabita {
        grid-template-columns: 60px 1fr;
    }

    .site-header__logo { width: 58px; }

    .site-header__auth {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .site-nav {
        gap: 7px;
        padding: 10px;
    }

    .site-nav__link,
    .site-nav__link--active {
        min-height: 34px;
        padding: 8px 11px;
        font-size: .88rem;
    }

    .home-main,
    .about-main,
    .services-main,
    .contact-main,
    .success-main,
    .pack-comparison-section {
        padding: 28px 14px;
        align-items: flex-start;
    }

    .home-hero,
    .about-card,
    .services-section,
    .contact-section,
    .success-card,
    .pack-comparison-container,
    .packs-section {
        padding: 28px 18px;
        border-radius: 24px;
    }

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

    .form-grid--two,
    .checkbox-group,
    .radio-group,
    .account-grid {
        grid-template-columns: 1fr;
    }

    .about-collage__photo {
        width: 118px;
        height: 118px;
        opacity: .28;
    }

    .text-box {
        padding: 18px;
        text-align: left;
    }

    .pack-comparison-note { border-radius: 20px; }
}

@media (max-width: 480px) {
    .site-header__title { font-size: 2.15rem; }

    .site-nav__link,
    .site-nav__link--active {
        font-size: .82rem;
    }

    .pack-card,
    .form-block {
        padding: 22px 16px;
    }

    .contact-social-link {
        width: 50px;
        height: 50px;
    }
}


/* ==========================================
   NEVA BITA · NAVEGACIÓN RESPONSIVE
========================================== */

/* Ordenador: mantener el menú horizontal */
.site-nav__items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.site-nav__toggle {
    display: none;
}

/* Móvil */
@media (max-width: 760px) {
    .site-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .site-nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        min-height: 44px;
        padding: 10px 14px;
        border: 1px solid rgba(36, 178, 182, .35);
        border-radius: 12px;
        background: rgba(255, 255, 255, .10);
        color: inherit;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }

    .site-nav__items {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 10px 0 4px;
        width: 100%;
    }

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

    .site-nav__link,
    .site-nav__link--active {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        box-sizing: border-box;
        text-align: center;
    }
}

/* ==========================================
   NEVA BITA · AJUSTES DE ANCHO EN MÓVIL
========================================== */

@media (max-width: 760px) {

    /* Mantener los elementos dentro de la pantalla */
    .site-header,
    .site-nav,
    .home-main,
    .about-main,
    .services-main,
    .contact-main,
    .success-main,
    .pack-comparison-section,
    .home-hero,
    .home-section,
    .about-card,
    .services-section,
    .contact-section,
    .success-card,
    .pack-comparison-container,
    .packs-section {
        box-sizing: border-box;
        max-width: 100%;
        min-width: 0;
    }

    /* Encabezado compacto */
    .site-header__inner,
    .site-header__inner_nevabita {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 10px;
        min-width: 0;
    }

    .site-header__logo {
        width: 48px;
        max-width: 100%;
    }

    .site-header__title {
        font-size: clamp(1.45rem, 6vw, 2rem);
        line-height: 1.1;
        min-width: 0;
    }

    /* Portada */
    .home-hero {
        padding: 28px 16px;
    }

    .home-hero__content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .home-hero__title {
        font-size: clamp(1.7rem, 7vw, 2.5rem);
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    .home-hero__description {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Tarjetas y contenido */
    .home-section {
        width: 100%;
        padding: 28px 16px;
    }

    .home-cards,
    .home-steps,
    .services-grid,
    .packs-grid,
    .forfait-grid {
        min-width: 0;
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* ==========================================
   NEVA BITA · FORMULARIOS EN MÓVIL
========================================== */

@media (max-width: 760px) {

    /* Contenedor del formulario */
    .contact-section,
    .contact-section form,
    .form-block,
    .form-grid,
    .form-grid > * {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }

    /* Campos de texto */
    .contact-section input,
    .contact-section textarea,
    .contact-section select {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }

    /* Distribución vertical en pantallas pequeñas */
    .contact-section .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
