/**
 * hero.css
 * Full-screen cinematic hero — bottom-anchored text, top-clear aerial view
 */

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

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--clr-navy-dark);
}

/* ── Background image ────────────────────────────────── */

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.06);
    transition: transform 12s var(--ease-out);
    will-change: transform;
}

.hero__bg-img.loaded {
    transform: scale(1.0);
}

/*
 * Gradient: dark at top (nav legibility) → clear in middle (photo zone) →
 * dark at bottom (text legibility).
 */
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(7, 18, 42, 0.92) 0%,
            rgba(7, 18, 42, 0.72) 15%,
            rgba(7, 18, 42, 0.52) 38%,
            rgba(7, 18, 42, 0.75) 62%,
            rgba(7, 18, 42, 0.83) 78%,
            rgba(7, 18, 42, 0.87) 100%
        );
}

/* ── Spacer: holds the photo zone, always clears header ─ */

.hero__spacer {
    flex: 1;
    position: relative;
    z-index: 1;
    min-height: calc(var(--header-height) + 60px);
}

/* ── Content wrap: sits at the bottom naturally ──────── */

.hero__content-wrap {
    position: relative;
    z-index: 1;
    padding-bottom: var(--space-16);
    padding-inline: var(--container-gutter);
}

.hero__content {
    max-width: 680px;
}

/* ── Eyebrow ─────────────────────────────────────────── */

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: var(--space-5);
}

.hero__eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--clr-gold);
    flex-shrink: 0;
}

/* ── Title ───────────────────────────────────────────── */

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 88px);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--clr-white);
    margin-bottom: var(--space-6);
    text-shadow: 0 2px 32px rgba(0, 0, 0, 0.5);
}

.hero__title em {
    font-style: italic;
    color: var(--clr-gold-light);
}

/* ── Description ─────────────────────────────────────── */

.hero__desc {
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.80);
    max-width: 480px;
    margin-bottom: var(--space-8);
}

/* ── CTAs ────────────────────────────────────────────── */

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

/* ── Trust badges ────────────────────────────────────── */

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(200, 169, 106, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 9px 14px;
    transition: background var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out);
}

.hero__badge:hover {
    background: rgba(200, 169, 106, 0.10);
    border-color: rgba(200, 169, 106, 0.55);
}

.hero__badge-icon {
    color: var(--clr-gold);
    flex-shrink: 0;
    display: flex;
}

.hero__badge-text {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
}

/* ── Scroll indicator ────────────────────────────────── */

.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    cursor: pointer;
}

.hero__scroll-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--clr-gold) 0%, transparent 100%);
    animation: scrollPulse 2.4s var(--ease-out) infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}
