/* ============================================================
   CBS Chemicals — Facilitators of Stability
   Shared stylesheet · Modern refresh · June 2026
   Palette: light blue header/footer, navy headings, brand green accents
   ============================================================ */

:root {
  --light-blue: #e7f3fb;        /* header / footer background (per client feedback) */
  --lighter-blue: #f4faff;
  --sky: #cfe8f7;
  --navy: #0b3251;              /* headings / dark text (darker than backgrounds) */
  --navy-deep: #072540;
  --blue: #1779ba;              /* primary action blue */
  --blue-dark: #115e92;
  --green: #43a047;             /* brand green accent */
  --green-dark: #2e7d32;
  --ink: #2c3e50;
  --muted: #5b7185;
  --line: #d6e6f2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 50, 81, 0.10);
  --shadow-sm: 0 2px 10px rgba(11, 50, 81, 0.08);
  --max: 1180px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ---------- Page transitions (premium feel) ----------
   Modern browsers: cross-document View Transitions give a smooth
   cross-fade between pages, with the header/footer held stable.
   All browsers: a gentle fade-and-rise on each page load. */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: vt-out 0.22s ease both; }
::view-transition-new(root) { animation: vt-in 0.38s ease 0.04s both; }

@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.site-header { view-transition-name: site-header; }
.site-footer { view-transition-name: site-footer; }

@media (prefers-reduced-motion: no-preference) {
  body { animation: page-enter 0.4s ease-out both; }
}
@keyframes page-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  html { scroll-behavior: auto; }
}

body {
  font-family: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  font-size: 16.5px;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; font-weight: 700; letter-spacing: -0.012em; }
h1, h2 { font-weight: 800; }

.section { padding: 72px 0; }
.section.alt { background: var(--lighter-blue); }
.section.navy { background: var(--navy-deep); }
.section.navy h2, .section.navy h3 { color: var(--white); }
.section.navy p { color: #c9dcec; }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: #e6f4e7;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section.navy .kicker { background: rgba(67,160,71,0.18); color: #8fd694; }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section.navy .section-head p { color: #c9dcec; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: var(--white); box-shadow: 0 6px 18px rgba(23, 121, 186, 0.28); }
.btn-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 121, 186, 0.36); }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: var(--white); box-shadow: 0 6px 18px rgba(67, 160, 71, 0.3); }
.btn-green:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(67, 160, 71, 0.4); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.7); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* ---------- Header (light blue, per client feedback) ---------- */
.site-header {
  background: rgba(231, 243, 251, 0.86);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
          backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 18px rgba(11, 50, 81, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 102px; /* roomier bar = larger logo, per feedback */
}
.logo { display: flex; align-items: center; flex: none; }
.logo-img { height: 80px; width: auto; display: block; flex: none; }
.site-footer .logo-img { height: 72px; }

@media (max-width: 980px) {
  .logo-img { height: 62px; }
  .site-nav a { padding: 9px 9px; font-size: 14.5px; }
}

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block; width: 26px; height: 3px; border-radius: 2px;
  background: var(--navy); position: relative; content: ""; transition: 0.2s;
}
.nav-toggle-label span::before { position: absolute; top: -8px; }
.nav-toggle-label span::after { position: absolute; top: 8px; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 15.5px;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease;
}
.site-nav a:hover { background: rgba(23, 121, 186, 0.10); color: var(--blue-dark); }
.site-nav a.active { background: var(--navy); color: var(--white); }
.site-nav a.nav-cta { background: var(--green); color: var(--white); margin-left: 8px; }
.site-nav a.nav-cta:hover { background: var(--green-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(7,37,64,0.78) 0%, rgba(9,44,75,0.55) 52%, rgba(11,50,81,0.28) 100%),
    url('images/cbs-hero-bridge.jpg') center 68%/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero-art { position: absolute; inset: 0; opacity: 0.30; pointer-events: none; }
.hero-inner { position: relative; padding: 112px 0 118px; max-width: 860px; }

.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #8fd694;
  margin-bottom: 22px;
}
.hero .eyebrow::before { content: ""; width: 38px; height: 2px; background: #8fd694; border-radius: 2px; }

.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 4.9vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 .grad {
  background: linear-gradient(92deg, #7ec8f7 0%, #8fd694 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero .sub { font-size: clamp(17px, 2vw, 21px); color: #d9eaf7; margin-bottom: 16px; font-weight: 600; max-width: 720px; }
.hero .body { color: #b9d3e6; max-width: 660px; margin-bottom: 38px; font-size: 16px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-ctas .btn { padding: 15px 32px; font-size: 16px; }

.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 52px; }
.hero-badges div {
  font-size: 13.5px; color: #e2f0fa; font-weight: 600;
  display: flex; gap: 9px; align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 10px 18px;
}
.hero-badges svg { width: 17px; height: 17px; flex: none; }

/* staggered entrance for hero content */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: hero-rise 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
  .hero-inner > *:nth-child(5) { animation-delay: 0.32s; }
  .hero-inner > *:nth-child(6) { animation-delay: 0.42s; }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* Page hero (inner pages) */
.page-hero {
  background:
    linear-gradient(rgba(7, 37, 64, 0.80), rgba(11, 50, 81, 0.88)),
    linear-gradient(135deg, #134e7c, #0b3251 60%, #0e4a3a);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.page-hero p { color: #c9dcec; max-width: 720px; margin: 0 auto; font-size: 18px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .icon {
  width: 54px; height: 54px; border-radius: 13px;
  background: linear-gradient(135deg, var(--light-blue), var(--sky));
  display: flex; align-items: center; justify-content: center;
}
.card .icon svg { width: 28px; height: 28px; }

/* ---------- Split (two-column feature) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }

.check-list { list-style: none; margin: 18px 0 26px; }
.check-list li { padding-left: 34px; position: relative; margin-bottom: 12px; font-weight: 600; color: var(--navy); }
.check-list li small { display: block; font-weight: 400; color: var(--muted); }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--green);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z"/></svg>') center/contain no-repeat;
}

.stat-panel {
  background: linear-gradient(150deg, var(--navy) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius);
  color: var(--white);
  padding: 42px 36px;
  box-shadow: var(--shadow);
}
.stat-panel .big { font-size: 52px; font-weight: 800; line-height: 1; }
.stat-panel .big span { color: #8fd694; }
.stat-panel p { color: #cfe3f3; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.stat-row div strong { display: block; font-size: 26px; color: var(--white); }
.stat-row div span { font-size: 14px; color: #a9c6dd; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 26px 28px 92px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; left: 22px; top: 26px;
  font-size: 30px; font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 26px; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(var(--blue), var(--green));
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 36px 76px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 17px; top: 4px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--white); border: 5px solid var(--green);
  box-shadow: 0 0 0 4px rgba(67,160,71,0.18);
}
.tl-item .year { font-size: 14px; font-weight: 800; color: var(--green-dark); letter-spacing: 0.06em; }
.tl-item h3 { font-size: 19px; margin: 3px 0 5px; }
.tl-item p { color: var(--muted); font-size: 15.5px; }

/* ---------- Accordion (FAQ) ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--light-blue); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700;
}
.faq details[open] summary::after { content: "–"; background: var(--green); color: var(--white); }
.faq summary::after { transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }

/* Smooth accordion open/close in browsers that support it */
html { interpolate-size: allow-keywords; }
.faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height 0.3s ease, content-visibility 0.3s allow-discrete;
}
.faq details[open]::details-content { height: auto; }

.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }
.faq .faq-body p { margin-bottom: 10px; }
.faq .faq-body ul { margin: 8px 0 10px 22px; }
.faq .faq-body li { margin-bottom: 6px; }

/* ---------- Product / service detail blocks ---------- */
.detail-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 110px;
}
.detail-block h3 { font-size: 23px; margin-bottom: 4px; }
.detail-block .series { font-size: 13.5px; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.detail-block p { color: var(--muted); margin-bottom: 12px; }
.detail-block h4 { font-size: 16px; margin: 18px 0 8px; }
.detail-block ul { margin: 0 0 8px 22px; color: var(--muted); }
.detail-block ul li { margin-bottom: 7px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn-tds {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--blue); color: var(--blue-dark);
  padding: 9px 18px; border-radius: 999px;
}
.btn-tds:hover { background: var(--blue); color: var(--white); }
.btn-tds svg { width: 15px; height: 15px; }

.detail-banner { margin: 18px 0 4px; border-radius: 12px; overflow: hidden; }
.detail-banner img { width: 100%; aspect-ratio: 16/6.5; object-fit: cover; display: block; }

.type-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.type-chips a {
  background: var(--lighter-blue);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
}
.type-chips a:hover { border-color: var(--blue); background: var(--light-blue); }

/* Category side nav */
.cat-layout { display: grid; grid-template-columns: 268px 1fr; gap: 40px; align-items: start; }
.cat-nav {
  position: sticky; top: 110px;
  background: var(--lighter-blue);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.cat-nav h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 14px 0 8px; }
.cat-nav h4:first-child { margin-top: 0; }
.cat-nav h4 a { padding: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.cat-nav h4 a:hover { background: none; color: var(--blue-dark); }
.cat-nav h4 a.active { background: none; color: var(--green-dark); }
.cat-nav a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--navy); font-size: 14.5px; font-weight: 600; transition: background 0.2s ease, color 0.2s ease; }
.cat-nav a:hover { background: var(--light-blue); }
.cat-nav a.active { background: var(--navy); color: var(--white); }
.cat-nav a.active:hover { background: var(--navy-deep); }

/* Panelled catalogue (one section at a time) */
.panelized .detail-block { margin-bottom: 0; }

/* Breadcrumb path above the active panel */
.crumbs-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  background: var(--lighter-blue);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}
.crumbs-bar a { color: var(--blue-dark); }
.crumbs-bar a:hover { color: var(--navy); }
.crumbs-bar .sep { color: var(--muted); font-weight: 400; }
.crumbs-bar .here { color: var(--navy); }
.crumbs-bar .here::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); margin-right: 7px; vertical-align: 1px;
}

/* Sidebar: parent category of the active item stays marked */
.cat-nav h4.in-path a, .cat-nav h4.in-path { color: var(--green-dark); }
.cat-nav h4.in-path::after { content: " •"; color: var(--green); }
.panel-in { animation: panel-in 0.35s ease both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.panel-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 26px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.panel-nav a { font-weight: 700; }
.panel-nav .panel-prev { margin-right: auto; }
.panel-nav .panel-next { margin-left: auto; text-align: right; }
.panel-count { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .panel-in { animation: none; }
}

/* ---------- Scroll reveal (premium entrance for content) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 0.8, 0.3, 1); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Clients carousel (two-row marquee) ---------- */
.logo-marquee {
  overflow: hidden;
  position: relative;
  margin-bottom: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-left 45s linear infinite;
}
.marquee-track.reverse { animation-name: marquee-right; }
.logo-marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.client-tile {
  flex: 0 0 auto;
  width: 220px;
  height: 116px;
  margin-right: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.client-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--blue); }
.client-tile img {
  max-height: 78px;
  width: 100%;
  object-fit: contain;
}

@media (max-width: 720px) {
  .client-tile { width: 170px; height: 96px; padding: 12px 16px; }
  .client-tile img { max-height: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark), var(--green-dark));
  border-radius: var(--radius);
  color: var(--white);
  padding: 52px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.cta-band p { color: #d9eef0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.office-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.office-card:hover { transform: translateY(-2px); }
.office-card.active {
  border-color: var(--blue);
  border-left-color: var(--blue-dark);
  background: var(--lighter-blue);
  box-shadow: 0 10px 28px rgba(23, 121, 186, 0.18);
}
.office-card.active h3 { color: var(--blue-dark); }

/* ---------- Interactive map pins ---------- */
.map-pin { cursor: pointer; outline: none; }
.map-pin .pin-dot {
  fill: var(--green);
  stroke: #fff;
  stroke-width: 3;
  transition: fill 0.25s ease, r 0.25s ease;
}
.map-pin .pin-core { fill: #fff; pointer-events: none; }
.map-pin text {
  fill: var(--navy);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 3px;
  transition: fill 0.25s ease;
}
.map-pin:hover .pin-dot, .map-pin:focus-visible .pin-dot { fill: var(--green-dark); }
.map-pin .pin-pulse { fill: var(--blue); opacity: 0; transform-origin: center; transform-box: fill-box; }
.map-pin.active .pin-dot { fill: var(--blue-dark); r: 9; }
.map-pin.active text { fill: var(--blue-dark); }
.map-pin.active .pin-pulse { animation: pin-pulse 2s ease-out infinite; }
@keyframes pin-pulse {
  0% { opacity: 0.5; transform: scale(1); }
  70% { opacity: 0; transform: scale(2.6); }
  100% { opacity: 0; transform: scale(2.6); }
}
@media (prefers-reduced-motion: reduce) {
  .map-pin .pin-pulse { animation: none !important; }
}
.office-card h3 { font-size: 17.5px; display: flex; gap: 10px; align-items: center; }
.office-card .tag { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; background: var(--light-blue); color: var(--blue-dark); padding: 3px 10px; border-radius: 999px; }
.office-card p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.office-card a { font-weight: 700; }

.map-wrap {
  background: var(--lighter-blue);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky; top: 110px;
}
.map-wrap figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }

form.enquiry { display: grid; gap: 16px; }
form.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.enquiry label { font-weight: 700; color: var(--navy); font-size: 14px; display: block; margin-bottom: 6px; }
form.enquiry input, form.enquiry select, form.enquiry textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23,121,186,0.15);
}

/* ---------- Footer (light blue, no addresses / timings per feedback) ---------- */
.site-footer {
  background: var(--light-blue);
  border-top: 1px solid var(--line);
  padding: 56px 0 0;
  margin-top: 72px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--navy); margin-bottom: 16px; }
.site-footer p { color: var(--muted); font-size: 14.5px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a { color: var(--ink); font-size: 14.5px; font-weight: 600; }
.site-footer ul a:hover { color: var(--blue-dark); }
.footer-contact a { font-weight: 700; }
.footer-cities { margin-top: 12px; font-size: 13.5px; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); font-weight: 600; margin-left: 16px; }
.footer-bottom a:hover { color: var(--navy); }

/* ---------- Misc ---------- */
.note {
  background: #fff8e6;
  border: 1px solid #f0dfae;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #7a6118;
}

.breadcrumbs { font-size: 13.5px; color: #9fc1da; margin-bottom: 14px; }
.breadcrumbs a { color: #cfe3f3; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .cat-layout { grid-template-columns: 1fr; }
  .cat-nav { position: static; }
  .map-wrap { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  form.enquiry .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero-inner { padding: 64px 24px 72px; }

  /* hero: side padding, trim secondary copy, frame a pylon */
  .hero { background-position: center, 32% center; }
  .hero .body { display: none; }
  .hero-badges { margin-top: 28px; }

  /* --- mobile breathing room (<=720px) --- */
  .section-head { margin-bottom: 36px; }
  .grid { gap: 22px; }
  .card { padding: 28px 24px; }
  .detail-block { padding: 30px 24px; margin-bottom: 22px; }
  .stat-panel { padding: 34px 26px; }
  .stat-panel .big { font-size: 46px; }
  .split { gap: 36px; }
  .page-hero { padding: 60px 0; }

  /* shrink the step badge and reclaim text width */
  .step { padding: 22px 22px 22px 74px; }
  .step::before { width: 48px; height: 48px; font-size: 25px; left: 18px; top: 22px; }

  /* pull the timeline rail in so copy is not squeezed */
  .timeline::before { left: 20px; }
  .tl-item { padding: 0 0 32px 60px; }
  .tl-item::before { left: 11px; }

  .nav-toggle-label { display: block; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--light-blue);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .site-nav a { padding: 13px 14px; }
  .site-nav a.nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .section { padding: 46px 0; }
  .hero-inner { padding: 52px 20px 58px; }
  .hero { background-position: center, 30% center; }
  .section-head { margin-bottom: 30px; }
  .grid { gap: 18px; }

  .card { padding: 24px 20px; }
  .detail-block { padding: 26px 20px; }
  .stat-panel { padding: 30px 22px; }
  .stat-row { gap: 16px; }

  .step { padding: 20px 16px 20px 64px; }
  .step::before { width: 42px; height: 42px; font-size: 22px; left: 14px; top: 20px; }

  .timeline::before { left: 17px; }
  .tl-item { padding: 0 0 28px 52px; }
  .tl-item::before { left: 8px; }

  .faq summary { padding: 16px 46px 16px 18px; }
  .faq .faq-body { padding: 0 18px 18px; }
}
