/* Dnipro Logistics — freight & logistics. Concept: industrial slate authority with
   safety-orange energy; bold-color-block hero section bisected by a diagonal rule;
   Space Grotesk for impactful headings + Inter for precise body text. */
:root {
  --bg: #f4f5f6;
  --surface: #ffffff;
  --ink: #1c2331;
  --muted: #5a6270;
  --primary: #1c2331;
  --primary-ink: #ffffff;
  --orange: #e85d04;
  --orange-dark: #c44e03;
  --orange-ink: #ffffff;
  --accent: #e85d04;
  --border: #dde1e6;
  --slate-mid: #2d3748;
  --slate-light: #eaf0f6;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 12px 32px -16px rgba(28,35,49,.28);
  --shadow-card: 0 4px 18px -8px rgba(28,35,49,.18);
  --maxw: 1200px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --h1: clamp(2.4rem, 5.5vw, 3.8rem);
  --h2: clamp(1.55rem, 3vw, 2.4rem);
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.nav-lock { overflow: hidden; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: var(--h1); margin: 0 0 .45em; }
h2 { font-size: var(--h2); margin: 0 0 .55em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1rem; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.section--dark { background: var(--primary); color: #fff; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 .75rem;
  font-family: var(--font-head);
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--orange); color: var(--orange-ink); border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--dark:hover { background: var(--slate-mid); border-color: var(--slate-mid); }

/* ── header / nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--primary) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: -.02em;
}
.brand__mark {
  width: 30px;
  height: 30px;
  background: var(--orange);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand__mark svg { display: block; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  font-size: .93rem;
  font-family: var(--font-head);
  letter-spacing: .01em;
  transition: color .15s;
}
.nav-menu a:hover { color: #fff; }
.nav-menu .btn { padding: .55rem 1.1rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO — bold-color-block ── */
.hero {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: clamp(480px, 65vh, 700px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 80px;
  background: var(--primary);
  transform: translateX(-50%) skewX(-4deg);
  z-index: 2;
}
.hero__copy {
  position: relative;
  z-index: 3;
  padding: clamp(3rem, 8vw, 5.5rem) var(--pad) clamp(3rem, 8vw, 5.5rem) max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__copy .eyebrow { color: var(--orange); }
.hero__copy h1 { color: #fff; }
.hero__copy h1 em {
  font-style: normal;
  color: var(--orange);
  display: block;
}
.hero__copy .lead { color: rgba(255,255,255,.72); max-width: 48ch; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero__media {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28,35,49,.5) 0%, transparent 60%);
  z-index: 1;
}

/* ── stats band ── */
.stats-band { background: var(--orange); color: #fff; padding: clamp(1.8rem, 4vw, 2.8rem) 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat__value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat__label { font-size: .88rem; color: rgba(255,255,255,.85); margin-top: .3rem; font-weight: 500; }

/* ── grids ── */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ── cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card--media { padding: 0; overflow: hidden; }
.card--media img { width: 100%; height: 210px; object-fit: cover; }
.card--media .card__body { padding: 1.5rem; }
.card ul { margin: .7rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.card li { margin: .3rem 0; font-size: .93rem; }
.card--media:hover { transform: translateY(-3px); }
.card--accent { border-left: 4px solid var(--orange); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

.tag {
  display: inline-block;
  font-size: .73rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: var(--font-head);
  background: rgba(232, 93, 4, .1);
  padding: .2rem .55rem;
  border-radius: 4px;
  margin-bottom: .5rem;
}

/* ── split layout ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 5/4; }
.split--reverse { }
@media (min-width: 901px) {
  .split--reverse > *:first-child { order: 2; }
  .split--reverse > *:last-child { order: 1; }
}

/* ── process steps ── */
.steps {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: step-counter;
}
.step {
  position: relative;
  padding: 2rem 1.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: .35rem;
}
.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
}
.step.active::before { background: var(--orange); }
.step__num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: .5rem;
}
.step.active .step__num { color: var(--orange); }
.step h3 { font-size: 1.05rem; }

/* ── testimonials ── */
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  position: relative;
}
.quote::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--orange);
  line-height: .5;
  position: absolute;
  top: 1.2rem;
  left: 1.5rem;
  opacity: .35;
}
.quote p { font-size: 1rem; color: var(--ink); padding-top: 1rem; }
.quote footer { margin-top: .9rem; font-style: normal; font-weight: 700; font-family: var(--font-head); }
.quote footer span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; font-family: var(--font-body); }

/* ── FAQ ── */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  margin-bottom: .7rem;
  transition: box-shadow .15s;
}
.faq details[open] { box-shadow: var(--shadow-card); border-color: var(--orange); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: .98rem;
  list-style: none;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--orange); font-size: 1.4rem; line-height: 1; font-family: var(--font-head); }
.faq details[open] summary::after { content: '—'; }
.faq details p { margin-top: .6rem; color: var(--muted); }

/* ── CTA banner ── */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.cta-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(28,35,49,.88) 0%, rgba(28,35,49,.72) 100%);
  z-index: -1;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.8); }

/* ── page hero (inner pages) ── */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
}
.page-hero .eyebrow { color: var(--orange); }
.page-hero h1 { color: #fff; margin-bottom: .4em; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 62ch; }

/* ── values cards with icon bar ── */
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-card);
}
.value-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(232, 93, 4, .12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 3.5rem); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; font-family: var(--font-head); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .78rem .95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: .95rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,4,.15);
}
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { margin-top: .22rem; accent-color: var(--orange); }
.form-note { margin-top: .6rem; font-size: .9rem; min-height: 1.2em; }
.form-note.error { color: #c0392b; }
.form-note.ok { color: #1a7a3e; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: .75rem 0; border-bottom: 1px solid var(--border); }
.info-list li:last-child { border-bottom: none; }
.info-list strong { display: block; color: var(--orange); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-head); margin-bottom: .15rem; }
.map-box {
  margin-top: 1.2rem;
  height: 190px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: repeating-linear-gradient(45deg, #edf1f5, #edf1f5 12px, #dde3e9 12px, #dde3e9 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .9rem;
  font-family: var(--font-head);
  font-weight: 600;
}

/* ── legal pages ── */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { margin-top: 2.2rem; font-size: 1.3rem; }
.legal h3 { margin-top: 1.5rem; font-size: 1.05rem; }
.legal ul { color: var(--muted); padding-left: 1.2rem; }
.legal li { margin: .3rem 0; }
.legal .updated { color: var(--muted); font-size: .88rem; margin-bottom: 2rem; border-left: 3px solid var(--orange); padding-left: .75rem; }

/* ── footer ── */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.72);
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { color: #fff; margin-bottom: .75rem; font-size: 1.15rem; }
.footer-grid h4 { color: #fff; font-family: var(--font-head); margin: 0 0 .85rem; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: .45rem 0; font-size: .93rem; }
.footer-desc { color: rgba(255,255,255,.55); font-size: .9rem; max-width: 28ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .85rem;
  color: rgba(255,255,255,.42);
}
.footer-bottom a { color: rgba(255,255,255,.42); }
.footer-bottom a:hover { color: rgba(255,255,255,.72); }

/* ── cookie banner ── */
.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  background: var(--slate-mid);
  color: #eef1f6;
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.55);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.1);
}
.cookie p { margin: 0; font-size: .9rem; }
.cookie a { color: var(--orange); }
.cookie__btns { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie .btn { padding: .5rem 1rem; font-size: .88rem; }

/* ── why-us icon cards ── */
.why-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.why-card__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: var(--orange);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

/* ── orange divider rule ── */
.divider { height: 4px; background: var(--orange); width: 60px; margin: 0 0 1.4rem; border: none; }
.divider--center { margin-inline: auto; }

/* ── focus styles for accessibility ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── responsive ── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 62px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
    background: var(--primary);
    border-bottom: 3px solid var(--orange);
    padding: 1.2rem var(--pad);
    transform: translateY(-130%);
    transition: transform .3s ease;
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { transform: translateY(0); }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .55rem 0; width: 100%; font-size: 1rem; }
  .nav-menu .btn { width: 100%; justify-content: center; margin-top: .5rem; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero::after { display: none; }
  .hero__copy { padding: clamp(2.5rem, 7vw, 4rem) var(--pad); }
  .hero__media { min-height: 280px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse > *:first-child { order: unset; }
  .split--reverse > *:last-child { order: unset; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .why-card { flex-direction: column; gap: .7rem; }
}

@media (max-width: 360px) {
  .hero__cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto; }
}


/* === QA pass: consent checkbox + form row normalization === */
.field.check{display:flex !important;gap:.6rem;align-items:flex-start;flex-wrap:nowrap}
.field.check input[type="checkbox"]{
  width:18px !important;height:18px !important;min-width:18px;max-width:18px;
  flex:0 0 18px;margin:.18rem 0 0 0;padding:0;box-sizing:border-box}
.field.check label{margin:0;font-weight:400;line-height:1.5;flex:1 1 auto}


/* ════════════════════════════════════════════════════════════════════
   enrichment sections
   ════════════════════════════════════════════════════════════════════ */

/* ── Industry cards ── */
.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow .2s ease, transform .2s ease;
}
.industry-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.industry-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(232,93,4,.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.industry-card h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.industry-card p { color: var(--muted); font-size: .93rem; flex: 1; margin-bottom: .8rem; }
.industry-card__tags {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: .28rem;
  border-top: 1px solid var(--border);
  padding-top: .85rem;
}
.industry-card__tags li {
  font-size: .83rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.industry-card__tags li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .52em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ── Case result cards ── */
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.case-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap;
}
.case-card__date {
  font-size: .78rem;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
}
.case-card h3 { font-size: 1.05rem; margin: 0; line-height: 1.3; }
.case-card > p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.case-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: .6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.case-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius);
  padding: .6rem .4rem;
}
.case-metric__val {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.case-metric__label {
  font-size: .72rem;
  color: var(--muted);
  margin-top: .25rem;
  line-height: 1.3;
  font-weight: 500;
}

/* ── Coverage section ── */
.coverage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2rem;
}
.coverage-col__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--orange);
}
.coverage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.coverage-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .94rem;
  color: var(--ink);
  padding: .45rem .6rem;
  border-radius: 6px;
  transition: background .15s;
}
.coverage-list li:hover { background: rgba(232,93,4,.06); }
.coverage-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.coverage-dot--int { background: var(--primary); }
.coverage-note {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: rgba(232,93,4,.07);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem;
  color: var(--ink);
}
.coverage-note strong { display: block; margin-bottom: .2rem; color: var(--orange); }
.coverage-note a { color: var(--orange); font-weight: 600; text-decoration: none; }
.coverage-note a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .coverage-layout { grid-template-columns: 1fr; }
}

/* ── Certifications strip ── */
.cert-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.cert-badge {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease, transform .2s ease;
}
.cert-badge:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cert-badge__emblem {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .05em;
  text-align: center;
  line-height: 1.1;
}
.cert-badge__body {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.cert-badge__body strong {
  font-family: var(--font-head);
  font-size: .97rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.cert-badge__body span {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Timeline (about page) ── */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 96px;
  width: 2px;
  background: var(--border);
}
.timeline__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0 1.8rem;
  position: relative;
  padding-bottom: 2.4rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: .1rem;
  position: relative;
}
.timeline__marker::after {
  content: '';
  position: absolute;
  right: -1.8rem;
  top: .45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border);
  border: 3px solid var(--surface);
  transform: translateX(6px);
  z-index: 1;
}
.timeline__item--current .timeline__marker::after {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232,93,4,.2);
}
.timeline__year {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--orange);
  line-height: 1;
  padding-top: .28rem;
}
.timeline__content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.timeline__item--current .timeline__content {
  border-color: var(--orange);
  border-width: 2px;
}
.timeline__content h3 {
  font-size: 1.05rem;
  margin-bottom: .4rem;
  color: var(--ink);
}
.timeline__content p {
  font-size: .93rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .timeline::before { left: 0; }
  .timeline__item { grid-template-columns: 1fr; padding-left: 1.4rem; }
  .timeline__marker { flex-direction: row; align-items: center; gap: .6rem; padding-top: 0; margin-bottom: .6rem; }
  .timeline__marker::after { right: auto; left: -1.4rem; top: 50%; transform: translateY(-50%); }
  .timeline__year { font-size: .95rem; }
}

/* ── Team cards ── */
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--avatar-hue, var(--primary));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  letter-spacing: .03em;
}
.team-card__body { display: flex; flex-direction: column; gap: .25rem; }
.team-card__name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.team-card__role {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  font-family: var(--font-head);
  margin: 0;
}
.team-card__bio {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: .4rem 0 0;
  text-align: left;
}

@media (max-width: 560px) {
  .case-card__metrics { grid-template-columns: repeat(3, 1fr); gap: .35rem; }
  .cert-strip { grid-template-columns: 1fr; }
}


/* === QA pass 2: contain negative-z overlays so light text never falls on a light bg === */
.cta-banner{isolation:isolate;position:relative}
.hero{isolation:isolate}
.page-hero{isolation:isolate}
.hero__media,.hero-media{isolation:isolate}

/* === contrast fix: lift very-dim white-on-dark text to WCAG AA === */
/* footer bottom bar: was rgba(255,255,255,.42) — lifted to .62 for legibility */
.footer-bottom { color: rgba(255,255,255,.62); }
.footer-bottom a { color: rgba(255,255,255,.62); }
.footer-bottom a:hover { color: rgba(255,255,255,.88); }
/* footer description: was .55 — lifted to .72 to match nav-link level */
.footer-desc { color: rgba(255,255,255,.72); }

/* === service card grid: equal-height media cards === */
/* All 6 service cards now use card--media; enforce consistent image height */
#services .card--media { display: flex; flex-direction: column; }
#services .card--media img { height: 200px; width: 100%; object-fit: cover; flex-shrink: 0; }
#services .card--media .card__body { flex: 1; display: flex; flex-direction: column; }
#services .card--media .card__body ul { margin-top: auto; padding-top: .5rem; }

/* polish: depth */
/* Hero — add a subtle radial warm-glow behind the copy column */
.hero__copy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%,
    rgba(232,93,4,.07) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__copy > * { position: relative; z-index: 1; }

/* Stats band — two-stop gradient so it reads as lit from the left */
.stats-band {
  background: linear-gradient(100deg, var(--orange-dark) 0%, var(--orange) 55%, #f06b1a 100%);
}

/* Section --alt (white surface sections) — faint top-to-transparent tint */
.section--alt {
  background: linear-gradient(180deg, #f8f9fa 0%, var(--surface) 60px);
}

/* Plain sections (--bg sections) — very subtle diagonal texture via gradient */
.section:not(.section--alt):not(.section--dark) {
  background: linear-gradient(135deg,
    var(--bg) 0%,
    #eef0f3 50%,
    var(--bg) 100%);
}

/* Page-hero inner pages — directional depth */
.page-hero {
  background: linear-gradient(120deg, var(--primary) 0%, var(--slate-mid) 100%);
}

/* CTA banner overlay — slightly more dimensional gradient */
.cta-banner::before {
  background: linear-gradient(150deg,
    rgba(28,35,49,.92) 0%,
    rgba(28,35,49,.68) 60%,
    rgba(232,93,4,.18) 100%);
}

/* Industry cards on --alt section: keep on-surface feel with subtle left accent */
.industry-card {
  border-top: 3px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.industry-card:hover { border-top-color: var(--orange); }

/* Why-us section: add a faint background radial glow at the centre */
.section--alt #why-glow,
section.section--alt:has(.why-card) {
  position: relative;
}
section.section--alt:has(.why-card)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%,
    rgba(232,93,4,.04) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}
section.section--alt:has(.why-card) .container { position: relative; z-index: 1; }

/* Steps row: subtle gradient on active step top bar already exists;
   add a very light fill to inactive steps for depth */
.step:not(.active) {
  background: linear-gradient(180deg, #fafbfc 0%, var(--surface) 40px);
}


/* === QA pass 3: hidden-attr must win so cookie banner truly dismisses === */
[hidden]{display:none!important}

/* ===== TV4 — Alternating rows with avatar ===== */
.tv4{display:grid;gap:1.4rem;max-width:54rem;margin:0 auto}
.tv4__row{display:flex;gap:1.2rem;align-items:flex-start;background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:1.4rem;margin:0}
.tv4__row--r{flex-direction:row-reverse;text-align:right}
.tv4__av{flex:0 0 48px;height:48px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:var(--bg);font-weight:800}
.tv4__row p{margin:0 0 .5rem;color:var(--ink);line-height:1.55}
.tv4__row cite{color:var(--muted);font-style:normal;font-weight:600;font-size:.9rem}

/* ===== WV1 — Why-us numbered two-column list ===== */
.wv1{display:grid;grid-template-columns:1fr 1fr;gap:0 2.5rem}
.wv1__item{display:flex;gap:1.2rem;padding:1.4rem 0;border-top:1px solid var(--border)}
.wv1__n{color:var(--accent);font-weight:800;font-size:1.4rem;flex:0 0 auto;line-height:1.3}
.wv1__item h3{margin:0 0 .3rem;color:var(--ink);font-size:1.05rem}
.wv1__item p{margin:0;color:var(--muted);line-height:1.5}
@media(max-width:760px){.wv1{grid-template-columns:1fr}}

/* ===== PV2 — Process vertical left-rail timeline ===== */
.pv2{list-style:none;margin:0 auto;padding:0;max-width:48rem;position:relative}
.pv2__step{position:relative;display:grid;grid-template-columns:auto 1fr;gap:1.2rem;padding:0 0 2rem 0}
.pv2__step::before{content:"";position:absolute;left:1.05rem;top:2.2rem;bottom:0;width:2px;background:var(--border)}
.pv2__step:last-child::before{display:none}
.pv2__n{width:2.2rem;height:2.2rem;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--bg);font-weight:800;position:relative;z-index:1}
.pv2__step h3{margin:.2rem 0 .3rem;color:var(--ink)}
.pv2__step p{margin:0;color:var(--muted);line-height:1.55}

/* ===== RV2 — Results metric table ===== */
.rv2{display:grid;gap:0;border-top:1px solid var(--border)}
.rv2__row{display:grid;grid-template-columns:6ch 1fr auto;gap:1.5rem;align-items:center;padding:1.1rem 0;border-bottom:1px solid var(--border)}
.rv2__row strong{font-size:1.6rem;color:var(--accent)}
.rv2__sector{color:var(--ink);font-weight:600}
.rv2__tag{color:var(--muted);font-size:.85rem;text-align:right}
@media(max-width:640px){.rv2__row{grid-template-columns:1fr;gap:.2rem}.rv2__tag{text-align:left}}

/* === uniq-layout-system START === */ w:1100,h:centerline,s:twocol,n:reverse,f:brandright,c:soft */
:root{--maxw:1100px}
.section h2.center{position:relative;padding-bottom:.95rem;margin-bottom:1.4rem}
.section h2.center::after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:0;width:66px;height:3px;background:var(--accent);border-radius:2px}
.section .lead.center{max-width:72ch}
.nav{flex-direction:row-reverse}
.nav-menu{margin-right:auto;margin-left:0}
.card{border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.08)}
#services .grid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:1.5rem}
#services .card{border-left:4px solid var(--accent)}
#services .card>img{aspect-ratio:16/9;object-fit:cover;width:100%}
@media(max-width:680px){#services .grid{grid-template-columns:1fr !important}}
.footer-grid{grid-template-columns:1fr 1fr 1.7fr;gap:2.5rem}
.footer-grid>:first-child{order:3}
@media(max-width:760px){.footer-grid{grid-template-columns:1fr !important;text-align:left !important}.footer-grid>:first-child{grid-column:auto;order:0}}
/* === uniq-layout-system END === */


/* ════════════════════════════════════════════════════════════════════
   2026 refresh — wider container · larger type · roomier blocks ·
   centered animated quote CTA · gallery carousel · reviews page
   (appended last so it wins the cascade over the uniq-layout block)
   ════════════════════════════════════════════════════════════════════ */

/* ── scale: wider shell, larger type, more breathing room ── */
:root {
  --maxw: 1300px;
  --pad: clamp(1.2rem, 4.5vw, 3rem);
  --h1: clamp(2.7rem, 6vw, 4.4rem);
  --h2: clamp(1.85rem, 3.6vw, 2.9rem);
}
body { font-size: 17px; }
h3 { font-size: 1.32rem; }
.lead { font-size: 1.2rem; max-width: 74ch; }
.eyebrow { font-size: .82rem; }
.btn { font-size: 1rem; padding: .9rem 1.7rem; }
.section { padding: clamp(3.8rem, 9vw, 7.5rem) 0; }
.grid { gap: 1.9rem; }
.card { padding: 2rem; }
.card--media .card__body,
#services .card--media .card__body { padding: 1.9rem; }
.card li { font-size: 1rem; }
.stat__value { font-size: clamp(2.3rem, 4.8vw, 3.4rem); }
.stat__label { font-size: .96rem; }
.tv4__row p { font-size: 1.05rem; }
.faq summary { font-size: 1.08rem; }
.section h2.center { margin-bottom: 1.6rem; }

/* ── header: brand left · centered animated quote · links right ── */
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}
.nav .brand { grid-column: 1; justify-self: start; }
.nav-cta    { grid-column: 2; justify-self: center; }
.nav-menu   { grid-column: 3; justify-self: end; margin: 0; gap: 1.7rem; }
.nav-toggle { grid-column: 3; justify-self: end; }
.nav-menu a { font-size: 1rem; }
.nav-menu__cta-li { display: none; }

/* ── the "cool" Get-a-Quote button ── */
.btn--quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: none;
  border-radius: 999px;
  padding: .7rem 1.55rem;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .02em;
  background: linear-gradient(135deg, #ff8125 0%, var(--orange) 45%, var(--orange-dark) 100%);
  box-shadow: 0 6px 20px -6px rgba(232,93,4,.6), inset 0 1px 0 rgba(255,255,255,.32);
}
.btn--quote::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,.5) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .65s ease;
}
.btn--quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 28px -6px rgba(232,93,4,.82), inset 0 1px 0 rgba(255,255,255,.38);
}
.btn--quote:hover::before { transform: translateX(130%); }
.btn--quote .btn__arrow { transition: transform .25s ease; }
.btn--quote:hover .btn__arrow { transform: translateX(4px); }
.nav-cta.btn--quote { animation: quotePulse 2.8s ease-in-out infinite; }
@keyframes quotePulse {
  0%, 100% { box-shadow: 0 6px 20px -6px rgba(232,93,4,.5),  inset 0 1px 0 rgba(255,255,255,.32); }
  50%      { box-shadow: 0 7px 28px -4px rgba(232,93,4,.95), inset 0 1px 0 rgba(255,255,255,.32); }
}

/* ── gallery carousel ── */
.carousel { position: relative; margin-top: 2.6rem; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.carousel__track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.carousel__slide { position: relative; min-width: 100%; margin: 0; }
.carousel__slide img { width: 100%; height: clamp(320px, 52vw, 580px); object-fit: cover; display: block; }
.carousel__slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3rem 1.9rem 1.5rem;
  color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  background: linear-gradient(to top, rgba(28,35,49,.9) 10%, transparent 100%);
}
.carousel__slide figcaption span {
  display: block; margin-top: .25rem;
  font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: rgba(255,255,255,.82);
}
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.93); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; z-index: 2;
  box-shadow: var(--shadow-card); transition: background .15s, transform .15s;
}
.carousel__btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn--prev { left: 1rem; }
.carousel__btn--next { right: 1rem; }
.carousel__dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1.3rem; }
.carousel__dot {
  width: 11px; height: 11px; border-radius: 50%; border: none; padding: 0;
  background: var(--border); cursor: pointer; transition: background .15s, transform .15s;
}
.carousel__dot.is-active { background: var(--orange); transform: scale(1.3); }
@media (max-width: 560px) {
  .carousel__btn { width: 42px; height: 42px; }
  .carousel__slide figcaption { font-size: 1rem; padding: 2.4rem 1.2rem 1.1rem; }
}

/* ── reviews page ── */
.rating-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem; text-align: center; margin-top: 1.8rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-card);
}
.rating-band__num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; color: var(--orange); line-height: 1; }
.rating-band__stars { color: var(--orange); font-size: 1.15rem; letter-spacing: .1em; margin: .35rem 0; }
.rating-band__label { font-size: .9rem; color: var(--muted); }
.review-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 1.7rem; margin-top: 2.6rem;
}
.review-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.9rem; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 1rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.review-card__stars { color: var(--orange); font-size: 1.05rem; letter-spacing: .08em; }
.review-card__text { color: var(--ink); font-size: 1.05rem; line-height: 1.6; flex: 1; margin: 0; }
.review-card__person { display: flex; align-items: center; gap: .9rem; border-top: 1px solid var(--border); padding-top: 1.1rem; }
.review-card__av {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--avatar-hue, var(--primary)); color: #fff;
  font-family: var(--font-head); font-weight: 700;
  display: flex; align-items: center; justify-content: center; letter-spacing: .02em;
}
.review-card__name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); line-height: 1.2; }
.review-card__meta { font-size: .85rem; color: var(--muted); margin-top: .15rem; }

@media (prefers-reduced-motion: reduce) {
  .nav-cta.btn--quote { animation: none; }
  .carousel__track { transition: none; }
}

/* ── header responsive: hide centered CTA on mobile, show it inside the menu ── */
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav .brand { grid-column: 1; }
  .nav-toggle { grid-column: 2; justify-self: end; }
  .nav-cta { display: none; }
  .nav-menu__cta-li { display: block; }
}
