/* ═══════════════════════════════════════════════════════
   ECO — Design System v3 (Figma-accurate)
   Typography: Giaza | Playfair Display | Roboto | Archivo Black
   Colors: Wine/Burgundy #5A2428 | Cream #FFF7E7 | Brown #402816
   ═══════════════════════════════════════════════════════ */

/* ── GIAZA Custom Font ───────────────────────────────── */
@import url('https://fonts.cdnfonts.com/css/giaza');

/* Fallback: if CDN doesn't load, we use system serif */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
    /* Brand Palette */
    --wine: #5A2428;
    --wine-dark: #3d1a1c;
    --wine-light: #6e2d32;
    --brown: #402816;
    --brown-light: #5a3820;
    --cream: #FFF7E7;
    --cream-dark: #f0e8d4;
    --cream-darker: #e8d9c0;
    --white: #FFFFFF;
    --dark: #1a1008;

    /* Legacy compat */
    --blue: #203680;
    --blue-dark: #172660;
    --red: #721818;

    /* Typography */
    --font-giaza: 'Giaza', 'Playfair Display', Georgia, serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Roboto', Arial, sans-serif;
    --font-black: 'Archivo Black', Arial Black, sans-serif;

    --container: 1200px;
    --radius: 20px;
    --radius-sm: 10px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-black);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-101%);
    transition: var(--transition);
}

.btn:hover::after {
    transform: translateX(0);
}

.btn-cream {
    background: var(--cream);
    color: var(--brown);
}

.btn-cream:hover {
    background: var(--cream-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 247, 231, 0.35);
}

.btn-brown {
    background: var(--brown);
    color: var(--cream);
}

.btn-brown:hover {
    background: var(--brown-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(64, 40, 22, 0.4);
}

.btn-red {
    background: var(--red);
    color: var(--cream);
}

.btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(114, 24, 24, 0.4);
}

/* ── Section helpers ────────────────────────────────────── */
.section-tag {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--wine);
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--brown);
    margin-bottom: 24px;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background: rgba(90, 36, 40, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}

.nav {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* ── GIAZA Logo Text ────────────────────────────────── */
.logo-text {
    font-family: var(--font-giaza);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.107em;
    color: var(--cream);
    line-height: 1;
    display: inline-block;
    text-transform: uppercase;
}

.logo-img {
    height: 32px;
    width: auto;
    transform: translateY(2px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(255, 247, 231, 0.85);
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--cream);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
}

.nav-login {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.nav-login:hover {
    opacity: 1;
}

.login-icon {
    width: 22px;
    height: 22px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ══════════════════════════════════════════════════════════
   HERO — Video bg, overlay vinotinto/borgoña
   ══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -60px -96px;
    z-index: 0;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(84, 37, 38, 0.90) 0%,
            rgba(79, 33, 34, 0.65) 40%,
            rgba(86, 39, 39, 0.90) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 0 32px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -1px;
    color: transparent;
    background-image: linear-gradient(90deg,
            #FFF7E7 0%,
            #FFF7E7 40%,
            #F0E8D4 50%,
            #FFF7E7 60%,
            #FFF7E7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 247, 231, 0.88);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 40px;
}

/* Pulse animation for CTA */
.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 247, 231, 0);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 247, 231, 0.15);
    }
}

/* ══════════════════════════════════════════════════════════
   ¿QUÉ ES ECO? — Fondo crema, 2 columnas
   ══════════════════════════════════════════════════════════ */
.que-es {
    background: var(--cream);
    padding: 100px 0;
}

.que-es-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.que-es-tag {
    text-align: left;
    color: var(--wine);
    letter-spacing: 5px;
    margin-bottom: 16px;
}

.que-es-title {
    font-family: var(--font-body);
    /* Roboto */
    font-size: 3.6rem;
    /* 57.6px */
    font-weight: 400;
    font-style: normal;
    line-height: 1.0;
    color: var(--brown);
    margin-bottom: 28px;
    text-align: left;
}

.que-es-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #5a3a2a;
    line-height: 1.75;
    margin-bottom: 16px;
}

.que-es-text .btn-brown {
    margin-top: 24px;
}

/* Video wrapper */
.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-wrapper:hover .video-thumb {
    transform: scale(1.03);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn svg {
    width: 100%;
    height: 100%;
}

/* ══════════════════════════════════════════════════════════
   PILARES — Foto real de fondo + glassmorphism
   ══════════════════════════════════════════════════════════ */
.pilares {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.pilares-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pilares-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.pilares-overlay {
    position: absolute;
    inset: 0;
    background: rgba(50, 20, 20, 0.45);
}

.pilares-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.pilares-title {
    font-family: var(--font-black);
    /* Archivo Black */
    font-size: 3.6rem;
    /* 57.6px */
    font-weight: 400;
    font-style: normal;
    color: var(--cream);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.pilares-subtitle {
    font-family: var(--font-body);
    /* Roboto */
    font-size: 1.05rem;
    /* 16.8px */
    font-weight: 400;
    font-style: normal;
    color: rgba(255, 247, 231, 0.85);
    white-space: nowrap;
    margin: 0 auto 56px;
    line-height: 1.7;
    text-align: center;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pilar-card {
    background: rgba(255, 247, 231, 0.03);
    /* Almost transparent */
    backdrop-filter: blur(2px);
    /* Reduced blur to see through better */
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 247, 231, 0.2);
    border-radius: var(--radius);
    padding: 48px 32px 40px;
    text-align: center;
    transition: var(--transition);
}

.pilar-card:hover {
    background: rgba(255, 247, 231, 0.06);
    /* Almost transparent on hover too */
    border-color: rgba(255, 247, 231, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.pilar-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    opacity: 0.9;
}

.pilar-icon svg {
    width: 100%;
    height: 100%;
}

.pilar-title {
    font-family: var(--font-display);
    /* Playfair Display */
    font-size: 1.3rem;
    /* 20.8px */
    font-weight: 400;
    font-style: normal;
    color: var(--cream);
    margin-bottom: 16px;
}

.pilar-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 247, 231, 0.8);
    line-height: 1.7;
    font-weight: 400;
}

/* ══════════════════════════════════════════════════════════
   FASES DE LA ESCUELA — text top + photo strip bottom
   ══════════════════════════════════════════════════════════ */
.fases {
    background: var(--cream);
    padding: 100px 0;
    text-align: center;
}

.fases-title {
    color: var(--brown);
    font-family: var(--font-body);
    /* Roboto */
    font-weight: 400;
    font-style: normal;
    font-size: 3.6rem;
    /* 57.6px */
    margin-bottom: 56px;
}

.fases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.fase-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.fase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(64, 40, 22, 0.2);
}

/* Fallback color (shows only while image loads) */
.fase-card-blue {
    background: #1d2f72;
}

.fase-card-red {
    background: #4a1e22;
}

.fase-card-dark {
    background: #201810;
}

/* Full-card bg image — covers all cards */
.fase-img-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.fase-img-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
}

/* Shared dark overlay for text legibility */
.fase-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 6, 0.38);
    z-index: 1;
    pointer-events: none;
}


/* Content block sits above any bg */
.fase-content {
    position: relative;
    z-index: 2;
    padding: 36px 28px 24px;
    text-align: left;
    flex: 1;
}

.fase-number {
    font-family: var(--font-black);
    font-size: 2.8rem;
    font-weight: 400;
    color: rgba(255, 247, 231, 0.25);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.fase-title {
    font-family: var(--font-black);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.fase-desc {
    font-family: var(--font-body);
    font-size: 0.87rem;
    color: rgba(255, 247, 231, 0.8);
    line-height: 1.72;
}

/* Horizontal photo strip pinned at bottom of card */
.fase-img-strip {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.fase-img-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.fase-card:hover .fase-img-strip img {
    transform: scale(1.05);
}

/* ══════════════════════════════════════════════════════════
   BANNER "HAZLO OTRA VEZ" — Foto real de fondo
   ══════════════════════════════════════════════════════════ */
.banner-cta {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.banner-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    opacity: 0.9;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 32px;
}

.banner-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--cream);
    text-align: center;
}

/* ══════════════════════════════════════════════════════════
   FAQ — Fondo crema, texto marrón oscuro
   ══════════════════════════════════════════════════════════ */
.faq {
    background: var(--cream);
    padding: 100px 0;
    text-align: center;
}

.faq-tag {
    color: var(--wine);
    letter-spacing: 5px;
}

.faq-main-title {
    font-family: var(--font-black);
    /* Archivo Black */
    font-size: 3.6rem;
    /* 57.6px */
    font-weight: 400;
    font-style: normal;
    color: var(--brown);
    margin-bottom: 56px;
    line-height: 1.08;
}

.faq-list {
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid rgba(64, 40, 22, 0.2);
}

.faq-item:first-child {
    border-top: 1px solid rgba(64, 40, 22, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    gap: 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--brown);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--wine);
}

.faq-question[aria-expanded="true"] {
    color: var(--wine);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform 0.35s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer.open {
    max-height: 400px;
    padding-bottom: 22px;
}

.faq-answer p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(64, 40, 22, 0.75);
    line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════
   INSTAGRAM — Imagen de fondo sin overlay
   ══════════════════════════════════════════════════════════ */
.instagram-feed {
    position: relative;
    overflow: hidden;
    /* height adapts to image: image is ~5:2 ratio, min padding for content */
    padding: 80px 0;
}

.instagram-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.instagram-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /* NO opacity reduction: the image IS the background */
}

/* No overlay: removed completely so image shows through */
.instagram-overlay {
    display: none;
}

.instagram-inner {
    position: relative;
    z-index: 2;
}

.instagram-header {
    text-align: center;
    margin-bottom: 56px;
}

.instagram-tag {
    color: rgba(255, 247, 231, 0.6);
    letter-spacing: 5px;
}

.instagram-title {
    font-family: var(--font-body);
    /* Roboto */
    font-size: 3.6rem;
    /* 57.6px */
    font-weight: 400;
    font-style: normal;
    color: var(--cream);
    margin-bottom: 16px;
    line-height: 1.1;
}

.insta-handle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 247, 231, 0.7);
    display: inline-block;
    transition: color var(--transition-fast);
}

.insta-handle:hover {
    color: var(--cream);
}

.widget-container {
    width: 100%;
}

.instagram-videos-placeholder {
    width: 100%;
    /* El rectangulo mantiene un alto mínimo o aspect-ratio */
    min-height: 400px;
    background: rgba(255, 247, 231, 0.05);
    /* Transparente, apenas se nota */
    border: 1px dashed rgba(255, 247, 231, 0.3);
    /* Borde opcional para que notes dónde está el espacio */
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* ══════════════════════════════════════════════════════════
   FORMULARIO DE INSCRIPCIÓN
   ══════════════════════════════════════════════════════════ */
.inscripcion {
    background: var(--cream);
    padding: 100px 0;
    text-align: center;
}

.inscripcion-tag {
    color: var(--wine);
}

.inscripcion-title {
    font-family: var(--font-body);
    /* Roboto */
    font-size: 3.6rem;
    /* 57.6px */
    font-weight: 400;
    font-style: normal;
    color: var(--brown);
    margin-bottom: 16px;
    line-height: 1.1;
}

.inscripcion-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(64, 40, 22, 0.7);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.form-embed-wrapper {
    max-width: 760px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(64, 40, 22, 0.12);
}

.form-embed-wrapper iframe {
    display: block;
    width: 100%;
    border: none;
}

.form-fallback {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(64, 40, 22, 0.5);
}

.form-fallback a {
    color: var(--wine);
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIOS (oculto, mantenemos estilos por si se activa)
   ══════════════════════════════════════════════════════════ */
.testimonios {
    display: none;
}

/* ══════════════════════════════════════════════════════════
   FOOTER — Imagen de fondo sin overlay
   ══════════════════════════════════════════════════════════ */
.footer {
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /* NO opacity: la imagen es el fondo completo */
}

/* Sin overlay: imagen visible al 100% */
.footer-bg-overlay {
    display: none;
}

.footer-inner {
    position: relative;
    z-index: 2;
    padding-top: 48px;
    padding-bottom: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 247, 231, 0.15);
}

.footer-logo-img {
    height: 44px;
    /* Mucho más pequeña, más parecido al diseño */
    width: auto;
    margin-bottom: 16px;
}

.footer-desc {
    font-family: var(--font-body);
    /* Roboto */
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 247, 231, 0.6);
    line-height: 1.6;
    max-width: 360px;
    /* Aumentado para que ocupe 2 renglones */
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 247, 231, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 247, 231, 0.7);
    transition: var(--transition);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    border-color: rgba(255, 247, 231, 0.6);
    color: var(--cream);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-black);
    /* Archivo Black */
    font-size: 0.75rem;
    /* 12px */
    font-weight: 400;
    letter-spacing: 4px;
    color: rgba(255, 247, 231, 0.5);
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: var(--font-body);
    /* Roboto */
    font-size: 0.9rem;
    /* 14.4px */
    font-weight: 400;
    color: rgba(255, 247, 231, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-bottom {
    padding-top: 28px;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 247, 231, 0.35);
}

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.text-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.text-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.30s;
}

.delay-3 {
    transition-delay: 0.45s;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(64, 22, 26, 0.97);
        backdrop-filter: blur(12px);
        padding: 32px;
        gap: 24px;
        z-index: 99;
    }

    .nav-links.open a {
        font-size: 1.1rem;
    }

    .que-es-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .que-es-title {
        text-align: center;
    }

    .que-es-tag {
        text-align: center;
    }

    .que-es-text .btn-brown {
        display: block;
        margin: 24px auto 0;
        width: fit-content;
    }

    .pilares-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .fases-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

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

    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .que-es {
        padding: 60px 0;
    }

    .pilares {
        padding: 60px 0;
    }

    .fases {
        padding: 60px 0;
    }

    .faq {
        padding: 60px 0;
    }

    .instagram-feed {
        padding: 60px 0;
    }

    .inscripcion {
        padding: 60px 0;
    }

    .pilares-title {
        font-size: 2rem;
    }

    .faq-main-title {
        font-size: 2.2rem;
    }

    .banner-title {
        font-size: 2rem;
    }

    .instagram-title {
        font-size: 2rem;
    }

    .inscripcion-title {
        font-size: 2rem;
    }
}