/* JZ Resgate — modern build.
   Wide layout, rounded full-bleed panels, JZ blues, motion with reduced-motion fallbacks. */

:root {
  /* colour */
  --white: #ffffff;
  --bg: #f4f6f9;
  --surface: #eaeef3;
  --ink: #0f1b2a;
  --ink-muted: #4a5868;
  --blue: #056ab2;          /* JZ logo blue */
  --blue-hover: #0a7bcc;
  --blue-press: #045a97;
  --sky: #50a2de;           /* JZ light blue */
  --sky-soft: #e3f0fb;
  --night: #071a2c;         /* deep JZ navy */
  --night-2: #0c2740;
  --live: #22c55e;
  --error: #b42318;

  /* type */
  --font: "Inter", "SF Pro Display", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --t-hero: clamp(38px, 5.6vw, 84px);
  --t-h2: clamp(32px, 4.2vw, 60px);
  --t-h3: 20px;
  --t-lead: clamp(17px, 1.4vw, 20px);
  --t-body: 16px;
  --t-small: 14px;

  /* space */
  --max: none;                          /* fluid: use the whole screen */
  --pad: clamp(16px, 3.8vw, 72px);
  --inset: clamp(8px, 1vw, 14px);   /* gap between rounded panels and the screen edge */
  --section: clamp(72px, 9vw, 136px);
  --gap: clamp(12px, 1.4vw, 20px);
  --r-sm: 10px;
  --r: 20px;
  --r-lg: clamp(24px, 2.4vw, 36px);
  --bar-h: clamp(84px, 5.6vw, 104px);

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --t-hover: 200ms;
}
@media (max-width: 767px) { :root { --bar-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 12px);
  interpolate-size: allow-keywords;
}
@media (max-width: 767px) { html { scroll-padding-bottom: 92px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: var(--blue); text-underline-offset: 3px; transition: color var(--t-hover) ease; }
a:hover { color: var(--blue-hover); }
a, button, label, input, select, textarea, summary { -webkit-tap-highlight-color: rgb(5 106 178 / 0.2); touch-action: manipulation; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip {
  position: absolute; left: var(--pad); top: -100px; z-index: 50;
  background: var(--ink); color: var(--white);
  padding: 12px 16px; border-radius: var(--r-sm); font-size: var(--t-small);
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0 20px;
  border: 0; border-radius: 999px;
  font: inherit; font-size: var(--t-small); font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform 160ms var(--ease-out), box-shadow var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: var(--t-body); }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 24px -10px rgb(5 106 178 / 0.7); }
.btn-primary:hover { background: var(--blue-hover); color: var(--white); box-shadow: 0 12px 28px -10px rgb(5 106 178 / 0.85); }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--surface); }
.btn-ghost:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--sky); }
.btn-dark { background: var(--night-2); color: var(--white); }
.btn-dark:hover { background: #163a5c; color: var(--white); }
.arrow { display: inline-block; transition: transform var(--t-hover) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* light sweep across primary buttons */
.btn-shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
@media (prefers-reduced-motion: no-preference) {
  .btn-shine::after { animation: shine 4.5s var(--ease-io) 2s infinite; }
  .btn-shine:hover::after { animation-duration: 1.2s; animation-delay: 0s; }
}
@keyframes shine { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }

/* ---------- Live badge ---------- */
.live {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: var(--white); box-shadow: 0 1px 0 rgb(15 27 42 / 0.04), 0 6px 20px -12px rgb(15 27 42 / 0.25);
  font-size: var(--t-small); font-weight: 600; color: var(--ink);
}
.live-dark { background: rgb(255 255 255 / 0.08); color: var(--white); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
@media (prefers-reduced-motion: no-preference) {
  .dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live);
    animation: ping 1.8s var(--ease-out) infinite;
  }
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- Top bar (turns to glass on scroll) ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 40;
  transition: background-color 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}
.topbar.is-scrolled {
  background: rgb(255 255 255 / 0.72);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 rgb(15 27 42 / 0.06);
}
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  height: var(--bar-h);
}
.logo { justify-self: start; }
.logo img { width: clamp(132px, 10vw, 190px); }
.nav-links {
  justify-self: center;
  display: flex; gap: 2px; padding: 5px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.72);
  box-shadow: inset 0 0 0 1px rgb(15 27 42 / 0.06), 0 10px 30px -18px rgb(7 26 44 / 0.35);
  font-size: var(--t-small); font-weight: 500;
}
.topbar.is-scrolled .nav-links { background: rgb(244 246 249 / 0.9); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { min-height: 46px; padding: 0 18px; }
.nav-links a {
  display: block; padding: 9px 13px; border-radius: 999px;
  color: var(--ink-muted); text-decoration: none;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.nav-links a:hover { background: rgb(5 106 178 / 0.08); color: var(--blue); }
@media (max-width: 1279px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
}
@media (max-width: 767px) {
  .logo img { width: 112px; }
  .nav { gap: 12px; }
  .nav-actions { gap: 8px; }
  .nav-actions .nav-call { min-height: 42px; padding: 0 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--bar-h) + clamp(24px, 3.6vw, 56px));
  background: var(--white);
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 90%;
  background:
    radial-gradient(40% 50% at 18% 30%, rgb(80 162 222 / 0.22), transparent 70%),
    radial-gradient(35% 45% at 82% 10%, rgb(5 106 178 / 0.16), transparent 70%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-glow { animation: glow 14s ease-in-out infinite alternate; }
}
@keyframes glow { to { transform: translate3d(4%, 6%, 0) scale(1.08); } }

.hero-inner { position: relative; display: grid; justify-items: start; gap: 24px; }
.hero-title { font-size: var(--t-hero); line-height: 1; letter-spacing: -0.04em; max-width: 16ch; }
.hl {
  color: var(--blue);
  background: linear-gradient(100deg, var(--blue) 20%, var(--sky) 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead { max-width: 46ch; color: var(--ink-muted); font-size: var(--t-lead); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hero-fleet { position: relative; margin-top: clamp(16px, 2.4vw, 36px); }
.hero-fleet img { width: 100%; height: auto; min-height: 220px; object-fit: cover; object-position: 30% 50%; }

.stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(-72px, -5vw, -32px);
  padding: 8px;
  border-radius: var(--r);
  background: rgb(255 255 255 / 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 30px 60px -30px rgb(7 26 44 / 0.35), inset 0 0 0 1px rgb(255 255 255 / 0.6);
}
.stats > div { padding: clamp(16px, 2vw, 28px); border-radius: 14px; transition: background-color var(--t-hover) ease; }
.stats > div:hover { background: var(--sky-soft); }
.stats dt { font-size: clamp(28px, 3vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--blue); font-variant-numeric: tabular-nums; }
.stats dd { margin-top: 8px; font-size: var(--t-small); color: var(--ink-muted); }
.hero > .wrap:last-child { padding-bottom: clamp(32px, 4vw, 56px); }

@media (max-width: 767px) {
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-fleet img { aspect-ratio: 16 / 9; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -28px; }
}

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; padding: clamp(18px, 2.4vw, 32px) 0; background: var(--bg); }
.ticker-track { display: flex; width: max-content; gap: clamp(28px, 4vw, 64px); }
.ticker span {
  display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 64px);
  font-size: clamp(28px, 4vw, 56px); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap;
  color: #1d3550;
}
.ticker span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: marquee 40s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Shared ---------- */
.section { padding: var(--section) 0; }
.section-flush { padding-top: 0; }
.panel {
  margin: 0 var(--inset);
  padding: var(--section) 0;
  border-radius: var(--r-lg);
}
.panel-night { background: var(--night); color: var(--white); }
.panel-blue {
  color: var(--white);
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(80 162 222 / 0.55), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgb(7 26 44 / 0.55), transparent 60%),
    var(--blue);
}
.head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.head h2, .central-grid h2, .quote-intro h2 {
  font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 16px;
}
.lead { font-size: var(--t-lead); color: var(--ink-muted); max-width: 56ch; }
.panel-night .lead, .panel-blue .lead { color: rgb(255 255 255 / 0.74); }

/* ---------- Bento (services) ---------- */
.bento {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
}
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: clamp(20px, 2vw, 32px);
  border-radius: var(--r);
  background: rgb(255 255 255 / 0.04);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease, background-color 300ms ease;
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgb(80 162 222 / 0.22), transparent 60%);
  transition: opacity 300ms ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgb(80 162 222 / 0.45); }
.tile:hover::before { opacity: 1; }
.tile h3 { position: relative; font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.02em; line-height: 1.2; }
.tile p { position: relative; color: rgb(255 255 255 / 0.68); max-width: 40ch; }

.tile-photo { grid-column: span 2; grid-row: span 2; min-height: 440px; padding: 0; }
.tile-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%;
  transition: transform 800ms var(--ease-out);
}
.tile-photo:hover img { transform: scale(1.05); }
.tile-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgb(7 26 44 / 0.92) 100%);
}
.tile-photo .tile-body { position: relative; z-index: 1; padding: clamp(20px, 2vw, 32px); display: grid; gap: 8px; }
.tile-photo h3 { font-size: clamp(24px, 2.4vw, 36px); }
.tile-wide { grid-column: span 2; }
.tile-accent { grid-column: span 2; background: var(--blue); box-shadow: none; }
.tile-accent p { color: rgb(255 255 255 / 0.85); }

@media (max-width: 1023px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-photo { grid-column: span 2; grid-row: auto; min-height: 340px; }
}
@media (max-width: 599px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile, .tile-photo, .tile-wide, .tile-accent { grid-column: auto; min-height: 0; }
  .tile { padding: 22px; }
  .tile-photo { min-height: 300px; }
}

/* ---------- Timeline (how it works) ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.timeline::before, .timeline::after {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 3px; border-radius: 3px;
}
.timeline::before { background: var(--surface); }
.timeline::after {
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform-origin: left; transform: scaleX(var(--progress, 1));
  transition: transform 900ms var(--ease-out);
}
.tl-step { position: relative; z-index: 1; display: grid; gap: 10px; align-content: start; padding-right: 12px; }
.tl-dot {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 12px;
  border-radius: 50%;
  background: var(--white); color: var(--blue);
  box-shadow: inset 0 0 0 3px var(--surface), 0 10px 24px -14px rgb(5 106 178 / 0.6);
  font-weight: 700; font-size: 18px;
  transition: background-color 400ms ease, color 400ms ease, box-shadow 400ms ease;
}
.tl-step.is-reached .tl-dot { background: var(--blue); color: var(--white); box-shadow: 0 0 0 6px rgb(5 106 178 / 0.12), 0 10px 24px -10px rgb(5 106 178 / 0.8); }
.tl-step h3 { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.02em; }
.tl-step p { color: var(--ink-muted); max-width: 32ch; }

@media (max-width: 767px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before, .timeline::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 3px; height: auto; }
  .timeline::after { transform-origin: top; transform: scaleY(var(--progress, 1)); }
  .tl-step { grid-template-columns: 56px 1fr; column-gap: 20px; row-gap: 6px; }
  .tl-dot { grid-row: span 2; margin-bottom: 0; }
}

/* ---------- Central ---------- */
.central-photo {
  margin: 0 var(--inset);
  border-radius: var(--r-lg); overflow: hidden;
  height: clamp(240px, 27vw, 520px);
}
.central-photo img { width: 100%; height: 100%; object-fit: cover; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .central-photo { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .central-photo img { animation: unzoom linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  }
}
@keyframes grow { from { transform: scale(0.9); border-radius: 64px; } to { transform: none; } }
@keyframes unzoom { from { transform: scale(1.18); } to { transform: none; } }

.central-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: start;
  margin-top: clamp(40px, 5vw, 72px);
}
.checks { display: grid; gap: 12px; }
.checks li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--r-sm);
  background: var(--white); font-weight: 500;
  transition: transform var(--t-hover) var(--ease-out);
}
.checks li:hover { transform: translateX(6px); }
.checks li::before {
  content: "✓"; flex: none; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--sky-soft); color: var(--blue); font-size: 13px; font-weight: 700;
}
@media (max-width: 1023px) { .central-grid { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.quote { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.quote-intro { position: sticky; top: calc(var(--bar-h) + 32px); }
.glass {
  background: rgb(255 255 255 / 0.1);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18);
  border-radius: var(--r);
}
.b2b { margin-top: 36px; padding: 24px; }
.b2b h3 { font-size: var(--t-h3); margin-bottom: 8px; }
.b2b p { color: rgb(255 255 255 / 0.82); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.14); font-size: var(--t-small); font-weight: 500; }
.quote-urgent { margin-top: 24px; font-weight: 600; }
.quote-urgent a { color: var(--white); }

.quote-form {
  display: grid; gap: 28px;
  padding: clamp(20px, 3vw, 40px);
  border-radius: var(--r);
  background: var(--white); color: var(--ink);
  box-shadow: 0 40px 80px -40px rgb(7 26 44 / 0.6);
}
.quote-form fieldset { border: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.quote-form legend { font-size: var(--t-body); font-weight: 700; margin-bottom: 4px; padding: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: var(--t-small); font-weight: 500; color: var(--ink-muted); }
.opt { font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 0; border-radius: 12px;
  background: var(--bg); color: var(--ink);
  font: inherit; font-size: 16px;
  box-shadow: inset 0 0 0 1.5px transparent;
  transition: background-color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
.field select { appearance: none; cursor: pointer; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { background: var(--surface); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgb(5 106 178 / 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: #6b7886; }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--error), 0 0 0 4px rgb(180 35 24 / 0.12); }
.error { font-size: var(--t-small); color: var(--error); font-weight: 500; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--bg); }
.seg label {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px;
  border-radius: 999px; cursor: pointer;
  font-size: var(--t-small); font-weight: 600; text-align: center; color: var(--ink-muted);
  transition: background-color 250ms var(--ease-out), color 250ms ease, box-shadow 250ms ease;
}
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--white); color: var(--blue); box-shadow: 0 4px 14px -6px rgb(7 26 44 / 0.35); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-status { font-size: var(--t-small); font-weight: 500; }
.form-status:empty { display: none; }

@media (max-width: 1023px) {
  .quote { grid-template-columns: 1fr; }
  .quote-intro { position: static; }
}
@media (max-width: 599px) {
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--bar-h) + 32px); margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border-radius: var(--r); background: var(--white);
  transition: box-shadow 300ms ease;
}
.faq-list details[open] { box-shadow: 0 20px 40px -28px rgb(7 26 44 / 0.4); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; line-height: 1.35;
  transition: color var(--t-hover) ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); color: var(--blue); font-size: 20px; font-weight: 500; line-height: 1;
  transition: transform 300ms var(--ease-out), background-color 300ms ease, color 300ms ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq-list summary:hover { color: var(--blue); }
.faq-a p { padding: 0 24px 22px; color: var(--ink-muted); max-width: 62ch; }
/* smooth open where supported */
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size 350ms var(--ease-out), content-visibility 350ms allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }

@media (max-width: 1023px) {
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

/* ---------- CTA with animated border ---------- */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cta-wrap { padding: 0 var(--inset) var(--section); }
.cta {
  position: relative; isolation: isolate;
  display: grid; justify-items: center; gap: 20px; text-align: center;
  padding: clamp(56px, 8vw, 120px) var(--pad);
  border-radius: var(--r-lg);
  background: var(--night); color: var(--white);
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--angle), transparent 0 60%, var(--sky) 75%, var(--blue) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 50% 0%, rgb(80 162 222 / 0.28), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .cta::before { animation: spin 6s linear infinite; }
}
@keyframes spin { to { --angle: 360deg; } }
.cta h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.04em; max-width: 20ch; }
.cta .lead { color: rgb(255 255 255 / 0.74); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgb(255 255 255 / 0.7); padding-top: clamp(56px, 6vw, 88px); font-size: var(--t-small); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 40px; }
.footer-logo { display: inline-block; padding: 10px 14px; border-radius: 14px; background: var(--white); margin-bottom: 16px; }
.footer-logo img { width: 132px; }
.footer-brand p { max-width: 30ch; }
.footer-title { font-weight: 600; color: var(--white); margin-bottom: 10px; }
.footer-grid p + p { margin-top: 8px; }
.footer-links { display: grid; gap: 8px; }
.footer a { color: rgb(255 255 255 / 0.8); }
.footer a:hover { color: var(--sky); }
.footer-bottom { margin-top: 48px; padding-bottom: 32px; }
.footer-bottom p { padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.1); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { padding-bottom: calc(32px + 84px); }
}

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 767px) {
  .callbar {
    position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 45;
    display: grid; grid-template-columns: 1.7fr 1fr; gap: 6px;
    padding: 6px; border-radius: 999px;
    background: rgb(7 26 44 / 0.88);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -16px rgb(7 26 44 / 0.6);
  }
  .callbar .btn { min-height: 52px; font-size: var(--t-body); }
}

/* ---------- Motion ---------- */
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title [data-line] { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero-title [data-line] {
    transform: translateY(110%);
    animation: line-up 1000ms var(--ease-out) forwards;
    animation-delay: calc(var(--i) * 120ms + 150ms);
  }
  .js .live, .js .hero-lead, .js .hero-actions {
    opacity: 0; transform: translateY(16px);
    animation: rise 800ms var(--ease-out) forwards;
  }
  .js .live { animation-delay: 50ms; }
  .js .hero-lead { animation-delay: 450ms; }
  .js .hero-actions { animation-delay: 560ms; }
  /* the fleet drives in from the left */
  .js .hero-fleet img {
    opacity: 0; transform: translateX(-18%);
    animation: drive 1600ms var(--ease-out) 300ms forwards;
  }
  .js .stats { opacity: 0; transform: translateY(24px); animation: rise 900ms var(--ease-out) 900ms forwards; }
  @supports (animation-timeline: scroll()) {
    .hero-fleet { animation: roll linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  }

  .io .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .io .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drive { to { opacity: 1; transform: none; } }
@keyframes roll { to { transform: translateX(6%); } }

/* ---------- WhatsApp ---------- */
.btn-wa { background: #0f8a43; color: var(--white); box-shadow: 0 8px 24px -10px rgb(15 138 67 / 0.7); }
.btn-wa:hover { background: #0c7a3a; color: var(--white); box-shadow: 0 12px 28px -10px rgb(15 138 67 / 0.85); }
.btn-wa:active { background: #0a6a32; }
.nav-wa { gap: 0.45em; }
@media (max-width: 767px) { .nav-wa { display: none; } }
@media (min-width: 768px) and (max-width: 1100px) { .nav-wa-label { display: none; } .nav-wa { padding: 0 14px; } }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
@media (max-width: 767px) {
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .callbar { grid-template-columns: 1fr 1.25fr 1fr; }
  .callbar .btn { padding: 0 10px; font-size: 15px; }
}
.quote-urgent a + a, .quote-urgent a { color: var(--white); }

/* ---------- Certification ---------- */
.b2b-cert { width: 170px; height: auto; margin-top: 18px; opacity: 0.95; }
.footer-cert { margin-top: 20px; font-size: 13px; color: rgb(255 255 255 / 0.6); }
.footer-cert-logo { width: 160px; height: auto; margin-top: 8px; }

/* ---------- ConectaHub360: centered certification ---------- */
.cert {
  display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 40px);
  max-width: 860px; margin: clamp(40px, 5vw, 64px) auto 0;
  padding: clamp(20px, 2.4vw, 32px) clamp(24px, 3vw, 44px);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: 0 24px 48px -32px rgb(7 26 44 / 0.45), inset 0 0 0 1px var(--surface);
}
.cert img { width: clamp(180px, 20vw, 250px); height: auto; flex: none; }
.cert p { color: var(--ink-muted); font-size: var(--t-small); line-height: 1.45; padding-left: clamp(20px, 3vw, 40px); box-shadow: inset 1px 0 0 var(--surface); }
.cert strong { display: block; color: var(--ink); font-size: var(--t-body); margin-bottom: 2px; }
@media (max-width: 599px) {
  .cert { flex-direction: column; text-align: center; gap: 14px; }
  .cert p { padding: 14px 0 0; box-shadow: inset 0 1px 0 var(--surface); }
}

/* ---------- Trabalhe conosco ---------- */
.section-tight-top { padding-top: 0; }
.jobs { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.jobs-intro { position: sticky; top: calc(var(--bar-h) + 32px); }
.jobs-intro h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 16px; }
.jobs-photo { margin-top: 28px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.jobs-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.jobs-form { box-shadow: 0 30px 60px -36px rgb(7 26 44 / 0.4), inset 0 0 0 1px var(--surface); }
@media (max-width: 1023px) {
  .jobs { grid-template-columns: 1fr; }
  .jobs-intro { position: static; }
  .jobs-photo { aspect-ratio: 16 / 9; }
}

/* file drop */
.field .file-input { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; overflow: hidden; }
.field:has(.file-input) { position: relative; }
.drop {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 14px; cursor: pointer;
  background: var(--bg);
  outline: 1.5px dashed #b6c3d1; outline-offset: -1.5px;
  transition: background-color var(--t-hover) ease, outline-color var(--t-hover) ease;
}
.drop:hover, .drop.is-over { background: var(--sky-soft); outline-color: var(--blue); }
.field:has(.file-input:focus-visible) .drop { outline: 2px solid var(--blue); }
.field:has(.file-input[aria-invalid="true"]) .drop { outline: 2px solid var(--error); }
.drop-ico {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--white); color: var(--blue); font-size: 20px; font-weight: 700;
  box-shadow: 0 6px 16px -10px rgb(7 26 44 / 0.4);
}
.drop-text { font-size: var(--t-small); color: var(--ink-muted); line-height: 1.45; }
.drop-text strong { color: var(--blue); }
.drop-hint { font-size: 13px; }
.drop-file { margin-left: auto; font-size: var(--t-small); font-weight: 600; color: var(--ink); max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-file:empty { display: none; }
@media (max-width: 599px) { .drop { flex-wrap: wrap; } .drop-file { margin-left: 60px; max-width: 100%; } }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-small); color: var(--ink-muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); cursor: pointer; }
.consent:has(input[aria-invalid="true"]) input { outline: 2px solid var(--error); outline-offset: 2px; }

/* honeypot: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* sending + done states */
.quote-form { position: relative; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .arrow { display: none; }
.btn.is-loading::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.4); border-top-color: var(--white);
  animation: spin360 700ms linear infinite;
}
@keyframes spin360 { to { transform: rotate(360deg); } }
.form-status.is-error { color: var(--error); }
.form-done {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center;
  padding: 32px; border-radius: inherit; background: var(--white);
}
.form-done:not([hidden]) { animation: rise 500ms var(--ease-out) both; }
.done-ico {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: #0f8a43; color: var(--white); font-size: 30px; font-weight: 700;
  box-shadow: 0 0 0 10px rgb(15 138 67 / 0.12);
}
.form-done h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; outline: none; }
.form-done p { color: var(--ink-muted); max-width: 36ch; }

/* ---------- Menu (tablet and phone) ---------- */
.menu-btn {
  display: none; flex: none;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
  background: var(--white); cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--surface), 0 6px 16px -10px rgb(7 26 44 / 0.35);
  transition: background-color var(--t-hover) ease;
}
.menu-btn:hover { background: var(--sky-soft); }
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 18px; height: 2px; margin: 0 auto; border-radius: 2px;
  background: var(--ink); transition: transform 250ms var(--ease-out), opacity 200ms ease;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

.menu {
  background: var(--white);
  box-shadow: 0 30px 50px -30px rgb(7 26 44 / 0.45);
  border-radius: 0 0 var(--r) var(--r);
}
.menu-links { display: grid; padding-top: 8px; padding-bottom: 20px; }
.menu-links a {
  display: block; padding: 14px 4px;
  font-size: 20px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--surface);
}
.menu-links li:last-child a { box-shadow: none; }
.menu-links a:hover { color: var(--blue); }
.topbar.menu-open { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) { animation: rise 300ms var(--ease-out) both; }
}

@media (max-width: 1279px) { .menu-btn { display: block; } }
@media (min-width: 1280px) { .menu { display: none !important; } }

/* header: tighter between 1280 and 1439 so the links stay centred */
@media (min-width: 1280px) and (max-width: 1439px) {
  .nav-links a { padding: 9px 10px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 0 14px; }
}

/* ---------- "Usar minha localização" ---------- */
.geo-wrap { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.geo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--sky-soft); color: var(--blue);
  font: inherit; font-size: var(--t-small); font-weight: 600; white-space: nowrap;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform 160ms var(--ease-out);
}
.geo-btn:hover { background: #d3e7f8; }
.geo-btn:active { transform: scale(0.97); }
.geo-btn[aria-busy="true"] { pointer-events: none; opacity: 0.8; }
.geo-btn[aria-busy="true"] .ico { animation: geo-pulse 900ms ease-in-out infinite; }
@keyframes geo-pulse { 50% { transform: translateY(-3px); } }
.geo-status { font-size: 13px; color: var(--ink-muted); }
.geo-status:empty { display: none; }
.geo-status.is-ok { color: #0f7a3c; font-weight: 500; }
.geo-status.is-error { color: var(--error); }
.geo-status a { color: inherit; }
.field input.is-geo-filled { background: #eaf6ee; box-shadow: inset 0 0 0 1.5px #8fd3a8; }
@media (max-width: 599px) { .geo-wrap { grid-template-columns: 1fr; } .geo-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .geo-btn[aria-busy="true"] .ico { animation: none; } }

/* ---------- Hero on wide screens: stats sit beside the headline ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "fleet" "stats"; }
.hero-inner { grid-area: text; }
.hero-fleet { grid-area: fleet; }
.hero > .wrap:last-child { grid-area: stats; }

@media (min-width: 1280px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "text stats" "fleet fleet";
    align-items: end;
  }
  .hero-inner { padding-right: 0; }
  .hero > .wrap:last-child { width: auto; padding-left: 0; padding-bottom: 6px; }
  .stats {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    width: clamp(440px, 34vw, 640px);
    margin-top: 0;
  }
  .stats dt { font-size: clamp(32px, 2.6vw, 52px); }
  .hero-fleet { margin-top: clamp(28px, 3vw, 56px); }
}

/* ---------- Sobre a JZ ---------- */
.about { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.about-text h2 { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 20px; }
.about-big { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 20px; max-width: 34ch; }
.about-text p:not(.about-big) { color: var(--ink-muted); max-width: 62ch; }
.about-text p + p:not(.about-big) { margin-top: 14px; }
.about-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 900ms var(--ease-out); }
.about-photo:hover img { transform: scale(1.04); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); }
.mv-card { padding: clamp(24px, 2.6vw, 40px); border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--surface); }
.mv-card h3 { font-size: var(--t-small); font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.mv-card p { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.mv-mission { background: var(--blue); box-shadow: 0 30px 60px -36px rgb(5 106 178 / 0.8); }
.mv-mission h3 { color: rgb(255 255 255 / 0.8); }
.mv-mission p { color: var(--white); }

.values { margin-top: clamp(40px, 5vw, 72px); }
.values-title { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; margin-bottom: 20px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.value {
  padding: clamp(20px, 2vw, 28px); border-radius: var(--r); background: var(--white);
  box-shadow: inset 0 0 0 1px var(--surface);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}
.value:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--sky), 0 20px 40px -28px rgb(7 26 44 / 0.4); }
.value-ico {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 14px; background: var(--sky-soft); color: var(--blue);
}
.value-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value h4 { font-size: var(--t-h3); letter-spacing: -0.01em; margin-bottom: 6px; }
.value p { color: var(--ink-muted); }

@media (max-width: 1023px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 16 / 9; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .mv, .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Photos from the services page ---------- */
/* pátio photo behind its tile */
.tile-img { padding: 0; min-height: 280px; }
.tile-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  transition: transform 800ms var(--ease-out);
}
.tile-img:hover img { transform: scale(1.05); }
.tile-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 26 44 / 0.05) 20%, rgb(7 26 44 / 0.9) 100%); }
.tile-img .tile-body { position: relative; z-index: 1; padding: clamp(20px, 2vw, 32px); display: grid; gap: 8px; }
.tile-img p { color: rgb(255 255 255 / 0.85); }

/* monitoring screens under the Central text */
.central-detail { margin-top: 28px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; max-width: 640px; }
.central-detail img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 800ms var(--ease-out); }
.central-detail:hover img { transform: scale(1.04); }

/* driver in "Trabalhe na JZ" */
.jobs-photo { aspect-ratio: 5 / 4; }
.jobs-photo img { object-position: 50% 15%; }
@media (max-width: 1023px) { .jobs-photo { aspect-ratio: 4 / 3; } }

/* final call: text + truck */
.cta-text { display: grid; justify-items: center; gap: 20px; }
.cta-truck { width: min(100%, 560px); margin-top: 12px; }
.cta-truck img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.45)); }
@media (min-width: 1024px) {
  .cta {
    grid-template-columns: 1.05fr 1fr; align-items: center; justify-items: stretch;
    text-align: left; padding-left: clamp(48px, 6vw, 120px); padding-right: clamp(32px, 4vw, 80px);
  }
  .cta-text { justify-items: start; }
  .cta-actions { justify-content: flex-start; }
  .cta-truck { width: 100%; max-width: 680px; justify-self: end; margin-top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .io .cta .cta-truck img { opacity: 0; transform: translateX(30%); transition: opacity 900ms var(--ease-out) 250ms, transform 1300ms var(--ease-out) 250ms; }
  .io .cta.is-in .cta-truck img { opacity: 1; transform: none; }
}
@media (min-width: 1024px) { .central-grid { align-items: center; } }

/* ---------- ConectaHub360 certification badge ---------- */
.cert-badge {
  display: grid; justify-items: center; gap: 4px; text-align: center;
  margin: clamp(40px, 5vw, 72px) auto 0;
}
.cert-badge img { width: clamp(300px, 30vw, 460px); height: auto; transition: transform 300ms var(--ease-out); }
.cert-badge img:hover { transform: translateY(-3px); }
.cert-badge p { font-size: var(--t-small); color: var(--ink-muted); max-width: 46ch; }

/* tighter spacing around the ConectaHub360 badge */
.cert-badge { margin-top: clamp(28px, 3vw, 44px); }
#central { padding-bottom: clamp(40px, 4.5vw, 72px); }

/* thin lines on each side of the badge, fading out towards the edges */
.cert-badge { grid-template-columns: 1fr auto 1fr; column-gap: clamp(16px, 2.4vw, 40px); align-items: center; }
.cert-badge::before, .cert-badge::after {
  content: ""; height: 1px; grid-row: 1;
  background: linear-gradient(90deg, transparent, rgb(15 27 42 / 0.14));
}
.cert-badge::after { background: linear-gradient(90deg, rgb(15 27 42 / 0.14), transparent); }
.cert-badge::before { grid-column: 1; }
.cert-badge img { grid-column: 2; grid-row: 1; }
.cert-badge::after { grid-column: 3; }
.cert-badge p { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
@media (max-width: 599px) {
  .cert-badge { column-gap: 12px; }
  .cert-badge img { width: min(300px, 78vw); }
}
.cert-badge { width: 100%; }
.cert-badge::before, .cert-badge::after { justify-self: stretch; width: 100%; }
.cert-badge { column-gap: clamp(0px, 0.6vw, 10px); }
@media (max-width: 599px) {
  .cert-badge { grid-template-columns: 1fr; }
  .cert-badge::before, .cert-badge::after { display: none; }
  .cert-badge img { grid-column: 1; }
}

/* ---------- Central: header on top, photo and list as an equal pair ---------- */
.central-grid { display: block; }
.central-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap) clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.central-head h2 { margin-bottom: 0; }
.central-head .lead { max-width: 52ch; }
.central-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: stretch; }
.central-pair .central-detail { margin-top: 0; max-width: none; aspect-ratio: auto; height: 100%; min-height: 320px; }
.central-pair .checks { display: grid; grid-template-rows: repeat(4, 1fr); gap: var(--gap); }
.central-pair .checks li { align-items: center; padding: 0 clamp(20px, 2vw, 32px); font-size: clamp(16px, 1.15vw, 18px); }
@media (max-width: 1023px) {
  .central-head, .central-pair { grid-template-columns: 1fr; }
  .central-head { gap: 12px; }
  .central-pair .central-detail { min-height: 0; aspect-ratio: 16 / 9; }
  .central-pair .checks { grid-template-rows: none; }
  .central-pair .checks li { padding: 18px 20px; }
}
@media (min-width: 1024px) {
  .central-pair .central-detail { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}

/* Central: lead text sits under the title */
.central-head { grid-template-columns: 1fr; gap: 12px; align-items: start; }
.central-head .lead { max-width: 62ch; }
