/* ==========================================================================
   Golden Vista Motors — Design System
   Palette and typography derived from the brand logo:
   deep black ground, metallic gold accents, chrome silver secondary.
   ========================================================================== */

:root {
  /* --- Brand gold (sampled from logo) --- */
  --gold-100: #fff6d6;
  --gold-200: #ffe9a3;
  --gold-300: #ffdd68;
  --gold-400: #fbcd4b;
  --gold-500: #efb02b;
  --gold-600: #d5b343;
  --gold-700: #b97206;
  --gold-800: #8d4b09;
  --gold-900: #5c3006;

  /* --- Chrome / silver (from "MOTORS" wordmark) --- */
  --chrome-100: #ffffff;
  --chrome-200: #e8eaed;
  --chrome-300: #c0c0c0;
  --chrome-400: #9aa0a6;
  --chrome-500: #808080;

  /* --- Neutral ground --- */
  --ink-950: #050506;
  --ink-900: #0a0a0c;
  --ink-850: #101013;
  --ink-800: #16161a;
  --ink-750: #1c1c21;
  --ink-700: #24242a;
  --ink-600: #33333b;
  --ink-500: #4a4a54;
  --ink-400: #6b6b76;
  --ink-300: #9a9aa4;
  --ink-200: #c4c4cc;
  --ink-100: #e6e6ea;

  /* --- Semantic --- */
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --info: #60a5fa;

  /* --- Surfaces --- */
  --bg: var(--ink-950);
  --surface-1: var(--ink-900);
  --surface-2: var(--ink-850);
  --surface-3: var(--ink-800);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --line-gold: rgba(239, 176, 43, 0.28);

  /* --- Text --- */
  --text: #f4f4f6;
  --text-muted: #a8a8b3;
  --text-dim: #7a7a86;

  /* --- Type --- */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* --- Spacing (4px base) --- */
  --s1: 0.25rem; --s2: 0.5rem;  --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem;  --s8: 2rem;    --s10: 2.5rem;
  --s12: 3rem;   --s16: 4rem;   --s20: 5rem;   --s24: 6rem;

  /* --- Radius --- */
  --r-sm: 4px; --r-md: 8px; --r-lg: 14px; --r-xl: 22px; --r-full: 999px;

  /* --- Shadow --- */
  --sh-sm: 0 1px 2px rgba(0,0,0,.4);
  --sh-md: 0 6px 20px rgba(0,0,0,.45);
  --sh-lg: 0 18px 50px rgba(0,0,0,.55);
  --sh-gold: 0 10px 40px rgba(239,176,43,.18);

  /* --- Motion --- */
  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: 160ms var(--ease);
  --t-med: 320ms var(--ease);
  --t-slow: 620ms var(--ease);

  --maxw: 1280px;
  --header-h: 76px;
}

/* ============================ RESET ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }

/* ============================ LAYOUT ============================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s6); }
@media (min-width: 1024px) { .wrap { padding-inline: var(--s8); } }
.section { padding-block: var(--s20); }
.section-alt { background: var(--surface-1); border-block: 1px solid var(--line); }
.section-tight { padding-top: 0; }
@media (max-width: 700px) { .section { padding-block: var(--s12); } }

/* ============================ TYPE ============================ */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-500);
  display: inline-flex; align-items: center; gap: var(--s3);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.lede { color: var(--text-muted); font-size: 1.06rem; max-width: 62ch; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.gold { color: var(--gold-500); }
.mono { font-family: var(--font-mono); }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: 0.85rem 1.6rem; border-radius: var(--r-full);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap; border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #1a1204; box-shadow: var(--sh-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(239,176,43,.3); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-400); background: rgba(239,176,43,.06); }
.btn-dark { background: var(--ink-800); border-color: var(--line); color: var(--text); }
.btn-dark:hover { background: var(--ink-700); border-color: var(--line-strong); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.82rem; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 0.98rem; }
.btn-block { width: 100%; }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,5,6,.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s6);
}
.brand { display: flex; align-items: center; gap: var(--s3); flex-shrink: 0; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line-gold); background: #000; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 4px 16px rgba(239,176,43,.14);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-size: 1.16rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: linear-gradient(100deg, var(--gold-200), var(--gold-500) 45%, var(--gold-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub {
  font-size: 0.56rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--chrome-400); margin-top: 3px; padding-left: 1px;
}
.nav { display: flex; align-items: center; gap: var(--s1); }
.nav a {
  padding: 0.5rem 0.85rem; border-radius: var(--r-full);
  font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.05); }
.nav a[aria-current="page"] { color: var(--gold-400); }
.header-cta { display: flex; align-items: center; gap: var(--s3); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r-md); border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--text); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--ink-900); border-bottom: 1px solid var(--line);
    padding: var(--s4) var(--s6) var(--s6); gap: var(--s1);
  }
  .nav.open a { padding: 0.85rem 1rem; font-size: 1rem; }
}

/* ============================ HERO ============================ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(239,176,43,.16), transparent 58%),
    linear-gradient(180deg, rgba(5,5,6,.72) 0%, rgba(5,5,6,.86) 55%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s16); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: var(--s10); } }
.hero h1 { margin-block: var(--s5) var(--s6); }
.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-200), var(--gold-500) 50%, var(--gold-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6);
  margin-top: var(--s12); padding-top: var(--s8); border-top: 1px solid var(--line);
}
.hero-stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--gold-400); line-height: 1; }
.hero-stat span { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }

/* hero feature card */
.hero-card {
  background: linear-gradient(180deg, rgba(22,22,26,.9), rgba(10,10,12,.95));
  border: 1px solid var(--line-gold); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-lg);
}
.hero-card-img { aspect-ratio: 16/10; overflow: hidden; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-body { padding: var(--s6); }
.hero-card-tag {
  display: inline-block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-400); border: 1px solid var(--line-gold); border-radius: var(--r-full);
  padding: 0.25rem 0.7rem; margin-bottom: var(--s3);
}
.hero-card h3 { font-family: var(--font-display); font-size: 1.5rem; }
.hero-card .price { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-400); margin-top: var(--s2); }

/* ============================ MARQUEE ============================ */
.marquee { border-block: 1px solid var(--line); background: var(--surface-1); overflow: hidden; }
.marquee-track { display: flex; gap: var(--s12); padding-block: var(--s4); width: max-content; animation: slide 42s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-400); white-space: nowrap;
}
.marquee-track span::after { content: "◆"; margin-left: var(--s12); color: var(--gold-700); font-size: .6rem; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================ SECTION HEAD ============================ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s6); margin-bottom: var(--s10); flex-wrap: wrap; }
.sec-head h2 { margin-top: var(--s4); }

/* ============================ CATEGORY TILES ============================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4/5; display: block;
  transition: transform var(--t-med), border-color var(--t-med);
}
.cat-tile:hover { transform: translateY(-4px); border-color: var(--line-gold); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,6,.1) 30%, rgba(5,5,6,.92) 100%);
}
.cat-tile-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: var(--s5); }
.cat-tile-body h3 { font-family: var(--font-display); font-size: 1.3rem; }
.cat-tile-body p { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.cat-tile-body .go { font-size: 0.78rem; color: var(--gold-400); margin-top: var(--s3); display: inline-block; }

/* ============================ CAR CARD ============================ */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
@media (max-width: 1080px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .car-grid { grid-template-columns: 1fr; } }

.car-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.car-card:hover { transform: translateY(-5px); border-color: var(--line-gold); box-shadow: var(--sh-lg); }
.car-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink-800); }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.car-card:hover .car-media img { transform: scale(1.05); }
.car-badges { position: absolute; top: var(--s3); left: var(--s3); display: flex; gap: var(--s2); flex-wrap: wrap; z-index: 2; }
.badge {
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.6rem; border-radius: var(--r-full); backdrop-filter: blur(8px);
}
.badge-gold { background: rgba(239,176,43,.92); color: #1a1204; }
.badge-dark { background: rgba(5,5,6,.78); color: var(--text); border: 1px solid var(--line-strong); }
.badge-ok { background: rgba(52,211,153,.9); color: #04231a; }
.car-body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.car-make { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500); }
.car-title { font-family: var(--font-display); font-size: 1.28rem; margin-top: var(--s2); }
.car-title a:hover { color: var(--gold-400); }
.car-specs { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s4); font-size: 0.78rem; color: var(--text-muted); }
.car-specs li { display: flex; align-items: center; gap: 5px; }
.car-specs svg { width: 13px; height: 13px; opacity: .7; flex-shrink: 0; }
.car-foot {
  margin-top: auto; padding-top: var(--s5); display: flex; align-items: center;
  justify-content: space-between; gap: var(--s3); border-top: 1px solid var(--line);
}
.car-price { font-family: var(--font-display); font-size: 1.32rem; color: var(--gold-400); line-height: 1.1; }
.car-price small { display: block; font-family: var(--font-sans); font-size: 0.66rem; color: var(--text-dim); letter-spacing: .08em; text-transform: uppercase; }

/* ============================ FILTER BAR ============================ */
.filters {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s5); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: var(--s4);
  align-items: end; position: sticky; top: calc(var(--header-h) + 8px); z-index: 40;
  backdrop-filter: blur(14px);
}
@media (max-width: 1080px) { .filters { grid-template-columns: 1fr 1fr; position: static; } }
@media (max-width: 560px) { .filters { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.7rem 0.85rem; border-radius: var(--r-md);
  background: var(--ink-900); border: 1px solid var(--line-strong); color: var(--text);
  font-size: 0.88rem; font-family: inherit; transition: border-color var(--t-fast);
}
.field textarea { resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23a8a8b3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 12px; padding-right: 2rem; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-block: var(--s6); flex-wrap: wrap; }
.results-count { font-size: 0.86rem; color: var(--text-muted); }
.results-count b { color: var(--gold-400); font-family: var(--font-mono); }
.empty-state { text-align: center; padding: var(--s20) var(--s6); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.empty-state h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: var(--s3); }

/* ============================ PAGINATION ============================ */
.pager { display: flex; justify-content: center; align-items: center; gap: var(--s2); margin-top: var(--s12); flex-wrap: wrap; }
.pager button, .pager a {
  min-width: 40px; height: 40px; padding-inline: var(--s3); border-radius: var(--r-md);
  border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.86rem; color: var(--text-muted); transition: all var(--t-fast);
}
.pager button:hover:not(:disabled), .pager a:hover { border-color: var(--gold-500); color: var(--gold-400); }
.pager .active { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: #1a1204; border-color: transparent; font-weight: 600; }
.pager button:disabled { opacity: .35; cursor: not-allowed; }

/* ============================ DETAIL PAGE ============================ */
.breadcrumb { display: flex; gap: var(--s2); align-items: center; font-size: 0.8rem; color: var(--text-dim); padding-block: var(--s5); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span { opacity: .5; }
.detail-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s10); align-items: start; }
@media (max-width: 1000px) { .detail-grid { grid-template-columns: 1fr; } }
.gallery { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--ink-800); }
.gallery-main { aspect-ratio: 16/10; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); }
.gallery-thumbs button { aspect-ratio: 16/10; overflow: hidden; opacity: .55; transition: opacity var(--t-fast); }
.gallery-thumbs button:hover, .gallery-thumbs button.active { opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-panel { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 1000px) { .detail-panel { position: static; } }
.detail-price { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-400); line-height: 1; }
.detail-price small { display: block; font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-top: var(--s2); }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-top: var(--s6); }
.spec-cell { background: var(--surface-3); padding: var(--s4); }
.spec-cell dt { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.spec-cell dd { margin: 4px 0 0; font-size: 0.92rem; font-weight: 500; }
.detail-actions { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s6); }
.trust-row { display: flex; gap: var(--s4); margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line); flex-wrap: wrap; }
.trust-row li { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; color: var(--text-muted); }
.trust-row svg { width: 14px; height: 14px; color: var(--gold-500); }

.prose { max-width: 72ch; }
.prose p { color: var(--text-muted); margin-bottom: var(--s4); }
.prose h3 { font-family: var(--font-display); font-size: 1.5rem; margin-block: var(--s8) var(--s4); color: var(--text); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3) var(--s6); margin-top: var(--s5); }
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); }
.feature-list svg { width: 16px; height: 16px; color: var(--gold-500); flex-shrink: 0; margin-top: 4px; }

/* ============================ TRUST / STATS ============================ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); }
.trust-card .ico { width: 40px; height: 40px; border-radius: var(--r-md); background: rgba(239,176,43,.1); border: 1px solid var(--line-gold); display: flex; align-items: center; justify-content: center; margin-bottom: var(--s4); }
.trust-card .ico svg { width: 19px; height: 19px; color: var(--gold-500); }
.trust-card h3 { font-size: 1rem; margin-bottom: var(--s2); }
.trust-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ============================ FAQ ============================ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: var(--s5) 0; text-align: left; font-size: 1rem; font-weight: 500; transition: color var(--t-fast);
}
.faq-q:hover { color: var(--gold-400); }
.faq-q .plus { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--gold-500); transition: transform var(--t-med); }
.faq-q .plus::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-med); }
.faq-a p { padding-bottom: var(--s5); color: var(--text-muted); font-size: 0.92rem; max-width: 78ch; }
.faq-item.open .faq-a { max-height: 400px; }

/* ============================ CTA BAND ============================ */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  border: 1px solid var(--line-gold); padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(90% 130% at 88% 12%, rgba(239,176,43,.16), transparent 60%),
    linear-gradient(160deg, var(--ink-850), var(--ink-950));
  text-align: center;
}
.cta-band h2 { margin-block: var(--s4) var(--s5); }
.cta-band .lede { margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ============================ FOOTER ============================ */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-1); margin-top: var(--s20); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s10); padding-block: var(--s16) var(--s10); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s5); }
.footer-brand .brand-mark { width: 54px; height: 54px; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-500); margin-bottom: var(--s4); }
.footer-col li { margin-bottom: var(--s3); }
.footer-col a, .footer-col p { font-size: 0.88rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-block: var(--s6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap;
  font-size: 0.8rem; color: var(--text-dim);
}
.footer-bottom a:hover { color: var(--gold-400); }
.admin-link { opacity: .55; transition: opacity var(--t-fast), color var(--t-fast); }
.admin-link:hover { opacity: 1; color: var(--gold-400) !important; }

/* ============================ WHATSAPP FLOAT ============================ */
.wa-float {
  position: fixed; right: var(--s5); bottom: var(--s5); z-index: 90;
  width: 56px; height: 56px; border-radius: var(--r-full);
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.36); transition: transform var(--t-fast);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ============================ UTIL ============================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow), transform var(--t-slow); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.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; left: -9999px; top: 0; z-index: 200; background: var(--gold-500); color: #1a1204; padding: .7rem 1.2rem; border-radius: 0 0 var(--r-md) 0; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ---------- Chinese inventory additions ---------- */
.gallery-main{position:relative;border-radius:var(--r-lg);overflow:hidden;background:var(--surface-2);border:1px solid var(--line)}
.gallery-main img{width:100%;height:auto;display:block;aspect-ratio:16/10;object-fit:cover}
.gallery-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.6rem;margin-top:.75rem}
.gallery-thumbs button{position:relative;padding:0;border:2px solid transparent;border-radius:var(--r-sm);overflow:hidden;background:var(--surface-2);cursor:pointer;transition:border-color .18s ease,transform .18s ease}
.gallery-thumbs button:hover{transform:translateY(-2px)}
.gallery-thumbs button.active{border-color:var(--gold-400)}
.gallery-thumbs img{width:100%;height:74px;object-fit:cover;display:block}
.thumb-tag{position:absolute;left:.35rem;bottom:.35rem;font-size:.6rem;letter-spacing:.08em;text-transform:uppercase;background:rgba(0,0,0,.72);color:#fff;padding:.15rem .4rem;border-radius:3px}
.feature-list{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.7rem}
.feature-list li{display:flex;gap:.7rem;align-items:flex-start;font-size:.92rem;color:var(--text-muted)}
.feature-list svg{flex:0 0 18px;color:var(--gold-400);margin-top:.15rem}
.admin-card{background:var(--surface-1);border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(1.25rem,3vw,2.25rem)}
.admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
@media (max-width:900px){.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.admin-grid{grid-template-columns:1fr}}
.admin-table-wrap{overflow-x:auto;margin-top:1.5rem;border:1px solid var(--line);border-radius:var(--r-md)}
.admin-table{width:100%;border-collapse:collapse;font-size:.85rem;min-width:720px}
.admin-table th{text-align:left;padding:.75rem .9rem;background:var(--surface-2);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-dim);border-bottom:1px solid var(--line);white-space:nowrap}
.admin-table td{padding:.7rem .9rem;border-bottom:1px solid var(--line);vertical-align:middle}
.admin-table tr:last-child td{border-bottom:none}
.admin-table tbody tr:hover{background:var(--surface-2)}
.mono{font-family:var(--font-mono,ui-monospace,monospace)}
