/* Tractari Auto Green Land — stil unic pentru tot site-ul.
   Direcția vizuală: DESIGN.md, referința aprobată: demo.html */

/* ---------- Fonturi (găzduite local, doar literele necesare) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --asfalt:    #0F1114;
  --asfalt-2:  #171A1F;
  --asfalt-3:  #22262D;
  --linie:     #2E333C;
  --text:      #F4F6F8;
  --text-2:    #A3ABB6;
  --girofar:   #FFB400;
  --girofar-2: #FF8A00;
  --verde:     #12A745;
  --verde-2:   #0B7D34;
  --wa:        #25D366;
  --nota:      #7D8590;

  --r: 14px;
  --r-card: 18px;

  --f-titlu: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-text:  "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --dungi: repeating-linear-gradient(135deg, var(--girofar) 0 14px, #1A1200 14px 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(110% 60% at 50% 0%, #1B1F26 0%, rgba(15, 17, 20, 0) 70%) no-repeat,
    var(--asfalt);
  padding-bottom: calc(84px + env(safe-area-inset-bottom)); /* loc pentru bara de jos */
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--f-titlu);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
}
h1 { font-size: clamp(36px, 9.5vw, 60px); margin: 36px 0 14px; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(30px, 7.5vw, 46px); margin: 56px 0 14px; }
h3 { font-size: clamp(22px, 5.5vw, 28px); margin: 30px 0 8px; }
p, ul, ol { margin: 0 0 16px; }
strong { font-weight: 600; color: var(--text); }

.cont { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.cont p, .cont li { max-width: 64ch; }
.lead { color: var(--text-2); font-size: 18px; }
.mic { font-size: 15px; color: var(--text-2); }

a {
  color: var(--text);
  text-decoration-color: rgba(255, 180, 0, .7);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--girofar); }

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

/* Note pentru proprietar — discrete */
.dc {
  background: transparent;
  color: var(--nota);
  font-size: .8em;
  font-weight: 400;
}

/* ---------- Antet (sticlă) ---------- */
.antet {
  position: sticky; top: 0; z-index: 40;
  background: rgba(15, 17, 20, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linie);
}
.antet-rand {
  display: flex; align-items: center; gap: 10px;
  max-width: 1180px; margin: 0 auto; padding: 0 20px; min-height: 60px;
}
.sigla {
  flex: 1; min-width: 0;
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center;
  font-family: var(--f-titlu); font-weight: 700; font-size: 17px; line-height: 1.02;
  color: var(--text); text-decoration: none;
}
.sigla:hover { color: var(--text); }
.sigla-semn {
  grid-row: span 2;
  position: relative;
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(145deg, var(--girofar), var(--girofar-2));
  box-shadow: 0 0 18px rgba(255, 180, 0, .45);
}
.sigla-semn::after {
  content: ""; position: absolute; inset: 8px 7px;
  border-radius: 3px; background: var(--asfalt);
}
.sigla span + span { color: var(--text-2); }
.tel-antet {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-titlu); font-weight: 700; font-size: 21px;
  color: var(--girofar); text-decoration: none; white-space: nowrap;
}
.tel-antet:hover { color: #FFD166; }
.tel-antet svg { width: 18px; height: 18px; }
.meniu-btn {
  display: none;
  min-height: 40px; padding: 4px 12px;
  font: 700 17px var(--f-titlu);
  background: var(--asfalt-3); color: var(--text);
  border: 1px solid var(--linie); border-radius: 10px; cursor: pointer;
}
.js .meniu-btn { display: inline-block; }
.meniu ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; }
.meniu a {
  display: block; padding: 13px 20px;
  border-top: 1px solid var(--linie);
  font-weight: 600; text-decoration: none; color: var(--text);
}
.meniu a:hover { color: var(--girofar); }
.meniu a[aria-current] { color: var(--girofar); }

@media (max-width: 899px) {
  .js .meniu { display: none; }
  .js .meniu.deschis { display: block; max-height: calc(100vh - 60px); overflow-y: auto; }
}

/* ---------- Butoane ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 10px 16px;
  border: 0; border-radius: var(--r); cursor: pointer;
  font-family: var(--f-titlu); font-weight: 700; font-size: 21px; line-height: 1.1;
  letter-spacing: .01em; text-align: center; text-decoration: none;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.975); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-suna {
  background: linear-gradient(180deg, var(--verde), var(--verde-2));
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(18, 167, 69, .65), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-suna:hover { color: #fff; }
.btn-wa {
  background: var(--asfalt-3); color: var(--text);
  border: 1px solid var(--linie);
}
.btn-wa:hover { color: var(--text); }
.btn-wa svg { color: var(--wa); }
.butoane { display: flex; flex-wrap: wrap; gap: 11px; margin: 22px 0 26px; }
.butoane .btn { flex: 1 1 220px; }

/* WhatsApp plin acolo unde e acțiunea principală a blocului */
.bara-jos .btn-wa, .caseta-wa .btn-wa, .formular .btn-wa {
  background: var(--wa); color: #04301A; border: 0;
  box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .55);
}
.bara-jos .btn-wa svg, .caseta-wa .btn-wa svg, .formular .btn-wa svg { color: #04301A; }

/* ---------- Bara fixă de jos (sticlă) ---------- */
.bara-jos {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 9px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 17, 20, .90);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 180, 0, .55);
}
.bara-jos .btn { min-height: 56px; padding: 8px; font-size: 21px; }
.bara-jos .btn-suna { flex: 2 1 0; }
.bara-jos .btn-wa { flex: 1 1 0; }

/* ---------- Primul ecran: scena de noapte ---------- */
.erou { position: relative; overflow: hidden; isolation: isolate; }
.scena {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(120% 80% at 50% 118%, #3A4150 0%, #1B1F26 42%, #0F1114 78%);
}
.scena::before { /* drumul */
  content: ""; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 230%; height: 62%;
  background: linear-gradient(to top, #2B3038 0%, #20242B 55%, transparent 100%);
  clip-path: polygon(38% 100%, 62% 100%, 54% 0, 46% 0);
}
.scena i { /* haloul girofarului */
  position: absolute; left: 50%; top: 14%;
  width: min(680px, 150vw); aspect-ratio: 1; margin-left: calc(min(680px, 150vw) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 0, .30) 0%, rgba(255, 138, 0, .11) 38%, transparent 66%);
  animation: puls 3.6s ease-in-out infinite;
}
@keyframes puls {
  0%, 100% { opacity: .55; transform: scale(.94); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
/* Poza reală de noapte, sub haloul de girofar și sub stratul care o întunecă */
.erou-foto {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 65% 60%;
  opacity: .55;
}
.scena::after { /* stratul care ține textul lizibil peste poză */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 20, .90) 0%, rgba(15, 17, 20, .74) 58%, rgba(15, 17, 20, .55) 100%);
}
@media (min-width: 900px) {
  .scena::after {
    background: linear-gradient(100deg, rgba(15, 17, 20, .92) 0%, rgba(15, 17, 20, .74) 42%, rgba(15, 17, 20, .48) 100%);
  }
}

/* Pozele din secțiuni */
.poza {
  width: 100%; height: auto;
  margin: 28px 0 32px;
  border-radius: var(--r-card);
}
.erou-interior {
  position: relative;
  max-width: 1180px; margin: 0 auto; padding: 44px 20px 36px;
}
.eticheta {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 20px; padding: 6px 15px 6px 11px;
  background: rgba(255, 180, 0, .10);
  border: 1px solid rgba(255, 180, 0, .30);
  border-radius: 999px;
  color: var(--girofar); font-size: 15px; font-weight: 600; letter-spacing: .02em;
}
.bulina {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--verde);
  box-shadow: 0 0 0 0 rgba(18, 167, 69, .6);
  animation: clipeste 2s infinite;
}
@keyframes clipeste {
  70%  { box-shadow: 0 0 0 9px rgba(18, 167, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 167, 69, 0); }
}
.erou h1 { font-size: clamp(38px, 10.5vw, 80px); margin: 0 0 16px; max-width: 16ch; }
.legat { white-space: nowrap; }
.tel-afis { margin: 0 0 18px; }
.tel-afis a, .tel-mare a {
  display: inline-block;
  font-family: var(--f-titlu); font-weight: 700;
  line-height: .95; letter-spacing: -.02em; white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(180deg, #fff 30%, #C8CED6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.tel-afis a { font-size: clamp(46px, 15vw, 104px); }
.tel-afis a:hover, .tel-mare a:hover { color: transparent; filter: brightness(1.1); }
.erou .lead { color: var(--text-2); font-size: 17px; max-width: 46ch; margin-bottom: 0; }
.erou .butoane { margin: 24px 0 0; max-width: 640px; }
.erou .butoane .btn { flex: 1 1 140px; }

/* Banda de girofar */
.banda-timp {
  list-style: none; margin: 0; padding: 12px 20px;
  background: linear-gradient(90deg, var(--girofar), var(--girofar-2));
  color: #1A1200; font-size: 15px; font-weight: 600; line-height: 1.45;
}
.banda-timp li { max-width: 1140px; margin: 0 auto; padding: 5px 0; }
.banda-timp strong { color: #1A1200; font-weight: 600; }
.banda-timp li + li { border-top: 1px solid rgba(26, 18, 0, .18); }

/* ---------- Stâlpi kilometrici: timpii de ajungere ---------- */
.stalpi, .stalpi tbody { display: block; }
.stalpi { margin: 22px 0 24px; border-collapse: separate; }
.stalpi thead {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.stalpi tbody { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stalpi tr {
  display: flex; flex-direction: column-reverse; justify-content: flex-end;
  background: linear-gradient(180deg, var(--asfalt-2), var(--asfalt));
  border: 1px solid var(--linie); border-top: 4px solid var(--girofar);
  border-radius: 12px; padding: 18px 16px;
}
.stalpi td { display: block; padding: 0; }
.stalpi td:last-child { color: var(--text-2); font-size: 14px; line-height: 1.3; }
.stalpi .cifra {
  display: block;
  font-family: var(--f-titlu); font-weight: 700;
  font-size: 52px; line-height: .9; color: #fff; margin: 2px 0;
}
.stalpi td:first-child { margin-top: 12px; font-weight: 600; font-size: 16px; line-height: 1.3; }

/* ---------- Carduri cu cifra decolorată în fundal ---------- */
.carduri {
  list-style: none; padding: 0; margin: 22px 0 26px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px;
  counter-reset: card;
}
.cont .carduri li {
  counter-increment: card;
  position: relative; overflow: hidden;
  max-width: none; margin: 0; padding: 22px 22px 20px;
  background: var(--asfalt-2);
  border: 1px solid var(--linie); border-radius: var(--r-card);
  color: var(--text-2); font-size: 16px;
  transition: border-color .18s ease, transform .18s ease;
}
.carduri li::before {
  content: counter(card, decimal-leading-zero);
  position: absolute; right: -10px; top: -26px;
  font-family: var(--f-titlu); font-weight: 700; font-size: 96px; line-height: 1;
  color: #fff; opacity: .045; pointer-events: none;
}
.carduri li:hover { border-color: #3D444F; transform: translateY(-3px); }
.carduri strong { color: var(--text); font-weight: 600; }

/* ---------- Liste și pași ---------- */
.lista { padding-left: 1.1em; }
.lista li { margin-bottom: 9px; }
.lista li::marker { color: var(--girofar); }

.pasi { list-style: none; padding: 0; counter-reset: pas; }
.pasi li {
  position: relative; counter-increment: pas;
  padding: 3px 0 0 46px; margin-bottom: 14px; min-height: 34px;
}
.pasi li::before {
  content: counter(pas);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-titlu); font-weight: 700; font-size: 19px;
  background: var(--asfalt-3); color: var(--girofar);
  border: 1px solid var(--linie);
}

/* ---------- Blocuri de conținut ---------- */
.caseta {
  margin: 40px 0; padding: 4px 24px 20px;
  background: var(--asfalt-2);
  border: 1px solid var(--linie); border-radius: var(--r-card);
  color: var(--text-2);
}
.caseta h2 { font-size: clamp(26px, 6.5vw, 36px); margin-top: 20px; color: var(--text); }
.caseta p:last-child { margin-bottom: 0; }
.caseta a { color: var(--text); }
.caseta-wa .btn { margin-top: 8px; }
@media (min-width: 600px) { .caseta-wa .btn { display: inline-flex; min-width: 320px; } }

/* Panou de avertizare — sfaturile de siguranță de pe autostrăzi */
.avertisment {
  position: relative; overflow: hidden;
  margin: 44px 0; padding: 18px 24px 12px;
  background: var(--asfalt-2);
  border: 1px solid rgba(255, 180, 0, .34); border-radius: var(--r-card);
  color: var(--text-2);
}
.avertisment::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: var(--dungi);
}
.avertisment h2 { color: var(--girofar); font-size: clamp(26px, 6.5vw, 34px); margin: 12px 0 16px; }
.avertisment strong { color: var(--text); }
.avertisment .pasi li::before { background: rgba(255, 180, 0, .12); border-color: rgba(255, 180, 0, .4); }
.avertisment .lista { list-style: none; padding: 0; }
.avertisment .lista li { position: relative; padding: 0 0 0 22px; margin-bottom: 12px; }
.avertisment .lista li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 9px; height: 9px; border-radius: 2px; background: var(--girofar);
}

/* Ce transportăm / ce nu */
.doua-coloane { display: grid; gap: 14px; margin: 44px 0; }
.doua-coloane > div {
  padding: 4px 22px 8px;
  background: var(--asfalt-2);
  border: 1px solid var(--linie); border-radius: var(--r-card);
}
.doua-coloane .nu { border-color: rgba(255, 180, 0, .34); }
.doua-coloane h2 { font-size: 26px; margin: 18px 0 10px; }
.doua-coloane .nu h2 { color: var(--girofar); }
.doua-coloane ul { list-style: none; padding: 0; }
.doua-coloane li { padding: 7px 0; border-top: 1px solid var(--linie); color: var(--text-2); }
.doua-coloane li:first-child { border-top: 0; }
@media (min-width: 600px) { .doua-coloane { grid-template-columns: 1fr 1fr; } }

/* Chenar pentru poze care lipsesc */
.img-lipsa {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; max-width: 800px; margin: 32px 0; padding: 16px;
  background: linear-gradient(180deg, var(--asfalt-2), var(--asfalt));
  border: 1px dashed var(--linie); border-radius: var(--r-card);
  color: var(--nota); font-size: 15px; text-align: center;
}
.img-lipsa strong { color: var(--nota); font-weight: 400; }

/* Întrebări frecvente */
.faq details {
  margin-bottom: 10px;
  background: var(--asfalt-2);
  border: 1px solid var(--linie); border-radius: var(--r);
}
.faq details[open] { border-color: #3D444F; }
.faq summary {
  cursor: pointer; list-style: none;
  position: relative; padding: 15px 50px 15px 18px;
  font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 9px;
  font-family: var(--f-titlu); font-weight: 700; font-size: 28px; line-height: 1;
  color: var(--girofar);
}
.faq details[open] summary::after { content: "−"; }
.cont .faq details p { margin: 0; padding: 0 18px 16px; color: var(--text-2); }

/* Contact */
.tel-mare { margin: 10px 0 0; }
.tel-mare a { font-size: clamp(46px, 14vw, 96px); }
.tel-mare svg { display: none; }

.harta {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  background: var(--asfalt-2);
  border: 1px solid var(--linie); border-radius: var(--r-card); overflow: hidden;
}
.harta iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 600px) { .harta { aspect-ratio: 2 / 1; } }

/* Apel final, la baza paginii */
.final {
  margin: 64px 0 8px; padding: 6px 24px 4px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 170, 0, .12) 0%, transparent 60%),
    var(--asfalt-2);
  border: 1px solid var(--linie); border-radius: var(--r-card);
}
.final h2 { margin-top: 22px; }
.final p { color: var(--text-2); }

/* Formular (doar pe pagina de transport în țară) */
.formular { display: grid; gap: 4px; max-width: 540px; margin-bottom: 16px; }
.formular label { font-weight: 600; margin-top: 12px; }
.formular input, .formular select {
  width: 100%; min-height: 54px; padding: 10px 14px;
  font: inherit; color: var(--text);
  background: var(--asfalt-3);
  border: 1px solid var(--linie); border-radius: 12px;
}
.formular input:focus, .formular select:focus { border-color: var(--girofar); }
.formular .btn { margin-top: 18px; }
#oferta { scroll-margin-top: 80px; }

/* ---------- Subsol ---------- */
.subsol {
  margin-top: 72px; padding: 36px 0 22px;
  border-top: 1px solid var(--linie);
  background: linear-gradient(180deg, var(--asfalt-2), var(--asfalt));
  color: var(--text-2); font-size: 15px;
}
.subsol a { color: var(--text); }
.subsol a:hover { color: var(--girofar); }
.subsol p { margin-bottom: 6px; }
.subsol strong { font-family: var(--f-titlu); font-weight: 700; font-size: 22px; letter-spacing: .01em; color: var(--text); }
.subsol .mic { margin-top: 16px; }
.subsol-grila { display: grid; gap: 28px; max-width: 1180px; }
.subsol-linkuri { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 16px; }
.subsol-linkuri li { margin-bottom: 10px; break-inside: avoid; }

/* ---------- Ecrane mari ---------- */
@media (min-width: 900px) {
  body { font-size: 18px; padding-bottom: 0; }
  .bara-jos { display: none; }

  .sigla { font-size: 21px; }
  .sigla-semn { width: 34px; height: 34px; }
  .tel-antet { font-size: 26px; }
  .js .meniu-btn { display: none; }
  .meniu ul { display: flex; flex-wrap: wrap; padding: 0 12px; }
  .meniu a { border: 0; padding: 10px 10px; font-size: 16px; color: var(--text-2); }
  .meniu a[aria-current] { color: var(--girofar); box-shadow: inset 0 -2px 0 var(--girofar); }

  .erou-interior { padding: 80px 24px 64px; }
  .banda-timp { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; padding: 14px 24px; }
  .banda-timp li { margin: 0; padding: 0; max-width: none; }
  .banda-timp li + li { border-top: 0; }

  .subsol-grila { grid-template-columns: 1.2fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:active, .carduri li:hover { transform: none; }
}
