/* ── HERO SHELL ───────────────────────────────────── */
#hero-section { background: var(--bg); }

.hero {
    position: relative;
    width: 100%;
    height: 100dvh;
    min-height: 600px;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Cada stop reducido un 20% respecto al original (× 0.8) para que el video
     * respire más, manteniendo la forma del gradiente (más oscuro arriba/abajo
     * donde están h1 y CTA → preserva legibilidad). */
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.44) 30%,
        rgba(0, 0, 0, 0.48) 60%,
        rgba(0, 0, 0, 0.66) 100%
    );
}
.hero__overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.24);
}

/* ── CENTRED CONTENT ──────────────────────────────── */
.hero__center {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
}

.kicker {
    font-family: var(--sans);
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 700;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.60);
    margin-bottom: 18px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeUp 0.8s var(--ease) 0.55s forwards;
}

.divider {
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, 0.30);
    margin: 0 auto 28px;
    opacity: 0;
    animation: heroFadeIn 0.6s ease 0.85s forwards;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(52px, 6vw, 90px);
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(18px);
    animation: heroFadeUp 0.9s var(--ease) 0.75s forwards;
}
.hero h1 em {
    font-style: italic;
    font-weight: 300;
}

.subheadline {
    font-family: var(--sans);
    font-size: clamp(15px, 1.35vw, 19px);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
    margin-bottom: 44px;
    text-wrap: pretty;
    opacity: 0;
    transform: translateY(14px);
    animation: heroFadeUp 0.9s var(--ease) 0.95s forwards;
}

/* ── CTA ──────────────────────────────────────────── */
.cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 0.9s var(--ease) 1.15s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 40px;
    background: #fff;
    color: #0a0a0a;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.2s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.92);
}
.btn-arrow {
    transition: transform 0.3s var(--ease);
}
.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.trust-signal {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* ── FOOTER ROW ───────────────────────────────────── */
.hero__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 var(--gutter) 40px;
}

/* ── REEL BUTTON ──────────────────────────────────── */
.reel-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px 10px 12px;
    background: rgba(0, 0, 0, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0;
    animation: heroFadeIn 1s ease 1.8s forwards;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.2s, transform 0.3s var(--ease);
}
.reel-btn:hover {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    transform: translateY(-2px);
}

.reel-btn__icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background 0.3s ease;
}
.reel-btn:hover .reel-btn__icon {
    background: rgba(255, 255, 255, 0.95);
    color: #0a0a0a;
}

.reel-btn__icon svg {
    margin-left: 1px; /* optical alignment for play triangle */
}

.reel-btn__meta {
    color: rgba(255, 255, 255, 0.45);
    padding-left: 10px;
    margin-left: 2px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: heroFadeIn 1s ease 1.9s forwards;
}
.scroll-indicator__label {
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    writing-mode: vertical-rl;
}
.scroll-indicator__line {
    width: 1px;
    height: 52px;
    background: rgba(255, 255, 255, 0.20);
    position: relative;
    overflow: hidden;
}
.scroll-indicator__line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.70);
    animation: scrollLine 2.2s cubic-bezier(0.4, 0, 0.6, 1) 2.2s infinite;
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
    to { opacity: 1; }
}
@keyframes scrollLine {
    0%   { top: -100%; }
    50%  { top: 0; }
    100% { top: 100%; }
}

/* ── REEL MODAL ───────────────────────────────────── */
.reel-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: clamp(20px, 4vw, 60px);
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}
.reel-modal[hidden] { display: none; }
.reel-modal.is-open { background: rgba(0, 0, 0, 0.92); }

.reel-modal__close {
    position: absolute;
    top: 28px;
    right: 28px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s, border-color 0.2s, transform 0.3s var(--ease);
}
.reel-modal__close:hover {
    color: #fff;
    border-color: #fff;
    transform: rotate(90deg);
}

.reel-modal__stage {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: #000;
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.4s ease;
}
.reel-modal.is-open .reel-modal__stage {
    transform: scale(1);
    opacity: 1;
}

.reel-modal__video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero__center { padding: 0 24px; }
    .kicker { font-size: clamp(13px, 3.5vw, 18px); white-space: normal; }
    .hero h1 { font-size: clamp(44px, 8vw, 64px); }
    .hero__footer { padding: 0 24px 32px; }
    .reel-btn__meta { display: none; }
    .reel-modal__close { top: 16px; right: 16px; width: 38px; height: 38px; }
}
