/* ============================================================
   FAAR MOTORS ORADEA — design system
   Negru profund + verde lime din logo + tipografie condensata italica.
   ============================================================ */

:root {
  /* Culori extrase din suportii de numar */
  --lime:      #6BD427;
  --lime-hi:   #8CFF3E;
  --lime-dim:  #4FA31C;
  --lime-glow: rgba(107, 212, 39, .35);

  --bg:        #08090A;
  --bg-2:      #0D0F11;
  --panel:     #101315;
  --panel-2:   #16191C;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .14);

  --text:      #F2F4F5;
  --muted:     #9AA1A6;
  --dim:       #6B7278;

  --danger:    #FF4D4D;
  --warn:      #FFB020;

  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 20px 60px rgba(0, 0, 0, .55);
  --maxw:      1240px;

  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  /* aura verde discreta in fundal */
  background-image:
    radial-gradient(900px 500px at 82% -12%, rgba(107, 212, 39, .10), transparent 62%),
    radial-gradient(700px 420px at -10% 8%, rgba(107, 212, 39, .05), transparent 60%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.lime { color: var(--lime); }
.nowrap { white-space: nowrap; }

/* ---------------- Motiv „linii de viteza" ---------------- */
.speedlines {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
.speedlines i {
  position: absolute; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: .5; transform: skewX(-28deg);
}

/* ---------------- Logo ---------------- */
.logo { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1; }
.logo-mark {
  position: relative; display: inline-flex; align-items: baseline;
  font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: 34px; letter-spacing: .01em; text-transform: uppercase;
  color: #fff;
}
.logo-mark .f { position: relative; z-index: 2; }
.logo-mark::before,
.logo-mark::after {
  content: ''; position: absolute; height: 3px; border-radius: 2px;
  background: var(--lime); transform: skewX(-16deg); z-index: 1;
}
.logo-mark::before { left: -8px;  right: 42%; top: 34%; }
.logo-mark::after  { left: 26%;  right: -10px; bottom: 20%; opacity: .85; }
.logo-name {
  font-family: var(--display); font-weight: 700; font-style: normal;
  font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: #fff;
}
.logo-sub {
  font-family: var(--display); font-weight: 600; font-style: normal;
  font-size: 10px; letter-spacing: .30em; text-transform: uppercase; color: var(--lime);
}
.logo:hover .logo-mark::before { left: -12px; }
.logo-mark::before, .logo-mark::after { transition: all .3s ease; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8, 9, 10, .78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a {
  position: relative; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); padding: 6px 0; transition: color .2s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--lime); transition: right .25s ease;
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.burger {
  display: none; width: 44px; height: 44px; margin-left: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  align-items: center; justify-content: center; cursor: pointer;
}
.burger span { display: block; width: 18px; height: 2px; background: #fff; position: relative; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: #fff;
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* ---------------- Butoane ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  letter-spacing: .10em; text-transform: uppercase; cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--lime-hi), var(--lime));
  color: #06210A; box-shadow: 0 8px 26px var(--lime-glow);
}
.btn-primary:hover { box-shadow: 0 12px 38px var(--lime-glow); filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: #fff; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-dark { background: var(--panel-2); border-color: var(--line); color: #fff; }
.btn-dark:hover { border-color: var(--line-2); background: #1c2024; }
.btn-sm { padding: 8px 15px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 92px 0 70px; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent); opacity: .4;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: .30em; text-transform: uppercase; color: var(--lime);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--lime); }
.hero h1 { font-size: clamp(46px, 7vw, 88px); }
.hero h1 .out {
  -webkit-text-stroke: 2px var(--lime); color: transparent;
  paint-order: stroke fill;
}
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 38px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .n {
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: 40px; color: #fff; line-height: 1;
}
.hero-stats .n span { color: var(--lime); }
.hero-stats .l { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }

.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow);
}
.hero-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-card .tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: var(--lime); color: #06210A; padding: 6px 12px; border-radius: 7px;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em;
}
.hero-card .info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 20px; z-index: 3;
  background: linear-gradient(transparent, rgba(5, 6, 7, .94) 55%);
}
.hero-card .info h3 {
  font-size: clamp(18px, 3.4vw, 26px);
  /* titlurile lungi de versiune nu trebuie sa impinga pretul afara din card */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-card .info .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hero-card .info .price { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 30px; color: var(--lime); }

/* ---------------- Bara de cautare rapida ---------------- */
.searchbar {
  margin-top: -30px; position: relative; z-index: 20;
}
.searchbar .box {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); border-radius: 16px; padding: 16px;
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 600;
}
.field select, .field input, .input {
  background: var(--bg); border: 1px solid var(--line); border-radius: 9px;
  padding: 11px 12px; font-size: 14px; color: var(--text); width: 100%;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.field select {
  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' stroke='%236BD427' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.field select:focus, .field input:focus, .input:focus, textarea:focus {
  outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-glow);
}
textarea.input { min-height: 110px; resize: vertical; font-family: var(--body); }

/* ---------------- Sectiuni ---------------- */
.section { padding: 80px 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-head p { color: var(--muted); margin: 10px 0 0; max-width: 56ch; }

/* ---------------- Layout in doua coloane ----------------
   Ca o clasa, nu ca stil inline: doar asa se poate prabusi pe o coloana din media query. */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.split-2.start { align-items: start; }
.split-2.wide-right { grid-template-columns: 1fr 1.1fr; }
@media (max-width: 980px) {
  .split-2, .split-2.wide-right { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------------- Card masina ---------------- */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }

.car-card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), border-color .28s, box-shadow .28s;
}
.car-card:hover { transform: translateY(-6px); border-color: rgba(107,212,39,.45); box-shadow: 0 24px 50px rgba(0,0,0,.6); }
.car-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-2); }
.car-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car-card:hover .thumb img { transform: scale(1.06); }
.car-card .thumb .ph {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--dim);
  font-family: var(--display); font-size: 14px; letter-spacing: .2em;
}
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 11px; border-radius: 6px;
  font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.badge-av  { background: var(--lime); color: #06210A; }
.badge-rez { background: var(--warn); color: #241800; }
.badge-vnd { background: #2a2f33; color: #fff; }
.badge-new { background: #fff; color: #000; left: auto; right: 12px; }
.photo-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  background: rgba(0,0,0,.66); border: 1px solid var(--line); backdrop-filter: blur(6px);
  padding: 4px 9px; border-radius: 6px; font-size: 12px; color: #fff; display: flex; gap: 6px; align-items: center;
}
.car-card .body { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 14px; }
.car-card h3 { font-size: 23px; }
.car-card h3 .var { display: block; font-size: 13px; font-style: normal; font-weight: 500; letter-spacing: .04em; color: var(--muted); text-transform: none; font-family: var(--body); margin-top: 5px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec {
  font-size: 12px; color: var(--muted); background: var(--bg); border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 6px; display: inline-flex; gap: 5px; align-items: center;
}
.car-card .foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.price {
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: 30px; color: var(--lime); line-height: 1;
}
.price-old { font-size: 14px; color: var(--dim); text-decoration: line-through; font-family: var(--body); font-style: normal; font-weight: 400; margin-left: 8px; }
.rate { font-size: 12px; color: var(--muted); margin-top: 6px; }
.rate b { color: #fff; font-weight: 600; }

/* ---------------- Banda de incredere ---------------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; overflow: hidden; }
.trust-inner { display: flex; gap: 44px; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .2em; text-transform: uppercase;
}
.trust-item svg { color: var(--lime); flex: none; }

/* ---------------- Features / de ce noi ---------------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.feat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative; overflow: hidden; transition: border-color .25s, transform .25s;
}
.feat:hover { border-color: rgba(107,212,39,.4); transform: translateY(-4px); }
.feat::before {
  content: ''; position: absolute; top: 0; left: 0; width: 46px; height: 3px;
  background: var(--lime); transform: skewX(-28deg) translateX(6px);
}
.feat .ico {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(107,212,39,.12); border: 1px solid rgba(107,212,39,.28); color: var(--lime); margin-bottom: 16px;
}
.feat h3 { font-size: 21px; margin-bottom: 9px; }
.feat p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------------- Calculator rate ---------------- */
.calc {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); border-radius: 18px; padding: 26px;
  position: relative; overflow: hidden;
}
.calc::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, var(--lime-glow), transparent 70%); pointer-events: none;
}
.calc h3 { font-size: 24px; margin-bottom: 4px; }
.calc .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.slider-row { margin-bottom: 20px; }
.slider-row .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.slider-row .top label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.slider-row .top .val { font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; border-radius: 5px;
  background: linear-gradient(90deg, var(--lime) var(--pct, 40%), rgba(255,255,255,.10) var(--pct, 40%));
  outline: none; cursor: pointer;
  /* Zona de atingere e de 26px, dar bara ramane subtire: fundalul se deseneaza
     doar in content-box, iar padding-ul creste suprafata pe care poate apasa degetul. */
  height: 26px; padding: 10.5px 0; background-clip: content-box;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 4px solid var(--lime); box-shadow: 0 3px 12px rgba(0,0,0,.6); cursor: grab;
}
input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  border: 4px solid var(--lime); box-shadow: 0 3px 12px rgba(0,0,0,.6); cursor: grab; border-color: var(--lime);
}
.calc-result {
  background: var(--bg); border: 1px solid rgba(107,212,39,.3); border-radius: 12px;
  padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.calc-result .big {
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 42px; color: var(--lime); line-height: 1;
}
.calc-result .lbl { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

/* ---------------- Pagina masina ---------------- */
.crumbs { font-size: 13px; color: var(--dim); padding: 22px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--lime); }

.detail-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 34px; align-items: start; padding: 26px 0 70px; }
.gallery { position: relative; }
.gallery-main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 4/3;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(8,9,10,.72); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s;
}
.gallery-nav:hover { background: var(--lime); border-color: var(--lime); color: #06210A; }
.gallery-nav.prev { left: 14px; } .gallery-nav.next { right: 14px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 9px; margin-top: 12px; }
.gallery-thumbs img {
  aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s;
}
.gallery-thumbs img:hover { opacity: .9; }
.gallery-thumbs img.on { opacity: 1; border-color: var(--lime); }

.detail-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h3 { font-size: 20px; margin-bottom: 14px; }
.price-block .price { font-size: 46px; }
.price-block .vat { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.contact-actions { display: grid; gap: 10px; margin-top: 18px; }

.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 10px; overflow: hidden; }
.spec-table div { background: var(--panel); padding: 12px 14px; font-size: 14px; }
.spec-table .k { color: var(--dim); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.spec-table .v { color: #fff; font-weight: 600; text-align: right; }

.feature-list { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-list span {
  font-size: 13px; background: var(--bg); border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 7px; color: var(--muted);
  display: inline-flex; gap: 7px; align-items: center;
}
.feature-list span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

.prose { color: var(--muted); font-size: 15.5px; white-space: pre-wrap; }

/* ---------------- Filtre stoc ---------------- */
.stock-layout { display: grid; grid-template-columns: 268px 1fr; gap: 30px; align-items: start; padding-bottom: 70px; }
.filters { position: sticky; top: 96px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.filters h4 { font-family: var(--display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin: 0 0 12px; font-weight: 700; }
.filter-group { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border: 0; margin: 0; padding: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 12.5px; padding: 6px 12px; border-radius: 20px; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line); color: var(--muted); transition: all .18s;
  user-select: none;
}
.chip:hover { border-color: var(--line-2); color: #fff; }
.chip.on { background: var(--lime); border-color: var(--lime); color: #06210A; font-weight: 600; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar .count { font-family: var(--display); font-size: 20px; font-weight: 700; }
.toolbar .count b { color: var(--lime); }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty h3 { font-size: 28px; margin-bottom: 10px; color: #fff; }

/* ---------------- Formulare ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: 12px; color: var(--dim); line-height: 1.5; }
.form-note a { color: var(--lime); text-decoration: underline; }
.alert { padding: 14px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.alert-ok  { background: rgba(107,212,39,.10); border: 1px solid rgba(107,212,39,.35); color: var(--lime-hi); }
.alert-err { background: rgba(255,77,77,.10); border: 1px solid rgba(255,77,77,.35); color: #FF8A8A; }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 20px; padding: 52px 44px;
  background: linear-gradient(120deg, #0E1A06, #101315 55%);
  border: 1px solid rgba(107,212,39,.28);
}
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); max-width: 18ch; }
.cta-band p { color: var(--muted); max-width: 50ch; margin: 14px 0 26px; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 26px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { font-family: var(--display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin: 0 0 14px; font-weight: 700; }
.site-footer a, .site-footer p { color: var(--muted); font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a:hover { color: var(--lime); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--line); transition: all .2s;
}
.socials a:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }

/* ---------------- Bara mobila de contact ---------------- */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(8,9,10,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
}
.mobile-cta .btn { flex: 1; }

/* ---------------- Informare confidentialitate ---------------- */
/* [hidden] trebuie sa castige in fata lui `display:block` de mai jos. */
.consent[hidden] { display: none !important; }
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: rgba(10, 12, 13, .96); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(107, 212, 39, .3);
  animation: consent-in .45s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes consent-in { from { transform: translateY(100%); } to { transform: none; } }
.consent-box {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.consent-txt { flex: 1; min-width: 260px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.consent-txt b { color: #fff; display: block; margin-bottom: 2px; font-size: 14.5px; }
.consent-txt a { color: var(--lime); text-decoration: underline; }
.consent #consentOk { flex: none; }
/* cand bara de informare e vizibila, urcam bara mobila de contact peste ea */
body.has-consent .mobile-cta { bottom: 96px; }

@media (max-width: 620px) {
  .consent-box { gap: 12px; }
  .consent .btn { width: 100%; }
  body.has-consent .mobile-cta { bottom: 148px; }
}

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(4,5,6,.96);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.on { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 10px; }
.lightbox .close { position: absolute; top: 20px; right: 24px; font-size: 34px; cursor: pointer; color: #fff; line-height: 1; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 44px; cursor: pointer; color: #fff; padding: 20px; user-select: none; }
.lightbox .lb-nav:hover { color: var(--lime); }
.lightbox .lb-prev { left: 8px; } .lightbox .lb-next { right: 8px; }
.lightbox .counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 14px; }

/* ---------------- Animatii de intrare ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------------- Ergonomie tactilă ---------------- */
/* Casetele de bifat native sunt ~13px — imposibil de nimerit cu degetul. */
input[type=checkbox] { width: 20px; height: 20px; flex: none; accent-color: var(--lime); cursor: pointer; }
.form-note { cursor: pointer; }

/* ---------------- Filtre pliabile pe mobil ---------------- */
.filters-toggle { display: none; }
/* Pe desktop invelisul dispare din layout, astfel incat `.filters` sa ramana
   element de grid direct — altfel `position: sticky` nu mai are pe ce sa alunece. */
.filters-col { display: contents; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .stock-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .searchbar .box { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  /* iOS Safari mareste automat pagina cand focalizezi un camp sub 16px.
     Sub 16px NU se coboara nimic din ce se poate atinge pe telefon. */
  .field select, .field input, .input, textarea.input, select, input, textarea {
    font-size: 16px;
  }
  /* Linkurile din footer si din liste primesc inaltime de atingere reala */
  .site-footer ul a, .site-footer ul li {
    display: flex; align-items: center; gap: 8px; min-height: 40px;
  }
  .crumbs { gap: 6px 10px; }
  .crumbs a { padding: 8px 0; }
  .foot-bottom { gap: 4px 16px; }
  .foot-bottom a { display: inline-block; padding: 9px 0; }
  .contact-list li, .contact-list a { min-height: 44px; }

  /* Filtrele nu mai stau intre utilizator si masini: se deschid la cerere. */
  .filters-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; margin-bottom: 14px; padding: 14px 18px;
    background: var(--panel); border: 1px solid var(--line-2); border-radius: 11px;
    color: #fff; cursor: pointer;
    font-family: var(--display); font-weight: 700; font-size: 16px;
    letter-spacing: .10em; text-transform: uppercase;
  }
  .filters-toggle b {
    background: var(--lime); color: #06210A; border-radius: 20px;
    padding: 1px 9px; font-size: 12px; letter-spacing: 0;
  }
  .filters-toggle::after {
    content: '▾'; font-size: 14px; color: var(--lime); transition: transform .25s;
  }
  .filters-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
  .filters-col { display: block; }
  .filters { display: none; }
  .filters.open { display: block; }

  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    transform: translateY(-130%); transition: transform .3s ease; z-index: 55;
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .hero { padding: 56px 0 46px; }
  .section { padding: 56px 0; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
  .form-grid, .spec-table { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 24px; }
  .searchbar { margin-top: 0; }
  .searchbar .box { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .hero-stats .n { font-size: 32px; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .cars-grid { grid-template-columns: 1fr; }
  .logo-mark { font-size: 28px; }
}
