/* =========================
   0) Design tokens
========================= */
:root {
    --bg: #0b0d10;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-2: rgba(255, 255, 255, 0.10);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.70);
    --muted2: rgba(255, 255, 255, 0.55);
    --border: rgba(255, 255, 255, 0.14);

    --accent: #caa56a;
    --accent2: #9bb6ff;

    --radius: 18px;
    --radius-lg: calc(var(--radius) + 6px);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);

    --topbar-h: 74px;
}

/* =========================
   1) Base / reset
========================= */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

html {
    scroll-padding-top: calc(var(--topbar-h) + 12px);
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    /* main scroll is .page */
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

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

.tiny {
    font-size: 12px;
    color: var(--muted2);
}

.center {
    text-align: center;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transform: translateY(-200%);
    z-index: 9999;
}

.skip-link:focus {
    transform: translateY(0);
}

/* =========================
   2) Topbar / nav / brand
========================= */
.topbar {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 50;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 14px 18px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.topbar>* {
    pointer-events: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 6px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    flex: 0 0 auto;
}

/* you're using an <img> now, so hide the old dot */
.brand-mark {
    display: none;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    object-fit: contain;
    /* no cropping */
    background: rgba(0, 0, 0, 0.25);
    padding: 1px;
    box-shadow: 0 0 18px rgba(202, 165, 106, 0.25);
    flex: 0 0 auto;
}

.nav {
    display: flex;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
    backdrop-filter: blur(10px);

    /* one line always */
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    /* desktop sizing */
    flex: 0 0 auto;
    width: fit-content;
    max-width: 560px;
}

.nav::-webkit-scrollbar {
    display: none;
}

.nav-link {
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--muted);
    white-space: nowrap;
    flex: 0 0 auto;

    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
    color: var(--accent);
    background: rgba(202, 165, 106, 0.12);
    border: 1px solid rgba(202, 165, 106, 0.45);
}

.nav-link.active {
    color: var(--accent);
    background: rgba(202, 165, 106, 0.12);
    border: 1px solid rgba(202, 165, 106, 0.45);
}

/* =========================
   3) Scroll container + sections
========================= */
.page {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    scroll-behavior: smooth;
    overscroll-behavior: none;
    scroll-padding-top: calc(var(--topbar-h) + 12px);
}

@media (min-width: 821px) {
    .page {
        scroll-snap-type: y proximity;
    }

    .section {
        scroll-snap-align: start;
    }
}

.section {
    min-height: 100vh;
    display: grid;
    align-items: center;
    position: relative;

    padding: calc(var(--topbar-h) + 16px) 0 44px;
    scroll-margin-top: calc(var(--topbar-h) + 12px);
}

.section:last-child {
    padding-bottom: max(44px, env(safe-area-inset-bottom));
}

/* Reduce spacing for offers + contact */
.section.offer-detail {
    min-height: auto;
    padding: calc(var(--topbar-h) + 22px) 0 26px;
}

.section.contact {
    min-height: auto;
    padding: calc(var(--topbar-h) + 22px) 0 30px;
}

/* tighter transitions between sections */
.section.offer-detail+.section.offer-detail,
.section.offer-detail+.section.contact {
    padding-top: calc(var(--topbar-h) + 12px);
}

/* =========================
   4) Buttons
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);

    color: var(--text);
    font-weight: 650;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: transform 0.12s ease;
}

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

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

.btn.primary {
    border-color: rgba(202, 165, 106, 0.45);
    background: linear-gradient(135deg, rgba(202, 165, 106, 0.95), rgba(202, 165, 106, 0.25));
    color: #0b0d10;
}

.btn.small {
    padding: 10px 14px;
    font-size: 14px;
}

/* =========================
   5) Hero (carousel background)
========================= */
.hero {
    padding-top: 0;
}

.hero-carousel-mount {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Make Bootstrap carousel act like a background */
.hero-carousel-mount .hero-carousel,
.hero-carousel-mount .carousel-inner,
.hero-carousel-mount .carousel-item {
    height: 100%;
}

.hero-carousel-mount .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* gradient overlays above the carousel, below text */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(900px 500px at 20% 15%, rgba(202, 165, 106, 0.35), transparent 60%),
        radial-gradient(900px 500px at 85% 65%, rgba(155, 182, 255, 0.22), transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 18px;
}

.title {
    margin: 0 0 12px;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.02;
}

.subtitle {
    margin: 0 0 22px;
    max-width: 56ch;
    color: var(--muted);
    font-size: 18px;
}

.scroll-hint {
    margin-top: 36px;
    width: 22px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    opacity: 0.9;
}

.scroll-hint .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    animation: dot 1.4s infinite ease-in-out;
}

.scroll-hint .line {
    position: absolute;
    bottom: 10px;
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.20);
}

@keyframes dot {
    0% {
        transform: translateY(-10px);
        opacity: 0.5;
    }

    50% {
        transform: translateY(8px);
        opacity: 1;
    }

    100% {
        transform: translateY(-10px);
        opacity: 0.5;
    }
}

/* =========================
   6) Headings
========================= */
.section-head {
    margin-bottom: 18px;
}

.h2 {
    margin: 0 0 6px;
    font-size: clamp(26px, 3.2vw, 34px);
}

.h3 {
    margin: 0;
    font-size: 18px;
}

/* =========================
   7) Offers
========================= */
.offer-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    /* tightened */
}

.offer-head--stack {
    width: 100%;
}

.offer-head-text {
    text-align: center;
}

.offer-grid--single {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.offer-features {
    width: min(680px, 92vw);
    padding: 18px 20px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.offer-features .h3 {
    margin-bottom: 10px;
}

.list {
    margin: 0;
    padding-inline-start: 18px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.list li {
    margin: 8px 0;
}

.offer-cta {
    width: min(680px, 92vw);
    justify-content: center;
    margin-top: 8px;
}

/* =========================
   8) Contact
========================= */
.contact {
    background:
        radial-gradient(900px 520px at 20% 30%, rgba(155, 182, 255, 0.12), transparent 55%),
        radial-gradient(900px 520px at 85% 70%, rgba(202, 165, 106, 0.16), transparent 60%);
}

.contact-center-card {
    width: min(820px, 100%);
    margin: 0 auto;
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
}

.contact-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
}

.pill-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(202, 165, 106, 0.18);
    border: 1px solid rgba(202, 165, 106, 0.25);
}

.pill-icon svg {
    display: block;
}

/* =========================
   9) Footer
========================= */
.site-footer {
    margin-top: 18px;
    padding: 16px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

/* =========================
   10) Responsive
========================= */
@media (max-width: 700px) {
    :root {
        --topbar-h: 64px;
    }

    .container {
        width: min(1120px, calc(100% - 26px));
    }

    .hero-content {
        padding-top: 56px;
    }

    .title {
        font-size: clamp(30px, 8vw, 46px);
        line-height: 1.12;
    }

    .subtitle {
        font-size: 16px;
        max-width: 40ch;
    }

    .contact-pill {
        width: 100%;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}

@media (max-width: 520px) {
    :root {
        --topbar-h: 58px;
    }

    .topbar {
        padding: 8px 10px;
    }

    .nav {
        gap: 6px;
        padding: 6px;
        max-width: 62vw;
        background: rgba(0, 0, 0, 0.18);
        border-color: rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(8px);
    }

    .nav-link {
        font-size: 12px;
        padding: 8px 10px;
    }

    .offer-features {
        padding: 16px;
        font-size: 16px;
    }

    .list {
        padding-inline-start: 16px;
        line-height: 1.9;
    }

    .section.offer-detail,
    .section.contact {
        padding: calc(var(--topbar-h) + 16px) 0 22px;
    }
}

@media (max-width: 380px) {
    .nav {
        max-width: 68vw;
    }
}

.hero {
    position: relative;
}

.hero-carousel-mount {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    /* adjust darkness here */
    z-index: 1;
    pointer-events: none;
}

/* text stays above everything */
.hero-content {
    position: relative;
    z-index: 2;
}

.type {
    display: inline-block;
    white-space: nowrap;
}

.type::after {
    content: "▍";
    margin-inline-start: 6px;
    opacity: 1;
    animation: blink 0.8s infinite;
}

.type.done::after {
    content: "";
    animation: none;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}