/* =========================================================
   BOEN Rapid — single-accent design system
   One brand blue (from the logo) + neutrals only.
   ========================================================= */
:root {
  --blue: #26AAE0;                                   /* the logo blue — the only hue on the page */
  --tint: color-mix(in srgb, var(--blue) 7%, #fff);  /* same blue, mixed with white, for blended backgrounds */
  --tint-2: color-mix(in srgb, var(--blue) 14%, #fff);
  --navy: #051A5A;    /* dark blue from the logo: buttons, toggles, navbar */
  --navy-2: #0A2A7A;  /* hover */

  --ink: #0F1419;     /* headings, text on blue */
  --body: #4A525C;    /* paragraph text */
  --muted: #6B737D;   /* captions, meta */
  --line: #E3E7EB;    /* borders */
  --white: #FFFFFF;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 20, 25, .04), 0 8px 24px rgba(15, 20, 25, .06);
  --wrap: 1200px;
  --gutter: 24px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Blended section backgrounds ----------
   Each section starts with the colour the previous one ends with,
   so there are no hard edges between sections. */
.bg-w   { background: var(--white); }
.bg-t   { background: var(--white); }
.bg-w2t { background: var(--white); }
.bg-t2w { background: var(--white); }

section { padding: 64px 0; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--blue); }
h2 { font-size: clamp(30px, 3.4vw, 42px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
.lede { font-size: 17px; color: var(--body); max-width: 520px; }

/* Section header: heading and description sit on the same baseline */
.sec-head { margin-bottom: 40px; }
.sec-head .row {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 64px;
  align-items: center;                 /* description centred against label + heading */
}
.sec-head .row h2, .sec-head .row .lede { margin: 0; }
.sec-head .row .lede { justify-self: end; max-width: 500px; padding-top: 37px; }  /* centres it on the heading, not the label */
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .lede { margin: 16px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(5, 26, 90, .28); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow::after { content: none; }

/* ---------- Photos (natural colour, no overlays) ---------- */
.photo { position: relative; overflow: hidden; background: var(--tint-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

/* ---------- Navbar (sticky: stays visible while scrolling) ---------- */
.site-top { background: var(--white); }
.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--ink); }
.social a:hover { background: var(--tint-2); }
.social svg { width: 15px; height: 15px; }

.navbar { position: sticky; top: 0; z-index: 60; background: #F1F3F5; border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(15, 20, 25, .08); }  /* stays at the top while scrolling */
.navbar .wrap { position: static; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: stretch; gap: 4px; align-self: stretch; }
.nav-item { display: flex; align-items: center; }            /* full navbar height, so the hover never breaks */
.nav-item.small { position: relative; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; align-self: center;
  padding: 8px 14px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--navy);
}
.nav-link:hover, .nav-trigger:hover, .nav-item.open .nav-trigger { background: var(--white); }
.chev { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-item.open .chev { transform: rotate(180deg); }

/* Dropdown / mega menu: LS Manufacturing style
   full-width light-grey panel that slides down from the navbar */
.mega {
  position: absolute; z-index: 40; top: 100%; left: 0; right: 0;
  display: grid; grid-template-columns: 1fr 260px; gap: 32px;
  padding: 22px max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) 28px;
  background: #F9FAFB; border-top: 1px solid #D1D5DB; border-radius: 0 0 4px 4px;
  box-shadow: 0 10px 24px rgba(15, 20, 25, .10);
  transform: scaleY(0); transform-origin: top; opacity: 0; visibility: hidden;
  transition: transform .45s ease, opacity .3s ease, visibility .45s;
}
.mega.dropdown { left: 0; right: auto; min-width: 240px; padding: 14px 18px; display: block; }
.nav-item.open > .mega { transform: scaleY(1); opacity: 1; visibility: visible; }
@media (hover: hover) and (min-width: 961px) {
  .nav-item:hover > .nav-trigger { background: var(--white); }
  .nav-item:hover > .mega { transform: scaleY(1); opacity: 1; visibility: visible; }
  .nav-item:hover .chev { transform: rotate(180deg); }
}
.mega-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 28px; }
.mega-label { display: block; font-size: 15px; font-weight: 700; color: var(--ink); padding: 8px 0; margin-bottom: 6px; border-bottom: 1px solid #9CA3AF; }
.mega ul { display: grid; gap: 0; }
.mega ul.two-col { grid-template-columns: 1fr 1fr; column-gap: 20px; }
#m-ind .mega-cols { grid-template-columns: 1.7fr 1fr 1fr; }
@media (max-width: 960px) { #m-ind .mega-cols { grid-template-columns: 1fr; } }
.mega a:not(.btn):not(.link-arrow) { display: block; padding: 5px 4px; font-size: 14.5px; font-weight: 400; color: var(--ink); transition: color .2s ease; }
.mega a:not(.btn):not(.link-arrow):hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.mega-promo { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mega-promo .mega-label { margin: 0; align-self: stretch; }
.mega-promo p:not(.mega-label) { font-size: 14px; line-height: 1.55; }
[id^="svc-"], [id^="ind-"], section[id] { scroll-margin-top: 96px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 56px; background: linear-gradient(180deg, rgba(255,255,255,0) 70%, #FFFFFF 100%), linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 32%, #EEF0F3 62%, #DCDFE4 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); letter-spacing: -0.03em; margin-bottom: 20px; }
.hero .intro { font-size: 18px; max-width: 540px; margin-bottom: 28px; }
.checks { display: grid; gap: 12px; margin-bottom: 36px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--blue); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero .note { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero .note svg { width: 16px; height: 16px; }

.hero-visual { display: grid; gap: 16px; }
.hero-blend { position: relative; isolation: isolate; }
.hero-blend img {
  width: 100%; height: auto;
  /* image is pre-processed: greyscale, backdrop lifted to white */
  mix-blend-mode: multiply;                              /* backdrop takes on the hero's background */
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
}

/* ---------- Stats + client strip ---------- */
.proof { padding: 0 0 40px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.stat .num { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; transition: color .25s ease; }
.stat .num::after { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--blue); margin: 12px 0 10px; transition: background .25s ease; }
.stat .label { font-size: 14.5px; color: var(--muted); transition: color .25s ease; }
.stat:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(5, 26, 90, .25); }
.stat:hover .num, .stat:hover .label { color: var(--white); }
.stat:hover .num::after { background: var(--white); }
.clients { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: 48px; }
.clients p { font-size: 14px; font-weight: 600; color: var(--muted); }
.clients ul { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; }
.clients li { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: #9AA1A9; }

/* ---------- Cards (capabilities) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card:hover .photo img { transform: scale(1.04); }
.card .photo { aspect-ratio: 16 / 10; }
.card .body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card .body p { font-size: 15px; }
.mini-list { display: grid; gap: 6px; margin-top: 4px; }
.mini-list li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink); font-weight: 500; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.also { margin-top: 32px; text-align: center; font-size: 15px; }
.also strong { color: var(--ink); }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.industry:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.industry .photo { aspect-ratio: 16 / 10; }
.industry .txt { padding: 20px 24px 24px; }
.industry h3 { margin-bottom: 6px; }
.industry p { font-size: 14.5px; line-height: 1.55; }
.industry:hover .photo img { transform: scale(1.04); }

/* ---------- Split blocks (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .photo { aspect-ratio: 5 / 4; background: none; }
.split .photo.blend img {
  /* soft fade on all four edges so the photo melts into the section background */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
          mask-composite: intersect;
}
.split h2 { margin-bottom: 20px; }
.split .lede { margin-bottom: 28px; max-width: none; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-bottom: 36px; }
.point { display: flex; gap: 14px; }
.point .ico { flex: none; width: 44px; height: 44px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.point .ico svg { width: 20px; height: 20px; }
.point h4 { font-size: 16px; margin-bottom: 4px; letter-spacing: -0.01em; }
.point p { font-size: 14.5px; line-height: 1.55; }
.about-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.about-photo-wrap { position: relative; padding: 0 0 16px 16px; }
.about-photo-wrap::before {   /* offset dark-blue frame behind the photo */
  content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 80%; border-radius: var(--radius); background: var(--navy);
}
.split .photo.about-photo {
  position: relative; aspect-ratio: 1600 / 698; border-radius: var(--radius); background: var(--white);
  box-shadow: 0 18px 40px rgba(15, 20, 25, .18);
}
.split .photo.about-photo img { object-position: center; filter: saturate(1.08) contrast(1.05); }
.stat-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split > * { min-width: 0; }
.stat-box { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stat-box .ico { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 6px; background: var(--navy); color: var(--white); display: grid; place-items: center; }
.stat-box .ico svg { width: 22px; height: 22px; }
.stat-box strong { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; }
.stat-box span:not(.ico) { font-size: 13.5px; color: var(--muted); line-height: 1.35; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.step .n { position: absolute; top: 24px; right: 28px; font-size: 44px; font-weight: 800; line-height: 1; color: var(--navy); opacity: .12; letter-spacing: -0.04em; }
.step .ico { width: 56px; height: 56px; border-radius: 8px; background: var(--blue); color: var(--ink); display: grid; place-items: center; margin-bottom: 24px; }
.step .ico svg { width: 26px; height: 26px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15px; }
.cta-bar {
  margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: var(--radius); background: var(--white); border: 1px dashed color-mix(in srgb, var(--blue) 60%, var(--line));
}
.cta-bar .t { display: flex; align-items: center; gap: 16px; }
.cta-bar .t svg { width: 28px; height: 28px; color: var(--blue); flex: none; }
.cta-bar strong { color: var(--ink); display: block; }
.cta-bar span { font-size: 14.5px; }
.file-name { font-size: 13.5px; color: var(--ink); font-weight: 600; }

/* ---------- Tabs (end-to-end) ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; width: fit-content; margin-bottom: 40px; }
.tab { border: 0; background: transparent; cursor: pointer; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--body); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel[hidden] { display: none; }
.panel .photo { border-radius: var(--radius); aspect-ratio: 16 / 11; }
.panel .stage { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.panel h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 16px; }
.panel > div > p { margin-bottom: 24px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 32px; }
.check-grid li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); font-size: 15px; }
.check-grid svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* ---------- Quality ---------- */
.quality { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.quality .photo { border-radius: var(--radius); min-height: 420px; }
.q-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.q-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.q-item .ico { width: 44px; height: 44px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); margin-bottom: 18px; }
.q-item .ico svg { width: 22px; height: 22px; }
.q-item h3 { font-size: 17px; margin-bottom: 8px; }
.q-item p { font-size: 14.5px; line-height: 1.6; }

/* ---------- Parts showcase (bento) ---------- */
.parts { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 20px; }
.part { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.part.big { grid-column: span 2; grid-row: span 2; }
.part.wide { grid-column: span 2; }
.part .img { position: relative; flex: 1; min-height: 0; background: var(--white); }
.part .img img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; filter: drop-shadow(0 14px 18px rgba(15, 20, 25, .15)); transition: transform .4s ease; }
.part:hover .img img { transform: scale(1.04) rotate(-1deg); }
.part .photo { flex: 1; min-height: 0; }
.part .meta { padding: 14px 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--white); }
.part .meta h3 { font-size: 15px; }
.part .tag { font-size: 12px; font-weight: 700; color: var(--white); background: var(--navy); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.quote .stars { display: flex; gap: 3px; color: var(--blue); }
.quote .stars svg { width: 18px; height: 18px; }
.quote blockquote { margin: 0; font-size: 16.5px; color: var(--ink); line-height: 1.6; font-weight: 500; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--tint-2); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.quote footer strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.quote footer span { font-size: 13.5px; color: var(--muted); }

/* ---------- Resources ---------- */
.post .photo { aspect-ratio: 16 / 10; }
.post .cat { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.post h3 { font-size: 18px; line-height: 1.35; }
.post .read { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-wrap .lede { margin: 16px 0 28px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq details[open] { border-color: var(--navy); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; color: var(--ink); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s ease; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--navy); color: var(--white); }
.faq details p { padding: 0 24px 22px; font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.contact h2 { margin-bottom: 16px; }
.contact .lede { margin-bottom: 32px; }
.c-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.c-card .ico { width: 44px; height: 44px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); flex: none; }
.c-card .ico svg { width: 20px; height: 20px; }
.c-card small { display: block; font-size: 13px; color: var(--muted); }
.c-card strong { color: var(--ink); font-size: 15.5px; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  padding: 12px 14px; font-size: 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.drop { display: flex; align-items: center; gap: 14px; border: 1.5px dashed var(--line); border-radius: 10px; padding: 16px; cursor: pointer; font-size: 14.5px; }
.drop:hover { border-color: var(--blue); }
.drop svg { width: 24px; height: 24px; color: var(--blue); flex: none; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .submit { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form .submit small { color: var(--muted); font-size: 13px; }
.form-msg { grid-column: 1 / -1; font-weight: 600; color: var(--ink); background: var(--tint); border-radius: 10px; padding: 12px 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--white); padding: 72px 0 32px; border-top: 1px solid var(--line); }
.f-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; }
.f-brand img { height: 30px; width: auto; margin-bottom: 18px; }
.f-brand p { font-size: 14.5px; margin-bottom: 18px; max-width: 320px; }
.f-brand .c { display: grid; gap: 6px; font-size: 14.5px; color: var(--ink); font-weight: 600; margin-bottom: 18px; }
.f-col h4 { font-size: 15px; margin-bottom: 16px; }
.f-col ul { display: grid; gap: 10px; }
.f-col a { font-size: 14.5px; }
.f-col a:hover { color: var(--ink); }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }
.f-bottom nav { display: flex; gap: 20px; }
.f-bottom a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 0; }
  .nav-link, .nav-trigger { padding: 8px 10px; font-size: 14.5px; }
  .mega { grid-template-columns: 1fr; }
  .mega-promo { display: none; }
  .parts { grid-template-columns: repeat(2, 1fr); }
  .f-top { grid-template-columns: repeat(3, 1fr); }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  section { padding: 52px 0; }
  .nav-toggle { display: grid; }
  .nav-links {
    display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); z-index: 20;
    flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; max-height: calc(100vh - 140px); overflow-y: auto; }
  .nav-item { display: block; }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 12px 14px; border-radius: 10px; color: var(--ink); }
  .nav-link:hover, .nav-trigger:hover, .nav-item.open .nav-trigger { background: var(--tint); }
  .mega, .mega.dropdown { position: static; display: none; box-shadow: none; border: 0; padding: 4px 14px 12px; min-width: 0; background: transparent; transform: none; opacity: 1; visibility: visible; transition: none; }
  .nav-item.open > .mega { display: block; }
  .mega-cols { grid-template-columns: 1fr; gap: 14px; }
  .mega-promo { display: none; }
  .site-top { position: relative; }
  .hero .wrap, .split, .panel, .quality, .faq-wrap, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 620px; width: 100%; }
  .hero-blend img { width: 100%; margin-left: 0; }
  .sec-head .row { grid-template-columns: 1fr; gap: 16px; }
  .sec-head .row .lede { justify-self: start; margin-top: 0; padding-top: 0; }
  .grid-3, .industries, .quotes, .steps, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .quality .photo { min-height: 300px; }
  .split .photo { order: -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  section { padding: 44px 0; }
  .nav-cta .btn { display: none; }
  .navbar .wrap { height: 68px; }
  .hero { padding: 32px 0 64px; }
  .grid-3, .grid-4, .industries, .quotes, .steps, .q-list, .points, .check-grid, .parts { grid-template-columns: 1fr; }
  .parts { grid-auto-rows: 240px; }
  .part.big, .part.wide { grid-column: auto; grid-row: auto; }
  .part.big { grid-row: span 1; }
  .stat { padding: 22px 18px; }
  .stat .num { font-size: 26px; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .tabs { border-radius: var(--radius); width: 100%; }
  .tab { flex: 1 1 auto; text-align: center; }
  .f-top { grid-template-columns: 1fr 1fr; }
    }

/* ---------- Facilities ---------- */
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fac { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.fac:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.fac .photo { aspect-ratio: 16 / 10; }
.fac:hover .photo img { transform: scale(1.04); }
.fac-body { padding: 20px 22px 24px; }
.fac h3 { font-size: 18px; margin-bottom: 8px; }
.fac p { font-size: 14.5px; line-height: 1.6; }

/* ---------- 4-step process ---------- */
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-4 .step { padding: 28px 24px; }
.steps-4 .step h3 { font-size: 18px; }

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cert .seal { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--navy); background: var(--white); display: grid; place-items: center; color: var(--ink); }
.cert .seal svg { width: 24px; height: 24px; }
.cert small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cert h3 { font-size: 19px; margin-bottom: 6px; }
.cert p { font-size: 14px; line-height: 1.55; }

/* ---------- Case studies ---------- */
.case .photo { aspect-ratio: 16 / 10; }
.case .cat { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.case h3 { font-size: 18px; line-height: 1.35; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 0 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.case-stats strong { display: block; color: var(--ink); font-size: 17px; font-weight: 800; }
.case-stats span { font-size: 13px; color: var(--muted); }

/* ---------- More services row ---------- */
.more-svc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.more-svc span { font-weight: 700; color: var(--ink); font-size: 14.5px; margin-right: 4px; }
.more-svc a { font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.more-svc a:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ---------- Products carousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .card { scroll-snap-align: start; }
.prod .photo { aspect-ratio: 4 / 3; }
.prod h3 { font-size: 18px; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.c-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.c-btn svg { width: 20px; height: 20px; }
.c-btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: var(--white); }
.c-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Industries: 10 cards ---------- */
.industries.ind-10 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ind-10 .industry .photo { aspect-ratio: 4 / 3; }
.ind-10 .industry .txt { padding: 16px 16px 18px; }
.ind-10 .industry h3 { font-size: 16px; }
.ind-10 .industry p { font-size: 13.5px; line-height: 1.5; }

/* ---------- Technological advantages ---------- */
.adv-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.adv-wrap .sec-head { margin-bottom: 28px; }
.adv summary { justify-content: flex-start; }
.adv summary .pm { margin-left: auto; }
.adv-n { font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .04em; min-width: 26px; }
.adv details p { padding-left: 66px; }
.adv-photo { aspect-ratio: 3 / 2; background: none; }
.adv-photo img {           /* natural colours, edges faded into the section like the About image */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-composite: intersect;
}

/* ---------- News list ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-item h3 { font-size: 16.5px; }
.news-item { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; border-radius: var(--radius); padding: 0; }
.news-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-item:hover .photo img { transform: scale(1.04); }
.news-item .photo { aspect-ratio: 16 / 9; }
.news-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 24px 24px; flex: 1; }
.news-item time { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.news-item h3 { font-size: 18px; line-height: 1.4; }
.news-item .link-arrow { margin-top: auto; }
#resources .tabs { margin-bottom: 28px; }

/* ---------- Top bar phone ---------- */

/* ---------- Floating contact bar ---------- */
.float-bar {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 50;
  display: flex; flex-direction: column; gap: 4px; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(15, 20, 25, .12);
}
.float-bar a { position: relative; width: 44px; height: 44px; border-radius: 6px; display: grid; place-items: center; color: var(--ink); }
.float-bar a:hover { background: var(--navy); color: var(--white); }
.float-bar svg { width: 20px; height: 20px; }
.float-bar span {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--ink); color: var(--white); font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.float-bar a:hover span, .float-bar a:focus-visible span { opacity: 1; }

@media (max-width: 1080px) {
  .industries.ind-10 { grid-template-columns: repeat(3, 1fr); }
  .carousel-track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 960px) {
  .adv-wrap { grid-template-columns: 1fr; gap: 32px; }
  .adv-photo { aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) {
  .industries.ind-10 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ind-10 .industry p { display: none; }
  .carousel-track { grid-auto-columns: 85%; gap: 16px; }
  .news-grid { grid-template-columns: 1fr; }
  .adv details p { padding-left: 24px; }
  /* floating bar becomes a bottom dock on phones */
  .float-bar { top: auto; bottom: 12px; right: 50%; transform: translateX(50%); flex-direction: row; }
  .float-bar span { display: none; }
  .footer { padding-bottom: 96px; }
}

/* ---------- Hero facts as boxes (no check icons) ---------- */
.checks { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.checks li {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy);
  border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.4;
}
.checks li strong { color: var(--navy); font-size: 15px; font-weight: 800; }

/* ---------- Solutions checklist as boxes ---------- */
.check-grid { gap: 10px; }
.check-grid li {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--navy);
  border-radius: 8px; padding: 10px 14px; font-size: 14.5px;
}

/* ---------- Additional services as boxes ---------- */
.svc-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.svc-box {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy);
  border-radius: var(--radius); padding: 24px; transition: box-shadow .2s ease, transform .2s ease;
}
.svc-box:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-box h3 { font-size: 18px; }
.svc-box p { font-size: 15px; }
.svc-box .link-arrow { margin-top: auto; padding-top: 6px; }

/* ---------- Icon tiles in logo dark blue ---------- */
.step .ico { background: var(--navy); color: var(--white); }
.cta-bar .t svg { color: var(--navy); }

@media (max-width: 1080px) {
  .steps.steps-4, .cert-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .svc-boxes { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .fac-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .checks { grid-template-columns: 1fr; }
  .svc-boxes { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .fac-grid, .cert-grid, .steps.steps-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-box { grid-template-columns: 1fr; padding: 16px; }
  .stat-box .ico { grid-row: auto; width: 40px; height: 40px; margin-bottom: 10px; }
  .stat-box strong { font-size: 22px; }
}

/* ---------- Services carousel (same as products) ---------- */
#capabilities .carousel-track > .card .photo { aspect-ratio: 16 / 10; }

/* ---------- Solutions: RapidDirect-style timeline tabs ---------- */
.solutions { position: relative; overflow: hidden; background: #F7F8FA; }
.solutions::before {          /* faint diagonal shapes, like the reference */
  content: ""; position: absolute; right: -140px; top: 120px; width: 520px; height: 520px; transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(5, 26, 90, .05), rgba(5, 26, 90, 0)); border-radius: 8px; pointer-events: none;
}
.solutions .wrap { position: relative; }
.stage-tabs {
  position: relative; display: flex; justify-content: center; gap: 24px; margin: 8px 0 44px;
}
.stage-tabs::before {         /* timeline line through the step circles */
  content: ""; position: absolute; left: 0; right: 0; top: 32px; height: 1px; background: #D5D9DF;
}
.stage-tab {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 150px;
  border: 0; background: none; cursor: pointer; padding: 0; font: inherit;
}
.stage-dot {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #ECEEF1; color: var(--muted); border: 4px solid #F7F8FA; box-shadow: 0 0 0 1px #D5D9DF;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.stage-dot svg { width: 24px; height: 24px; }
.stage-name { font-size: 14.5px; font-weight: 500; color: var(--body); line-height: 1.35; text-align: center; }
.stage-tab:hover .stage-dot { color: var(--navy); }
.stage-tab[aria-selected="true"] .stage-dot { background: var(--white); color: var(--navy); box-shadow: 0 0 0 2px var(--navy), 0 8px 18px rgba(5, 26, 90, .15); }
.stage-tab[aria-selected="true"] .stage-name { font-weight: 700; color: var(--ink); }
.stage-panel[hidden] { display: none; }
.stage-title { font-size: clamp(22px, 2.2vw, 26px); color: var(--navy); margin-bottom: 8px; }
.stage-intro { margin-bottom: 28px; }
.stage-body { display: grid; grid-template-columns: 380px 1fr; gap: 44px; align-items: start; }
.stage-body .photo { border-radius: var(--radius); aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
.stage-list { display: grid; gap: 18px; margin-bottom: 28px; }
.stage-list li { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--navy); }
.stage-list strong { color: var(--ink); font-size: 16px; }
.stage-list span { font-size: 15px; color: var(--body); }
.stage-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
  .stage-body { grid-template-columns: 1fr; gap: 28px; }
  .stage-body .photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .stage-tabs { gap: 4px; justify-content: space-between; }
  .stage-tab { width: auto; flex: 1; }
  .stage-dot { width: 48px; height: 48px; }
  .stage-dot svg { width: 20px; height: 20px; }
  .stage-tabs::before { top: 24px; }
  .stage-name { font-size: 12.5px; }
}

/* =========================================================
   RapidDirect design format (layout, type and components),
   BOEN content and colours
   ========================================================= */
body { background: #FAFAFA; color: #3A3F45; }
h1, h2, h3, h4 { letter-spacing: -0.015em; }
h2 { font-weight: 600; font-size: clamp(28px, 2.6vw, 36px); }
section { padding: 80px 0; }
main > section:nth-of-type(even):not(.solutions) { background: #F4F4F5; }
main > section:nth-of-type(odd):not(.solutions):not(.proof) { background: #FAFAFA; }

/* section headings: centred, no labels (RapidDirect has no eyebrows) */
main .eyebrow { display: none; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .row { display: block; }
.sec-head .row .lede { max-width: 820px; margin: 14px auto 0; padding-top: 0; justify-self: auto; font-size: 16px; }
/* the services intro keeps RapidDirect's split heading / paragraph */
#capabilities .sec-head { text-align: left; }
#capabilities .sec-head .row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
#capabilities .sec-head .row .lede { margin: 0; max-width: none; }

/* buttons: squared corners, solid fills */
.btn { border-radius: 4px; height: 48px; padding: 0 28px; font-weight: 500; font-size: 16px; }
.btn-sm { height: 44px; padding: 0 22px; font-size: 15px; }
.btn-primary:hover { transform: none; box-shadow: none; background: var(--navy-2); }
.btn-ghost { border-width: 1px; }

/* hero: uppercase kicker, large title, stat boxes overlapping the hero edge */
.hero { padding: 56px 0 120px; }
.hero .eyebrow { display: block; font-size: 14px; letter-spacing: .02em; color: var(--ink); margin-bottom: 18px; }
.hero .eyebrow::before { display: none; }
.hero h1 { font-weight: 600; font-size: clamp(38px, 4.2vw, 52px); }
.proof { position: relative; z-index: 2; margin-top: -84px; padding: 0 0 72px; background: transparent !important; }
.stats { grid-template-columns: repeat(4, 1fr); gap: 36px; }
.stat { text-align: center; border: 1px solid #8E949B; border-radius: 8px; padding: 26px 16px; box-shadow: none; }
.stat .num { font-size: 34px; font-weight: 600; }
.stat .num::after { display: none; }
.stat .label { margin-top: 8px; color: var(--ink); font-weight: 600; font-size: 14px; }

/* cards: rounded, grey-outlined, product shot on a light-grey panel */
.card, .industry, .fac {
  border: 1px solid #9AA0A6; border-radius: 8px; background: #FFFFFF; box-shadow: none;
}
.card:hover, .industry:hover, .fac:hover { box-shadow: 0 10px 24px rgba(15, 20, 25, .08); transform: none; }
.card .photo, .industry .photo { background: #F0F1F2; }
.card .body { padding: 22px 18px 24px; gap: 10px; }
.card h3, .industry h3 { font-size: 19px; font-weight: 500; }
.card .body p, .industry p { font-size: 14px; color: #3A3F45; }
.mini-list li { font-size: 13.5px; font-weight: 400; }

/* facilities: photo tiles with a dark caption bar */
.fac-grid { gap: 0; }
.fac { position: relative; border: 0; border-radius: 0; }
.fac .photo { aspect-ratio: 4 / 5; }
.fac-body { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 12px 16px; background: rgba(5, 26, 90, .92); }
.fac h3 { color: #FFFFFF; font-size: 15px; font-weight: 500; margin: 0; }
.fac p { display: none; }
.fac:hover p { display: block; color: rgba(255, 255, 255, .85); font-size: 13px; margin-top: 6px; }

/* process: flat grey boxes, icon in a white circle, no numbers */
.steps .step { background: #EBEBEC; border: 0; border-radius: 4px; padding: 30px 28px 34px; }
.step .n { display: none; }
.step .ico { width: 48px; height: 48px; border-radius: 50%; background: #FFFFFF; color: var(--navy); margin-bottom: 18px; }
.step h3 { font-weight: 600; font-size: 19px; }

/* quality: coloured sub-headings, plain text blocks, offset block behind the photo */
.q-list { grid-template-columns: 1fr; gap: 26px; }
.q-item { background: none; border: 0; padding: 0; }
.q-item .ico { display: none; }
.q-item h3 { color: var(--navy); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.quality { grid-template-columns: 1fr 1fr; }
.quality > .photo { order: 2; overflow: visible; background: none; min-height: 360px; }
.quality > .photo img { position: relative; z-index: 1; border-radius: 4px; }
.quality > .photo::after { content: ""; position: absolute; left: 4%; right: -4%; bottom: -14px; height: 40%; background: var(--navy); border-radius: 4px; z-index: 0; }

/* resources: borderless grey cards */
.news-item { border: 0; border-radius: 0; background: #EEEFF0; }
.news-item:hover { transform: none; }
.news-item h3 { font-size: 18px; font-weight: 600; }
.news-item time { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink); order: 3; }
.news-body .link-arrow { display: none; }

@media (max-width: 960px) {
  #capabilities .sec-head .row { grid-template-columns: 1fr; gap: 14px; }
  .stats { gap: 16px; }
  .fac .photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .proof { margin-top: -60px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat .num { font-size: 26px; }
  .quality > .photo { order: 0; }
}
.adv-wrap .sec-head { text-align: left; }
#resources .tabs { margin-left: auto; margin-right: auto; }

/* ---------- Facilities: separate rounded boxes ---------- */
.fac-grid { gap: 20px; }
.fac { border: 1px solid #9AA0A6; border-radius: 8px; overflow: hidden; background: #FFFFFF; }
.fac .photo { aspect-ratio: 4 / 3; }
.fac-body { position: static; background: #FFFFFF; padding: 16px 18px 20px; }
.fac h3 { color: var(--ink); font-size: 17px; font-weight: 600; }
.fac p, .fac:hover p { display: block; color: var(--body); font-size: 14px; margin-top: 6px; }
.fac:hover { box-shadow: 0 10px 24px rgba(15, 20, 25, .08); }
.fac:hover .photo img { transform: scale(1.04); }

/* ---------- About photo: clean crop, thin offset outline ---------- */
.about-photo-wrap { padding: 0 14px 14px 0; }
.about-photo-wrap::before {
  left: 14px; top: 14px; right: 0; bottom: 0; width: auto; height: auto;
  background: none; border: 2px solid var(--navy); border-radius: 8px;
}
.split .photo.about-photo { aspect-ratio: 1536 / 572; border-radius: 8px; box-shadow: 0 14px 34px rgba(15, 20, 25, .14); }
.split .photo.about-photo img { filter: none; object-position: center; }

/* ---------- Icons swap colours on hover ---------- */
.point .ico, .c-card .ico, .cert .seal, .stat-box .ico, .step .ico, .stage-dot, .faq summary .pm,
.c-btn, .social a, .float-bar a, .q-item .ico { transition: background .2s ease, color .2s ease, border-color .2s ease; }
/* light tiles turn dark blue with a white icon */
.point:hover .ico, .c-card:hover .ico, .cert:hover .seal, .step:hover .ico,
.stage-tab:hover .stage-dot, .faq summary:hover .pm, .social a:hover {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
/* dark tiles turn white with a dark-blue icon */
.stat-box:hover .ico { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.cta-bar:hover .t svg, .link-arrow:hover svg { color: var(--blue); }
.btn:hover svg { color: inherit; }

/* =========================================================
   CNC Machining page (RapidDirect-style service page)
   ========================================================= */
.cnc-page .sec-head h2 { margin: 0; }
.cnc-sec { padding: 80px 0; background: #FAFAFA; }
.cnc-alt { background: #F4F4F5; }
.cnc-hero { padding: 48px 0 72px; background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 40%, #EEF0F3 70%, #DCDFE4 100%); }
.cnc-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.cnc-hero h1 { font-weight: 600; font-size: clamp(36px, 4vw, 50px); margin-bottom: 18px; }
.cnc-hero .intro { font-size: 17px; margin-bottom: 26px; }
.cnc-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.cnc-note { font-size: 14px; color: var(--muted); }
.cnc-hero-img { border-radius: 8px; aspect-ratio: 4 / 3; box-shadow: 0 18px 40px rgba(15, 20, 25, .14); }

.cnc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cnc-svc { display: grid; grid-template-columns: 1fr 1fr; background: #FFF; border: 1px solid #9AA0A6; border-radius: 8px; overflow: hidden; }
.cnc-svc .photo { min-height: 240px; }
.cnc-svc-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.cnc-svc h3 { font-size: 20px; font-weight: 600; }
.cnc-svc .link-arrow { margin-top: auto; }

.cnc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; text-align: center; }
.cnc-stats strong { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; color: var(--navy); }
.cnc-stats span { font-size: 14.5px; color: var(--ink); }
.cnc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cnc-gallery figure { margin: 0; position: relative; }
.cnc-gallery .photo { aspect-ratio: 4 / 3; border-radius: 4px; }
.cnc-gallery figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 10px 14px; background: rgba(5, 26, 90, .92); color: #FFF; font-size: 14.5px; font-weight: 500; }

.cnc-tabs { margin: 0 auto 28px; }
.cnc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.cnc-chips li { padding: 12px 20px; background: #FFF; border: 1px solid #9AA0A6; border-radius: 4px; font-weight: 500; color: var(--ink); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.cnc-chips li:hover { background: var(--navy); border-color: var(--navy); color: #FFF; }

.cnc-finishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cnc-finishes article { background: #FFF; border: 1px solid #9AA0A6; border-top: 4px solid var(--navy); border-radius: 4px 4px 16px 16px; padding: 24px; }
.cnc-finishes h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.cnc-finishes p { font-size: 14.5px; }

.cnc-inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cnc-ind { display: flex; align-items: center; gap: 16px; background: #FFF; border: 1px solid #9AA0A6; border-radius: 6px; overflow: hidden; transition: background .2s ease, color .2s ease; }
.cnc-ind .photo { width: 110px; flex: none; aspect-ratio: 4 / 3; }
.cnc-ind span { font-weight: 600; color: var(--ink); }
.cnc-ind:hover { background: var(--navy); }
.cnc-ind:hover span { color: #FFF; }

.cnc-table-wrap { overflow-x: auto; border: 1px solid #9AA0A6; border-radius: 6px; background: #FFF; }
.cnc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cnc-table th, .cnc-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cnc-table thead th { background: var(--navy); color: #FFF; font-weight: 600; }
.cnc-table tbody th { width: 30%; color: var(--ink); font-weight: 600; }
.cnc-table tbody tr:last-child th, .cnc-table tbody tr:last-child td { border-bottom: 0; }
.cnc-table tbody tr:nth-child(even) { background: #F7F8FA; }
.cnc-center { text-align: center; margin-top: 28px; }

.cnc-quality { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cnc-quality .photo { border-radius: 4px; aspect-ratio: 5 / 4; overflow: visible; background: none; position: relative; }
.cnc-quality .photo img { position: relative; z-index: 1; border-radius: 4px; }
.cnc-quality .photo::after { content: ""; position: absolute; left: -14px; right: 14%; bottom: -14px; height: 40%; background: var(--navy); border-radius: 4px; }
.cnc-quality h2 { margin-bottom: 28px; }
.cnc-q { margin-bottom: 22px; }
.cnc-q h3 { color: var(--navy); font-size: 16px; font-weight: 700; margin-bottom: 6px; }

.cnc-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cnc-why > div { background: #EBEBEC; border-radius: 4px; padding: 30px 28px; }
.cnc-why span { display: block; font-size: 36px; font-weight: 700; color: var(--navy); opacity: .2; margin-bottom: 8px; }
.cnc-why h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }

.cnc-sol { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: #FFF; border: 1px solid #9AA0A6; border-radius: 8px; transition: background .2s ease, color .2s ease; }
.cnc-sol .lbl { font-size: 20px; font-weight: 600; color: var(--ink); }
.cnc-sol:hover { background: var(--navy); }
.cnc-sol:hover .lbl, .cnc-sol:hover p, .cnc-sol:hover .link-arrow { color: #FFF; }

.cnc-cta { padding: 72px 0; background: var(--navy); text-align: center; }
.cnc-cta h2 { color: #FFF; margin-bottom: 10px; }
.cnc-cta p { color: rgba(255, 255, 255, .85); margin-bottom: 24px; }

@media (max-width: 960px) {
  .cnc-hero-grid, .cnc-two, .cnc-quality { grid-template-columns: 1fr; }
  .cnc-finishes { grid-template-columns: 1fr 1fr; }
  .cnc-inds { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cnc-svc { grid-template-columns: 1fr; }
  .cnc-stats, .cnc-gallery, .cnc-why, .cnc-finishes, .cnc-inds { grid-template-columns: 1fr; }
  .cnc-sec { padding: 56px 0; }
}
.cnc-page .sec-head .lede { max-width: 820px; margin: 14px auto 0; }
main.cnc-page > section.cnc-cta { background: var(--navy) !important; }
main.cnc-page > section.cnc-hero { background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 40%, #EEF0F3 70%, #DCDFE4 100%); }

/* ---------- CNC page: material image cards ---------- */
.mat-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
#mp1 .mat-cards { grid-template-columns: repeat(4, 1fr); }
.mat-card { margin: 0; background: #FFF; border: 1px solid #9AA0A6; border-radius: 6px; overflow: hidden; transition: box-shadow .2s ease; }
.mat-card .photo { aspect-ratio: 4 / 3; }
.mat-card figcaption { padding: 12px 14px; font-weight: 600; font-size: 15px; color: var(--ink); text-align: center; transition: background .2s ease, color .2s ease; }
.mat-card:hover { box-shadow: 0 10px 24px rgba(15, 20, 25, .08); }
.mat-card:hover .photo img { transform: scale(1.05); }
.mat-card:hover figcaption { background: var(--navy); color: #FFF; }
@media (max-width: 960px) { .mat-cards, #mp1 .mat-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .mat-cards, #mp1 .mat-cards { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ---------- CNC page: BOEN content blocks ---------- */
.mat-card figcaption strong { display: block; }
.mat-card figcaption span { display: block; font-weight: 400; font-size: 13px; line-height: 1.45; color: var(--body); margin-top: 4px; transition: color .2s ease; }
.mat-card:hover figcaption span { color: rgba(255, 255, 255, .85); }
.cnc-adv { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.cnc-adv h2 { margin-bottom: 26px; }
.cnc-adv .photo { aspect-ratio: 5 / 4; border-radius: 8px; }
.cnc-arts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cnc-art { background: #EEEFF0; display: flex; flex-direction: column; }
.cnc-art .photo { aspect-ratio: 16 / 10; }
.cnc-art-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cnc-art h3 { font-size: 16.5px; font-weight: 600; line-height: 1.4; }
.cnc-art p { font-size: 14px; }
.cnc-art .link-arrow { margin-top: auto; }
.cnc-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) {
  .cnc-adv { grid-template-columns: 1fr; }
  .cnc-arts { grid-template-columns: 1fr 1fr; }
  .cnc-prods { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cnc-arts, .cnc-prods { grid-template-columns: 1fr; }
}

/* ---------- CNC page: finish cards with images ---------- */
.cnc-finishes article { padding: 0 0 22px; overflow: hidden; border-top-width: 1px; border-radius: 8px; transition: box-shadow .2s ease; }
.cnc-finishes .photo { aspect-ratio: 4 / 3; margin-bottom: 18px; border-bottom: 4px solid var(--navy); }
.cnc-finishes h3, .cnc-finishes p { padding: 0 22px; }
.cnc-finishes article:hover { box-shadow: 0 10px 24px rgba(15, 20, 25, .08); }
.cnc-finishes article:hover .photo img { transform: scale(1.05); }

/* ---------- CNC hero: image blended into the gradient ---------- */
.cnc-hero-img { box-shadow: none; border-radius: 0; background: none; aspect-ratio: 5 / 4; }
.cnc-hero-img img {
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}

/* ---------- CNC gallery: cards with caption below ---------- */
.cnc-gallery { gap: 24px; }
.cnc-gallery figure {
  background: #FFF; border: 1px solid #9AA0A6; border-radius: 8px; overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.cnc-gallery .photo { border-radius: 0; aspect-ratio: 16 / 11; }
.cnc-gallery figcaption {
  position: static; background: none; color: var(--ink); padding: 16px 20px;
  font-size: 17px; font-weight: 600; display: flex; align-items: center; justify-content: space-between;
  border-top: 3px solid var(--navy);
}
.cnc-gallery figcaption::after { content: "→"; color: var(--navy); font-weight: 700; transition: transform .2s ease; }
.cnc-gallery figure:hover { box-shadow: 0 12px 28px rgba(15, 20, 25, .10); transform: translateY(-3px); }
.cnc-gallery figure:hover .photo img { transform: scale(1.05); }
.cnc-gallery figure:hover figcaption { background: var(--navy); color: #FFF; }
.cnc-gallery figure:hover figcaption::after { color: #FFF; transform: translateX(4px); }

/* hover colour fills the whole lower part of the card, down to the border */
.mat-card, .cnc-gallery figure { display: flex; flex-direction: column; }
.mat-card .photo, .cnc-gallery .photo { flex: none; }
.mat-card figcaption { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cnc-gallery figcaption { flex: 1; }

/* ---------- CNC page: closing call-to-action card ---------- */
main.cnc-page > section.cnc-cta { background: #FAFAFA !important; padding: 80px 0; text-align: left; }
.cta-card {
  display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden;
  background: var(--navy); border-radius: 8px; box-shadow: 0 20px 44px rgba(5, 26, 90, .22);
}
.cta-copy { padding: 52px 52px 48px; }
.cta-copy h2 { color: #FFF; margin-bottom: 14px; }
.cta-copy > p { color: rgba(255, 255, 255, .82); font-size: 16.5px; margin-bottom: 28px; max-width: 520px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.btn-outline-light { background: transparent; color: #FFF; border: 1px solid rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #FFF; color: var(--navy); }
.cta-contact { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
.cta-contact a { display: inline-flex; align-items: center; gap: 10px; color: #FFF; font-size: 15px; font-weight: 500; }
.cta-contact svg { width: 18px; height: 18px; color: var(--blue); }
.cta-contact a:hover { color: var(--blue); }
.cta-photo { position: relative; min-height: 340px; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::before {          /* dark-blue fade from the text panel into the photo */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(5, 26, 90, .35) 35%, rgba(5, 26, 90, 0) 70%);
}
@media (max-width: 960px) {
  .cta-card { grid-template-columns: 1fr; }
  .cta-photo { min-height: 220px; order: -1; }
  .cta-photo::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(5, 26, 90, 0) 60%); }
}
@media (max-width: 640px) { .cta-copy { padding: 32px 24px; } }

/* Solutions: faded stroke around the stage photos */
.stage-body .photo {
  margin: 14px;
  box-shadow:
    0 0 0 1px rgba(5, 26, 90, .28),
    0 0 0 7px rgba(5, 26, 90, .07),
    0 0 0 14px rgba(5, 26, 90, .03),
    0 18px 36px rgba(15, 20, 25, .10);
}

/* ---------- CNC page: partners, guidelines, consult form, network ---------- */
main.cnc-page > section.cnc-partners { background: #FFFFFF; padding: 28px 0; border-bottom: 1px solid var(--line); }
.cnc-partners .wrap { display: flex; align-items: center; gap: 32px; }
.cnc-partners p { flex: none; font-size: 14px; color: var(--muted); max-width: 170px; line-height: 1.4; }
.cnc-partners ul { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.cnc-partners li { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: #9AA0A6; transition: color .2s ease; }
.cnc-partners li:hover { color: var(--navy); }
.cnc-table-3 tbody th { width: 22%; }
.cnc-table-3 td:last-child { color: var(--body); }
.cnc-consult { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; margin-top: 48px; }
.cnc-consult h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.cnc-consult-copy > p { margin-bottom: 20px; }
.cnc-consult-copy ul { display: grid; gap: 10px; }
.cnc-consult-copy li { padding-left: 14px; border-left: 3px solid var(--navy); font-weight: 600; color: var(--ink); }
.cnc-net-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.cnc-net-imgs .photo { aspect-ratio: 4 / 3; border-radius: 8px; }
@media (max-width: 960px) {
  .cnc-partners .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cnc-partners p { max-width: none; }
  .cnc-consult { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .cnc-net-imgs { grid-template-columns: 1fr; } }

/* CNC contact card: lighter blue */
.cta-card { background: linear-gradient(120deg, #1B4A9C 0%, #2668BD 100%); box-shadow: 0 20px 44px rgba(38, 104, 189, .25); }
.cta-photo::before { background: linear-gradient(90deg, #2464B8 0%, rgba(38, 104, 189, .35) 35%, rgba(38, 104, 189, 0) 70%); }
.cta-contact svg { color: #BFE6F7; }
.cta-contact a:hover { color: #BFE6F7; }
.cta-copy .btn-light { color: #1B4A9C; }
@media (max-width: 960px) { .cta-photo::before { background: linear-gradient(0deg, #1B4A9C 0%, rgba(27, 74, 156, 0) 60%); } }

/* CNC page: closing band (boenrapid.com style) */
main.cnc-page > section.cnc-cta {
  padding: 0; text-align: left;
  background: linear-gradient(rgba(44, 44, 46, .90), rgba(44, 44, 46, .90)), url("../images/fac-cnc.jpg") center / cover no-repeat !important;
}
.cta-band2 { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 180px; padding-top: 40px; padding-bottom: 40px; }
.cta-band2 h2 { color: #FFF; font-size: clamp(18px, 1.7vw, 23px); font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: .01em; margin: 0; }
.cta-btn2 { flex: none; background: var(--blue); color: #FFF; height: 56px; padding: 0 36px; font-size: 18px; font-weight: 500; border-radius: 4px; }
.cta-btn2:hover { background: #1E96C8; color: #FFF; }
@media (max-width: 640px) { .cta-band2 { flex-direction: column; align-items: flex-start; } }

/* CNC page: FAQ in two columns */
.faq.faq-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; align-items: start; }
.faq-col { display: grid; gap: 12px; }
@media (max-width: 960px) { .faq.faq-2col { grid-template-columns: 1fr; } }

/* ---------- CNC partners: logo strip ---------- */
.cnc-partners ul { gap: 18px 8px; flex: 1; justify-content: space-between; }
.cnc-partners li { width: 96px; }
.cnc-partners li img { width: 100%; height: auto; filter: grayscale(1); opacity: .65; transition: filter .25s ease, opacity .25s ease; }
.cnc-partners li:hover img { filter: none; opacity: 1; }

/* ---------- CNC consult: card with info panel + form ---------- */
.cnc-consult {
  grid-template-columns: 1fr 1.25fr; gap: 0; margin-top: 56px;
  background: #FFF; border: 1px solid #9AA0A6; border-radius: 8px; overflow: hidden; box-shadow: 0 16px 36px rgba(15, 20, 25, .08);
}
.cnc-consult-copy { padding: 44px 40px; background: linear-gradient(160deg, #EEF4FB 0%, #F8FAFC 100%); border-right: 1px solid var(--line); height: 100%; }
.consult-kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: #FFF; border: 1px solid #C9D3E3; border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }
.cnc-consult h3 { font-size: 26px; }
.consult-points { display: grid; gap: 14px; margin: 24px 0 28px; }
.consult-points li { display: flex; gap: 14px; align-items: center; padding: 0; border: 0; font-weight: 400; }
.consult-points .ico { flex: none; width: 44px; height: 44px; border-radius: 6px; background: var(--navy); color: #FFF; display: grid; place-items: center; }
.consult-points .ico svg { width: 20px; height: 20px; }
.consult-points strong { display: block; color: var(--ink); font-size: 15.5px; }
.consult-points span:not(.ico) { font-size: 14px; color: var(--muted); }
.consult-direct { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid #D5DCE6; }
.consult-direct a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.consult-direct svg { width: 18px; height: 18px; }
.consult-direct a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cnc-consult .consult-form { border: 0; border-radius: 0; box-shadow: none; padding: 44px 40px; }
@media (max-width: 960px) {
  .cnc-consult { grid-template-columns: 1fr; }
  .cnc-consult-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .cnc-partners ul { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .cnc-consult-copy, .cnc-consult .consult-form { padding: 28px 22px; }
  .cnc-partners li { width: 72px; }
}
.cnc-partners .wrap { flex-direction: column; align-items: stretch; gap: 16px; }
.cnc-partners p { max-width: none; text-align: center; }
.cnc-partners ul { flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
.cnc-partners li { width: auto; flex: 1 1 0; max-width: 92px; }
@media (max-width: 960px) { .cnc-partners ul { flex-wrap: wrap; justify-content: center; gap: 12px 18px; } .cnc-partners li { flex: none; width: 76px; } }

/* ---------- CNC page: LS-style material selector ---------- */
.ms { display: grid; grid-template-columns: 240px 1fr; background: #FFF; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.ms-side { background: #F2F3F5; padding: 18px 12px; max-height: 620px; overflow-y: auto; }
.ms-group { display: inline-block; margin: 6px 6px 8px; padding: 4px 12px; background: #FFF; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.ms-side ul { display: grid; gap: 2px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ms-side ul:last-child { border-bottom: 0; margin-bottom: 0; }
.ms-item { width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer; padding: 9px 12px; border-radius: 6px; font-size: 14.5px; color: var(--body); }
.ms-item:hover { color: var(--navy); }
.ms-item.active { background: #FFF; color: var(--navy); font-weight: 600; }
.ms-main { padding: 28px; }
.ms-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.ms-panel[hidden] { display: none; }
.ms-img { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: #F7F8FA; }
.ms-img img { width: 100%; height: 100%; object-fit: cover; }
.ms-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.ms-info > p { font-size: 15.5px; margin-bottom: 22px; }
.ms-info dl { display: grid; gap: 14px; margin: 0; }
.ms-info dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.ms-info dt { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.ms-info dd { margin: 0; font-size: 14.5px; color: var(--body); }
.ms-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: 560px; margin: 32px auto 0; padding: 20px 28px; border: 1px solid #9AA0A6; border-radius: 8px; background: #FFF; }
.ms-cta strong { font-size: 18px; color: var(--ink); }

/* ---------- CNC page: finishes grid (boen.ruplatin.com) ---------- */
.fin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fin-card { background: #FFF; border: 1px solid var(--line); border-radius: 6px; padding: 14px 14px 20px; transition: box-shadow .2s ease, border-color .2s ease; }
.fin-img { border-radius: 8px; overflow: hidden; background: #EEF3F8; aspect-ratio: 4 / 3; margin-bottom: 14px; }
.fin-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fin-card h3 { font-size: 17px; font-weight: 700; margin: 0 4px 6px; }
.fin-card p { font-size: 14px; margin: 0 4px; }
.fin-card:hover { box-shadow: 0 10px 24px rgba(15, 20, 25, .08); border-color: var(--navy); }
.fin-card:hover .fin-img img { transform: scale(1.05); }

/* ---------- CNC page: clean tables (like the reference) ---------- */
.cnc-table-wrap { border: 0; border-radius: 0; background: transparent; }
.cnc-table { font-size: 15.5px; }
.cnc-table thead th { background: transparent; color: var(--ink); font-weight: 700; font-size: 16px; border-bottom: 1px solid #C9CDD2; padding: 18px 22px; }
.cnc-table th, .cnc-table td { padding: 20px 22px; border-bottom: 1px solid #DDE0E4; }
.cnc-table tbody th { font-weight: 700; color: var(--ink); }
.cnc-table tbody td { color: #3A3F45; }
.cnc-table tbody tr:nth-child(even) { background: #FAFAFB; }
.cnc-table tbody tr:last-child th, .cnc-table tbody tr:last-child td { border-bottom: 1px solid #DDE0E4; }

@media (max-width: 960px) {
  .ms { grid-template-columns: 1fr; }
  .ms-side { max-height: none; display: flex; gap: 10px; overflow-x: auto; padding: 12px; }
  .ms-side ul { display: flex; gap: 6px; border: 0; margin: 0; padding: 0; }
  .ms-item { white-space: nowrap; }
  .ms-group { flex: none; align-self: center; }
  .ms-panel { grid-template-columns: 1fr; }
  .fin-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fin-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ms-main { padding: 18px; }
  .ms-info dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* =========================================================
   Fonts and spacing from boen.ruplatin.com
   Plus Jakarta Sans; 1280px container, 24px gutters;
   sections 64 / 80 / 112px; bold, tight headings.
   ========================================================= */
:root { --font: "Plus Jakarta Sans", system-ui, sans-serif; --wrap: 1280px; --gutter: 24px; }
body { font-family: var(--font); line-height: 1.625; color: #475569; }
h1, h2, h3, h4 { color: #0F172A; letter-spacing: -0.025em; }
h2 { font-weight: 700; line-height: 1.15; font-size: 30px; }
h3 { font-weight: 700; line-height: 1.375; }
section, .cnc-sec { padding: 64px 0; }
.sec-head { margin-bottom: 48px; }
.sec-head .lede, .sec-head .row .lede { font-size: 16.3px; line-height: 1.625; color: #475569; }
.hero h1, .cnc-hero h1 { font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; font-size: 40px; color: #0F172A; }
.card .body p, .industry p, .fin-card p, .mat-card figcaption span { font-size: 13.5px; line-height: 1.625; color: #64748B; }
@media (min-width: 640px) {
  h2 { font-size: 36px; }
  section, .cnc-sec { padding: 80px 0; }
  .hero h1, .cnc-hero h1 { font-size: 48px; }
}
@media (min-width: 1024px) {
  h2 { font-size: 45.6px; }
  section, .cnc-sec { padding: 112px 0; }
  .hero h1, .cnc-hero h1 { font-size: 54.4px; }
}
@media (min-width: 1280px) { h2 { font-size: 52px; } }
/* keep compact bands compact */
.proof { padding: 0 0 72px; }
main.cnc-page > section.cnc-partners { padding: 28px 0; }
.cnc-cta, main.cnc-page > section.cnc-cta { padding: 0; }
.cta-band2 h2 { font-size: clamp(18px, 1.7vw, 23px); }

/* ---------- material price + note ---------- */
.ms-price { font-weight: 700; color: var(--navy); letter-spacing: .08em; }
.ms-cta { max-width: 640px; }
.ms-cta small { display: block; width: 100%; order: 3; font-size: 13px; color: var(--muted); }

/* ---------- Customer Success Stories (LS layout) ---------- */
.cs-carousel .carousel-track { grid-auto-columns: 100%; gap: 24px; }
.cs-slide { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border: 6px solid #EEF0F3; border-radius: 8px; overflow: hidden; background: #FFF; }
.cs-img { min-height: 380px; }
.cs-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-body { padding: 36px 40px; display: flex; flex-direction: column; gap: 14px; }
.cs-tag { align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--navy); padding-bottom: 2px; }
.cs-body h3 { font-size: 24px; }
.cs-body p { font-size: 15.5px; }
.cs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 4px; }
.cs-stats li { border: 1.5px solid var(--navy); border-radius: 8px; padding: 16px 10px; text-align: center; }
.cs-stats strong { display: block; font-size: 20px; color: var(--ink); }
.cs-stats span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- What Makes BOEN Rapid a Top Choice ---------- */
.wm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wm-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 4px; box-shadow: var(--shadow); }
.wm-img { aspect-ratio: 16 / 9; }
.wm-img img { width: 100%; height: 100%; object-fit: cover; }
.wm-body { flex: 1; padding: 22px 22px 28px; }
.wm-body span { font-size: 13px; opacity: .75; }
.wm-body h3 { font-size: 21px; margin: 6px 0 10px; }
.wm-body p { font-size: 14.5px; }
.wm-1 .wm-body { background: var(--navy); }
.wm-1 .wm-body h3, .wm-1 .wm-body p, .wm-1 .wm-body span { color: #FFF; }
.wm-2 .wm-body { background: var(--blue); }
.wm-2 .wm-body h3, .wm-2 .wm-body p, .wm-2 .wm-body span { color: #FFF; }
.wm-3 .wm-body { background: #C9DCEB; }
.wm-3 .wm-body p { color: #334155; }
.wm-cta { max-width: 420px; }

@media (max-width: 960px) {
  .cs-slide { grid-template-columns: 1fr; }
  .cs-img { min-height: 240px; }
  .wm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cs-body { padding: 24px 20px; }
  .cs-stats { grid-template-columns: 1fr; }
}

/* ---------- material selector: LS-style gallery, no empty space ---------- */
.ms { align-items: stretch; }
.ms-side { position: relative; max-height: none; padding: 0; }
.ms-side-in { position: absolute; inset: 0; overflow-y: auto; padding: 18px 12px; }
.ms-main { padding: 28px; }
.ms-panel { grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
.ms-gallery { display: grid; gap: 12px; }
.ms-img { aspect-ratio: 4 / 3; }
.ms-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ms-thumb { padding: 0; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: #F7F8FA; aspect-ratio: 1 / 1; cursor: pointer; transition: border-color .15s ease; }
.ms-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ms-thumb:hover { border-color: #9AA0A6; }
.ms-thumb.active { border-color: var(--navy); }
.ms-info dl { gap: 12px; }
@media (max-width: 960px) {
  .ms-side { position: static; }
  .ms-side-in { position: static; display: flex; gap: 10px; overflow-x: auto; padding: 12px; }
}

/* CNC advantages photo: blended into the section background */
.cnc-adv .photo { border-radius: 0; background: none; box-shadow: none; }
.cnc-adv .photo img {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 82%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 82%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-composite: intersect;
}

/* ---------- Trusted brands: continuous horizontal scroll ---------- */
.cnc-partners .marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cnc-partners ul.marquee-track { display: flex; flex-wrap: nowrap; gap: 56px; width: max-content; justify-content: flex-start; animation: marquee 32s linear infinite; }
.cnc-partners .marquee-track li { flex: none; width: 96px; max-width: none; }
.cnc-partners .marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 28px)); } }
@media (prefers-reduced-motion: reduce) { .cnc-partners ul.marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }
@media (max-width: 960px) { .cnc-partners ul.marquee-track { flex-wrap: nowrap; gap: 36px; } .cnc-partners .marquee-track li { width: 76px; } }

/* ---------- What Makes cards: equal image and colour panel heights ---------- */
.wm-grid { align-items: stretch; }
.wm-img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; flex: none; }
.wm-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wm-body { display: flex; flex-direction: column; }

/* =========================================================
   CNC page typography: exactly as boenrapid.com/cnc-precision-machining-services
   Noto Sans; headings semibold 600, line-height 1.25, #333;
   20px mobile / 24px from 1024px / 30px from 1440px;
   body 14px / 16px from 1024px, line-height 1.625, #333
   ========================================================= */
.cnc-page, .cnc-page ~ footer, body:has(.cnc-page) .navbar { font-family: "Noto Sans", sans-serif; }
.cnc-page { color: #333; font-size: 14px; line-height: 1.625; }
.cnc-page h1, .cnc-page h2, .cnc-page h3, .cnc-page h4 { font-family: "Noto Sans", sans-serif; }
.cnc-page p, .cnc-page li, .cnc-page dd, .cnc-page .lede, .cnc-page .sec-head .lede, .cnc-page .intro { font-size: 14px; line-height: 1.625; color: #333; }
.cnc-page .cnc-table th, .cnc-page .cnc-table td { font-size: 14px; }
.cnc-page .faq summary { font-family: "Noto Sans", sans-serif; font-size: 16px; font-weight: 600; color: #333; }
.cnc-page .faq details p { font-size: 15px; color: #999; }
.cnc-page .btn { font-family: "Noto Sans", sans-serif; }
@media (min-width: 1024px) {
  .cnc-page { font-size: 16px; }
  .cnc-page p, .cnc-page li, .cnc-page dd, .cnc-page .lede, .cnc-page .sec-head .lede, .cnc-page .intro { font-size: 16px; }
}
/* small text inside cards keeps its compact size */
.cnc-page .mat-card figcaption span, .cnc-page .fin-card p, .cnc-page .cs-stats span, .cnc-page .consult-points span:not(.ico), .cnc-page .cnc-stats span, .cnc-page .cnc-partners p { font-size: 14px; }
.cnc-page .fin-card h3, .cnc-page .cnc-ind span, .cnc-page .cnc-gallery figcaption, .cnc-page .mat-card figcaption strong { font-size: 16px; }
.cnc-page .cta-band2 h2 { font-size: 20px; }
@media (min-width: 1440px) { .cnc-page .cta-band2 h2 { font-size: 22px; } }

/* CNC hero: tight top spacing under the navbar */
main.cnc-page > section.cnc-hero { padding: 28px 0 56px; }
@media (min-width: 1024px) { main.cnc-page > section.cnc-hero { padding: 32px 0 64px; } }
.cnc-hero-grid { align-items: center; }
.cnc-hero-img { aspect-ratio: auto; height: 340px; }
@media (max-width: 960px) { .cnc-hero-img { height: 260px; } }

/* closing band: white text over the dark photo */
.cnc-page .cta-band2 h2 { color: #FFF; }

/* ---------- CNC tables: card style ---------- */
.cnc-page .cnc-table-wrap {
  background: #FFF; border: 1px solid #E2E6EC; border-radius: 6px; overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}
.cnc-page .cnc-table { border-collapse: separate; border-spacing: 0; }
.cnc-page .cnc-table thead th {
  background: #F1F4F9; color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 16px 24px; border-bottom: 1px solid #E2E6EC;
}
.cnc-page .cnc-table tbody th, .cnc-page .cnc-table tbody td { padding: 18px 24px; border-bottom: 1px solid #EEF1F5; vertical-align: top; }
.cnc-page .cnc-table tbody tr:nth-child(even) { background: #FFF; }
.cnc-page .cnc-table tbody tr:last-child th, .cnc-page .cnc-table tbody tr:last-child td { border-bottom: 0; }
.cnc-page .cnc-table tbody th { position: relative; color: var(--navy); font-weight: 600; width: 26%; padding-left: 32px; }
.cnc-page .cnc-table tbody th::before {   /* small accent bar on each row label */
  content: ""; position: absolute; left: 18px; top: 22px; width: 4px; height: 16px; border-radius: 2px; background: var(--blue);
}
.cnc-page .cnc-table tbody td { color: #333; }
.cnc-page .cnc-table tbody tr { transition: background .15s ease; }
.cnc-page .cnc-table tbody tr:hover { background: #F7F9FC; }
.cnc-page .cnc-table-3 tbody td:last-child { color: #4A5565; }
.cnc-page .cnc-table-3 tbody td:last-child::before { content: "Tip: "; font-weight: 600; color: var(--navy); }

/* phones: each row becomes a small card */
@media (max-width: 640px) {
  .cnc-page .cnc-table thead { display: none; }
  .cnc-page .cnc-table, .cnc-page .cnc-table tbody, .cnc-page .cnc-table tr, .cnc-page .cnc-table th, .cnc-page .cnc-table td { display: block; width: 100%; }
  .cnc-page .cnc-table tbody tr { padding: 14px 0; border-bottom: 1px solid #EEF1F5; }
  .cnc-page .cnc-table tbody th, .cnc-page .cnc-table tbody td { border: 0; padding: 4px 20px 4px 32px; }
  .cnc-page .cnc-table tbody th::before { top: 8px; }
}
@media (min-width: 1024px) { .cnc-page .cnc-art h3, .cnc-page .cs-body h3 { font-size: 18px; } }
/* tables: no accent bars on row labels */
.cnc-page .cnc-table tbody th::before { display: none; }
.cnc-page .cnc-table tbody th { padding-left: 24px; }
@media (max-width: 640px) { .cnc-page .cnc-table tbody th, .cnc-page .cnc-table tbody td { padding-left: 20px; } }

/* Homepage: boenrapid.com font family (Noto Sans); sizes unchanged */
:root { --font: "Noto Sans", sans-serif; }
body, .navbar, .footer, .btn, button, input, select, textarea,
main h1, main h2, main h3, main h4, .site-top .hero h1 { font-family: "Noto Sans", sans-serif; }

/* Headings ~20% smaller (both pages) */
h2 { font-size: 26px; }
.site-top .hero h1, .cnc-page .cnc-hero h1 { font-size: 34px; }
@media (min-width: 640px) {
  h2 { font-size: 30px; }
  .site-top .hero h1, .cnc-page .cnc-hero h1 { font-size: 40px; }
}
@media (min-width: 1024px) {
  h2 { font-size: 36px; }
  .site-top .hero h1, .cnc-page .cnc-hero h1 { font-size: 46px; }
}
@media (min-width: 1280px) { h2 { font-size: 40px; } }

/* CNC solutions cards: photo on the left */
.cnc-sol { display: grid; grid-template-columns: 42% 1fr; gap: 0; padding: 0; overflow: hidden; }
.cnc-sol-img { min-height: 220px; height: 100%; }
.cnc-sol-img img { transition: transform .4s ease; }
.cnc-sol:hover .cnc-sol-img img { transform: scale(1.05); }
.cnc-sol-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
@media (max-width: 640px) { .cnc-sol { grid-template-columns: 1fr; } .cnc-sol-img { height: 200px; } }

/* =========================================================
   Tighter rhythm + fewer cards (homepage) — Dec 2026
   ========================================================= */
/* section spacing: both pages */
section, .cnc-sec { padding: 44px 0; }
.sec-head { margin-bottom: 32px; }
@media (min-width: 640px) { section, .cnc-sec { padding: 52px 0; } }
@media (min-width: 1024px) { section, .cnc-sec { padding: 64px 0; } .sec-head { margin-bottom: 36px; } }
.proof { padding: 0; }
main.cnc-page > section.cnc-partners { padding: 24px 0; }
.cnc-cta, main.cnc-page > section.cnc-cta { padding: 0; }
.cnc-consult { margin-top: 40px; }

/* hero + key figures: plain numbers on a divided band, no boxes */
.hero { padding: 48px 0 40px; }
.proof { margin-top: 0; }
.stats { gap: 0; border-top: 1px solid #D5D9DF; border-bottom: 1px solid #D5D9DF; }
.stat, .stat:hover { background: none; border: 0; border-radius: 0; box-shadow: none; transform: none; padding: 22px 16px; }
.stat + .stat { border-left: 1px solid #D5D9DF; }
.stat:hover .num, .stat:hover .label { color: inherit; }
.stat .num, .stat:hover .num { color: var(--navy); }
.stat .label, .stat:hover .label { color: var(--body); font-weight: 500; }
@media (max-width: 960px) { .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid #D5D9DF; } }

/* capability carousel: identical cards, no clipped hover shadow */
#capabilities .card:hover, #products .card:hover { box-shadow: none; border-color: var(--navy); }
#capabilities .card .body p {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(3 * 1.625em);
}
#capabilities .card h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#capabilities .mini-list li { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 16px; position: relative; }
#capabilities .mini-list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* industries: photo tiles with a caption overlay (no card body) */
.industries.ind-9 { gap: 16px; }
.industry, .industry:hover { position: relative; border: 0; border-radius: 6px; background: #0F172A; box-shadow: none; }
.industry .photo { aspect-ratio: 16 / 10; }
.industry .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 26, 90, 0) 50%, rgba(5, 26, 90, .78) 100%); }
.industry .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; z-index: 1; }
.industry h3 { color: #FFF; font-size: 18px; font-weight: 600; margin: 0; }
.industry p { color: rgba(255, 255, 255, .85) !important; font-size: 13.5px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .3s ease, margin .3s ease; }
.industry:hover p, .industry:focus-visible p { max-height: 80px; opacity: 1; margin-top: 4px; }
@media (hover: none) { .industry p { max-height: none; opacity: 1; margin-top: 4px; } }

/* about: figures as a plain row, not boxes */
.stat-boxes { gap: 18px 24px; }
.stat-box, .stat-box:hover { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.stat-box .ico { background: none; color: var(--navy); border: 1.5px solid var(--navy); }
.stat-box:hover .ico { box-shadow: none; }

/* facilities: photo tiles, caption under the image, no frame */
.fac, .fac:hover { border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.fac .photo { border-radius: 6px; }
.fac-body { background: none; padding: 14px 2px 0; }

/* process: numbered timeline instead of boxes */
.steps .step, .steps-4 .step { background: none; border: 0; border-radius: 0; padding: 0 8px 0 0; }
.steps-4 { position: relative; }
.steps-4 .step .ico { position: relative; z-index: 1; background: var(--navy); color: #FFF; }
@media (min-width: 1081px) {
  .steps-4::before { content: ""; position: absolute; left: 24px; right: calc(25% - 4px); top: 24px; height: 1px; background: #C9CED6; }
}
.cta-bar { margin-top: 36px; }

/* quality: photo + certification badge, numbered checklist */
.qa { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.qa-media { position: relative; padding: 0 0 28px 0; }
.qa-media .photo { border-radius: 8px; aspect-ratio: 4 / 3.4; }
.qa-badge {
  position: absolute; right: -20px; bottom: 0; display: flex; align-items: center; gap: 14px;
  background: var(--navy); color: #FFF; padding: 16px 22px; border-radius: 6px; box-shadow: 0 16px 34px rgba(5, 26, 90, .28);
}
.qa-badge .ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.qa-badge .ico svg { width: 22px; height: 22px; }
.qa-badge strong { display: block; color: #FFF; font-size: 16px; }
.qa-badge span:not(.ico) { font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.qa-copy h2 { margin-bottom: 12px; }
.qa-copy .lede { max-width: none; margin-bottom: 26px; }
.qa-list { list-style: none; margin: 0; padding: 0; display: grid; }
.qa-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid #D9DDE3; }
.qa-list li:last-child { border-bottom: 1px solid #D9DDE3; }
.qa-list .ico { flex: none; width: 42px; height: 42px; border-radius: 10px; background: #E8EDF6; color: var(--navy); display: grid; place-items: center; transition: background .2s ease, color .2s ease; }
.qa-list .ico svg { width: 20px; height: 20px; }
.qa-list li:hover .ico { background: var(--navy); color: #FFF; }
.qa-list h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 2px; }
.qa-list p { font-size: 14.5px; }
#certifications { scroll-margin-top: 140px; }
@media (max-width: 960px) {
  .qa { grid-template-columns: 1fr; gap: 36px; }
  .qa-badge { right: 12px; }
}

/* case studies + knowledge: open layout, no frames */
.card.case, .card.post, .card.case:hover, .card.post:hover { border: 0; border-radius: 0; background: none; box-shadow: none; }
.card.case .photo, .card.post .photo { border-radius: 6px; }
.card.case .body, .card.post .body { padding: 18px 2px 0; }
.news-item, .news-item:hover { background: none; box-shadow: none; }
.news-item .photo { border-radius: 6px; }
.news-body { padding: 16px 2px 0; }

/* contact: plain list, not boxes */
.c-cards { gap: 0; }
.c-card { border: 0; border-radius: 0; background: none; padding: 14px 0; border-top: 1px solid #D9DDE3; }
.c-card:last-child { border-bottom: 1px solid #D9DDE3; }

/* FAQ: image under the heading */
.faq-photo { margin-top: 28px; border-radius: 8px; aspect-ratio: 4 / 3; }
@media (max-width: 960px) { .faq-photo { aspect-ratio: 16 / 9; } }

/* =========================================================
   Clean-up: nothing overlaps, one even section rhythm
   ========================================================= */
/* one rhythm: every section 64px top and bottom (52 / 44 on smaller screens) */
.site-top .hero { padding: 48px 0; }
main.cnc-page > section.cnc-hero { padding: 48px 0 64px; }
.proof { padding: 0 0 48px; }
.solutions { background: #FAFAFA !important; }
.solutions::before { content: none; }
.sec-head, .adv-wrap .sec-head { margin-bottom: 36px; }
.also, .cnc-center { margin-top: 32px; }
.cta-bar { margin-top: 32px; }

/* carousel arrows live in the section header, not under the cards */
.sec-head-nav { text-align: left; }
.sec-head.sec-head-nav .row, #capabilities .sec-head.sec-head-nav .row {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 12px 32px; align-items: end;
}
.sec-head-nav .head-l { grid-column: 1; grid-row: 1; }
.sec-head-nav .row .lede, #capabilities .sec-head-nav .row .lede { grid-column: 1; grid-row: 2; margin: 0; max-width: 680px; justify-self: start; }
.sec-head-nav .carousel-nav { grid-column: 2; grid-row: 1 / 3; align-self: end; margin: 0; }
.carousel-track { padding-bottom: 0; }

/* about: photo without the offset frame */
.about-photo-wrap { padding: 0; }
.about-photo-wrap::before { content: none; }

/* industries: caption under the photo, not on top of it */
.industry, .industry:hover { background: none; border-radius: 0; overflow: visible; }
.industry .photo { border-radius: 6px; }
.industry .photo::after { content: none; }
.industry .txt { position: static; padding: 14px 2px 0; }
.industry h3 { color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.industry p, .industry:hover p { color: #64748B !important; max-height: none; opacity: 1; margin-top: 0; font-size: 14px; }
.industry:hover h3 { color: var(--navy); }

/* process: icons in a row, no connecting line */
.steps-4::before { content: none !important; }

/* solutions: plain photo with a soft shadow */
.stage-body .photo { margin: 0; box-shadow: 0 12px 28px rgba(15, 20, 25, .10); }

/* quality: certification badge sits under the photo */
.qa { align-items: start; }
.qa-media { padding: 0; display: grid; gap: 16px; }
.qa-badge { position: static; box-shadow: none; }

/* CNC quality photo: no offset block behind it */
.cnc-quality .photo::after { content: none; }
.cnc-quality .photo { overflow: hidden; border-radius: 8px; }

/* floating contact bar only where there is free space beside the content */
@media (max-width: 1439px) { .float-bar { display: none; } }
@media (max-width: 640px) {
  .sec-head.sec-head-nav .row, #capabilities .sec-head.sec-head-nav .row { grid-template-columns: 1fr; }
  .sec-head-nav .carousel-nav { grid-column: 1; grid-row: 3; justify-content: flex-start; }
  .footer { padding-bottom: 32px; }
}
/* quality: photo fills the height of the checklist (badge removed) */
.qa { align-items: stretch; }
.qa-media .photo { height: 100%; aspect-ratio: auto; min-height: 380px; }
@media (max-width: 960px) { .qa-media .photo { height: auto; aspect-ratio: 16 / 10; min-height: 0; } }

/* =========================================================
   BonitoPak-inspired layouts (no cards)
   ========================================================= */
/* featured image + numbered list with thumbnails (facilities) */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.feat .num { color: var(--blue); font-weight: 700; margin-right: 10px; font-variant-numeric: tabular-nums; }
.feat-main .photo { border-radius: 6px; aspect-ratio: 4 / 3; margin-bottom: 20px; }
.feat-main h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.feat-main p { font-size: 15px; max-width: 520px; }
.feat-list { list-style: none; margin: 0; padding: 0; }
.feat-list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid #D9DDE3; }
.feat-list li:first-child { padding-top: 0; }
.feat-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.feat-list .photo { border-radius: 8px; aspect-ratio: 3 / 2; }
.feat-list h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.feat-list p { font-size: 14px; line-height: 1.55; color: #64748B; }
.feat-list li:hover .photo img { transform: scale(1.05); }

/* alternating image / text rows with tag pills (case studies) */
.rows { display: grid; }
.row-item { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 36px 0; border-bottom: 1px solid #D9DDE3; }
.row-item:first-child { padding-top: 0; }
.row-item:last-child { border-bottom: 0; padding-bottom: 0; }
.row-item:nth-child(even) .photo { order: 2; }
.row-item .photo { border-radius: 6px; aspect-ratio: 16 / 10; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pills li { font-size: 12.5px; font-weight: 600; color: var(--navy); background: #E8EDF6; padding: 4px 12px; border-radius: 999px; }
.row-copy h3 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.row-copy > p { font-size: 15.5px; margin-bottom: 18px; }
.spec { margin: 0 0 22px; display: grid; }
.spec div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid #D9DDE3; font-size: 14.5px; }
.spec div:last-child { border-bottom: 1px solid #D9DDE3; }
.spec dt { color: #64748B; }
.spec dd { margin: 0; color: var(--ink); font-weight: 600; }
.row-links { display: flex; flex-wrap: wrap; gap: 24px; }
.row-links .link-arrow { color: var(--navy); }

@media (max-width: 960px) {
  .feat, .row-item { grid-template-columns: 1fr; gap: 28px; }
  .row-item:nth-child(even) .photo { order: 0; }
}
@media (max-width: 640px) {
  .feat-list li { grid-template-columns: 96px 1fr; gap: 14px; }
  .row-copy h3 { font-size: 21px; }
  .spec div { grid-template-columns: 110px 1fr; }
}
/* advantages: divider rows instead of boxed accordion items */
.faq.adv { gap: 0; }
.adv details, .adv details[open] { border: 0; border-radius: 0; background: none; border-bottom: 1px solid #D9DDE3; }
.adv details:first-child { border-top: 1px solid #D9DDE3; }
.adv summary { padding: 18px 0; }
.adv-n { color: var(--blue); font-size: 15px; }
.adv details p { padding: 0 0 18px 42px; }
/* What Makes cards: brand blue and white only */
.wm-1 .wm-body, .wm-3 .wm-body { background: var(--navy); }
.wm-1 .wm-body h3, .wm-1 .wm-body p, .wm-1 .wm-body span,
.wm-3 .wm-body h3, .wm-3 .wm-body p, .wm-3 .wm-body span { color: #FFF; }
.wm-2 .wm-body { background: #FFF; border: 1px solid #D9DDE3; border-top: 0; }
.wm-2 .wm-body h3 { color: var(--navy); }
.wm-2 .wm-body p { color: #333; }
.wm-2 .wm-body span { color: var(--navy); }
/* What Makes: open layout, no coloured panels */
.wm-grid { gap: 32px; }
.wm-card { box-shadow: none; border-radius: 0; overflow: visible; background: none; }
.wm-img { border-radius: 6px; overflow: hidden; }
.wm-img img { transition: transform .4s ease; }
.wm-card:hover .wm-img img { transform: scale(1.04); }
.wm-1 .wm-body, .wm-2 .wm-body, .wm-3 .wm-body {
  background: none; border: 0; padding: 22px 0 0; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline;
}
.wm-card .wm-body span {
  grid-row: 1; font-size: 15px; font-weight: 700; opacity: 1; color: var(--blue) !important; font-variant-numeric: tabular-nums;
}
.wm-card .wm-body h3 { grid-row: 1; margin: 0 0 10px; color: var(--ink) !important; transition: color .2s ease; }
.wm-card .wm-body p { grid-column: 1 / -1; color: #333 !important; padding-top: 12px; border-top: 1px solid #D9DDE3; }
.wm-card:hover .wm-body h3 { color: var(--navy) !important; }
.wm-1 .wm-body, .wm-2 .wm-body, .wm-3 .wm-body { align-items: center; align-content: start; row-gap: 0; }
.wm-card .wm-body h3 { margin: 0; line-height: 1.3; }
.wm-card .wm-body p { margin-top: 14px; }

/* CNC "What Makes": split layout, intro left, numbered rows right */
.wmx { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.wmx-intro { position: sticky; top: 112px; }
.wmx-intro h2 { margin-bottom: 16px; }
.wmx-intro > p { margin-bottom: 28px; max-width: 480px; }
.wmx-figs { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 32px; border-top: 1px solid #D9DDE3; border-bottom: 1px solid #D9DDE3; }
.wmx-figs li { padding: 18px 12px 18px 0; }
.wmx-figs li + li { padding-left: 16px; border-left: 1px solid #D9DDE3; }
.wmx-figs strong { display: block; font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.cnc-page .wmx-figs span { font-size: 13.5px; color: #64748B; }
.wmx-list { list-style: none; margin: 0; padding: 0; }
.wmx-list li { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid #D9DDE3; }
.wmx-list li:first-child { padding-top: 0; }
.wmx-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.wmx-list .photo { border-radius: 6px; aspect-ratio: 4 / 3; }
.wmx-list li:hover .photo img { transform: scale(1.05); }
.wmx-n { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--blue); margin-bottom: 6px; }
.wmx-list h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; transition: color .2s ease; }
.wmx-list li:hover h3 { color: var(--navy); }
.cnc-page .wmx-list p { font-size: 15px; color: #4A5565; }
@media (max-width: 960px) {
  .wmx { grid-template-columns: 1fr; gap: 40px; }
  .wmx-intro { position: static; }
}
@media (max-width: 640px) {
  .wmx-list li { grid-template-columns: 1fr; gap: 16px; }
  .wmx-figs { grid-template-columns: 1fr; }
  .wmx-figs li + li { padding-left: 0; border-left: 0; border-top: 1px solid #D9DDE3; }
}

/* =========================================================
   Service pages (generated from the CNC page design)
   ========================================================= */
.ms-simple .ms-panel { grid-template-columns: 1fr 1fr; align-items: center; }
.ms-simple .ms-info > p { margin-bottom: 0; }
.svc-adv > div > h2, .svc-overview > div > h2 { margin-bottom: 20px; }
.svc-p { margin-bottom: 14px; }
.svc-checks { list-style: none; margin: 6px 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.svc-checks li { position: relative; padding-left: 26px; color: var(--ink); font-weight: 500; }
.svc-checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.svc-adv .photo, .svc-overview .photo { border-radius: 8px; aspect-ratio: 4 / 3; }
.svc-adv .photo img, .svc-overview .photo img { -webkit-mask-image: none; mask-image: none; }
.faq-a { padding: 0 24px 22px; }
.faq-a p { padding: 0 !important; margin-bottom: 8px; }
.faq-a ol { margin: 4px 0 10px 18px; padding: 0; color: #999; }
.prod-tabs { margin: 0 auto 32px; }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.prod-tile { display: flex; flex-direction: column; gap: 4px; }
.prod-tile[hidden] { display: none; }
.prod-tile .photo { border-radius: 6px; aspect-ratio: 1 / 1; background: #FFF; margin-bottom: 10px; border: 1px solid #E5E7EB; }
.prod-tile .photo img { object-fit: cover; }
.prod-tile h3 { font-size: 16px; font-weight: 600; transition: color .2s ease; }
.prod-cat { font-size: 13px; color: #64748B; }
.prod-tile:hover h3 { color: var(--navy); }
.prod-tile:hover .photo img { transform: scale(1.04); }
@media (max-width: 960px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } .svc-checks { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .prod-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; } .ms-simple .ms-panel { grid-template-columns: 1fr; } }
/* service pages: hero photo shown plainly, no blend or oval mask */
.svc-page .cnc-hero-img { border-radius: 8px; height: 360px; aspect-ratio: auto; background: #EEF0F3; }
.svc-page .cnc-hero-img img { mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; object-fit: cover; }
@media (max-width: 960px) { .svc-page .cnc-hero-img { height: 260px; } }

/* ===== Service pages: added sections (process flow, plain why list, multi-column tables, type rows) ===== */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.flow-5 { grid-template-columns: repeat(5, 1fr); }
.flow-6 { grid-template-columns: repeat(3, 1fr); }
.flow li { padding: 24px 24px 8px 0; }
.flow li + li { padding-left: 24px; border-left: 1px solid #D9DDE3; }
.flow-6 li:nth-child(4) { padding-left: 0; border-left: 0; }
.flow-6 li:nth-child(n+4) { border-top: 1px solid #D9DDE3; margin-top: 16px; }
.flow-n { display: block; font-size: 28px; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 14px; }
.flow h3 { font-size: 17px; margin: 0 0 8px; color: var(--navy); }
.flow p { font-size: 15px; margin: 0; }
@media (max-width: 960px) {
  .flow, .flow-5, .flow-6 { grid-template-columns: 1fr 1fr; }
  .flow li, .flow li + li, .flow-6 li:nth-child(4) { padding: 20px 20px 16px 0; border-left: 0; border-top: 0; margin-top: 0; border-bottom: 1px solid #D9DDE3; }
}
@media (max-width: 640px) { .flow, .flow-5, .flow-6 { grid-template-columns: 1fr; } }

.wmx-list.wmx-plain li { grid-template-columns: 1fr; padding: 22px 0; }
.wmx-list.wmx-plain li:first-child { padding-top: 0; }
.wmx-plain h3 { margin: 6px 0 6px; }
.wmx-plain p { margin: 0; }

.cnc-page .cnc-table-multi tbody th { width: 22%; }
.cnc-page .cnc-table-multi tbody td { width: auto; }

.svc-rows .row-item { gap: 48px; padding: 28px 0; }
.svc-rows .row-item:first-child { padding-top: 0; }
.svc-rows .row-item:last-child { padding-bottom: 0; }
.svc-rows .photo { aspect-ratio: 16 / 9; max-height: 300px; }
.svc-rows h3 { font-size: 20px; color: var(--navy); margin: 0 0 10px; }
.svc-rows p { margin: 0; }
.svc-page .fin-card p { font-size: 14px; }
.svc-page .prod-tile .photo { margin-bottom: 8px; }
/* simple material selector: the list sets the height, so long lists are never clipped */
@media (min-width: 961px) { .ms-simple .ms-side-in { position: static; } .ms-simple .ms-main { align-self: stretch; } }
@media (max-width: 640px) { .cnc-page .cnc-table-multi tbody th, .cnc-page .cnc-table-multi tbody td { width: 100%; } }

/* ===== One bullet style everywhere: blue circle ===== */
.mini-list li, .svc-checks li, .faq-a ul li, .ms-info ul li, .cnc-q ul li { position: relative; padding-left: 20px; list-style: none; }
#capabilities .mini-list li { padding-left: 20px; }
.mini-list li::before, #capabilities .mini-list li::before, .svc-checks li::before, .faq-a ul li::before, .ms-info ul li::before, .cnc-q ul li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); border: 0; transform: none;
}
.mini-list li { display: block; }

/* ===== Industry pages ===== */
.svc-rev > .photo { order: -1; }
@media (max-width: 960px) { .svc-rev > .photo { order: 0; } }
.photo.photo-prod { background: #FFF; border: 1px solid #E5E7EB; display: grid; place-items: center; padding: 24px; aspect-ratio: 4 / 3; }
.photo.photo-prod img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

/* ===== Type selector (replaces zigzag rows): list left, image right ===== */
.tsel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.tsel-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #D9DDE3; }
.tsel-item { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; width: 100%; padding: 20px 16px 20px 20px; background: none; border: 0; border-bottom: 1px solid #D9DDE3; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background .2s ease; }
.tsel-item::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 3px; background: transparent; transition: background .2s ease; }
.tsel-item:hover, .tsel-item.active { background: #FFF; }
.tsel-item.active::before { background: var(--blue); }
.tsel-item:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.tsel-n { font-size: 15px; font-weight: 700; color: #9AA0A6; line-height: 1.6; }
.tsel-item.active .tsel-n { color: var(--blue); }
.tsel-t strong { display: block; font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.tsel-item.active .tsel-t strong { color: var(--navy); }
.tsel-t > span { display: block; font-size: 15px; line-height: 1.6; color: var(--body); }
.tsel-media { position: sticky; top: 112px; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: #EEF1F5; }
.tsel-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsel-media img[hidden] { display: none; }
.tsel-media img.contain { object-fit: contain; padding: 32px; }
@media (max-width: 960px) {
  .tsel { grid-template-columns: 1fr; gap: 24px; }
  .tsel-media { position: static; order: -1; }
}

/* ===== Resources pages ===== */
/* news: one lead story + list */
.nk-news { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.nk-lead { display: block; }
.nk-lead .photo { border-radius: 8px; aspect-ratio: 16 / 10; margin-bottom: 18px; }
.nk-lead h3 { font-size: 24px; line-height: 1.3; margin: 6px 0 10px; color: var(--ink); }
.nk-lead p { margin: 0 0 14px; }
.nk-date { display: block; font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .02em; }
.nk-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #D9DDE3; }
.nk-list a { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid #D9DDE3; }
.nk-list .photo { border-radius: 10px; aspect-ratio: 4 / 3; }
.nk-list h3 { font-size: 17px; line-height: 1.4; margin: 6px 0 0; color: var(--ink); transition: color .2s ease; }
.nk-list a:hover h3, .nk-lead:hover h3, .nk-card:hover h3 { color: var(--navy); }
/* knowledge grid (open, no boxes) */
.nk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.nk-card { display: flex; flex-direction: column; }
.nk-card[hidden] { display: none; }
.nk-card .photo { border-radius: 6px; aspect-ratio: 16 / 10; margin-bottom: 14px; background: #FFF; border: 1px solid #E5E7EB; }
.nk-cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.nk-card h3 { font-size: 18px; line-height: 1.4; margin: 6px 0 8px; color: var(--ink); transition: color .2s ease; }
.nk-card p { font-size: 15px; margin: 0; }
/* quality: certifications strip with dividers */
.qa-certs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.qa-cert { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px 8px 0; }
.qa-cert + .qa-cert { padding-left: 28px; border-left: 1px solid #D9DDE3; }
.qa-cert strong { font-size: 24px; color: var(--navy); }
.qa-cert .link-arrow { margin-top: 6px; }
/* factory: figures + photo tour */
.fac-figs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.fac-figs li { padding: 24px 20px 4px 0; }
.fac-figs li + li { padding-left: 24px; border-left: 1px solid #D9DDE3; }
.fac-figs strong { display: block; font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 6px; }
.tour { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.tour-item { margin: 0; }
.tour-item .photo { height: 100%; border-radius: 6px; }
.tour-item:first-child { grid-column: span 2; grid-row: span 2; }
/* FAQ page: topic list + grouped questions */
.faq-page { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.faq-nav { position: sticky; top: 112px; }
.faq-nav > span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--body); margin-bottom: 10px; }
.faq-nav ul { border-left: 2px solid #D9DDE3; }
.faq-nav a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); font-weight: 500; }
.faq-nav a:hover { border-left-color: var(--blue); color: var(--navy); }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-size: 24px; margin-bottom: 16px; scroll-margin-top: 112px; }
.faq-group { scroll-margin-top: 112px; }
@media (max-width: 960px) {
  .nk-news, .faq-page { grid-template-columns: 1fr; gap: 32px; }
  .nk-grid { grid-template-columns: 1fr 1fr; }
  .faq-nav { position: static; }
  .qa-certs, .fac-figs { grid-template-columns: 1fr 1fr; }
  .qa-cert, .qa-cert + .qa-cert, .fac-figs li, .fac-figs li + li { padding: 20px 16px 16px 0; border-left: 0; border-bottom: 1px solid #D9DDE3; }
  .tour { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}
@media (max-width: 640px) {
  .nk-grid, .qa-certs { grid-template-columns: 1fr; }
  .nk-list a { grid-template-columns: 110px 1fr; }
}
.tour { grid-template-columns: repeat(5, 1fr); grid-auto-rows: 180px; }
@media (max-width: 960px) { .tour { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .tour-item:last-child { grid-column: span 2; } }
.qa-certs.mv { grid-template-columns: 1fr 1fr; }
.qa-certs.mv strong { font-size: 22px; line-height: 1.35; }
.svc-checks.one { grid-template-columns: 1fr; }
@media (max-width: 640px) { .qa-certs.mv { grid-template-columns: 1fr; } }

/* Products menu: nav labels never wrap; category filter as separate pills */
@media (min-width: 961px) { .nav-link, .nav-trigger { white-space: nowrap; } }
@media (min-width: 961px) and (max-width: 1100px) { .nav-link, .nav-trigger { padding: 8px 8px; font-size: 14px; } }
.prod-tabs { background: none; border: 0; padding: 0; width: auto; justify-content: center; gap: 10px; }
.prod-tabs .tab { border: 1px solid var(--line); background: #FFF; }
.prod-tabs .tab[aria-selected="true"] { border-color: var(--navy); }
#catalog, #knowledge { scroll-margin-top: 88px; }
.prod-tabs .tab { padding: 9px 16px; font-size: 14px; }
.prod-tabs .tab[aria-selected="true"] { background: var(--navy); color: #FFF; }
