/* ═══════════════════════════════════
   Ford Econoline 1985 — Landing Page
   ═══════════════════════════════════ */

/* ── OVERRIDES AL RESET ── */
/* El reset usa 62.5% (1rem=10px) para el proyecto mb.
   Este proyecto usa rem estándar (1rem=16px). */
html { font-size: 100%; scroll-behavior: auto; overflow-x: clip; }
::selection { background: #C43E3E; color: #fff; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { overflow-x: hidden; }

/* ── CUSTOM PROPERTIES ── */
:root {
    --bg: #1A1517;
    --bg-card: #231E20;
    --bg-elevated: #2C2426;
    --text: #F5F0EB;
    --text-secondary: #B8A99A;
    --text-muted: #6B5D54;
    --accent: #C43E3E;
    --accent-hover: #D95252;
    --silver: #C0C0C8;
    --silver-light: #D8D8DE;
    --cream: #D4C4A8;
    --border: #2E2528;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --ease: cubic-bezier(.22, 1, .36, 1);

    --green: #2D6A4F;
    --green-light: #40916C;
    --amber: #D4940A;
    --wa-green: #25D366;

    --font-display: 'Instrument Serif', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --gutter: 1.25rem;
    --section-pad: 5rem;
}

/* ── THEME OVERRIDES ── */
.theme-day {
    --bg: #F0E8E2;
    --bg-card: #FFFFFF;
    --bg-elevated: #F5F0EB;
    --text: #1A1517;
    --text-secondary: #6B5D54;
    --text-muted: #9A8E85;
    --accent: #B03535;
    --accent-hover: #C43E3E;
    --border: #DDD4CC;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.theme-night {
    --bg: #1A1517;
    --bg-card: #231E20;
    --bg-elevated: #2C2426;
    --text: #F5F0EB;
    --text-secondary: #B8A99A;
    --text-muted: #6B5D54;
    --accent: #C43E3E;
    --accent-hover: #D95252;
    --border: #2E2528;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ── BASE TYPOGRAPHY ── */
body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }

/* ── LAYOUT ── */
.container {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ── FILM GRAIN ── */
svg.grain {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
}

/* ── CHAR (text split) ── */
.char { display: inline-block; }

/* ═══════════════════════
   NAVIGATION
   ═══════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem var(--gutter);
    border-bottom: 1px solid transparent;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav--solid {
    background: rgba(26, 21, 23, 0.92);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}

.nav__brand {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--text);
    letter-spacing: 0.02em;
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    min-height: 2.75rem;
    border: 1px solid rgba(192, 192, 200, 0.25);
    border-radius: 2rem;
    color: var(--silver);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.3s var(--ease);
}

.nav__cta i {
    color: var(--wa-green);
    font-size: 1rem;
}

@media (min-width: 64rem) {
    .nav { padding: 1.5rem 3rem; }
}

@media (hover: hover) {
    .nav__cta:hover {
        background: rgba(192, 192, 200, 0.1);
        border-color: rgba(192, 192, 200, 0.4);
    }
}

/* ═══════════════════════
   HERO
   ═══════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 78vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
}

@media (min-width: 48rem) {
    .hero {
        height: 100vh;
        min-height: 600px;
    }
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg .hero__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1A1517 0%, #2C2426 50%, #1A1517 100%);
    color: var(--text-muted);
    font-size: 0.875rem;
}
.hero__bg .hero__placeholder i { font-size: 2.5rem; opacity: 0.3; }

/* Overlay: oscuro a la izquierda (texto), transparente a la derecha (foto) */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
        rgba(26,21,23,0.92) 0%,
        rgba(26,21,23,0.75) 45%,
        rgba(26,21,23,0.4) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 0 var(--gutter);
}

.hero__text {
    max-width: 38rem;
}

/* Línea roja editorial */
.hero__accent {
    width: 3.5rem;
    height: 3px;
    background: var(--accent);
    margin-bottom: 1.75rem;
    border-radius: 2px;
}

.hero__year {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    color: var(--silver);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 0.15rem;
    letter-spacing: 0.04em;
}

.hero__title {
    margin-bottom: 1.75rem;
}

.hero__title-ford {
    display: block;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    color: var(--cream);
    line-height: 1.15;
    letter-spacing: 0.03em;
}

.hero__title-econoline {
    display: block;
    font-size: clamp(3.25rem, 9vw, 6.5rem);
    color: var(--text);
    line-height: 0.95;
    letter-spacing: -0.025em;
}

.hero__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.5rem, 2.2vw, 1.3rem);
    color: var(--cream);
    line-height: 1.55;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.hero__meta i {
    color: var(--accent);
    margin-right: 0.25rem;
}

.hero__meta-sep { opacity: 0.3; }

/* Scroll indicator — esquina inferior izquierda */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.hero__scroll span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 3.5rem;
    position: relative;
    overflow: hidden;
    background: rgba(192, 192, 200, 0.12);
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--accent));
    animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 160%; }
}

@media (min-width: 48rem) {
    .hero__content { padding-left: 8vw; }

    .hero__overlay {
        background: linear-gradient(90deg,
            rgba(26,21,23,0.88) 0%,
            rgba(26,21,23,0.6) 40%,
            rgba(26,21,23,0.15) 75%,
            transparent 100%
        );
    }
}

@media (min-width: 64rem) {
    .hero__content { padding-left: 10vw; }
}

/* ═══════════════════════
   HERO VIDEO / IMAGE
   ═══════════════════════ */
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Hero image — foto de fondo con parallax (reemplaza video) */
.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    z-index: 0;
    will-change: transform;
}

/* Ocultar placeholder cuando el video cargue */
.hero__video[src] + .hero__placeholder,
.hero__video:not([src=""]) + .hero__placeholder { display: none; }

/* ═══════════════════════
   TIMELINE
   ═══════════════════════ */
.timeline {
    background: var(--bg);
    padding: var(--section-pad) 0;
}

.timeline__track {
    position: relative;
    padding-left: 2rem;
}

/* Línea vertical */
.timeline__track::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--border));
    border-radius: 1px;
}

.timeline__item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
    position: absolute;
    left: -1.65rem;
    top: 0.35rem;
    width: 0.75rem;
    height: 0.75rem;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 3px rgba(196, 62, 62, 0.2);
}

.timeline__date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.timeline__content h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.timeline__content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (min-width: 48rem) {
    .timeline__track { padding-left: 3rem; }
    .timeline__track::before { left: 0.55rem; }
    .timeline__dot { left: -2.55rem; width: 0.85rem; height: 0.85rem; }
    .timeline__item { padding-bottom: 3rem; }
}

/* ═══════════════════════
   DOCS — REPARACIONES (comentado: HTML removido, conservar por si se reutiliza)
   ═══════════════════════ */
/*
.docs__repairs {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    border-left: 3px solid var(--accent);
}

.docs__repairs-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.docs__repairs-title i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.docs__repairs-list {
    display: grid;
    gap: 0.6rem;
}

.docs__repairs-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.docs__repairs-list li i {
    color: var(--green-light);
    font-size: 0.75rem;
    flex-shrink: 0;
}

@media (min-width: 48rem) {
    .docs__repairs-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
*/

/* ═══════════════════════
   STICKY CTA MOBILE
   ═══════════════════════ */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem var(--gutter);
    background: rgba(26, 21, 23, 0.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
}

.sticky-cta__price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--text);
}

.sticky-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    min-height: 2.75rem;
    background: linear-gradient(135deg, var(--cream) 0%, #B8A888 100%);
    color: var(--bg);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s var(--ease);
}

.sticky-cta__btn i { font-size: 1.1rem; }

/* Ocultar en desktop (nav CTA es suficiente) */
@media (min-width: 64rem) {
    .sticky-cta { display: none; }
}

@media (hover: hover) {
    .sticky-cta__btn:hover {
        background: var(--bg);
        color: var(--cream);
        border-color: var(--cream);
        transform: scale(1.03);
        box-shadow: 0 4px 15px rgba(212, 196, 168, 0.25);
    }
}

/* ═══════════════════════
   HIGHLIGHTS
   ═══════════════════════ */
.highlights {
    position: relative;
    background: #150F12;
    border-top: 1px solid rgba(196, 62, 62, 0.12);
    border-bottom: 1px solid rgba(196, 62, 62, 0.12);
    padding: 3rem 0;
}

.highlights__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.highlights__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--accent);
    line-height: 1.1;
}

.highlights__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    display: block;
}

@media (min-width: 48rem) {
    .highlights__grid { grid-template-columns: repeat(4, 1fr); }
    .highlights { padding: 4rem 0; }
}

/* ═══════════════════════
   SECTION HEADERS (shared)
   ═══════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
}
.section-tag::before,
.section-tag::after {
    content: '—';
    margin: 0 0.75rem;
    opacity: 0.4;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text);
    margin-bottom: 1rem;
    font-style: italic;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 36rem;
    margin: 0 auto;
    font-weight: 300;
}

/* ═══════════════════════
   DAY SECTION + GALLERY
   ═══════════════════════ */
.day-section {
    background: var(--bg);
    padding: var(--section-pad) 0;
}

/* Placeholder genérico (se reusará en video blocks) */
.gallery__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--bg-elevated);
    border: 1px dashed var(--border);
    border-radius: inherit;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: border-color 0.3s var(--ease);
}
.gallery__placeholder i { font-size: 1.5rem; opacity: 0.4; }

.gallery__placeholder--night {
    background: #1A1517;
    border-color: #2E2528;
}

@media (hover: hover) {
    .gallery__placeholder:hover { border-color: var(--accent); }
}

/* Foto hero de sección día — cinematic parallax frame */
.day__hero-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 60px -20px rgba(26, 21, 23, 0.35);
}

.day__hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 112%;
    object-fit: cover;
    will-change: transform;
}

/* Video blocks — Patrón replicado de TROYANO (mobile-first) */
.day__videos,
.night__videos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.video-block {
    width: 100%;
    max-width: 350px;
}

.video-block__player {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--bg-card);
}

.video-block__player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-block__title {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-align: center;
    padding: 0.5rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 2rem;
    position: relative;
}

.video-block__title::before {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 0.6rem;
    vertical-align: middle;
}

.video-block--night .video-block__title {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-secondary);
}

/* ═══════════════════════
   CINEMATIC GALLERY — 3 filas narrativas
   ═══════════════════════ */
.cinema {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

/* Marco universal — parallax internal via overflow + transform en img */
.cinema__frame {
    position: relative;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--bg-elevated);
    box-shadow: 0 15px 45px -18px rgba(26, 21, 23, 0.4);
}

.cinema__frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 114%;
    object-fit: cover;
    will-change: transform;
    display: block;
}

/* Caption editorial — número + texto italicado */
.cinema__caption {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin-top: 0.9rem;
    padding-left: 0.15rem;
}

.cinema__caption-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    flex-shrink: 0;
    padding-top: 0.1rem;
    position: relative;
}
.cinema__caption-num::after {
    content: '';
    display: inline-block;
    width: 1.25rem;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.cinema__caption-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.4;
    letter-spacing: 0.005em;
}

/* ── Fila 1 — SOLO: exterior full bleed ── */
.cinema__row--solo .cinema__frame {
    aspect-ratio: 3/2;
}

/* ── Fila 2 — SPLIT: portrait + blockquote ── */
.cinema__row--split {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.cinema__portrait .cinema__frame {
    aspect-ratio: 2/3;
    max-height: 78vh;
}

.cinema__quote {
    position: relative;
    padding: 2rem 0 0;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4.2vw, 2.25rem);
    line-height: 1.25;
    color: var(--text);
    letter-spacing: 0.01em;
}
.cinema__quote::before {
    content: '';
    display: block;
    width: 3rem;
    height: 2px;
    background: var(--accent);
    margin-bottom: 1.5rem;
}
.cinema__quote p { margin: 0; }
.cinema__quote em {
    font-style: italic;
    color: var(--accent);
}
.cinema__quote-meta {
    display: block;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-style: normal;
}

/* ── Fila 3 — DUO artístico ── */
.cinema__row--duo {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.cinema__chapter {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: var(--text);
    text-align: center;
    opacity: 0.85;
    letter-spacing: 0.01em;
    margin: 1rem 0 0.5rem;
    position: relative;
}
.cinema__chapter::before,
.cinema__chapter::after {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: var(--accent);
    opacity: 0.55;
    vertical-align: middle;
    margin: 0 1rem;
}

.cinema__duo {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cinema__immersive .cinema__frame {
    aspect-ratio: 3/2;
}

/* ── Tablet ── */
@media (min-width: 48rem) {
    .cinema { gap: 5rem; }

    .cinema__row--split {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
    .cinema__portrait {
        flex: 0 0 48%;
    }
    .cinema__quote {
        flex: 1 1 auto;
        padding: 0;
        font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    }

    .cinema__duo {
        flex-direction: row;
        gap: 1.5rem;
    }
    .cinema__duo .cinema__immersive {
        flex: 1 1 0;
    }
}

/* ── Desktop ── */
@media (min-width: 64rem) {
    .cinema { gap: 6.5rem; }

    .cinema__row--split { gap: 4rem; }
    .cinema__portrait { flex: 0 0 44%; }

    .cinema__duo { gap: 2rem; }

    .cinema__caption-text { font-size: 1.15rem; }
}

@media (hover: hover) {
    .cinema__frame {
        transition: box-shadow 0.5s var(--ease);
    }
    .cinema__frame:hover {
        box-shadow: 0 25px 70px -20px rgba(26, 21, 23, 0.55);
    }
}

/* Tablet: 3 videos en fila */
@media (min-width: 48rem) {
    .day__videos,
    .night__videos {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .video-block { max-width: 300px; }
}

/* Desktop XL: más espacio */
@media (min-width: 75rem) {
    .video-block { max-width: 280px; }
    .day__videos,
    .night__videos { gap: 2.5rem; }
}

/* ═══════════════════════
   SPECS
   ═══════════════════════ */
.specs {
    background: var(--bg);
    padding: 0 0 var(--section-pad);
}

.specs__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.spec-card__icon {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.spec-card__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.spec-card__value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--text);
}

@media (min-width: 48rem) {
    .specs__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 64rem) {
    .specs__grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

@media (hover: hover) {
    .spec-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    }
}

/* ═══════════════════════
   DUSK TRANSITION
   ═══════════════════════ */
.dusk {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,
        #F0E8E2 0%,
        #D4B8A0 12%,
        #A07055 25%,
        #6B4035 40%,
        #3D2220 55%,
        #271818 70%,
        #1E1315 85%,
        #1A1517 100%
    );
    overflow: hidden;
}

/* Stars container */
.dusk__stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.dusk__star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #F5F0EB;
    border-radius: 50%;
    opacity: 0;
    animation: starTwinkle 3s ease-in-out infinite;
}

/* Estrellas pequeñas (2px) — lejanas, sutiles */
.dusk__star--sm { width: 2px; height: 2px; animation-name: starTwinkleSoft; }

/* Estrellas brillantes (4px) — protagonistas con glow fuerte */
.dusk__star--bright {
    width: 4px;
    height: 4px;
    animation-name: starTwinkleBright;
    animation-duration: 4s;
}

/* --- Distribución: 40 estrellas, concentradas en zona oscura (40%-100%) --- */

/* Fila superior — pocas, tímidas (las primeras en aparecer al atardecer) */
.dusk__star:nth-child(1)  { top: 38%; left: 12%; animation-delay: 2.0s; }
.dusk__star:nth-child(2)  { top: 35%; left: 45%; animation-delay: 3.2s; }
.dusk__star:nth-child(3)  { top: 40%; left: 78%; animation-delay: 2.8s; }
.dusk__star:nth-child(4)  { top: 42%; left: 30%; animation-delay: 1.5s; }

/* Zona media — densidad creciente */
.dusk__star:nth-child(5)  { top: 48%; left: 5%;  animation-delay: 0.8s; }
.dusk__star:nth-child(6)  { top: 50%; left: 18%; animation-delay: 1.2s; }
.dusk__star:nth-child(7)  { top: 46%; left: 35%; animation-delay: 0.3s; }
.dusk__star:nth-child(8)  { top: 52%; left: 52%; animation-delay: 2.4s; }
.dusk__star:nth-child(9)  { top: 49%; left: 68%; animation-delay: 0.6s; }
.dusk__star:nth-child(10) { top: 53%; left: 85%; animation-delay: 1.8s; }
.dusk__star:nth-child(11) { top: 47%; left: 92%; animation-delay: 3.0s; }

/* Zona densa — el cielo nocturno pleno */
.dusk__star:nth-child(12) { top: 58%; left: 3%;  animation-delay: 0.4s; }
.dusk__star:nth-child(13) { top: 60%; left: 15%; animation-delay: 2.2s; }
.dusk__star:nth-child(14) { top: 56%; left: 25%; animation-delay: 1.0s; }
.dusk__star:nth-child(15) { top: 62%; left: 38%; animation-delay: 0.1s; }
.dusk__star:nth-child(16) { top: 59%; left: 48%; animation-delay: 2.6s; }
.dusk__star:nth-child(17) { top: 63%; left: 58%; animation-delay: 0.9s; }
.dusk__star:nth-child(18) { top: 57%; left: 72%; animation-delay: 1.7s; }
.dusk__star:nth-child(19) { top: 61%; left: 82%; animation-delay: 3.4s; }
.dusk__star:nth-child(20) { top: 55%; left: 95%; animation-delay: 0.5s; }

/* Zona profunda — máxima densidad */
.dusk__star:nth-child(21) { top: 68%; left: 8%;  animation-delay: 1.3s; }
.dusk__star:nth-child(22) { top: 72%; left: 20%; animation-delay: 0.2s; }
.dusk__star:nth-child(23) { top: 66%; left: 32%; animation-delay: 2.9s; }
.dusk__star:nth-child(24) { top: 70%; left: 42%; animation-delay: 0.7s; }
.dusk__star:nth-child(25) { top: 74%; left: 55%; animation-delay: 1.9s; }
.dusk__star:nth-child(26) { top: 69%; left: 65%; animation-delay: 3.1s; }
.dusk__star:nth-child(27) { top: 73%; left: 75%; animation-delay: 0.4s; }
.dusk__star:nth-child(28) { top: 67%; left: 88%; animation-delay: 2.3s; }

/* Fondo — las más bajas */
.dusk__star:nth-child(29) { top: 78%; left: 5%;  animation-delay: 1.6s; }
.dusk__star:nth-child(30) { top: 82%; left: 18%; animation-delay: 0.3s; }
.dusk__star:nth-child(31) { top: 80%; left: 33%; animation-delay: 2.7s; }
.dusk__star:nth-child(32) { top: 85%; left: 48%; animation-delay: 1.1s; }
.dusk__star:nth-child(33) { top: 79%; left: 60%; animation-delay: 3.5s; }
.dusk__star:nth-child(34) { top: 83%; left: 72%; animation-delay: 0.8s; }
.dusk__star:nth-child(35) { top: 87%; left: 85%; animation-delay: 2.0s; }
.dusk__star:nth-child(36) { top: 76%; left: 95%; animation-delay: 1.4s; }

/* Últimas 4 — relleno de huecos */
.dusk__star:nth-child(37) { top: 90%; left: 10%; animation-delay: 0.6s; }
.dusk__star:nth-child(38) { top: 88%; left: 40%; animation-delay: 3.3s; }
.dusk__star:nth-child(39) { top: 92%; left: 62%; animation-delay: 1.5s; }
.dusk__star:nth-child(40) { top: 91%; left: 90%; animation-delay: 2.5s; }

/* Tamaños — aplicados via clases en nth-child */
.dusk__star:nth-child(2),
.dusk__star:nth-child(6),
.dusk__star:nth-child(9),
.dusk__star:nth-child(13),
.dusk__star:nth-child(18),
.dusk__star:nth-child(22),
.dusk__star:nth-child(26),
.dusk__star:nth-child(30),
.dusk__star:nth-child(34),
.dusk__star:nth-child(38) { width: 2px; height: 2px; animation-name: starTwinkleSoft; }

.dusk__star:nth-child(7),
.dusk__star:nth-child(15),
.dusk__star:nth-child(24),
.dusk__star:nth-child(32),
.dusk__star:nth-child(37) {
    width: 4px;
    height: 4px;
    animation-name: starTwinkleBright;
    animation-duration: 4s;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50%      { opacity: 0.7; transform: scale(1); box-shadow: 0 0 6px 1px rgba(245, 240, 235, 0.3); }
}

@keyframes starTwinkleSoft {
    0%, 100% { opacity: 0; transform: scale(0.3); }
    50%      { opacity: 0.4; transform: scale(1); }
}

@keyframes starTwinkleBright {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    40%      { opacity: 1; transform: scale(1.2); box-shadow: 0 0 10px 3px rgba(245, 240, 235, 0.5), 0 0 20px 6px rgba(196, 62, 62, 0.15); }
    60%      { opacity: 0.9; transform: scale(1); box-shadow: 0 0 8px 2px rgba(245, 240, 235, 0.3); }
}

.dusk__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem var(--gutter);
}

.dusk__text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.75rem, 4vw, 3rem);
    color: var(--text);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ═══════════════════════
   NIGHT SECTION
   ═══════════════════════ */
.night-section {
    background: var(--bg);
    padding: var(--section-pad) 0;
}

/* ═══════════════════════
   DOCUMENTATION
   ═══════════════════════ */
.docs {
    background: var(--bg);
    padding: var(--section-pad) 0;
}

.docs__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    transition: transform 0.3s var(--ease);
}

.doc-card__status {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.doc-card--ok .doc-card__status { color: var(--green-light); }
.doc-card--pending .doc-card__status { color: var(--amber); }

.doc-card__title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.doc-card__detail {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (min-width: 48rem) {
    .docs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
    .docs__grid { gap: 1.25rem; }
}

@media (hover: hover) {
    .doc-card:hover { transform: translateX(6px); }
}

/* ═══════════════════════
   GAS SYSTEM
   ═══════════════════════ */
.gas {
    background: var(--bg);
    padding: 0 0 var(--section-pad);
}

.gas__content {
    display: grid;
    gap: 2.5rem;
}

.gas__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.gas__stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
}

.gas__stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--accent);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.gas__stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.gas__details {
    display: grid;
    gap: 1rem;
}

.gas__detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-elevated);
    border-radius: 0.75rem;
    border-left: 3px solid var(--accent);
}

.gas__detail-item > i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.gas__detail-item strong {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.gas__detail-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

@media (min-width: 64rem) {
    .gas__content {
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
        align-items: start;
    }
    .gas__stats {
        grid-template-columns: 1fr;
    }
    .gas__details {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════
   PRICE + CTA
   ═══════════════════════ */
.price {
    background: var(--bg);
    padding: var(--section-pad) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.price__wrapper {
    position: relative;
    z-index: 1;
}

.price__amount {
    margin: 1.5rem 0;
}

.price__currency {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.price__value {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1;

    /* Gold Foil metalizado */
    background: linear-gradient(135deg,
        #8B6735 0%,
        #D4A574 15%,
        #FCF6BA 35%,
        #D4A574 55%,
        #B38728 75%,
        #8B6735 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Profundidad dorada */
    filter:
        drop-shadow(0 1px 0 rgba(255, 255, 255, 0.12))
        drop-shadow(0 2px 1px rgba(139, 103, 53, 0.4))
        drop-shadow(0 4px 3px rgba(212, 165, 116, 0.25))
        drop-shadow(0 0 20px rgba(212, 165, 116, 0.15));

    /* Shimmer una vez al entrar en viewport */
    animation: priceGoldShimmer 1.5s ease-out 0.3s 1 forwards;

    /* Fallback */
    @supports not (background-clip: text) {
        color: #D4A574;
        background: none;
        -webkit-text-fill-color: #D4A574;
        text-shadow:
            0 -1px 0 rgba(255, 255, 255, 0.25),
            0 1px 0 rgba(0, 0, 0, 0.2),
            0 2px 2px rgba(139, 103, 53, 0.2);
    }
}

@keyframes priceGoldShimmer {
    0%   { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.price__note {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.price__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--cream) 0%, #B8A888 100%);
    color: var(--bg);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 3rem;
    border: 2px solid transparent;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 196, 168, 0.2);
}

.price__cta i { font-size: 1.1rem; }

@media (min-width: 48rem) {
    .price__cta {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        gap: 0.75rem;
    }
    .price__cta i { font-size: 1.25rem; }
}

/* Shimmer dorado */
.price__cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

.price__phone {
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.price__phone i { margin-right: 0.4rem; }

@media (hover: hover) {
    .price__cta:hover {
        background: var(--bg);
        color: var(--cream);
        border-color: var(--cream);
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 8px 30px rgba(212, 196, 168, 0.3);
    }
}


/* ═══════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════ */
@media (min-width: 48rem) {
    :root {
        --gutter: 2rem;
        --section-pad: 7rem;
    }
    .section-header { margin-bottom: 4rem; }
}

@media (min-width: 64rem) {
    :root {
        --gutter: 3rem;
        --section-pad: 8rem;
    }
}

@media (min-width: 90rem) {
    :root { --section-pad: 10rem; }
}
