/*
 * CASINA CASINO - DESIGN SYSTEM
 * Cinematic corrida arena aesthetic: deep charcoal-maroon velvet,
 * corrida red and molten gold neon accents. Single fixed dark theme.
 */

:root {
    --background: #180b10;
    --foreground: #f4e9d8;
    --card: #24141b;
    --card-foreground: #f4e9d8;
    --popover: #211017;
    --popover-foreground: #f4e9d8;
    --primary: #ff3348;
    --primary-foreground: #130509;
    --secondary: #d8b45f;
    --secondary-foreground: #1a0e05;
    --muted: #3a2a2f;
    --muted-foreground: #c8bda6;
    --accent: #ff7a1a;
    --accent-foreground: #170702;
    --destructive: #dc2626;
    --destructive-foreground: #fff5f5;
    --border: #71564e;
    --input: #24141b;
    --ring: #e6c15c;

    /* Typography */
    --font-display: "Cinzel", serif;
    --font-body: "Manrope", sans-serif;

    /* Spacing rhythm (8px base grid) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-7: 56px;
    --space-9: 72px;
    --space-12: 96px;
    --space-15: 120px;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --header-h: 64px;

    /* Effects */
    --gold-line: rgba(216, 180, 95, 0.85);
    --gold-line-soft: rgba(216, 180, 95, 0.45);
    --red-glow: 0 0 24px rgba(255, 51, 72, 0.45);
    --radius: 12px;
    --transition-fast: 200ms ease-out;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

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

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE - Single fixed dark theme
   ============================================ */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--background);
    background-image:
        radial-gradient(1100px 520px at 85% -10%, rgba(255, 51, 72, 0.10), transparent 60%),
        radial-gradient(900px 480px at 0% 30%, rgba(216, 180, 95, 0.05), transparent 60%);
    background-attachment: fixed;
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   TYPOGRAPHY - Cinzel display + Manrope body
   ============================================ */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--foreground);
    margin: 0 0 var(--space-3);
    overflow-wrap: break-word;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(120deg, #f4e9d8 20%, #e6c15c 55%, #d8b45f 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

h2 { font-size: 24px; font-weight: 600; }
h3 { font-size: 20px; font-weight: 500; }
h4 { font-size: 18px; font-weight: 500; }

p {
    margin: 0 0 var(--space-3);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--ring);
}

strong {
    color: var(--foreground);
}

::selection {
    background: rgba(255, 51, 72, 0.35);
    color: var(--foreground);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-2);
    z-index: 1100;
    padding: 10px 18px;
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-weight: 700;
    border-radius: 6px;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-2);
}

/* ============================================
   LAYOUT - container, sections, prose
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 20px;
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding-block: var(--space-7);
}

.prose {
    max-width: 68ch;
}

.prose p {
    margin-bottom: var(--space-3);
}

.prose ul,
.prose ol {
    margin: 0 0 var(--space-3);
    padding-left: var(--space-3);
    color: var(--muted-foreground);
}

.prose li {
    margin-bottom: var(--space-1);
}

.prose li::marker {
    color: var(--primary);
}

/* ============================================
   SWEEP - signature red-to-gold underline
   that animates left to right on scroll entry
   ============================================ */

.sweep {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.sweep::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 500ms ease-out 150ms;
}

.sweep.is-visible::after {
    transform: scaleX(1);
}

/* ============================================
   GOLD FRAME - double gold-line inset frame,
   the wooden barrier of the bullring
   ============================================ */

.gold-frame {
    position: relative;
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
}

.gold-frame::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid var(--gold-line-soft);
    border-radius: calc(var(--radius) - 4px);
    pointer-events: none;
}

/* ============================================
   BUTTONS - gold primary, ghost gold, red
   Min 44px touch targets, neon halo + 2px lift
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 8px;
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast),
                background-color var(--transition-fast), color var(--transition-fast),
                border-color var(--transition-fast);
}

.btn--gold {
    background: linear-gradient(160deg, #e6c15c, var(--secondary) 60%, #b8913d);
    color: var(--secondary-foreground);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn--gold:hover {
    color: var(--secondary-foreground);
    transform: translateY(-2px);
    box-shadow: var(--red-glow), 0 6px 18px rgba(0, 0, 0, 0.45);
}

.btn--red {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn--red:hover {
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: var(--red-glow);
}

.btn--ghost {
    background: transparent;
    color: var(--secondary);
    border-color: var(--gold-line-soft);
}

.btn--ghost:hover {
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.btn--xl {
    min-height: 54px;
    padding: 14px 40px;
    font-size: 18px;
}

/* ============================================
   HEADER - fixed sticky, brand + nav + CTAs
   z-index: header 1000, toggle 1001, drawer 999
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background);
    border-bottom: 1px solid rgba(113, 86, 78, 0.5);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    height: var(--header-h);
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 20px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--foreground);
}

.site-brand__accent {
    color: var(--primary);
}

.site-brand__text--footer {
    font-size: 24px;
}

/* Desktop inline nav (hidden on mobile, shown >= 768px) */
.primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--background);
    overflow-y: auto;
    padding: var(--space-4) 20px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 300ms ease-out, visibility 0s linear 300ms;
}

.primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 300ms ease-out, visibility 0s;
}

.primary-nav__list {
    list-style: none;
    margin: var(--space-4) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
}

.primary-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 var(--space-2);
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--foreground);
    border-bottom: 1px solid rgba(113, 86, 78, 0.35);
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.primary-nav__link:hover {
    color: var(--secondary);
    background: rgba(216, 180, 95, 0.07);
}

.primary-nav__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header__actions .btn {
    display: none;
}

/* Hamburger toggle */
.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--gold-line-soft);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: transform 250ms ease-out, opacity 250ms ease-out;
}

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

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

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

/* ============================================
   HERO - full-bleed cinematic arena banners
   ============================================ */

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding-top: var(--space-15);
    padding-bottom: var(--space-9);
    overflow: clip;
    background: var(--background);
}

.hero--compact {
    min-height: 380px;
    padding-top: var(--space-12);
    padding-bottom: var(--space-7);
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(700px 380px at 78% 40%, rgba(255, 51, 72, 0.28), transparent 65%),
        linear-gradient(180deg, rgba(24, 11, 16, 0.72) 0%, rgba(24, 11, 16, 0.55) 45%, var(--background) 100%);
}

.hero__model {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 92%;
    width: auto;
    max-width: 62%;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(0 0 40px rgba(255, 51, 72, 0.25));
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 640px;
}

.hero__eyebrow {
    display: inline-block;
    margin-bottom: var(--space-2);
    padding: 6px 14px;
    border: 1px solid var(--gold-line-soft);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(24, 11, 16, 0.6);
}

.hero__lead {
    font-size: 18px;
    color: var(--muted-foreground);
    max-width: 56ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.hero__micro {
    margin-top: var(--space-2);
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   STAT HIGHLIGHT - quotable gold figures
   ============================================ */

.stat-highlight {
    background: var(--card);
    padding: var(--space-4) var(--space-3);
    margin-block: var(--space-5);
}

.stat-highlight__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    text-align: center;
}

.stat-highlight__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-highlight__number {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(160deg, #f0d68a, var(--secondary) 60%, #b8913d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-highlight__underline {
    width: 42px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.stat-highlight__label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

/* ============================================
   CTA BANNER - crimson-to-obsidian gradient
   band with double gold frame + ember pulse
   ============================================ */

.cta-banner {
    margin-block: var(--space-7);
    background: linear-gradient(150deg, #5c0e18 0%, #3a0a12 40%, var(--background) 100%);
    border-block: 1px solid rgba(216, 180, 95, 0.35);
}

.cta-banner__frame {
    position: relative;
    margin: var(--space-4) 12px;
    border: 1px solid var(--gold-line);
    border-radius: var(--radius);
    animation: ember-pulse 4s ease-in-out infinite;
}

.cta-banner__frame::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid var(--gold-line-soft);
    border-radius: calc(var(--radius) - 4px);
    pointer-events: none;
}

.cta-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-block: var(--space-7);
    padding-inline: var(--space-4);
}

.cta-banner__headline {
    font-size: 26px;
}

.cta-banner__text {
    max-width: 58ch;
    color: var(--foreground);
}

.cta-banner__btn {
    margin-top: var(--space-2);
}

.cta-banner__micro {
    margin: var(--space-2) 0 0;
    font-size: 14px;
    color: var(--muted-foreground);
}

@keyframes ember-pulse {
    0%, 100% { box-shadow: 0 0 0 rgba(255, 122, 26, 0); }
    50% { box-shadow: 0 0 34px rgba(255, 122, 26, 0.28); }
}

/* ============================================
   FAQ ACCORDION - bordered stack, gold chevron,
   smooth 300ms expand via grid-rows trick
   ============================================ */

.faq-accordion {
    max-width: var(--container-narrow);
    margin-inline: auto;
    background: var(--card);
    border: 1px solid rgba(113, 86, 78, 0.5);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid rgba(113, 86, 78, 0.4);
    border-left: 4px solid transparent;
    transition: border-color 300ms ease-out, background-color 300ms ease-out;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.is-open {
    border-left-color: var(--primary);
    background: rgba(255, 51, 72, 0.04);
}

.faq-item__heading {
    margin: 0;
    font-family: var(--font-body);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    width: 100%;
    min-height: 56px;
    padding: 20px var(--space-3);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--foreground);
}

.faq-item__question:hover {
    color: var(--secondary);
}

.faq-item__chevron {
    flex-shrink: 0;
    color: var(--secondary);
    transition: transform 300ms ease-out;
}

.faq-item.is-open .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease-out;
}

.faq-item.is-open .faq-item__answer {
    grid-template-rows: 1fr;
}

.faq-item__answer-inner {
    overflow: hidden;
    min-height: 0;
}

.faq-item__answer-inner p {
    margin: 0;
    padding: 0 var(--space-3) 20px;
    color: var(--muted-foreground);
}

.faq-item__answer-inner strong,
.faq-item__answer-inner .gold {
    color: var(--secondary);
}

/* ============================================
   CARDS & GRIDS - game cards, provider cards
   ============================================ */

.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
}

.card {
    min-width: 0;
    background: var(--card);
    border: 1px solid rgba(113, 86, 78, 0.45);
    border-radius: var(--radius);
    padding: var(--space-3);
    transition: transform var(--transition-fast), border-color var(--transition-fast),
                box-shadow var(--transition-fast);
}

.card:hover {
    transform: scale(1.02);
    border-color: var(--gold-line);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.card--active {
    border-left: 4px solid var(--primary);
}

.card__title {
    font-size: 20px;
    margin-bottom: var(--space-1);
}

.card__text {
    color: var(--muted-foreground);
    margin-bottom: 0;
}

.card__figure {
    margin: 0 0 var(--space-2);
    border-radius: 8px;
    overflow: hidden;
}

.card__meta {
    display: inline-block;
    margin-top: var(--space-2);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--secondary);
}

/* Badges (Neu / Hot) */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge--hot {
    background: var(--accent);
    color: var(--accent-foreground);
}

.badge--gold {
    background: transparent;
    border: 1px solid var(--gold-line-soft);
    color: var(--secondary);
}

/* ============================================
   CALLOUT / PULL QUOTE / SUMMARY BOX
   Engagement patterns matching arena aesthetic
   ============================================ */

.callout {
    margin-block: var(--space-4);
    padding: var(--space-3);
    background: rgba(255, 51, 72, 0.06);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.callout p {
    font-style: italic;
    font-size: 20px;
    line-height: 1.55;
    color: var(--foreground);
    margin-bottom: var(--space-2);
}

.callout p:last-child {
    margin-bottom: 0;
}

.pull-quote {
    margin-block: var(--space-5);
    padding: var(--space-3) var(--space-4);
    border-left: 4px solid var(--primary);
    background: var(--card);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.pull-quote p {
    font-style: italic;
    font-size: 20px;
    line-height: 1.55;
    color: var(--foreground);
}

.pull-quote cite {
    display: block;
    margin-top: var(--space-2);
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary);
}

.summary-box {
    margin-block: var(--space-4);
    padding: var(--space-3);
    background: var(--card);
    border: 1px solid var(--gold-line-soft);
    border-radius: var(--radius);
}

.summary-box__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.summary-box ul {
    margin: 0;
    padding-left: var(--space-3);
    color: var(--muted-foreground);
}

.summary-box li::marker {
    color: var(--secondary);
}

/* ============================================
   TRUST BADGES - muted horizontal row
   ============================================ */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-2) var(--space-4);
    padding-block: var(--space-3);
    border-block: 1px solid rgba(113, 86, 78, 0.35);
}

.trust-badges__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.trust-badges__item svg {
    color: var(--secondary);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
    color: var(--secondary);
}

/* ============================================
   TABLES - wagering / comparison data
   ============================================ */

.table-wrapper {
    margin-block: var(--space-4);
    border: 1px solid rgba(113, 86, 78, 0.5);
    border-radius: var(--radius);
    overflow-x: auto;
    background: var(--card);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

.data-table th,
.data-table td {
    padding: 14px var(--space-2);
    text-align: left;
    border-bottom: 1px solid rgba(113, 86, 78, 0.35);
}

.data-table thead th {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(216, 180, 95, 0.06);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table td {
    color: var(--muted-foreground);
}

.data-table td strong,
.data-table .gold {
    color: var(--secondary);
    font-weight: 700;
}

.data-table .col--highlight {
    background: rgba(255, 51, 72, 0.05);
}

/* ============================================
   SPLIT LAYOUT - text + media side by side
   ============================================ */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    align-items: center;
}

.split__media {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(113, 86, 78, 0.45);
}

/* ============================================
   SCROLL ANIMATIONS - fade-in slide-up with
   optional stagger via --stagger custom prop
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease-out var(--stagger, 0ms),
                transform 600ms ease-out var(--stagger, 0ms);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .sweep::after,
    .cta-banner__frame {
        transition: none;
        animation: none;
    }
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
    .sweep::after {
        transform: scaleX(1);
    }
}

/* ============================================
   FOOTER - four columns, muted links,
   payment badges, legal line
   ============================================ */

.site-footer {
    margin-top: var(--space-12);
    border-top: 1px solid rgba(216, 180, 95, 0.3);
    background: #12070b;
    padding-block: var(--space-6) var(--space-4);
}

.site-footer__brandrow {
    margin-bottom: var(--space-5);
    max-width: 640px;
}

.site-footer__tagline {
    margin: var(--space-2) 0 0;
    color: var(--muted-foreground);
    font-size: 15px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
}

.site-footer__heading {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    hyphens: auto;
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.site-footer__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted-foreground);
}

.site-footer__list a:hover {
    color: var(--secondary);
}

.site-footer__list--plain li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    color: var(--muted-foreground);
    font-size: 15px;
}

.payment-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}

.payment-badges__item {
    padding: 6px 14px;
    border: 1px solid rgba(113, 86, 78, 0.6);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--muted-foreground);
    background: rgba(58, 42, 47, 0.35);
}

.site-footer__note {
    margin: 0;
    font-size: 14px;
    color: var(--muted-foreground);
}

.site-footer__bottom {
    margin-top: var(--space-5);
    padding-top: var(--space-3);
    border-top: 1px solid rgba(113, 86, 78, 0.3);
    text-align: center;
}

.site-footer__bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--muted-foreground);
}

/* ============================================
   RESPONSIVE - tablet (768px)
   Mobile menu breakpoint: 768px
   ============================================ */

@media (min-width: 768px) {
    :root {
        --header-h: 72px;
    }

    h1 { font-size: 40px; }
    h2 { font-size: 30px; }
    h3 { font-size: 22px; }

    .container {
        padding-inline: 32px;
    }

    .section {
        padding-block: var(--space-9);
    }

    /* Header switches to inline nav */
    .primary-nav {
        position: static;
        transform: none;
        visibility: visible;
        transition: none;
        background: transparent;
        overflow: visible;
        padding: 0;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: var(--space-3);
        margin: 0;
    }

    .primary-nav__link {
        min-height: 44px;
        border-bottom: none;
        font-size: 16px;
        padding: 0 6px;
    }

    .primary-nav__actions {
        display: none;
    }

    .site-header__actions .btn {
        display: inline-flex;
        min-height: 44px;
        padding: 8px 18px;
        font-size: 15px;
    }

    .menu-toggle {
        display: none;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-2);
    }

    .stat-highlight__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-highlight__number {
        font-size: 40px;
    }

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

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__lead {
        font-size: 19px;
    }
}

/* ============================================
   RESPONSIVE - desktop (1024px)
   ============================================ */

@media (min-width: 1024px) {
    h1 { font-size: 52px; }
    h2 { font-size: 36px; }
    h3 { font-size: 26px; }

    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-2);
    }

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

    .stat-highlight__row--four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .stat-highlight__number {
        font-size: 44px;
    }

    .cta-banner__headline {
        font-size: 34px;
    }

    .hero {
        min-height: 620px;
    }

    .hero__model {
        max-width: 46%;
    }

    .site-footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .primary-nav__link {
        font-size: 17px;
    }
}

/* ============================================
   RESPONSIVE - max width (1280px)
   ============================================ */

@media (min-width: 1280px) {
    .container {
        padding-inline: 32px;
    }
}

/* ============================================
   SECTION HEAD - centered heading + lead
   ============================================ */

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--space-5);
}

.section-head .sweep::after {
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
}

.section-head .sweep.is-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.section-head__lead {
    color: var(--muted-foreground);
    margin: var(--space-2) 0 0;
}

/* Alternating section surface */
.section--alt {
    background: rgba(36, 20, 27, 0.5);
    border-block: 1px solid rgba(113, 86, 78, 0.3);
}

/* Card icon chip */
.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-2);
    border-radius: 10px;
    border: 1px solid var(--gold-line-soft);
    color: var(--secondary);
    background: rgba(216, 180, 95, 0.06);
}

@media (prefers-reduced-motion: reduce) {
    .section-head .sweep::after {
        transform: translateX(-50%) scaleX(1);
    }
}

/* ============================================
   SITEMAP - neutral page list with warm slate
   dividers and molten gold links
   ============================================ */

.sitemap-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-2);
    padding: 6px 14px;
    border: 1px solid var(--gold-line-soft);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--muted-foreground);
    background: rgba(24, 11, 16, 0.6);
}

.sitemap-breadcrumb__sep {
    color: var(--secondary);
}

.sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--card);
    border: 1px solid rgba(113, 86, 78, 0.5);
    border-radius: var(--radius);
    overflow: hidden;
}

.sitemap-list__item {
    padding: var(--space-3);
    border-bottom: 1px solid rgba(113, 86, 78, 0.4);
    transition: background-color var(--transition-fast);
}

.sitemap-list__item:last-child {
    border-bottom: none;
}

.sitemap-list__item:hover {
    background: rgba(216, 180, 95, 0.04);
}

.sitemap-list__title {
    margin-bottom: var(--space-1);
    font-size: 20px;
}

.sitemap-list__title a {
    color: var(--secondary);
}

.sitemap-list__title a:hover {
    color: var(--ring);
}

.sitemap-list__text {
    margin: 0;
    color: var(--muted-foreground);
    font-size: 16px;
}
