/* ==========================================================================
   Flex Driving School - premium automotive theme
   Obsidian + champagne gold. Fully bespoke, not derived from the reference site.
   ========================================================================== */

:root {
  --ink: #0a0b0d;
  --ink-2: #101216;
  --ink-3: #16191f;
  --panel: rgba(255, 255, 255, 0.028);
  --panel-strong: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f2f3f5;
  --text-2: #b9bec7;
  --text-3: #858c98;
  --gold: #d8b26a;
  --gold-bright: #f0d296;
  --gold-deep: #a8833f;
  --red: #ff5f56;
  --ok: #5fd39a;
  --radius: 16px;
  --radius-sm: 10px;
  --shell: 1220px;
  --font-display: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 18px 45px -22px rgba(216, 178, 106, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient carbon texture + gold haze behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(216, 178, 106, 0.10), transparent 62%),
    radial-gradient(900px 520px at 4% 12%, rgba(80, 110, 160, 0.10), transparent 60%),
    linear-gradient(180deg, #0a0b0d 0%, #0c0e12 45%, #0a0b0d 100%);
}

img, svg { max-width: 100%; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.3rem, 5.6vw, 4.15rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.42rem); }
h4 { font-size: 1.02rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--gold); }

p { margin: 0 0 1em; color: var(--text-2); }
p:last-child { margin-bottom: 0; }

strong { color: var(--text); font-weight: 600; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(1.05rem, 4vw, 2.6rem);
  position: relative;
  z-index: 1;
}

.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);
  color: #16130c;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================ Buttons ============================ */

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 46%, var(--gold-deep));
  color: #17130a;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 22px 55px -20px rgba(216, 178, 106, 0.75); }

.btn-outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(216, 178, 106, 0.07); }

.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--gold-bright); }

.btn-lg { padding: 0.95rem 1.85rem; font-size: 0.96rem; }

/* ============================ Header / Nav ============================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(10, 11, 13, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
}

.site-header.is-stuck {
  background: rgba(8, 9, 11, 0.93);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 2rem);
  min-height: 76px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: min-height 0.4s ease;
}
.site-header.is-stuck .header-inner { min-height: 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold);
  flex-shrink: 0;
}
.brand-mark { display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text);
}
.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
}

.site-nav { margin-left: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.1rem, 1vw, 0.55rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.72rem;
  font-size: 0.885rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.18rem;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--gold-bright); }
.nav-link.is-active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.5rem;
}

.btn-phone { font-size: 0.85rem; color: var(--text-2); }
.btn-phone .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(95, 211, 154, 0.14);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(95, 211, 154, 0.14); }
  50% { box-shadow: 0 0 0 8px rgba(95, 211, 154, 0.04); }
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0;
}
.nav-toggle .bars { display: grid; gap: 4px; justify-items: center; }
.nav-toggle .bars i {
  display: block;
  width: 17px; height: 1.6px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1.5px;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 5, 7, 0.6);
  backdrop-filter: blur(3px);
}

/* ============================ Hero ============================ */

.hero {
  position: relative;
  padding: clamp(7.5rem, 15vw, 11rem) 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: -10% -10% 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 85% 62% at 50% 32%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 32%, #000 12%, transparent 78%);
  animation: gridDrift 26s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 74px 74px, 74px 74px; }
}

.hero-glow {
  position: absolute;
  width: 760px; height: 760px;
  right: -12%; top: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 178, 106, 0.20), transparent 66%);
  filter: blur(28px);
}

.hero-streaks {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(104deg, transparent 42%, rgba(216, 178, 106, 0.10) 49.5%, transparent 53%),
    linear-gradient(104deg, transparent 62%, rgba(255, 255, 255, 0.05) 67%, transparent 70%);
  opacity: 0.9;
}

.hero-inner { max-width: 940px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 1.1rem;
}
.eyebrow .num {
  color: var(--gold);
  padding-right: 0.6rem;
  border-right: 1px solid var(--line);
  letter-spacing: 0.1em;
}

.hero-title {
  background: linear-gradient(180deg, #ffffff 8%, #c9cdd5 62%, #8f959f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  color: var(--text-2);
  max-width: 620px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.9rem 0 2.6rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 clamp(2.6rem, 6vw, 4.2rem);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-stats > div {
  background: rgba(12, 14, 18, 0.72);
  padding: 1.15rem clamp(0.9rem, 2vw, 1.5rem);
}
.hero-stats dt {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.3rem;
}
.hero-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--gold-bright);
}

/* Trust marquee */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.014);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 2.6rem;
  width: max-content;
  padding: 1.05rem 0;
  animation: marquee 36s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.marquee-item i {
  width: 5px; height: 5px;
  rotate: 45deg;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================ Sections ============================ */

.section {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0;
  z-index: 1;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4.5vw, 3.2rem); }
.section-head h2 { margin-bottom: 0.75rem; }
.lede { font-size: clamp(0.97rem, 1.35vw, 1.06rem); color: var(--text-2); }

h2 + .lede { margin-top: 0.2rem; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-md { gap: 1.1rem; }
.gap-lg { gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.mt-lg { margin-top: clamp(1.6rem, 3.4vw, 2.6rem); }
.mt { margin-top: 1.7rem; }

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.6vw, 2.1rem);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.panel-auction { background: linear-gradient(150deg, rgba(216, 178, 106, 0.075), rgba(255, 255, 255, 0.015) 55%); }

.panel-title {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.check-list, .fine-list, .address-list, .hours-list, .contact-list, .link-list, .legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.62rem;
  color: var(--text-2);
  font-size: 0.94rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.6em;
  width: 8px; height: 8px;
  border: 1.5px solid var(--gold);
  rotate: 45deg;
}

.fine-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.815rem;
  color: var(--text-3);
  line-height: 1.55;
}
.fine-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-deep);
}

.highlight-line {
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.9rem 1.05rem;
  border-left: 2px solid var(--gold);
  background: rgba(216, 178, 106, 0.055);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.1rem;
}

.note-box {
  margin-top: 1.1rem;
  padding: 0.9rem 1.05rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--text-2);
}

.small { font-size: 0.815rem; color: var(--text-3); line-height: 1.6; }

/* ============================ Cars ============================ */

.cars-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.4rem, 3.4vw, 2.8rem);
  align-items: center;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding-top: clamp(2.2rem, 4.6vw, 3.2rem);
  border-top: 1px solid var(--line-soft);
}

.spec-table {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line-soft);
}
.spec-table > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.spec-table dt {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.spec-table dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.cars-visual { display: grid; gap: 1rem; }

.car-card {
  margin: 0;
  padding: clamp(1.2rem, 2.6vw, 2rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 120% at 50% 120%, rgba(216, 178, 106, 0.14), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  color: var(--gold);
  overflow: hidden;
}

.car-silhouette svg { width: 100%; height: auto; display: block; }

.car-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(216, 178, 106, 0.18);
}
.car-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.car-notes { font-size: 0.8rem; color: var(--text-3); }

/* ============================ Courses ============================ */

.course-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.45s var(--ease), background 0.4s ease;
}
.course-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-bright), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.course-card:hover { border-color: rgba(216, 178, 106, 0.35); transform: translateY(-3px); }
.course-card:hover::after { transform: scaleY(1); }

.course-index {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.course-card h3 { margin-bottom: 0.6rem; }

.course-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.course-more > p { overflow: hidden; margin: 0; }
.course-more.is-open { grid-template-rows: 1fr; }
.course-more.is-open > p { margin-top: 0.9rem; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.3s ease;
}
.link-more:hover { color: var(--gold-bright); }
.link-more .chev {
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  rotate: 45deg;
  transition: rotate 0.4s var(--ease);
}
.link-more[aria-expanded="true"] .chev { rotate: 225deg; }

/* ============================ Prices ============================ */

.trans-toggle {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 1.5rem;
}
.trans-btn {
  border: 0;
  background: none;
  color: var(--text-3);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.3s ease;
}
.trans-btn.is-active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  color: #17130a;
}

.price-board {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.price-table { width: 100%; border-collapse: collapse; }
.price-table caption { text-align: left; }

.price-table th, .price-table td {
  text-align: left;
  padding: clamp(0.78rem, 1.6vw, 1.05rem) clamp(0.9rem, 2vw, 1.6rem);
}
.price-table thead th {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.028);
  border-bottom: 1px solid var(--line);
}
.price-table thead th:last-child { color: var(--gold); }

.price-table tbody tr { border-bottom: 1px solid var(--line-soft); }
.price-table tbody tr:last-child { border-bottom: 0; }
.price-table tbody tr:hover { background: rgba(216, 178, 106, 0.035); }

.price-table tbody th {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--text);
}
.price-table tbody td {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-bright);
  white-space: nowrap;
  width: 30%;
}
.price-cell:not(.is-visible) { display: none; }

.price-updated {
  margin: 0;
  padding: 0.85rem clamp(0.9rem, 2vw, 1.6rem);
  font-size: 0.75rem;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.018);
  border-top: 1px solid var(--line-soft);
}

.block-list { list-style: none; margin: 0; padding: 0; }
.block-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
  color: var(--text-2);
}
.block-list li:last-child { border-bottom: 0; }
.block-list strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--gold-bright);
  white-space: nowrap;
}

/* ============================ Areas ============================ */

.chip-group { margin-bottom: clamp(1.6rem, 3.4vw, 2.4rem); }

.chip-label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.9rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chip {
  padding: 0.42rem 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.022);
  font-size: 0.83rem;
  color: var(--text-2);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease), background 0.3s ease;
}
.chip:hover {
  border-color: rgba(216, 178, 106, 0.45);
  color: var(--text);
  transform: translateY(-2px);
  background: rgba(216, 178, 106, 0.06);
}
.chip-gold {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  border-color: rgba(216, 178, 106, 0.35);
  color: var(--gold-bright);
}

.area-cta {
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  padding: clamp(1.5rem, 3.2vw, 2.4rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(216, 178, 106, 0.07), rgba(255, 255, 255, 0.012));
}
.area-cta .promo { color: var(--gold-bright); font-weight: 500; }
.area-cta .hero-cta { margin-bottom: 0; }

/* ============================ Reviews ============================ */

.reviews-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.1rem, 2.4vw, 1.9rem);
  align-items: start;
}

.rating-badge {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(216, 178, 106, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(216, 178, 106, 0.11), rgba(255, 255, 255, 0.015) 60%);
  text-align: center;
}
.rating-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.7rem;
}
.rating-stars {
  display: block;
  font-size: 1.7rem;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 1rem;
}
.rating-note { font-size: 0.9rem; margin-bottom: 1.4rem; }

/* ============================ Gift vouchers ============================ */

.voucher-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.9rem;
}

.voucher {
  position: relative;
  aspect-ratio: 5 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(216, 178, 106, 0.30);
  background:
    linear-gradient(140deg, rgba(216, 178, 106, 0.16), rgba(255, 255, 255, 0.02) 58%),
    linear-gradient(180deg, #14161b, #0d0f13);
  rotate: var(--angle, 0deg);
  transition: rotate 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.35s ease;
  overflow: hidden;
}
.voucher::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(216, 178, 106, 0.18);
  border-radius: 6px;
  pointer-events: none;
}
.voucher:hover { rotate: 0deg; transform: translateY(-4px); border-color: var(--gold); }

.voucher-amount {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: -0.01em;
}
.voucher-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ============================ FAQ / accordion ============================ */

.faq-list { display: grid; gap: 0.7rem; max-width: 940px; }

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.faq-item[open] { border-color: rgba(216, 178, 106, 0.30); background: rgba(216, 178, 106, 0.028); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: clamp(0.95rem, 2vw, 1.25rem) clamp(1.05rem, 2.2vw, 1.6rem);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-q {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 15px; height: 15px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.faq-icon::before { left: 0; top: 6.6px; width: 15px; height: 1.5px; }
.faq-icon::after { top: 0; left: 6.6px; width: 1.5px; height: 15px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-a {
  padding: 0 clamp(1.05rem, 2.2vw, 1.6rem) clamp(1.05rem, 2.2vw, 1.4rem);
  border-top: 1px solid var(--line-soft);
  padding-top: 1.05rem;
}
.faq-a p { font-size: 0.925rem; }
.faq-a h4 { margin-top: 1.3rem; }

.legal-list { counter-reset: legal; }
.legal-list li {
  position: relative;
  counter-increment: legal;
  padding-left: 2.1rem;
  margin-bottom: 0.7rem;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
}
.legal-list li::before {
  content: counter(legal);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(216, 178, 106, 0.3);
  border-radius: 5px;
  width: 1.5rem;
  text-align: center;
  padding: 0.05rem 0;
}

.link-list li { margin-bottom: 0.5rem; }
.link-list a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
  font-size: 0.92rem;
}
.link-list a:hover { color: var(--gold-bright); border-bottom-color: currentColor; }

/* ============================ Contact ============================ */

.section-contact {
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(216, 178, 106, 0.10), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent);
  border-top: 1px solid var(--line-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.1rem, 2.4vw, 1.9rem);
  align-items: start;
}

.contact-side { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem); }

.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-list li:last-child { border-bottom: 0; }
.ci-label {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ci-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-bright);
  transition: color 0.3s ease;
}
.ci-value:hover { color: var(--text); }

.address-list li {
  font-size: 0.9rem;
  color: var(--text-2);
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
}
.address-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 5px; height: 1.5px;
  background: var(--gold-deep);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--line-soft);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list strong { color: var(--gold-bright); font-family: var(--font-display); }

.quick-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ============================ Forms ============================ */

.form { margin-top: 1.2rem; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.2rem);
}

.field { margin-bottom: 1.05rem; display: flex; flex-direction: column; }

.field label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.req { color: var(--gold); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.field select option { background: #14161b; color: var(--text); }

.field input::placeholder, .field textarea::placeholder { color: #5c626d; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(216, 178, 106, 0.05);
  box-shadow: 0 0 0 3px rgba(216, 178, 106, 0.12);
}

.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 95, 86, 0.12);
}

.field-error {
  font-size: 0.76rem;
  color: var(--red);
  margin-top: 0.35rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.alert {
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
  border: 1px solid transparent;
}
.alert-ok {
  background: rgba(95, 211, 154, 0.09);
  border-color: rgba(95, 211, 154, 0.32);
  color: #a9ecc8;
}
.alert-err {
  background: rgba(255, 95, 86, 0.09);
  border-color: rgba(255, 95, 86, 0.32);
  color: #ffb3ae;
}

.btn.is-loading { opacity: 0.65; pointer-events: none; }

/* ============================ Footer ============================ */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(0, 0, 0, 0.35));
  padding: clamp(2.4rem, 5vw, 3.6rem) 0 clamp(5.5rem, 9vw, 3rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(1.6rem, 3.4vw, 2.6rem);
  align-items: start;
}

.footer-brand .brand-name {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: color 0.3s ease;
}
.footer-nav a:hover { color: var(--gold-bright); }

.footer-contact { display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-start; }
.footer-phone {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.footer-contact .small { color: var(--text-3); }

/* ============================ Chat widget ============================ */

.chat-root { position: fixed; right: clamp(0.9rem, 2.4vw, 1.8rem); bottom: clamp(0.9rem, 2.4vw, 1.8rem); z-index: 95; }

.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 178, 106, 0.35);
  background: linear-gradient(140deg, #17191e, #0e1014);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-lg), 0 0 0 0 rgba(216, 178, 106, 0.42);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.chat-launcher:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(216, 178, 106, 0.07);
}
.chat-launcher-icon { display: grid; place-items: center; }

.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  width: min(390px, calc(100vw - 2rem));
  max-height: min(620px, calc(100vh - 8rem));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(175deg, #131519, #0b0c0f);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: chatIn 0.42s var(--ease);
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.05rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(216, 178, 106, 0.055);
}
.chat-id { display: flex; align-items: center; gap: 0.7rem; }
.chat-avatar {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--gold-bright), var(--gold-deep));
  color: #17130a;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.chat-id strong { display: block; font-family: var(--font-display); font-size: 0.92rem; }
.chat-status { font-size: 0.7rem; color: var(--text-3); }

.chat-close {
  border: 0;
  background: none;
  color: var(--text-3);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: color 0.25s ease;
}
.chat-close:hover { color: var(--gold-bright); }

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 178, 106, 0.35) transparent;
}
.chat-log::-webkit-scrollbar { width: 6px; }
.chat-log::-webkit-scrollbar-thumb { background: rgba(216, 178, 106, 0.32); border-radius: 99px; }

.msg {
  max-width: 88%;
  padding: 0.7rem 0.95rem;
  border-radius: 13px;
  font-size: 0.885rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.msg-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.msg-user {
  align-self: flex-end;
  background: linear-gradient(140deg, rgba(216, 178, 106, 0.20), rgba(216, 178, 106, 0.09));
  border: 1px solid rgba(216, 178, 106, 0.28);
  color: var(--text);
  border-bottom-right-radius: 4px;
}
.msg-typing { display: inline-flex; gap: 4px; align-items: center; }
.msg-typing i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: typing 1.2s infinite ease-in-out;
}
.msg-typing i:nth-child(2) { animation-delay: 0.15s; }
.msg-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.28; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.05rem 0.75rem;
}
.chat-chip {
  border: 1px solid rgba(216, 178, 106, 0.28);
  background: rgba(216, 178, 106, 0.06);
  color: var(--gold-bright);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font-size: 0.74rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.chat-chip:hover { background: rgba(216, 178, 106, 0.15); border-color: var(--gold); }

.chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1.05rem 0.5rem;
  border-top: 1px solid var(--line-soft);
}
.chat-form input {
  flex: 1;
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
}
.chat-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(216, 178, 106, 0.05);
}

.chat-send {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(140deg, var(--gold-bright), var(--gold-deep));
  color: #17130a;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.chat-send:hover { transform: scale(1.07); }

.chat-foot {
  margin: 0;
  padding: 0 1.05rem 0.85rem;
  font-size: 0.68rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* ============================ Scroll reveal ============================ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================ Responsive ============================ */

@media (max-width: 1080px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 84vw);
    margin: 0;
    padding: 5.5rem 1.5rem 2rem;
    background: linear-gradient(180deg, #101216, #0a0b0d);
    border-left: 1px solid var(--line);
    transform: translateX(101%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
    z-index: 85;
    box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.9);
  }
  .site-nav.is-open { transform: translateX(0); }

  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }

  .nav-link {
    display: block;
    padding: 0.85rem 0.6rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-link::after { display: none; }

  .nav-toggle { display: grid; place-items: center; }
  .btn-phone { display: none; }

  .cars-block { grid-template-columns: 1fr; }
  .reviews-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  .price-table thead th:first-child { width: 60%; }
  .price-table tbody td { font-size: 1rem; width: 40%; }

  .chat-launcher-text { display: none; }
  .chat-launcher { padding: 0.9rem; }
  .chat-panel {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 84vh;
    border-radius: 18px 18px 0 0;
  }
  .chat-root { right: 1rem; bottom: 1rem; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .trans-toggle { width: 100%; justify-content: stretch; }
  .trans-btn { flex: 1; }
  .quick-actions .btn { width: 100%; }
}

/* ============================ Motion / print ============================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .chat-root, .marquee, .nav-scrim { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .panel, .course-card, .faq-item { border-color: #ccc; }
}
