/**
 * YUZU · Responsive CSS
 * Archivo: /assets/css/responsive.css
 *
 * Ajustes finos para tablets, móviles y pantallas pequeñas.
 */

/* ==========================================================================
   Pantallas grandes intermedias
   ========================================================================== */

@media (max-width: 1280px) {
    :root {
        --container: 1120px;
    }

    .hero__inner {
        gap: 42px;
    }

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

/* ==========================================================================
   Tablets horizontales
   ========================================================================== */

@media (max-width: 1024px) {
    .hero__title {
        letter-spacing: -0.055em;
    }

    .hero__subtitle {
        max-width: 620px;
    }

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

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

    .footer-main__inner {
        gap: 28px;
    }
}

/* ==========================================================================
   Tablets verticales
   ========================================================================== */

@media (max-width: 900px) {
    body.nav-open {
        overflow: hidden;
    }

    .site-header {
        position: sticky;
    }

    .primary-nav {
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .hero__panel {
        max-width: 620px;
    }

    .hero-card {
        padding: 26px;
    }

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

    .section__subtitle {
        font-size: 1.05rem;
    }

    .club-panel__badges {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   Móviles grandes
   ========================================================================== */

@media (max-width: 760px) {
    .brand__logo {
        width: 128px;
    }

    .main-header__inner {
        gap: 16px;
    }

    .hero {
        padding: 54px 0 58px;
    }

    .hero__title {
        margin-bottom: 18px;
    }

    .hero__subtitle {
        font-size: 1.05rem;
    }

    .hero__tags {
        gap: 8px;
    }

    .hero__tags li {
        font-size: 0.84rem;
        padding: 7px 10px;
    }

    .mini-card {
        padding: 18px;
    }

    .mini-card strong {
        font-size: 1.55rem;
    }

    .section__title {
        letter-spacing: -0.04em;
    }

    .service-card {
        min-height: auto;
    }

    .family-card {
        min-height: auto;
    }

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

    .page-hero__subtitle {
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   Móviles
   ========================================================================== */

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

    .main-header__inner {
        min-height: 64px;
    }

    .primary-nav {
        inset-top: 64px;
    }

    .hero {
        padding: 48px 0 52px;
    }

    .hero__title {
        font-size: clamp(2.85rem, 16vw, 4rem);
        line-height: 0.94;
    }

    .hero__subtitle {
        margin-bottom: 22px;
    }

    .hero-card {
        border-radius: 24px;
    }

    .hero-card__title {
        font-size: 1.55rem;
    }

    .hero-card-grid {
        gap: 10px;
    }

    .section {
        padding: 54px 0;
    }

    .section__title {
        font-size: clamp(1.85rem, 9vw, 2.65rem);
    }

    .section__text {
        font-size: 1rem;
    }

    .trust-item {
        min-height: 64px;
        padding: 14px;
        font-size: 0.92rem;
    }

    .service-card,
    .family-card {
        padding: 20px;
        border-radius: 22px;
    }

    .feature-panel {
        border-radius: 24px;
    }

    .feature-panel h2 {
        font-size: clamp(1.65rem, 8vw, 2.25rem);
    }

    .club-panel {
        border-radius: 24px;
    }

    .club-panel__badges span {
        min-height: 42px;
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .cta-box {
        border-radius: 24px;
    }

    .footer-main {
        padding: 52px 0 34px;
    }

    .footer-brand__logo {
        width: 128px;
    }

    .cookie-banner {
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 14px;
        border-radius: 20px;
    }

    .cookie-banner__text {
        font-size: 0.86rem;
    }
}

/* ==========================================================================
   Móviles pequeños
   ========================================================================== */

@media (max-width: 420px) {
    .hero__title {
        font-size: clamp(2.55rem, 15vw, 3.45rem);
    }

    .eyebrow {
        font-size: 0.72rem;
    }

    .btn {
        min-height: 46px;
        padding: 12px 16px;
        font-size: 0.92rem;
    }

    .btn--large {
        min-height: 48px;
    }

    .hero__tags li {
        font-size: 0.8rem;
    }

    .mini-card strong {
        font-size: 1.4rem;
    }

    .section__subtitle {
        font-size: 1rem;
    }

    .footer-column__title {
        font-size: 0.86rem;
    }

    .footer-links a,
    .footer-contact a,
    .footer-legal a {
        font-size: 0.94rem;
    }
}

/* ==========================================================================
   Pantallas muy pequeñas
   ========================================================================== */

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

    .hero-card,
    .feature-panel,
    .club-panel,
    .cta-box {
        padding: 22px;
    }

    .hero__title {
        font-size: 2.45rem;
    }
}

/* ==========================================================================
   Preferencias de accesibilidad
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Impresión
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .cookie-banner,
    .hero__actions,
    .section-actions,
    .cta-box__actions,
    .nav-toggle,
    .primary-nav {
        display: none !important;
    }

    body {
        background: #ffffff;
        color: #000000;
    }

    .section,
    .hero,
    .page-hero {
        padding: 24px 0;
        background: #ffffff !important;
    }

    .container {
        width: 100%;
    }

    a {
        text-decoration: underline;
    }
}

