/* Go Kart Cluj, runda 3: „calea de mijloc”.
   Schelet clar de site de rezervări; brandul (plăcuța galbenă, turcoazul flotei, semaforul, bordura) stă deasupra.
   Proiectat întâi la 390px. Două familii: Big Shoulders doar la h1/h2, Red Hat Text la tot restul. */

@font-face { font-family: "Big Shoulders"; font-weight: 800; font-display: swap; src: url(../fonts/big-shoulders-display-latin-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Big Shoulders"; font-weight: 800; font-display: swap; src: url(../fonts/big-shoulders-display-latin-ext-800.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Red Hat Text"; font-weight: 400; font-display: swap; src: url(../fonts/red-hat-text-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Red Hat Text"; font-weight: 400; font-display: swap; src: url(../fonts/red-hat-text-latin-ext-400.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Red Hat Text"; font-weight: 500; font-display: swap; src: url(../fonts/red-hat-text-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Red Hat Text"; font-weight: 500; font-display: swap; src: url(../fonts/red-hat-text-latin-ext-500.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Red Hat Text"; font-weight: 700; font-display: swap; src: url(../fonts/red-hat-text-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Red Hat Text"; font-weight: 700; font-display: swap; src: url(../fonts/red-hat-text-latin-ext-700.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- jetoane ---------- */
:root {
  --turcoaz: #1fc0c0;       /* flota de karturi: header, hero, vouchere */
  --turcoaz-ink: #05686b;   /* turcoaz pentru iconițe și linkuri pe fundal deschis */
  --turcoaz-soft: #dcf3f2;
  --placuta: #eee04a;       /* plăcuța de număr: logo, ecusonul clasei, voucherul */
  --asfalt: #1f2324;
  --asfalt-2: #3a4143;
  --beton-1: #f2f1ec;       /* fundalul dominant */
  --beton-2: #e4e3dc;       /* alternanța */
  --alb: #fdfdfb;           /* carduri și formulare */
  --linie: #cac8be;
  --text-2: #4a4f51;
  --field-line: #6f736f;
  --rosu: #c8362e;          /* bordura */
  --rosu-ink: #a3241d;      /* erori */
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --body: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 6px;
  --pad: 16px;
  --bar-h: 60px;
  --mbar-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 600px) { :root { --pad: 24px; } }
@media (min-width: 1100px) { :root { --pad: 40px; --bar-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--beton-1); color: var(--asfalt); font: 400 17px/1.55 var(--body); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.ic { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
:focus-visible { outline: 3px solid var(--asfalt); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--asfalt); color: var(--placuta); padding: 12px 16px; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 12px; }

/* bordura roșu cu alb: doar sub hero și deasupra footerului */
.kerb { height: 10px; background: repeating-linear-gradient(90deg, var(--rosu) 0 32px, #f6f3ea 32px 64px); }

/* ---------- plăcuța (logo propus de Nexio) ---------- */
.plate { display: inline-flex; align-items: center; gap: .3em; background: var(--placuta); color: var(--asfalt); border: 2px solid var(--asfalt); border-radius: var(--r);
  font: 800 21px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; padding: 6px 8px; white-space: nowrap; }
.plate b { font-weight: 800; background: var(--asfalt); color: var(--placuta); padding: 3px 5px 2px; border-radius: 3px; }
.badge { display: inline-grid; place-items: center; min-width: 52px; height: 44px; padding: 0 6px; background: var(--placuta); border: 2px solid var(--asfalt); border-radius: var(--r);
  font: 800 28px/1 var(--display); flex: none; }
.badge-sm { min-width: 44px; height: 38px; font-size: 24px; }

/* ---------- butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: var(--r); border: 2px solid transparent;
  font: 700 16px/1.2 var(--body); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s, color .2s, transform .15s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--asfalt); color: var(--placuta); }
.btn-dark:hover { background: var(--asfalt-2); }
.btn-line { border-color: var(--asfalt); color: var(--asfalt); background: transparent; }
.btn-line:hover { background: var(--asfalt); color: var(--alb); }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--asfalt); color: var(--alb); }
.bar .plate { border-color: var(--placuta); }
.bar :focus-visible { outline-color: var(--placuta); }
.bar-in { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); height: var(--bar-h); display: flex; align-items: center; gap: 28px; }
.brand { text-decoration: none; margin-right: auto; display: inline-flex; min-height: 44px; align-items: center; }
.nav { display: none; gap: 26px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 16px; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--placuta); }
.bar .bar-cta { background: var(--placuta); color: var(--asfalt); }
.bar .bar-cta:hover { background: #f6ea6e; }
.bar-cta { display: none; }
.burger { display: flex; width: 46px; height: 46px; border: 2px solid #8a9294; border-radius: var(--r); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2.5px; background: var(--alb); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--alb); color: var(--asfalt); border-top: 4px solid var(--placuta); border-bottom: 2px solid var(--asfalt); box-shadow: 0 18px 30px -18px rgba(31, 35, 36, .45);
  max-height: calc(100svh - var(--bar-h)); overflow-y: auto; }
.menu-nav { display: flex; flex-direction: column; padding: 4px var(--pad) 0; }
.menu-nav a { display: flex; align-items: center; min-height: 52px; font-size: 18px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--linie); }
.menu-nav a:hover { color: var(--turcoaz-ink); }
.menu-foot { display: grid; gap: 10px; padding: 16px var(--pad) 20px; }
.menu :focus-visible { outline-color: var(--asfalt); }
@media (min-width: 1100px) {
  .nav, .bar-cta { display: flex; }
  .burger, .menu { display: none !important; }
}

/* ---------- HERO ---------- */
/* header asfalt, hero pe beton: kartul turcoaz are nevoie de un fundal care nu e turcoaz */
.hero { background: var(--beton-2); overflow: hidden; }
.hero-text { padding: 22px var(--pad) 6px; }
.lights { display: inline-flex; gap: 7px; padding: 7px 9px; background: var(--asfalt); border-radius: var(--r); margin-bottom: 16px; }
.lights i { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #4b5254; }
.lights i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #ff4034; opacity: 0; }
@keyframes lamp { from, to { opacity: 1; } }
.hero h1 { font: 800 clamp(40px, 6vw, 76px)/1.06 var(--display); letter-spacing: .005em; max-width: 13ch; overflow-wrap: anywhere; margin-bottom: 12px; }
.hero-sub { font-size: 18px; line-height: 1.5; font-weight: 500; max-width: 38ch; margin-bottom: 22px; }
.hero-ctas { display: grid; gap: 10px; }
.hero-scene .scene { display: block; width: 100%; height: auto; }

/* kartul: intră o dată (1,1 s), cu roțile, liniile de viteză și puțin praf; apoi doar o vibrație discretă de motor */
.k-speed, .k-dust circle { opacity: 0; }
.k-wheel, .k-dust circle { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .lights i::after { animation: lamp var(--d) linear var(--s) 1; }
  .lights i:nth-child(1) { --s: .2s; --d: .95s; }
  .lights i:nth-child(2) { --s: .36s; --d: .79s; }
  .lights i:nth-child(3) { --s: .52s; --d: .63s; }
  .lights i:nth-child(4) { --s: .68s; --d: .47s; }
  .lights i:nth-child(5) { --s: .84s; --d: .31s; }
  .k-move { animation: k-in 1.1s cubic-bezier(.16, .84, .3, 1) both; }
  .k-wheel { animation: k-roll 1.1s cubic-bezier(.16, .84, .3, 1) both; }
  .k-speed { animation: k-speed 1.1s ease-out both; }
  .k-dust circle { animation: k-dust .75s ease-out .45s both; }
  .k-body { animation: k-idle .17s ease-in-out 1.15s infinite alternate; }
  .hero.off .k-body { animation-play-state: paused; }
}
@keyframes k-in { from { transform: translateX(-260px); opacity: 0; } 18% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes k-roll { from { transform: rotate(-560deg); } to { transform: none; } }
@keyframes k-speed { from { opacity: 0; transform: translateX(60px); } 30% { opacity: 1; } to { opacity: 0; transform: translateX(-20px); } }
@keyframes k-dust { from { opacity: 0; transform: scale(.3); } 30% { opacity: .9; } to { opacity: 0; transform: scale(1.6); } }
@keyframes k-idle { to { transform: translateY(-.8px); } }

@media (min-width: 600px) {
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .hero-text { padding-bottom: 10px; }
  .hero-scene { max-width: 640px; margin-left: auto; }
}
@media (min-width: 900px) {
  .hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: clamp(440px, 60vh, 560px); }
  .hero-text { align-self: center; padding: 44px 24px 56px max(var(--pad), calc((100vw - 1200px) / 2 + var(--pad))); }
  .hero-sub { font-size: 20px; }
  .hero-scene { align-self: end; justify-self: stretch; max-width: none; margin: 24px 0 0; }
}

/* ---------- fișa rapidă ---------- */
.fisa { padding: 20px 0 24px; }
.fisa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { background: var(--alb); border: 1px solid var(--linie); border-radius: var(--r); }
.fact, .fact-link { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 7px; align-content: start; padding: 12px 14px 14px; }
.fact:has(.fact-link) { display: block; padding: 0; }
.fact-link { height: 100%; text-decoration: none; }
.fact .ic { width: 20px; height: 20px; color: var(--turcoaz-ink); align-self: center; }
.fact-lbl { font-size: 14px; font-weight: 500; color: var(--text-2); }
.fact-val, .fact-sub { grid-column: 1 / -1; }
.fact-val { font-size: 19px; font-weight: 700; line-height: 1.25; margin: 2px 0 2px; }
.fact-link .fact-val { text-decoration: underline; text-decoration-color: var(--turcoaz-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fact-sub { font-size: 14px; color: var(--text-2); line-height: 1.4; }
.fisa-grup { display: flex; align-items: center; gap: 12px; margin-top: 10px; min-height: 56px; padding: 12px 14px; background: var(--alb); border: 1px solid var(--linie); border-radius: var(--r);
  font-size: 16px; line-height: 1.4; text-decoration: none; }
.fisa-grup .ic { width: 26px; height: 26px; color: var(--turcoaz-ink); }
.fisa-grup b { white-space: nowrap; text-decoration: underline; text-decoration-color: var(--turcoaz-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fact-link:hover .fact-val, .fisa-grup:hover b { color: var(--turcoaz-ink); }
@media (min-width: 700px) { .fisa-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .fisa { padding: 28px 0 8px; }
  .fisa-grid { gap: 16px; }
  .fact, .fact-link { padding: 18px; }
  .fact-val { font-size: 21px; }
}


/* ---------- secțiuni ---------- */
.sec { padding: 56px 0; }
@media (min-width: 900px) { .sec { padding: 88px 0; } }
.h2 { font: 800 clamp(36px, 4.6vw, 56px)/1.06 var(--display); letter-spacing: .005em; margin-bottom: 10px; overflow-wrap: anywhere; }
.lead { font-size: 18px; color: var(--text-2); max-width: 60ch; margin-bottom: 26px; }
.rezerva, .contact, .clasament { background: var(--beton-2); }
.panel { background: var(--alb); border: 1px solid var(--linie); border-radius: var(--r); padding: 18px; }
@media (min-width: 600px) { .panel { padding: 26px; } }
.panel-h { font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 16px; }

/* ---------- prețuri ---------- */
.preturi { padding-top: 40px; }
@media (min-width: 900px) { .preturi { padding-top: 72px; } }
.price-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .price-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.pcard { display: flex; flex-direction: column; background: var(--alb); border: 1px solid var(--linie); border-radius: var(--r); padding: 20px; }
@media (min-width: 600px) { .pcard { padding: 28px; } }
.pcard-head { display: flex; align-items: center; gap: 14px; }
.pcard-head h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.pcard-head p { font-size: 16px; color: var(--text-2); }
.pcard-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 20px 0 14px; padding-top: 16px; border-top: 1px solid var(--linie); }
.pcard-price b { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.pcard-price span { font-size: 16px; color: var(--text-2); }
.checks { display: grid; gap: 8px; margin-bottom: 22px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.checks .ic { color: var(--turcoaz-ink); margin-top: 1px; }
.pcard .btn { margin-top: auto; }
.notes { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 760px) { .notes { grid-template-columns: 1fr 1fr; gap: 24px; } }
.notes li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.notes .ic { width: 26px; height: 26px; color: var(--turcoaz-ink); }
.fine { margin-top: 18px; font-size: 14px; color: var(--text-2); }

/* ---------- formulare ---------- */
.step { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.step:last-child { margin-bottom: 0; }
.step legend { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; padding: 0; margin-bottom: 12px; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; background: var(--asfalt); color: var(--alb); border-radius: 50%; font-size: 15px; font-weight: 700; }
.hint { font-size: 15px; color: var(--text-2); margin: -4px 0 10px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label, .lbl { display: block; font-weight: 700; font-size: 15px; }
.lbl { margin-bottom: 8px; }
.field .lbl { margin-bottom: 0; }
.field label small, .lbl small { font-weight: 400; color: var(--text-2); font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; background: #fff; border: 2px solid var(--field-line); border-radius: var(--r); padding: 12px 14px; font-size: 16px; min-height: 52px; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #686c69; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--turcoaz-ink); outline-offset: 0; border-color: var(--asfalt); }
.field.invalid input { border-color: var(--rosu-ink); }
.err { display: flex; align-items: center; gap: 6px; color: var(--rosu-ink); font-size: 15px; font-weight: 500; margin-top: 6px; }
.field .err { margin-top: 0; }
.fields-2 { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .fields-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form-note { font-size: 15px; color: var(--text-2); margin-top: 12px; }

/* alegeri (zi, oră, sesiuni) */
.chip { position: relative; }
.chip input, .seg input, .v-picks input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: grid; place-items: center; min-height: 48px; padding: 6px 4px; border: 2px solid var(--field-line); border-radius: var(--r); background: #fff; font-weight: 700; line-height: 1.15; text-align: center; transition: background-color .15s, color .15s; }
.chip input:checked + span, .seg input:checked + span, .v-picks input:checked + span { background: var(--asfalt); border-color: var(--asfalt); color: var(--alb); }
.chip input:focus-visible + span, .seg input:focus-visible + span, .v-picks input:focus-visible + span { outline: 3px solid var(--turcoaz-ink); outline-offset: 2px; }
.chip:hover span, .seg label:hover span, .v-picks label:hover span { border-color: var(--asfalt); }
.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .days { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.day span { min-height: 72px; gap: 1px; }
.day small { font-size: 14px; font-weight: 500; line-height: 1.1; }
.day b { font-size: 21px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slots .chip span { font-variant-numeric: tabular-nums; font-size: 16px; }
.slots-empty { color: var(--text-2); }

.pilots { display: grid; gap: 12px; margin-bottom: 18px; }
.pilot-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.pilot-lbl { font-weight: 700; line-height: 1.3; }
.pilot-lbl small { display: block; font-weight: 400; color: var(--text-2); font-size: 14px; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper output { min-width: 2ch; text-align: center; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.step-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--asfalt); background: #fff; border-radius: var(--r); cursor: pointer; }
.step-btn:hover:not(:disabled) { background: var(--asfalt); color: var(--alb); }
.step-btn:disabled { opacity: .35; cursor: not-allowed; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; flex: 1 1 auto; min-width: 0; }
.seg label span { display: grid; place-items: center; min-height: 48px; padding: 8px 10px; border: 2px solid var(--field-line); border-radius: var(--r); background: #fff; font-weight: 700; font-size: 16px; text-align: center; line-height: 1.2; }
.seg-full { margin-bottom: 16px; }
.seg-wrap { margin-bottom: 16px; }
.group-hint { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; background: var(--turcoaz-soft); border-radius: var(--r); font-size: 16px; }
.group-hint .ic { margin-top: 2px; color: var(--turcoaz-ink); }
.group-hint a { font-weight: 700; }

/* ---------- rezervare ---------- */
.book { display: grid; gap: 16px; align-items: start; }
@media (min-width: 960px) { .book { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; } }
.summary { border-top: 6px solid var(--asfalt); }
@media (min-width: 960px) { .summary { position: sticky; top: calc(var(--bar-h) + 20px); } }
.summary-h { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.summary-rows div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--linie); font-size: 16px; }
.summary-rows dt { color: var(--text-2); }
.summary-rows dd { font-weight: 700; text-align: right; }
.summary-rows dd.empty { color: var(--rosu-ink); font-weight: 500; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 16px 0; }
.summary-total span { font-weight: 500; }
.summary-total b { font-size: 34px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.summary-note { font-size: 15px; color: var(--text-2); margin-top: 10px; }

/* confirmarea și emailul primit de pistă */
.done { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .done:not(.done-single) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; } }
.done:focus { outline: none; }
.done-head h3 { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.done-head h3 .ic { width: 36px; height: 36px; padding: 6px; border-radius: 50%; background: var(--asfalt); color: var(--placuta); }
.done-head p { margin-bottom: 16px; max-width: 48ch; }
.done-rows { margin-bottom: 20px; }
.done-rows div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 6px 0; }
.done-rows dt { color: var(--text-2); }
.done-rows dd { font-weight: 700; }
.inbox-lbl { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.mail { background: #fff; border: 1px solid var(--linie); border-top: 6px solid var(--turcoaz); border-radius: var(--r); padding: 18px; }
.mail-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--linie); }
.mail-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--asfalt); color: var(--placuta); flex: none; }
.mail-head b { display: block; line-height: 1.3; }
.mail-head small { color: var(--text-2); font-size: 14px; }
.mail-rows { padding: 10px 0; }
.mail-rows div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 5px 0; font-size: 15px; }
.mail-rows dt { color: var(--text-2); }
.mail-rows dd { font-weight: 500; overflow-wrap: anywhere; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.btn-wa { background: var(--turcoaz); color: var(--asfalt); }
.btn-wa:hover { background: #45d3d3; }
.mail-preview { margin-top: 14px; padding: 12px 14px; background: var(--turcoaz-soft); border-radius: var(--r); font-size: 15px; }
.mail-preview span { display: block; font-weight: 700; margin-bottom: 4px; }

/* ---------- vouchere ---------- */
.vouchere { background: var(--turcoaz); }
.vouchere .lead { color: var(--asfalt); }
.v-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) {
  .v-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; }
  .v-preview { position: sticky; top: calc(var(--bar-h) + 24px); }
}
.vplate { background: var(--placuta); border: 3px solid var(--asfalt); border-radius: 10px; padding: 18px 20px 16px; }
@media (min-width: 600px) { .vplate { padding: 28px 30px 22px; } }
.vplate-top { display: flex; justify-content: space-between; align-items: center; font: 800 20px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.vplate-top span:last-child { background: var(--asfalt); color: var(--placuta); padding: 4px 7px 3px; border-radius: 3px; }
.vplate-value { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 6px; }
.vplate-value b { font: 800 clamp(64px, 11vw, 120px)/.85 var(--display); }
.vplate-value span { font: 800 30px/1 var(--display); text-transform: uppercase; }
.vplate-what { font-weight: 700; font-size: 17px; line-height: 1.35; max-width: 32ch; margin-bottom: 10px; }
.vplate-to, .vplate-msg { font-size: 16px; }
.vplate-msg { margin-top: 6px; font-weight: 500; }
.vplate-code { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 14px; padding-top: 12px; border-top: 2px dashed rgba(31, 35, 36, .5); font-size: 14px; font-variant-numeric: tabular-nums; }
.v-picks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 18px; }
.v-picks label { position: relative; }
.v-picks span { display: grid; align-content: start; gap: 2px; height: 100%; min-height: 64px; padding: 10px 12px; border: 2px solid var(--field-line); border-radius: var(--r); background: #fff; }
.v-picks b { font-size: 15px; line-height: 1.3; }
.v-picks small { font-size: 15px; font-weight: 500; }
.vouchere .done { margin-top: 0; }
.vouchere .mail { border-top-color: var(--asfalt); }

/* ---------- grupuri ---------- */
.grup-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .grup-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.grup-phone { display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px 10px 14px; margin-bottom: 28px; background: var(--alb); border: 2px solid var(--asfalt); border-radius: var(--r); text-decoration: none; }
.grup-phone .ic { width: 28px; height: 28px; color: var(--turcoaz-ink); }
.grup-phone small { display: block; font-size: 14px; color: var(--text-2); font-weight: 500; }
.grup-phone b { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.grup-phone:hover { background: var(--asfalt); color: var(--alb); }
.grup-phone:hover small, .grup-phone:hover .ic { color: var(--placuta); }
.formats { display: grid; gap: 18px; }
.formats li, .facts3 li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
.formats .ic, .facts3 .ic { width: 28px; height: 28px; color: var(--turcoaz-ink); margin-top: 2px; }
.formats h3, .facts3 h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 2px; }
.formats p, .facts3 p { color: var(--text-2); font-size: 16px; max-width: 46ch; }

/* ---------- program și locație ---------- */
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; } }
.hours { width: 100%; max-width: 480px; border-collapse: collapse; margin: 8px 0 12px; font-size: 17px; }
.hours th, .hours td { padding: 12px 12px; border-bottom: 1px solid var(--linie); }
.hours th { text-align: left; font-weight: 500; }
.hours td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours tr.today { background: var(--alb); }
.hours tr.today th { font-weight: 700; box-shadow: inset 4px 0 0 var(--turcoaz-ink); }
.hours .azi { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 3px; background: var(--asfalt); color: var(--alb); font-size: 14px; font-weight: 700; }
.hours-note { display: flex; gap: 10px; align-items: flex-start; max-width: 480px; font-size: 16px; color: var(--text-2); margin-bottom: 22px; }
.hours-note .ic { color: var(--turcoaz-ink); margin-top: 2px; }
.cinfo { margin-bottom: 22px; max-width: 480px; }
.cinfo div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 48px; border-bottom: 1px solid var(--linie); }
.cinfo dt { color: var(--text-2); font-size: 15px; }
.cinfo dd a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration-color: var(--turcoaz-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contact-ctas { display: grid; gap: 10px; }
@media (min-width: 600px) { .contact-ctas { display: flex; flex-wrap: wrap; } }
.map { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--linie); aspect-ratio: 11 / 8; background: #e6e3da; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-100% - 18px)); }
.pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 3px; height: 18px; background: var(--asfalt); transform: translateX(-50%); }
.plate-pin { font-size: 17px; box-shadow: 0 6px 14px -6px rgba(31, 35, 36, .6); }
.map-osm { position: absolute; right: 6px; bottom: 6px; font-size: 12px; background: rgba(253, 253, 251, .92); padding: 2px 6px; border-radius: 3px; }

/* ---------- pista ---------- */
.pista-grid { display: grid; gap: 24px; align-items: start; margin-bottom: 32px; }
@media (min-width: 900px) { .pista-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } }
.circuit { background: var(--alb); border: 1px solid var(--linie); border-radius: var(--r); padding: 12px 12px 14px; }
.circuit-svg { width: 100%; height: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 15px; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 22px; height: 10px; border-radius: 2px; flex: none; }
.lg-start { background: repeating-conic-gradient(var(--asfalt) 0 25%, #fff 0 50%) 0 0 / 10px 10px; border: 1px solid var(--asfalt); }
.lg-pit { height: 0; border-top: 3px dashed #7c8183; border-radius: 0; }
.lg-kerb { background: repeating-linear-gradient(90deg, var(--rosu) 0 5px, #fff 5px 10px); border: 1px solid var(--linie); }
.circuit figcaption, .ph figcaption { font-size: 14px; color: var(--text-2); margin-top: 8px; }
.pista-photos { display: grid; gap: 18px; }
@media (min-width: 600px) and (max-width: 899px) { .pista-photos { grid-template-columns: 1fr 1fr; } }
.ph img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; }
.facts3 { display: grid; gap: 18px; }
@media (min-width: 760px) { .facts3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

/* ---------- clasament ---------- */
.lb-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .lb-grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; } }
.champ { background: var(--alb); border: 1px solid var(--linie); border-radius: var(--r); padding: 18px; max-width: 560px; }
.champ h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.champ h3 .ic { color: var(--turcoaz-ink); width: 26px; height: 26px; }
.champ p { color: var(--text-2); font-size: 16px; margin-bottom: 14px; }
.champ .field { margin-bottom: 0; }
.inline { display: grid; gap: 8px; }
@media (min-width: 420px) { .inline { grid-template-columns: minmax(0, 1fr) auto; } }
.champ-ok { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.tabs button { flex: 1; min-height: 48px; border: 2px solid var(--asfalt); border-radius: var(--r); background: transparent; font-size: 17px; font-weight: 700; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--asfalt); color: var(--alb); }
.lb-panel { padding: 16px 18px; }
.lb-title { font-weight: 700; margin-bottom: 8px; }
.lb-table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.lb-table th { text-align: left; font-size: 14px; font-weight: 500; color: var(--text-2); padding: 6px 0; border-bottom: 1px solid var(--linie); }
.lb-table td { padding: 9px 0; border-bottom: 1px solid var(--linie); }
.lb-table tr:last-child td { border-bottom: 0; }
.lb-table td:nth-child(1), .lb-table th:nth-child(1) { width: 3.2ch; }
.lb-table td:nth-child(3), .lb-table th:nth-child(3) { text-align: right; padding-right: 10px; }
.lb-table td:nth-child(4), .lb-table th:nth-child(4) { text-align: right; color: var(--text-2); white-space: nowrap; }
.lb-table tr.top td:nth-child(-n+3) { font-weight: 700; }
.lb-table tr.p1 td:nth-child(3) span { background: var(--placuta); padding: 1px 5px; border-radius: 3px; }
.lb-foot { margin-top: 10px; font-size: 14px; color: var(--text-2); }
@media (max-width: 379px) { .lb-table td:nth-child(4), .lb-table th:nth-child(4) { display: none; } .lb-table td:nth-child(3), .lb-table th:nth-child(3) { padding-right: 0; } }

/* ---------- întrebări ---------- */
.faq-cols { display: grid; gap: 10px; align-items: start; }
@media (min-width: 900px) { .faq-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 24px; } }
.faq details { background: var(--alb); border: 1px solid var(--linie); border-radius: var(--r); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; font-weight: 700; font-size: 17px; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 16px 16px; color: var(--text-2); max-width: 60ch; }
.faq details a { font-weight: 700; }

/* ---------- footer ---------- */
.foot { background: var(--asfalt); color: var(--alb); }
.foot-grid { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 28px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: 1.4fr 1.2fr .9fr 1.1fr; gap: 36px; } }
.foot-brand p { margin: 16px 0; color: #d0d3cd; max-width: 38ch; font-size: 15px; }
.foot-brand .plate { border-color: var(--placuta); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid #6d7472; border-radius: var(--r); }
.social a:hover { background: var(--placuta); color: var(--asfalt); border-color: var(--placuta); }
.foot-h { font-size: 16px; font-weight: 700; color: var(--placuta); margin-bottom: 6px; }
.foot-col li { font-size: 15px; }
.foot-col a, .foot-col li > span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.foot-col a:hover { color: var(--placuta); text-decoration: underline; }
.foot-col .ic { color: #b9c0bd; }
.foot-firm { font-size: 15px; color: #d0d3cd; margin-bottom: 6px; }
.foot-bottom { display: grid; gap: 14px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(253, 253, 251, .2); }
.anpc { display: flex; flex-wrap: wrap; gap: 12px; }
.anpc a { display: block; background: #fff; border-radius: var(--r); padding: 4px 6px; }
.anpc img { width: 180px; height: auto; }
.foot-small { font-size: 13px; color: #c3c7c1; }
.foot-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.foot-copy a { color: var(--placuta); }
.foot :focus-visible { outline-color: var(--placuta); }

/* ---------- bara fixă de jos (doar pe telefon) ---------- */
.mbar { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom)); }
  .legal-page { padding-bottom: 0; }
  .mbar { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: var(--asfalt); color: var(--alb); border-top: 2px solid var(--placuta);
    transform: translateY(105%); transition: transform .25s var(--ease); }
  .mbar.show { transform: none; }
  .mbar-btn, .mbar-main { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 6px; border-radius: var(--r); font: 700 15px/1.1 var(--body); text-decoration: none; white-space: nowrap; }
  .mbar-btn { border: 2px solid #687072; color: var(--alb); padding: 0 12px; }
  .mbar-main { border: 0; background: var(--placuta); color: var(--asfalt); cursor: pointer; font-size: 16px; }
  .mbar :focus-visible { outline-color: var(--placuta); }
}
@media (max-width: 399px) { .mbar-btn .ic { display: none; } }

/* ---------- pagini legale ---------- */
.legal { padding: 48px 0 64px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font: 800 clamp(38px, 6vw, 60px)/1.06 var(--display); margin-bottom: 16px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 30px 0 8px; }
.legal p, .legal li { margin-bottom: 10px; max-width: 68ch; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .note { background: var(--alb); border-left: 4px solid var(--turcoaz-ink); padding: 12px 16px; border-radius: var(--r); font-weight: 500; }
.legal-back { margin-top: 24px; }

/* ecrane foarte înguste (320-359px): fișa rapidă mai compactă, ora pe un singur rând */
#aziOre { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 359px) {
  .fact, .fact-link { padding: 10px 11px 12px; }
  .fact-val { font-size: 17px; }
  .fisa-grid { gap: 8px; }
}
