/* Hallmark · genre: editorial · macrostructure: Split Studio · theme: Sport · tone: utilitarian · anchor hue: warm 45–75
 * audience: local businesses with utility-vehicle fleets · use: call now · languages: ro + en
 * H2 knobs: ratio=7/5, right=hand-SVG proof, divider=negative-space · S2 hanging
 * F3 knobs: cols=3 (key/value/note), rules=every-row, numbers=n/a
 * C1 knobs: shape=slab, density=spacious, adornment=arrow
 * nav: N9 (CTA=outlined, wordmark=display, padding=tight) · footer: Ft4 (mono · single block · year)
 * enrichment: Tier-B hand-built SVG schematics · motion: load-reveal + cta-lift (2 primitives)
 * rev 2026-08-06: carosari removed (legal) · quotes: 4-slot asymmetric grid, placeholder copy
 * rev 2026-08-06b: map + socials moved into call band · footer back to plain Ft4 colophon
 * Hallmark · pre-emit critique: P4 H5 E4 S5 R5 V4
 * contrast: pass (40–41) · slop: pass (42–45) · honest: pass (46) · chrome: pass (47) · tokens: pass (48)
 * responsive: pass (49) · icons: pass (30) · mobile: pass (34, 49, 50–57)
 */

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

html { overflow-x: clip; }
body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-paper);
  padding-inline: max(0px, env(safe-area-inset-left));
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  min-width: 0;
  margin: 0;
}

p { margin: 0; max-width: 65ch; }

a { color: inherit; }

img, svg { max-width: 100%; height: auto; }

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

/* ---- Language toggle ------------------------------------------- */
html[data-lang="ro"] .l-en { display: none; }
html[data-lang="en"] .l-ro { display: none; }

.lang {
  display: inline-flex;
  gap: var(--space-2xs);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}
.lang button {
  font: inherit;
  color: var(--color-muted);
  background: none;
  border: none;
  padding: var(--space-2xs) var(--space-xs);
  cursor: pointer;
  white-space: nowrap;
}
.lang button:active { transform: translateY(1px); }
.lang button[aria-pressed="true"] {
  color: var(--color-ink);
  border-bottom: 2px solid var(--color-accent);
}

/* ---- Nav · N9 edge-aligned minimal ----------------------------- */
.nav-edge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding-block: var(--space-sm);
  padding-inline: var(--page-inline);
  border-bottom: var(--rule-heavy);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  white-space: nowrap;
}
.wordmark::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  background: var(--color-accent);
}
.nav-edge__end {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* ---- CTA · C1 outlined slab ------------------------------------ */
.cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: var(--space-sm) var(--space-lg);
  min-height: 44px;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-0);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out),
              transform 100ms var(--ease-out);
}
.cta-outline:hover { background: var(--color-ink); color: var(--color-paper-on-ink); transform: translateY(-1.5px); }
.cta-outline:active { transform: translateY(1px); }

/* ---- Hero · H2 split diptych 7/5 ------------------------------- */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-2xl);
  align-items: center;
  padding-block: var(--space-2xl) var(--space-3xl);
  padding-inline: var(--page-inline);
}
.hero-split h1 { font-size: var(--text-display); }
.hero-split .lede {
  font-size: var(--text-md);
  color: var(--color-ink-2);
  margin-top: var(--space-lg);
}
.hero-split .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.link-quiet {
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--color-ink);
  padding-bottom: var(--space-3xs);
  white-space: nowrap;
  transition: border-color var(--dur-short) var(--ease-out);
}
.link-quiet:hover { border-bottom: 2px solid var(--color-accent); }
.link-quiet:active { transform: translateY(1px); }

.hero-split figure { margin: 0; min-width: 0; }
figcaption {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-top: var(--space-sm);
}

/* Load reveal — the page's single orchestrated entrance */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  animation: reveal var(--dur-long) var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---- Services · alternating diptychs --------------------------- */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: var(--space-2xl);
  align-items: center;
  padding-block: var(--space-2xl);
  padding-inline: var(--page-inline);
  border-top: var(--rule-heavy);
}
.svc:nth-of-type(even) .svc__text { order: 2; }
.svc h2 { font-size: var(--text-2xl); }
.svc p { margin-top: var(--space-md); color: var(--color-ink-2); }
.svc figure { margin: 0; min-width: 0; max-width: 26rem; justify-self: center; }

/* ---- Schematic SVG voice --------------------------------------- */
.schematic { display: block; width: 100%; }
.d-ink   { stroke: var(--color-ink); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.d-thin  { stroke: var(--color-neutral); stroke-width: 1.25; fill: none; stroke-linecap: round; }
.d-dim   { stroke: var(--color-neutral); stroke-width: 1; fill: none; }
.d-dash  { stroke: var(--color-neutral); stroke-width: 1.25; fill: none; stroke-dasharray: 5 5; }
.d-accent{ stroke: var(--color-accent-deep); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.d-accent-fill { fill: var(--color-accent); stroke: none; }
.d-label {
  font-family: var(--font-mono);
  font-size: 13px;
  fill: var(--color-muted);
}

/* ---- Process · F4 step sequence (genuinely ordinal) ------------ */
.process { padding: 0 var(--page-inline) var(--space-2xl); border-top: var(--rule-heavy); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}
.step__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--color-accent-deep);
}
.step h3 { font-size: var(--text-md); margin-top: var(--space-2xs); }
.step p { color: var(--color-ink-2); margin-top: var(--space-xs); }

/* ---- Testimonials · asymmetric quote grid ---------------------- */
.quotes { padding: 0 var(--page-inline) var(--space-3xl); border-top: var(--rule-heavy); }
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-xl) var(--space-2xl);
}
.quote { margin: 0; min-width: 0; }
.quote::before {
  content: "\201E";
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  line-height: 0.5;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.quote blockquote { margin: 0; font-size: var(--text-md); color: var(--color-ink-2); }
.quote figcaption { margin-top: var(--space-sm); }
.quote--lead { grid-column: 1 / span 8; }
.quote--lead blockquote { font-size: var(--text-lg); line-height: 1.4; color: var(--color-ink); }
.quote--side { grid-column: 9 / span 4; margin-top: var(--space-2xl); }
.quote--half { grid-column: 1 / span 5; }
.quote--wide { grid-column: 7 / span 6; margin-top: var(--space-xl); }

/* ---- FAQ · conversational ------------------------------------- */
.faq { padding: 0 var(--page-inline) var(--space-3xl); border-top: var(--rule-heavy); }
.faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl) var(--space-2xl);
  margin: 0;
  max-width: 70rem;
}
.faq__item dt { font-weight: 600; font-size: var(--text-md); }
.faq__item dd { margin: var(--space-xs) 0 0; color: var(--color-ink-2); }

/* ---- Spec sheet · S2 hanging head + F3 table ------------------- */
.sheet { padding: 0 var(--page-inline) var(--space-3xl); border-top: var(--rule-heavy); }
.head-hang { padding-block: var(--space-2xl) var(--space-xl); }
.head-hang h2 { font-size: var(--text-2xl); }

.spec-sheet {
  width: 100%;
  border-collapse: collapse;
}
.spec-sheet th,
.spec-sheet td {
  text-align: left;
  vertical-align: top;
  padding: var(--space-sm) var(--space-lg) var(--space-sm) 0;
  border-top: var(--rule-hair);
}
.spec-sheet th {
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-xs);
  color: var(--color-muted);
  width: 22%;
  white-space: nowrap;
}
.spec-sheet td.note { color: var(--color-muted); width: 30%; }

/* ---- Call band — Sport's bleed-colour divider ------------------ */
.call-band {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-2xl);
  align-items: center;
  background: var(--color-ink);
  color: var(--color-paper-on-ink);
  padding-block: var(--space-3xl);
  padding-inline: var(--page-inline);
}
.call-band :focus-visible { outline-color: var(--color-accent); }
.call-band .socials { margin: var(--space-xl) 0 0; }
.call-band .socials a { border-color: var(--color-paper-on-ink); }
.call-band .socials a:hover { background: var(--color-paper-on-ink); color: var(--color-ink); }
.call-band__map { margin: 0; min-width: 0; }
.call-band__map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--color-paper-muted);
  filter: grayscale(1) contrast(1.05);
}
.call-band__map figcaption { color: var(--color-paper-muted); }
.call-band h2 { font-size: var(--text-3xl); max-width: 18ch; }
.call-band .phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw + 0.5rem, 3.8rem);
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
  border-bottom: 3px solid var(--color-accent);
  margin-top: var(--space-xl);
  white-space: nowrap;
  transition: border-color var(--dur-short) var(--ease-out), transform 100ms var(--ease-out);
}
.call-band .phone:hover { border-color: var(--color-paper-on-ink); transform: translateY(-1.5px); }
.call-band .phone:active { transform: translateY(1px); }
.call-band .phone:focus-visible { outline-color: var(--color-accent); }
.call-band .aside {
  font-size: var(--text-sm);
  color: var(--color-paper-muted);
  margin-top: var(--space-lg);
}

/* ---- Footer · Ft4 dense colophon ------------------------------- */
.foot-dense {
  padding-block: var(--space-xl);
  padding-inline: var(--page-inline);
  border-top: var(--rule-hair);
}

/* ---- Socials (used in the call band) ---------------------------- */
.socials {
  display: flex;
  gap: var(--space-sm);
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
}
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-ink);
  transition: background-color var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out),
              transform 100ms var(--ease-out);
}
.socials a:hover { background: var(--color-ink); color: var(--color-paper-on-ink); }
.socials a:active { transform: translateY(1px); }
.socials svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.socials .s-dot { fill: currentColor; stroke: none; }
.foot__colophon {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.8;
  color: var(--color-muted);
  max-width: none;
  margin: 0;
}

/* ---- Responsive ------------------------------------------------ */
@media (max-width: 60rem) {
  .hero-split,
  .svc {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: start;
  }
  .svc:nth-of-type(even) .svc__text { order: 0; }
  .svc figure { justify-self: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__list { grid-template-columns: 1fr; }
  .quotes__grid { grid-template-columns: 1fr; }
  .quote--lead, .quote--side, .quote--half, .quote--wide { grid-column: auto; margin-top: 0; }
  .call-band { grid-template-columns: 1fr; align-items: start; }
  .hero-split { padding-block: var(--space-2xl) var(--space-xl); }
}

@media (max-width: 40rem) {
  .nav-edge .cta-outline { padding: var(--space-xs) var(--space-sm); }
  .steps { grid-template-columns: 1fr; }
  .spec-sheet, .spec-sheet tbody, .spec-sheet tr, .spec-sheet th, .spec-sheet td { display: block; width: 100%; }
  .spec-sheet th { border-top: var(--rule-hair); padding-bottom: 0; }
  .spec-sheet td { border-top: none; padding-top: var(--space-2xs); padding-right: 0; }
  .spec-sheet td.note { width: 100%; }
}

@media (pointer: coarse) {
  .cta-outline, .lang button { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 150ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 150ms !important;
  }
  .reveal { animation: reveal-reduced 150ms linear forwards; }
  @keyframes reveal-reduced { to { opacity: 1; transform: none; } }
}
