/* =====================================================
   MIKE Închirieri & Tractări Auto — Design tokens
   Palette: asphalt / chrome / hazard amber / signal red
   Display: Anton (impact headlines) + Oswald (labels/nav)
   Body: Inter · Data/prices: JetBrains Mono
===================================================== */

:root {
  --asphalt-0: #0a0a0c;
  --asphalt-1: #131317;
  --asphalt-2: #1c1c21;
  --asphalt-3: #26262c;
  --line: #34343b;

  --chrome: #d6d9de;
  --chrome-dim: #9a9ea6;
  --paper: #f3f1ea;

  --amber: #f5a800;
  --amber-dim: #b57c05;
  --red: #c8272c;
  --red-dark: #7c1418;

  --font-display: 'Anton', sans-serif;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 4px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--asphalt-0);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hazard stripe (signature motif) ---------- */
.hazard-strip {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber) 0 18px,
    var(--asphalt-0) 18px 36px
  );
}
.hazard-strip--thin { height: 6px; }

/* ---------- Section headings ---------- */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 10px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0 0 18px;
  color: var(--paper);
}
.section-lead {
  color: var(--chrome-dim);
  font-size: 16.5px;
  max-width: 60ch;
  margin: 0 0 26px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover { background: #e12f34; }

.btn-outline {
  border-color: var(--line);
  color: var(--paper);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

.btn-ghost {
  color: var(--chrome);
  font-family: var(--font-head);
  font-size: 14px;
}
.btn-ghost:hover { color: var(--amber); }

.btn-wa {
  background: #1f9e52;
  color: #fff;
  border-color: #1f9e52;
}
.btn-wa:hover { background: #23b45d; }

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,12,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { flex-shrink: 0; }
.brand-logo { height: 56px; width: auto; }

.main-nav { flex: 1; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--chrome);
  padding: 10px 14px;
  border-radius: var(--radius);
}
.nav-link:hover { color: var(--amber); background: var(--asphalt-2); }
.wheel-ico { display: inline-flex; color: var(--amber-dim); flex-shrink: 0; }
.nav-link:hover .wheel-ico { color: var(--amber); }
.chev { margin-left: 2px; opacity: .7; }

/* Dropdowns */
.has-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  background: var(--asphalt-1);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dropdown-panel--wide { min-width: 380px; }
.has-dropdown.open .dropdown-panel,
.has-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-inner { padding: 16px; }
.dropdown-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--chrome-dim);
  margin: 2px 6px 10px;
}
.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 6px;
  font-size: 14px;
}
.dropdown-item:hover { background: var(--asphalt-2); }
.di-name { font-family: var(--font-head); color: var(--paper); text-transform: none; letter-spacing: 0; font-weight: 500; }
.di-note { font-family: var(--font-mono); font-size: 12px; color: var(--amber-dim); }
.dropdown-cta {
  display: block;
  text-align: center;
  margin-top: 6px;
  padding: 11px;
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--amber);
}
.dropdown-cta:hover { color: #fff; }

/* Fleet mini-list inside nav dropdown */
.dropdown-inner--fleet { display: flex; flex-direction: column; gap: 2px; max-height: 60vh; overflow-y: auto; }
.fleet-mini-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px;
  border-radius: 6px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.fleet-mini-item:hover { background: var(--asphalt-2); }
.fleet-mini-thumb {
  width: 52px; height: 40px;
  border-radius: 4px;
  object-fit: contain;
  background: var(--asphalt-0);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.fleet-mini-name { font-family: var(--font-head); font-size: 13.5px; color: var(--paper); text-transform: none; letter-spacing: 0; }
.fleet-mini-price { font-family: var(--font-mono); font-size: 12px; color: var(--amber); margin-left: auto; white-space: nowrap; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-phone { display: none; }
@media (min-width: 900px) { .nav-phone { display: inline-flex; } }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.burger span { width: 22px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: .88;
  filter: saturate(1.05) contrast(1.08);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,10,12,.94) 0%, rgba(10,10,12,.78) 30%, rgba(10,10,12,.4) 55%, rgba(10,10,12,.18) 78%, rgba(10,10,12,.12) 100%),
    radial-gradient(45% 55% at 78% 55%, rgba(200,39,44,.1) 0%, transparent 70%);
}
.hero-scrim-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(to top, var(--asphalt-0), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--chrome);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245,168,0,.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(245,168,0,.5); }
  70% { box-shadow: 0 0 0 9px rgba(245,168,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,168,0,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 8.5vw, 104px);
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: var(--paper);
}
.hero-title .hl {
  color: var(--red);
  -webkit-text-stroke: 1.5px var(--amber);
}

.hero-sub {
  font-size: 18px;
  color: var(--chrome);
  max-width: 52ch;
  margin: 0 0 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats .num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 600;
  color: var(--amber);
}
.hero-stats .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}

.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px; height: 42px;
  border: 2px solid var(--chrome-dim);
  border-radius: 20px;
}
.hero-scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--amber);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scroll-dot 1.6s infinite;
}
@keyframes scroll-dot {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* ================= SERVICES ================= */
.services {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  background: var(--asphalt-0);
}
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 60% at 82% 8%, rgba(245,168,0,.09) 0%, transparent 60%),
    radial-gradient(45% 50% at 5% 95%, rgba(200,39,44,.07) 0%, transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.028) 0 2px, transparent 2px 46px);
  pointer-events: none;
}
.services .container { position: relative; z-index: 1; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.service-card {
  background: var(--asphalt-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px 30px;
  transition: border-color .2s ease, transform .2s ease;
}
.service-card:hover { border-color: var(--amber-dim); transform: translateY(-3px); }
.service-card-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--amber);
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .01em;
  margin: 0 0 12px;
  display: inline-block;
  background: linear-gradient(90deg, #002B7F 0%, #002B7F 20%, #FCD116 36%, #FCD116 52%, #CE1126 68%, #CE1126 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #CE1126;
  -webkit-text-fill-color: transparent;
}
.service-card p { color: var(--chrome-dim); margin: 0 0 18px; }
.service-link { font-family: var(--font-mono); font-size: 13px; color: var(--amber); }

/* ================= TRACTARI ================= */
.tractari { padding: 80px 0; background: var(--asphalt-1); }
.tractari-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
  align-items: center;
}
.check-list { margin: 0 0 30px; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--chrome);
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px;
  background: var(--red);
  border-radius: 2px;
  transform: rotate(45deg);
}
.tractari-media {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.tractari-truck-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.tractari-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,12,.85) 0%, rgba(10,10,12,.05) 38%, transparent 60%);
  pointer-events: none;
}
.tractari-media-badge {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1;
  background: rgba(10,10,12,.88);
  backdrop-filter: blur(4px);
  border: 2px solid var(--amber);
  border-radius: 10px;
  padding: 14px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  white-space: nowrap;
}
.tractari-media-badge .num { font-family: var(--font-display); font-size: 30px; color: var(--amber); letter-spacing: .04em; }
.tractari-media-badge .lbl { font-family: var(--font-mono); font-size: 12px; color: var(--chrome-dim); text-transform: uppercase; letter-spacing: .08em; }

/* ================= FLEET ================= */
.flota {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: var(--asphalt-0);
}
.flota::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/ram-teal.jpg');
  background-size: cover;
  background-position: center 22%;
  opacity: .2;
  filter: grayscale(.25) saturate(.9) contrast(1.05);
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.9) 18%, rgba(0,0,0,.9) 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.9) 18%, rgba(0,0,0,.9) 82%, transparent);
}
.flota::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--asphalt-0), rgba(10,10,12,.6) 25%, rgba(10,10,12,.6) 75%, var(--asphalt-0));
}
.flota .container { position: relative; z-index: 1; }
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}
.fleet-card {
  background: var(--asphalt-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.fleet-card:hover { border-color: var(--amber-dim); transform: translateY(-3px); }
.fleet-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--asphalt-2);
  overflow: hidden;
  position: relative;
  padding: 0;
  border: none;
  cursor: pointer;
}
.fleet-card-media .media-blur {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(.45) saturate(.8);
  transform: scale(1.15);
}
.fleet-card-media .media-main {
  position: relative;
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.fleet-card-media:hover .media-main { transform: scale(1.04); }
.fleet-card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.fleet-card-count {
  position: absolute; top: 12px; right: 12px;
  background: rgba(10,10,12,.78);
  border: 1px solid var(--line);
  color: var(--chrome);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  padding: 4px 9px;
  border-radius: 4px;
}
.fleet-card-body { padding: 18px 20px 20px; }
.fleet-card-body h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 17px;
  margin: 0 0 6px;
}
.fleet-card-specs {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--chrome-dim);
  margin-bottom: 14px;
}
.fleet-card-specs span { background: var(--asphalt-2); border: 1px solid var(--line); padding: 3px 8px; border-radius: 4px; }
.fleet-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fleet-price { font-family: var(--font-mono); font-size: 16px; color: var(--amber); font-weight: 700; }
.fleet-price small { font-size: 11px; color: var(--chrome-dim); font-weight: 400; }
.fleet-card-actions { display: flex; gap: 8px; margin-left: auto; }
.fleet-detail-btn {
  font-family: var(--font-head);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--paper);
  background: transparent;
  border: 1.5px solid var(--line);
  padding: 8.5px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.fleet-detail-btn:hover { border-color: var(--amber); color: var(--amber); }
.fleet-book-btn {
  font-family: var(--font-head);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
  background: #1f9e52;
  padding: 9px 14px;
  border-radius: 6px;
}
.fleet-book-btn:hover { background: #23b45d; }

/* ================= CAR DETAILS MODAL ================= */
body.modal-open { overflow: hidden; }
.car-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.car-modal.open { display: flex; }
.car-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,6,8,.86);
  backdrop-filter: blur(3px);
}
.car-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--asphalt-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
}
.car-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(10,10,12,.75);
  border: 1px solid var(--line);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.car-modal-close:hover { color: var(--amber); border-color: var(--amber); }

.car-modal-gallery { display: flex; flex-direction: column; background: var(--asphalt-0); }
.car-modal-main {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--asphalt-2);
  overflow: hidden;
}
.car-modal-main .media-blur {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(20px) brightness(.42) saturate(.8);
  transform: scale(1.15);
}
.car-modal-main #carModalMainImg {
  position: relative;
  width: 100%; height: 100%;
  object-fit: contain;
}
.car-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(10,10,12,.7);
  border: 1px solid var(--line);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.car-modal-nav:hover { border-color: var(--amber); color: var(--amber); }
.car-modal-nav.prev { left: 14px; }
.car-modal-nav.next { right: 14px; }
.car-modal-counter {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(10,10,12,.75);
  border: 1px solid var(--line);
  color: var(--chrome);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 4px;
}
.car-modal-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
}
.car-modal-thumb {
  flex-shrink: 0;
  width: 62px; height: 46px;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  opacity: .6;
}
.car-modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-modal-thumb:hover { opacity: .85; }
.car-modal-thumb.active { border-color: var(--amber); opacity: 1; }

.car-modal-info { padding: 30px 30px 28px; display: flex; flex-direction: column; }
.car-modal-info h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 24px;
  margin: 6px 0 14px;
  padding-right: 30px;
}
.car-modal-specs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.car-modal-specs span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--chrome-dim);
  background: var(--asphalt-2);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 4px;
}
.car-modal-description { color: var(--chrome-dim); font-size: 14.5px; margin: 0 0 22px; }
.car-modal-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.car-modal-footer .btn-wa { margin-left: auto; }
.car-modal-price { font-family: var(--font-mono); font-size: 20px; color: var(--amber); font-weight: 700; }

@media (max-width: 760px) {
  .car-modal-panel { grid-template-columns: 1fr; }
  .car-modal-info { padding: 22px 20px 24px; }
}

/* ================= DESPRE ================= */
.despre { padding: 90px 0; background: var(--asphalt-1); }
.despre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.despre-points { display: flex; flex-direction: column; gap: 26px; }
.despre-point { display: flex; gap: 16px; }
.dp-num { font-family: var(--font-display); font-size: 26px; color: var(--red); flex-shrink: 0; width: 44px; }
.despre-point h4 { font-family: var(--font-head); text-transform: uppercase; font-size: 16px; margin: 0 0 4px; }
.despre-point p { margin: 0; color: var(--chrome-dim); font-size: 14.5px; }

/* ================= CONTACT ================= */
.contact { padding: 90px 0; background: var(--asphalt-0); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: stretch; }
.contact-card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px; flex-wrap: wrap;
}
.cc-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--chrome-dim); }
.cc-value { font-family: var(--font-head); font-size: 16px; color: var(--paper); }
.cc-link:hover { color: var(--amber); }
.cc-value em { font-style: normal; color: var(--chrome-dim); font-size: 13px; }
.contact-cta { margin-top: 30px; }
.contact-map {
  min-height: 340px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  filter: saturate(.9) contrast(1.05);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; }

/* ================= FOOTER ================= */
.site-footer {
  position: relative;
  background: var(--asphalt-1);
  padding-top: 50px;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/footer-flag-smoke.jpg');
  background-size: cover;
  background-position: center;
  opacity: .85;
  pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 40px 24px 30px;
}
.footer-logo { height: 46px; margin-bottom: 12px; }
.footer-brand p { color: var(--chrome-dim); font-size: 14px; max-width: 30ch; }
.footer-col h5 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--amber);
  margin: 0 0 14px;
}
.footer-col a, .footer-col span {
  display: block;
  color: var(--chrome-dim);
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--chrome-dim);
}

/* ================= WHATSAPP FLOAT ================= */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 60px; height: 60px;
  background: #1f9e52;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.4);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.07); background: #23b45d; }
.wa-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #1f9e52;
  animation: wa-ping 2.2s infinite;
}
@keyframes wa-ping {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr; }
  .tractari-grid { grid-template-columns: 1fr; }
  .tractari-media { max-width: 340px; margin: 0 auto; }
  .despre-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .burger { display: flex; }
  .main-nav {
    position: fixed;
    top: 81px; left: 0; right: 0; bottom: 0;
    background: var(--asphalt-0);
    padding: 10px 20px 30px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; padding: 14px 10px; font-size: 16px; }
  .dropdown-panel {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    display: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--amber);
    border-radius: 0;
    margin-left: 10px;
    background: transparent;
  }
  .has-dropdown.open .dropdown-panel { display: block; }
  .has-dropdown:hover .dropdown-panel { display: none; }
  .has-dropdown.open:hover .dropdown-panel { display: block; }
  .nav-wa { display: none; }
  .fleet-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(40px, 12vw, 64px); }
}

/* ================= NOTEBOOK CONTACT BUTTON ================= */
.btn-notebook {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--amber);
  color: #0a0a0c;
  border: 1.5px solid var(--amber);
  border-radius: var(--radius);
  padding: 9px 16px 9px 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn-notebook:hover {
  transform: translateY(-1px);
  background: #ffbb1c;
  box-shadow: 0 6px 18px rgba(245,168,0,.28);
}
.nb-icon { display: block; width: 30px; height: 25px; flex-shrink: 0; }
.nb-icon svg { width: 100%; height: 100%; overflow: visible; }

/* pen "writing" motion */
.nb-pen {
  transform-origin: 38px 12px;
  animation: nb-write 3.2s ease-in-out infinite;
}
@keyframes nb-write {
  0%   { transform: translate(0, 0) rotate(0deg); }
  12%  { transform: translate(-20px, 2px) rotate(-6deg); }
  22%  { transform: translate(-6px, 3px) rotate(-2deg); }
  34%  { transform: translate(-22px, 8px) rotate(-6deg); }
  46%  { transform: translate(-9px, 9px) rotate(-2deg); }
  58%  { transform: translate(-23px, 14px) rotate(-6deg); }
  70%  { transform: translate(-12px, 15px) rotate(-3deg); }
  82%  { transform: translate(0, 4px) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* lines appear as the pen passes over them */
.nb-line {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: nb-draw 3.2s ease-in-out infinite;
}
.nb-line1 { animation-delay: 0s; }
.nb-line2 { animation-delay: .38s; }
.nb-line3 { animation-delay: .76s; }
@keyframes nb-draw {
  0%, 4%   { stroke-dashoffset: 20; }
  20%, 78% { stroke-dashoffset: 0; }
  92%,100% { stroke-dashoffset: 20; }
}

/* typewriter label */
.nb-label {
  position: relative;
  display: inline-block;
  min-width: 15ch;
}
.nb-label::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1em;
  background: #0a0a0c;
  margin-left: 2px;
  vertical-align: -2px;
  animation: nb-caret .8s steps(1) infinite;
}
@keyframes nb-caret { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .nb-pen, .nb-line { animation: none; }
  .nb-line { stroke-dashoffset: 0; }
  .nb-label::after { animation: none; opacity: 0; }
}

@media (max-width: 900px) {
  .nb-label { display: none; }
  .btn-notebook { padding: 9px 12px; }
}

/* ================= CONTACT FORM MODAL ================= */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 310;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.form-modal.open { display: flex; }
.form-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,6,8,.86);
  backdrop-filter: blur(3px);
}
.form-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--asphalt-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 30px 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
}
.form-modal-head h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 23px;
  margin: 0 0 8px;
  padding-right: 34px;
}
.form-modal-sub { color: var(--chrome-dim); font-size: 14.5px; margin: 0 0 22px; }

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}
.field-label em { color: var(--red); font-style: normal; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--paper);
  background: var(--asphalt-0);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 11px 13px;
  width: 100%;
  transition: border-color .18s ease;
}
.field textarea { resize: vertical; min-height: 74px; }
.field input::placeholder,
.field textarea::placeholder { color: #5a5a63; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--amber); }
.field select { cursor: pointer; }
.field select option { background: var(--asphalt-1); color: var(--paper); }
.field.invalid input,
.field.invalid select { border-color: var(--red); }

.form-error {
  color: var(--red);
  font-size: 13.5px;
  margin: 14px 0 0;
  min-height: 1em;
}
.form-modal-footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.form-modal-footer .btn { cursor: pointer; }
.form-note {
  font-size: 12.5px;
  color: var(--chrome-dim);
  margin: 14px 0 0;
  line-height: 1.5;
}
.form-success {
  text-align: center;
  padding: 14px 0 6px;
}
.form-success .fs-icon {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(31,158,82,.16);
  border: 2px solid #1f9e52;
  color: #35c273;
  display: flex; align-items: center; justify-content: center;
}
.form-success h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 20px;
  margin: 0 0 10px;
}
.form-success p { color: var(--chrome-dim); font-size: 14.5px; margin: 0 0 18px; }

@media (max-width: 620px) {
  .form-fields { grid-template-columns: 1fr; }
  .form-modal-panel { padding: 24px 20px 22px; }
}

/* ---------- Form: optional marker, car chip, dates ---------- */
.field-label .opt {
  color: #5f5f68;
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: none;
}
.form-car-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--asphalt-0);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
}
.form-car-chip img {
  width: 62px; height: 46px;
  object-fit: contain;
  background: var(--asphalt-2);
  border-radius: 5px;
  flex-shrink: 0;
}
.form-car-chip .fc-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--chrome-dim);
  margin-bottom: 2px;
}
.form-car-chip .fc-name {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--amber);
  text-transform: uppercase;
}
.date-summary {
  display: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--amber);
  background: rgba(245,168,0,.08);
  border: 1px solid rgba(245,168,0,.28);
  border-radius: 6px;
  padding: 9px 12px;
  margin: 0;
}
/* make the native date picker readable on the dark theme */
.field input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
  padding-right: 8px;
  background: var(--asphalt-2);
  accent-color: var(--amber);
}
.field input[type="date"]:focus { background: var(--asphalt-3); }
.field input[type="date"]::-webkit-calendar-picker-indicator {
  /* force the icon to solid white, then give it a tappable chip background */
  filter: invert(1) brightness(3) contrast(2);
  opacity: 1;
  cursor: pointer;
  width: 17px;
  height: 17px;
  padding: 5px;
  margin-left: 4px;
  border-radius: 5px;
  background-color: rgba(245, 168, 0, .16);
  transition: background-color .18s ease, transform .12s ease;
}
.field input[type="date"]::-webkit-calendar-picker-indicator:hover {
  background-color: var(--amber);
  transform: scale(1.05);
}


/* ---------- GDPR consent checkbox ---------- */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--asphalt-0);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .18s ease;
}
.consent-row:hover { border-color: var(--chrome-dim); }
.consent-row.invalid { border-color: var(--red); }
.consent-row input[type="checkbox"] {
  width: 18px; height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--amber);
  cursor: pointer;
}
.consent-row span {
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--chrome-dim);
}
.consent-row a { color: var(--amber); text-decoration: underline; }
.consent-row a:hover { color: #ffbb1c; }
.consent-row em { color: var(--red); font-style: normal; }

/* ---------- Footer legal row ---------- */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 24px 4px;
  border-top: 1px solid var(--line);
}
.footer-legal-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-legal-links a {
  font-size: 13px;
  color: var(--chrome-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal-links a:hover { color: var(--amber); }
.footer-legal-links .sep { color: var(--line); }
/* ---------- ANPC official badges ---------- */
.anpc-badges { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.anpc-badges a {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .2s ease;
}
.anpc-badges a:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.anpc-badges img {
  display: block;
  height: 38px;
  width: auto;
  background: #fff;
}
/* SOL badge, built to sit alongside the official SAL badge.
   Specificity must beat ".anpc-badges a" above, hence the doubled selector. */
.anpc-badges a.anpc-sol-fallback {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  background: #fff;
  padding: 0 8px 0 10px;
  line-height: normal;
  text-shadow: none;
  white-space: nowrap;
}
.anpc-badges a.anpc-sol-fallback .sol-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .02em;
  color: #12408f;
  padding-right: 8px;
  border-right: 1px solid #c9cdd6;
}
.anpc-badges a.anpc-sol-fallback .sol-text {
  display: block;
  font-family: var(--font-body);
  font-size: 7.6px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #1b1b20;
}
.anpc-badges a.anpc-sol-fallback .sol-cta {
  display: block;
  font-family: var(--font-body);
  font-size: 7.6px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .07em;
  color: #fff;
  background: #12408f;
  border-radius: 2px;
  padding: 4px 7px;
}
.anpc-badges a.anpc-sol-fallback:hover .sol-cta { background: #1a55b8; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.company-id { font-size: 11.5px; color: #5f5f68; }
.todo-legal { color: var(--red); }

/* ---------- Legal / text pages ---------- */
.legal-page { padding: 60px 0 80px; background: var(--asphalt-0); }
.legal-wrap { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.legal-wrap h1 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
}
.legal-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--chrome-dim);
  margin: 0 0 34px;
}
.legal-wrap h2 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 19px;
  color: var(--amber);
  margin: 34px 0 12px;
}
.legal-wrap h3 { font-family: var(--font-head); font-size: 16px; margin: 22px 0 8px; }
.legal-wrap p, .legal-wrap li { color: var(--chrome); font-size: 15px; line-height: 1.7; }
.legal-wrap ul { list-style: disc; padding-left: 22px; margin: 10px 0 16px; }
.legal-wrap li { margin-bottom: 7px; }
.legal-wrap a { color: var(--amber); text-decoration: underline; }
.legal-box {
  background: var(--asphalt-1);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 20px 0;
}
.legal-box p { margin: 0 0 8px; }
.legal-box p:last-child { margin-bottom: 0; }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--chrome-dim);
  margin-bottom: 26px;
}
.legal-back:hover { color: var(--amber); }

@media (max-width: 620px) {
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

/* ---------- "NON-STOP" fire text ---------- */
.fire-text {
  background: linear-gradient(0deg,
    #ffd24a 0%,
    #ff9d17 22%,
    #f5601a 45%,
    #e01d22 72%,
    #b3111a 100%);
  background-size: 100% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: #e01d22;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-shadow: none;
  filter:
    drop-shadow(0 0 5px rgba(255, 122, 24, .55))
    drop-shadow(0 0 14px rgba(224, 29, 34, .35));
  animation: fire-flicker 2.6s ease-in-out infinite;
}
@keyframes fire-flicker {
  0%, 100% {
    background-position: 50% 100%;
    filter: drop-shadow(0 0 5px rgba(255,122,24,.55)) drop-shadow(0 0 14px rgba(224,29,34,.35));
  }
  30% {
    background-position: 50% 62%;
    filter: drop-shadow(0 0 8px rgba(255,150,30,.75)) drop-shadow(0 0 20px rgba(224,29,34,.5));
  }
  55% {
    background-position: 50% 84%;
    filter: drop-shadow(0 0 4px rgba(255,122,24,.5)) drop-shadow(0 0 12px rgba(224,29,34,.3));
  }
  78% {
    background-position: 50% 55%;
    filter: drop-shadow(0 0 9px rgba(255,170,40,.8)) drop-shadow(0 0 22px rgba(224,29,34,.55));
  }
}
@media (prefers-reduced-motion: reduce) {
  .fire-text { animation: none; background-position: 50% 80%; }
}
/* inside the amber-bordered badge the fire text needs a touch more size */
.tractari-media-badge .fire-text { letter-spacing: .03em; }
/* when used inside body copy (check-list), keep it inline-sized */
.check-list .fire-text { font-family: var(--font-head); letter-spacing: .04em; }

/* ---------- Footer bottom: full white, readable over the flag smoke ---------- */
.footer-bottom {
  color: #ffffff;
}
.footer-bottom span,
.footer-bottom .company-id {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,.85);
}
.footer-bottom .company-id { font-size: 12px; }
.footer-bottom .todo-legal {
  color: #ff7a7f;
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
}
/* legal links row above it — also lift for contrast */
.footer-legal-links a {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}
.footer-legal-links a:hover { color: var(--amber); }
.footer-col a, .footer-col span, .footer-brand p {
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
}

/* ================= COOKIE CONSENT BANNER ================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  background: rgba(13,13,16,.97);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--amber);
  box-shadow: 0 -12px 40px rgba(0,0,0,.55);
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.22,.8,.3,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--paper);
}
.cookie-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--chrome-dim);
  max-width: 76ch;
}
.cookie-text a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.cookie-text a:hover { color: #ffbb1c; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { cursor: pointer; }

/* keep the floating WhatsApp button clear of the banner */
body.cookie-open .wa-float { bottom: 150px; }

@media (max-width: 760px) {
  .cookie-inner { padding: 18px 20px; gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
  body.cookie-open .wa-float { bottom: 210px; }
}

/* ---------- Map placeholder (shown until consent) ---------- */
.contact-map { position: relative; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 26px 22px;
  background:
    repeating-linear-gradient(-45deg, var(--asphalt-1) 0 14px, var(--asphalt-2) 14px 28px);
  color: var(--chrome-dim);
}
.map-placeholder svg { color: var(--amber); margin-bottom: 2px; }
.map-placeholder .mp-title {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 16px;
  color: var(--paper);
  margin: 0;
}
.map-placeholder .mp-text {
  margin: 0 0 6px;
  font-size: 13.5px;
  max-width: 40ch;
  line-height: 1.55;
}
.map-placeholder .btn { cursor: pointer; }
.map-placeholder .mp-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 4px;
}
.map-placeholder .mp-link:hover { color: #ffbb1c; }

/* ================= CONTRACT BUTTON + MODAL ================= */
.btn-contract {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--asphalt-2);
  color: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 14px 7px 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
}
.btn-contract:hover {
  transform: translateY(-1px);
  border-color: var(--amber);
  background: var(--asphalt-3);
  color: var(--amber);
}
.btn-contract .ct-icon { display: block; width: 27px; height: 27px; flex-shrink: 0; }
.btn-contract .ct-icon svg { width: 100%; height: 100%; overflow: visible; }
.btn-contract .ct-label small {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--chrome-dim);
}
.btn-contract:hover .ct-label small { color: var(--amber-dim); }
.ct-pen { transform-origin: 28px 13px; animation: ct-sign 3.4s ease-in-out infinite; }
@keyframes ct-sign {
  0%, 72%, 100% { transform: translate(0,0) rotate(0deg); }
  18% { transform: translate(-13px, 2px) rotate(-7deg); }
  30% { transform: translate(-16px, 1px) rotate(-3deg); }
  44% { transform: translate(-12px, 3px) rotate(-8deg); }
  58% { transform: translate(-15px, 0) rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) { .ct-pen { animation: none; } }
@media (max-width: 1080px) { .btn-contract .ct-label { display: none; } .btn-contract { padding: 7px 10px; } }

.contract-modal {
  position: fixed; inset: 0; z-index: 320;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.contract-modal.open { display: flex; }
.contract-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,6,8,.88);
  backdrop-filter: blur(3px);
}
.contract-modal-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 980px; height: 90vh;
  background: var(--asphalt-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
}
.contract-modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}
.contract-modal-head h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 20px;
  margin: 0;
}
.contract-modal-head .car-modal-close { position: static; flex-shrink: 0; }
.contract-viewer { flex: 1; min-height: 0; background: #e9eaee; }
.contract-viewer iframe { width: 100%; height: 100%; border: 0; display: block; }
.contract-modal-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--asphalt-1);
}
.contract-modal-actions .btn { cursor: pointer; }

@media (max-width: 620px) {
  .contract-modal { padding: 10px; }
  .contract-modal-panel { height: 94vh; }
  .contract-modal-head { padding: 16px 18px 12px; }
  .contract-modal-actions { padding: 12px 16px; }
  .contract-modal-actions .btn { flex: 1; justify-content: center; font-size: 12.5px; padding: 11px 12px; }
}

/* ---------- Contact: phone row with inline WhatsApp shortcut ---------- */
.cc-phone-row { display: inline-flex; align-items: center; gap: 10px; }
.cc-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(31,158,82,.14);
  border: 1px solid rgba(31,158,82,.45);
  color: #35c273;
  flex-shrink: 0;
  transition: background .18s ease, color .18s ease;
}
.cc-wa:hover { background: #1f9e52; color: #fff; }
