/* ============================================================
   INTER CARS ROMÂNIA — style.css
   Site de prezentare + booking. Vanilla CSS, fără framework.
   Design tokens → componente → secțiuni → responsive.
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Paletă „garaj nocturn": aproape-negru + ambră sodiu */
  --bg:            #07090d;
  --bg-2:          #0b0e14;
  --surface:       #10141c;
  --surface-2:     #151a24;
  --line:          #1e2532;
  --line-strong:   #2c3547;

  --text:          #eceef2;
  --dim:           #9aa3b3;
  --faint:         #626c7e;

  --accent:        #f5a524;   /* ambră sodiu — lumină de atelier */
  --accent-hi:     #ffbf47;
  --accent-ink:    #1a1206;

  --ok:            #34d399;   /* urgență normală / status OK   */
  --warn:          #fbbf24;   /* urgență ridicată              */
  --crit:          #f87171;   /* urgență critică               */
  --info:          #38bdf8;   /* live / activ                  */

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --font-body:     'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display:  'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --header-h: 78px;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .65);
  --glow: 0 0 0 1px rgba(245, 165, 36, .35), 0 10px 40px -10px rgba(245, 165, 36, .35);
}

/* ---------- 2. Reset & bază ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

fieldset { border: 0; min-width: 0; }
legend { padding: 0; display: block; width: 100%; }

html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--text); }
ul[role="list"], ol[role="list"] { list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* Scrollbar subțire, tematizat */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--faint); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 18px; border-radius: var(--r-sm);
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- 3. Tipografie & utilitare ---------- */
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 14px 0 0;
  /* randurile se echilibreaza singure, la orice latime: cu <br> hard-codat
     ultimul cuvant ramanea orfan pe randul trei */
  text-wrap: balance;
}
.hero-sub, .section-lead, .head-right p { text-wrap: pretty; }
.section-title em { font-style: normal; color: var(--accent); }

.section-lead {
  color: var(--dim);
  max-width: 56ch;
  margin-top: 16px;
  font-size: 1.05rem;
}

.mono { font-family: var(--font-mono); }

/* Reveal la scroll: blur → sharp */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }

/* ---------- 4. Butoane ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary::after {           /* sheen */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s var(--ease);
}
.btn--primary:hover { background: var(--accent-hi); box-shadow: var(--glow); transform: translateY(-2px); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn--sm { padding: 10px 20px; font-size: .85rem; }

/* Link cu underline-sweep */
.link-sweep {
  position: relative;
  color: var(--dim);
  font-weight: 500;
  transition: color .25s var(--ease);
}
.link-sweep::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.link-sweep:hover { color: var(--text); }
.link-sweep:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 60px;
  background: rgba(7, 9, 13, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand-mark {
  width: 34px; height: 34px;
  flex: none;
}
.brand b { color: var(--accent); font-weight: 700; }

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}
.main-nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--dim);
  padding: 6px 0;
  position: relative;
  transition: color .25s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* Hamburger → overlay */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  position: relative;
  z-index: 210;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px;
  height: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Bară de progres a paginii */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 220;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .55;
  transform: scale(1.06);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(7,9,13,.35) 40%, rgba(7,9,13,.55) 100%),
    radial-gradient(60% 60% at 20% 60%, rgba(245,165,36,.12), transparent 70%);
}
#hero-canvas {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 40px) 0 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
}
.hero-copy { grid-column: 1 / 9; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .005em;
  margin-top: 18px;
}
/* `overflow: hidden` taia virgula de sub Ș și Ț, deci titlul se citea
   „MASINA TA". clip-path face acelasi lucru pentru animatia de reveal
   (ascunde randul pana urca in cadru), dar lasa loc sub linia de baza
   pentru diacriticele romanesti cu virgula. */
.hero-title .line { display: block; clip-path: inset(-0.06em -0.12em -0.2em -0.12em); }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroLine 1s var(--ease) forwards;
  animation-delay: calc(var(--i) * 120ms + 150ms);
}
.hero-title em { font-style: normal; color: var(--accent); }
@keyframes heroLine { to { transform: translateY(0); } }

.hero-sub {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--dim);
  font-size: 1.1rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* Panou urgență în hero */
.hero-urgent {
  grid-column: 9 / 13;
  border: 1px solid var(--line);
  border-left: 3px solid var(--crit);
  background: rgba(16, 20, 28, .7);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  padding: 22px 24px;
}
.hero-urgent h2 {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--crit);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.hero-urgent p { color: var(--dim); font-size: .92rem; margin: 10px 0 16px; }
.hero-urgent .phone {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: .04em;
}

/* Punct pulsant (status live) */
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  position: relative;
  flex: none;
}
.pulse-dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.5); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Bandă meta sub hero */
.hero-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line);
  background: rgba(7, 9, 13, .6);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.hero-meta .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding-block: 16px;
}
.hero-meta span {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-meta b { color: var(--dim); font-weight: 500; }

/* ---------- 7. Statistici ---------- */
.stats {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 44px 32px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-value sup { color: var(--accent); font-size: .55em; top: -.6em; }
.stat-label {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- 8. Secțiuni generale ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 64px);
  align-items: end;
}
.section-head .head-left { grid-column: 1 / 8; }
.section-head .head-right { grid-column: 9 / 13; }
.head-right p { color: var(--dim); font-size: .98rem; }

/* ---------- 9. Servicii ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.service-card {
  grid-column: span 4;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
/* Decalajul de 28px pe cardul din mijloc citea ca nealiniere, nu ca stagger:
   cardurile au aceeasi inaltime, deci ochiul il vede ca pe o greseala. */

.service-figure {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-figure picture { display: contents; }
.service-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.service-card:hover .service-figure img { transform: scale(1.06); }
.service-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--surface) 2%, transparent 40%);
}
.service-num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--accent);
  background: rgba(7,9,13,.72);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}
.service-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.service-body p { color: var(--dim); font-size: .95rem; flex: 1; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tags li {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  list-style: none;
}

/* ---------- 10. Cum funcționează ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step {
  padding: 40px 34px 46px;
  border-left: 1px solid var(--line);
  position: relative;
  background: var(--bg);
  transition: background-color .35s var(--ease);
}
.step:first-child { border-left: 0; }
.step:hover { background: var(--surface); }
.step-num {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--accent);
  letter-spacing: .2em;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 14px 0 10px;
}
.step p { color: var(--dim); font-size: .95rem; }
.step::after {
  content: "";
  position: absolute;
  left: 34px; right: 34px; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.step:hover::after { transform: scaleX(1); }

/* ---------- 11. Booking wizard ---------- */
.booking-shell {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.booking-head {
  padding: 28px 34px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-2);
}
.wizard-steps {
  display: flex;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.wizard-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: color .3s, border-color .3s, background-color .3s;
}
.wizard-steps li .w-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: .66rem;
  transition: inherit;
}
.wizard-steps li.is-current {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.wizard-steps li.is-current .w-num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.wizard-steps li.is-done { color: var(--dim); }
.wizard-steps li.is-done .w-num { border-color: var(--ok); color: var(--ok); }

.wizard-body { padding: clamp(26px, 4vw, 44px); }
.wizard-panel { display: none; }
.wizard-panel.is-active { display: block; animation: panelIn .45s var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.panel-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.panel-hint { color: var(--dim); font-size: .95rem; margin-bottom: 28px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.field label b { color: var(--accent); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
/* numarul de inmatriculare se scrie cu majuscule, dar `text-transform` pe
   input ridica si placeholder-ul ("EX: B 123 ABC"), ceea ce arata neingrijit */
.input--plate { text-transform: uppercase; }
.input--plate::placeholder { text-transform: none; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 165, 36, .18);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aa3b3' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field .error-msg {
  font-size: .82rem;
  color: var(--crit);
  display: none;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--crit); }
.field.has-error .error-msg { display: block; }

/* Chips (radio / checkbox) */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  position: relative;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: .9rem;
  color: var(--dim);
  transition: all .25s var(--ease);
  cursor: pointer;
}
.chip input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.chip span:hover { border-color: var(--accent); color: var(--text); }
.chip input:checked + span:hover { color: var(--accent-ink); }

/* Categorie problemă — tile-uri */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.problem-tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.problem-tile {
  position: relative;
}
.problem-tile .tile-box {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-2);
  transition: all .25s var(--ease);
  cursor: pointer;
  height: 100%;
}
.problem-tile svg { width: 26px; height: 26px; stroke: var(--dim); transition: stroke .25s; }
.problem-tile .tile-box span { font-size: .9rem; font-weight: 500; color: var(--dim); transition: color .25s; }
.problem-tile .tile-box:hover { border-color: var(--accent); }
.problem-tile input:checked + .tile-box {
  border-color: var(--accent);
  background: rgba(245, 165, 36, .08);
}
.problem-tile input:checked + .tile-box svg { stroke: var(--accent); }
.problem-tile input:checked + .tile-box span { color: var(--text); }
.problem-tile input:focus-visible + .tile-box { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Selector urgență — radar nodes + severity border */
.urgency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.urgency-card { position: relative; }
.urgency-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.urgency-card .u-box {
  height: 100%;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--u-color, var(--ok));
  border-radius: var(--r-md);
  background: var(--bg-2);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.urgency-card .u-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.radar {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--u-color, var(--ok));
  position: relative;
  flex: none;
  transition: box-shadow .3s;
}
.radar::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--u-color, var(--ok));
  transform: scale(0);
  transition: transform .25s var(--ease);
}
.urgency-card input:checked + .u-box .radar::after { transform: scale(1); }
.urgency-card input:checked + .u-box .radar { box-shadow: 0 0 0 4px color-mix(in srgb, var(--u-color, var(--ok)) 25%, transparent); }
.urgency-card .u-name { font-weight: 600; font-size: 1.02rem; }
.urgency-card .u-tag {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--u-color, var(--ok));
}
.urgency-card .u-desc { font-size: .85rem; color: var(--dim); }
.urgency-card input:checked + .u-box {
  border-color: var(--u-color, var(--ok));
  background: color-mix(in srgb, var(--u-color, var(--ok)) 7%, var(--bg-2));
}
.urgency-card .u-box:hover { border-color: var(--u-color, var(--ok)); }
.urgency-card input:focus-visible + .u-box { outline: 2px solid var(--accent); outline-offset: 3px; }
.urgency-card--ok { --u-color: var(--ok); }
.urgency-card--warn { --u-color: var(--warn); }
.urgency-card--crit { --u-color: var(--crit); }

/* Dropzone foto */
.dropzone {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: var(--bg-2);
  padding: 40px 24px;
  text-align: center;
  transition: border-color .25s, background-color .25s;
  cursor: pointer;
}
.dropzone:hover, .dropzone.is-dragover {
  border-color: var(--accent);
  background: rgba(245, 165, 36, .05);
}
.dropzone svg { width: 40px; height: 40px; stroke: var(--faint); margin: 0 auto 14px; }
.dropzone p { color: var(--dim); font-size: .95rem; }
.dropzone .dz-hint {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 8px;
}
.dropzone .btn { margin-top: 16px; }

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.photo-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb button {
  position: absolute;
  top: 6px; right: 6px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(7, 9, 13, .8);
  color: var(--crit);
  font-size: .9rem;
  line-height: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  transition: background-color .2s;
}
.photo-thumb button:hover { background: var(--crit); color: #fff; }

/* Sloturi de timp */
.slot-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--dim);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin-top: 6px;
  background: var(--bg-2);
}
.slot-note b { color: var(--accent); font-weight: 600; }

/* Navigare wizard */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* Rezumat */
.summary-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.summary-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.summary-item:nth-child(odd) { border-right: 1px solid var(--line); }
.summary-item:nth-last-child(-n+2) { border-bottom: 0; }
.summary-item dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.summary-item dd { font-size: .95rem; }
.summary-item dd .badge { margin-top: 4px; }

/* Badge status / urgență */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  font-weight: 500;
}
.badge--ok { color: var(--ok); }
.badge--warn { color: var(--warn); }
.badge--crit { color: var(--crit); }
.badge--info { color: var(--info); }
.badge--dim { color: var(--dim); }

/* Consimțământ */
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--dim);
  cursor: pointer;
}
.consent input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: none;
}

/* Succes */
.booking-success { text-align: center; padding: 30px 10px; }
.booking-success .success-ring {
  width: 84px; height: 84px;
  margin: 0 auto 26px;
  border-radius: 50%;
  border: 2px solid var(--ok);
  display: grid;
  place-items: center;
  animation: ringIn .6s var(--ease);
}
@keyframes ringIn { from { transform: scale(.6); opacity: 0; } }
.booking-success .success-ring svg { width: 36px; height: 36px; stroke: var(--ok); }
.booking-success h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  text-transform: uppercase;
  font-weight: 600;
}
.booking-success .ref-code {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: .12em;
  margin: 14px 0;
  padding: 12px 24px;
  border: 1px dashed var(--accent);
  border-radius: var(--r-sm);
  display: inline-block;
}
.booking-success p { color: var(--dim); max-width: 52ch; margin: 0 auto 10px; }

/* ---------- 12. Testimoniale (slider) ---------- */
.testi-slider { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.testi-track {
  display: flex;
  transition: transform .55s var(--ease);
}
.testi-slide {
  flex: 0 0 100%;
  padding: 4px;
}
.testi-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}
.testi-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}
.testi-quote {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--text);
}
.testi-quote::before { content: "„"; color: var(--accent); }
.testi-quote::after { content: "”"; color: var(--accent); }
.testi-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
.testi-meta b { font-weight: 600; }
.testi-meta span {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}
.testi-stars { color: var(--accent); letter-spacing: 3px; font-size: .9rem; }

.testi-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.testi-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all .25s var(--ease);
}
.testi-btn svg { width: 18px; height: 18px; stroke: var(--dim); transition: stroke .25s; }
.testi-btn:hover { border-color: var(--accent); }
.testi-btn:hover svg { stroke: var(--accent); }
.testi-dots { display: flex; gap: 8px; margin-left: auto; }
.testi-dots button {
  width: 26px; height: 4px;
  border-radius: 99px;
  background: var(--line-strong);
  transition: background-color .3s, width .3s var(--ease);
}
.testi-dots button[aria-current="true"] { background: var(--accent); width: 42px; }

/* ---------- 13. FAQ (acordeon) ---------- */
.faq-list {
  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: 20px;
  padding: 24px 6px;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 600;
  transition: color .25s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .faq-icon {
  width: 34px; height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .35s var(--ease), border-color .3s, background-color .3s;
}
.faq-q .faq-icon svg { width: 14px; height: 14px; stroke: var(--dim); transition: stroke .3s; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq-item.is-open .faq-icon svg { stroke: var(--accent-ink); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s var(--ease);
}
.faq-a-inner {
  padding: 0 6px 26px;
  color: var(--dim);
  max-width: 70ch;
}

/* ---------- 14. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.contact-info-block {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.contact-info-block dt {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.contact-info-block dd { font-size: 1.05rem; }
.contact-info-block dd a { transition: color .25s; }
.contact-info-block dd a:hover { color: var(--accent); }

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(24px, 3.5vw, 40px);
}
.form-status {
  margin-top: 16px;
  font-size: .92rem;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  display: none;
}
.form-status.is-ok { display: block; color: var(--ok); border: 1px solid var(--ok); background: rgba(52,211,153,.07); }
.form-status.is-err { display: block; color: var(--crit); border: 1px solid var(--crit); background: rgba(248,113,113,.07); }

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
}
.cta-band .parallax-img {
  position: absolute; inset: -18% 0;
  z-index: 0;
}
.cta-band .parallax-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .3;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 100% at 50% 50%, transparent, var(--bg) 120%);
}
.cta-band .container {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 9vw, 120px) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
/* max-width pastreaza titlul pe doua randuri centrate, ca inainte de scoaterea
   <br>-ului, dar fara sa impuna punctul de rupere */
.cta-band .section-title { margin: 0; max-width: 26ch; }

/* ---------- 16. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 3fr 3fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-grid h3 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid p { color: var(--dim); font-size: .92rem; margin-top: 14px; max-width: 34ch; }
.footer-legal {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.footer-legal h3 {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
  font-weight: 500;
}
.footer-legal ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: .82rem;
  color: var(--dim);
}
.footer-legal li:not(:last-child)::after {
  content: "·";
  color: var(--faint);
  margin-left: 20px;
}
.footer-legal b { color: var(--fg); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- 17. Overlay nav (mobile) ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 9, 13, .96);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s .35s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s var(--ease);
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 0;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), color .25s;
  transition-delay: calc(var(--i) * 60ms);
}
.mobile-nav.is-open a { opacity: 1; transform: none; }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav a .mono { font-size: .8rem; color: var(--faint); letter-spacing: .2em; }
.mobile-nav .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-copy { grid-column: 1 / 12; }
  .hero-urgent { grid-column: 1 / 7; margin-top: 30px; }
  .service-card { grid-column: span 6; }
  .service-card:nth-child(2) { transform: none; }
  .service-card:nth-child(2):hover { transform: translateY(-6px); }
  .section-head .head-left { grid-column: 1 / -1; }
  .section-head .head-right { grid-column: 1 / -1; margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 30px 24px; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .urgency-grid { grid-template-columns: 1fr; }
  .hero-urgent { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .service-card { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .summary-list { grid-template-columns: 1fr; }
  .summary-item:nth-child(odd) { border-right: 0; }
  .summary-item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .testi-card { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-legal ul { flex-direction: column; gap: 6px; }
  .footer-legal li:not(:last-child)::after { content: none; }
  .wizard-nav { flex-direction: column-reverse; }
  .wizard-nav .btn { width: 100%; }
  .hero-meta .container { gap: 10px 22px; }
  .booking-head { padding: 20px; }
  .wizard-steps li { padding: 6px 10px; }
  .wizard-steps li .w-label { display: none; }
  .wizard-steps li.is-current .w-label { display: inline; }
}

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero-title .line > span { transform: none; animation: none; }
  #hero-canvas { display: none; }
}
