/* ==========================================================================
   Gilbert & Maxwell Transformers — site stylesheet
   One stylesheet for every page. Edit the tokens in :root to re-theme.
   ========================================================================== */

:root {
  /* Brand */
  --brand: #e2332b;          /* logo red */
  --brand-ink: #b9231c;      /* red for text/hover on light backgrounds */
  --navy: #0d1a2b;           /* primary dark */
  --navy-2: #15263d;
  --electric: #2f7de1;       /* from the hero image, used sparingly */

  /* Neutrals */
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #5d6877;
  --line: #e4e1da;
  --line-dark: rgba(255,255,255,.12);

  /* Type */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: 1.0625rem;
  --lh-body: 1.7;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(13,26,43,.04), 0 8px 24px rgba(13,26,43,.06);
  --shadow-lg: 0 2px 4px rgba(13,26,43,.05), 0 20px 48px rgba(13,26,43,.12);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; color: var(--navy); }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .95rem/1 var(--font); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.72); font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; opacity: .7; }
.topbar-values { display: flex; gap: 18px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; font-size: .72rem; }
.topbar-values span::before { content: "◆"; color: var(--brand); margin-right: 7px; font-size: .6rem; vertical-align: 1px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand-tag { font-size: .74rem; color: var(--muted); letter-spacing: .06em; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav a, .nav button.nav-parent {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font: 600 .92rem/1 var(--font); color: var(--text); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: color .15s, background .15s;
}
.nav a:hover, .nav button.nav-parent:hover { color: var(--brand-ink); background: #f3f1ec; }
.nav a[aria-current="page"], .nav .is-active > .nav-parent { color: var(--brand-ink); }
.nav .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav .has-sub { position: relative; }
.nav .sub {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav .sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav .sub a { display: flex; width: 100%; padding: 11px 14px; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub, .nav .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.nav .has-sub:hover .chev, .nav .has-sub.open .chev { transform: rotate(180deg); }
.nav .nav-cta { margin-left: 10px; padding: 12px 20px; background: var(--navy); color: #fff; border-radius: 999px; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: var(--brand); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; inset: var(--nav-top, 78px) 0 0; background: var(--surface);
    flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 32px; overflow-y: auto;
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav button.nav-parent { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav a:hover, .nav button.nav-parent:hover { background: none; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; display: none; min-width: 0; }
  .nav .has-sub.open .sub { display: block; }
  .nav .sub a { padding: 10px 4px; font-weight: 500; color: var(--muted); }
  .nav .nav-cta { margin: 20px 0 0; justify-content: center; border-radius: 999px; padding: 16px; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 860px) { .topbar-values { display: none; } }
@media (max-width: 560px) {
  .topbar-contact .tb-fax, .topbar-contact .tb-mail { display: none; }
  .brand-tag { display: none; }
  .brand-name { font-size: .98rem; }
  .brand img { width: 40px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  background: var(--navy) url("../images/hero.jpg") center right / cover no-repeat;
  min-height: min(66vh, 600px); display: flex; align-items: center;
  padding: 64px 0 100px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(9,18,31,.96) 0%, rgba(9,18,31,.86) 38%, rgba(9,18,31,.35) 75%, rgba(9,18,31,.15) 100%),
    linear-gradient(0deg, rgba(9,18,31,.6), transparent 40%);
}
.hero-inner { max-width: 680px; }
.hero .eyebrow { color: #ff8a80; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p { color: rgba(255,255,255,.8); font-size: clamp(1.08rem, 1.5vw, 1.22rem); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 700px) {
  .hero { background-position: 70% center; min-height: 0; padding: 44px 0 84px; }
  .hero::before { background: linear-gradient(180deg, rgba(9,18,31,.82), rgba(9,18,31,.92)); }
}

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat { padding: 24px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.stat-num sup { font-size: .5em; color: var(--brand); vertical-align: top; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: .92rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(40px, 5vw, 72px) 0; }
.section-tight { padding: clamp(28px, 3.5vw, 44px) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.78); }
.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--brand); }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head-row .section-head { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover, .card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: #fdeceb; color: var(--brand); margin-bottom: 16px;
}
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: 1rem; }

.value-card { position: relative; overflow: hidden; }
.value-card .num { position: absolute; right: 22px; top: 14px; font-size: 4.5rem; font-weight: 800; color: #f2efe9; line-height: 1; letter-spacing: -0.05em; z-index: 0; }
.value-card > * { position: relative; z-index: 1; }

/* Product cards */
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card .media { aspect-ratio: 9 / 5; background: #eef0f2; overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .media img { transform: scale(1.05); }
.product-card .body { padding: 20px 22px 24px; }
.product-card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 6px; }
.product-card h3 { font-size: 1.05rem; margin: 0; line-height: 1.35; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font: 600 .88rem/1 var(--font); color: var(--text); cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.product-card[hidden] { display: none; }

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: .98rem; }
.spec-table thead th { background: var(--navy); color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover td { background: #faf9f6; }
.spec-table td:first-child { font-weight: 600; color: var(--navy); }
.spec-table .std { display: inline-block; padding: 4px 10px; border-radius: 6px; background: #f1efe9; font-size: .85rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
@media (max-width: 560px) { .spec-table th, .spec-table td { padding: 14px 14px; } }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 3px; }

/* ---------- Approvals / chips row ---------- */
.approvals { display: flex; flex-wrap: wrap; gap: 12px; }
.approval {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 132px; padding: 12px 18px; border-radius: 12px;
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.04);
}
.approval b { color: #fff; font-size: 1.15rem; letter-spacing: .02em; }
.approval small { color: rgba(255,255,255,.6); font-size: .8rem; }

/* ---------- Logo panel ---------- */
.logo-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.logo-panel img { margin: 0 auto; }

/* ---------- News ---------- */
.news-card { display: flex; flex-direction: column; gap: 14px; }
.news-card .badge { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: #fdeceb; color: var(--brand-ink); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.45; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background: var(--navy) url("../images/hero.jpg") center / cover no-repeat;
  padding: clamp(36px, 4.5vw, 60px) 0 clamp(32px, 4vw, 52px);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,18,31,.97) 20%, rgba(9,18,31,.82) 60%, rgba(9,18,31,.6)); }
.page-hero h1 { color: #fff; margin: 0 0 10px; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-hero p { color: rgba(255,255,255,.78); max-width: 640px; margin: 0; font-size: 1.12rem; }
.crumbs { display: flex; gap: 10px; font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: 12px; flex-wrap: wrap; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* Sub navigation (About section) */
.subnav { background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 14px 16px; font-weight: 600; font-size: .94rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav a:hover { color: var(--navy); }
.subnav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--brand); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose p { color: #384252; }
.prose .lead { color: var(--muted); }

.quote {
  margin: 0; padding: 26px 30px; border-radius: var(--radius);
  background: var(--navy); color: rgba(255,255,255,.85); position: relative;
}
.quote::before { content: "\201C"; position: absolute; top: -8px; left: 24px; font-size: 6rem; line-height: 1; color: var(--brand); font-weight: 800; }
.quote p { font-size: 1.25rem; line-height: 1.55; color: #fff; font-weight: 600; margin: 18px 0 12px; letter-spacing: -0.01em; }
.quote cite { font-style: normal; font-size: .9rem; color: rgba(255,255,255,.6); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 26px 52px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); }
.timeline .when { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }
.timeline h3 { margin: 6px 0 8px; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- Person ---------- */
.person { display: flex; gap: 28px; align-items: flex-start; }
.avatar { flex: none; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.8rem; letter-spacing: -0.02em; box-shadow: inset 0 0 0 4px rgba(255,255,255,.08), 0 0 0 4px #fdeceb; }
.person .role { color: var(--brand-ink); font-weight: 700; font-size: .9rem; margin-bottom: 12px; }
@media (max-width: 560px) { .person { flex-direction: column; } }

/* ---------- Certifications ---------- */
.cert-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cert-card .cert-logo { height: 100px; display: grid; place-items: center; margin-bottom: 14px; }
.cert-card .cert-logo img { max-height: 110px; width: auto; }

/* ---------- Documents (knowledge bank) ---------- */
.doc-card { display: flex !important; gap: 20px; align-items: center; padding: 24px 26px; }
.doc-card .doc-ico { flex: none; width: 54px; height: 64px; border-radius: 8px; background: #fdeceb; color: var(--brand); display: grid; place-items: center; position: relative; }
.doc-card .doc-ico::after { content: "PDF"; position: absolute; bottom: 6px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.doc-card .doc-ico svg { width: 24px; height: 24px; margin-top: -10px; }
.doc-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.doc-card .meta { font-size: .86rem; color: var(--muted); }
.doc-card .go { margin-left: auto; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: all .2s; }
.doc-card .go svg { width: 18px; height: 18px; }
.doc-card:hover .go { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-of-type { padding-top: 0; }
.contact-item:last-of-type { border-bottom: 0; }
.contact-item .icon { margin: 0; width: 44px; height: 44px; flex: none; }
.contact-item .icon svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 2px 0 6px; font-weight: 700; }
.contact-item p, .contact-item address { margin: 0; font-style: normal; color: var(--text); line-height: 1.6; }
.contact-item a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-item a:hover { color: var(--brand); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #e9ecef; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field label .req { color: var(--brand); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid #d6d2c9; border-radius: 10px; background: #fcfbf9;
  font: 500 1rem/1.4 var(--font); color: var(--text); transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(13,26,43,.08); }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: #eaf5ee; color: #1d5b35; font-size: .95rem; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.is-error { background: #fdecea; color: #8a1c15; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.field.invalid input, .field.invalid textarea { border-color: var(--brand); background: #fff8f7; }
.btn[disabled] { opacity: .65; cursor: progress; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #13284a 100%);
  border-radius: 20px; padding: clamp(26px, 4vw, 44px); color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(226,51,43,.35), transparent 70%); }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: rgba(255,255,255,.75); margin: 0; max-width: 560px; }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #09121f; color: rgba(255,255,255,.66); font-size: .95rem; margin-top: 0; }
.site-footer.flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 52px; padding-bottom: 36px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 28px; } }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand-tag { color: rgba(255,255,255,.55); }
.site-footer address { font-style: normal; line-height: 1.75; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: .85rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 28px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.note-box { padding: 20px 24px; border-radius: 12px; background: #f1efe9; color: var(--muted); font-size: .95rem; }

/* Reveal on scroll (progressive: content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .nav, .cta-band, .map, .site-footer .footer-grid > :not(:first-child) { display: none !important; }
  .hero, .page-hero { background: none !important; color: #000; padding: 20px 0; }
  .hero::before, .page-hero::before { display: none; }
  .hero h1, .page-hero h1, .hero p, .page-hero p { color: #000; }
  body { background: #fff; }
}
.split.split-wide { grid-template-columns: 1fr 1.25fr; }
@media (max-width: 900px) { .split.split-wide { grid-template-columns: 1fr; } }

/* ---------- Compact layout on small screens ---------- */
@media (max-width: 620px) {
  :root { --fs-body: 1rem; }
  .card { padding: 22px; }
  .grid { gap: 14px; }
  .section-head { margin-bottom: 22px; }
  .lead { font-size: 1.05rem; }
  /* Products: two per row on phones */
  .grid.products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid .product-card .body { padding: 12px 12px 14px; }
  .products-grid .product-card .tag { font-size: .62rem; letter-spacing: .08em; margin-bottom: 4px; }
  .products-grid .product-card h3 { font-size: .86rem; }
  /* Values: two per row, icon beside heading */
  .grid.values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid .card { padding: 18px; }
  .values-grid .card p { font-size: .88rem; line-height: 1.55; }
  .values-grid .icon { width: 40px; height: 40px; margin-bottom: 10px; }
  .values-grid .icon svg { width: 20px; height: 20px; }
  .value-card .num { font-size: 3rem; right: 12px; top: 8px; }
  .stat { padding: 18px 16px; }
  .timeline li { padding-bottom: 20px; }
  .cta-band { gap: 20px; }
  .approval { min-width: 0; flex: 1 1 30%; padding: 10px 12px; }
}
@media (max-width: 620px) {
  .spec-table th, .spec-table td { padding: 10px 12px; font-size: .88rem; line-height: 1.4; }
  .spec-table .std { font-size: .76rem; padding: 3px 7px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .site-footer ul { gap: 6px; }
}

/* ---------- Client logo marquee ---------- */
.marquee {
  overflow: hidden; position: relative; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0 9px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.logo-tile {
  flex: none; display: grid; place-items: center;
  width: 190px; height: 104px; padding: 14px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.logo-tile img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain;
 }
.logo-tile:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }

/* Client grid (Clients page) */
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.client-card { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.client-card .logo-tile { width: 100%; height: 120px; }
.client-card .logo-tile img { max-height: 72px; }
.client-card span { font-size: .9rem; font-weight: 600; color: var(--navy); text-align: center; }

@media (max-width: 620px) {
  .logo-tile { width: 140px; height: 80px; padding: 10px 16px; }
  .logo-tile img { max-height: 50px; }
  .marquee-set { gap: 12px; padding: 0 6px; }
  .marquee-track { animation-duration: 30s; }
  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-card .logo-tile { height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; animation: none !important; justify-content: center; }
  .marquee-set { flex-wrap: wrap; justify-content: center; }
  .marquee-set[aria-hidden] { display: none; }
}
