/* ═══════════════════════════════════════════════════════════
   VARIANTA B — CORPORATE
   Bleumarin + albastru de semnal pe alb. Manrope / Source Sans 3.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ── Schema de culoare ────────────────────────────────────
     Chrome („Auto dark theme") și Samsung Internet inversează
     automat paginile care nu declară ce schemă suportă — de aceea
     pe unele telefoane header-ul alb apărea negru. Site-ul e
     proiectat exclusiv pe fundal alb, așa că i-o spunem explicit.
     „only light" e opt-out-ul, nu doar o preferință. */
  color-scheme: only light;

  /* ── Paleta, extrasă din logo ─────────────────────────── */
  --red: #E91216;          /* roșul de brand */
  --red-dk: #C20E12;       /* hover pe butoane */
  --red-tint: #FDECEC;     /* fundal deschis cu tentă de roșu */
  --ink: #1C1C1C;          /* negrul de brand */
  --ink-deep: #121212;     /* hero, suprafețe foarte închise */
  --ink-soft: #333333;
  --muted: #6B6B6B;
  --ground: #FFFFFF;
  --tint: #F5F5F5;         /* suprafețe gri deschis */
  --tint-2: #EAEAEA;
  --line: #E1E1E1;
  --ok: #1E7A46;
  --ok-bg: #E8F4ED;
  --warn: #B2560F;
  --warn-bg: #FBEFE4;

  --f-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --f-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --f-cond: 'Manrope', system-ui, sans-serif;

  --wrap: 1240px;
  --r: 8px;
  --shadow: 0 1px 2px rgba(28, 28, 28, 0.05), 0 10px 28px -18px rgba(28, 28, 28, 0.32);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.skip {
  position: absolute; left: -9999px; background: var(--ink); color: #fff;
  padding: 12px 18px; font-weight: 700; z-index: 1000; border-radius: var(--r);
}
.skip:focus { left: 8px; top: 8px; }

/* ── tipografie ── */
.h1, .h2, .h3 {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.028em;
  text-wrap: balance; margin: 0;
}
.h1 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; }
.h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.14; margin-bottom: 1.8rem; }
.h3 { font-size: clamp(18px, 1.9vw, 20px); line-height: 1.25; }

.eyebrow {
  display: block; font-family: var(--f-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 0.7rem;
}

.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 62ch; margin: 1.3rem 0 0; line-height: 1.7; }
.lead--tight { margin-top: 0.6rem; margin-bottom: 2.4rem; font-size: 17px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

.sec { padding: clamp(64px, 9vw, 128px) 0; }
.sec--alt { background: var(--tint); }
.sec--head { padding-bottom: clamp(36px, 5vw, 60px); }
.sec__head-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; flex-wrap: wrap; margin-bottom: 2.4rem;
}
.sec__head-row .h2 { margin-bottom: 0; }

/* ── header ── */
/* Fundalul e scris explicit alb, nu prin variabilă: header-ul rămâne
   alb chiar dacă paleta se schimbă cândva. Vezi și blocul de la
   finalul fișierului, pentru browserele care forțează modul întunecat. */
.site-head {
  background: #FFFFFF; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-head__in { display: flex; align-items: center; gap: 26px; padding: 11px 0; }

.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { display: block; width: 180px; height: auto; }
.logo--foot { margin-bottom: 18px; }
.logo--foot img { width: 200px; }
@media (max-width: 560px) { .logo img { width: 142px; } }

.burger {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  width: 44px; height: 42px; border-radius: var(--r); cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
/* cele trei bare, negre pe fundal alb */
.burger { background: #FFFFFF; }
.burger span { display: block; width: 20px; height: 2px; background: #111111; border-radius: 2px; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15.5px; font-weight: 600; }
.nav > a, .nav__item > a { color: var(--muted); text-decoration: none; padding: 8px 0; display: inline-block; }
.nav > a:hover, .nav__item > a:hover { color: var(--ink); }
.nav [aria-current='page'] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }

.nav__item { position: relative; }
.nav__item--has > a::after { content: ' ▾'; font-size: 10px; opacity: 0.6; }
.nav__drop {
  position: absolute; top: 100%; left: -22px; background: var(--ground);
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: none;
  gap: 34px; min-width: 460px; box-shadow: var(--shadow);
}
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { display: flex; }
.nav__col { display: flex; flex-direction: column; gap: 2px; }
.nav__ttl {
  font-family: var(--f-display); font-weight: 700; font-size: 11.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.nav__drop a { color: var(--muted); text-decoration: none; padding: 5px 0; font-size: 15px; font-weight: 500; }
.nav__drop a:hover { color: var(--ink); }
.nav__heights { display: grid; grid-template-columns: repeat(3, auto); gap: 2px 18px; }

.head-cta {
  display: inline-flex; align-items: center; gap: 8px; background: var(--ink);
  color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 15px;
  padding: 11px 17px; border-radius: var(--r); text-decoration: none; white-space: nowrap;
}
.head-cta:hover { background: var(--ink-deep); }

@media (max-width: 1000px) {
  .burger { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ground);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    gap: 0; padding: 10px 0 18px; box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav > a, .nav__item > a { padding: 12px clamp(18px, 4vw, 32px); }
  .nav__drop {
    position: static; display: flex; flex-direction: column; gap: 18px; border: 0;
    box-shadow: none; min-width: 0; padding: 4px clamp(18px, 4vw, 32px) 12px;
  }
  .nav__heights { grid-template-columns: repeat(4, auto); justify-content: start; }
  .head-cta { display: none; }
}

/* ── butoane ── */
.btn {
  display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: 15.5px;
  padding: 13px 22px; border-radius: var(--r); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; text-align: center; line-height: 1.3;
}
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: var(--ground); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { display: block; width: 100%; margin-top: 10px; }
.btn--sm { font-size: 13.5px; padding: 8px 14px; }

.link-more { font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--red); text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ── breadcrumbs ── */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14.5px; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-hidden] { opacity: 0.45; }

/* ── etichete ── */
.card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag {
  font-family: var(--f-display); font-weight: 700; font-size: 11.5px; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 20px;
  background: var(--tint); color: var(--muted);
}
.tag--electric { background: var(--ok-bg); color: var(--ok); }
.tag--diesel { background: var(--warn-bg); color: var(--warn); }

/* ── carduri utilaje ── */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 22px; }
.grid-cards__item[hidden] { display: none; }
.card {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r);
  height: 100%; transition: box-shadow 0.15s, border-color 0.15s;
}
.card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.card__link { display: flex; flex-direction: column; height: 100%; padding: 26px 24px; text-decoration: none; color: inherit; }
.card__title { font-family: var(--f-display); font-weight: 800; font-size: 18.5px; letter-spacing: -0.025em; margin: 0 0 14px; line-height: 1.2; }
.card__specs { display: grid; gap: 6px; margin: 0; font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 13px; }
.card__specs > div { display: flex; justify-content: space-between; gap: 10px; }
.card__specs dt { color: var(--muted); }
.card__specs dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.card__price { margin: auto 0 0; padding-top: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.card__price b { font-family: var(--f-display); font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.card__price span { font-size: 13px; color: var(--muted); }

/* ── filtre ── */
.filters {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px; margin-bottom: 34px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px 34px;
}
.filters__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.filters__group legend {
  font-family: var(--f-display); font-weight: 700; font-size: 11.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 9px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: 14px;
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--ground); color: var(--ink);
}
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.filters__foot {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 15px;
}
.filters__count { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 15px; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }

/* ── pagină utilaj ── */
.detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail__aside { position: sticky; top: 90px; }
@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
  .detail__aside { position: static; }
}

.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; margin-top: 2rem; }
.keyfact { background: var(--tint); border-radius: var(--r); padding: 16px; }
.sec--alt .keyfact { background: var(--ground); }
.keyfact b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.keyfact span { display: block; margin-top: 7px; font-size: 13px; color: var(--muted); }

.pricebox { background: var(--ground); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.pricebox__amount { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -0.035em; color: var(--ink); margin: 0; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pricebox__note { font-size: 15px; color: var(--muted); margin: 12px 0 0; }
.pricebox__est { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; padding-left: 12px; border-left: 3px solid var(--tint-2); }
.pricebox__vat { font-size: 13px; color: var(--muted); margin: 14px 0 18px; }

.specsheet { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 48px; }
.specsheet__row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.specsheet__row span { color: var(--muted); }
.specsheet__row b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.notebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 28px; }
.notebar > div { background: var(--tint); border-radius: var(--r); padding: 16px 18px; }
.sec--alt .notebar > div { background: var(--ground); }
.notebar b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 5px; }
.notebar span { font-size: 15.5px; }

/* ── liste, aplicații ── */
.ticklist { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: 10px; font-size: 16px; }
.ticklist li { padding-left: 26px; position: relative; }
.ticklist li::before {
  content: ''; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px;
  border-radius: 50%; background: var(--red-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E91216' stroke-width='3.4'%3E%3Cpath d='M5 12.5l4.6 4.6L19 7.5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.ticklist--tight { font-size: 15px; gap: 9px; }

.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 20px; }
.apps--lg { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.app {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.app:hover { border-color: var(--red); box-shadow: var(--shadow); }
.app b { font-family: var(--f-display); font-weight: 700; font-size: 16.5px; }
.app span { font-size: 14.8px; color: var(--muted); line-height: 1.5; }
.app__rec { font-style: normal; font-size: 13px; color: var(--red); font-weight: 600; margin-top: auto; padding-top: 10px; }
.rec-line { font-size: 16px; margin-top: 1.2rem; }

.whenbox { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 4vw, 42px); }
.whenbox__not { background: var(--tint); border-radius: var(--r); padding: 24px; }
.sec--alt .whenbox__not { background: var(--ground); }
.whenbox__not p { color: var(--muted); margin: 0.9rem 0 1.2rem; }
@media (max-width: 800px) { .whenbox { grid-template-columns: 1fr; } }

.typelinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(216px, 1fr)); gap: 20px; }
/* varianta de pe homepage: 6 cutii, 3 pe rând, mai încăpătoare */
.typelinks--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.typelink {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 26px; text-decoration: none; color: inherit; display: block;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.typelink:hover { border-color: var(--red); box-shadow: var(--shadow); }
.typelink b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 16.5px; }
.typelink span { font-size: 14.5px; color: var(--muted); }

/* cutiile mai bogate de pe homepage */
.typelinks--3 .typelink {
  padding: 26px 28px 24px; display: flex; flex-direction: column;
  min-height: 100%; position: relative;
}
.typelinks--3 .typelink b { font-size: 18.5px; letter-spacing: -0.02em; padding-right: 26px; }
.typelink__range {
  display: block; margin-top: 14px; font-family: var(--f-display); font-weight: 800;
  font-size: 22px; letter-spacing: -0.03em; color: var(--red);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.typelink__n { display: block; margin-top: 7px; font-size: 14px; color: var(--muted); }
.typelinks--3 .typelink::after {
  content: "→"; position: absolute; top: 24px; right: 26px;
  font-size: 17px; color: var(--line); transition: color .15s, transform .15s;
}
.typelinks--3 .typelink:hover::after { color: var(--red); transform: translateX(3px); }
.typelink--all { background: var(--tint); border-style: dashed; }
.typelink--all:hover { background: var(--ground); }

.heightnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.heightnav__item {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px; text-decoration: none; color: inherit; text-align: center;
}
.heightnav__item:hover { border-color: var(--red); }
.heightnav__item.is-current { background: var(--ink); border-color: var(--ink); }
.heightnav__item.is-current b, .heightnav__item.is-current span { color: #fff; }
.heightnav__item b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.heightnav__item span { font-size: 12.5px; color: var(--muted); }

.prevnext { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.prevnext a { font-family: var(--f-display); font-weight: 700; font-size: 15px; text-decoration: none; color: var(--red); }
.prevnext__next { margin-left: auto; }

/* ── tabel ── */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--ground); }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 680px; }
.table th {
  text-align: left; font-family: var(--f-display); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  padding: 17px 20px; border-bottom: 1px solid var(--line); background: var(--tint); white-space: nowrap;
}
.table td, .table tbody th { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.table tbody th { font-weight: 600; font-size: 15.5px; letter-spacing: 0; text-transform: none; background: none; }
.table tbody th a { text-decoration: none; color: var(--ink); }
.table tbody th a:hover { text-decoration: underline; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody tr:hover { background: var(--tint); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.est { color: var(--warn); font-weight: 700; }

/* ── prețuri ── */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); gap: 22px; }
.ptier {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 30px; display: flex; flex-direction: column;
}
.ptier--hi { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.ptier__sub { font-size: 15px; color: var(--muted); margin: 4px 0 0; }
.amount {
  font-family: var(--f-display); font-weight: 800; font-size: 38px; letter-spacing: -0.04em;
  margin: 18px 0 0; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.amount small { font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.ptier__second { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.ptier .btn { margin-top: auto; }
.ptier .ticklist { margin-bottom: 1.6rem; }
.vatnote { font-size: 14px; color: var(--muted); margin-top: 1.4rem; }

/* ── FAQ ── */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--ground); border: 1px solid var(--line); border-radius: var(--r); }
.faq__item summary {
  cursor: pointer; padding: 16px 20px; font-family: var(--f-display); font-weight: 700;
  font-size: 17px; list-style: none; display: flex; justify-content: space-between;
  gap: 16px; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 22px; color: var(--red); flex: none; }
.faq__item[open] summary::after { content: '–'; }
.faq__item p { margin: 0; padding: 0 20px 18px; color: var(--muted); max-width: 72ch; }

/* ── formular ── */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 800px; }
.form--compact { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field .opt { text-transform: none; letter-spacing: 0; opacity: 0.75; }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 16px; line-height: 1.4; padding: 12px 14px;
  border: 1px solid var(--line); background: var(--ground); color: var(--ink);
  border-radius: var(--r); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--red); outline-offset: -1px; border-color: var(--red); }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form__note { margin: 0; font-size: 14.5px; color: var(--muted); max-width: 42ch; }
.form__note a { color: var(--red); }

@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

/* ── diverse ── */
.statband { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 20px; }
.stat { background: var(--tint); border-radius: var(--r); padding: 22px 20px; }
.sec--alt .stat { background: var(--ground); }
.stat b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }

.advgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
/* blocul cu 4 cutii (Autorizări și siguranță) încape pe un singur rând */
.advgrid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.adv { background: var(--ground); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; }
.adv b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.adv span { font-size: 15.5px; color: var(--muted); line-height: 1.55; }

.proseblock { max-width: 68ch; }
.proseblock p { margin: 0 0 1.1rem; }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-band .h2 { margin-bottom: 0; }
.cta-band__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.contactgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(264px, 1fr)); gap: 22px; }
.contactcard {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.contactcard:hover { border-color: var(--red); box-shadow: var(--shadow); }
.contactcard--hi { background: var(--ink); border-color: var(--ink); }
.contactcard--hi .eyebrow { color: var(--red); }
.contactcard b { font-family: var(--f-display); font-weight: 800; font-size: 23px; letter-spacing: -0.035em; color: var(--ink); word-break: break-word; }
.contactcard--hi b { color: #fff; }
.contactcard__note { font-size: 14px; color: var(--muted); margin-top: 8px; }
.contactcard--hi .contactcard__note { color: #C9C9C9; }

.legal-dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; margin: 14px 0 0; font-size: 15px; }
.legal-dl dt { font-family: var(--f-display); font-weight: 700; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); align-self: baseline; }
.legal-dl dd { margin: 0; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 13.5px; word-break: break-all; }

/* ── footer ── */
.site-foot { background: var(--ink); color: #C9C9C9; padding: 76px 0 32px; font-size: 15.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 48px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.foot-ttl { font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-foot a { color: #C9C9C9; text-decoration: none; display: block; padding: 3px 0; }
.site-foot a:hover { color: #fff; }
.foot-about p { margin: 0 0 1rem; max-width: 34ch; }
.foot-legal-block, .foot-hours { font-size: 14px; color: #9A9A9A; }
.foot-legal { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid #3A3A3A; font-size: 13.5px; color: #9A9A9A; }

/* ── butoane flotante ── */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.fab__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.45); }
.fab__btn--wa { background: #25d366; color: #fff; }
.fab__btn--tel { background: var(--ink); color: #fff; }
@media (min-width: 1001px) { .fab__btn--tel { display: none; } }
/* Pe telefoanele înguste butoanele plutitoare acopereau textul
   butonului „Vezi toată flota" din hero. Mai mici și mai lipite de
   colț, cât să rămână ușor de apăsat (44 px e minimul recomandat). */
@media (max-width: 480px) {
  .fab { right: 10px; bottom: 10px; gap: 8px; }
  .fab__btn { width: 46px; height: 46px; }
  .fab__btn svg { width: 22px; height: 22px; }
}

/* ── stări de formular (main.js) ── */
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid {
  border-color: var(--warn); outline: 2px solid var(--warn); outline-offset: -1px;
}
.form__status {
  grid-column: 1 / -1; margin: 0; padding: 13px 16px; border-radius: var(--r);
  background: var(--warn-bg); border-left: 3px solid var(--warn); font-size: 15.5px;
}
.form__status.is-ok { background: var(--ok-bg); border-left-color: var(--ok); }
/* submeniul se deschide la click pe mobil */
@media (max-width: 1000px) {
  .nav__item.is-open .nav__drop { display: flex; }
  .nav__item:not(.is-open) .nav__drop { display: none; }
}


/* ═══════════════════════════════════════════════════════════
   HERO
   Ilustrația nacelei e SVG inline, în .hero__bg — niciun fișier
   imagine de încărcat. Când aveți o fotografie reală a flotei,
   ștergeți blocul <svg> din index.html și puneți aici:
       .hero__bg { background: url(assets/img/hero.jpg) center/cover; }
       .hero__bg::after { ...gradientul de lizibilitate... }
   ═══════════════════════════════════════════════════════════ */

.hero {
  position: relative; isolation: isolate;
  background: var(--ink-deep); color: #fff;
  padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__art { width: 100%; height: 100%; display: block; }

.hero__grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 31%);
  gap: clamp(36px, 5vw, 76px); align-items: center;
}
.hero__copy { max-width: none; }
.hero .eyebrow { color: var(--red); }
.hero .h1 {
  max-width: 18ch; font-size: clamp(33px, 4.4vw, 55px); line-height: 1.08;
  letter-spacing: -0.032em; text-shadow: 0 2px 26px rgba(0, 0, 0, 0.55);
}
.hero__lead {
  font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.7;
  color: #D6D6D6; margin: 1.5rem 0 0; max-width: 46ch;
}
.hero__cta { display: flex; gap: 14px; margin: 2.4rem 0 0; flex-wrap: wrap; }
.btn--hero-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--hero-ghost:hover { border-color: #fff; background: rgba(255,255,255,.09); }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 14px clamp(28px, 4vw, 54px);
  margin: 3rem 0 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stats > div { display: flex; flex-direction: column-reverse; }
.hero__stats dd {
  margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 27px;
  line-height: 1; letter-spacing: -0.035em; color: #fff; font-variant-numeric: tabular-nums;
}
.hero__stats dt {
  margin-top: 8px; font-size: 12.5px; letter-spacing: .09em;
  text-transform: uppercase; color: #A0A0A0;
}

/* ── cardul „sunați-ne", în locul vechiului calculator de preț ── */
.callcard {
  background: var(--ground); color: var(--ink); border-radius: 14px;
  padding: 30px 28px; border-top: 5px solid var(--red);
  box-shadow: 0 2px 4px rgba(0,0,0,.18), 0 26px 64px -26px rgba(0,0,0,.75);
}
.callcard__eyebrow {
  display: block; font-family: var(--f-display); font-weight: 700; font-size: 11.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.callcard__tel {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(26px, 2.3vw, 32px); line-height: 1.05;
}
.callcard__tel svg { flex: none; color: var(--red); }
.callcard__tel:hover { color: var(--red); }
.callcard__hours {
  margin: 10px 0 0; font-size: 14.5px; color: var(--muted);
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.callcard__why { margin: 18px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.callcard__acts { display: flex; gap: 10px; margin: 22px 0 0; }
.callcard__acts .btn { flex: 1; padding: 12px 14px; font-size: 15px; }
.btn--wa {
  background: #25d366; color: #fff; border-color: #25d366;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn--wa:hover { background: #1DB954; border-color: #1DB954; }
.callcard__trust {
  list-style: none; padding: 20px 0 0; margin: 20px 0 0;
  border-top: 1px solid var(--line); display: grid; gap: 9px;
  font-size: 14px; color: var(--muted);
}
.callcard__trust li { padding-left: 22px; position: relative; }
.callcard__trust li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 14px; height: 14px;
  border-radius: 50%; background: var(--red-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E91216' stroke-width='3.6'%3E%3Cpath d='M5 12.5l4.6 4.6L19 7.5'/%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}

/* ── banda de încredere de sub hero ── */
.trustbar { background: var(--tint); border-bottom: 1px solid var(--line); }
.trustbar__in {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px clamp(28px, 4vw, 56px); padding: 26px 0;
}
.trustbar__in > div {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px; line-height: 1.5; color: var(--ink);
}
.trustbar__in svg { flex: none; margin-top: 2px; color: var(--red); }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .callcard { width: 100%; }
  .hero__art { opacity: .34; }
}
@media (max-width: 560px) {
  .hero__stats { gap: 18px 28px; }
  .hero__stats dd { font-size: 23px; }
  .callcard { padding: 26px 22px; }
  .callcard__acts { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════
   FOTOGRAFIILE UTILAJELOR
   Se pun în assets/img/flota/, numite după slug-ul utilajului
   (ex: inchiriere-nacela-verticala-haulotte-star-10.jpg).
   Cât timp lipsesc, se afișează un substitut cu silueta
   utilajului și înălțimea de lucru — pagina nu arată ruptă.
   ═══════════════════════════════════════════════════════════ */

.shot {
  display: block; position: relative; overflow: hidden;
  background: var(--tint); border-radius: var(--r);
}
.shot::before { content: ""; display: block; padding-top: 86%; }
.shot__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  /* fotografiile de produs sunt decupate pe fundal alb și au
     proporții foarte diferite (portret 555x1200, pătrat 1200x1200,
     peisaj 585x330) — „contain" le arată întregi, fără tăieturi */
  object-fit: contain; display: block;
  background: #fff; padding: 12px;
}

/* substitutul, cât timp nu există fotografia */
.shot__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: #C4C4C4;
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(28,28,28,.022) 11px 22px),
    var(--tint);
}
.shot__ph svg { width: 42%; max-width: 132px; height: auto; }
.shot__ph b {
  font-family: var(--f-display); font-weight: 800; font-size: 15px;
  letter-spacing: -0.02em; color: #A8A8A8; font-variant-numeric: tabular-nums;
}

/* pe cardul din grilă */
.card__shot { margin-bottom: 18px; border-radius: 6px; }
.card:hover .shot__img { transform: scale(1.035); }
.shot__img { transition: transform .35s ease; }

/* pe pagina de utilaj */
.hero-shot {
  margin: 0 0 28px; border-radius: 12px;
  border: 1px solid var(--line);
}
.hero-shot::before { padding-top: 92%; }
.hero-shot .shot__img { padding: 22px; }
.hero-shot .shot__ph svg { max-width: 200px; }
.hero-shot .shot__ph b { font-size: 19px; }


/* ═══════════════════════════════════════════════════════════
   MODUL ÎNTUNECAT FORȚAT DE BROWSERELE DE MOBIL

   Chrome pe Android („Auto dark theme", din chrome://flags sau
   din setările de economisire a bateriei) și modul întunecat din
   Samsung Internet inversează singure culorile paginilor care nu
   declară ce schemă de culoare suportă. Așa ajungea header-ul alb
   să se vadă negru, iar barele meniului albe.

   `color-scheme: only light` din :root e opt-out-ul propriu-zis.
   Blocul de mai jos e plasa de siguranță pentru browserele care
   aleg tema după `prefers-color-scheme`: re-declară explicit
   suprafețele care trebuie să rămână albe.
   ═══════════════════════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
  :root { color-scheme: only light; }

  html, body { background: #FFFFFF; color: var(--ink); }

  /* header și meniu — albe, cu textul închis */
  .site-head { background: #FFFFFF; border-bottom-color: var(--line); }
  .burger { background: #FFFFFF; border-color: var(--line); }
  .burger span { background: #111111; }
  .nav, .nav__drop { background: #FFFFFF; }
  .nav > a, .nav__item > a, .nav__drop a { color: var(--muted); }
  .nav [aria-current='page'], .nav > a:hover,
  .nav__item > a:hover, .nav__drop a:hover { color: var(--ink); }

  /* restul suprafețelor deschise */
  .sec--alt { background: var(--tint); }
  .card, .conf, .contactcard, .shot__img { background: #FFFFFF; }

  /* butonul negru din header rămâne negru cu text alb */
  .head-cta { background: var(--ink); color: #FFFFFF; }
}
