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

:root {
    --navy: #061240;
    --navy-dark: #030b2a;
    --navy-mid: #0a1650;
    --gold: #c9a227;
    --gold-light: #e8c040;
    --gold-dark: #a07d10;
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --font-slab: 'Montserrat', sans-serif;
}

html, body {
    height: 100%;
}

body {
    background-color: var(--navy-dark);
    color: var(--white);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 10px 30px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    background: rgba(3, 8, 30, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(201,162,39,0.15), 0 4px 24px rgba(0,0,0,0.35);
}
.page-team-of-specialists .site-header,
.page-free-report .site-header,
.page-insights .site-header,
.page-payment-calculator .site-header {
    background: rgba(3, 8, 30, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(201,162,39,0.15), 0 4px 24px rgba(0,0,0,0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
}

.logo-link { display: block; flex-shrink: 0; }

.logo {
    width: 162px;
    height: 162px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(201,162,39,0.35));
    transition: filter 0.3s, transform 0.3s;
}
.logo:hover {
    filter: drop-shadow(0 0 22px rgba(201,162,39,0.75));
    transform: scale(1.05);
}

.main-nav { display: flex; align-items: center; }

.nav-list {
    list-style: none;
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-item a {
    color: var(--gold);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.nav-item a:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-1px);
}
.nav-item.active a {
    background-color: var(--gold);
    color: #000;
    border-radius: 3px;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
}
.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
    transform-origin: center;
}
.nav-toggle.is-open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .bar:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== PAGE WRAPPER ===== */
.page-content { flex: 1; }

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-image: url('/assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(3,8,30,0.88) 0%,
        rgba(6,18,64,0.80) 50%,
        rgba(3,8,30,0.92) 100%
    );
    z-index: 0;
}

/* Radial gold glow center */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(201,162,39,0.10) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 20px 80px;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== ANIMATE FADEUP ===== */
.animate-fadeup {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-fadeup.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.38s; }
.delay-4 { transition-delay: 0.54s; }

/* ===== VIDEO ===== */
.hero-video-wrapper {
    width: 100%;
    max-width: 840px;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 0 1px rgba(201,162,39,0.25), 0 20px 60px rgba(0,0,0,0.7);
}
.hero-video-iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

/* ===== HERO TEXT ===== */
.hero-video-title {
    color: var(--white);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 28px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
    letter-spacing: -0.5px;
}

.hero-cta-label {
    color: var(--gold);
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 28px;
    font-family: var(--font-slab);
    text-shadow: 0 0 30px rgba(201,162,39,0.4);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { text-shadow: 0 0 20px rgba(201,162,39,0.3); }
    50%       { text-shadow: 0 0 40px rgba(201,162,39,0.65), 0 0 80px rgba(201,162,39,0.2); }
}

/* ===== CTA BUTTONS ===== */
.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 38px;
    background: linear-gradient(135deg, var(--gold) 0%, #a87d10 100%);
    color: #0a0e20;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.3px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 20px rgba(201,162,39,0.35);
    font-family: var(--font-main);
    min-width: 240px;
    justify-content: center;
}

.btn-hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-hero-cta:hover::before { opacity: 1; }

.btn-hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 36px rgba(201,162,39,0.55);
}

.btn-hero-cta:active {
    transform: translateY(0) scale(0.98);
}

/* Shimmer sweep on hover */
.btn-hero-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0s;
}
.btn-hero-cta:hover::after {
    left: 150%;
    transition: left 0.55s ease;
}

.btn-hero-cta--alt {
    background: linear-gradient(135deg, rgba(201,162,39,0.15) 0%, rgba(6,18,64,0.6) 100%);
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(201,162,39,0.15);
}
.btn-hero-cta--alt:hover {
    background: linear-gradient(135deg, var(--gold) 0%, #a87d10 100%);
    color: #0a0e20;
    box-shadow: 0 10px 36px rgba(201,162,39,0.55);
}

.btn-icon { font-size: 20px; }
.btn-arrow {
    font-size: 18px;
    transition: transform 0.25s;
}
.btn-hero-cta:hover .btn-arrow { transform: translateX(4px); }

/* Pulse animation on buttons after load */
@keyframes btn-pulse {
    0%   { box-shadow: 0 4px 20px rgba(201,162,39,0.35); }
    50%  { box-shadow: 0 4px 32px rgba(201,162,39,0.65), 0 0 0 8px rgba(201,162,39,0.08); }
    100% { box-shadow: 0 4px 20px rgba(201,162,39,0.35); }
}
.hero-buttons.visible .btn-hero-cta {
    animation: btn-pulse 2.8s ease-in-out infinite;
    animation-delay: 1.2s;
}
.hero-buttons.visible .btn-hero-cta--alt {
    animation-delay: 1.6s;
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(3,8,30,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.is-open {
    display: flex;
}

.modal-box {
    background: linear-gradient(160deg, #0d1a52 0%, #060e35 100%);
    border: 1px solid rgba(201,162,39,0.3);
    border-radius: 12px;
    padding: 44px 48px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,162,39,0.1);
    transform: translateY(28px) scale(0.97);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.34,1.1,0.64,1), opacity 0.28s ease;
}
.modal-box--in {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
    padding: 4px;
}
.modal-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.modal-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.modal-logo img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201,162,39,0.4));
}

.modal-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--gold);
    text-align: center;
    margin-bottom: 28px;
    font-family: var(--font-slab);
    letter-spacing: 0.2px;
}

/* ===== FORM INSIDE MODAL ===== */
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}
.req { color: #e05050; margin-left: 2px; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    color: var(--white);
    font-size: 15px;
    font-family: var(--font-main);
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    appearance: none;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(201,162,39,0.07);
    box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23c9a227' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}
.form-group select option {
    background: #0a1650;
    color: var(--white);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold) 0%, #a87d10 100%);
    color: #0a0e20;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-main);
    margin-top: 6px;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(201,162,39,0.35);
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201,162,39,0.55);
}
.btn-submit:active { transform: translateY(0); }

.form-error {
    background: rgba(220,50,50,0.15);
    border: 1px solid rgba(220,50,50,0.4);
    color: #ff8080;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 18px;
}

.form-success {
    text-align: center;
    padding: 20px 0;
}
.success-icon { font-size: 54px; margin-bottom: 16px; }
.form-success h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}
.form-success p { color: rgba(255,255,255,0.75); font-size: 16px; }

/* ===== GENERAL BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    border: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-gold { background-color: var(--gold); color: #000; }

/* ===== INNER PAGES ===== */
.inner-page {
    padding-top: 150px;
    padding-bottom: 60px;
    flex: 1;
}
.inner-container { max-width: 1100px; margin: 0 auto; padding: 0 30px; }

/* ===== TEAM ===== */
/* Detailed team card/grid/modal styles live in team-of-specialists.php inline CSS */
.team-page { padding-top: 150px; flex: 1; }
.section-title { font-size: 36px; font-weight: 700; color: var(--gold); margin-bottom: 12px; font-family: var(--font-slab); }
.section-subtitle { font-size: 18px; color: rgba(255,255,255,0.75); }

/* ===== FREE REPORT ===== */
.report-section {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-height: calc(100vh - 140px);
    padding: 40px 20px; text-align: center;
}
.report-cover-container {
    max-width: 420px; width: 100%; margin-bottom: 40px;
    background: linear-gradient(160deg, #b8cde8 0%, #d4a0a0 40%, #c8a87a 100%);
    border-radius: 6px; padding: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6); overflow: hidden; position: relative;
}
.report-cover-top { background: linear-gradient(135deg,#b0c4e0 0%,#9aa8cc 100%); padding: 28px 24px 16px; text-align: center; }
.report-cover-title { font-size: 38px; font-weight: 900; color: var(--navy-dark); line-height: 1.1; margin-bottom: 4px; font-family: var(--font-slab); }
.report-cover-subtitle-bar { background: #8b1a1a; margin: 0 -24px; padding: 8px 24px; text-align: center; }
.report-cover-subtitle { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: 1px; text-transform: uppercase; }
.report-cover-product { font-size: 22px; font-weight: 900; color: var(--navy-dark); padding: 12px 24px 0; text-align: center; font-family: var(--font-slab); }
.report-cover-download { padding: 16px 24px; text-align: center; }
.report-cover-download-btn { display: inline-block; border: 2px solid #b0e000; color: #b0e000; padding: 10px 40px; font-size: 18px; font-weight: 700; letter-spacing: 2px; border-radius: 4px; }
.report-cover-image-area { background: linear-gradient(to bottom,#c8956a,#8a6040); height: 180px; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.report-cover-badge { position: absolute; bottom: 20px; right: 20px; width: 70px; height: 70px; }
.report-form { margin-top: 32px; width: 100%; max-width: 480px; }
.report-form input[type="text"],
.report-form input[type="email"] {
    width: 100%; padding: 14px 18px; font-size: 16px;
    border: 1px solid rgba(201,162,39,0.4); border-radius: 4px;
    background: rgba(255,255,255,0.07); color: var(--white);
    margin-bottom: 14px; outline: none; transition: border-color 0.2s;
}
.report-form input:focus { border-color: var(--gold); }
.report-form input::placeholder { color: rgba(255,255,255,0.4); }

/* ===== INSIGHTS ===== */
.under-construction {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; min-height: calc(100vh - 140px);
    text-align: center; padding: 40px 20px;
}
.construction-box { background: #fff; border-radius: 8px; overflow: hidden; max-width: 450px; width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.construction-tape {
    background: repeating-linear-gradient(-45deg,#f5c518,#f5c518 20px,#000 20px,#000 40px);
    padding: 20px; text-align: center;
}
.construction-tape-text { font-size: 22px; font-weight: 900; color: #000; letter-spacing: 3px; text-transform: uppercase; background: rgba(245,197,24,0.9); padding: 6px 20px; display: inline-block; }
.construction-body { background: #fff; padding: 40px 30px; color: #333; }
.construction-icon { font-size: 60px; margin-bottom: 16px; }
.construction-body h2 { font-size: 24px; font-weight: 700; color: var(--navy-dark); margin-bottom: 10px; }
.construction-body p { font-size: 15px; color: #555; }

/* ===== PAYMENT CALCULATOR ===== */
.calculator-section { padding: 60px 20px; }
.calculator-wrapper { display: grid; grid-template-columns: 1fr auto; gap: 40px; max-width: 960px; margin: 0 auto; align-items: start; }
.calculator-card { background: #fff; color: #333; border-radius: 8px; padding: 36px 40px; box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.calc-field label { display: block; font-size: 13px; font-weight: 500; color: #555; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.calc-field .input-prefix { display: flex; align-items: center; border-bottom: 1px solid #ccc; padding-bottom: 4px; }
.calc-field .prefix-symbol { color: #888; margin-right: 6px; font-size: 16px; }
.calc-field input[type="number"],
.calc-field select { width: 100%; border: none; outline: none; font-size: 16px; color: #222; background: transparent; font-family: var(--font-main); }
.calc-field select { border-bottom: 1px solid #ccc; padding-bottom: 4px; cursor: pointer; }
.slider-field { margin-bottom: 24px; }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.slider-label { font-size: 13px; font-weight: 500; color: #555; text-transform: uppercase; letter-spacing: 0.5px; }
.slider-value { font-size: 15px; font-weight: 700; color: #222; }
input[type="range"] { width: 100%; height: 4px; appearance: none; background: #3b6cbf; border-radius: 2px; outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #3b6cbf; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.email-row { margin-top: 28px; padding-top: 24px; border-top: 1px solid #eee; }
.email-row label { display: block; font-size: 13px; color: #555; margin-bottom: 10px; font-weight: 500; }
.email-row-inner { display: flex; gap: 12px; }
.email-row input[type="email"] { flex: 1; padding: 12px 16px; border: 1px solid #ddd; border-radius: 4px; font-size: 15px; color: #333; outline: none; transition: border-color 0.2s; font-family: var(--font-main); }
.email-row input[type="email"]:focus { border-color: #3b6cbf; }
.email-row input::placeholder { color: #aaa; }
.btn-calc { background: var(--navy-dark); color: var(--white); padding: 12px 24px; font-size: 15px; font-weight: 600; border: none; border-radius: 4px; cursor: pointer; white-space: nowrap; transition: background 0.2s; font-family: var(--font-main); }
.btn-calc:hover { background: #0d1e5a; }
.results-panel { min-width: 240px; }
.results-monthly { margin-bottom: 32px; }
.results-monthly .amount { font-size: 52px; font-weight: 700; color: var(--gold); line-height: 1; display: block; }
.results-monthly .label { font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,0.6); text-transform: uppercase; margin-top: 6px; display: block; }
.results-breakdown { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.breakdown-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 15px; }
.breakdown-item .bi-label { color: rgba(255,255,255,0.6); }
.breakdown-item .bi-value { font-weight: 600; color: var(--white); }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-dark); border-top: 1px solid rgba(201,162,39,0.15); padding: 24px 30px; text-align: center; }
.footer-inner p { color: var(--gold); font-size: 14px; font-weight: 500; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .calculator-wrapper { grid-template-columns: 1fr; }
    .results-panel { min-width: unset; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
}

@media (max-width: 700px) {
    .hero-video-title { font-size: 28px; }
    .hero-cta-label { font-size: 26px; }
    .section-title { font-size: 26px; }
    .calc-row { grid-template-columns: 1fr; }
    .results-panel { grid-template-columns: 1fr; }
    .results-monthly .amount { font-size: 42px; }
    .calculator-card { padding: 24px 20px; }
    .modal-box { padding: 32px 24px; }
}

/* Laptop / small desktop: 901px – 1200px */
@media (min-width: 901px) and (max-width: 1200px) {
    .logo { width: 110px; height: 110px; }
    .nav-list { gap: 4px; }
    .nav-item a { font-size: 13px; padding: 7px 10px; }
    .site-header { padding: 6px 20px; }
}

@media (max-width: 900px) {
    .logo { width: 100px; height: 100px; }
    .nav-toggle { display: flex; }

    /* Slide-in drawer */
    .nav-list {
        position: fixed;
        top: 0; right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: rgba(3, 8, 30, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 100px 0 40px;
        border-left: 1px solid rgba(201,162,39,0.2);
        transition: right 0.35s cubic-bezier(0.22,1,0.36,1);
        z-index: 1050;
        overflow-y: auto;
    }
    .nav-list.open { right: 0; }

    /* Drawer backdrop */
    .nav-drawer-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        backdrop-filter: blur(2px);
    }
    .nav-drawer-backdrop.open { display: block; }

    .nav-item a {
        display: block;
        padding: 16px 32px;
        font-size: 18px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        transform: none !important;
    }
    .nav-item.active a {
        background: rgba(201,162,39,0.15);
        border-left: 3px solid var(--gold);
        padding-left: 29px;
    }
    .main-nav { position: static; }
}

@media (max-width: 640px) {
    .site-header { padding: 8px 16px; }
    .logo { width: 96px; height: 96px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-hero-cta { min-width: 280px; }
}

/* =============================================
   GLOBAL ANIMATION SYSTEM
   ============================================= */

/* Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes goldPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0); }
    50%       { box-shadow: 0 0 18px 4px rgba(201,162,39,0.35); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Scroll-reveal — only hidden when JS adds .reveal-js-ready to <html> */
html.reveal-js-ready .reveal-el {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
                transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
html.reveal-js-ready .reveal-el.from-left  { transform: translateX(-40px); }
html.reveal-js-ready .reveal-el.from-right { transform: translateX(40px); }
html.reveal-js-ready .reveal-el.scale-in   { transform: scale(0.9); }
html.reveal-js-ready .reveal-el.revealed {
    opacity: 1 !important;
    transform: none !important;
}

/* Stagger delays for grid children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-stagger > *:nth-child(n+7) { transition-delay: 0.50s; }

/* Page-load hero entrance */
.hero-entrance {
    animation: fadeInUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-entrance-delay-1 { animation-delay: 0.15s; }
.hero-entrance-delay-2 { animation-delay: 0.30s; }
.hero-entrance-delay-3 { animation-delay: 0.45s; }

/* Button gold pulse on hover */
.btn-gold:hover {
    animation: goldPulse 1.2s ease infinite;
}

/* Gold heading shimmer */
.gold-shimmer {
    background: linear-gradient(90deg, var(--gold) 25%, var(--gold-light) 50%, var(--gold) 75%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Smooth underline for nav links */
.nav-item a {
    position: relative;
}
.nav-item:not(.active) a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.nav-item:not(.active) a:hover::after {
    width: 100%;
}

/* Card lift on hover (team cards, calc panels) */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.45);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal, .hero-entrance, .hero-entrance-delay-1,
    .hero-entrance-delay-2, .hero-entrance-delay-3 {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
