/*
 * SGH shared design system.
 * Owned by the foundation agent — do not edit from a page-building agent.
 * Load order on every page:
 *   <link> Google Fonts (Jost) in <head>
 *   <script src="https://cdn.tailwindcss.com"></script>
 *   <script src="/assets/js/tw-config.js"></script>
 *   <link rel="stylesheet" href="/assets/css/site.css">
 *
 * Class vocabulary is documented in full at $SP/components.md. Short index:
 *   Buttons        .btn .btn-primary .btn-secondary .btn-on-dark .btn-lg
 *   Motif corners  .motif-corner-tl/tr/bl/br
 *   Header         .site-header .site-header.is-scrolled .nav-link .has-dropdown
 *                  .dropdown-trigger .dropdown-panel
 *   Mobile menu    .menu-toggle .mobile-menu .mobile-menu.is-open .mobile-menu-panel
 *   Hero (inner)   .hero-inner .breadcrumb
 *   Sections       .section-heading .eyebrow
 *   Split block    .split .split-media .split-body .split-reverse
 *   Cards          .card .card-service .card-sector .card-value .card-compliance
 *   Spec-fold      .spec-fold .spec-fold-trigger .spec-fold-panel .spec-row
 *   Stats          .stat .stat-number .stat-label
 *   Steps          .steps-list .step-item .step-num
 *   Gallery        .gallery-grid .gallery-item .gallery-caption
 *   Before/after   .ba-slider .ba-slider-range .ba-slider-after .ba-slider-handle
 *   Video block    .video-block .video-block-play
 *   Logo wall      .logo-wall .logo-wall-track .logo-item
 *   FAQ            .faq-item (native details/summary)
 *   Table          .table-wrap .compare-table
 *   Downloads      .download-list .download-item
 *   Quote          .quote-block
 *   CTA band       .cta-band
 *   Form           .form-field .form-label .form-input .form-textarea
 *                  .form-checkbox-row .form-status .form-status-ok .form-status-err
 *   Consent        .consent-banner .consent-settings
 *   WhatsApp float .wa-float
 *   Reveal         [data-reveal] .is-visible
 */

/* ============================== 1. TOKENS ============================== */
:root {
  --navy: #002a75;
  --navy-dark: #001c4e;
  --sky: #80d8ff;
  --sky-dark: #4cc3ff;
  --red: #ed1c24;
  --red-dark: #c8151c;
  --white: #ffffff;
  --charcoal: #282828;
  --tint: #f3f6fb;
  --line: #dde3ee;

  /* Fraunces: display headings, pull quotes, big stat figures (italic accents).
     Jost: body copy, nav, buttons, forms, UI chrome.
     JetBrains Mono: data layer only (metric captions, spec-fold values,
     step numerals, footer micro-data). Never body prose. */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-motif: 160px;
  --radius-motif-sm: 64px;
  --container-w: 1280px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ============================== 2. BASE ============================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
/* Editorial italic accent for a word or phrase inside a display heading or
   pull quote. Use sparingly, the way the approved hybrid concept did. */
.accent {
  font-style: italic;
  font-weight: 400;
  color: var(--sky-dark);
}
.accent-on-dark { color: var(--sky); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* Anchor targets should clear the fixed header */
section[id], div[id] { scroll-margin-top: 96px; }

::selection { background: var(--navy); color: var(--white); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow-on-dark { color: var(--sky); }

.section-heading h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 0.5rem; }
.section-heading .intro { color: #4a4a4a; margin-top: 1rem; max-width: 60ch; }

/* ============================ 3. BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  min-height: 48px;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-on-dark {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-on-dark:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-on-dark-solid {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
.btn-on-dark-solid:hover { background: var(--sky); border-color: var(--sky); color: var(--navy-dark); }

.btn-text {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--navy);
  border-bottom: 2px solid var(--sky);
  padding-bottom: 2px;
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.btn-text:hover { color: var(--red); border-color: var(--red); }
.btn-text-on-dark { color: var(--white); }
.btn-text-on-dark:hover { color: var(--sky); border-color: var(--sky); }

.btn-lg { padding: 1.15rem 2rem; font-size: 16px; }

/* ===================== 4. ROUNDED CORNER MOTIF ===================== */
/* Single large quarter-circle corner. Use ONE per panel, sparingly. */
.motif-corner-tl { border-radius: var(--radius-motif) 0 0 0; }
.motif-corner-tr { border-radius: 0 var(--radius-motif) 0 0; }
.motif-corner-bl { border-radius: 0 0 0 var(--radius-motif); }
.motif-corner-br { border-radius: 0 0 var(--radius-motif) 0; }
@media (max-width: 768px) {
  .motif-corner-tl { border-radius: var(--radius-motif-sm) 0 0 0; }
  .motif-corner-tr { border-radius: 0 var(--radius-motif-sm) 0 0; }
  .motif-corner-bl { border-radius: 0 0 0 var(--radius-motif-sm); }
  .motif-corner-br { border-radius: 0 0 var(--radius-motif-sm) 0; }
}

/* Decorative sky quarter-circle used behind hero copy */
.motif-shape-sky {
  position: absolute;
  background: var(--sky);
  border-radius: 0 0 0 999px;
  pointer-events: none;
}

/* =================== 4b. FIXED-RATIO MEDIA HELPERS =================== */
/* .media-2x1: for 2:1 marketing graphics with baked-in text (service cover
   banners etc). Shows the whole image, never crops it; letterboxes on
   `--tint` if a source is not exactly 2:1. Needs higher specificity than
   `.service-media img` (5:4 cover crop), so combine with that selector when
   nesting inside a .service-media wrapper. */
.service-media img.media-2x1, .media-2x1 {
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background: var(--tint);
}
/* .cert-thumb: compact preview of a portrait certificate scan (crops to the
   top of the page rather than showing the full page at full height). */
.cert-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* ============================== 5. HEADER ============================== */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(0, 42, 117, 0.06);
}
.site-header .header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: padding .25s var(--ease);
}
/* Compact header on scroll: full 230px logo at the top of the page, shrinks
   to the same 170px used on mobile once scrolled, with a tighter header
   band. Both properties transition smoothly. */
.site-header.is-scrolled .header-inner { padding: 0.4rem 1.25rem; }
.site-header .logo img { width: 230px; height: auto; transition: width .25s var(--ease); }
.site-header.is-scrolled .logo img { width: 170px; }
@media (max-width: 1023px) {
  .site-header .logo img, .site-header.is-scrolled .logo img { width: 170px; }
}
.site-header nav.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-link {
  font-size: 14.5px; font-weight: 500; color: var(--charcoal);
  text-decoration: none; padding: 0.5rem 0; position: relative;
}
.nav-link:hover { color: var(--navy); }

.has-dropdown { position: relative; }
.dropdown-trigger {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: none; border: 0; cursor: pointer;
  font-size: 14.5px; font-weight: 500; color: var(--charcoal);
  font-family: inherit; padding: 0.5rem 0;
}
.dropdown-trigger:hover { color: var(--navy); }
.dropdown-trigger .chevron { transition: transform .2s var(--ease); }
.dropdown-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 42, 117, 0.12);
  padding: 0.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel,
.dropdown-panel.is-open {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.dropdown-panel a {
  display: block; padding: 0.7rem 0.85rem; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--charcoal); text-decoration: none;
}
.dropdown-panel a:hover { background: var(--tint); color: var(--navy); }

.lang-switch { display: flex; align-items: center; gap: 0.35rem; font-size: 13px; font-weight: 600; }
.lang-switch a { color: var(--charcoal); text-decoration: none; padding: 0.2rem 0.15rem; }
.lang-switch a.is-active, .lang-switch a:hover { color: var(--navy); text-decoration: underline; }
.lang-switch .sep { color: var(--line); }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  cursor: pointer;
}
@media (max-width: 1023px) {
  .site-header nav.primary-nav, .site-header .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ========================== 6. MOBILE MENU ========================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--navy);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu-panel { padding: 1.25rem 1.5rem 2.5rem; min-height: 100%; display: flex; flex-direction: column; gap: 1.75rem; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-close {
  background: none; border: 1px solid rgba(255,255,255,0.35); border-radius: 10px;
  width: 44px; height: 44px; color: var(--white); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-menu-nav { display: flex; flex-direction: column; }
.mobile-menu-nav a, .mobile-menu-nav .mobile-group-trigger {
  font-size: 22px; font-weight: 600; color: var(--white); text-decoration: none;
  padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: space-between;
  background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%;
  text-align: left; cursor: pointer; font-family: inherit;
}
.mobile-submenu { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.mobile-submenu.is-open { max-height: 400px; }
.mobile-submenu a {
  font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.8);
  padding: 0.65rem 0 0.65rem 1rem; border-bottom: 0;
}
.mobile-menu-cta { margin-top: auto; padding-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: 13.5px; color: rgba(255,255,255,0.75); }
.mobile-menu-contact a { color: var(--white); text-decoration: none; }
body.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ============================== 7. FOOTER ============================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.85); }
.site-footer a { text-decoration: none; color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--sky); }
.footer-grid {
  max-width: var(--container-w); margin: 0 auto; padding: 4rem 1.25rem 2rem;
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sky); margin-bottom: 1rem; font-family: var(--font-body); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; font-size: 14.5px; }
.footer-logo img { width: 190px; height: auto; }
.footer-newsletter { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-newsletter input[type="email"] {
  flex: 1 1 200px; min-width: 0; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px;
  padding: 0.65rem 1rem; color: var(--white); font-size: 14px;
}
.footer-newsletter input[type="email"]::placeholder { color: rgba(255,255,255,0.55); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  max-width: var(--container-w); margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: rgba(255,255,255,0.6);
}
.footer-micro { line-height: 1.8; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em; }
.footer-social { display: flex; gap: 0.85rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--sky); }
.footer-legal-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.cookie-settings-link { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,0.85); cursor: pointer; text-decoration: underline; }
.cookie-settings-link:hover { color: var(--sky); }

/* ============================ 8. INNER HERO ============================ */
.hero-inner {
  background: var(--navy);
  color: var(--white);
  padding: 7.5rem 1.25rem 4rem;
  position: relative; overflow: hidden;
}
.hero-inner .hero-inner-content { max-width: var(--container-w); margin: 0 auto; position: relative; z-index: 1; }
.hero-inner h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 52px); margin: 0.75rem 0 1rem; }
.hero-inner .lead { max-width: 60ch; color: rgba(255,255,255,0.85); font-size: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 0.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* ============================== 9. SPLIT ============================== */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.split-reverse .split-media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 1.75rem; }
  .split-reverse .split-media { order: 0; }
}
.split-media img { width: 100%; height: auto; border-radius: 0 0 var(--radius-motif-sm) 0; }

/* ============================== 10. CARDS ============================== */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.75rem;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { box-shadow: 0 12px 32px rgba(0,42,117,0.1); transform: translateY(-2px); }
.card-grid { display: grid; gap: 1.5rem; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; } }

/* .is-balanced: add alongside .cols-4 (or .cols-3) when the item count isn't
   a multiple of the column count, so an incomplete last row centres instead
   of leaving an empty grid cell. Switches that grid to flexbox (grid can't
   centre a ragged last row); item widths match the grid's own gap math. */
.card-grid.cols-4.is-balanced { display: flex; flex-wrap: wrap; justify-content: center; }
.card-grid.cols-4.is-balanced > * { flex: 0 1 calc(25% - 1.125rem); }
@media (max-width: 900px) { .card-grid.cols-4.is-balanced > * { flex: 0 1 calc(50% - 0.75rem); } }
@media (max-width: 560px) { .card-grid.cols-4.is-balanced > * { flex: 0 1 100%; } }
.card-grid.cols-3.is-balanced { display: flex; flex-wrap: wrap; justify-content: center; }
.card-grid.cols-3.is-balanced > * { flex: 0 1 calc(33.333% - 1rem); }
@media (max-width: 900px) { .card-grid.cols-3.is-balanced > * { flex: 0 1 calc(50% - 0.75rem); } }
@media (max-width: 560px) { .card-grid.cols-3.is-balanced > * { flex: 0 1 100%; } }

.card-sector { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; border: 0; }
.card-sector img { width: 100%; height: 100%; object-fit: cover; }
.card-sector .card-sector-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem;
  background: linear-gradient(180deg, rgba(0,42,117,0) 0%, rgba(0,20,60,0.85) 100%);
  color: var(--white);
}
.card-sector .card-sector-caption h3 { color: var(--white); font-size: 18px; margin: 0 0 0.2rem; }
.card-sector .card-sector-caption p { font-size: 13.5px; margin: 0; color: rgba(255,255,255,0.85); }

.card-value { display: flex; flex-direction: column; gap: 0.5rem; }
.card-value .icon { width: 40px; height: 40px; color: var(--red); }

.icon-feature { width: 28px; height: 28px; color: var(--red); flex: none; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; }

/* ============================ 11. SPEC-FOLD ============================ */
.spec-fold { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.spec-fold-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 0.9rem 0; font-size: 14px; font-weight: 600; color: var(--navy);
  font-family: inherit;
}
.spec-fold-trigger .caret { transition: transform .25s var(--ease); color: var(--red); flex: none; }
.spec-fold-trigger[aria-expanded="true"] .caret { transform: rotate(90deg); }
.spec-fold-panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.spec-fold-panel.is-open { max-height: 900px; }
.spec-fold-inner { padding: 0.25rem 0 1.5rem; display: grid; gap: 0.75rem; }
.spec-row { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; font-size: 13px; font-family: var(--font-mono); }
.spec-row .k { color: #6b7280; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; }
.spec-row .v { color: var(--charcoal); }
@media (max-width: 640px) { .spec-row { grid-template-columns: 1fr; gap: 0.15rem; } }

/* ============================== 12. STATS ============================== */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: left; }
/* Sized so the longest expected value ("ISO 9001:2015") still sits on one
   line inside a 4-up row at 1440 and inside a 2-up row on mobile. */
.stat-number {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18px, 1.8vw, 27px); color: var(--navy); line-height: 1.1;
  white-space: nowrap;
}
.stat-number .unit { font-size: 0.55em; font-weight: 700; }
.stat-label { margin-top: 0.5rem; font-size: 12.5px; font-family: var(--font-mono); letter-spacing: 0.02em; color: #4a4a4a; }
.stat-on-dark .stat-number { color: var(--white); }
.stat-on-dark .stat-label { color: rgba(255,255,255,0.75); }

/* ============================== 13. STEPS ============================== */
.steps-list { display: grid; gap: 1.75rem; }
.step-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 600;
  font-family: var(--font-mono);
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}
.step-item h3 { font-size: 18px; margin: 0 0 0.25rem; }
.step-item p { margin: 0; color: #4a4a4a; font-size: 15px; }

/* ============================== 14. GALLERY ============================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.gallery-caption { margin-top: 0.5rem; font-size: 13.5px; color: #4a4a4a; }

/* ========================= 15. BEFORE / AFTER ========================= */
.ba-slider {
  position: relative; overflow: hidden; border-radius: 14px;
  aspect-ratio: 4/3; user-select: none; background: var(--tint);
}
.ba-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ba-slider .ba-after { clip-path: inset(0 0 0 var(--ba-pos, 50%)); }
.ba-slider .ba-divider {
  position: absolute; top: 0; bottom: 0; left: var(--ba-pos, 50%);
  width: 3px; background: var(--white); transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15); pointer-events: none;
}
.ba-slider .ba-handle {
  position: absolute; top: 50%; left: var(--ba-pos, 50%); transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25); pointer-events: none;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.ba-slider .ba-tag {
  position: absolute; top: 0.75rem; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--white);
  background: rgba(0,42,117,0.75); padding: 0.25rem 0.65rem; border-radius: 999px;
  pointer-events: none;
}
.ba-slider .ba-tag-before { left: 0.75rem; }
.ba-slider .ba-tag-after { right: 0.75rem; }
.ba-slider-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba-slider-range:focus-visible ~ .ba-handle { outline: 3px solid var(--sky); outline-offset: 2px; }
.ba-caption { margin-top: 0.6rem; font-size: 14px; font-weight: 600; color: var(--navy); text-align: center; }

/* ============================ 16. LOGO WALL ============================ */
.logo-wall { overflow: hidden; position: relative; }
.logo-wall-track {
  display: flex; align-items: center; gap: 3rem; width: max-content;
  animation: logo-scroll 40s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .logo-wall-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; } }
.logo-wall:hover .logo-wall-track { animation-play-state: paused; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-item { flex: none; height: 44px; display: flex; align-items: center; }
.logo-item img {
  height: 100%; width: auto; max-width: 140px; object-fit: contain;
  filter: grayscale(1) opacity(0.55); transition: filter .2s var(--ease);
}
.logo-item:hover img { filter: grayscale(0) opacity(1); }
.logo-wall-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; align-items: center; }
@media (max-width: 900px) { .logo-wall-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================== 17. VIDEO ============================== */
.video-block { position: relative; border-radius: 18px; overflow: hidden; background: var(--navy); aspect-ratio: 16/9; }
.video-block video, .video-block img { width: 100%; height: 100%; object-fit: cover; }
.video-block-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: rgba(0,20,60,0.25); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.video-block-play .play-circle {
  width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  transition: transform .2s var(--ease);
}
.video-block-play:hover .play-circle { transform: scale(1.08); }
.video-block.is-playing .video-block-play { display: none; }
.video-caption { margin-top: 0.6rem; font-size: 14px; color: #4a4a4a; }

/* ============================== 18. FAQ ============================== */
.faq-item { border-bottom: 1px solid var(--line); padding: 0.25rem 0; }
.faq-item summary {
  cursor: pointer; list-style: none; font-weight: 600; color: var(--navy);
  padding: 1rem 2rem 1rem 0; position: relative; font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 1rem; font-size: 20px; color: var(--red);
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 0 1.25rem; color: #4a4a4a; font-size: 15px; }

/* ============================== 19. TABLE ============================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 0.9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--tint); color: var(--navy); font-family: var(--font-display); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .yes { color: #1a7f37; font-weight: 700; }
.compare-table .no { color: #9aa1ab; }

/* ============================ 20. DOWNLOADS ============================ */
.download-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.download-item {
  display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.15rem;
  border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--charcoal);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.download-item:hover { border-color: var(--navy); background: var(--tint); }
.download-item .icon { color: var(--red); flex: none; }
.download-item .meta { margin-left: auto; font-size: 12.5px; color: #6b7280; }

/* ============================== 21. QUOTE ============================== */
.quote-block { border-left: 4px solid var(--sky); padding-left: 1.5rem; }
.quote-block p { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); font-weight: 400; color: var(--navy); margin: 0; }
.quote-block cite { display: block; margin-top: 0.75rem; font-style: normal; font-family: var(--font-mono); font-size: 12.5px; color: #4a4a4a; }

/* ============================== 22. CTA BAND ============================== */
.cta-band {
  background: var(--navy); color: var(--white);
  padding: 3.5rem 1.25rem; text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ============================== 23. FORM ============================== */
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.form-label .req { color: var(--red); }
.form-input, .form-textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.8rem 1rem; font-size: 15px; font-family: inherit; color: var(--charcoal);
  background: var(--white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,42,117,0.12);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-checkbox-row { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 13.5px; color: #4a4a4a; }
.form-checkbox-row input { margin-top: 0.2rem; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.form-checkbox-row a { color: var(--navy); text-decoration: underline; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: 1rem 1.15rem; border-radius: 12px; font-size: 14.5px; display: none; }
.form-status.is-visible { display: block; }
.form-status-ok { background: #e9f7ee; color: #15803d; border: 1px solid #bfe6cc; }
.form-status-err { background: #fdecec; color: #b42318; border: 1px solid #f5c2c0; }
.form-status a { text-decoration: underline; font-weight: 600; }
.form-error-msg { color: var(--red); font-size: 12.5px; min-height: 1em; }
.field-invalid { border-color: var(--red) !important; }

/* ============================== 24. CONSENT ============================== */
.consent-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  max-width: 560px; margin: 0 auto;
  background: var(--white); color: var(--charcoal);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,42,117,0.18);
  padding: 1.25rem 1.4rem;
  transform: translateY(120%); transition: transform .35s var(--ease);
}
.consent-banner.is-visible { transform: translateY(0); }
.consent-banner p { font-size: 13.5px; margin: 0 0 0.9rem; color: #4a4a4a; }
.consent-banner .consent-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.consent-banner .btn { padding: 0.6rem 1.1rem; min-height: 40px; font-size: 13.5px; }
.consent-settings {
  position: fixed; inset: 0; z-index: 95; background: rgba(0,20,60,0.5);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s;
}
.consent-settings.is-visible { opacity: 1; visibility: visible; }
.consent-settings-panel { background: var(--white); border-radius: 16px; padding: 1.75rem; max-width: 480px; width: 100%; max-height: 85vh; overflow-y: auto; }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.consent-row:last-of-type { border-bottom: 0; }
.consent-row h4 { font-size: 14.5px; margin: 0 0 0.2rem; }
.consent-row p { font-size: 12.5px; color: #6b7280; margin: 0; }
.toggle { position: relative; width: 44px; height: 26px; flex: none; }
.toggle input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; }
.toggle .track { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: background .2s; }
.toggle .thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.toggle input:checked ~ .track { background: var(--navy); }
.toggle input:checked ~ .thumb { transform: translateX(18px); }
.toggle input:disabled ~ .track { background: #b7c3d6; }

/* ============================ 25. WHATSAPP FLOAT ============================ */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }

/* ============================== 26. REVEAL ============================== */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
/* Never hide content from a printed page, no matter the scroll/JS state. */
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============================== 27. FOCUS & MOTION ============================== */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sky); outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .logo-wall-track { animation: none; }
  .spec-fold-panel, .mobile-submenu, .mobile-menu, .dropdown-panel, .consent-banner, .consent-settings { transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* Utility section paddings shared across pages */
.section { padding: 5rem 1.25rem; }
.section-sm { padding: 3rem 1.25rem; }
@media (max-width: 768px) { .section { padding: 3.5rem 1.25rem; } }
.container { max-width: var(--container-w); margin: 0 auto; }
.bg-tint { background: var(--tint); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

/* ===== Shared additions consolidated from page builds ===== */
.enquiry-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; }
@media (max-width: 900px) { .enquiry-grid { grid-template-columns: 1fr; } }
.enquiry-info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.9rem; font-size: 15px; }
.enquiry-info-list li { display: flex; gap: 0.65rem; }
.enquiry-info-list svg { color: var(--red); flex: none; width: 20px; height: 20px; margin-top: 2px; }
.primary-nav > a.is-active, .nav-link.is-active { color: var(--navy); font-weight: 700; }
.mobile-menu-nav > a.is-active { color: var(--sky); }
.logo-wall-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 900px) { .logo-wall-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-wall-grid .logo-item { min-width: 0; }
.logo-wall-grid .logo-item img { max-width: 100%; }
