/* ====================================================
   HOME PAGE — new layout styles
   ==================================================== */

/* ===== HERO SPLIT ===== */
.hs {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hs__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hs__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hs__bg-img {
    width: 100%;
    height: 115%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.06);
    will-change: transform;
}
.hs__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(3,8,30,0.97) 0%,
        rgba(6,18,64,0.90) 48%,
        rgba(3,8,30,0.72) 100%
    );
}

.hs__inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-template-rows: auto auto;
    gap: 32px 48px;
    align-items: start;
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 60px 60px;
    width: 100%;
}


/* ===== LEFT ===== */
.hs__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 28px;
    opacity: 0.9;
    text-transform: uppercase;
}

.hs__headline {
    font-size: clamp(36px, 3.8vw, 62px);
    font-weight: 900;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 28px;
    font-family: var(--font-slab);
    letter-spacing: -1px;
}
.hs__headline-gold {
    color: var(--gold);
    position: relative;
    display: inline-block;
}
.hs__headline-gold::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    animation: underline-in 0.8s 1s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes underline-in {
    to { transform: scaleX(1); }
}

.hs__sub {
    font-size: 15px;
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    max-width: 400px;
    margin-bottom: 36px;
}

/* CTA buttons — now a standalone grid item (after video on mobile) */
.hs__cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    margin-bottom: 0;
    align-self: start;
}

.hbtn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-main);
    letter-spacing: 0.3px;
    transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), box-shadow 0.28s ease, background 0.25s ease, color 0.25s ease;
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}
.hbtn--solid {
    background: var(--gold);
    color: #06100e;
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(201,162,39,0.45);
}
.hbtn--solid:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-5px);
    box-shadow: 0 22px 60px rgba(201,162,39,0.65);
}
.hbtn--outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.hbtn--outline:hover {
    background: var(--gold);
    color: #06100e;
    transform: translateY(-5px);
    box-shadow: 0 22px 60px rgba(201,162,39,0.55);
}
.hbtn--outline-light {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.hbtn--outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

/* Trust badges */
.hs__trust {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.hs__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px 6px 10px;
    background: rgba(201,162,39,0.08);
    border: 1px solid rgba(201,162,39,0.28);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.hs__trust-item::before {
    content: '\2713';
    color: var(--gold);
    font-weight: 800;
    font-size: 11px;
    flex-shrink: 0;
}

/* Social proof */
.hs__social-proof {
    font-size: 12px;
    color: rgba(255,255,255,0.38);
    letter-spacing: 0.5px;
    margin-bottom: 0;
    font-style: italic;
}

/* Stats row */
.hs__stat-row {
    display: flex;
    align-items: center;
    gap: 36px;
}
.hs__stat { text-align: center; }
.hs__stat-num {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--gold);
    font-family: var(--font-slab);
    line-height: 1;
}
.hs__stat-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin-top: 6px;
}
.hs__stat-divider {
    width: 1px;
    height: 52px;
    background: rgba(201,162,39,0.3);
}

/* ===== RIGHT — VIDEO ===== */
/* Spans both grid rows on desktop so video stays centered beside text + buttons */
.hs__right {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hs__video-frame {
    width: 100%;
    background: rgba(4,12,48,0.7);
    border: 1.5px solid rgba(201,162,39,0.5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(201,162,39,0.15),
        0 60px 140px rgba(0,0,0,0.85),
        0 0 120px rgba(201,162,39,0.12);
    backdrop-filter: blur(8px);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.hs__video-frame:hover {
    box-shadow:
        0 0 0 1.5px rgba(201,162,39,0.45),
        0 70px 160px rgba(0,0,0,0.9),
        0 0 140px rgba(201,162,39,0.2);
    transform: translateY(-4px) scale(1.005);
}
.hs__video-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    padding: 14px 20px 12px;
    text-transform: uppercase;
    opacity: 0.9;
    border-bottom: 1px solid rgba(201,162,39,0.2);
    background: rgba(201,162,39,0.04);
}
.hs__video-aspect {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}
.hs__video-aspect iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.hs__video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6,18,64,0.6);
    border-radius: 4px;
    text-align: center;
}
.hs__video-placeholder p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.hs__video-placeholder a {
    color: #c9a227;
    text-decoration: underline;
}
.hs__video-caption {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    border-top: 1px solid rgba(201,162,39,0.15);
    letter-spacing: 0.2px;
}

/* Scroll hint */
.hs__scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: hint-fade-in 1s 2s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes hint-fade-in {
    to { opacity: 0.65; }
}
.hs__scroll-hint span {
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
}
.hs__scroll-line {
    width: 1px;
    height: 68px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== STAGGERED HERO ENTRANCE ===== */
@keyframes hero-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}
@keyframes hero-in-right {
    from { opacity: 0; transform: translateX(44px); }
    to   { opacity: 1; transform: none; }
}

.hs .hs__eyebrow      { animation: hero-up 0.75s 0.05s cubic-bezier(0.22,1,0.36,1) both; }
.hs .hs__headline     { animation: hero-up 0.85s 0.22s cubic-bezier(0.22,1,0.36,1) both; }
.hs .hs__sub          { animation: hero-up 0.85s 0.40s cubic-bezier(0.22,1,0.36,1) both; }
.hs .hs__cta-row      { animation: hero-up 0.75s 0.56s cubic-bezier(0.22,1,0.36,1) both; }
.hs .hs__trust        { animation: hero-up 0.75s 0.68s cubic-bezier(0.22,1,0.36,1) both; }
.hs .hs__social-proof { animation: hero-up 0.75s 0.80s cubic-bezier(0.22,1,0.36,1) both; }
.hs .hs__right        { animation: hero-in-right 0.95s 0.28s cubic-bezier(0.22,1,0.36,1) both; }

/* ===== GOLD BAND ===== */
.band-section {
    background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    padding: 36px 60px;
    text-align: center;
}
.band-inner { max-width: 900px; margin: 0 auto; }
.band-text {
    font-size: clamp(17px, 2.2vw, 22px);
    font-weight: 600;
    color: #06100e;
    line-height: 1.5;
    font-style: italic;
    letter-spacing: 0.2px;
}

/* ===== WHO WE SERVE SPLIT ===== */
.serve-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}
.serve-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    overflow: hidden;
}
.serve-panel__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 6s ease;
}
.serve-panel:hover .serve-panel__bg { transform: scale(1.13); }
.serve-panel__overlay {
    position: absolute;
    inset: 0;
    background: rgba(3,8,30,0.74);
}
.serve-panel__content {
    position: relative;
    z-index: 1;
    max-width: 420px;
}
.serve-panel__content--dark {
    position: relative;
    z-index: 1;
    max-width: 420px;
}
.serve-panel--agent {
    background: var(--navy);
}
.serve-panel__tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.serve-panel__tag--gold { color: var(--gold); opacity: 0.8; }
.serve-panel__title {
    font-size: clamp(32px, 3.5vw, 50px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 18px;
    font-family: var(--font-slab);
}
.serve-panel__title--dark { color: #fff; }
.serve-panel__body {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}
.serve-panel__body--dark { color: rgba(255,255,255,0.6); }
.serve-btn {
    display: inline-block;
    padding: 14px 34px;
    background: var(--gold);
    color: #06100e;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-main);
    letter-spacing: 0.3px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 4px 18px rgba(201,162,39,0.3);
}
.serve-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201,162,39,0.5);
}
.serve-btn--dark {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: none;
}
.serve-btn--dark:hover {
    background: var(--gold);
    color: #06100e;
    box-shadow: 0 8px 28px rgba(201,162,39,0.4);
}

/* ===== MARQUEE ===== */
.marquee-section {
    background: var(--navy-dark);
    border-top: 1px solid rgba(201,162,39,0.12);
    border-bottom: 1px solid rgba(201,162,39,0.12);
    overflow: hidden;
    padding: 0;
}
.marquee-track {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}
.marquee-inner {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: marquee-scroll 28s linear infinite;
    width: max-content;
}
.marquee-inner span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(201,162,39,0.65);
    text-transform: uppercase;
    padding: 0 32px;
}
.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(201,162,39,0.4);
    display: inline-block;
    flex-shrink: 0;
    padding: 0 !important;
    margin: 0 4px;
    vertical-align: middle;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== CTA STRIP ===== */
.cta-strip {
    background: linear-gradient(105deg, #061240 0%, #030b2a 100%);
    border-top: 1px solid rgba(201,162,39,0.18);
    padding: 80px 60px;
}
.cta-strip__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}
.cta-strip__heading {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--font-slab);
}
.cta-strip__sub {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
}
.cta-strip__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal-up    { transform: translateY(44px); }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hs__inner {
        gap: 40px;
        padding: 150px 48px 60px;
    }
}

@media (max-width: 1024px) {
    .hs__inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 32px;
        padding: 160px 40px 60px;
    }
    /* Reset desktop row-span — video flows naturally between text and buttons */
    .hs__right {
        grid-column: 1;
        grid-row: auto;
        justify-content: stretch;
    }
    .hs__cta-row {
        flex-direction: column;
        width: 100%;
    }
    .hbtn { width: 100%; padding: 18px 32px; font-size: 17px; }
    .hs__video-frame { max-width: 100%; }
    .serve-section { grid-template-columns: 1fr; }
    .serve-panel { min-height: 400px; }
    .cta-strip { padding: 60px 40px; }
    .cta-strip__inner { flex-direction: column; text-align: center; }
    .cta-strip__buttons { justify-content: center; }
}

@media (max-width: 640px) {
    .hs__inner { padding: 120px 24px 64px; }
    .hs__trust { gap: 8px; }
    .serve-panel { padding: 60px 28px; }
    .band-section { padding: 28px 24px; }
    .cta-strip { padding: 48px 24px; }
    .hs__stat-row { gap: 20px; }
    .hs__stat-num { font-size: 36px; }
}
