/* ==========================================================================
   Ion Agua Purification Solutions — Homepage
   --------------------------------------------------------------------------
   1.  Fonts
   2.  Design tokens
   3.  Reset & base
   4.  Layout primitives
   5.  Typography helpers
   6.  Buttons & links
   7.  Top bar
   8.  Header & navigation
   9.  Hero
   10. Capability strip
   11. About
   12. Mission & vision
   13. Industries
   14. Products
   15. Why Ion Agua
   16. Process
   17. Technologies
   18. Global presence
   19. Contact & enquiry form
   20. Footer
   21. Floating actions
   22. Motion & reveal
   23. Responsive
   24. Inner pages (shared across every non-home page)
   ========================================================================== */


/* 1. Fonts ================================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}


/* 2. Design tokens ========================================================= */

:root {
  /* Brand — sampled from the Ion Agua logo */
  --aqua:        #00a1e4;   /* brand aqua — large text, fills, accents */
  --aqua-600:    #007aad;   /* AA on white (4.8:1) — links, labels, buttons */
  --aqua-700:    #006c99;   /* hover/pressed */
  --aqua-300:    #7fd4f5;
  --aqua-100:    #d5eefc;
  --aqua-50:     #eef8fe;

  --green:       #7cba31;
  --green-600:   #517920;   /* AA on white (5.1:1) — success text */
  --green-100:   #e7f3d8;

  --navy-900:    #04182b;
  --navy-800:    #06213d;
  --navy-700:    #0a2e51;
  --navy-600:    #10406f;

  /* Neutrals */
  --ink:         #0c1c28;
  --ink-700:     #33485a;
  --ink-500:     #5d7285;
  --ink-400:     #8194a3;
  --line:        #e2e9ef;
  --line-soft:   #eef3f7;
  --surface:     #f5f9fc;
  --white:       #ffffff;

  /* Type */
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, sans-serif;

  /* Fluid scale */
  --fs-h1:  clamp(2.35rem, 1.45rem + 3.7vw, 4.1rem);
  --fs-h2:  clamp(1.95rem, 1.3rem + 2.5vw, 3.05rem);
  --fs-h3:  clamp(1.15rem, 1.04rem + 0.45vw, 1.4rem);
  --fs-lede: clamp(1.05rem, 0.98rem + 0.34vw, 1.22rem);

  /* Rhythm — generous on mobile, not just on desktop */
  --shell:      1240px;
  --gutter:     clamp(1.35rem, 0.7rem + 2.6vw, 2.75rem);
  --section-y:  clamp(5.25rem, 3rem + 7.5vw, 9rem);

  /* One card system: every surface shares these */
  --card-r:      20px;
  --card-pad:    clamp(1.6rem, 1.1rem + 1.8vw, 2.25rem);
  --card-border: 1px solid var(--line);
  --media-r:     16px;

  /* Radii */
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Elevation — layered and low-contrast, the way real depth reads */
  --sh-sm: 0 1px 2px rgba(6, 33, 61, .04), 0 2px 6px rgba(6, 33, 61, .04);
  --sh-md: 0 1px 2px rgba(6, 33, 61, .04), 0 4px 10px rgba(6, 33, 61, .05),
           0 12px 26px rgba(6, 33, 61, .05);
  --sh-lg: 0 1px 2px rgba(6, 33, 61, .04), 0 8px 20px rgba(6, 33, 61, .06),
           0 24px 50px rgba(6, 33, 61, .08);
  --sh-xl: 0 2px 4px rgba(6, 33, 61, .04), 0 14px 32px rgba(6, 33, 61, .08),
           0 40px 80px rgba(6, 33, 61, .12);
  --sh-lift: 0 2px 4px rgba(6, 33, 61, .04), 0 16px 34px rgba(6, 33, 61, .10),
             0 44px 88px rgba(6, 33, 61, .14);

  /* Motion — one easing, three speeds */
  --ease:     cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast:   .22s;
  --t-base:   .38s;
  --t-slow:   .65s;

  --header-h: 82px;
}


/* 3. Reset & base ========================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* The closed mobile drawer is parked off-screen to the right; without this
     it widens the document and creates a horizontal scrollbar. It has to be
     set on <html> *and* <body> to take effect. `clip` is preferred over
     `hidden` because `hidden` turns the element into a scroll container and
     breaks the sticky header; `hidden` is kept first as a fallback for
     Safari < 16, which ignores `clip`. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

/* The lock itself is applied inline by main.js (body is pinned and the scroll
   offset restored on close); this class is just a styling hook. */
body.is-locked { overscroll-behavior: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 800;
  text-wrap: balance;
}
h3 { line-height: 1.25; letter-spacing: -.018em; }

/* Comfortable measure everywhere prose appears. */
p { max-width: 68ch; }

p  { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a  { color: var(--aqua-600); text-decoration: none; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: .7rem 1.15rem;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }


/* 4. Layout primitives ===================================================== */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tint {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0, 161, 228, .05) 0%, transparent 58%),
    var(--surface);
}
/* Hairline dividers where two light sections meet. */
.section--tint { border-block: 1px solid var(--line-soft); }

.section--navy {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(0, 161, 228, .22) 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(124, 186, 49, .14) 0%, transparent 55%),
    var(--navy-800);
  color: rgba(255, 255, 255, .78);
}

.section__head {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1rem, 3vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}

.section__head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.section__title { font-size: var(--fs-h2); }
.section__title--light { color: #fff; }

.section__intro {
  font-size: var(--fs-lede);
  color: var(--ink-500);
  margin: 0;
}
.section__intro--light { color: rgba(255, 255, 255, .72); }

/* In two-column blocks the intro sits directly under the heading rather than
   in its own grid cell, so it needs the gap re-introduced. */
.section__title + .section__intro { margin-top: 1.05rem; }

.grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.grid-split--reverse > *:first-child { order: 2; }

.cards { display: grid; gap: clamp(1.1rem, 2vw, 1.75rem); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }


/* 5. Typography helpers ==================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--aqua-600);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.eyebrow--light { color: var(--aqua-300); }

.lede {
  font-size: var(--fs-lede);
  color: var(--ink-700);
}

.ticklist {
  display: grid;
  gap: .7rem;
  margin: 1.6rem 0 2rem;
}
.ticklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-weight: 500;
  color: var(--ink-700);
}
.ticklist .ico {
  margin-top: .3em;
  width: 1.1em;
  height: 1.1em;
  color: var(--green-600);
}
.ticklist--tight { margin: 0; gap: .5rem; }
.ticklist--tight li { font-weight: 400; }


/* 6. Buttons & links ======================================================= */

.btn {
  --btn-bg: var(--aqua-600);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .88rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.005em;
  cursor: pointer;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-base) var(--ease),
              background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
/* A single top highlight reads as light falling on the surface. */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 62%);
  opacity: 1;
  transition: opacity var(--t-base) var(--ease);
}
.btn .ico { width: 1.05em; height: 1.05em; }
.btn:active { transform: translateY(1px) scale(.995); }

.btn--primary {
  box-shadow: 0 1px 2px rgba(0, 82, 117, .25), 0 8px 20px rgba(0, 122, 173, .28);
}
.btn--primary:hover {
  background: var(--aqua-700);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 82, 117, .22), 0 14px 30px rgba(0, 122, 173, .34);
}
.btn--primary:active { box-shadow: 0 1px 2px rgba(0, 82, 117, .3); }

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, .06);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
}
.btn--ghost::after { opacity: .5; }
.btn--ghost:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .55);
  transform: translateY(-2px);
}

.btn--whatsapp {
  --btn-bg: #1eb955;
  --btn-fg: #fff;
  box-shadow: 0 1px 2px rgba(8, 80, 38, .22), 0 8px 20px rgba(30, 185, 85, .26);
}
.btn--whatsapp .ico { fill: currentColor; stroke: none; }
.btn--whatsapp:hover { background: #199c48; transform: translateY(-2px); }

.btn--lg  { min-height: 56px; padding: 1.05rem 2.05rem; font-size: 1rem; }
.btn--sm  { min-height: 40px; padding: .55rem 1.15rem; font-size: .86rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--aqua-600);
}
.link-arrow .ico { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }


/* 7. Top bar =============================================================== */

.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .68);
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
}
.topbar__tag { margin: 0; }
.topbar__links { display: flex; gap: 1.75rem; }
.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: inherit;
  transition: color .2s var(--ease);
}
.topbar__links a:hover { color: var(--aqua-300); }
.topbar__links .ico { width: 1.05em; height: 1.05em; color: var(--aqua-300); }


/* 8. Header & navigation =================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line-soft); }

/* The frosted backdrop lives on a child layer, never on .header itself:
   backdrop-filter would make .header the containing block for its
   position:fixed descendants, which collapses the off-canvas drawer to the
   height of the header bar. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px);
}
.header.is-stuck { box-shadow: 0 1px 2px rgba(6, 33, 61, .04), 0 10px 30px rgba(6, 33, 61, .07); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height var(--t-base) var(--ease);
}

.brand { flex: none; display: block; }
.brand__mark { width: 152px; height: auto; }
.brand__mark--light { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.6vw, 1.4rem);
  margin-left: auto;
}
.nav__head, .nav__close { display: none; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.15rem, 1vw, .7rem);
}

.nav__item { position: relative; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .6rem .78rem;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: var(--aqua-600); background: var(--aqua-50); }

/* Scroll-spy state — set by main.js as you move through the page. */
.nav__link[aria-current] { color: var(--aqua-600); }
.nav__link[aria-current]::after {
  content: "";
  position: absolute;
  left: .78rem;
  right: .78rem;
  bottom: .3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--aqua);
}
.nav__caret { width: .85em; height: .85em; opacity: .5; }
.nav__toggle { display: none; }

.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 264px;
  padding: .55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-sub:hover > .nav__sub,
.has-sub:focus-within > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__sub a {
  display: block;
  padding: .58rem .8rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav__sub a:hover { background: var(--aqua-50); color: var(--aqua-600); }

.nav__cta { flex: none; }
.nav__foot { display: none; }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 46px;
  height: 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy-800);
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.burger:hover { border-color: var(--aqua-300); background: var(--aqua-50); }
.burger:active { transform: scale(.95); }
.burger .ico { width: 1.35rem; height: 1.35rem; }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(3, 16, 30, .62);
  backdrop-filter: blur(6px) saturate(120%);
  opacity: 0;
  transition: opacity .45s var(--ease-out);
}
.nav-scrim.is-open { opacity: 1; }


/* 9. Hero ================================================================== */
/* Built for the phone first: a stacked navy panel with the photograph as a
   composed, rounded plate rather than a full-bleed background. The same parts
   fan out into two columns from 1024px up. */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(100% 70% at 88% -5%, rgba(0, 161, 228, .34) 0%, transparent 60%),
    radial-gradient(80% 60% at 8% 105%, rgba(124, 186, 49, .17) 0%, transparent 58%),
    radial-gradient(130% 90% at 50% 120%, rgba(0, 90, 140, .3) 0%, transparent 62%),
    linear-gradient(162deg, #0a2b4d 0%, var(--navy-800) 42%, var(--navy-900) 100%);
  color: rgba(255, 255, 255, .82);
}

/* Faint engineering grid — reads as drafting paper, not decoration. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(78% 68% at 50% 0%, #000 0%, transparent 80%);
          mask-image: radial-gradient(78% 68% at 50% 0%, #000 0%, transparent 80%);
}

/* A single soft light source at the top-right, the way a studio would light it. */
.hero::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -12%;
  width: 60%;
  height: 78%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 161, 228, .3), transparent 72%);
  filter: blur(46px);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: clamp(2.75rem, 7vw, 4rem);
  align-items: center;
}

.hero__title {
  font-size: var(--fs-h1);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.06;
  letter-spacing: -.032em;
}
.hero__title em {
  font-style: normal;
  color: var(--aqua-300);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .03em;
  height: .085em;
  background: linear-gradient(90deg, var(--green), rgba(124, 186, 49, .35));
  border-radius: 2px;
}

.hero__lede {
  max-width: 35rem;
  font-size: clamp(1.05rem, .97rem + .45vw, 1.26rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, .8);
  margin-bottom: clamp(2rem, 5vw, 2.6rem);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  /* Glass frame: bright rim on the lit edge, deep shadow beneath. */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .1),
    0 1px 0 rgba(255, 255, 255, .16) inset,
    0 40px 80px rgba(1, 10, 20, .6),
    0 12px 26px rgba(1, 10, 20, .4);
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  /* The source is a dusk shot; a little contrast makes it read as engineered. */
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.01);
}
/* Ties the plate into the navy field so it never looks pasted on. */
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(4, 24, 43, .55) 0%, rgba(4, 24, 43, .05) 42%, transparent 70%),
    linear-gradient(115deg, rgba(0, 161, 228, .12), transparent 55%);
  pointer-events: none;
}

.hero__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .62rem 1.15rem;
  border-radius: 999px;
  background: rgba(6, 28, 50, .58);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2),
              0 8px 22px rgba(1, 10, 20, .35);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(124, 186, 49, .2), 0 0 12px rgba(124, 186, 49, .7);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(2.75rem, 7vw, 4rem);
  background: rgba(255, 255, 255, .12);
  border-radius: var(--card-r);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13),
              0 24px 60px rgba(1, 10, 20, .35);
  backdrop-filter: blur(6px);
}

.stat {
  padding: clamp(1.25rem, 4.5vw, 1.9rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .022));
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.15rem + 2.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -.035em;
}
.stat__label {
  display: block;
  margin-top: .55rem;
  font-size: clamp(.79rem, .75rem + .16vw, .88rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, .7);
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.04fr .92fr; }
  .hero__figure img { aspect-ratio: 4 / 3.8; }
  .hero__tag { left: 1.4rem; bottom: 1.4rem; }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
}


/* 10. Capability strip ===================================================== */

.capstrip {
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}
.capstrip__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding-block: clamp(1.4rem, 2.6vw, 2.1rem);
}
.capstrip__label {
  flex: none;
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.capstrip__list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .7rem;
}
.capstrip__list li {
  padding: .6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--surface));
  box-shadow: var(--sh-sm);
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              box-shadow var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.capstrip__list li:hover {
  border-color: var(--aqua-300);
  color: var(--aqua-600);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}


/* 11. About ================================================================ */

.about__media { position: relative; padding-bottom: 3.5rem; }

.about__figure {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(6, 33, 61, .06);
}
.about__figure img { width: 100%; height: 100%; object-fit: cover; }

.about__figure--inset {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: 46%;
  max-width: 268px;
  border: 9px solid #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
}

.about__badge {
  position: absolute;
  left: -4%;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: .95rem;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(155deg, #0a2b4d, var(--navy-900));
  color: #fff;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), var(--sh-xl);
}
.about__badge strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--aqua-300);
}
.about__badge span { font-size: .82rem; line-height: 1.35; color: rgba(255, 255, 255, .76); }

.about__body .section__title { margin-bottom: 1.15rem; }


/* 12. Mission & vision ===================================================== */

.mv__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.1rem, 2vw, 1.75rem);
}

.mv__card {
  position: relative;
  /* Icon and title share the top row so the icon never strands on a line of
     its own; the copy spans the full width beneath. */
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.15rem;
  row-gap: 1.15rem;
  align-items: center;
  padding: clamp(1.65rem, 1.1rem + 1.7vw, 2.4rem);
  border-radius: var(--card-r);
  overflow: hidden;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .055) 48%,
                    rgba(255, 255, 255, .025) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 20px 44px rgba(2, 12, 22, .32);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
/* Gradient hairline: bright where the light lands, fading round the form. */
.mv__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(158deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .1) 45%,
                              rgba(0, 161, 228, .35) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.mv__card:hover {
  transform: translateY(-5px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    0 30px 66px rgba(2, 12, 22, .42);
}

.mv__icon {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 17px;
  background: linear-gradient(150deg, rgba(0, 161, 228, .42), rgba(0, 161, 228, .12));
  box-shadow:
    inset 0 0 0 1px rgba(127, 212, 245, .45),
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 10px 24px rgba(0, 60, 90, .35);
  color: #bfe9fb;
}
.mv__icon--green {
  background: linear-gradient(150deg, rgba(124, 186, 49, .45), rgba(124, 186, 49, .12));
  box-shadow:
    inset 0 0 0 1px rgba(168, 220, 99, .45),
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 10px 24px rgba(40, 70, 20, .32);
  color: #d3f0a4;
}
.mv__icon .ico { width: 1.6rem; height: 1.6rem; }

.mv__card h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 1.15rem + .7vw, 1.6rem);
  letter-spacing: -.02em;
}
.mv__card p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, .82);
  font-size: 1.02rem;
  line-height: 1.7;
}


/* 13. Industries =========================================================== */

.icard {
  position: relative;
  display: block;
  border-radius: var(--card-r);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--sh-md);
  isolation: isolate;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.icard:hover { transform: translateY(-8px); box-shadow: var(--sh-lift); }

/* Hairline inside the rounded corner — reads as a crafted edge. */
.icard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .13);
  pointer-events: none;
}

.icard__media { aspect-ratio: 5 / 4; }
.icard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.icard:hover .icard__media img { transform: scale(1.06); }

/* Two stops so the title sits on true darkness while the image keeps its air. */
.icard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      rgba(3, 18, 33, .97) 0%,
      rgba(3, 18, 33, .88) 22%,
      rgba(3, 18, 33, .45) 52%,
      rgba(3, 18, 33, .08) 78%,
      rgba(3, 18, 33, 0) 100%);
  transition: opacity var(--t-base) var(--ease);
}

.icard__body {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  padding: clamp(1.35rem, 4vw, 1.9rem);
  color: rgba(255, 255, 255, .84);
}
.icard__title {
  font-size: var(--fs-h3);
  color: #fff;
  margin-bottom: .45rem;
  text-shadow: 0 1px 14px rgba(3, 18, 33, .5);
}
.icard__body p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease-out),
              opacity var(--t-base) var(--ease),
              margin-top var(--t-slow) var(--ease-out);
}
.icard:hover  .icard__body p,
.icard:focus-within .icard__body p {
  max-height: 9rem;
  opacity: 1;
  margin-top: .4rem;
}

/* Touch devices never fire hover, so the copy has to be visible by default. */
@media (hover: none) {
  .icard__body p { max-height: none; opacity: 1; margin-top: .4rem; }
}


/* 14. Products ============================================================= */

/* --- Horizontal snap slider ------------------------------------------------
   Native overflow scrolling does the work: swipe on touch, scroll-snap for the
   stops, and the buttons simply call scrollTo(). No layout is JS-driven, so the
   section still works if the script never loads. */

.slider { --slide-gap: clamp(1rem, 2vw, 1.75rem); position: relative; }

.slider__track {
  display: flex;
  gap: var(--slide-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Room for the cards' hover shadow, which the scroll container would clip. */
  padding: 14px 3px 30px;
  margin: -14px -3px -18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline-offset: -3px; }

.slider__slide {
  flex: 0 0 calc((100% - 2 * var(--slide-gap)) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
}
.slider__slide > .pcard { width: 100%; }

.slider__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.slider__nav[hidden] { display: none; }

.slider__dots { display: flex; align-items: center; gap: .5rem; }
.slider__dots button {
  width: 26px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: background-color var(--t-base) var(--ease), width var(--t-base) var(--ease-out);
}
.slider__dots button:hover { background: var(--aqua-300); }
.slider__dots button[aria-current="true"] { width: 44px; background: var(--aqua); }

.slider__arrows { display: flex; gap: .65rem; }

.slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy-800);
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease),
              opacity var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease);
}
.slider__btn .ico { width: 1.2rem; height: 1.2rem; }
.slider__btn--prev .ico { transform: rotate(90deg); }
.slider__btn--next .ico { transform: rotate(-90deg); }
.slider__btn:hover:not(:disabled) {
  background: var(--aqua-600);
  border-color: var(--aqua-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 82, 117, .2), 0 12px 26px rgba(0, 122, 173, .3);
}
.slider__btn:active:not(:disabled) { transform: translateY(0) scale(.94); }
.slider__btn:disabled { opacity: .3; cursor: default; box-shadow: none; }


.pcard {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: var(--card-border);
  border-radius: var(--card-r);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease);
}
.pcard:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 161, 228, .28);
  box-shadow: var(--sh-lift);
}

.pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 10px 10px 0;
  border-radius: var(--media-r);
  background: linear-gradient(160deg, #f6fbfd 0%, #e6f1f8 100%);
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }

/* Unifies the white-background equipment renders with the on-site photos,
   and adds the faint inner edge the rest of the system uses. */
.pcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(155deg, rgba(0, 161, 228, .06), rgba(6, 33, 61, .09));
  box-shadow: inset 0 0 0 1px rgba(6, 33, 61, .06);
  pointer-events: none;
}

.pcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--card-pad);
}
.pcard__title { font-size: var(--fs-h3); margin-bottom: .7rem; }
.pcard__body p {
  font-size: .96rem;
  line-height: 1.68;
  color: var(--ink-500);
  margin-bottom: 1.5rem;
}
.pcard .link-arrow {
  margin-top: auto;
  align-self: flex-start;
  min-height: 46px;
  padding: .65rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.pcard .link-arrow:hover {
  background: var(--aqua-600);
  border-color: var(--aqua-600);
  color: #fff;
}
.pcard .link-arrow:active { transform: scale(.97); }


/* 15. Why Ion Agua ========================================================= */

.wcard {
  position: relative;
  /* Same composition as the mission/vision cards: icon and title share the top
     row, copy spans beneath. Keeps the card dense and the system consistent. */
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.1rem;
  row-gap: 1rem;
  align-items: center;
  padding: var(--card-pad);
  background: #fff;
  border: var(--card-border);
  border-radius: var(--card-r);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease);
}
/* A whisper of brand colour that only appears on approach. */
.wcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 0% 0%, rgba(0, 161, 228, .07), transparent 62%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
}
.wcard:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 161, 228, .26);
  box-shadow: var(--sh-lg);
}
.wcard:hover::before { opacity: 1; }

.wcard__icon {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0;
  border-radius: 16px;
  background: linear-gradient(150deg, #e8f6fe 0%, #eef7e6 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 161, 228, .2),
              inset 0 1px 0 rgba(255, 255, 255, .9),
              0 6px 14px rgba(6, 33, 61, .06);
  color: var(--aqua-600);
  transition: transform var(--t-base) var(--ease-out);
}
.wcard:hover .wcard__icon { transform: translateY(-2px) scale(1.04); }
.wcard__icon .ico { width: 1.5rem; height: 1.5rem; }

.wcard h3 {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
}
.wcard p {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  max-width: 46ch;
  font-size: .96rem;
  line-height: 1.68;
  color: var(--ink-500);
}


/* 16. Process ============================================================== */

.steps {
  display: grid;
  gap: 0;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.4rem;
  padding-bottom: 2.15rem;
}
.step:last-child { padding-bottom: 0; }

/* Machined rail: solid through the completed run, fading at the tail. */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 62px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom,
    rgba(0, 161, 228, .75) 0%,
    rgba(0, 161, 228, .28) 55%,
    rgba(255, 255, 255, .06) 100%);
}

.step__num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(155deg, rgba(0, 161, 228, .22), rgba(0, 161, 228, .07));
  box-shadow: inset 0 0 0 1px rgba(127, 212, 245, .38),
              0 10px 22px rgba(2, 16, 30, .35);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .02em;
  color: var(--aqua-300);
}
/* Tick mark on the dial — the detail that reads as instrumentation. */
.step__num::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 2px;
  height: 7px;
  translate: -50% 0;
  background: rgba(0, 161, 228, .5);
}
.step:last-child .step__num::after { display: none; }

.step__title {
  font-size: 1.24rem;
  color: #fff;
  margin-bottom: .4rem;
  padding-top: .5rem;
}
.step p {
  font-size: .97rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  margin: 0;
}

.process__media {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), var(--sh-xl);
  /* Match the height of the step list so the two columns read as a pair. */
  align-self: stretch;
  min-height: 100%;
}
.process__media img { width: 100%; height: 100%; object-fit: cover; }


/* 17. Technologies ========================================================= */

.tech {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.tech__media {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(6, 33, 61, .06);
  position: sticky;
  top: calc(var(--header-h) + 28px);
}
.tech__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }

.tech__accordion { display: grid; gap: .8rem; }

.acc {
  border: var(--card-border);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.acc:hover { border-color: rgba(0, 161, 228, .3); }
.acc[open] { border-color: rgba(0, 161, 228, .38); box-shadow: var(--sh-md); }

.acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.acc__head::-webkit-details-marker { display: none; }
.acc__head:hover { color: var(--aqua-600); }
.acc__title { font-size: 1.02rem; }

.acc__sign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--aqua-50);
  color: var(--aqua-600);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.acc__sign .ico { width: 1rem; height: 1rem; }
.acc[open] .acc__sign {
  transform: rotate(45deg);
  background: var(--aqua-600);
  color: #fff;
}

.acc__panel {
  padding: 0 1.5rem 1.5rem;
  font-size: .96rem;
  line-height: 1.72;
  color: var(--ink-500);
}


/* 18. Global presence ====================================================== */

.global__media {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(6, 33, 61, .06);
}
.global__media img { width: 100%; height: 100%; object-fit: cover; }

.global__body .section__title { margin-bottom: 1.1rem; }

.countries { display: grid; gap: 0; margin-top: 1.9rem; }
.countries li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left var(--t-base) var(--ease);
}
.countries li:hover { padding-left: 6px; }
.countries li:last-child { border-bottom: 1px solid var(--line); }
.countries__name {
  flex: none;
  min-width: 8.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
.countries__note { font-size: .92rem; color: var(--ink-500); }


/* 19. Contact & enquiry form =============================================== */

.contact {
  position: relative;
  isolation: isolate;
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
}
.contact__bg { position: absolute; inset: 0; z-index: -2; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(4, 24, 43, .95) 0%, rgba(6, 33, 61, .9) 45%, rgba(6, 33, 61, .74) 100%);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact__details { display: grid; gap: 1.1rem; margin: 2.1rem 0; }
.contact__details li { display: flex; align-items: flex-start; gap: .9rem; }
.contact__details a { color: rgba(255, 255, 255, .86); transition: color .2s var(--ease); }
.contact__details a:hover { color: var(--aqua-300); }
.contact__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--aqua-300);
}
.contact__ico .ico { width: 1.1rem; height: 1.1rem; }

.enquiry {
  padding: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), var(--sh-xl);
  color: var(--ink-700);
}
.enquiry__title { font-size: 1.45rem; margin-bottom: 1.5rem; }

.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  margin-bottom: .42rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
}
.field label span { color: var(--aqua-600); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: .95rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(0, 161, 228, .14);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #d7263d; background: #fdf4f5; }

.field__error {
  margin: .35rem 0 0;
  font-size: .81rem;
  color: #d7263d;
  min-height: 0;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

.enquiry__status {
  margin: 1rem 0 0;
  font-size: .88rem;
  text-align: center;
  color: var(--ink-500);
}
.enquiry__status.is-ok { color: var(--green-600); font-weight: 600; }


/* 20. Footer =============================================================== */

.footer {
  background:
    radial-gradient(90% 60% at 80% 0%, rgba(0, 161, 228, .11) 0%, transparent 60%),
    var(--navy-900);
  color: rgba(255, 255, 255, .64);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
  gap: clamp(1.75rem, 3.5vw, 3.25rem);
  padding-block: clamp(3rem, 5.5vw, 4.75rem);
}

.footer__brand img { width: 158px; margin-bottom: 1.25rem; }
.footer__brand p { font-size: .93rem; margin-bottom: 1.35rem; max-width: 30rem; }

.footer__title {
  margin-bottom: 1.15rem;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
}

.footer__col ul { display: grid; gap: .62rem; }
.footer__col a {
  font-size: .92rem;
  color: rgba(255, 255, 255, .62);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer__col a:hover { color: var(--aqua-300); padding-left: 4px; }

.footer__contact { display: grid; gap: .9rem; }
.footer__contact li { display: flex; align-items: flex-start; gap: .7rem; font-size: .92rem; }
.footer__contact .ico { margin-top: .28em; width: 1.05rem; height: 1.05rem; color: var(--aqua-300); }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
}
.footer__bar p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.35rem; }
.footer__legal a {
  color: rgba(255, 255, 255, .58);
  transition: color var(--t-fast) var(--ease);
}
.footer__legal a:hover { color: var(--aqua-300); }
.footer__meta { color: rgba(255, 255, 255, .58); }


/* 21. Floating actions ===================================================== */

.wa-float,
.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--sh-lg);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.wa-float {
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  width: 54px;
  height: 54px;
  background: #25d366;
  color: #fff;
}
.wa-float .ico { width: 1.7rem; height: 1.7rem; fill: currentColor; stroke: none; }
.wa-float:hover { transform: scale(1.08); }

.to-top {
  bottom: calc(clamp(1rem, 2.5vw, 1.75rem) + 66px);
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy-800);
  cursor: pointer;
}
.to-top .ico { width: 1.2rem; height: 1.2rem; transform: rotate(180deg); }
.to-top:hover { transform: translateY(-3px); }
.to-top[hidden] { display: none; }


/* 22. Motion & reveal ====================================================== */

/* Scoped to .js so the page degrades to fully-visible content when
   JavaScript is unavailable — nothing depends on the observer running. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 95ms);
  will-change: opacity, transform;
}
.js .reveal.is-in { will-change: auto; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; }
  .icard__body p { max-height: none; opacity: 1; margin-top: .25rem; }
}


/* 23. Responsive =========================================================== */

@media (max-width: 1100px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .slider__slide { flex-basis: calc((100% - var(--slide-gap)) / 2); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }

  .burger { display: inline-flex; }

  .nav__cta {
    display: flex;
    width: 100%;
    margin-top: 1.6rem;
    min-height: 52px;
  }

  .nav__foot {
    display: grid;
    gap: .25rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-soft);
  }
  .nav__foot a {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 46px;
    font-size: .93rem;
    font-weight: 500;
    color: var(--ink-700);
  }
  .nav__foot .ico { width: 1.05rem; height: 1.05rem; color: var(--aqua-600); }

  /* Off-canvas drawer */
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 100;
    width: min(400px, 88vw);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.15rem var(--gutter) 2rem;
    background: #fff;
    box-shadow: -18px 0 50px rgba(6, 33, 61, .2);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform .52s var(--ease-out), visibility .52s;
  }
  .nav.is-open { transform: none; visibility: visible; }

  .nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.15rem;
    margin-bottom: .6rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__logo { width: 136px; }
  .nav__close {
    display: inline-flex;
    padding: .5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--navy-800);
    cursor: pointer;
  }
  .nav__close .ico { width: 1.3rem; height: 1.3rem; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }

  /* Items settle in sequence as the panel arrives — the detail that separates
     a considered drawer from a generic one. */
  .nav__list > li,
  .nav__cta,
  .nav__foot {
    opacity: 0;
    transform: translateX(22px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  }
  .nav.is-open .nav__list > li,
  .nav.is-open .nav__cta,
  .nav.is-open .nav__foot { opacity: 1; transform: none; }

  .nav.is-open .nav__list > li:nth-child(1) { transition-delay: .14s; }
  .nav.is-open .nav__list > li:nth-child(2) { transition-delay: .19s; }
  .nav.is-open .nav__list > li:nth-child(3) { transition-delay: .24s; }
  .nav.is-open .nav__list > li:nth-child(4) { transition-delay: .29s; }
  .nav.is-open .nav__list > li:nth-child(5) { transition-delay: .34s; }
  .nav.is-open .nav__list > li:nth-child(6) { transition-delay: .39s; }
  .nav.is-open .nav__cta  { transition-delay: .45s; }
  .nav.is-open .nav__foot { transition-delay: .5s; }
  .nav__item { display: grid; grid-template-columns: 1fr auto; align-items: center; }

  .nav__link {
    padding: 1.08rem .25rem;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -.015em;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  /* On mobile the indicator becomes a short rule under the label. */
  .nav__link[aria-current]::after {
    left: .25rem;
    right: auto;
    width: 26px;
    bottom: .78rem;
  }
  .nav__list > li > .nav__link { display: flex; }
  .nav__link:hover { background: transparent; }
  .nav__caret { display: none; }

  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink-700);
    cursor: pointer;
    transition: transform .3s var(--ease), background-color .25s var(--ease);
  }
  .nav__toggle[aria-expanded="true"] {
    transform: rotate(180deg);
    background: var(--aqua-50);
    color: var(--aqua-600);
  }
  .nav__toggle .ico { width: 1.1rem; height: 1.1rem; }

  /* Submenus collapse in flow instead of floating.
     A max-height collapse is used rather than the grid-template-rows trick:
     that only sizes the first row, so the remaining items land in implicit
     auto rows and stay visible while the first one disappears. */
  .nav__sub {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .nav__item.is-open > .nav__sub { max-height: 32rem; }
  .nav__sub a { padding: .7rem .25rem .7rem 1.1rem; }
  .has-sub:hover > .nav__sub,
  .has-sub:focus-within > .nav__sub { transform: none; }

  .tech { grid-template-columns: 1fr; }
  .tech__media { position: static; }
  .tech__media img { aspect-ratio: 4 / 3; }

  .grid-split { grid-template-columns: 1fr; }
  .grid-split--reverse > *:first-child { order: 0; }

  .contact__inner { grid-template-columns: 1fr; }

  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 1.25rem; }

  .section__head { grid-template-columns: 1fr; align-items: start; }

  .about__media { padding-bottom: 0; }
  .about__figure--inset { position: static; width: 100%; max-width: none; margin-top: 1rem; border-width: 0; }
  .about__badge { left: auto; right: 1rem; bottom: auto; top: 1rem; padding: .8rem 1.1rem; }
  .about__badge strong { font-size: 1.9rem; }

  .mv__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }

  /* Comfortable thumb targets throughout. */
  .btn { min-height: 50px; padding-inline: 1.5rem; }
  .btn--lg { min-height: 54px; }
  .topbar__links a,
  .footer__col a,
  .nav__sub a { min-height: 44px; display: inline-flex; align-items: center; }
  .slider__dots button { height: 8px; }
  .slider__dots li { display: flex; align-items: center; min-height: 44px; }

  .cards--3 { grid-template-columns: 1fr; }

  /* One card at a time, with the next one peeking to signal swipeability.
     The track bleeds to the screen edges so the peek reaches the bezel. */
  .slider__track {
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    scroll-padding-left: var(--gutter);
  }
  .slider__slide { flex-basis: 86%; }
  .slider__nav { justify-content: center; }
  .slider__arrows { display: none; }

  .brand__mark { width: 128px; }

  .capstrip__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  /* Tighter chips so two fit per row instead of reading as a list. */
  .capstrip__list { gap: .5rem; }
  .capstrip__list li { padding: .5rem 1rem; font-size: .82rem; }

  /* Full-width stacked CTAs give a comfortable thumb target. */
  .hero__actions .btn { flex: 1 1 100%; }


  .field-row { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bar { justify-content: center; text-align: center; }

  .step { grid-template-columns: 44px 1fr; gap: 1rem; }
  .step__num { width: 44px; height: 44px; font-size: .85rem; }
  .step:not(:last-child)::before { left: 21px; top: 46px; }
}

@media (max-width: 400px) {
  .topbar { display: none; }
}


/* Print ==================================================================== */

@media print {
  .topbar, .header, .nav, .burger, .wa-float, .to-top,
  .enquiry, .nav-scrim { display: none !important; }
  .hero { color: #000; background: none; }
  .hero::before, .contact::before { background: none; }
  body { color: #000; }
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; }
}


/* 24. Inner pages ========================================================== */
/* Every rule below reuses the tokens defined at the top of this file, so the
   inner pages inherit the homepage design system rather than restating it. */

/* --- Utility ------------------------------------------------------------- */

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

/* --- Page hero ----------------------------------------------------------- */

.pagehero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.25rem, 7vw, 5.75rem);
  color: rgba(255, 255, 255, .82);
  background: linear-gradient(162deg, #0a2b4d 0%, var(--navy-800) 45%, var(--navy-900) 100%);
}
.pagehero__media { position: absolute; inset: 0; z-index: -2; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(4, 22, 40, .95) 0%, rgba(6, 33, 61, .9) 48%, rgba(6, 33, 61, .72) 100%),
    radial-gradient(90% 70% at 88% 0%, rgba(0, 161, 228, .26) 0%, transparent 62%);
}
.pagehero__inner { max-width: 56rem; }
.pagehero__title {
  font-size: clamp(2.1rem, 1.35rem + 3vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 1rem;
}
.pagehero__lede {
  max-width: 44rem;
  font-size: clamp(1.02rem, .96rem + .4vw, 1.2rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, .8);
  margin: 0;
}

/* --- Breadcrumb ---------------------------------------------------------- */

.breadcrumb { margin-bottom: clamp(1.25rem, 3vw, 1.9rem); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .55rem;
  font-size: .84rem;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255, 255, 255, .62); }
.breadcrumb li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
}
.breadcrumb a { color: rgba(255, 255, 255, .78); transition: color var(--t-fast) var(--ease); }
.breadcrumb a:hover { color: var(--aqua-300); }
.breadcrumb [aria-current="page"] { color: var(--aqua-300); font-weight: 600; }

/* --- Framed media plate -------------------------------------------------- */

.framed {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(6, 33, 61, .06);
}
.framed img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.section--navy .framed { box-shadow: var(--sh-xl), inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* --- Larger tick list ---------------------------------------------------- */

.ticklist--lg { gap: 1rem; }
.ticklist--lg li { align-items: flex-start; font-weight: 400; }
.ticklist--lg strong { color: var(--ink); font-weight: 700; }

/* --- Specification table ------------------------------------------------- */

.spec {
  background: #fff;
  border: var(--card-border);
  border-radius: var(--card-r);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.spec__table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.spec__table th,
.spec__table td { padding: 1rem clamp(1.1rem, 2.2vw, 1.75rem); text-align: left; vertical-align: top; }
.spec__table th {
  width: 38%;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
.spec__table td { color: var(--ink-500); }
.spec__table tr + tr { border-top: 1px solid var(--line-soft); }
.spec__table tr:nth-child(odd) { background: #fcfdfe; }
.spec__note {
  margin: 0;
  /* Overrides the global prose measure so the panel spans the table. */
  max-width: none;
  padding: 1.05rem clamp(1.1rem, 2.2vw, 1.75rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: .88rem;
  color: var(--ink-500);
}

/* --- Gallery ------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2vw, 1.75rem);
}
.gallery__item {
  margin: 0;
  border-radius: var(--card-r);
  overflow: hidden;
  background: #fff;
  border: var(--card-border);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.gallery__item:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  padding: .95rem 1.15rem;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-700);
}

/* --- Case study band ----------------------------------------------------- */

.casestudy { max-width: 56rem; }
.casestudy p { color: rgba(255, 255, 255, .78); }
.casestudy strong { color: #fff; }
.casestudy__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  background: rgba(255, 255, 255, .12);
  border-radius: var(--card-r);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
}

/* --- Downloads ----------------------------------------------------------- */

.dl-list { display: grid; gap: .85rem; }
.dl {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.15rem clamp(1.1rem, 2.2vw, 1.6rem);
  background: #fff;
  border: var(--card-border);
  border-radius: var(--card-r);
  box-shadow: var(--sh-sm);
  color: var(--ink-700);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease);
}
.dl:hover { transform: translateY(-3px); border-color: rgba(0, 161, 228, .3); box-shadow: var(--sh-md); }
.dl__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(150deg, #e8f6fe, #eef7e6);
  box-shadow: inset 0 0 0 1px rgba(0, 161, 228, .2);
  color: var(--aqua-600);
}
.dl__text { display: grid; gap: .12rem; }
.dl__text strong { font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.dl__text small { font-size: .87rem; color: var(--ink-500); }
.dl__arrow { margin-left: auto; flex: none; color: var(--aqua-600); }

/* --- Long-form prose (legal pages) --------------------------------------- */

.prose { max-width: 46rem; }
.prose h2 {
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem);
  margin: 2.5rem 0 .85rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.05em; color: var(--ink-700); }
.prose ul { display: grid; gap: .55rem; margin: 0 0 1.3rem; padding-left: 1.15rem; }
.prose li { position: relative; padding-left: .85rem; color: var(--ink-700); }
.prose li::before {
  content: "";
  position: absolute;
  left: -.25rem;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aqua);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* --- Contact tiles ------------------------------------------------------- */

.wcard small { display: block; margin-top: .3rem; font-size: .85rem; color: var(--ink-400); }
.wcard a { font-weight: 600; }
.wcard .link-arrow { margin-top: .55rem; }
.wcard em { color: var(--ink-400); font-size: .9rem; }

/* --- Map placeholder ----------------------------------------------------- */

.map {
  border-radius: var(--card-r);
  overflow: hidden;
  border: var(--card-border);
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(0, 161, 228, .08), transparent 60%),
    repeating-linear-gradient(0deg, rgba(6, 33, 61, .045) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(6, 33, 61, .045) 0 1px, transparent 1px 44px),
    #fff;
  box-shadow: var(--sh-sm);
}
.map__inner {
  display: grid;
  justify-items: center;
  gap: .5rem;
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem;
}
.map__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: .5rem;
  border-radius: 18px;
  background: linear-gradient(150deg, #e8f6fe, #eef7e6);
  box-shadow: inset 0 0 0 1px rgba(0, 161, 228, .2);
  color: var(--aqua-600);
}
.map__icon .ico { width: 1.6rem; height: 1.6rem; }
.map__title { margin: 0; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.map__addr { margin: 0 0 1.1rem; max-width: none; color: var(--ink-500); font-size: .95rem; }

/* --- Sitemap ------------------------------------------------------------- */

.sitemap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
}
.sitemap__col .footer__title { color: var(--ink); margin-bottom: 1rem; }
.sitemap__col ul { display: grid; gap: .7rem; }
.sitemap__col a {
  font-size: .95rem;
  color: var(--ink-700);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.sitemap__col a:hover { color: var(--aqua-600); padding-left: 4px; }

/* --- Standalone CTA band ------------------------------------------------- */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: rgba(255, 255, 255, .82);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(4, 22, 40, .95) 0%, rgba(6, 33, 61, .9) 50%, rgba(6, 33, 61, .78) 100%);
}
.cta-band__inner { max-width: 46rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: clamp(1.75rem, 4vw, 2.4rem); }

/* --- Homepage industry cards become links -------------------------------- */

.icard__link { color: inherit; }
/* Stretched hit area: the whole card is clickable, the title stays the label. */
.icard__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
}

/* --- Vertical rhythm between adjacent sections ---------------------------- */
/* Two plain-background sections in a row would stack a full pad twice and open
   a void. Where the background does not change, one pad is enough. */
.section:not(.section--tint):not(.section--navy):not(.cta-band):not(.contact)
+ .section:not(.section--tint):not(.section--navy):not(.cta-band):not(.contact) {
  padding-top: 0;
}
.section--tint + .section--tint { padding-top: 0; }
.section--navy + .section--navy { padding-top: 0; }


/* --- Inner-page responsive ----------------------------------------------- */

@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .sitemap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .spec__table th { width: 46%; }
}

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .sitemap { grid-template-columns: 1fr; }
  .breadcrumb ol { font-size: .8rem; }

  /* Stack the spec table into label/value pairs rather than squeezing columns. */
  .spec__table, .spec__table tbody, .spec__table tr, .spec__table th, .spec__table td { display: block; }
  .spec__table tr { padding: .95rem clamp(1.1rem, 4vw, 1.5rem); }
  .spec__table th, .spec__table td { padding: 0; width: auto; }
  .spec__table th { font-size: .82rem; letter-spacing: .02em; color: var(--ink); margin-bottom: .2rem; }
  .spec__table td { font-size: .95rem; }

  .dl { flex-wrap: wrap; gap: .9rem; }
  .dl__arrow { margin-left: 0; }
  .cta-band__actions .btn { flex: 1 1 100%; }
}
