/* =============================================
   REALTOR VA SEMINAR — Modern CSS
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --blue:      #0c3199;
    --blue-dark: #071e6b;
    --blue-mid:  #1240a0;
    --blue-light:#1a56db;
    --red:       #8b1212;
    --red-dark:  #5c0808;
    --gold:      #d4a017;
    --gold-light:#f0c040;
    --white:     #ffffff;
    --off-white: #f8f9fb;
    --gray-100:  #f1f5f9;
    --gray-200:  #e2e8f0;
    --gray-400:  #94a3b8;
    --gray-600:  #475569;
    --gray-800:  #1e293b;
    --dark:      #0a1120;

    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.12);
    --shadow:    0 4px 20px rgba(0,0,0,.15);
    --shadow-lg: 0 12px 48px rgba(0,0,0,.20);

    --font-body:    'Inter', sans-serif;
    --font-display: 'Oswald', sans-serif;
    --max-w: 1140px;

    --header-h: 64px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* prevent any element from causing horizontal scroll */
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-h);
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 480px) {
    .container { padding: 0 14px; }
}

/* ===== SITE HEADER / NAV ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: linear-gradient(90deg, #04082a 0%, #0b1a5e 50%, #04082a 100%);
    border-bottom: 2px solid rgba(212,160,23,.35);
    z-index: 1000;
    box-shadow: 0 4px 28px rgba(0,0,0,.55);
}
/* gold shimmer accent at very top */
.site-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #d4a017 30%, #f0c040 50%, #d4a017 70%, transparent 100%);
}
.site-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo-flag { font-size: 1.4rem; line-height: 1; }
.site-logo-text {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1;
}
.site-logo-dot  { color: #f5c518; text-shadow: 0 0 12px rgba(245,197,24,.5); }
.site-logo-tld  { color: rgba(255,255,255,.38); font-size: .72em; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}
.site-nav a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    padding: 7px 13px;
    border-radius: var(--radius-sm);
    transition: color .15s, background .15s;
    white-space: nowrap;
    position: relative;
}
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 13px; right: 13px;
    height: 2px;
    background: #f0c040;
    border-radius: 1px;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity .2s, transform .2s;
}
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.site-nav a:hover::after { opacity: 1; transform: scaleX(1); }

.btn-nav-rsvp {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    background: linear-gradient(135deg, #c0392b 0%, #8b1212 100%);
    color: var(--white);
    font-size: .875rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    text-decoration: none;
    letter-spacing: .06em;
    text-transform: uppercase;
    flex-shrink: 0;
    transition: transform .15s, box-shadow .15s;
    margin-left: auto;
    box-shadow: 0 0 0 0 rgba(192,57,43,.4), 0 3px 10px rgba(0,0,0,.4);
}
.btn-nav-rsvp:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(192,57,43,.55), 0 6px 18px rgba(0,0,0,.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--blue-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 8px 24px rgba(0,0,0,.3);
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 24px; border-radius: 0; }
    .nav-toggle { display: block; }
    .btn-nav-rsvp { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .btn { white-space: normal; text-align: center; word-break: break-word; }
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--red);
    color: var(--white);
    padding: 14px 28px;
    border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-lg   { padding: 18px 36px; font-size: 1.05rem; }
.btn-xl   { padding: 20px 48px; font-size: 1.15rem; border-radius: var(--radius); }
.btn-block { display: flex; width: 100%; text-align: center; }

.btn-white {
    background: var(--white);
    color: var(--blue);
    padding: 16px 36px;
    border-color: var(--white);
}
.btn-white:hover { background: var(--off-white); }

@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(192,57,43,.6); }
    70%  { box-shadow: 0 0 0 16px rgba(192,57,43,0); }
    100% { box-shadow: 0 0 0 0 rgba(192,57,43,0); }
}
.pulse { animation: pulse-ring 2.2s infinite; }

/* ===== ALERT BAR ===== */
.alert-bar {
    background: linear-gradient(90deg, #06102e 0%, #0d1f72 35%, #0d1f72 65%, #06102e 100%);
    border-bottom: 1px solid rgba(212,160,23,.22);
    color: rgba(255,255,255,.92);
    text-align: center;
    padding: 11px 20px;
    font-size: .9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    letter-spacing: .01em;
}
.alert-badge {
    background: linear-gradient(135deg, #f5c518 0%, #d4a017 100%);
    color: #0a0f2e;
    font-weight: 900;
    font-size: .75rem;
    padding: 4px 11px;
    border-radius: 999px;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(245,197,24,.4);
}
.alert-link {
    color: #f5c518;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: .03em;
    transition: color .15s, text-shadow .15s;
}
.alert-link:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(245,197,24,.6);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #050d1f 0%, #091230 55%, #0c1f4a 100%);
    color: var(--white);
    padding: 80px 0 100px;
    overflow: hidden;
    text-align: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(12,49,153,.35) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,.05)'/%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-bg-overlay { display: none; }

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    padding: 8px 20px;
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.flag-icon { font-size: 1.2em; }

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-headline .accent { color: var(--gold-light); }

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,.8);
    max-width: 620px;
    margin: 0 auto 40px;
}
.hero-sub strong { color: var(--gold-light); }

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 44px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    border: 3px solid rgba(255,255,255,.1);
    aspect-ratio: 16/9;
}
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ===== SECTION COMMON ===== */
.section { padding: 80px 0; }

.section-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 48px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-top: -32px;
    margin-bottom: 48px;
}
.subtitle-small {
    font-size: 60%;
    text-transform: none;
    font-family: var(--font-body);
    display: block;
    color: var(--gray-600);
    font-weight: 400;
    margin-top: 4px;
}
.cta-center { text-align: center; margin-top: 52px; }

/* ===== LEARN SECTION ===== */
.learn-section { background: var(--off-white); }

/* Program Tabs / Selector */
.programs-tabs-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.program-tab-btn {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    padding: 22px 20px;
    text-align: left;
    cursor: pointer;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}
.program-tab-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(212,160,23,.6);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.program-tab-btn.is-active {
    background: linear-gradient(145deg, #051742 0%, #0d2258 100%);
    border-color: var(--gold);
    box-shadow: 0 12px 32px rgba(5,23,66,.25), 0 0 20px rgba(212,160,23,.2);
    transform: translateY(-3px);
}
.program-tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    min-height: 28px;
}
.program-duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0c2567 0%, #051742 100%);
    color: #ffffff;
    border: 1.5px solid rgba(212,160,23,.5);
    box-shadow: 0 3px 10px rgba(5,23,66,.2);
    font-size: .84rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .05em;
    flex-shrink: 0;
}
.program-duration-badge i {
    color: var(--gold-bright);
    font-size: .86rem;
}
.program-tab-btn.is-active .program-duration-badge {
    background: linear-gradient(135deg, #d4a017 0%, #f5c518 100%);
    color: #051742;
    border: 1.5px solid #ffffff;
    box-shadow: 0 4px 16px rgba(212,160,23,.45);
    font-weight: 900;
}
.program-tab-btn.is-active .program-duration-badge i {
    color: #051742;
}
.program-featured-pill {
    background: linear-gradient(135deg, #c0392b, #8b1212);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .03em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(192,57,43,.3);
}
.program-tab-title {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.28;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.program-tab-btn.is-active .program-tab-title {
    color: #ffffff;
}
.program-tab-tagline {
    font-size: .88rem;
    color: var(--gray-600);
    line-height: 1.48;
    margin-top: 0;
    margin-bottom: 18px;
}
.program-tab-btn.is-active .program-tab-tagline {
    color: rgba(255,255,255,.8);
}
.program-tab-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--blue);
    margin-top: auto;
    padding-top: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.program-tab-btn.is-active .program-tab-indicator {
    color: var(--gold-light);
}

.program-content-pane {
    display: none;
    animation: fadeInTab .3s ease forwards;
}
.program-content-pane.is-active {
    display: block;
}
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .programs-tabs-wrap {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.learn-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform .2s ease, box-shadow .2s ease;
}
.learn-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.learn-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-200);
    line-height: 1;
    flex-shrink: 0;
    min-width: 42px;
}
.learn-card.is-case-card .learn-number {
    font-size: 1.4rem;
    color: var(--gold);
    min-width: 54px;
    letter-spacing: .02em;
}
.learn-text {
    font-size: .97rem;
    color: var(--gray-800);
    font-weight: 500;
    line-height: 1.5;
}

/* ===== HOST SECTION ===== */
.host-section { background: var(--dark); color: var(--white); }
.host-section .section-title,
.host-section .section-label { color: var(--gold-light); }

.host-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.host-badge {
    display: inline-block;
    background: rgba(212,160,23,.15);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 24px;
}
.host-photo-wrap {
    margin: 0 auto 20px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}
.host-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.host-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
}
.host-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--white);
    margin-bottom: 36px;
}
.host-story {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 32px;
    text-align: left;
}
.host-story h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
    letter-spacing: .04em;
}
.host-story p {
    color: rgba(255,255,255,.8);
    line-height: 1.75;
    font-size: .97rem;
}
.host-story p + p { margin-top: 14px; }

/* ===== STORY VIDEO SECTION ===== */
.host-section {
    background: #051742;
    border-bottom: none;
}
.story-section {
    background: #051742;
    color: var(--white);
    text-align: center;
    border-top: 3px solid #d4a017;
}
.story-heading {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    text-transform: uppercase;
    color: var(--gold-light);
    letter-spacing: .06em;
    margin-bottom: 28px;
}
.story-bio {
    max-width: 700px;
    margin: 28px auto 0;
    color: #ffffff;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    letter-spacing: .01em;
}

/* Host story video */
.host-video-wrap {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin: 0 auto 32px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
    box-shadow: 0 12px 48px rgba(0,0,0,.5);
}
.host-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Host + Intro Video: 2-column layout ── */
.host-intro-wrap {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: center;
}
.host-intro-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}
.host-mini-card {
    text-align: center;
    width: 100%;
}
.host-mini-card .host-badge { margin-bottom: 18px; }
.host-mini-card .host-name  { font-size: 1.35rem; margin-bottom: 0; }
.host-intro-right { width: 100%; }
.host-intro-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
    text-align: center;
    margin-bottom: 18px;
}
.host-intro-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 48px rgba(0,0,0,.55);
    background: #000;
}
.host-intro-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
@media (max-width: 860px) {
    .host-intro-wrap { grid-template-columns: 1fr; gap: 32px; }
    .host-intro-left  { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 20px; }
    .host-mini-card   { max-width: 220px; }
}

/* Two-host layout (fallback, no intro video) */
.host-cards-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.host-card--split {
    max-width: none;
    margin: 0;
    text-align: center;
}
.host-cards-section-label {
    text-align: center;
    margin-bottom: 36px;
}
@media (max-width: 768px) {
    .host-cards-wrap { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== BONUS ===== */
/* ===== RSVP POPUP MODAL ===== */
/* ===== ENHANCED INTERACTIVE MULTI-EVENT RSVP MODAL ===== */
.rsvp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.rsvp-modal.open { display: flex; }
.rsvp-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3,8,30,.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: modalFadeIn .22s ease;
}
.rsvp-modal-box {
    position: relative;
    z-index: 1;
    width: min(840px, 96vw);
    max-width: 840px;
    max-height: 90vh;
    overflow-y: auto;
    background: #06112a;
    border: 2px solid var(--gold);
    border-radius: 20px;
    box-shadow: 0 32px 90px rgba(0,0,0,.85), 0 0 30px rgba(212,160,23,.2);
    animation: modalSlideUp .25s cubic-bezier(.22,1,.36,1);
    display: flex;
    flex-direction: column;
    margin: auto;
    color: #fff;
}
.rsvp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 26px 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: #040c20;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 18px 18px 0 0;
}
.rsvp-modal-badge {
    font-size: .74rem;
    font-weight: 800;
    color: var(--gold-bright);
    letter-spacing: .08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.rsvp-modal-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.15;
}
.rsvp-modal-sub {
    font-size: .84rem;
    color: rgba(255,255,255,.65);
    margin-top: 2px;
}
.rsvp-modal-close {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s, transform .15s;
    flex-shrink: 0;
}
.rsvp-modal-close:hover { background: #c0392b; border-color: #c0392b; transform: rotate(90deg); }

.rsvp-modal-body {
    padding: 24px 26px 30px;
}
.modal-event-picker {
    margin-bottom: 24px;
}
.modal-picker-label {
    display: block;
    color: var(--gold-bright);
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.modal-event-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.modal-event-item {
    border: 2px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 14px 18px;
    background: rgba(255,255,255,.03);
    cursor: pointer;
    transition: all .2s ease;
}
.modal-event-item:hover {
    border-color: rgba(212,160,23,.6);
    background: rgba(255,255,255,.06);
}
.modal-event-item.is-selected {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(12,49,153,.45), rgba(5,23,66,.85));
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.modal-event-item.is-sold-out {
    opacity: .7;
}
.modal-event-item.is-sold-out.is-selected {
    border-color: #dc2626;
    background: linear-gradient(135deg, rgba(153,27,27,.4), rgba(30,10,10,.85));
}
.modal-event-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}
.modal-topic-tag {
    font-size: .78rem;
    background: rgba(212,160,23,.2);
    color: var(--gold-bright);
    border: 1px solid rgba(212,160,23,.4);
    padding: 3px 10px;
    border-radius: 99px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.modal-status-badge {
    font-size: .75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
}
.modal-status-badge.sold-out {
    background: #991b1b;
    color: #fff;
}
.modal-status-badge.select-pill {
    color: rgba(255,255,255,.5);
}
.modal-event-item.is-selected .modal-status-badge.select-pill {
    color: var(--gold-bright);
    background: rgba(212,160,23,.15);
}
.modal-event-date {
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.modal-event-venue {
    font-size: .86rem;
    color: rgba(255,255,255,.75);
}

.modal-sold-out-alert {
    background: linear-gradient(135deg,#1f0808,#2d0a0a);
    border: 2px solid #dc2626;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    margin: 18px 0;
}
.modal-sold-out-alert h4 {
    font-family: 'Oswald', sans-serif;
    color: #fca5a5;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
}
.modal-sold-out-alert p {
    color: rgba(255,255,255,.85);
    font-size: .92rem;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

.modal-form-wrap {
    min-height: 380px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.modal-form-wrap iframe {
    width: 100%;
    min-height: 720px;
    border: none;
    border-radius: 12px;
    display: block;
    background: transparent;
}
@keyframes modalFadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes modalSlideUp { from { opacity: 0; transform: translateY(28px) scale(.97) } to { opacity: 1; transform: none } }

/* ===== MOBILE STICKY CTA ===== */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 10px 16px 12px;
    background: #06122e;
    border-top: 2px solid var(--gold);
    z-index: 9000;
    box-shadow: 0 -4px 28px rgba(0,0,0,.55);
}
.mobile-sticky-cta .btn {
    width: 100%;
    font-size: 1rem;
    padding: 14px 12px;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    height: auto;
    word-break: break-word;
}
@media (max-width: 767px) {
    .mobile-sticky-cta { display: block; }
    .mobile-sticky-cta .btn { font-size: .9rem; padding: 12px 10px; }
    body { padding-bottom: 80px; }
}
@media (max-width: 380px) {
    .mobile-sticky-cta .btn { font-size: .82rem; }
}

/* ===== EVENT COUNTDOWN BADGE ===== */
.event-countdown {
    display: inline-block;
    background: var(--gold);
    color: #0a1120;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 99px;
    margin-top: 5px;
}

/* ===== BONUS MOCKUP IMAGE ===== */
.bonus-mockup {
    margin: 28px auto 0;
    max-width: 440px;
}
.bonus-mockup img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,.6), 0 0 0 1px rgba(212,160,23,.2);
    display: block;
}

/* ===== BONUS SECTION ===== */
.bonus-section {
    background: transparent;
    position: relative;
    overflow: hidden;
}
.bonus-card {
    max-width: 900px;
    margin: 0 auto;
    background: #0c1a3e;
    border: 2px solid rgba(212,160,23,.6);
    border-radius: 24px;
    padding: 56px 44px 44px;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(212,160,23,.15),
        0 24px 80px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.06);
}
.bonus-ribbon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold) 0%, #f5c842 100%);
    color: #0a1120;
    font-weight: 900;
    font-size: .82rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 9px 32px;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(212,160,23,.55), 0 2px 6px rgba(0,0,0,.3);
}
.bonus-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
}
.bonus-stars span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    opacity: .75;
}
.bonus-layout-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 36px;
    align-items: center;
    text-align: left;
    margin-top: 8px;
}
.bonus-content-col h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 18px;
    margin-top: 0;
    letter-spacing: .03em;
    line-height: 1.2;
    text-align: left;
}
.bonus-content-col h3 em {
    font-style: normal;
    color: var(--gold-light);
}
.bonus-title-report {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, rgba(212,160,23,.18) 0%, rgba(212,160,23,.08) 100%);
    border: 1px solid rgba(212,160,23,.4);
    border-left: 4px solid var(--gold);
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 8px;
    text-align: left;
    font-style: italic;
    line-height: 1.6;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.bonus-slanted-wrap {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.bonus-slanted-img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    transform: rotate(5deg) scale(0.98);
    box-shadow: -10px 18px 40px rgba(0, 0, 0, 0.65), 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 160, 23, 0.35);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
    display: block;
}
.bonus-slanted-img:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 0 2px rgba(212, 160, 23, 0.6);
}
@media (max-width: 768px) {
    .bonus-card { padding: 48px 24px 32px; }
    .bonus-layout-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .bonus-content-col h3 {
        text-align: center;
    }
    .bonus-title-report {
        text-align: center;
    }
    .bonus-slanted-img {
        max-width: 210px;
        transform: rotate(3deg);
    }
}

/* ===== ATTEND SECTION ===== */
.attend-section { background: var(--white); }

.attend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 16px;
}
.attend-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: border-color .2s;
}
.attend-item:hover { border-color: var(--blue); }
.attend-check { width: 28px; height: 28px; flex-shrink: 0; margin-top: 1px; }
.attend-check svg { width: 100%; height: 100%; }
.attend-item p { font-size: .96rem; font-weight: 500; color: var(--gray-800); line-height: 1.5; }

/* ===== EVENT SECTION (PROFESSIONAL HUMAN UI/UX REDESIGN) ===== */
.event-section { background: #f8fafc; padding: 70px 0; }

.event-card-pro {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    padding: 36px;
    margin-bottom: 32px;
    box-sizing: border-box;
    transition: all .35s ease;
}
.event-card-pro:target {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.45), 0 16px 36px rgba(5,23,66,0.18);
    transform: translateY(-2px);
}
.event-card-pro:last-child { margin-bottom: 0; }

.event-pro-grid {
    display: grid;
    grid-template-columns: 1.22fr 0.78fr;
    gap: 36px;
    align-items: stretch;
}
.event-pro-grid--no-map {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
}

.event-pro-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.event-pro-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.event-pro-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.event-badge-pill {
    background: #091f5a;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 6px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.event-lunch-pill {
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.event-soldout-pill {
    background: #fee2e2;
    color: #991b1b;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 6px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.event-curriculum-label {
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.event-pro-title {
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 6px;
    letter-spacing: -.01em;
}
.event-pro-sub {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 18px;
    line-height: 1.45;
}

.event-pro-hr {
    height: 1px;
    background: #e2e8f0;
    border: none;
    margin: 18px 0;
}

.event-pro-info-row {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.3fr;
    gap: 18px;
    align-items: start;
    margin: 14px 0;
}
.event-info-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.event-info-label-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #2563eb;
    margin-bottom: 3px;
}
.event-info-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.event-info-val {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
}
.event-info-sub {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.35;
    word-break: break-word;
}
.event-days-chip {
    background: #fef08a;
    color: #854d0e;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 99px;
    display: inline-block;
    width: fit-content;
    margin-top: 4px;
    letter-spacing: .03em;
}

.event-pro-policies {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 16px 0;
}
.event-pro-policy-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #334155;
}
.event-pro-policy-item svg {
    color: #64748b;
    flex-shrink: 0;
}
.event-pro-policy-item strong {
    color: #0f172a;
    font-weight: 600;
    margin-right: 3px;
}

.event-pro-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.btn-pro-rsvp {
    background: #091f5a;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(9,31,90,.18);
}
.btn-pro-rsvp:hover {
    background: #06153d;
    transform: translateY(-1px);
}
.btn-pro-rsvp:active {
    transform: translateY(0);
}
.btn-pro-secondary {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #334155 !important;
    font-weight: 600;
    font-size: 13px;
    padding: 11px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transition: all .15s ease;
    cursor: pointer;
}
.btn-pro-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a !important;
}

.event-pro-notice {
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 8px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0369a1;
    font-size: 13px;
    font-weight: 500;
    margin-top: 20px;
}
.event-pro-notice strong {
    color: #0c4a6e;
    font-weight: 700;
}

.event-pro-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    height: 100%;
    min-height: 380px;
    background: #f1f5f9;
}
.event-pro-map iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
    display: block;
}

@media (max-width: 960px) {
    .event-card-pro { padding: 28px 24px; }
    .event-pro-grid { grid-template-columns: 1fr; gap: 28px; }
    .event-pro-info-row { grid-template-columns: 1fr 1fr; gap: 16px; }
    .event-pro-map { min-height: 320px; }
    .event-pro-map iframe { min-height: 320px; }
}
@media (max-width: 600px) {
    .event-card-pro { padding: 20px 16px; }
    .event-pro-info-row { grid-template-columns: 1fr; gap: 14px; }
    .event-pro-policies { flex-direction: column; align-items: flex-start; gap: 10px; }
    .event-pro-actions { flex-direction: column; width: 100%; }
    .btn-pro-rsvp, .btn-pro-secondary { width: 100%; justify-content: center; }
}

/* ===== SOLD-OUT BADGE ===== */
.sold-out-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1a0505, #2d0a0a);
    border: 1px solid rgba(192,57,43,.5);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: var(--white);
}
.sold-out-icon { font-size: 1.3rem; flex-shrink: 0; }
.sold-out-badge strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #ff6b6b;
}
.sold-out-badge span {
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    margin-top: 2px;
    display: block;
}

/* ===== REALTOR-ONLY NOTICE ===== */
.realtor-only-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(212,160,23,.08);
    border: 1px solid rgba(212,160,23,.3);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: .9rem;
    color: rgba(255,255,255,.75);
    line-height: 1.6;
}
.realtor-only-notice { color: var(--gray-800); background: #fffbeb; border-color: var(--gold); }
.realtor-only-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.realtor-only-notice strong { color: var(--dark); font-size: .95rem; }
.realtor-only-notice em { font-style: normal; font-weight: 700; color: var(--blue); }

/* ===== TESTIMONIALS & VETERANS SECTIONS ===== */
.testimonials-section {
    background: #051742;
    color: var(--white);
}
.testimonials-section .section-label { color: var(--gold-light); }
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,.55); margin-top: -30px; }

.veterans-section {
    background: #051742;
    color: var(--white);
    border-top: 3px solid #d4a017;
    border-bottom: 3px solid #d4a017;
    text-align: center;
    padding: 70px 20px;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background .2s, transform .2s;
    width: 100%;
    box-sizing: border-box;
}
.testimonial-card:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); }
.testimonial-stars { font-size: 1.2rem; color: var(--gold-light); letter-spacing: .1em; }
.testimonial-quote {
    font-size: .96rem;
    color: rgba(255,255,255,.85);
    line-height: 1.7;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: none;
}
.testimonial-quote.expanded {
    display: block;
    overflow: visible;
}
.tsl-show-more {
    background: none;
    border: none;
    color: var(--gold-light, #f5c518);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 0 0;
    margin-top: 2px;
    opacity: .75;
    text-align: left;
    letter-spacing: .01em;
}
.tsl-show-more:hover { opacity: 1; text-decoration: underline; }
/* keep the card flex so show-more button stays at bottom of quote block */
.testimonial-card { display: flex; flex-direction: column;
    flex: 1;
    border: none;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.15);
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 800; color: #ffffff; font-size: .95rem; }
.testimonial-role { font-size: .82rem; color: #ffffff; font-weight: 700; }

/* ===== TESTIMONIALS SLIDER ===== */
.tsl-wrap { position: relative; margin-bottom: 52px; }

.tsl-viewport {
    overflow: hidden;
    margin: 0 -6px;
}
.tsl-track {
    display: flex;
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
}
.tsl-slide {
    flex: 0 0 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
}
@media (max-width: 900px) { .tsl-slide { flex: 0 0 50%; } }
@media (max-width: 580px) { .tsl-slide { flex: 0 0 100%; } }

/* controls row */
.tsl-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}
.tsl-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .15s;
    flex-shrink: 0;
}
.tsl-btn:hover { background: rgba(255,255,255,.22); transform: scale(1.08); }

/* dots */
.tsl-dots { display: flex; align-items: center; gap: 7px; }
.tsl-dot {
    width: 8px; height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.25);
    border: none; cursor: pointer;
    transition: background .25s, width .25s;
    padding: 0;
}
.tsl-dot.active {
    width: 22px;
    background: var(--gold-light);
}

.testimonials-section-label {
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 28px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.08);
}

/* ===== VIDEO TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
@media (max-width: 720px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial-video-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.04);
    transition: transform .2s, box-shadow .2s;
}
.testimonial-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.testimonial-video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    width: 100%;
}
.testimonial-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== VETERANS SECTION ===== */
.veterans-section { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }

.veterans-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}
.veterans-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 20px;
}
.veterans-card p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
    line-height: 1.75;
    margin-bottom: 36px;
}

/* ===== FINAL CTA ===== */
.final-cta {
    background: linear-gradient(135deg, #5c0a0a 0%, #8b1515 50%, #9b1c1c 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    border-top: 3px solid rgba(0,0,0,.25);
}
.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 14px;
}
.final-cta p { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 36px; }

/* Button inside final-cta — solid white, inverts to dark blue on hover */
.final-cta .btn-primary {
    background: var(--white);
    border: 2px solid var(--white);
    color: #8b1515;
    font-weight: 800;
}
.final-cta .btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    border-top: 3px solid var(--blue);
    padding: 60px 0 0;
    color: rgba(255,255,255,.6);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

.footer-col {}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 14px;
}
.footer-logo span { font-size: 1.5rem; }

.footer-tagline {
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    line-height: 1.65;
    margin-bottom: 18px;
    max-width: 260px;
}
.footer-contact-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
}
.footer-contact-line a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
}
.footer-contact-line a:hover { text-decoration: underline; }

.footer-col-title {
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
    display: inline-block;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-list li {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}
.footer-list-icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }

.footer-links-list a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .15s;
    font-size: .88rem;
}
.footer-links-list a:hover { color: var(--gold-light); }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.footer-legal { font-size: .83rem; color: rgba(255,255,255,.4); }
.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-bottom-links a {
    color: rgba(255,255,255,.4);
    text-decoration: none;
    font-size: .82rem;
    transition: color .15s;
}
.footer-bottom-links a:hover { color: var(--white); }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.25); }

/* ── Co-host video row (host section) ── */
.cohost-vid-row {
    margin-top: 40px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}
.cohost-vid-label {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.cohost-vid-wrap .testimonial-video-wrap {
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,.45);
}

/* ── Vimeo click-to-play facade ── */
.vimeo-facade {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #0d1b2e;
    border-radius: inherit;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vimeo-facade .vimeo-thumb { display: none !important; }
.vimeo-play-btn {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    transition: transform .2s ease;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,.6));
}
.vimeo-facade:hover .vimeo-play-btn { transform: scale(1.1); }
.testimonial-video-wrap iframe.vimeo-loaded {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Testimonials feature video(s) above slider ── */
.tst-feature-wrap {
    margin: 0 auto 52px;
}
/* single — centered, max 780px */
.tst-single {
    max-width: 780px;
}
/* two-up — side by side */
.tst-two-up {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1100px;
}
.tst-feature-video .testimonial-video-wrap {
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,.45);
}
@media (max-width: 680px) {
    .tst-two-up {
        grid-template-columns: 1fr;
    }
}

/* ===== CUSTOM SECTIONS ===== */
.custom-section { padding: 70px 0; }

/* Video section */
.cs-video .cs-heading,
.cs-textblock .cs-heading {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--gold-light);
    margin-bottom: 32px;
}
.video-embed-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,.5);
    max-width: 860px;
    margin: 0 auto;
}
.video-embed-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 16px;
}
.cs-caption {
    text-align: center;
    margin-top: 20px;
    font-size: .95rem;
    color: rgba(255,255,255,.55);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Card section */
.cs-card-section { background: rgba(255,255,255,.02); }
.custom-card {
    background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.custom-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.custom-card-ribbon {
    display: inline-block;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.custom-card-title {
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}
.custom-card-img {
    margin: 20px auto;
    max-width: 480px;
}
.custom-card-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.custom-card-body {
    font-size: .97rem;
    color: rgba(255,255,255,.7);
    line-height: 1.75;
    margin-bottom: 28px;
}
.custom-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: .2s;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.custom-card-cta:hover { opacity: .88; transform: translateY(-1px); }

/* Text block section */
.cs-textblock-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: .97rem;
    color: rgba(255,255,255,.72);
    line-height: 1.85;
    text-align: center;
}
.cs-textblock-body p { margin-bottom: 16px; }
.cs-textblock-body h3 { color: var(--gold-light); margin-bottom: 10px; }

/* ===== ANIMATE ON SCROLL ===== */
.fade-up {
    opacity: 1;
    transform: none;
}
html.js-ready .fade-up:not(.visible) {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}
html.js-ready .fade-up.visible {
    opacity: 1;
    transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .hero { padding: 60px 0 80px; }
    .section { padding: 60px 0; }
    .learn-grid,
    .attend-grid,
    .testimonials-grid { grid-template-columns: 1fr; }
    .bonus-card { padding: 36px 24px; }
    .host-story { padding: 24px; }
    .btn-xl { padding: 16px 32px; font-size: 1rem; }
}

/* ===== SEMINAR GALLERY / SLIDESHOW SECTION ===== */
.gallery-section {
    background: #051742;
    border-top: 3px solid #d4a017;
    border-bottom: 3px solid #d4a017;
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.gallery-slider-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 54px;
    box-sizing: border-box;
}
.gallery-viewport {
    overflow: hidden;
    border-radius: 16px;
    padding: 10px 0;
}
.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
    cursor: grab;
}
.gallery-track:active {
    cursor: grabbing;
}
.gallery-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
    box-sizing: border-box;
}
@media (max-width: 960px) {
    .gallery-slide { flex: 0 0 calc(50% - 10px); }
    .gallery-slider-wrap { padding: 0 42px; }
}
@media (max-width: 600px) {
    .gallery-slide { flex: 0 0 100%; }
    .gallery-slider-wrap { padding: 0 24px; }
}
.gallery-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0c1a3e;
    border: 2px solid rgba(212,160,23,.3);
    box-shadow: 0 8px 24px rgba(0,0,0,.45);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 16px 36px rgba(0,0,0,.7), 0 0 15px rgba(212,160,23,.3);
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-card:hover img {
    transform: scale(1.06);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(5,23,66,0.92) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    text-align: left;
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}
.gallery-zoom-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(212,160,23,.95);
    color: #051742;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}
.gallery-caption {
    font-size: .88rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0,0,0,.8);
}
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #051742;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
.gallery-arrow:hover {
    background: var(--gold);
    color: #051742;
    transform: translateY(-50%) scale(1.1);
}
.gallery-prev { left: 0; }
.gallery-next { right: 0; }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: rgba(255,255,255,.25);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}
.gallery-dot.active {
    width: 28px;
    background: var(--gold);
}

/* Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(3, 10, 28, 0.95);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-lightbox.is-open {
    display: flex;
    opacity: 1;
}
.lightbox-content {
    position: relative;
    max-width: 1100px;
    width: 100%;
    text-align: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    border: 2px solid var(--gold);
    box-shadow: 0 20px 60px rgba(0,0,0,.9);
    object-fit: contain;
}
.lightbox-caption {
    margin-top: 14px;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
}
.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    font-size: 2.2rem;
    color: #ffffff;
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}
.lightbox-close:hover {
    color: var(--gold);
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(5,23,66,0.85);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.lightbox-arrow:hover {
    background: var(--gold);
    color: #051742;
}
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }
@media (max-width: 768px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}
