/* -------- Base / Layout -------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-sans);
    line-height: 1.65;
    background: var(--grad-bg), var(--bg);
    color: var(--text);
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.section {
    padding: var(--space-20) 0;
    position: relative;
}

.section.alt {
    background: var(--bg-elev);
}

.section-head {
    margin-bottom: var(--space-8);
}

/* Typography */
.display {
    font-family: var(--ff-serif);
    font-size: var(--fs-3xl);
    line-height: 1.08;
    letter-spacing: .2px;
}

.h1 {
    font-family: var(--ff-serif);
    font-size: var(--fs-2xl);
    line-height: 1.2;
}

.h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
}

.lead {
    font-size: var(--fs-lg);
    color: var(--muted);
    max-width: 68ch;
}

.muted {
    color: var(--muted);
}

/* Utility: gold text */
.text-gold {
    color: var(--primary) !important;
}

/* Links */
a {
    transition: color var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

/* -------- Header & Navigation -------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 13, .55);
    border-bottom: 1px solid var(--border);
    transition: transform .28s var(--ease), opacity .28s var(--ease);
    will-change: transform, opacity;
}

.site-header.hide-on-scroll {
    transform: translateY(-100%);
    opacity: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    min-height: 90px;
    padding: 8px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: .4px;
}

.brand-text {
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    line-height: 1.2;
    letter-spacing: .5px;
}

.brand-logo {
    width: 180px;
    height: 180px;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: var(--shadow-elev);
}

.brand-icon {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: var(--grad-gold);
    box-shadow: var(--shadow-elev);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
}

.nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
    transition: transform var(--speed) var(--ease);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    position: relative;
    padding: 4px 0;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.2;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--grad-gold);
    transition: width var(--speed) var(--ease);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta .btn {
    padding: 12px 18px;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
}

/* Responsive caps for very large logo */
@media (max-width: 992px) {
    .brand-logo {
        width: 140px;
        height: 140px;
        border-radius: 12px;
    }

    .brand-text {
        font-size: 1.25rem;
    }

    .nav-menu {
        gap: 28px;
    }

    .nav-menu a {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        width: 110px;
        height: 110px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 80px;
        height: 80px;
        border-radius: 10px;
    }
}

/* -------- Hero -------- */
.hero {
    padding-top: calc(var(--space-20) + 40px);
    overflow: hidden;
}

.hero .hero-actions {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.bg-orb {
    position: absolute;
    right: -160px;
    top: -120px;
    width: 520px;
    height: 520px;
    filter: blur(70px);
    background: radial-gradient(circle at 30% 30%, rgba(214, 178, 91, .35), transparent 60%), radial-gradient(circle at 70% 70%, rgba(255, 255, 255, .06), transparent 60%);
    opacity: .5;
    pointer-events: none;
}

/* Make hero title gold */
.hero .display {
    color: var(--primary);
}

.hero-visual .hero-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-elev);
    object-fit: cover;
}

/* -------- Grids / Utilities -------- */
.grid {
    display: grid;
    gap: var(--space-6);
}

.cards .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-cols {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: var(--space-12);
    align-items: start;
}

/* -------- Cards -------- */
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-6);
    box-shadow: var(--shadow-elev);
    transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 178, 91, .35);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .45);
}

.card .link {
    color: var(--primary);
    font-weight: 700;
    font-size: var(--fs-sm);
}

/* Checklist */
.list.check li {
    position: relative;
    padding-left: 30px;
    margin: 12px 0;
}

.list.check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f2df8b, var(--primary));
    box-shadow: 0 0 0 2px rgba(214, 178, 91, .22);
}

/* -------- Slider -------- */
.slider {
    position: relative;
    overflow: hidden;
}

.slides {
    display: flex;
    gap: var(--space-6);
    transition: transform .55s var(--ease);
}

.slide {
    min-width: 100%;
}

.slider .card {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.slider-controls {
    position: absolute;
    right: 10px;
    top: -56px;
    display: flex;
    gap: 8px;
}

.slider-controls button {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.slider-controls button:hover {
    border-color: rgba(214, 178, 91, .4);
}

/* -------- FAQ / Accordion -------- */
.accordion details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 12px;
    transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.accordion details[open] {
    border-color: rgba(214, 178, 91, .28);
    background: #161621;
}

.accordion summary {
    cursor: pointer;
    font-weight: 700;
    font-size: var(--fs-md);
}

.accordion summary::-webkit-details-marker {
    display: none;
}

/* -------- Forms / CTA -------- */
.form {
    display: grid;
    gap: var(--space-4);
    max-width: 720px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

input,
textarea {
    width: 100%;
    background: #0f0f16;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

input:focus,
textarea:focus {
    border-color: rgba(214, 178, 91, .5);
    box-shadow: 0 0 0 3px rgba(214, 178, 91, .15);
}

textarea {
    resize: vertical;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--speed-fast) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.btn-primary {
    background: var(--grad-gold);
    color: var(--primary-contrast);
    font-weight: 800;
    letter-spacing: .2px;
}

.btn-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--text);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(214, 178, 91, .15);
}

.btn:active {
    transform: translateY(0);
}

/* -------- Visuals (Images) -------- */
.hero-visual {
    margin: var(--space-6) 0 var(--space-6);
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-elev);
}

.card .icon {
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-4);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25));
}

.about-visual {
    margin: 0 0 var(--space-6);
}

.about-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    opacity: .95;
}

.proof-visual {
    margin: var(--space-6) 0 var(--space-6);
}

.proof-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-elev);
    display: block;
}

.proof-visual figcaption {
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--muted);
    text-align: center;
}

/* -------- Footer -------- */
.site-footer {
    padding: var(--space-10) 0;
    border-top: 1px solid var(--border);
    background: #0a0a0e;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-nav {
    display: flex;
    gap: 16px;
}

.footer-nav a {
    color: var(--muted);
}

.footer-nav a:hover {
    color: var(--text);
}

/* -------- Footer (enhanced layout) -------- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
    width: 100%;
}

.footer-col {
    padding-right: var(--space-10);
    border-right: 1px solid var(--border);
}

.footer-col:last-child {
    border-right: none;
    padding-right: 0;
}

.footer-col .h3 {
    margin: 0 0 var(--space-2);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--text);
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: var(--space-4);
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grad-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0e;
    /* contrast on gold */
    box-shadow: 0 8px 22px rgba(214, 178, 91, .25);
    border: 1px solid rgba(214, 178, 91, .5);
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-copy {
    margin-top: var(--space-8);
    text-align: center;
    width: 100%;
}

/* Responsive footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-col {
        padding-right: 0;
        border-right: none;
        padding-bottom: var(--space-6);
        border-bottom: 1px solid var(--border);
    }

    .footer-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

/* -------- Responsive -------- */
@media (max-width: 1100px) {
    .cards .grid {
        grid-template-columns: 1fr 1fr;
    }

    .split-cols {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

@media (max-width: 780px) {
    .section {
        padding: var(--space-16) 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        inset: 70px 0 0 0;
        background: linear-gradient(180deg, rgba(10, 10, 14, 0.98), rgba(10, 10, 14, 0.98));
        backdrop-filter: blur(8px);
        padding: 24px 16px;
        flex-direction: column;
        gap: 12px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
        z-index: 1200;
        /* ensure above all content */
        max-width: 340px;
        margin: 0 auto;
        /* centered panel */
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
        text-align: center;
    }

    /* Bigger, clearer menu items like the mock */
    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        color: #ffffff;
        display: block;
        width: 100%;
        padding: 14px 8px;
        font-size: 1.06rem;
        border-radius: 10px;
        background: transparent;
        border: 0;
        font-weight: 700;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu li+li {
        margin-top: 6px;
    }

    /* First item highlighted in gold */
    .nav-menu li:first-child a {
        color: var(--primary);
    }

    .nav-menu a:hover,
    .nav-menu a:focus {
        color: var(--primary);
        background: rgba(214, 178, 91, .09);
        outline: none;
    }

    /* CTA pill button */
    .nav-cta .btn {
        width: 100%;
        margin-top: 10px;
        font-size: 1.06rem;
        background: var(--grad-gold);
        color: #0a0a0e;
        border: 0;
        border-radius: 999px;
        padding: 14px 18px;
        font-weight: 800;
    }

    .nav-cta .btn::after {
        content: "↗";
        font-weight: 900;
        margin-left: 8px;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .cards .grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        position: static;
        margin-top: 10px;
    }
}

body.no-scroll {
    overflow: hidden;
}

/* About section side column */
.about-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.about-logo img {
    width: 240px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-elev);
}

/* -------- About section typography polish -------- */
#about .h1 {
    color: var(--primary);
    font-family: var(--ff-serif);
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1.15;
    font-size: clamp(2rem, 4vw, 2.6rem);
    position: relative;
    margin-bottom: var(--space-6);
}

#about .h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 64px;
    height: 3px;
    border-radius: 3px;
    background: var(--grad-gold);
    box-shadow: 0 2px 10px rgba(214, 178, 91, .35);
}

/* Text column styling */
#about .split-cols> :first-child {
    padding-left: var(--space-6);
    border-left: 1px solid rgba(214, 178, 91, .28);
}

#about p {
    color: var(--muted);
    line-height: 1.85;
    font-size: 1.02rem;
    letter-spacing: .1px;
}

#about p+p {
    margin-top: 10px;
}

#about p strong {
    color: var(--text);
    font-weight: 800;
    letter-spacing: .2px;
    display: block;
    margin: 12px 0 6px;
}

/* Mobile tweaks for About */
@media (max-width: 780px) {
    #about .split-cols> :first-child {
        padding-left: 0;
        border-left: none;
    }
}