/* ═══════════════════════════════════════════════════════
   ESTUDIO PELITTI — Landing Neuquén
   Design System (custom properties)

   Base heredada de la landing La Plata, adaptada al
   posicionamiento local de Neuquén (generalista).
   ═══════════════════════════════════════════════════════ */

:root {
    /* ─── Colors ─────────────────────────────────────── */
    --color-navy-dark:        #0f1620;
    --color-navy:             #1a2332;
    --color-navy-light:       #243042;

    --color-gold:             #c9a96e;
    --color-gold-light:       #d4b876;
    --color-gold-dark:        #b8974f;

    --color-cream:            #f8f6f1;
    --color-white:            #ffffff;

    --color-text-primary:     #1a2332;
    --color-text-body:        #3d4552;
    --color-text-muted:       #8a909a;
    --color-text-on-dark:     #ffffff;
    --color-text-muted-dark:  #b8bcc4;

    --color-border-gold:      rgba(201, 169, 110, 0.2);
    --color-border-gold-hover: rgba(201, 169, 110, 1);
    --color-border-light:     rgba(255, 255, 255, 0.08);

    --color-success:          #2e7d4f;
    --color-error:            #c0392b;

    /* ─── Typography ─────────────────────────────────── */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* ─── Type scale desktop ─────────────────────────── */
    --fs-h1:        clamp(2.5rem, 5vw + 1rem, 6rem);     /* 40-96px */
    --fs-h2:        clamp(2rem, 3.5vw + 1rem, 4rem);     /* 32-64px */
    --fs-h3:        clamp(1.25rem, 1.5vw + 0.5rem, 1.75rem); /* 20-28px */
    --fs-kicker:    clamp(0.6875rem, 0.3vw + 0.6rem, 0.875rem); /* 11-14px */
    --fs-body-lg:   clamp(1.0625rem, 0.5vw + 0.875rem, 1.5rem); /* 17-24px */
    --fs-body:      clamp(0.9375rem, 0.3vw + 0.75rem, 1.125rem); /* 15-18px */
    --fs-caption:   clamp(0.75rem, 0.1vw + 0.7rem, 0.875rem); /* 12-14px */
    --fs-button:    clamp(0.875rem, 0.2vw + 0.75rem, 1rem); /* 14-16px */

    /* ─── Spacing ────────────────────────────────────── */
    --space-xs:     0.5rem;
    --space-sm:     1rem;
    --space-md:     1.5rem;
    --space-lg:     2.5rem;
    --space-xl:     4rem;
    --space-2xl:    6rem;
    --space-3xl:    8rem;

    /* ─── Layout ─────────────────────────────────────── */
    --container-max:    1200px;
    --container-narrow: 800px;
    --section-padding:  var(--space-2xl) 0;

    /* ─── Radii ──────────────────────────────────────── */
    --radius-sm:    6px;
    --radius-md:    8px;
    --radius-lg:    12px;
    --radius-xl:    16px;

    /* ─── Shadows ────────────────────────────────────── */
    --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md:    0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg:    0 8px 40px rgba(0, 0, 0, 0.18);
    --shadow-gold:  0 4px 20px rgba(201, 169, 110, 0.15);

    /* ─── Transitions ────────────────────────────────── */
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.2s var(--ease-out-quint);
    --transition-base: 0.35s var(--ease-out-quint);
    --transition-slow: 0.6s var(--ease-out-quint);

    /* ─── Z-index ────────────────────────────────────── */
    --z-nav:     100;
    --z-modal:   200;
    --z-toast:   300;
}


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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px; /* compensa navbar fijo en anchors */
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--color-text-body);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-text-primary);
}


/* ─── Utilities ────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container { padding: 0 var(--space-lg); }
}

@media (min-width: 1200px) {
    .container { padding: 0 var(--space-xl); }
}

.container--narrow {
    max-width: var(--container-narrow);
}

.kicker {
    font-family: var(--font-body);
    font-size: var(--fs-kicker);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.section {
    padding: var(--section-padding);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ─── Animaciones base ─────────────────────────────── */

/* Reveal on scroll — usar con IntersectionObserver en JS */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out-quint),
                transform 0.6s var(--ease-out-quint);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ─── Respeta prefers-reduced-motion ──────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ═══════════════════════════════════════════════════════
   Elementos comunes
   ═══════════════════════════════════════════════════════ */

.section__header {
    max-width: 780px;
    margin-bottom: var(--space-xl);
}
.section__header--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section__title {
    font-size: var(--fs-h2);
    font-weight: 500;
    margin-top: var(--space-xs);
}
.section__title em {
    font-style: italic;
    color: var(--color-gold);
    font-weight: 500;
}
.section__intro {
    font-size: var(--fs-body-lg);
    color: var(--color-text-body);
    margin-top: var(--space-md);
    max-width: 58ch;
}
.section__header--center .section__intro { margin-left: auto; margin-right: auto; }

.trust-mark {
    display: inline-block;
    color: var(--color-gold);
    font-size: 0.85em;
    margin-right: 0.25em;
    transform: translateY(-1px);
}


/* ─── Botones ──────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    font-size: var(--fs-button);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast),
                background var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast);
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
    min-height: 48px;
}
.btn--sm { padding: 10px 18px; min-height: 40px; }
.btn--block { width: 100%; }

.btn--primary {
    background: var(--color-gold);
    color: var(--color-navy);
    box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201, 169, 110, 0.3);
}
.btn--primary:active { background: var(--color-gold-dark); transform: translateY(0); }

.btn--outline {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}
.btn--outline:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

.btn--ghost {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-white);
}

.btn__arrow {
    transition: transform var(--transition-fast);
    font-size: 0.9em;
}
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn__icon {
    width: 1.15em;
    height: 1.15em;
    color: var(--color-gold);
    flex-shrink: 0;
}
.btn--outline:hover .btn__icon { color: var(--color-navy); }


/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: var(--z-nav);
    padding: var(--space-md) 0;
    transition: background var(--transition-base),
                padding var(--transition-base),
                backdrop-filter var(--transition-base);
    background: transparent;
}
.navbar.is-scrolled {
    background: rgba(26, 35, 50, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text-on-dark);
}
.navbar__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}
.navbar__name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.navbar__links {
    display: none;
    gap: var(--space-lg);
    align-items: center;
}
.navbar__links a {
    color: var(--color-text-on-dark);
    font-size: 15px;
    font-weight: 400;
    position: relative;
    padding: 6px 0;
}
.navbar__links a::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    width: 0; height: 1px;
    background: var(--color-gold);
    transition: width var(--transition-fast), left var(--transition-fast);
}
.navbar__links a:hover::after { width: 100%; left: 0; }

.navbar__cta { display: none; }

.navbar__burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; height: 20px;
    padding: 0;
}
.navbar__burger span {
    display: block;
    height: 2px;
    background: var(--color-white);
    border-radius: 1px;
    transition: transform var(--transition-base), opacity var(--transition-fast);
    transform-origin: center;
}
.navbar__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.navbar__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 899px) {
    .navbar__links {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(320px, 80vw);
        background: var(--color-navy-dark);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 96px var(--space-lg) var(--space-lg);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-lg);
    }
    .navbar__links.is-open { transform: translateX(0); display: flex; }
    .navbar__links li {
        width: 100%;
        border-bottom: 1px solid var(--color-border-light);
    }
    .navbar__links a {
        display: block;
        padding: var(--space-md) 0;
        font-size: 20px;
        font-family: var(--font-heading);
    }
}

@media (min-width: 900px) {
    .navbar__links { display: flex; }
    .navbar__cta { display: inline-flex; }
    .navbar__burger { display: none; }
}


/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-navy);
    padding: calc(var(--space-2xl) + 60px) 0 var(--space-2xl);
    color: var(--color-text-on-dark);
}
/* Fondo decorativo (gradiente) visible aunque no haya foto cargada */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(120% 80% at 80% 0%, rgba(201,169,110,0.14) 0%, rgba(201,169,110,0) 55%),
        linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
}
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Mobile-first: muestra la P + el mapa de Neuquén (zona izquierda/centro).
       En desktop se reposiciona a la izquierda (ver media query del hero). */
    object-position: 32% center;
    z-index: 0;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    /* Mobile: scrim oscuro parejo para que el texto se lea sobre la P dorada */
    background: linear-gradient(
        180deg,
        rgba(15, 22, 32, 0.62) 0%,
        rgba(15, 22, 32, 0.78) 55%,
        rgba(15, 22, 32, 0.93) 100%
    );
    z-index: 1;
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero__badge {
    display: inline-block;
    font-size: var(--fs-kicker);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    padding: 8px 18px;
    border: 1px solid var(--color-gold);
    border-radius: 999px;
    margin-bottom: var(--space-lg);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 3.75rem); /* entra en la columna derecha y en mobile sin cortarse */
    font-weight: 500;
    line-height: 1.05;
    color: var(--color-text-on-dark);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}
.hero__title em {
    font-style: italic;
    color: var(--color-gold);
    font-weight: 500;
}

.hero__subtitle {
    font-size: var(--fs-body-lg);
    font-weight: 300;
    color: var(--color-text-muted-dark);
    max-width: 60ch;
    margin-bottom: var(--space-md);
}

.hero__trust {
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.hero__scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--color-gold);
    font-size: 24px;
    animation: scrollBounce 2.2s var(--ease-out-quint) infinite;
}

/* ── Hero desktop: la P+mapa quedan a la izquierda y el texto se ubica
      a la derecha, sobre la pared negra de la imagen ── */
@media (min-width: 900px) {
    .hero__content { max-width: var(--container-max); }
    .hero__bg { object-position: left center; }
    .hero__overlay {
        background: linear-gradient(90deg,
            rgba(15, 22, 32, 0.30) 0%,
            rgba(15, 22, 32, 0.04) 24%,
            rgba(15, 22, 32, 0.04) 38%,
            rgba(15, 22, 32, 0.74) 64%,
            rgba(15, 22, 32, 0.92) 100%);
    }
    .hero__inner { max-width: 560px; margin-left: auto; }
}

/* ── Hero celu + tablet (<900px): UNA SOLA PARED NEGRA ──
   La foto se muestra ENTERA (P + mapa + pared negra, sin recorte ni zoom) y el
   fondo de la sección usa el MISMO negro de la pared de la foto, de modo que la
   imagen fluye sin costura hacia abajo y el texto queda sobre el mismo negro:
   una pared negra continua con la P arriba y el texto debajo. */
@media (max-width: 899px) {
    .hero {
        display: block;
        min-height: 0;
        padding: 88px 0 var(--space-2xl);   /* 88px = deja pasar el navbar fijo */
        overflow: hidden;
        /* negro muestreado de la pared derecha de la foto (#030303–#0b0d0c)
           → continúa la imagen sin que se note el borde inferior */
        background: #0a0a0c;
    }
    .hero::before { display: none; }
    .hero__bg {
        position: static;
        width: 100%;
        height: auto;                        /* aspecto natural → imagen entera */
        display: block;
        margin-bottom: -1px;                 /* mata el hairline entre foto y fondo */
        /* funde el grano de la pared al negro plano del fondo → sin costura.
           Fundido corto (14px) para no disolver la base de la P. */
        -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent 100%);
                mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent 100%);
    }
    .hero__overlay { display: none; }
    .hero__content {
        position: relative;
        z-index: 2;
        padding-top: var(--space-lg);        /* separación imagen ↔ texto */
    }
    .hero__inner { width: 100%; max-width: 100%; }
    .hero__subtitle { max-width: 52ch; }
    .hero__ctas { flex-wrap: wrap; }
    .hero__scroll-hint { display: none; }
}
@keyframes scrollBounce {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
    50%      { transform: translate(-50%, 8px); opacity: 1; }
}


/* ═══════════════════════════════════════════════════════
   TRAYECTORIA (stats con count-up)
   ═══════════════════════════════════════════════════════ */

.trayectoria {
    background: var(--color-cream);
    text-align: center;
}
.trayectoria .section__title { margin-top: var(--space-xs); }

.trayectoria__divider {
    width: 72px;
    height: 1px;
    background: var(--color-gold);
    margin: var(--space-lg) auto;
    transform-origin: left center;
}

.counters {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}
.counter { padding: var(--space-md) 0; }
.counter__number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 5vw + 1rem, 4.75rem);
    font-weight: 500;
    color: var(--color-navy);
    line-height: 1;
    letter-spacing: -0.02em;
}
.counter__label {
    display: block;
    margin-top: var(--space-xs);
    font-size: var(--fs-kicker);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    font-weight: 500;
}

@media (min-width: 768px) {
    .counters {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    .counter + .counter { border-left: 1px solid var(--color-border-gold); }
}

.trayectoria__closing {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: var(--fs-body-lg);
    color: var(--color-text-body);
    max-width: 52ch;
    margin: 0 auto;
}


/* ═══════════════════════════════════════════════════════
   ÁREAS DE PRÁCTICA
   ═══════════════════════════════════════════════════════ */

.areas { background: var(--color-white); }

.areas__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.area-card {
    text-align: left;
    background: var(--color-cream);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: transform var(--transition-base),
                border-color var(--transition-fast),
                box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    color: inherit;
    min-height: 220px;
    font-family: inherit;
}
.area-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-gold-hover);
    box-shadow: var(--shadow-md);
}
.area-card__icon {
    width: 40px;
    height: 40px;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}
.area-card h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    color: var(--color-navy);
    font-weight: 500;
    line-height: 1.2;
}
.area-card p {
    color: var(--color-text-body);
    font-size: var(--fs-body);
    flex-grow: 1;
}
.area-card__cta {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gold);
    letter-spacing: 0.02em;
    transition: transform var(--transition-fast);
}
.area-card:hover .area-card__cta { transform: translateX(4px); }

@media (min-width: 640px) {
    .areas__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
}


/* ═══════════════════════════════════════════════════════
   SEGURO DE VIDA — EJEMPLOS DESCARGABLES
   Sección navy con tarjetas cream + botón de descarga (sin
   mostrar el escaneo, para no romper la estética).
   ═══════════════════════════════════════════════════════ */
.docs { background: var(--color-navy); color: var(--color-text-on-dark); }
.docs .kicker { color: var(--color-gold); }
.docs .section__title { color: var(--color-text-on-dark); }
.docs .section__intro { color: var(--color-text-muted-dark); }

.docs__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.doc-card {
    background: var(--color-cream);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    transition: transform var(--transition-base),
                border-color var(--transition-fast),
                box-shadow var(--transition-base);
}
.doc-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-gold-hover);
    box-shadow: var(--shadow-lg);
}
.doc-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.doc-card__icon { width: 38px; height: 38px; color: var(--color-gold); }
.doc-card__tag {
    font-size: var(--fs-kicker);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--color-gold-dark);
    background: rgba(201, 169, 110, 0.12);
    border: 1px solid var(--color-border-gold);
    padding: 4px 12px;
    border-radius: 999px;
}
.doc-card h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    color: var(--color-navy);
    font-weight: 500;
    line-height: 1.2;
}
.doc-card p {
    color: var(--color-text-body);
    font-size: var(--fs-body);
    flex-grow: 1;
}
.doc-card strong { color: var(--color-navy); font-weight: 600; }
/* ícono de descarga: sigue el color del texto del botón (navy sobre dorado) */
.doc-card__dl {
    width: 1.1em;
    height: 1.1em;
    color: currentColor;
    flex-shrink: 0;
}
.doc-card .btn { margin-top: var(--space-xs); }

.docs__note {
    text-align: center;
    color: var(--color-text-muted-dark);
    font-size: var(--fs-caption);
    margin-top: var(--space-lg);
}
.docs__cta {
    text-align: center;
    margin-top: var(--space-lg);
}

@media (min-width: 640px) {
    .docs__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
}


/* ═══════════════════════════════════════════════════════
   POR QUÉ ELEGIRNOS
   ═══════════════════════════════════════════════════════ */

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

.why__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: start;
}
.why__copy .section__title { margin-bottom: var(--space-md); }
.why__copy p { color: var(--color-text-body); max-width: 46ch; }

.why__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.why__list li {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    background: var(--color-white);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.why__list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.why__mark {
    color: var(--color-gold);
    font-size: 1.1em;
    line-height: 1.5;
    flex-shrink: 0;
}
.why__list strong {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 2px;
}
.why__list li p { color: var(--color-text-body); font-size: var(--fs-body); }

@media (min-width: 900px) {
    .why__grid { grid-template-columns: 5fr 6fr; gap: var(--space-2xl); }
}


/* ═══════════════════════════════════════════════════════
   PROCESO
   ═══════════════════════════════════════════════════════ */

.proceso { background: var(--color-navy); color: var(--color-text-on-dark); }
.proceso .kicker { color: var(--color-gold); }
.proceso .section__title { color: var(--color-text-on-dark); }

.proceso__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    counter-reset: step;
}
.step { position: relative; padding-left: 0; }
.step__number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}
.step__title {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    color: var(--color-text-on-dark);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}
.step__desc {
    color: var(--color-text-muted-dark);
    font-size: var(--fs-body);
    max-width: 42ch;
}

@media (min-width: 900px) {
    .proceso__steps {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
    .step + .step::before {
        content: '';
        position: absolute;
        left: calc(-1 * var(--space-xl) / 2 - 30px);
        top: 32px;
        width: calc(var(--space-xl) - 8px);
        border-top: 1px dashed var(--color-gold);
        opacity: 0.4;
    }
}


/* ═══════════════════════════════════════════════════════
   EQUIPO
   ═══════════════════════════════════════════════════════ */

.equipo { background: var(--color-white); }

.equipo__video {
    max-width: 540px;
    margin: 0 auto var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-navy-dark);
    aspect-ratio: 4 / 5;
    max-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.equipo__video video { width: 100%; height: 100%; object-fit: contain; }

.equipo__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 840px;
    margin: 0 auto;
}

.member {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.member__photo {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(160deg, var(--color-navy-light) 0%, var(--color-navy-dark) 100%);
}
/* Monograma de respaldo (visible si la foto no cargó) */
.member__photo::after {
    content: attr(data-initial);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--color-gold);
    opacity: 0.5;
    z-index: 0;
}
.member__photo img {
    position: relative;
    z-index: 1;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: filter var(--transition-slow);
}
.member:hover .member__photo img { filter: grayscale(0.25); }

.member__info { padding: var(--space-md) var(--space-lg) var(--space-lg); }
.member__name {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 4px;
}
.member__role {
    font-size: var(--fs-caption);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}
.member__license {
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}
.member__bio { font-size: var(--fs-body); color: var(--color-text-body); }

@media (min-width: 768px) {
    .equipo__grid { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════════════════ */

.contacto { background: var(--color-navy); color: var(--color-text-on-dark); }
.contacto .kicker { color: var(--color-gold); }
.contacto .section__title { color: var(--color-text-on-dark); }
.contacto__info p { color: var(--color-text-muted-dark); }

.contacto__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.contact-list {
    margin: var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.contact-list li {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    color: var(--color-text-muted-dark);
    font-size: var(--fs-body);
}
.contact-list li span { color: var(--color-gold); }
.contact-list li strong { color: var(--color-text-on-dark); font-weight: 500; }
.contact-list a:hover { color: var(--color-gold-light); text-decoration: underline; }

.contacto__trust {
    margin-top: var(--space-lg);
    color: var(--color-gold) !important;
    font-weight: 500;
    font-size: var(--fs-body);
}

/* Form */
.contacto__form {
    background: var(--color-white);
    color: var(--color-text-body);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
    font-size: var(--fs-caption);
    font-weight: 600;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.field .req { color: var(--color-gold-dark); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: var(--fs-body);
    color: var(--color-text-primary);
    background: var(--color-cream);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    min-height: 52px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
    background: var(--color-white);
}

.field--check label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: var(--fs-caption);
    color: var(--color-text-body);
    cursor: pointer;
    line-height: 1.5;
}
.field--check input[type="checkbox"] {
    margin-top: 3px;
    width: 18px; height: 18px;
    accent-color: var(--color-gold);
    flex-shrink: 0;
    cursor: pointer;
}
.form-link { color: var(--color-gold-dark); text-decoration: underline; }

.form-note {
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 4px;
}
.form-feedback:empty { display: none; }
.form-feedback {
    margin-top: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--fs-body);
    text-align: center;
}
.form-feedback.is-success {
    background: rgba(46, 125, 79, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(46, 125, 79, 0.3);
}
.form-feedback.is-error {
    background: rgba(192, 57, 43, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(192, 57, 43, 0.3);
}

@media (min-width: 900px) {
    .contacto__grid { grid-template-columns: 5fr 7fr; gap: var(--space-2xl); }
    .contacto__form { padding: var(--space-xl); }
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.footer {
    background: var(--color-navy-dark);
    color: var(--color-text-muted-dark);
    padding: var(--space-2xl) 0 var(--space-lg);
    font-size: var(--fs-caption);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}
.footer__col h4 {
    font-family: var(--font-body);
    font-size: var(--fs-caption);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a { color: var(--color-text-muted-dark); }
.footer__col a:hover { color: var(--color-gold); }

.footer__brand { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer__logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
    display: block;
    margin-bottom: var(--space-sm);
}
.footer__name {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-text-on-dark);
}
.footer__tag {
    font-style: italic;
    color: var(--color-gold);
    font-family: var(--font-heading);
}

.footer__bottom {
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-light);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-xs);
    color: var(--color-text-muted);
    font-size: 12px;
}
.footer__craft { font-style: italic; color: var(--color-gold); opacity: 0.8; }

@media (min-width: 700px) {
    .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}


/* ═══════════════════════════════════════════════════════
   Hero reveal stagger (entrada on-load)
   ═══════════════════════════════════════════════════════ */
.hero [data-reveal] {
    transform: translateY(16px);
    transition-duration: 0.7s;
}
.hero [data-reveal]:nth-child(1) { transition-delay: 0.1s; }
.hero [data-reveal]:nth-child(2) { transition-delay: 0.22s; }
.hero [data-reveal]:nth-child(3) { transition-delay: 0.34s; }
.hero [data-reveal]:nth-child(4) { transition-delay: 0.46s; }
.hero [data-reveal]:nth-child(5) { transition-delay: 0.58s; }
