/* ═══════════════════════════════════════════════════════
   Goettsch International — Base Stylesheet
   Converted from ASP.NET/IIS → Django/Linux
   ═══════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────── */
:root {
  --navy:    #0a1628;
  --navy2:   #0f2040;
  --blue:    #1560bd;
  --blue2:   #1976d2;
  --gold:    #d4a017;
  --gold2:   #f0bc2e;
  --sand:    #f6f1e7;
  --mist:    #edf3f8;
  --ink:     #14253f;
  --steel:   #4a6080;
  --smoke:   #f4f6f9;
  --white:   #ffffff;
  --text:    #1a2535;
  --muted:   #6b7f96;
  --border:  #dce4ef;
  --radius:  6px;
  --radius-lg: 18px;
  --shadow:  0 16px 40px rgba(10,22,40,.10);
  --shadow-lg: 0 28px 70px rgba(10,22,40,.16);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --nav-h: 82px;
  --t: 0.22s ease;
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; color: var(--text); background: #ffffff; line-height: 1.6; }   /* flat, was a subtle white→cream gradient — punch list #7 */
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Layout Container ───────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ─── Language Suggestion Banner ─────────────────────── */
/* Slim dismissible strip above the top bar — see
   templates/goettsch/_language_suggest.html and
   goettsch.context_processors.language_suggestion. Flag-gated off by
   default (SiteSettings.language_suggestion_enabled); renders nothing
   when the flag is off or no suggestion applies. */
.lang-suggest {
  background: var(--sand);
  border-bottom: 1px solid var(--border);
}
.lang-suggest-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lang-suggest-text {
  font-size: 13px;
  color: var(--ink);
}
.lang-suggest-text strong { color: var(--navy); }
.lang-suggest-hint {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.lang-suggest-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.lang-suggest-form { margin: 0; }
.lang-suggest-switch {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: background var(--t);
}
.lang-suggest-switch:hover { background: var(--gold2); }
.lang-suggest-dismiss {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lang-suggest-dismiss:hover { color: var(--ink); }

/* ─── Top Bar ────────────────────────────────────────── */
.topbar {
  /* Above the sticky .nav (z-index 1000) so the language dropdown isn't
     painted behind it; the topbar scrolls away so this never occludes nav. */
  position: relative;
  z-index: 1001;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy2) 100%);
  color: rgba(255,255,255,.7);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .03em;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 16px;
}
.topbar-contact { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.65); transition: color var(--t); }
.topbar a:hover { color: var(--gold2); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-trust {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.topbar-langs { display: flex; }

/* ── Language switcher (flag + native name dropdown) ── */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none;
  display: flex; align-items: center; gap: 7px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px;
  transition: all var(--t);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover,
.lang-switch[open] summary { border-color: var(--gold); color: var(--gold2); }
.lang-switch img { display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.lang-switch-caret { font-size: 8px; opacity: .6; }
.lang-switch-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  min-width: 168px;
  margin: 0; padding: 6px; list-style: none;
  background: var(--navy2, #12305e);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.lang-switch-menu a {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px;
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: all var(--t);
}
.lang-switch-menu a:hover { background: rgba(255,255,255,.08); color: var(--gold2); }

/* ─── Navigation ─────────────────────────────────────── */
.nav {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(10,22,40,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 28px rgba(10,22,40,.08);
  backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}
.nav-logo-img {
  height: 60px;
  width: auto;
  max-width: min(320px, 24vw);
  display: block;
  object-fit: contain;
}
.nav-links { display: flex; height: 100%; }
.nav-item { position: relative; height: 100%; }
.nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  left: -16px;
  right: -16px;
  top: 100%;
  height: 16px;
}
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 0 13px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  transition: color var(--t), background var(--t);
}
.nav-item > a:hover,
.nav-item:hover > a { color: var(--blue); background: rgba(21,96,189,.04); }   /* punch list #7 — was a gold gradient tint */
.nav-arrow { font-size: 10px; opacity: .5; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t), visibility var(--t), transform var(--t);
  z-index: 200;
  padding-top: 0;
}
/*
 * Invisible bridge: a ::before pseudo-element covers the gap between
 * the nav link and the dropdown panel so the mouse never loses hover.
 */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  border-bottom: 1px solid var(--border);
  transition: color var(--t), background var(--t), padding-left var(--t);
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { color: var(--blue); background: var(--smoke); padding-left: 24px; }

/* Mega-nav — 2-column panel for items with many children */
.has-mega { position: relative; }
.has-mega .nav-dropdown {
  position: absolute;
  left: var(--dropdown-left, 50%);
  right: auto;
  min-width: auto;
  max-width: 680px;
  width: min(680px, calc(100vw - 48px));
  margin: 0;
  transform: translate(var(--dropdown-shift, -50%), -6px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px 0;
}
.nav-item.has-mega:hover .nav-dropdown,
.nav-item.has-mega:focus-within .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translate(var(--dropdown-shift, -50%), 0);
}
.has-mega .nav-dropdown a { border-bottom: none; border-right: 1px solid var(--border); }
.has-mega .nav-dropdown a:nth-last-child(-n+2) { border-bottom: none; }
/* Header label inside mega panel */
.mega-header {
  grid-column: 1 / -1;
  padding: 10px 18px 6px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
}

/* Nav CTA / hamburger */
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ── Header search — collapsed-by-default behind icon ──── */
.nav-search {
  display: flex;
  align-items: center;
  margin-right: 12px;
  flex-shrink: 0;
  position: relative;
}
.nav-search-toggle {
  appearance: none;
  border: 1px solid rgba(10,22,40,.12);
  background: rgba(255,255,255,.96);
  color: var(--navy, #0a1628);
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.nav-search-toggle:hover {
  background: var(--navy, #0a1628);
  color: #fff;
  border-color: var(--navy, #0a1628);
}
.nav-search-input {
  appearance: none;
  border: 1px solid rgba(10,22,40,.12);
  background: rgba(255,255,255,.96);
  border-radius: 999px 0 0 999px;
  padding: 8px 14px;
  font-size: .9rem;
  width: 220px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nav-search-input:focus {
  border-color: var(--gold, #c69c4f);
  box-shadow: 0 0 0 3px rgba(198,156,79,.18);
}
.nav-search-input::-webkit-search-cancel-button { appearance: none; }
.nav-search-submit {
  appearance: none;
  border: 1px solid rgba(10,22,40,.12);
  border-left: none;
  background: rgba(255,255,255,.96);
  color: var(--navy, #0a1628);
  border-radius: 0 999px 999px 0;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background .15s ease, color .15s ease;
}
.nav-search-submit:hover {
  background: var(--navy, #0a1628);
  color: #fff;
  border-color: var(--navy, #0a1628);
}

/* Collapsed state: only the toggle icon shows; input + submit hidden */
.nav-search--collapsed .nav-search-input,
.nav-search--collapsed .nav-search-submit { display: none; }
/* Expanded state: hide the toggle, show input + submit */
.nav-search:not(.nav-search--collapsed) .nav-search-toggle { display: none; }

/* ── Search-results page ─────────────────────────────── */
.search-form {
  display: flex;
  margin-top: 18px;
  max-width: 640px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.search-form-input {
  flex: 1 1 auto;
  appearance: none;
  border: none;
  background: transparent;
  padding: 14px 22px;
  font-size: 1.05rem;
  outline: none;
  min-width: 0;
}
.search-form-submit {
  appearance: none;
  border: none;
  background: var(--gold, #c69c4f);
  color: var(--navy, #0a1628);
  font-weight: 600;
  padding: 0 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .15s ease;
}
.search-form-submit:hover { background: #d8b46a; }

.search-results {
  padding: 56px 0 96px;
  background: var(--white, #fff);
}
.search-hint {
  color: var(--muted, #5d6b80);
  font-size: 1rem;
  max-width: 640px;
}
.search-hint--empty { padding: 32px 0; }
.search-summary {
  font-size: .9rem;
  color: var(--muted, #5d6b80);
  margin-bottom: 22px;
}
.search-summary--fuzzy {
  background: linear-gradient(180deg, #fdf8ee 0%, #faf2dc 100%);
  border: 1px solid rgba(198,156,79,.35);
  border-left: 4px solid var(--gold, #c69c4f);
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--navy, #0a1628);
}
.search-result-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.search-result-link {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(10,22,40,.08);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.search-result-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(10,22,40,.12);
  border-color: rgba(198,156,79,.4);
}
.search-result-thumb {
  width: 96px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2640 0%, #0a1628 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-result-thumb--placeholder { opacity: .15; }
.search-result-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.search-result-kind {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold, #c69c4f);
}
.search-result-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy, #0a1628);
  line-height: 1.3;
}
.search-result-subtitle {
  font-size: .85rem;
  color: var(--muted, #5d6b80);
}
.search-result-desc {
  font-size: .85rem;
  color: var(--text, #2d3748);
  margin-top: 4px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result-arrow {
  color: var(--gold, #c69c4f);
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .nav-search { display: none; }   /* mobile uses hamburger menu */
  .search-result-link { grid-template-columns: 64px 1fr; }
  .search-result-thumb { width: 64px; height: 64px; }
  .search-result-arrow { display: none; }
  .nav-logo-img { height: 52px; max-width: 240px; }
}
.btn-quote {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: var(--navy) !important;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
  border: 2px solid var(--gold);
  box-shadow: 0 10px 22px rgba(212,160,23,.22);
}
.btn-quote:hover { background: linear-gradient(135deg, var(--gold2) 0%, #f5cb59 100%); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(212,160,23,.28); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--t); }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy);
  border-radius: var(--radius);
}
.mobile-link:hover { background: var(--smoke); }
.mobile-sub { padding-left: 16px; }
.mobile-sub a { display: block; padding: 7px 12px; font-size: 13.5px; color: var(--steel); }
.mobile-cta { display: flex; flex-direction: column; gap: 8px; padding: 12px 0 4px; border-top: 1px solid var(--border); margin-top: 8px; }
.btn-call {
  display: block;
  text-align: center;
  padding: 10px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

/* ─── Messages ───────────────────────────────────────── */
.messages-container { background: transparent; }
.messages-inner { max-width: 1280px; margin: 0 auto; padding: 12px 24px 0; display: flex; flex-direction: column; gap: 8px; }
.message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}
.message--success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.message--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.message--warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.message-close { font-size: 18px; line-height: 1; opacity: .6; cursor: pointer; }

/* ─── Buttons ────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  transition: all var(--t);
  box-shadow: 0 12px 24px rgba(212,160,23,.18);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--gold2) 0%, #f5cb59 100%); border-color: var(--gold2); transform: translateY(-1px); }
.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  transition: all var(--t);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); box-shadow: 0 14px 26px rgba(10,22,40,.14); }
.btn-submit {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-family: var(--font-head) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  padding: 14px 36px !important;
  border-radius: var(--radius) !important;
  border: none !important;
  transition: background var(--t), transform var(--t) !important;
  cursor: pointer !important;
  margin-top: 8px !important;
}
.btn-submit:hover { background: var(--blue2) !important; transform: translateY(-1px) !important; }

/* ─── Page Header ────────────────────────────────────── */
.page-header {
  background:
    radial-gradient(circle at top right, rgba(240,188,46,.18), transparent 32%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 72px 24px 68px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,.015) 60px, rgba(255,255,255,.015) 61px),
              repeating-linear-gradient(0deg,  transparent, transparent 60px, rgba(255,255,255,.015) 60px, rgba(255,255,255,.015) 61px);
}
.page-header-inner,
.page-header .container { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { font-size: 12.5px; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--t); }
.breadcrumb a:hover { color: var(--gold2); }
/* ─────────────────────────────────────────────────────────────────
   Unified page-header H1 scale
   — classic (.page-header h1), themed (.page-head h1), and the
     form-page variant (h1.page-title) all share ONE font-size scale
     so headers don't bounce between ~3.6rem / 3.8rem / 4.4rem across
     pages and themes.
   — !important on font-size is intentional: atelier/atrium template
     <style> blocks set their own font-size inline, which would
     otherwise win by source order. We still let them pick
     font-family / weight / color / letter-spacing per theme.
   — :lang(th) / :lang(id) disable Latin-style hyphenation and
     word-break, which render badly for Thai/Indonesian. They share
     the same font size as everyone else — no shrinking — so Greg's
     "bigger on some pages / smaller on Thai" complaint is resolved.
   ───────────────────────────────────────────────────────────────── */
.page-header h1,
.page-head h1,
h1.page-title {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 3vw + .55rem, 3rem) !important;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--white);
  margin-bottom: 12px;
  max-width: 40ch;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.page-header h1:lang(th), .page-header h1:lang(id),
.page-head h1:lang(th),   .page-head h1:lang(id),
h1.page-title:lang(th),   h1.page-title:lang(id) {
  word-break: keep-all;
  hyphens: none;
}
.page-header .lead,
.page-head .lead,
.page-subtitle {
  font-size: 1.06rem;
  color: rgba(255,255,255,.74);
  max-width: 640px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────
   Marketing page layout primitives.
   These compose the bespoke landing pages (why-goettsch, parts-home,
   our-services, success-stories, etc.) without relying on inline
   style="…" attributes scattered throughout the templates. Pages
   should set their layout via these classes; design changes (colours,
   spacing, accents) then happen in ONE place — here — instead of in
   40 templates. Use design tokens from CSS Variables (--navy, --gold,
   --smoke, --white, --text, --muted, --border) so themed builds
   (Atelier, Atrium) can re-skin via variable overrides.
   ────────────────────────────────────────────────────────────────── */

/* Section wrapper. Default vertical rhythm 64px, bump to --lg (72px)
   for hero-adjacent intros, --sm (40px) for tight sub-sections. */
.page-section          { padding: 64px 0; }
.page-section--lg      { padding: 72px 0; }
.page-section--sm      { padding: 40px 0; }
.page-section--white   { background: var(--white); }
.page-section--smoke   { background: var(--smoke); }
.page-section--navy    { background: var(--navy); color: var(--white); }
.page-section--navy h2,
.page-section--navy h3 { color: var(--white); }
.page-section + .page-section { border-top: 0; }

/* Centred section heading + lead — used at the top of card-grid
   sections ("Complete Customer Support" → 3-card row). */
.section-heading-c     { color: var(--navy); text-align: center; margin: 0 0 8px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.page-section--navy .section-heading-c { color: var(--white); }
.section-lead          { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 48px; line-height: 1.7; }
.section-lead p        { margin: 0 0 1em; }
.section-lead p:last-child { margin-bottom: 0; }
.page-section--navy .section-lead { color: rgba(255,255,255,.88); }

/* Card grids. Default = auto-fit responsive minmax(260px,1fr). The
   --2 / --3 / --4 / --2-1 modifiers fix the column count for layouts
   that depend on a specific grid (intro split, three pillars, etc.). */
.cards-grid            { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-grid--2         { grid-template-columns: 1fr 1fr; }
.cards-grid--3         { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4         { grid-template-columns: repeat(4, 1fr); }
.cards-grid--2-1       { grid-template-columns: 2fr 1fr; }
.cards-grid--gap-lg    { gap: 48px; }
.cards-grid--gap-xl    { gap: 56px; }
.cards-grid--center    { align-items: center; }
.cards-grid--start     { align-items: start; }
@media (max-width: 720px) {
  .cards-grid--2,
  .cards-grid--3,
  .cards-grid--4,
  .cards-grid--2-1     { grid-template-columns: 1fr; }
}

/* Card variants — three flavours used across marketing pages:
   • card-tile     : neutral white card with gold top-rule + soft shadow
                     (the "Parts / Consumables / Service" pillars)
   • card-pullquote: smoke-bg with gold left-rule (sidebar quote/list)
   • card-navy     : dark navy with gold accents (CTAs, support pillars) */
.card-tile             { background: var(--white); padding: 32px; border-radius: 6px; border-top: 4px solid var(--gold); box-shadow: 0 2px 12px rgba(10,22,40,.06); }
.card-tile h3          { color: var(--navy); margin: 0 0 12px; font-size: 1.1rem; }
.card-tile p           { color: var(--text); line-height: 1.75; font-size: .95rem; margin: 0 0 12px; }
.card-tile p:last-child { margin-bottom: 0; }

.card-pullquote        { background: var(--smoke); padding: 32px; border-left: 4px solid var(--gold); border-radius: 4px; }
.card-pullquote h3     { color: var(--navy); margin: 0 0 18px; font-size: 1.1rem; }

.card-navy             { background: var(--navy); padding: 28px 32px; color: var(--white); border-radius: 6px; }
.card-navy h3          { color: var(--gold); margin: 0 0 16px; font-size: 1.1rem; }
.card-navy p           { color: rgba(255,255,255,.9); line-height: 1.7; margin: 0 0 12px; }
.card-navy p:last-child { margin-bottom: 0; }

/* Category card — link card with navy header (icon + title) on top,
   white body (description + bullet list + CTA). Used for parts /
   machinery category indexes. */
.category-card         { display: block; background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s; color: inherit; }
.category-card:hover   { box-shadow: 0 8px 24px rgba(10,22,40,.12); transform: translateY(-2px); }
.category-card-head    { background: var(--navy); padding: 28px; text-align: center; color: var(--white); }
.category-card-head h3 { color: var(--gold); margin: 0; font-size: 1.1rem; }
.category-card-icon    { font-size: 2.5rem; margin-bottom: 12px; line-height: 1; }
.category-card-body    { padding: 24px; }
.category-card-body p  { color: var(--text); font-size: .9rem; line-height: 1.7; margin: 0 0 16px; }
.category-card-cta     { display: inline-block; margin-top: 8px; font-size: .9rem; color: var(--navy); font-weight: 600; }
.category-card:hover .category-card-cta { color: var(--gold2, var(--gold)); }

/* Lists — checklist (✓) for benefits, dot-list (•) for sub-bullets. */
.checklist             { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.checklist li          { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: .95rem; line-height: 1.6; }
.checklist li::before  { content: '✓'; color: var(--gold); font-weight: 800; flex-shrink: 0; }
.card-navy .checklist li,
.page-section--navy .checklist li { color: rgba(255,255,255,.9); }
.dot-list              { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.dot-list li           { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* Translucent advantage card — navy section bg + glass-effect tiles
   with gold top-rule. Used on the Why Goettsch advantage grid and
   anywhere else a card needs to ride on top of var(--navy). */
.card-glass            { background: rgba(255,255,255,.06); padding: 32px; border-top: 3px solid var(--gold); border-radius: 4px; }
.card-glass h3         { color: var(--gold2, var(--gold)); margin: 0 0 12px; font-size: 1.05rem; }
.card-glass p          { color: rgba(255,255,255,.9); line-height: 1.75; font-size: .93rem; margin: 0; }
.card-glass strong     { color: var(--gold2, var(--gold)); }
.card-glass-icon       { margin-bottom: 18px; }

/* Inline navy callout — short strap-line with an SVG mark. */
.callout-navy          { background: var(--navy); padding: 20px 24px; border-radius: 4px; display: flex; align-items: center; gap: 16px; }
.callout-navy p        { color: rgba(255,255,255,.9); font-size: .95rem; line-height: 1.6; margin: 0; }

/* Stats counter row — big condensed numerals + small caption. */
.stats-row             { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats-row .stat-num   { font-size: 3.2rem; font-weight: 800; color: var(--navy); font-family: 'Barlow Condensed', sans-serif; line-height: 1; }
.stats-row .stat-label { color: var(--muted); font-weight: 500; margin-top: 6px; font-size: .95rem; }
@media (max-width: 720px) {
  .stats-row           { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* Office tiles — small smoke-bg tiles with gold left-rule. */
.office-tile           { background: var(--smoke); padding: 16px 20px; border-radius: 6px; border-left: 3px solid var(--gold); font-size: .95rem; color: var(--navy); font-weight: 500; }

/* Body typography defaults inside marketing sections — match the
   readable body cadence the inline styles were producing (line-height
   1.8, --text colour, ~1.1rem paragraph spacing). Scoped to
   .page-section so it doesn't leak into product-detail / form pages. */
.page-section p        { color: var(--text); line-height: 1.8; margin: 0 0 1.1rem; }
.page-section p:last-child { margin-bottom: 0; }
.page-section h2       { color: var(--navy); margin: 0 0 16px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.page-section--navy p  { color: rgba(255,255,255,.85); }
.page-section--navy strong { color: var(--gold2, var(--gold)); }
.lead-paragraph        { font-size: 1.12rem; color: var(--navy); line-height: 1.85; font-weight: 500; }

/* Icon block at the top of a card-tile / card-glass / card-navy — just
   reserves vertical space below the SVG so the heading doesn't crowd. */
.card-icon             { margin-bottom: 20px; line-height: 0; }

/* Gold variant of the category-card head — alternating tiles in a 4-up
   row pick up gold instead of navy for a striped feel. */
.category-card-head--gold   { background: var(--gold); }
.category-card-head--gold h3 { color: var(--navy); }

/* Centred section content — used for navy-on-CTA blocks where heading
   + paragraph + button are stacked centred. */
.page-section--centered .container { text-align: center; }
.page-section--centered .section-lead { margin-bottom: 32px; }

/* Export-excellence visual mark (the medal emoji block above the
   exporting-excellence headline). */
.export-excellence-mark { font-size: 2rem; margin-bottom: 16px; }

/* Service card — bordered card with a circle-icon header and a coloured
   top-rule. Two variants: --navy and --gold for the top accent and the
   icon-circle background. Used on the our-services 6-up grid. */
.service-card          { padding: 32px; border: 1px solid var(--border); border-radius: 4px; background: var(--white); }
.service-card--navy    { border-top: 4px solid var(--navy); }
.service-card--gold    { border-top: 4px solid var(--gold); }
.service-card h2,
.service-card h3       { color: var(--navy); font-size: 1.25rem; margin: 0 0 12px; }
.service-card p        { color: var(--text); line-height: 1.7; font-size: .95rem; margin: 0 0 12px; }
.service-card-icon     { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; }
.service-card--navy .service-card-icon { background: var(--navy); }
.service-card--gold .service-card-icon { background: var(--gold); }
.service-card-links    { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: .85rem; }
.service-card-links a  { color: var(--navy); text-decoration: underline; }

/* Award block — smoke/translucent panel with stacked award icons + labels.
   Used on the our-services exporting-excellence sidebar. */
.award-block           { background: rgba(255,255,255,.07); padding: 32px; border-radius: 8px; text-align: center; }
.award-block-icon      { font-size: 3rem; margin-bottom: 12px; line-height: 1; }
.award-block-title     { color: var(--gold); font-weight: 700; margin: 0; }
.award-block-divider   { border-top: 1px solid rgba(255,255,255,.2); margin: 16px 0; }
.award-block-caption   { color: rgba(255,255,255,.6); font-size: .85rem; margin: 8px 0 0; }

/* Mission-statement card — centred max-width with a navy heading,
   gold-left-rule blockquote, and a button-row underneath. */
.mission-card          { max-width: 780px; margin: 0 auto; text-align: center; }
.mission-card h2       { margin: 0 0 32px; }
.mission-card blockquote { border-left: 4px solid var(--gold); padding: 24px 32px; background: var(--white); border-radius: 0 8px 8px 0; text-align: left; margin: 0; }
.mission-card blockquote p { font-size: 1.1rem; line-height: 1.8; color: var(--text); font-style: italic; margin: 0; }
.mission-card-actions  { margin-top: 40px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.mission-card-footnote { color: var(--muted); font-size: .85rem; margin-top: 24px; }

/* Callout band — smoke-bg horizontal strip with text on the left and
   stacked button group on the right. Used for the blanket-order /
   spare-parts plans block on parts-home, and similar mid-page CTAs. */
.callout-band          { background: var(--smoke); padding: 40px; border-radius: 8px; display: grid; grid-template-columns: 3fr 1fr; gap: 32px; align-items: center; }
.callout-band h3       { color: var(--navy); margin: 0 0 12px; }
.callout-band p        { color: var(--text); line-height: 1.7; margin: 0; }
.callout-band-actions  { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.callout-band-actions .btn-primary,
.callout-band-actions .btn-secondary { display: block; text-align: center; }
@media (max-width: 720px) {
  .callout-band        { grid-template-columns: 1fr; }
}

/* ─── Form Page ──────────────────────────────────────── */
.form-page { padding: 60px 24px; background: var(--smoke); }
.form-page-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.form-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, #fbfdff 100%);
  border: 1px solid rgba(10,22,40,.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-section-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}
.form-section-title:first-child { margin-top: 0; }

/* Override crispy forms styles */
.form-card form {
  max-width: 780px;
}
.form-card .form-group,
.form-card .mb-3 {
  margin-bottom: 16px;
}
.form-card label,
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 7px;
}
.form-control {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 11px 14px !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  background: #fff !important;
  transition: border-color var(--t), box-shadow var(--t) !important;
}
.form-card input,
.form-card select,
.form-card textarea {
  display: block;
  width: 100%;
  max-width: 100%;
}
.form-card textarea {
  min-height: 140px;
  resize: vertical;
}
.form-card .help-block,
.form-card .form-text {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
}
.form-control:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 3px rgba(21,96,189,.15) !important; outline: none !important; }
.form-control.is-invalid { border-color: #ef4444 !important; }

/* Form Sidebar */
.form-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, #fbfdff 100%);
  border: 1px solid rgba(10,22,40,.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.sidebar-card--contact { background: var(--navy); border-color: var(--navy); }
.sidebar-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.sidebar-card--contact .sidebar-title { color: var(--gold2); }
.sidebar-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-list li { font-size: 13.5px; color: var(--muted); padding-left: 16px; position: relative; }
.sidebar-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.sidebar-phone { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--gold2); margin-bottom: 4px; }
.sidebar-hours { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.sidebar-email { font-size: 13.5px; color: rgba(255,255,255,.7); }
.sidebar-email:hover { color: var(--gold2); }
.btn-sidebar-link {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--blue);
  margin-top: 10px;
  transition: gap var(--t);
}
.btn-sidebar-link:hover { color: var(--navy); }

/* ─── Thank You Page ─────────────────────────────────── */
.thankyou-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px; background: var(--smoke); }
.thankyou-inner { text-align: center; max-width: 560px; }
.thankyou-icon {
  width: 80px; height: 80px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: white;
  margin: 0 auto 28px;
}
.thankyou-title { font-family: var(--font-head); font-size: 48px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.thankyou-body { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.thankyou-body a { color: var(--blue); font-weight: 600; }
.thankyou-actions { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────── */
.footer { background: linear-gradient(180deg, #0d182b 0%, #09111f 100%); padding: 80px 24px 32px; position: relative; }
.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,188,46,.55), transparent);
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.footer-brand-name span { color: var(--gold); }
.footer-tagline { font-size: 11.5px; color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.footer-address { font-style: normal; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.9; }
.footer-address strong { color: rgba(255,255,255,.8); font-weight: 500; display: block; }
.footer-address a { color: rgba(255,255,255,.55); transition: color var(--t); }
.footer-address a:hover { color: var(--gold2); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background var(--t), color var(--t);
}
.footer-social a:hover { background: var(--blue); color: var(--white); }
.footer-col-title { font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.55); transition: color var(--t); }
.footer-links a:hover { color: var(--gold2); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom a { color: rgba(255,255,255,.3); transition: color var(--t); }
.footer-bottom a:hover { color: var(--gold2); }

/* ─── Hero Slider ────────────────────────────────────── */
.hero { position: relative; width: 100%; overflow: hidden; background: #000; }
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-slider { position: relative; height: clamp(500px, 62vh, 580px); }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease;
}
.hero-slide.active { opacity: 1; }
/* Dark gradient overlay — left side keeps text readable, right side lets
   machinery detail show through. Lightened per review #1. */
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(5,15,35,.70) 0%,    /* was .88 */
    rgba(5,15,35,.42) 44%,   /* was .55 */
    rgba(5,15,35,.12) 74%,   /* was .22 */
    transparent       100%
  );
  pointer-events: none;
}
.hero-caption {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  color: #fff;
  padding: 0 clamp(28px, 6vw, 76px);
  max-width: 820px;
  z-index: 1;
}
/* Gold accent bar above headline */
.hero-caption::before {
  content: '';
  display: block;
  width: 72px; height: 5px;
  background: var(--gold);
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-caption h2 {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: .01em;
  max-width: 13ch;
  text-shadow: 0 16px 32px rgba(0,0,0,.18);
}
.hero-caption p  { font-size: 1.08rem; margin: 0 0 26px; opacity: .92; max-width: 590px; line-height: 1.65; }
.hero-caption .btn-hero {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 14px 28px rgba(212,160,23,.22);
}
.hero-caption .btn-hero:hover { background: linear-gradient(135deg, var(--gold2) 0%, #f5cb59 100%); border-color: var(--gold2); transform: translateY(-2px); box-shadow: 0 18px 32px rgba(212,160,23,.28); }
.hero-prev, .hero-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.4); color: #fff; border: none;
  font-size: 2rem; width: 44px; height: 44px; cursor: pointer;
  border-radius: 4px; transition: background var(--t);
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-prev:hover, .hero-next:hover { background: rgba(0,0,0,.7); }
.hero-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
  transition: background var(--t);
}
.hero-dots button.active { background: #fff; }

/* ─── Home Intro ──────────────────────────────────────── */
.home-intro { padding: 0 0 48px; background: #f6f8fb; }   /* review #3 — bottom padding 72→48px so next section appears sooner */
.home-intro-grid {
  margin-top: -54px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 28px;
  align-items: stretch;
}
.home-intro-copy,
.home-intro-aside {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.home-intro-copy {
  background: linear-gradient(145deg, rgba(255,255,255,.98) 0%, #f8fbff 100%);
  border: 1px solid rgba(21,96,189,.08);
  padding: clamp(18px, 2.4vw, 26px);   /* review #3 — second pass; was clamp(22,3vw,32) */
}
.home-intro-aside {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy2) 100%);
  color: var(--white);
  padding: 22px 24px;                  /* -22% from 28px — keeps stat card breathing without dwarfing copy card */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.section-kicker {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-kicker--light { color: rgba(255,255,255,.62); }
.home-intro h1 {
  /* review #7 — long-sentence headline: switch from Barlow Condensed to
     calmer Barlow regular, slightly tighter size, more leading + width.
     Condensed face stays reserved for short headings (taglines, card titles). */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.7vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 24ch;
}
.home-intro .lead { max-width: 760px; margin: 0 0 24px; font-size: 1.08rem; color: var(--muted); line-height: 1.78; }
.home-intro-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* Legacy single-stat tile — retained in case other pages reuse it */
.intro-stat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 24px 22px;
}
.intro-stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(3.1rem, 5vw, 4.4rem);
  line-height: .9;
  color: var(--gold2);
}

/* Compact stat-rows stack — review #4. Used by home-intro-aside to balance
   the dark card against the white intro card without one giant number. */
.intro-stat-rows { display: flex; flex-direction: column; gap: 0; flex: 1; justify-content: center; }
.intro-stat-row {
  display: grid; grid-template-columns: minmax(60px, auto) 1fr;
  gap: 16px; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.intro-stat-row:last-child { border-bottom: 0; }
.intro-stat-row-num {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: var(--gold2);
  line-height: 1;
}
.intro-stat-row-lab {
  font-size: 0.92rem;
  color: rgba(255,255,255,.85);
  line-height: 1.45;
}

.intro-stat-label {
  display: block;
  margin-top: 10px;
  font-size: .98rem;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
}
.home-intro .intro-tagline {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-heading--left {
  margin-left: 0;
  text-align: left;
}
.section-heading h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: .98;
  color: var(--ink);
  margin: 0 0 12px;
}
.section-heading p:last-child {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.72;
}

/* ─── Solution Cards ──────────────────────────────────── */
.home-solutions { padding: 84px 0 92px; background: linear-gradient(180deg, var(--sand) 0%, var(--mist) 100%); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.solution-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, #fdfefe 100%); border-radius: 8px;
  padding: 0; text-decoration: none;
  box-shadow: var(--shadow);
  border: 1px solid rgba(21,96,189,.08);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
  display: flex; flex-direction: column;
  overflow: hidden;
  min-height: 280px;
}
.solution-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.solution-card-body { padding: 30px 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
/* Solution-card icon — review #5. Stronger equipment-category badge:
   solid brand color, inset edge, and a small gold corner mark so the icons
   read as intentional navigation cues instead of decorative placeholders. */
.solution-icon {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,0) 42%),
    linear-gradient(135deg, var(--navy, #0a1628) 0%, #10284d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.14),
    0 12px 24px rgba(10,22,40,.16);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.solution-icon::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  border-radius: 14px 0 0 0;
  background: linear-gradient(135deg, var(--gold2, #f0bc2e), var(--gold, #d4a017));
  opacity: .95;
}
.solution-icon svg {
  width: 32px; height: 32px;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  position: relative;
  z-index: 1;
  transition: transform .25s ease;
}
.solution-card:hover .solution-icon {
  background: linear-gradient(135deg, var(--gold, #d4a017) 0%, var(--gold2, #f0bc2e) 100%);
  box-shadow: 0 10px 22px rgba(212,160,23,.28);
  transform: translateY(-2px);
}
.solution-card:hover .solution-icon::after {
  background: rgba(10,22,40,.16);
}
.solution-card:hover .solution-icon svg {
  stroke: var(--navy);
  transform: scale(1.08);
}
.solution-icon--emoji {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
.solution-card h3 { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); margin: 0; font-weight: 700; line-height: 1.12; }
.solution-card p  { font-size: .96rem; color: var(--muted); margin: 0; line-height: 1.62; flex: 1; }
.solution-arrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue);
  margin-top: 12px;
  gap: 6px;
  transition: gap var(--t);
}
.solution-card:hover .solution-arrow { gap: 10px; }

/* ─── Brand Partners Strip ────────────────────────────── */
.home-brands {
  background: var(--white);
  padding: 34px 0 40px;
  border-top: 1px solid rgba(10,22,40,.06);
  border-bottom: 1px solid rgba(10,22,40,.06);
}
.brands-label {
  text-align: center;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.brands-row span {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--steel);
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
  transition: color var(--t);
}
.brands-row span:hover { color: var(--navy); }

/* ── Centered static row ──
   Used when there are < 8 featured brands. Logos sit in the middle of
   the strip without scrolling — small lists look more intentional that
   way. Wraps to multiple lines on narrow viewports. */
.brand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
  padding: 0 24px;
}
@media (max-width: 720px) {
  .brand-row { gap: 36px; }
}

/* ── Auto-scrolling brand marquee ──
   Used when there are 8+ featured brands. Logo-only, in colour, with
   generous breathing room between marks so the strip reads as a
   confidence signal rather than a busy chip row. Track holds the
   brands twice so translateX(-50%) loops seamlessly. Hover pauses the
   animation; reduced-motion users get a static row. */
.brand-marquee {
  position: relative;
  overflow: hidden;
  padding: 0 0 4px;
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.brand-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: brand-marquee-scroll 90s linear infinite;
}
.brand-marquee:hover .brand-marquee-track {
  animation-play-state: paused;
}
@keyframes brand-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .brand-marquee-track {
    animation: none;
  }
}
/* Brand logo strip — review #6. Normalised containers + grayscale-by-default
   so logos read as a uniform credibility row instead of a multi-color bazaar.
   Logo IMG is capped well below container height + width so visual weight
   is consistent across vendors, regardless of native aspect ratio. */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 56px;
  padding: 0 18px;                  /* equal optical spacing between logos */
  text-decoration: none;
  transition: transform var(--t, .2s), opacity var(--t, .2s);
  opacity: 1;
}
.brand-logo:hover,
.brand-logo:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
.brand-logo img {
  display: block;
  height: auto;                     /* don't fill the container — let max-height drive */
  width: auto;
  max-height: 36px;                 /* uniform visual weight across all logos */
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .25s ease, opacity .25s ease;
}
.brand-logo:hover img,
.brand-logo:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
}
@media (max-width: 720px) {
  .brand-marquee-track { gap: 28px; }
  .brand-logo { height: 44px; padding: 0 12px; }
  .brand-logo img { max-height: 30px; max-width: 110px; }
}

/* ─── Why Strip ───────────────────────────────────────── */
.home-why { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); padding: 52px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.why-item {
  padding: 22px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.why-number { display: block; font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--gold2); line-height: 1; }
.why-label  { display: block; font-size: .92rem; color: rgba(255,255,255,.74); margin-top: 8px; line-height: 1.45; }

/* ─── Stories / News Grids ────────────────────────────── */
.home-stories, .home-news { padding: 88px 0; }
.home-stories { background: var(--white); }
.home-news    { background: linear-gradient(180deg, #f5f8fb 0%, #edf3f8 100%); }
.stories-grid, .news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.story-card, .news-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none;
  display: flex; flex-direction: column;
  transition: box-shadow var(--t), transform var(--t);
  border: 1px solid rgba(10,22,40,.06);
}
.story-card:hover, .news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.story-card img, .news-card img { width: 100%; height: 220px; object-fit: cover; background: var(--smoke); }
.story-card-body, .news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.story-card-body h3, .news-card-body h3 { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); margin: 0; line-height: 1.04; }
.story-card-body p, .news-card-body p  { font-size: .95rem; color: var(--muted); margin: 0; flex: 1; line-height: 1.62; }
.story-read-more { font-size: .88rem; color: var(--blue); font-weight: 700; margin-top: auto; text-transform: uppercase; letter-spacing: .06em; }
.news-date { font-size: .78rem; color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section-cta { text-align: center; margin-top: 36px; }

/* ─── CTA Banner ──────────────────────────────────────── */
.home-cta-banner {
  background: linear-gradient(135deg, #081222 0%, #123155 100%);
  padding: 80px 0; color: #fff;
}
.cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-text h2 { font-family: var(--font-head); font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.04; margin: 0 0 14px; max-width: 16ch; }
.cta-text p  { margin: 0 0 28px; color: rgba(255,255,255,.8); max-width: 520px; font-size: 1.05rem; line-height: 1.7; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-contact {
  text-align: center;
  padding: 34px 40px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.04) 100%);
  white-space: nowrap;
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
}
.cta-contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
}
.cta-phone {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold2);
  transition: color var(--t);
  margin-bottom: 4px;
}
.cta-phone:hover { color: #fff; }
.cta-contact-sub {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.cta-email {
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  transition: color var(--t);
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 2px;
}
.cta-email:hover { color: var(--gold2); border-color: var(--gold2); }
@media (max-width: 900px) {
  .cta-banner-inner { grid-template-columns: 1fr; }
  .cta-contact { white-space: normal; }
  .cta-text p, .cta-text h2 { text-align: center; }
  .cta-buttons { justify-content: center; }
  .cta-text { text-align: center; }
}
.btn-primary {
  background: var(--gold2); color: var(--navy);
  padding: 14px 32px; border-radius: 999px; font-weight: 700;
  text-decoration: none; transition: background var(--t);
}
.btn-primary:hover { background: var(--gold); }
.btn-outline {
  border: 2px solid rgba(255,255,255,.6); color: #fff;
  padding: 12px 32px; border-radius: 999px; font-weight: 600;
  text-decoration: none; transition: border-color var(--t), color var(--t);
}
.btn-outline:hover { border-color: #fff; }
.btn-secondary {
  display: inline-block; background: var(--navy); color: #fff;
  padding: 12px 28px; border-radius: 999px; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; transition: background var(--t);
}
.btn-secondary:hover { background: var(--gold2); color: var(--navy); }

.theme-switcher {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 90;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(10,22,40,.1);
  border-radius: 999px;
  padding: 6px;
  display: inline-flex;
  gap: 4px;
  box-shadow: 0 12px 28px rgba(10,22,40,.12);
  backdrop-filter: blur(14px);
  font-family: ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.theme-switcher-label {
  padding: 7px 12px 7px 14px;
  color: #8895a8;
}
.theme-switcher-link {
  padding: 7px 12px;
  border-radius: 999px;
  color: #5c6b82;
}
.theme-switcher-link.is-active {
  color: #fff;
  background: #1B3F87;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .home-intro-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .form-page-inner { grid-template-columns: 1fr; }
  .form-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 470px; }
  .hero-caption { padding: 0 40px; }
  .hero-caption h2 { font-size: 2.5rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-inner { height: 74px; }
  .nav-hamburger { display: flex; }
  .topbar-inner { justify-content: center; height: 38px; padding: 0 16px; }
  .topbar-contact { display: none; }
  .topbar-right { width: 100%; justify-content: center; }
  .topbar-trust { display: none; }
  .topbar-langs { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-sidebar { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .stories-grid, .news-grid { grid-template-columns: 1fr; }
  .home-intro-copy { padding: 32px 28px; }
  .home-intro-aside { padding: 24px; }
  .home-intro-grid { margin-top: -34px; }
  .theme-switcher { font-size: .58rem; }
  .cta-banner-inner { gap: 28px; }
}
/* review #8 — tighter solution-card rhythm on mobile (1-column stack) */
@media (max-width: 600px) {
  .solution-card { min-height: auto; }
  .solution-card-body { padding: 20px 22px; gap: 8px; }
  .solution-icon { width: 52px; height: 52px; border-radius: 10px; }
  .solution-icon svg { width: 26px; height: 26px; }
  .solution-card h3 { font-size: 1.12rem; line-height: 1.15; }
  .solution-card p { font-size: .9rem; line-height: 1.55; }
  .solution-arrow { font-size: 11px; margin-top: 8px; }
}

@media (max-width: 480px) {
  .topbar { font-size: 11px; }
  .lang-switch summary { padding: 2px 7px; }
  .lang-switch-menu { min-width: 150px; }
  .page-header { padding: 40px 16px; }
  .hero-caption { padding: 0 24px; }
  .hero-slider { height: 430px; }
  /* mobile h2: smaller + wider + less condensed feel — let it breathe over the bg letters */
  .hero-caption h2 { font-size: 1.65rem; max-width: 18ch; font-weight: 700; letter-spacing: .02em; line-height: 1.1; margin-bottom: 22px; }   /* review #2 — more space below */
  .hero-caption p { font-size: 1rem; line-height: 1.55; margin-bottom: 32px; }   /* review #2 — more space above CTA */
  .hero-caption .btn-hero { padding: 14px 28px; font-size: .9rem; }              /* review #2 — slightly larger tap target */
  .hero-prev, .hero-next { display: none; }                                       /* review #2 — hide arrows on mobile; users swipe or use dots */
  .hero-dots { bottom: 18px; }                                                    /* review #2 — bump dots up so they're not flush with edge */
  .brands-row span { padding: 6px 14px; font-size: 12px; }
  .home-intro-actions { flex-direction: column; }
  .home-intro-actions .btn-primary,
  .home-intro-actions .btn-outline-dark { text-align: center; }
  .theme-switcher { left: 16px; right: 16px; justify-content: center; }
}

/* ─── Why Goettsch cards ─────────────────────────────── */
.why-card {
  display: block;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.why-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.why-card-icon {
  color: var(--navy);
  margin-bottom: 14px;
}
.why-card h4 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-weight: 700;
}
.why-card p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}
.why-card-cta {
  background: var(--navy);
  border-color: var(--navy);
}
.why-card-cta .why-card-icon { color: var(--gold); }
.why-card-cta h4 { color: var(--gold2); }
.why-card-cta p  { color: rgba(255,255,255,0.75); }
.why-card-cta:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); }
@media (max-width: 768px) {
  .why-card { padding: 20px; }
}

/* ─── History Timeline ───────────────────────────────── */
.history-timeline {
  max-width: 940px;
  margin: 0 auto;
  position: relative;
}
.timeline-rule {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--gold2), var(--gold));
  transform: translateX(-50%);
  border-radius: 2px;
}
.timeline-entry {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  margin-bottom: 56px;
  align-items: start;
}
/* Card is col 1 for left entries, col 3 for right entries */
.entry-left  .timeline-card    { grid-column: 1; }
.entry-left  .timeline-dot     { grid-column: 2; }
.entry-left  .timeline-tagline { grid-column: 3; }
.entry-right .timeline-tagline { grid-column: 1; text-align: right; }
.entry-right .timeline-dot     { grid-column: 2; }
.entry-right .timeline-card    { grid-column: 3; }

.timeline-card {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(10,22,40,.07);
  padding: 28px;
  position: relative;
}
.timeline-era {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.timeline-photo-wrap {
  margin: 0 auto 16px;
  width: 96px; height: 96px;
}
.timeline-photo {
  width: 96px; height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 16px rgba(10,22,40,.18);
  display: block;
  margin: 0 auto;
}
.timeline-monogram {
  width: 72px; height: 72px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  font-family: var(--font-head);
}
.timeline-name {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 4px;
  text-align: center;
}
.timeline-title {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.timeline-bio {
  color: var(--text);
  line-height: 1.75;
  font-size: 0.93rem;
}
.timeline-dot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 32px;
  position: relative;
  z-index: 1;
}
.timeline-dot::after {
  content: '';
  display: block;
  width: 20px; height: 20px;
  background: var(--navy);
  border: 3px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--smoke);
}
.timeline-tagline {
  padding-top: 40px;
  padding-left: 20px;
}
.entry-right .timeline-tagline { padding-left: 0; padding-right: 20px; }
.timeline-tagline p {
  color: var(--muted);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .timeline-rule { display: none; }
  .history-timeline { max-width: 480px; }
  .timeline-entry,
  .entry-left, .entry-right {
    display: block;
  }
  .timeline-dot { display: none; }
  .timeline-tagline {
    padding: 8px 0 24px;
    text-align: left !important;
  }
  .entry-right .timeline-tagline { text-align: left !important; }
}

/* ─── CMS Content (TinyMCE body) ─────────────────────── */
.cms-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px;
  color: var(--text);
  line-height: 1.8;
  font-size: 1.03rem;
}
.cms-content h1, .cms-content h2, .cms-content h3,
.cms-content h4, .cms-content h5 {
  color: var(--ink);
  font-family: var(--font-head);
  margin-top: 1.6em;
  margin-bottom: .5em;
  line-height: 1.05;
}
.cms-content h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.cms-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); border-bottom: 1px solid rgba(10,22,40,.08); padding-bottom: .45em; }
.cms-content h3 { font-size: 1.35rem; }
.cms-content p  { margin-bottom: 1.2em; color: #2f3d50; }
.cms-content ul, .cms-content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.cms-content li { margin-bottom: .45em; }
.cms-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  margin: 1.5em 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: var(--steel);
}
.cms-content a { color: var(--blue); text-decoration: underline; }
.cms-content a:hover { color: var(--navy); }
.cms-content table {
  width: 100%; border-collapse: collapse; margin-bottom: 1.5em;
}
.cms-content th, .cms-content td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
}
.cms-content th { background: var(--smoke); color: var(--navy); font-weight: 600; }

/* Image layout helpers — selectable in TinyMCE Styles menu */
.cms-content img { border-radius: var(--radius); max-width: 100%; height: auto; }

/* ─── Product detail page ────────────────────────────── */

/* Product detail hero: make the first viewport product-led instead of leaving
   the right side of the dark band visually empty. */
.hub-tightened .product-detail-hero {
  padding-block: clamp(72px, 9vw, 118px);
}
.hub-tightened .product-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .82fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hub-tightened .product-detail-hero-copy h1 {
  max-width: 12ch;
}
.hub-tightened .product-detail-hero-panel {
  padding: clamp(18px, 2.8vw, 28px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02)),
    repeating-linear-gradient(135deg, rgba(212,160,23,0.16) 0 1px, transparent 1px 18px);
  border: 1px solid rgba(212,160,23,0.28);
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}
.hub-tightened .product-detail-hero-image {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.18);
}
.hub-tightened .product-detail-hero-image img {
  max-width: 100%;
  max-height: 330px;
  object-fit: contain;
}
.hub-tightened .product-detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.hub-tightened .product-detail-hero-meta span {
  padding: 6px 10px;
  color: #fff;
  background: rgba(10,22,40,.58);
  border: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Hero: gallery + intro side by side */
.product-hero { padding: 42px 0 50px; background: var(--white); }
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
.product-hero-grid--summary-only {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}
.product-hero-grid--summary-only .product-intro {
  max-width: 760px;
}

/* Gallery */
.product-gallery-main {
  background: linear-gradient(180deg, #f9fbfd 0%, var(--smoke) 100%);
  border: 1px solid rgba(10,22,40,.08);
  border-radius: 14px;
  padding: clamp(12px, 2vw, 18px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.product-gallery-main img {
  max-width: 100%;
  max-height: 390px;
  object-fit: contain;
}
.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.product-thumb {
  background: var(--smoke);
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s;
}
.product-thumb:hover { border-color: var(--steel); }
.product-thumb.active { border-color: var(--gold); }
.product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Intro panel next to gallery */
.product-intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(22px, 3vw, 30px);
  background: #fff;
  border: 1px solid rgba(10,22,40,.08);
  border-top: 4px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(10,22,40,.07);
}
.product-brand-logo {
  display: inline-block;
  padding: 16px 20px;
  background: linear-gradient(180deg, #f9fbfd 0%, var(--smoke) 100%);
  border-radius: 14px;
  align-self: flex-start;
  border: 1px solid rgba(10,22,40,.08);
}
.product-brand-logo img {
  max-height: 56px;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

/* Description text inside intro — hide inline images, they belong in gallery */
.product-intro-text img { display: none; }
.product-intro-text h2,
.product-intro-text h3 { color: var(--navy); margin-top: 1em; }
.product-intro-text h2 { font-size: 1.3rem; border: none; padding: 0; }
.product-intro-text h3 { font-size: 1.1rem; }
.product-intro-text ul { padding-left: 1.4em; margin: .8em 0; }
.product-intro-text li { margin-bottom: .4em; }

/* CTA row */
.product-cta-row { display: flex; gap: 12px; margin-top: 8px; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Features section */
.product-features { padding: 48px 0; background: var(--smoke); }
.product-features h2 { color: var(--navy); margin-bottom: 24px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text);
}
.feature-check {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Specs section */
.product-specs { padding: 48px 0; background: var(--white); }
.product-specs h2 { color: var(--navy); margin-bottom: 24px; }
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.specs-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--smoke);
  font-weight: 600;
  color: var(--navy);
  width: 40%;
  border-bottom: 1px solid var(--border);
}
.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

/* Support cards row */
.product-support { padding: 48px 0; background: var(--smoke); }
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.support-card {
  background: var(--white);
  border: 1px solid rgba(10,22,40,.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.support-card h3 {
  color: var(--navy);
  font-size: .95rem;
  margin-bottom: 12px;
}
.support-card p {
  color: var(--text);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.support-link {
  font-size: .85rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.support-link:hover { text-decoration: underline; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: 6px;
}
.check-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* Related products */
.product-related { padding: 48px 0; background: var(--white); }
.product-related h2 { color: var(--navy); margin-bottom: 24px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.related-card {
  background: var(--white);
  border: 1px solid rgba(10,22,40,.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-decoration: none;
  display: block;
  transition: box-shadow .2s, transform .2s;
}
.related-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.related-card-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: var(--smoke);
  border-radius: 4px;
}
.related-card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  padding: 8px;
}
.related-card-brand {
  font-size: .75rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.related-card h3 {
  color: var(--navy);
  font-size: 1rem;
  margin: 0;
}

/* Image lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 22, 40, .92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 48px rgba(0,0,0,.4);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: opacity .15s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 40px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
  line-height: 1;
  opacity: .7;
  transition: opacity .15s, background .15s;
}
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; background: rgba(255,255,255,.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Video embed — responsive 16:9 */
.section-video {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10,22,40,.1);
}
.section-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* Document download link */
.section-document { margin: 20px 0; }
.document-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--smoke);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.document-link:hover {
  background: var(--white);
  border-color: var(--navy);
}

/* Content sections — alternating backgrounds */
/* ════════════════════════════════════════════════════════════════
   Product detail sections — visual polish
   ════════════════════════════════════════════════════════════════ */
.product-section {
  padding: 64px 0;
  position: relative;
}
.product-section:nth-child(odd)  { background: var(--white); }
.product-section:nth-child(even) { background: var(--smoke); }

/* Video-only section: tighter padding, no alternating background, no
   heading/eyebrow noise. Visually feels like a continuation of the
   previous content section. */
.product-section--video-only {
  padding: 8px 0 36px !important;
  background: var(--white) !important;
}
.product-section--video-only + .product-section { border-top: 1px solid var(--border); }
.product-section--video-only .section-videos,
.product-section--video-only .section-video { margin-top: 0; }

/* ── Group-title section ──
   A category divider that groups the product variants underneath it
   ("Rotary Die Storage Solutions" → Fully Automatic / Semi-Automatic /
   Manual). Larger, centred heading with a short copper rule above
   so it reads as a section break, not as another product detail.
   Uses tighter vertical padding than .product-detail-section. */
.product-group-title {
  padding: 28px 0 8px !important;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.product-group-title + .product-detail-section { border-top: 0; }
.group-title-heading {
  position: relative;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy, #0a1628);
  letter-spacing: -.005em;
  margin: 0 auto;
  padding: 24px 0 0;
  max-width: 900px;
}
.group-title-heading::before {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold, #c69c4f);
  margin: 0 auto 14px;
  border-radius: 2px;
}
.group-title-body {
  text-align: center;
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--muted, #5d6b80);
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .group-title-heading { font-size: 1.4rem; }
}

/* Variant title: a sub-tier between Group title and a plain detail h2.
   Used for model/configuration names ("Model 283 Production Assembler",
   "MODEL 221C JUMBO ASSEMBLER") that sit underneath a group_title
   ("Assemblers") and ahead of detail sections ("Unmatched Production:").
   Visual: navy left-bar on the heading + a hairline rule above the
   section so the eye registers it as a tier shift without competing
   with the larger centred group_title above. */
.product-section--variant-title {
  border-top: 1px solid var(--border);
  padding-top: 32px !important;
}
.product-section--variant-title h2 {
  position: relative;
  padding-left: 16px;
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
  font-weight: 700;
  color: var(--navy, #0a1628);
  border-left: 4px solid var(--navy, #0a1628);
  margin-bottom: 18px;
}

/* Section heading: refined typography with a subtle gold accent rule.
   Establishes a clear visual hierarchy without being loud. */
.product-section h2 {
  color: var(--navy);
  margin: 0 0 20px;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 12px;
}
.product-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* Container max-width within sections — narrower than the page container
   for comfortable reading on wide screens. */
.product-section .container > h2,
.product-section .container > .detail-body,
.product-section .container > .section-specs {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Unified vertical rhythm inside a product section ──
   Every direct child of .product-detail-section's .container gets a
   consistent top margin so the section feels like one document, not a
   stack of independent components. The eyebrow tightens against its
   following block (handled below). */
.product-detail-section .container > h2 { margin-top: 0; }
.product-detail-section .container > * + * { margin-top: 28px; }
.product-detail-section .container > .section-eyebrow + * { margin-top: 10px; }

/* ── Uniform prose styling for every product detail section ──
   Goal: whether a section is pure prose (e.g. Topra GD), prose + a
   features list (e.g. Topra AD), or bullets-only (e.g. Advantages),
   they all look like the same document. Consistent width, consistent
   paragraph rhythm, polished checkmark bullets instead of disc dots.
*/
.product-detail-section .detail-body {
  color: var(--text);
  line-height: 1.8;
  font-size: 1.02rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
/* ── Comparison table (ProductSectionComparison) ──
   Real <table> rendering of the variant × attribute matrix. Replaces
   the old "Grid2.jpg pre-baked screenshot" pattern with structured,
   accessible, translatable data. YES/NO cells get coloured pills so
   the reader can scan capabilities at a glance. */
.product-detail-section .section-comparisons {
  max-width: 1100px;
  margin: 28px auto 0;
}
.comparison-block + .comparison-block { margin-top: 24px; }
.comparison-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy, #0a1628);
  margin: 0 0 12px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  background: #fff;
  border: 1px solid rgba(10,22,40,.08);
  border-radius: 8px;
  overflow: hidden;
}
.comparison-table thead th {
  background: var(--navy, #0a1628);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  letter-spacing: .01em;
}
.comparison-table tbody td,
.comparison-table tbody th {
  padding: 10px 14px;
  border-top: 1px solid rgba(10,22,40,.06);
  vertical-align: middle;
}
.comparison-row-label {
  font-weight: 500;
  color: var(--navy, #0a1628);
  background: rgba(10,22,40,.02);
  text-align: left;
  white-space: nowrap;
}
.comparison-cell {
  color: var(--text, #2d3748);
}
.comparison-cell--yes,
.comparison-cell--no {
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.comparison-cell--yes { color: #1d7a4d; }
.comparison-cell--no  { color: #b03c3c; }
@media (max-width: 720px) {
  .comparison-table { font-size: .85rem; }
  .comparison-table thead th,
  .comparison-table tbody td,
  .comparison-table tbody th { padding: 8px 10px; }
}

/* ── Per-variant Quote CTA ──
   Renders at the foot of a section when show_quote_cta is on. Smaller
   than the main hero CTA so it doesn't compete; clearly labels which
   variant the quote is about so the visitor knows what they're asking
   for and the rep gets the same context in the inquiry email. */
.product-detail-section .section-variant-cta {
  display: flex;
  justify-content: center;
  margin: 24px 0 4px;
}
.section-variant-cta-button {
  font-size: .9rem;
  padding: 10px 22px;
}

/* ── Related case studies strip ──
   "Used by" block at the foot of the product page, before Related
   Products. Pulls in the SuccessStory records flagged via the
   Product.related_stories M2M. Visual treatment: cards with the case
   study photo on top + title + clipped summary, kept lighter than the
   full SuccessStory list view. */
.product-related-stories {
  background: var(--smoke, #eef2f7);
  padding: 56px 0;
}
.product-related-stories h2 {
  margin: 4px 0 26px;
}
.related-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.related-story-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(10,22,40,.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.related-story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(10,22,40,.12);
}
.related-story-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a2640 0%, #0a1628 100%);
  overflow: hidden;
}
.related-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-story-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}
.related-story-kind {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold, #c69c4f);
}
.related-story-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy, #0a1628);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-story-summary {
  font-size: .88rem;
  color: var(--text, #2d3748);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Bullet lists (ProductSectionBulletList) ──
   Editor-driven bullet lists rendered between body and feature cards.
   Optional <h4> heading; bullets use the existing detail-body list
   styling so they match anything pasted into body via CKEditor. */
.product-detail-section .section-bullet-lists {
  max-width: 920px;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-detail-section .bullet-list-block {
  margin: 0;
}
.product-detail-section .bullet-list-name {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy, #0a1628);
}
.product-detail-section .bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.product-detail-section .bullet-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
  color: var(--text, #2d3748);
}
.product-detail-section .bullet-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold, #c69c4f);
}
/* Optional-features card: same content as a standard list but framed
   so buyers can see at a glance it's add-on vs standard. */
.product-detail-section .bullet-list-block--optional {
  border: 1px dashed rgba(198,156,79,.55);
  border-radius: 8px;
  padding: 14px 18px;
  background: rgba(253,247,233,.45);
}
.product-detail-section .bullet-list-block--optional .bullet-list li::before {
  background: rgba(198,156,79,.55);
}
.bullet-list-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold, #c69c4f);
  vertical-align: middle;
}

/* ── Collapsible section panel ──
   Wraps a section in <details>/<summary> so visitors can fold long
   feature blocks. The summary keeps the section's <h2> as its label,
   adds a small +/- marker on the right, and animates the expand. */
.product-section--collapsible {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.section-collapse {
  margin: 0;
}
.section-collapse > summary { list-style: none; cursor: pointer; }
.section-collapse > summary::-webkit-details-marker { display: none; }
.section-collapse-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid rgba(10,22,40,.08);
}
.section-collapse-summary h2 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--navy, #0a1628);
}
.section-collapse-marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(10,22,40,.06);
  position: relative;
  transition: background .15s ease, transform .2s ease;
}
.section-collapse-marker::before,
.section-collapse-marker::after {
  content: '';
  position: absolute;
  background: var(--navy, #0a1628);
  transition: transform .2s ease, opacity .2s ease;
}
.section-collapse-marker::before {
  top: 50%; left: 25%; right: 25%; height: 2px; transform: translateY(-50%);
}
.section-collapse-marker::after {
  left: 50%; top: 25%; bottom: 25%; width: 2px; transform: translateX(-50%);
}
.section-collapse[open] > .section-collapse-summary .section-collapse-marker {
  background: var(--gold, #c69c4f);
}
.section-collapse[open] > .section-collapse-summary .section-collapse-marker::after {
  opacity: 0;
}
.section-collapse-body {
  padding: 4px 0 32px;
}

/* ── Labelled feature cards (ProductSectionFeature) ──
   Four render shapes selected by the .feature-card--<layout> class:
     • card             — image on top, text below (the BCM/Solarco pattern)
     • text-image-right — heading + body on left, image floats right
     • text-image-left  — image floats left, heading + body on right
     • text-only        — heading + body, no image (sub-sub-section block) */
.product-detail-section .section-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 28px auto 0;
  max-width: 1100px;
}
.product-detail-section .feature-card {
  padding: 18px 20px;
  background: var(--white, #fff);
  border: 1px solid rgba(10,22,40,.08);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(10,22,40,.04);
}
.feature-card-name {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy, #0a1628);
  line-height: 1.3;
}
.feature-card-image { margin: 0; text-align: center; }
.feature-card-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  cursor: zoom-in;
  border-radius: 6px;
}
.feature-card-desc {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--text, #2d3748);
}
.feature-card-desc p:last-child { margin-bottom: 0; }

/* Default "card" layout: stack name → image → description vertically. */
.feature-card--card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Side-by-side: image floats so the text genuinely wraps around it
   (matches the old asp.net pattern of <img style="float:right"> next
   to a paragraph). No card chrome — these blocks read as inline body
   content, not as separate cards competing with the section <h2>. */
.feature-card--text-image-right,
.feature-card--text-image-left {
  grid-column: 1 / -1;
  /* Override the generic .feature-card { display: flex } rule (line ~1656)
     — flex children ignore `float`, which would silently break the wrap. */
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 1100px;
  /* Establish a block formatting context so floats clear inside the card */
  overflow: auto;
}
.feature-card--text-image-right .feature-card-image,
.feature-card--text-image-left .feature-card-image {
  max-width: 320px;
  margin: 4px 0 12px 0;
}
.feature-card--text-image-right .feature-card-image {
  float: right;
  margin-left: 28px;
}
.feature-card--text-image-left .feature-card-image {
  float: left;
  margin-right: 28px;
}
.feature-card--text-image-right .feature-card-image img,
.feature-card--text-image-left  .feature-card-image img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 720px) {
  .feature-card--text-image-right .feature-card-image,
  .feature-card--text-image-left .feature-card-image {
    float: none;
    max-width: 100%;
    margin: 0 0 12px;
  }
}

/* Text-only: no image, no border/background. Reads as a sub-sub
   heading + paragraph inside the parent section — quieter than a
   full card so it doesn't compete with the section's <h2>. */
.feature-card--text-only {
  grid-column: 1 / -1;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 1100px;
}

/* Feature-grid: a wide spec/configuration table image embedded inline
   under the bullet list of features, so the visual spec sheet stays
   in context with the words instead of mixing into the photo gallery. */
.product-detail-section .detail-body .feature-grid {
  margin: 24px 0 0;
  padding: 0;
  text-align: center;
}
.product-detail-section .detail-body .feature-grid + .feature-grid {
  margin-top: 16px;
}
.product-detail-section .detail-body .feature-grid img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(10,22,40,.08);
  border-radius: var(--radius-md, 6px);
  background: #fff;
}
.product-detail-section .detail-body p {
  margin: 0 0 1.2em;
}
.product-detail-section .detail-body p:last-child {
  margin-bottom: 0;
}
.product-detail-section .detail-body h3,
.product-detail-section .detail-body h4 {
  color: var(--navy);
  margin: 1.6em 0 .5em;
  font-size: 1.05rem;
}
/* Bullet lists get a polished two-column card grid with gold checkmarks.
   Matches the visual vocabulary of the features-grid used elsewhere. */
.product-detail-section .detail-body ul {
  list-style: none;
  padding: 0;
  margin: 1.2em 0 1.4em;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px 24px;
}
.product-detail-section .detail-body li {
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
  color: #40516a;
}
.product-detail-section .detail-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: .95rem;
  background: rgba(212, 160, 23, .18);
  border-radius: 4px;
}
.product-detail-section .detail-body li ul,
.product-detail-section .detail-body li ol {
  grid-template-columns: 1fr;
  margin: .4em 0 .4em;
}
/* Single-column on narrow screens so cards don't cramp */
@media (max-width: 640px) {
  .product-detail-section .detail-body ul { grid-template-columns: 1fr; }
}

/* Small uppercase eyebrow label between content blocks within a section.
   Establishes "Photos / Specifications / Video / Document" hierarchy
   without competing with the H2 section heading. */
.product-detail-section .section-eyebrow {
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.product-detail-section .section-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
/* When eyebrow is followed immediately by gallery/specs/video/docs,
   tighten the spacing so the label feels paired with what it labels. */
.product-detail-section .section-eyebrow + .section-gallery,
.product-detail-section .section-eyebrow + .section-specs,
.product-detail-section .section-eyebrow + .section-videos,
.product-detail-section .section-eyebrow + .section-video,
.product-detail-section .section-eyebrow + .section-documents {
  margin-top: 12px;
}

/* ── Unified per-section media gallery ──
   Photos + video tiles + PDF tiles in one grid. Stable visual order is
   photos → videos → docs (set by template iteration order), so a visitor
   scanning for "the brochure" still finds it at the end of the section. */
.section-media {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
}
.section-media:has(.media-tile:only-child) {
  grid-template-columns: minmax(220px, 360px);
  justify-content: start;
}
.media-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(10,22,40,.08);
  border-radius: 8px;
  overflow: hidden;
  background: #f6f8fb;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: inherit;
  display: block;
}
.media-tile:hover,
.media-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10,22,40,.18);
  outline: none;
  z-index: 1;
}
button.media-tile { appearance: none; font: inherit; }

/* Photo tile */
.media-tile--photo {
  background:
    linear-gradient(135deg, rgba(212,160,23,.12), transparent 42%),
    linear-gradient(180deg, #fbfcfe 0%, #eef2f7 100%);
}
.media-tile--photo::before {
  content: 'Image';
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(10,22,40,.38);
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(212,160,23,.18) 48% 52%, transparent 52%),
    rgba(255,255,255,.2);
}
.media-tile--photo > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 10px;
}
.media-tile--photo-captioned::before {
  bottom: 42px;
}
/* Captioned photo tile: image fills the top, caption sits in a small
   strip underneath. The 4:3 aspect-ratio applies to the image only —
   the figcaption pushes the tile slightly taller so the photo stays
   uncropped. */
.media-tile--photo-captioned {
  aspect-ratio: auto;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.media-tile--photo-captioned > img {
  flex: 1 1 auto;
  height: auto;
  aspect-ratio: 4 / 3;
}
.media-tile-photo-caption {
  flex: 0 0 auto;
  padding: 8px 12px 10px;
  font-size: .82rem;
  line-height: 1.35;
  color: var(--navy, #0a1628);
  background: #fff;
  border-top: 1px solid rgba(10,22,40,.06);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

/* Video tile */
.media-tile--video {
  background: #000;
}
.media-tile--video .media-tile-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-tile--video .media-tile-thumb--placeholder {
  background: linear-gradient(135deg, #1a2640 0%, #0a1628 100%);
}
.media-tile-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity .15s ease;
}
.media-tile-play svg {
  width: 60px;
  height: 42px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
  transition: transform .15s ease;
}
.media-tile--video:hover .media-tile-play svg,
.media-tile--video:focus-visible .media-tile-play svg {
  transform: scale(1.1);
}
.media-tile-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 44px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.9) 100%);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 34px 12px 10px;
  text-align: left;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.75);
}

/* PDF / document tile */
.media-tile--doc {
  background: #fff;
  display: flex;
  flex-direction: column;
}
.media-tile--doc > img {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: top center;
  display: block;
  padding: 14px;
  background: linear-gradient(180deg, #fbfcfe 0%, #eef2f7 100%);
}
.media-tile-doc-icon {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f9fbfd 0%, var(--smoke, #eef2f7) 100%);
  color: var(--navy, #0a1628);
}
.media-tile-doc-icon svg {
  width: 56px;
  height: 56px;
  opacity: .55;
}
.media-tile-doc-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--navy);
  color: #fff;
  font-size: .66rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .04em;
  pointer-events: none;
}
.media-tile-doc-title {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 10px 12px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy, #0a1628);
  line-height: 1.35;
  background: #fff;
  border-top: 1px solid rgba(10,22,40,.06);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Form-page banner showing which product the inquiry started from. */
.form-product-context {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #fdf8ee 0%, #faf2dc 100%);
  border: 1px solid rgba(198,156,79,.35);
  border-left: 4px solid var(--gold, #c69c4f);
  border-radius: 8px;
}
.form-product-context-label {
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted, #5d6b80);
}
.form-product-context-link {
  color: var(--navy, #0a1628);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(10,22,40,.3);
}
.form-product-context-link:hover {
  border-bottom-color: var(--gold, #c69c4f);
}

/* ── Sticky per-product CTA ──
   Slides up from the bottom-right once the hero scrolls past, so the
   "Request a Quote" path is always one click away. Sessional dismiss:
   if the visitor closes it once on a given product, it stays gone for
   the rest of that session. */
.product-sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 20px;
  background: var(--white, #fff);
  border: 1px solid rgba(10,22,40,.08);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(10,22,40,.18);
  max-width: calc(100vw - 48px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.product-sticky-cta.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.product-sticky-cta-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-sticky-cta-label {
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted, #5d6b80);
}
.product-sticky-cta-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy, #0a1628);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.product-sticky-cta-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-sticky-cta-actions .btn-primary,
.product-sticky-cta-actions .btn-outline {
  font-size: .85rem;
  padding: 9px 14px;
  white-space: nowrap;
}
.product-sticky-cta-close {
  appearance: none;
  background: none;
  border: none;
  color: var(--muted, #5d6b80);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.product-sticky-cta-close:hover {
  color: var(--navy, #0a1628);
  background: rgba(10,22,40,.06);
}
@media (max-width: 720px) {
  .product-sticky-cta {
    right: 12px;
    left: 12px;
    bottom: 12px;
    padding: 10px 12px;
    max-width: none;
    flex-wrap: wrap;
  }
  .product-sticky-cta-info { flex: 1 1 100%; margin-bottom: 4px; }
  .product-sticky-cta-name { max-width: none; }
  .product-sticky-cta-contact { display: none; }  /* keep just primary CTA on phones */
}
@media print {
  .product-sticky-cta { display: none !important; }
}

/* External link tile (manufacturer galleries, partner sites, etc.) */
.media-tile--link {
  background: linear-gradient(180deg, #fafbfd 0%, var(--smoke, #eef2f7) 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 16px 14px;
  text-decoration: none;
  color: var(--navy, #0a1628);
}
.media-tile-link-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(198, 156, 79, .12);
  color: var(--gold, #c69c4f);
  margin-bottom: 10px;
}
.media-tile-link-icon svg { width: 20px; height: 20px; }
.media-tile-link-host {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted, #5d6b80);
  margin-bottom: 4px;
}
.media-tile-link-title {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy, #0a1628);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.media-tile-link-desc {
  margin-top: 6px;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--muted, #5d6b80);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.media-tile--link::after {
  content: '↗';
  position: absolute;
  top: 12px;
  right: 14px;
  color: var(--gold, #c69c4f);
  font-size: 1rem;
  font-weight: 600;
  pointer-events: none;
}

/* Legacy alias — keep old class names working until templates that still
   reference them are migrated. */
.section-gallery,
.section-videos,
.section-documents {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
}
.section-gallery-tile {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.section-gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(11, 48, 96, 0.12);
  border-color: rgba(212, 160, 23, 0.4);
}
.section-gallery-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  background: var(--smoke);
}
.section-gallery-tile figcaption {
  padding: 12px 16px;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  flex: 1;
  display: flex;
  align-items: center;
}

/* ── Per-section specs table ──
   Two-column key/value table for scanning. Soft zebra-stripe (only on
   the value column to keep labels visually unified) + generous padding
   so it reads as a polished spec sheet, not a database dump. */
.section-specs {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 48, 96, 0.04);
}
.section-specs th,
.section-specs td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
  font-size: .95rem;
  line-height: 1.5;
}
.section-specs tr + tr th,
.section-specs tr + tr td { border-top: 1px solid var(--border); }
.section-specs th {
  width: 40%;
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
  background: linear-gradient(to right, rgba(212, 160, 23, 0.06), transparent);
  border-right: 1px solid var(--border);
}
.section-specs td { color: var(--text); }
.section-specs td.note {
  font-style: italic;
  color: var(--muted);
  text-align: center;
  background: var(--smoke);
}
@media (max-width: 640px) {
  .section-specs th,
  .section-specs td { padding: 11px 14px; font-size: .9rem; }
  .section-specs th { width: 44%; }
}

/* ── Per-section videos ──
   Compact thumbnail tiles. Click → fullscreen lightbox with the iframe
   (in #video-lightbox). Keeps the inline footprint small and avoids
   loading YouTube's iframe API until the user actually wants to watch. */
.section-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
}
.video-tile {
  appearance: none;
  background: #000;
  border: 1px solid rgba(10,22,40,.08);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  transition: transform .15s ease, box-shadow .15s ease;
}
.video-tile:hover,
.video-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10,22,40,.18);
  outline: none;
}
.video-tile-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-tile-thumb--placeholder {
  background: linear-gradient(135deg, #1a2640 0%, #0a1628 100%);
}
.video-tile-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity .15s ease;
}
.video-tile-play svg {
  width: 68px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
  transition: transform .15s ease;
}
.video-tile:hover .video-tile-play svg,
.video-tile:focus-visible .video-tile-play svg {
  transform: scale(1.1);
}
.video-tile-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 46px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.9) 100%);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 34px 12px 10px;
  text-align: left;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.75);
}
/* ── Video lightbox (shared overlay) ── */
.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 22, 40, .92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.video-lightbox.open { display: flex; }
.video-lightbox-frame {
  position: relative;
  width: min(90vw, 1280px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0,0,0,.5);
}
.video-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.section-video {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}
.section-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(11, 48, 96, 0.12);
}

/* ── Per-section documents — image-style tiles ──
   Each PDF gets a thumbnail of page 1 rendered to a tile that matches
   the photo gallery aesthetic. Other file types fall back to a clean
   icon tile. Layout grid + tile sizing stay consistent with the
   photo gallery so a section's media reads as one harmonious strip. */
.section-documents {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
}
.doc-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--navy);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.doc-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(11, 48, 96, 0.12);
  border-color: rgba(212, 160, 23, 0.4);
}
.doc-tile-preview {
  position: relative;
  background: var(--smoke);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.doc-tile-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;     /* show page 1's top, where titles usually live */
  display: block;
  padding: 12px;
  background: linear-gradient(180deg, #fbfcfe 0%, #eef2f7 100%);
}
.doc-tile-preview svg {
  width: 56px;
  height: 56px;
  color: var(--gold);
  opacity: 0.85;
}
.doc-tile-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  background: var(--navy);
  color: #fff;
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.doc-tile-title {
  min-height: 64px;
  padding: 12px 16px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
  border-top: 1px solid var(--border);
  background: var(--white);
}
.doc-tile-title::after {
  content: " ↓";
  color: var(--gold);
  font-weight: 700;
  margin-left: 4px;
}
.doc-tile--icon .doc-tile-preview {
  background: linear-gradient(135deg, var(--smoke) 0%, var(--white) 100%);
}

.product-specs .specs-content {
  color: var(--text);
  line-height: 1.8;
  max-width: 800px;
}

/* Intro text next to gallery */
.product-intro-text {
  color: var(--text);
  line-height: 1.8;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hub-tightened .product-detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hub-tightened .product-detail-hero-panel {
    display: none;
  }
  .product-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-intro { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .product-gallery-main { min-height: 0; padding: 16px; }
  .product-gallery-main img { max-height: 330px; }
  .support-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .product-section { padding: 32px 0; }
}

/*
 * TinyMCE wraps every <img> in a <p>. Use that:
 * image-only <p> → inline-block so consecutive images sit side by side.
 * Text <p> → stays block (full width) as normal.
 */
.product-content > p:has(> img:only-child) {
  display: inline-block;
  vertical-align: top;
  margin: 8px 6px 8px 0;
  line-height: 0;
}
.product-content > p:has(> img:only-child) img {
  max-width: 280px;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--border);
  padding: 6px;
  background: var(--smoke);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(10,22,40,.06);
}
/* Bare <img> not inside <p> (before TinyMCE save) — same treatment */
.product-content > img {
  display: inline-block;
  vertical-align: top;
  max-width: 280px;
  max-height: 220px;
  object-fit: contain;
  border: 1px solid var(--border);
  padding: 6px;
  margin: 8px 6px 8px 0;
  background: var(--smoke);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(10,22,40,.06);
}
.cms-content .img-right {
  float: right;
  margin: 0 0 1.2rem 1.8rem;
  max-width: 46%;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.cms-content .img-left {
  float: left;
  margin: 0 1.8rem 1.2rem 0;
  max-width: 46%;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.cms-content .img-full {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}
.cms-content .img-card {
  display: block;
  max-width: 560px;
  margin: 1.5rem auto;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.cms-content .img-portrait {
  float: right;
  margin: 0 0 1.2rem 1.8rem;
  max-width: 220px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

/* ── Generic CMS page layout ─────────────────────────── */
.cms-page-body {
  padding: 64px 0 88px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}
.cms-page-inner {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(10,22,40,.06);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cms-page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  padding: 24px 28px 28px;
  border-top: 1px solid rgba(10,22,40,.08);
  font-size: .8rem;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(244,246,249,.55) 0%, rgba(237,243,248,.7) 100%);
}
.cms-page-footer a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}
.cms-page-footer a:hover { text-decoration: underline; }
.cms-content::after { content: ''; display: table; clear: both; }

/* ── Image banner & image grid (PageSection types) ───────── */
.page-image-banner {
  margin: 24px 0 0;
  text-align: center;
}
.page-image-banner__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.page-image-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.page-image-banner figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.page-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.page-image-grid__item { margin: 0; }
.page-image-grid__button {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px;
  background: var(--smoke);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: zoom-in;
  transition: box-shadow .15s, border-color .15s;
}
.page-image-grid__button:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.page-image-grid__button img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.page-image-grid__zoom {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 30px;
  height: 30px;
  background: rgba(10, 22, 40, 0.65);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.page-image-grid figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.5;
}

/* ── Inline videos list (PageVideo) ──────────────────────── */
.page-videos-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.page-video { margin: 0; }
.page-video__title {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.15rem;
}
.page-video__caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Document downloads list (PageDocument) ──────────────── */
.page-docs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}
.page-doc { margin: 0; }
.page-doc__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--navy);
  text-decoration: none;
  transition: box-shadow .15s, border-color .15s;
}
.page-doc__link:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.page-doc__icon { font-size: 1.6rem; line-height: 1; }
.page-doc__body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.page-doc__body strong { color: var(--navy); font-size: 0.95rem; }
.page-doc__desc { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.page-doc__cta { color: var(--blue); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }

/* ── Site-wide availability footnote ─────────────────────── */
.availability-footnote {
  max-width: 900px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
}

/* ── PageSection video partial — responsive 16:9 YouTube embed ── */
.video-embed-wrap {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 24px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Hub-page intro aside card (lives inside intro 2-col split) ── */
.hub-aside-card {
  background: var(--smoke);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  padding: 28px;
}
.hub-aside-card h3 {
  color: var(--navy);
  margin: 0 0 16px;
  font-size: 1rem;
}
.hub-aside-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 16px;
}
.hub-aside-card .check-list {
  margin: 0;
}
.hub-aside-btn {
  display: block;
  text-align: center;
  margin-top: 10px;
}
.hub-aside-btn:first-of-type { margin-top: 16px; }

/* Navy variant — full dark card with gold heading */
.hub-aside-card--navy {
  background: var(--navy);
  border-left-color: var(--gold);
  color: #fff;
}
.hub-aside-card--navy h3 { color: var(--gold); }
.hub-aside-card--navy p  { color: rgba(255,255,255,0.85); }
.hub-aside-card--navy .check-list li { color: rgba(255,255,255,0.9); }

/* ── Listing-page card placeholders, news meta, pagination ── */
.story-card-placeholder,
.news-card-placeholder {
  width: 100%; height: 160px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,0.4);
}
.news-card-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.news-card-type {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.04em;
}
.news-card-type--news  { background: var(--navy); color: #fff; }
.news-card-type--event { background: var(--gold); color: var(--navy); }
.news-date { color: var(--muted); }
.news-read-more,
.story-read-more,
.brand-card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: 40px;
}
.pagination-link,
.pagination-current {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.92rem;
  text-decoration: none;
}
.pagination-link {
  border: 1px solid var(--border);
  color: var(--navy);
}
.pagination-link:hover { background: var(--smoke); }
.pagination-current {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

/* ── Brand directory ──────────────────────────────────── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.brand-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.brand-card:hover { box-shadow: var(--shadow); }
.brand-card-logo {
  height: 80px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.brand-card-logo img { max-height: 80px; max-width: 180px; object-fit: contain; }
.brand-card h3 { color: var(--navy); font-size: 1.1rem; margin: 0 0 12px; }
.brand-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ── Used-machinery listings ───────────────────────────── */
.used-machinery-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 48px;
  align-items: start;
}
.used-machinery-filter {
  background: var(--smoke);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.used-machinery-filter-label { color: var(--navy); font-weight: 600; font-size: 0.9rem; }
.filter-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
}
.filter-pill:hover { background: var(--smoke); }
.filter-pill--active { background: var(--navy); color: #fff; border-color: var(--navy); }

.used-listing-stack { display: flex; flex-direction: column; gap: 24px; }
.used-listing-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: grid; grid-template-columns: 200px 1fr;
}
.used-listing-image {
  background: var(--smoke);
  display: flex; align-items: center; justify-content: center;
  min-height: 160px;
  font-size: 3rem;
  color: rgba(10,22,40,0.3);
}
.used-listing-body { padding: 24px; }
.used-listing-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.used-listing-tags { display: flex; align-items: center; gap: 12px; }
.tag-navy {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  padding: 3px 10px; border-radius: 12px;
  background: var(--navy); color: #fff;
  letter-spacing: 0.04em;
}
.tag-condition { font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: capitalize; }
.tag-year { font-size: 0.85rem; color: var(--muted); }
.used-listing-body h2 { color: var(--navy); font-size: 1.1rem; margin: 0 0 10px; }
.used-listing-body p { color: var(--text); font-size: 0.92rem; line-height: 1.6; margin: 0 0 12px; }
.used-listing-location { color: var(--muted); font-size: 0.85rem; }
.used-listing-cta {
  display: inline-block; margin-top: 6px;
  padding: 8px 20px; font-size: 0.9rem;
  border-radius: 4px;
}
.used-listing-empty {
  text-align: center; padding: 64px 32px;
  background: var(--smoke);
  border-radius: 8px;
  border: 2px dashed var(--border);
}
.used-listing-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.used-listing-empty h3 { color: var(--navy); margin-bottom: 12px; }
.used-listing-empty p { color: var(--text); line-height: 1.7; max-width: 480px; margin: 0 auto 24px; }

.used-machinery-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  padding: 24px;
  border-radius: 8px;
}
.sidebar-card--smoke { background: var(--smoke); }
.sidebar-card h3 { color: var(--navy); font-size: 1rem; margin: 0 0 12px; }
.sidebar-card p { color: var(--text); font-size: 0.9rem; line-height: 1.6; margin: 0 0 12px; }
.sidebar-card-link { font-size: 0.85rem; color: var(--navy); font-weight: 600; text-decoration: none; }
.sidebar-card-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .used-machinery-layout { grid-template-columns: 1fr; }
  .used-listing-card { grid-template-columns: 1fr; }
  .used-listing-image { min-height: 100px; }
}

/* ── Legal pages (privacy-policy / terms) ──────────────── */
.cms-content--legal { padding: 56px 64px 64px; }
.cms-content--legal .legal-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 32px;
}
.cms-content--legal .legal-callout {
  background: var(--smoke);
  border-left: 4px solid var(--navy);
  border-radius: 6px;
  padding: 22px 24px;
  margin: 0 0 36px;
}
.cms-content--legal .legal-callout p { margin: 0; }
.cms-content--legal h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  color: var(--navy);
}
.cms-content--legal h3 {
  font-size: 1.05rem;
  margin-top: 22px;
  margin-bottom: 10px;
  color: var(--navy);
}
.cms-content--legal .legal-address {
  background: var(--smoke);
  padding: 22px 24px;
  border-radius: 6px;
  font-style: normal;
  line-height: 1.8;
}

/* Privacy/Terms hero PDF download link */
.page-header-pdf {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 0.9rem;
  text-decoration: none;
}
.page-header-pdf:hover { color: var(--gold2, var(--gold)); text-decoration: underline; }

@media (max-width: 720px) {
  .cms-content--legal { padding: 32px 24px 40px; }
}

/* ═══════════════════════════════════════════════════════════
   FEATURE BLOCKS — image+text feature cards rendered by the
   feature_blocks PageSection type. Six layout variants per
   feature, all sharing the same brand palette and spacing.
   Edit one rule here and the change propagates everywhere
   feature_blocks is used.
   ═══════════════════════════════════════════════════════════ */

.feature-blocks { padding: clamp(64px, 8vw, 96px) 0; }
.feature-blocks--smoke { background: var(--smoke); }
.feature-blocks--white { background: var(--white); }
.feature-blocks--navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: var(--white);
}
.feature-blocks--accent-navy { border-top: 4px solid var(--navy); }
.feature-blocks--accent-gold { border-top: 4px solid var(--gold); }

.feature-blocks-head { max-width: 760px; margin-bottom: 48px; }
.feature-blocks--centered .feature-blocks-head { margin-inline: auto; text-align: center; }
.feature-blocks-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
}
.feature-blocks-head h2 {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; margin-top: 8px;
  letter-spacing: -0.01em;
}
.feature-blocks--navy .feature-blocks-head h2 { color: var(--white); }
.feature-blocks-head p {
  color: var(--text); margin-top: 14px; max-width: 56ch; line-height: 1.65;
}
.feature-blocks--navy .feature-blocks-head p { color: rgba(255,255,255,0.78); }

.feature-blocks-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  align-items: stretch;
}
.feature-blocks-list > .ft-side,
.feature-blocks-list > .ft-banner,
.feature-blocks-list > .ft-text { grid-column: 1 / -1; }

/* Layout 1: card */
.ft-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none; color: inherit;
}
.ft-card--linked { cursor: pointer; }
.ft-card--linked:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(8,22,56,0.10);
  border-color: rgba(212,160,23,0.4);
}
.ft-card-image {
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--smoke), #e6ecf5);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ft-card-image img { max-width: 100%; max-height: 100%; object-fit: cover; }
.ft-card-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.ft-card-title {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: 1.2rem; line-height: 1.2; margin-bottom: 10px;
}
.ft-card-desc { color: var(--text); font-size: 0.95rem; line-height: 1.65; flex: 1; }
.ft-card-desc p:last-child { margin-bottom: 0; }
.ft-card-cta {
  display: inline-block; margin-top: 16px;
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
  border-top: 1px solid var(--border); padding-top: 14px;
  transition: color .2s ease;
}
.ft-card--linked:hover .ft-card-cta { color: var(--gold); }

/* Layouts 2 & 3: side-by-side */
.ft-side {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  align-items: stretch;
}
.ft-side-image {
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--smoke), #e6ecf5);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ft-side-image img { width: 100%; height: 100%; object-fit: cover; }
.ft-side-body {
  padding: 36px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.ft-side-title {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: 1.45rem; line-height: 1.15; margin-bottom: 14px;
}
.ft-side-desc { color: var(--text); font-size: 1rem; line-height: 1.7; }
.ft-side-desc p:last-child { margin-bottom: 0; }
.ft-side-cta {
  margin-top: 20px; align-self: flex-start;
  font-size: 0.88rem; font-weight: 600; color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 3px;
  transition: color .2s ease;
}
.ft-side-cta:hover { color: var(--gold); }

/* Layouts 4 & 5: image-top / image-bottom */
.ft-banner {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.ft-banner-image {
  aspect-ratio: 21/9; background: linear-gradient(135deg, var(--smoke), #e6ecf5);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ft-banner-image img { width: 100%; height: 100%; object-fit: cover; }
.ft-banner-body { padding: 36px 44px; max-width: 880px; }
.ft-banner-title {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: 1.6rem; line-height: 1.1; margin-bottom: 14px;
}
.ft-banner-desc { color: var(--text); font-size: 1.05rem; line-height: 1.7; }
.ft-banner-desc p:last-child { margin-bottom: 0; }
.ft-banner-cta {
  display: inline-block; margin-top: 20px;
  font-size: 0.9rem; font-weight: 600; color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 3px;
  transition: color .2s ease;
}
.ft-banner-cta:hover { color: var(--gold); }

/* Layout 6: text-only */
.ft-text {
  padding: 28px 32px;
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
}
.ft-text-title {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: 1.25rem; margin-bottom: 8px;
}
.ft-text-desc { color: var(--text); font-size: 1rem; line-height: 1.7; }
.ft-text-desc p:last-child { margin-bottom: 0; }
.ft-text-cta {
  display: inline-block; margin-top: 14px;
  font-size: 0.88rem; font-weight: 600; color: var(--navy);
  text-decoration: none;
}

@media (max-width: 880px) {
  .feature-blocks-list { grid-template-columns: 1fr; gap: 24px; }
  .ft-side { grid-template-columns: 1fr; }
  .ft-side-body { padding: 28px 24px; }
  .ft-banner-body { padding: 28px 24px; }
  .ft-banner-image { aspect-ratio: 16/9; }
}

/* ── Floated feature image (small image alongside paragraph text,
   text wraps around). For badges, certification marks, partner
   logos. Fundamentally different from side-by-side which uses a
   50/50 column split. */
.ft-float {
  background: var(--white);
  padding: 28px 32px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
  overflow: auto; /* clearfix for the floated image */
}
.ft-float-image {
  margin: 0 0 16px 0;
  max-width: 180px;
}
.ft-float-image img {
  width: 100%; height: auto;
  display: block;
  background: var(--white);
}
.ft-float--right .ft-float-image { float: right; margin: 0 0 16px 28px; }
.ft-float--left  .ft-float-image { float: left;  margin: 0 28px 16px 0; }
.ft-float-title {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: 1.3rem; line-height: 1.15; margin-bottom: 12px;
}
.ft-float-desc { color: var(--text); font-size: 1rem; line-height: 1.7; }
.ft-float-desc p:last-child { margin-bottom: 0; }
.ft-float-cta {
  display: inline-block; margin-top: 14px;
  font-size: 0.88rem; font-weight: 600; color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 3px;
  transition: color .2s ease;
}
.ft-float-cta:hover { color: var(--gold); }
@media (max-width: 720px) {
  .ft-float { padding: 22px 20px; }
  .ft-float-image { max-width: 130px; }
  .ft-float--right .ft-float-image { margin: 0 0 14px 18px; }
  .ft-float--left  .ft-float-image { margin: 0 18px 14px 0; }
}

/* ═══════════════════════════════════════════════════════════
   LOGO STRIP — horizontal row of small partner / brand logos.
   Renders PageSectionItem.image rows with consistent height
   and generous spacing. Used for FedEx/DHL/UPS-style trust
   strips, OEM partner brands, etc.
   ═══════════════════════════════════════════════════════════ */

.logo-strip { padding: clamp(48px, 6vw, 72px) 0; }
.logo-strip--smoke { background: var(--smoke); }
.logo-strip--white { background: var(--white); }
.logo-strip--navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: var(--white);
}
.logo-strip--accent-navy { border-top: 4px solid var(--navy); }
.logo-strip--accent-gold { border-top: 4px solid var(--gold); }

.logo-strip-head { text-align: center; margin-bottom: 36px; max-width: 760px; margin-inline: auto; }
.logo-strip-header-image { display: block; margin: 0 auto 18px; max-width: 220px; height: auto; }
.logo-strip-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
}
.logo-strip-title {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; margin-top: 8px;
}
.logo-strip--navy .logo-strip-title { color: var(--white); }
.logo-strip-lead { color: var(--text); margin-top: 12px; font-size: 1rem; line-height: 1.65; }
.logo-strip--navy .logo-strip-lead { color: rgba(255,255,255,0.78); }

.logo-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
}
.logo-strip-item {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  height: 60px;
  transition: opacity .2s ease, transform .2s ease;
  text-decoration: none;
}
.logo-strip-item img {
  max-height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: none;
}
.logo-strip-item:hover { transform: translateY(-2px); }
a.logo-strip-item:hover img { opacity: 0.85; }

@media (max-width: 720px) {
  .logo-strip-row { gap: 24px; }
  .logo-strip-item { height: 44px; }
  .logo-strip-item img { max-width: 140px; }
}

/* ── Section header_image — small branded image above the section
   heading (e.g. Goettsch logo above an intro). Available on every
   section type that opts in via its partial. */
.section-header-image {
  display: block;
  max-width: 240px;
  height: auto;
  margin: 0 auto 22px;
}
