/* =========================================================
   PRIME MED EQUIPMENTS LLP — Homepage styles
   ========================================================= */

:root {
  --blue: #014BD8;
  --blue-deep: #0035A0;
  --blue-ink: #002A80;
  --red: #FF0000;
  --red-hover: #D90000;
  --green: #25D366;
  --green-hover: #1EBE5A;
  --ivory: #F5F2EC;
  --stone: #E9E6E0;
  --white: #FFFFFF;
  --mist: #F4F7FD;
  --ink: #161616;
  --graphite: #343434;
  --grey: #727272;
  --line: rgba(22, 22, 22, 0.1);
  --line-strong: rgba(22, 22, 22, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(56px, 7vw, 100px);
  --header-h: 76px;
  --radius: 14px;
  --radius-btn: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --fs-h1: clamp(2.1rem, 1.35rem + 3.1vw, 3.7rem);
  --fs-h2: clamp(1.8rem, 1.35rem + 1.8vw, 2.75rem);
  --fs-lead: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem);
}

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .site-header :focus-visible, .section--deep :focus-visible, .section--blue :focus-visible,
.hww :focus-visible, .site-footer :focus-visible, .drawer :focus-visible, .advice :focus-visible { outline-color: #fff; }
.form-card :focus-visible { outline-color: var(--blue); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 18px; background: var(--white); color: var(--blue); font-weight: 600;
  border-radius: var(--radius-btn); transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); overflow: hidden; }
/* clip (unlike hidden) keeps position: sticky working inside sections */
@supports (overflow: clip) { .section { overflow: clip; } }
.section--white { background: var(--white); }
.section--blue { background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%); color: var(--white); }
.section--deep { background: var(--blue-deep); color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--red); flex: none; }
.eyebrow--light { color: rgba(255, 255, 255, 0.86); }

.h2 { font-size: var(--fs-h2); color: var(--ink); max-width: 20ch; }
.h2--light { color: var(--white); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--graphite); }
.lead--light { color: rgba(255, 255, 255, 0.84); }

.section-head { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; }
  .section-head .lead { max-width: 52ch; justify-self: end; }
}

.prose p + p { margin-top: 1.1em; }
.prose--light p { color: rgba(255, 255, 255, 0.84); }

/* ---------- Square motif ---------- */
.sq { position: absolute; display: block; pointer-events: none; will-change: transform; }
.sq--outline { border: 1.5px solid rgba(1, 75, 216, 0.12); }
.sq--fill { background: rgba(1, 75, 216, 0.06); }
.sq--outline-light { border: 1.5px solid rgba(255, 255, 255, 0.12); }
.sq--fill-light { background: rgba(255, 255, 255, 0.06); }

/* ---------- Icon box ---------- */
.icon-box {
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(1, 75, 216, 0.08); color: var(--blue);
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease);
}
.icon-box svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-box::after {
  content: ""; position: absolute; right: -4px; top: -4px; width: 9px; height: 9px; background: var(--red);
  transform: scale(0); transition: transform .35s var(--ease);
}
.icon-box--lg { width: 60px; height: 60px; border-radius: 14px; }
.icon-box--lg svg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  font-size: 0.96rem; font-weight: 600; line-height: 1; letter-spacing: -0.005em; text-decoration: none;
  border: 1.5px solid transparent; border-radius: var(--radius-btn);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn--lg { --h: 56px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 8px 22px -10px rgba(255, 0, 0, 0.6); }
.btn--primary:hover { background: var(--red-hover); box-shadow: 0 12px 28px -10px rgba(255, 0, 0, 0.7); }
.btn--blue { background: var(--blue); color: var(--white); box-shadow: 0 8px 22px -12px rgba(1, 75, 216, 0.7); }
.btn--blue:hover { background: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--blue); border-color: rgba(1, 75, 216, 0.35); }
.btn--ghost:hover { background: rgba(1, 75, 216, 0.06); border-color: var(--blue); }
.btn--ghost-light { background: rgba(255, 255, 255, 0.06); color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 0.94rem; font-weight: 600; color: var(--blue); text-decoration: none;
}
.link-arrow::after { content: ""; width: 18px; height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
.link-arrow:hover::after { width: 30px; }
.link-arrow:hover { color: var(--blue-deep); }

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, border-color .3s; }
  .cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--red); }
  .cursor__ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid rgba(255, 0, 0, 0.55); }
  .cursor.is-active .cursor__dot, .cursor.is-active .cursor__ring { opacity: 1; }
  .cursor.is-hover .cursor__ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(255, 0, 0, 0.08); border-color: var(--red); }
  .cursor.is-hover .cursor__dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .cursor.is-down .cursor__ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); color: var(--white);
  transition: transform .45s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid { background: rgba(1, 75, 216, 0.97); box-shadow: 0 10px 30px -18px rgba(0, 30, 90, 0.6); }
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-solid { background: rgba(1, 75, 216, 0.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
@media (max-width: 980px) { .brand img { height: 32px; } }

.primary-nav ul { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 38px); }
.primary-nav a {
  position: relative; display: inline-block; padding: 10px 0;
  font-size: 0.94rem; font-weight: 500; color: rgba(255, 255, 255, 0.86); text-decoration: none; transition: color .2s;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--white); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.show-xs { display: none; }
.menu-toggle {
  display: none; position: relative; width: 46px; height: 46px; padding: 0;
  background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius-btn);
}
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--white); border-radius: 2px; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; right: 18px; }
.menu-toggle span:nth-child(3) { top: 28px; }
@media (max-width: 980px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .site-header__inner { grid-template-columns: 1fr auto; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .site-header__actions .btn--sm { padding: 0 14px; }
}
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; opacity: 0; transition: opacity .3s; }
.site-header.is-solid .scroll-progress span { opacity: 1; }

/* ---------- Drawer (mobile off-canvas) ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 140; background: rgba(0, 25, 80, 0.45); opacity: 0; transition: opacity .35s var(--ease); }
.drawer-backdrop.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
  width: min(88vw, 400px); height: 100dvh;
  display: flex; flex-direction: column;
  padding: 18px 24px max(24px, env(safe-area-inset-bottom));
  background: linear-gradient(165deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .45s var(--ease);
  box-shadow: -30px 0 60px -30px rgba(0, 20, 70, 0.6);
}
.drawer::after { content: ""; position: absolute; right: -60px; bottom: 120px; width: 220px; height: 220px; border: 1.5px solid rgba(255, 255, 255, 0.1); pointer-events: none; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: 28px; }
.drawer__head img { height: 30px; width: auto; }
.drawer__close {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); border: 1.5px solid rgba(255, 255, 255, 0.28); border-radius: var(--radius-btn);
}
.drawer__close svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; }
.drawer__nav li { border-bottom: 1px solid var(--line-light); }
.drawer__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 18px 2px;
  font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none;
  opacity: 0; transform: translateX(24px); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.drawer__nav a span { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.6); }
.drawer__nav a.is-active span { color: var(--red); }
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; }
.drawer.is-open .drawer__nav li:nth-child(1) a { transition-delay: .08s; }
.drawer.is-open .drawer__nav li:nth-child(2) a { transition-delay: .12s; }
.drawer.is-open .drawer__nav li:nth-child(3) a { transition-delay: .16s; }
.drawer.is-open .drawer__nav li:nth-child(4) a { transition-delay: .2s; }
.drawer.is-open .drawer__nav li:nth-child(5) a { transition-delay: .24s; }
.drawer__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 6px; }
.drawer__foot .btn { margin-bottom: 12px; }
.drawer__contact { display: block; padding: 8px 0; color: rgba(255, 255, 255, 0.86); text-decoration: none; font-size: 0.98rem; }
.drawer__contact:hover { color: #fff; text-decoration: underline; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 860px);
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 7vw, 96px);
  display: flex; align-items: center; color: var(--white);
  background:
    radial-gradient(1100px 600px at 85% 20%, rgba(255, 255, 255, 0.09), transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, #0141C2 48%, var(--blue-deep) 100%);
}
.hero__decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__sq1 { width: clamp(280px, 38vw, 560px); aspect-ratio: 1; right: -8%; top: -18%; border-color: rgba(255, 255, 255, 0.1); }
.hero__sq2 { width: clamp(160px, 20vw, 300px); aspect-ratio: 1; left: -60px; bottom: -80px; background: rgba(255, 255, 255, 0.05); }
.hero__sq3 { width: 120px; aspect-ratio: 1; left: 44%; top: 18%; border-color: rgba(255, 255, 255, 0.09); }
.hero__sq4 { width: 64px; aspect-ratio: 1; left: 38%; bottom: 14%; background: rgba(255, 255, 255, 0.07); }

.hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 901px) { .hero__grid { grid-template-columns: 1fr 1.02fr; } }
.hero__title { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; max-width: 15ch; color: #fff; }
.hero__title span { display: block; margin-top: 12px; font-size: 0.5em; line-height: 1.25; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.78); font-weight: 500; }
.hero__lead { margin-top: 22px; max-width: 52ch; font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.84); }
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__media { position: relative; }
.hero__frame {
  position: relative; z-index: 1;
  transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .6s var(--ease);
}
.hero__frame img {
  width: 112%; max-width: none; margin-left: -6%; aspect-ratio: 3 / 2; object-fit: contain;
  filter: drop-shadow(0 40px 50px rgba(0, 18, 70, 0.45));
}
.hero__accent {
  position: absolute; z-index: 0; width: 26%; aspect-ratio: 1; right: -2%; top: -4%;
  border: 1.5px solid rgba(255, 255, 255, 0.24); border-radius: 4px;
}
.hero__accent::after { content: ""; position: absolute; width: 22px; height: 22px; background: var(--red); left: -11px; bottom: -11px; }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, 0.45); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: scrolldot 1.8s ease-in-out infinite; }

.js .hero-in { opacity: 0; transform: translateY(26px); animation: heroIn 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__media { max-width: 640px; }
  .hero__scroll { display: none; }
}
@media (max-width: 560px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__accent { right: 0; top: -8px; }
}

/* =========================================================
   LOGO STRIP
   ========================================================= */
.logo-strip { background: var(--white); padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__inner { display: flex; width: max-content; animation: marquee var(--marquee-dur, 60s) linear infinite; }
.marquee:hover .marquee__inner, .marquee:focus-within .marquee__inner { animation-play-state: paused; }
.marquee__track { display: flex; align-items: center; flex: none; gap: clamp(40px, 5vw, 72px); padding-right: clamp(40px, 5vw, 72px); }
.marquee__track li { flex: none; display: flex; align-items: center; height: 56px; }
/* Same height for every logo; width follows each logo's proportions */
.marquee__track img { height: clamp(26px, 3vw, 34px); width: auto; max-width: none; mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.72; transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.marquee__track li.is-compact img { height: clamp(38px, 4.2vw, 50px); }
.marquee__track li:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* =========================================================
   ABOUT (white)
   ========================================================= */
.about__decor { position: absolute; inset: 0; pointer-events: none; }
.about__sq1 { width: clamp(220px, 30vw, 420px); aspect-ratio: 1; left: -160px; top: 10%; }
.about__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 80px); }
@media (min-width: 901px) { .about__grid { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; } }
.about__text .h2 { margin-bottom: 18px; }
.about__lead { max-width: 56ch; }

.highlights { margin: 32px 0 34px; display: grid; gap: 4px; }
.highlights li {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start;
  padding: 16px; margin-inline: -16px; border-radius: 14px;
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.highlights li:hover { background: var(--mist); transform: translateX(6px); }
.highlights li:hover .icon-box { background: var(--blue); color: #fff; }
.highlights li:hover .icon-box::after { transform: scale(1); }
.highlights h3 { font-size: 1.1rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.highlights p { font-size: 0.95rem; max-width: 50ch; }

.about__media { position: relative; min-height: 420px; }
.about__figure { position: absolute; inset: 0; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(0, 35, 110, 0.45); }
.about__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 25%; transition: transform 1.2s var(--ease); }
.about__media:hover .about__figure img { transform: scale(1.04); }
.about__accent { position: absolute; width: 34%; aspect-ratio: 1; left: -22px; top: -22px; border: 1.5px solid rgba(1, 75, 216, 0.22); border-radius: 4px; }
.about__accent::after { content: ""; position: absolute; width: 18px; height: 18px; background: var(--red); right: -9px; bottom: -9px; }
@media (max-width: 900px) {
  .about__media { min-height: 0; aspect-ratio: 4 / 5; max-width: 520px; width: 100%; justify-self: center; }
}

/* =========================================================
   HOW WE WORK (blue, pinned horizontal scroll)
   ========================================================= */
.hww { position: relative; background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
.hww__sticky {
  position: relative; overflow: hidden;
  padding: calc(var(--section-y) * 0.9) 0;
  display: flex; flex-direction: column; justify-content: center;
}
.hww.is-pinned .hww__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  padding: calc(var(--header-h) + 16px) 0 32px;
}
.hww__decor { position: absolute; inset: 0; pointer-events: none; }
.hww__sq1 { width: clamp(260px, 34vw, 480px); aspect-ratio: 1; right: -120px; top: -140px; }
.hww__sq2 { width: 160px; aspect-ratio: 1; left: 6%; bottom: -60px; }
.hww__head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.hww__meter { display: grid; gap: 10px; min-width: 180px; }
.hww__count { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.7); }
.hww__count b { color: #fff; font-size: 1.2rem; }
.hww__bar { display: block; height: 2px; background: rgba(255, 255, 255, 0.2); }
.hww__bar span { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0.2); transform-origin: left; transition: transform .2s linear; }

.hww__viewport { position: relative; }
.hww__track {
  display: flex; gap: clamp(16px, 2vw, 24px);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  will-change: transform;
}
.hww:not(.is-pinned) .hww__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hww:not(.is-pinned) .hww__viewport::-webkit-scrollbar { display: none; }
.hww:not(.is-pinned) .hww__track > * { scroll-snap-align: start; }

.hww__image {
  position: relative; flex: none; width: clamp(300px, 52vw, 720px);
  border-radius: 18px; overflow: hidden; background: var(--blue-deep);
}
.hww__image img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.hww__caption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.94); color: var(--ink); font-size: 0.92rem; font-weight: 500; line-height: 1.45;
}
.hww-card {
  position: relative; flex: none; width: clamp(260px, 24vw, 320px);
  display: flex; flex-direction: column;
  padding: 28px 26px 30px; border-radius: 18px;
  background: var(--white); color: var(--graphite);
  box-shadow: 0 30px 60px -36px rgba(0, 15, 60, 0.8);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  overflow: hidden;
}
.hww-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.hww-card::after {
  content: attr(data-step); position: absolute; right: 14px; bottom: -18px;
  font-size: 6.5rem; font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: rgba(1, 75, 216, 0.06);
  transition: color .45s var(--ease), transform .45s var(--ease);
}
.hww-card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 28px;
  background: rgba(1, 75, 216, 0.08); color: var(--blue); transition: background .35s, color .35s, transform .45s var(--ease);
}
.hww-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hww-card__num { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.hww-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.hww-card p { font-size: 0.96rem; position: relative; z-index: 1; }
.hww-card:hover, .hww-card.is-active { transform: translateY(-8px); box-shadow: 0 40px 70px -36px rgba(0, 10, 50, 0.95); }
.hww-card:hover::before, .hww-card.is-active::before { transform: scaleX(1); }
.hww-card:hover::after, .hww-card.is-active::after { color: rgba(1, 75, 216, 0.12); transform: translateY(-6px); }
.hww-card:hover .hww-card__icon, .hww-card.is-active .hww-card__icon { background: var(--blue); color: #fff; transform: rotate(-6deg); }
@media (max-width: 700px) {
  .hww__image { width: 86vw; }
  .hww__image img { min-height: 260px; }
  .hww-card { width: 78vw; padding: 24px 22px; }
  .hww__meter { min-width: 140px; }
  .hww.is-pinned .hww__sticky { padding-bottom: 20px; }
}
@media (max-height: 620px) and (min-width: 701px) {
  .hww__image img { min-height: 260px; }
}

/* =========================================================
   EQUIPMENT (white)
   ========================================================= */
.panorama { position: relative; margin-bottom: clamp(36px, 5vw, 64px); }
.panorama__scroller { border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(0, 35, 110, 0.55); background: var(--mist); }
.panorama__canvas { position: relative; }
.panorama__canvas img { width: 100%; aspect-ratio: 1983 / 793; object-fit: cover; }
.panorama__hint { display: none; }
.hotspot { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; text-decoration: none; }
.hotspot__dot { position: relative; width: 22px; height: 22px; background: var(--red); border: 5px solid var(--white); box-shadow: 0 6px 18px -4px rgba(0, 25, 80, 0.7); transition: transform .3s var(--ease), background-color .3s; }
.hotspot__dot::after { content: ""; position: absolute; inset: -11px; border: 2px solid rgba(255, 255, 255, 0.9); animation: pulse 2.4s ease-out infinite; }
.hotspot__label {
  position: absolute; left: 50%; bottom: calc(100% + 4px); translate: -50% 6px;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .25s, translate .3s var(--ease);
}
.hotspot:hover .hotspot__dot, .hotspot:focus-visible .hotspot__dot { transform: scale(1.15); background: var(--blue); }
.hotspot:hover .hotspot__label, .hotspot:focus-visible .hotspot__label { opacity: 1; translate: -50% 0; }
.hotspot--left .hotspot__label { left: auto; right: 0; translate: 0 6px; }
.hotspot--left:hover .hotspot__label, .hotspot--left:focus-visible .hotspot__label { translate: 0 0; }
.hotspot:focus-visible { outline: none; }
@media (max-width: 700px) {
  .panorama { margin-inline: calc(var(--gutter) * -1); }
  .panorama__scroller { border-radius: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .panorama__scroller::-webkit-scrollbar { display: none; }
  .panorama__canvas { width: 820px; }
  .panorama__hint { display: inline-flex; align-items: center; gap: 8px; margin: 14px var(--gutter) 0; font-size: 0.82rem; font-weight: 600; color: var(--blue); }
  .panorama__hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; animation: nudge 1.6s ease-in-out infinite; }
  .hotspot__label { display: none; }
}

.categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.category {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px); border-radius: 16px;
  background: var(--white); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
  overflow: hidden;
}
.category::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.category .icon-box { margin-bottom: 22px; }
.category h3 { font-size: clamp(1.18rem, 1.06rem + 0.4vw, 1.36rem); margin-bottom: 10px; }
.category p { font-size: 0.95rem; flex: 1; margin-bottom: 14px; }
.category:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 60px -34px rgba(0, 35, 110, 0.45); }
.category:hover::before { transform: scaleX(1); }
.category:hover .icon-box { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.category:hover .icon-box::after { transform: scale(1); }
.category.is-flash, .category:target { animation: flash 2s var(--ease); }
@media (max-width: 1024px) { .categories { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .categories { grid-template-columns: 1fr; } }

/* =========================================================
   COMMITMENT (blue)
   ========================================================= */
.commitment { background: radial-gradient(900px 500px at 10% 0%, rgba(1, 75, 216, 0.55), transparent 60%), var(--blue-deep); }
.commitment__decor { position: absolute; inset: 0; pointer-events: none; }
.commitment__sq1 { width: clamp(300px, 40vw, 560px); aspect-ratio: 1; right: -12%; top: -20%; }
.commitment__sq2 { width: 200px; aspect-ratio: 1; left: 38%; bottom: -80px; }
.commitment__sq3 { width: 110px; aspect-ratio: 1; right: 30%; top: 14%; }
.commitment__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 88px); }
@media (min-width: 961px) { .commitment__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.commitment__intro .h2 { margin-bottom: 24px; max-width: 16ch; }
.commitment__intro .prose { max-width: 52ch; }
.commitment__statement { margin-top: 32px; padding-left: 20px; border-left: 3px solid var(--red); font-size: clamp(1.12rem, 1rem + 0.5vw, 1.35rem); font-weight: 500; color: #fff; }
.pillars { border-top: 1px solid var(--line-light); }
.pillars li {
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 6px 16px;
  padding: clamp(22px, 2.6vw, 32px) 12px; margin-inline: -12px; border-bottom: 1px solid var(--line-light); border-radius: 12px;
  transition: background-color .35s var(--ease);
}
.pillars li:hover { background: rgba(255, 255, 255, 0.06); }
.pillars__num { grid-row: span 2; font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.08em; padding-top: 5px; position: relative; }
.pillars__num::after { content: ""; position: absolute; left: 0; top: 30px; width: 24px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .3s; }
.pillars li.is-visible .pillars__num::after { transform: scaleX(1); }
.pillars h3 { font-size: clamp(1.18rem, 1.05rem + 0.5vw, 1.45rem); color: #fff; }
.pillars p { color: rgba(255, 255, 255, 0.8); font-size: 0.97rem; max-width: 50ch; }

/* =========================================================
   SERVICES (white)
   ========================================================= */
.services__layout { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 1025px) { .services__layout { grid-template-columns: 0.75fr 1.25fr; align-items: stretch; } }
.services__media { position: relative; margin: 0; border-radius: 18px; overflow: hidden; min-height: 320px; }
.services__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 88% 40%; transition: transform 1.2s var(--ease); }
.services__media:hover img { transform: scale(1.04); }
@media (max-width: 1024px) { .services__media { aspect-ratio: 16 / 9; min-height: 0; } }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 16px); }
.service {
  position: relative; display: flex; flex-direction: column;
  padding: 22px 22px 14px; border-radius: 16px; background: var(--mist); border: 1px solid transparent;
  transition: background-color .35s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
}
.service .icon-box { width: 44px; height: 44px; background: #fff; margin-bottom: 16px; }
.service h3 { font-size: 1.1rem; margin-bottom: 6px; }
.service p { font-size: 0.93rem; flex: 1; margin-bottom: 4px; }
.service:hover { background: #fff; border-color: var(--line); transform: translateY(-5px); box-shadow: 0 26px 50px -32px rgba(0, 35, 110, 0.45); }
.service:hover .icon-box { background: var(--blue); color: #fff; }
.service:hover .icon-box::after { transform: scale(1); }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* Advice banner */
.advice {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: clamp(32px, 4vw, 56px); padding: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center;
  border-radius: 20px; color: #fff;
  background: linear-gradient(130deg, var(--blue) 0%, var(--blue-deep) 100%);
}
@media (min-width: 900px) { .advice { grid-template-columns: 1.4fr auto; gap: 48px; } }
.advice__sq { position: absolute; z-index: -1; pointer-events: none; }
.advice__sq1 { width: 260px; aspect-ratio: 1; right: -70px; top: -90px; border: 1.5px solid rgba(255, 255, 255, 0.14); }
.advice__sq2 { width: 120px; aspect-ratio: 1; right: 22%; bottom: -60px; background: rgba(255, 255, 255, 0.06); }
.advice h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); color: #fff; margin-bottom: 12px; }
.advice__text > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.84); max-width: 56ch; }
.advice__points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.advice__points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.86rem; font-weight: 500; }
.advice__points li::before { content: ""; width: 6px; height: 6px; background: var(--red); }
.advice__actions { display: grid; gap: 12px; }
@media (max-width: 899px) { .advice__actions .btn { width: 100%; } }

/* =========================================================
   ENQUIRY (blue)
   ========================================================= */
.enquiry__decor { position: absolute; inset: 0; pointer-events: none; }
.enquiry__sq1 { width: clamp(260px, 34vw, 460px); aspect-ratio: 1; left: -140px; bottom: -120px; }
.enquiry__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 961px) {
  .enquiry__grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .enquiry__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.enquiry__intro .h2 { margin-bottom: 18px; }
.checklist { margin-top: 32px; padding: 22px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.checklist__title { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); margin-bottom: 10px; }
.checklist li { position: relative; padding: 6px 0 6px 24px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.92); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; background: var(--red); }
.contact-list { margin-top: 28px; border-top: 1px solid var(--line-light); }
.contact-list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.contact-list__label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.contact-list a { font-weight: 600; color: #fff; text-decoration: none; word-break: break-word; min-height: 32px; display: inline-flex; align-items: center; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.enquiry__form { min-height: 200px; }

.form-card {
  position: relative; background: var(--white); color: var(--graphite); border-radius: 18px;
  padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 50px 90px -50px rgba(0, 15, 60, 0.9);
}
.form-card::before { content: ""; position: absolute; top: 0; left: clamp(22px, 4vw, 44px); width: 48px; height: 3px; background: var(--red); }
.form-card__head { margin-bottom: 26px; }
.form-card__head h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card__head p { font-size: 0.88rem; color: var(--grey); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; min-width: 0; }
.field label, .equipment-items legend { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.req { color: var(--red); }
.opt { font-weight: 500; font-size: 0.8rem; color: var(--grey); margin-left: 4px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 13px 14px; font-size: 16px; line-height: 1.4;
  background: var(--white); border: 1.5px solid #D6D9E0; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #9A9CA3; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #B6BBC6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(1, 75, 216, 0.14); }
.field [aria-invalid="true"] { border-color: var(--red); background: #FFF8F8; }
.field__error { font-size: 0.84rem; color: #C40000; margin-top: 6px; }
.field__error:empty { display: none; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.8px solid var(--graphite); border-bottom: 1.8px solid var(--graphite); transform: rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }

.equipment-items { margin: 4px 0 22px; padding: 0; border: 0; min-width: 0; }
.equipment-items legend { padding: 0; }
.equipment-items__list { display: grid; gap: 14px; }
.item { padding: 18px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); animation: itemIn .45s var(--ease); }
.item .field { margin-bottom: 14px; }
.item__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.item__title { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.item__remove { min-height: 36px; padding: 0 10px; font-size: 0.85rem; font-weight: 600; color: var(--grey); background: none; border: 0; border-radius: 8px; }
.item__remove:hover { color: #C40000; background: rgba(255, 0, 0, 0.06); }
.item:only-child .item__remove { display: none; }

.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload__zone {
  display: flex; align-items: center; gap: 14px; padding: 16px; min-height: 64px;
  border: 1.5px dashed #C3C8D3; border-radius: 10px; background: var(--white);
  font-size: 0.9rem; font-weight: 400 !important; color: var(--graphite); cursor: pointer; margin: 0 !important;
  transition: border-color .2s, background .2s;
}
.upload__zone small { color: var(--grey); font-size: 0.8rem; }
.upload__zone svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.upload__zone strong { color: var(--blue); font-weight: 600; }
.upload__zone:hover, .upload.is-dragover .upload__zone { border-color: var(--blue); background: rgba(1, 75, 216, 0.04); }
.upload__input:focus-visible + .upload__zone { outline: 3px solid var(--blue); outline-offset: 2px; }
.upload__preview { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white); }
.upload__preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--mist); }
.upload__file-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 8px; background: rgba(1, 75, 216, 0.08); color: var(--blue); font-size: 0.78rem; font-weight: 700; }
.upload__meta { min-width: 0; display: grid; }
.upload__name { font-size: 0.9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload__size { font-size: 0.8rem; color: var(--grey); }
.upload__actions { display: flex; gap: 4px; }
.upload__actions button { min-height: 40px; padding: 0 10px; font-size: 0.84rem; font-weight: 600; background: none; border: 0; border-radius: 8px; color: var(--blue); }
.upload__actions button:hover { background: rgba(1, 75, 216, 0.07); }
.upload__actions [data-clear] { color: #B00000; }
@media (max-width: 420px) {
  .upload__preview { grid-template-columns: 56px 1fr; }
  .upload__preview img, .upload__file-icon { width: 56px; height: 56px; }
  .upload__actions { grid-column: 1 / -1; justify-content: flex-end; }
}
.add-item {
  margin-top: 14px; width: 100%; min-height: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.95rem; font-weight: 600; color: var(--blue);
  background: rgba(1, 75, 216, 0.05); border: 1.5px dashed rgba(1, 75, 216, 0.4); border-radius: 10px;
  transition: background .2s, border-color .2s;
}
.add-item span { font-size: 1.3rem; line-height: 1; }
.add-item:hover { background: rgba(1, 75, 216, 0.09); border-color: var(--blue); }
.add-item[disabled] { opacity: 0.5; cursor: not-allowed; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.84rem; color: var(--grey); margin: 4px 0 20px; }
.form-note a { color: var(--blue); }
.form-alert { margin-bottom: 22px; padding: 14px 16px; border-radius: 10px; font-size: 0.92rem; background: #FFF1F1; color: #9E0000; border: 1px solid rgba(255, 0, 0, 0.2); }
.form-alert a { color: inherit; font-weight: 600; }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-submitting .btn__spinner { display: inline-block; }
.is-submitting [data-submit] { pointer-events: none; opacity: 0.85; }
.form-success { text-align: center; padding: clamp(24px, 5vw, 56px) 8px; }
.form-success:focus { outline: none; }
.form-success__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; background: var(--blue); }
.form-success__icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s var(--ease) .2s forwards; }
.form-success h3 { font-size: 1.45rem; margin-bottom: 12px; }
.form-success p { max-width: 44ch; margin: 0 auto 10px; }
.form-success__ref { font-size: 0.86rem; color: var(--grey); margin-bottom: 24px !important; }

/* =========================================================
   FAQ (white)
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 72px); }
@media (min-width: 961px) {
  .faq__grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq__intro .h2 { margin-bottom: 16px; }
.faq__intro .lead { max-width: 42ch; }
.faq-help {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 28px; padding: 24px;
  border-radius: 16px; background: linear-gradient(140deg, var(--blue), var(--blue-deep)); color: #fff;
}
.faq-help__sq { position: absolute; z-index: -1; width: 150px; aspect-ratio: 1; right: -40px; top: -50px; border: 1.5px solid rgba(255, 255, 255, 0.16); }
.faq-help__title { font-size: 1.15rem; font-weight: 600; }
.faq-help > p:not(.faq-help__title) { color: rgba(255, 255, 255, 0.8); font-size: 0.94rem; margin-top: 2px; }
.faq-help__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.faq-help__links a {
  display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff; text-decoration: none; font-size: 0.84rem; font-weight: 600;
  transition: background .25s, transform .3s var(--ease);
}
.faq-help__links a:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.faq-help__links svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.faq-help__links svg.fill { fill: currentColor; stroke: none; }

.accordion { display: grid; gap: 12px; }
.accordion__item {
  border-radius: 14px; background: var(--mist); border: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s, box-shadow .35s var(--ease);
}
.accordion__item:hover { border-color: rgba(1, 75, 216, 0.2); }
.accordion__item.is-open { background: #fff; border-color: rgba(1, 75, 216, 0.25); box-shadow: 0 24px 50px -34px rgba(0, 35, 110, 0.5); }
.accordion__item h3 { font-size: inherit; letter-spacing: normal; }
.accordion__trigger {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  min-height: 64px; padding: 18px 20px; text-align: left;
  font-size: clamp(0.98rem, 0.95rem + 0.25vw, 1.08rem); font-weight: 600; line-height: 1.4; color: var(--ink);
  background: none; border: 0; border-radius: 14px;
}
.accordion__q { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--blue); width: 30px; }
.accordion__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 10px; background: #fff; border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; background: var(--blue); transition: transform .35s var(--ease), background .3s; }
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { background: var(--blue); border-color: var(--blue); transform: rotate(180deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::before, .accordion__trigger[aria-expanded="true"] .accordion__icon::after { background: #fff; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.accordion__panel > div { overflow: hidden; }
.accordion__panel.is-open { grid-template-rows: 1fr; }
.accordion__panel p { padding: 0 66px 22px 66px; max-width: 70ch; }
.accordion__panel a { color: var(--blue); font-weight: 600; }
@media (max-width: 640px) {
  .accordion__trigger { gap: 12px; padding: 16px; }
  .accordion__q { width: 22px; }
  .accordion__panel p { padding: 0 16px 18px 50px; }
}

/* =========================================================
   CLOSING IMAGE + FOOTER
   ========================================================= */
.closing-image { position: relative; background: var(--blue); }
.closing-image img { width: 100%; height: clamp(260px, 34vw, 520px); object-fit: cover; object-position: 60% 50%; }
/* Fade in from the white section above and dissolve into the blue footer below */
.closing-image::before, .closing-image::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.closing-image::before { top: 0; height: 22%; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0)); }
.closing-image::after { bottom: 0; height: 60%; background: linear-gradient(180deg, rgba(1, 75, 216, 0) 0%, rgba(1, 75, 216, 0.55) 55%, var(--blue) 100%); }
@media (max-width: 700px) { .closing-image img { height: 280px; object-position: 82% 45%; } }

.site-footer { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: clamp(24px, 4vw, 48px) 0 calc(28px + env(safe-area-inset-bottom)); }
.site-footer__decor { position: absolute; inset: 0; pointer-events: none; }
.footer__sq1 { width: 340px; aspect-ratio: 1; right: -110px; top: -40px; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand img { height: 40px; width: auto; margin-bottom: 20px; }
.site-footer__brand p { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; max-width: 38ch; }
.site-footer__col h2 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.site-footer__col h2::before { content: ""; width: 6px; height: 6px; background: var(--red); }
.site-footer__col li + li { margin-top: 6px; }
.site-footer__col a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: #fff; text-decoration: none; font-size: 0.97rem; word-break: break-word; }
.site-footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-wa svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.86rem; color: rgba(255, 255, 255, 0.7); }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: #fff; text-decoration: none; font-weight: 600; }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.to-top:hover svg { transform: translateY(-3px); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .site-footer__grid > .site-footer__col:nth-child(3) { grid-column: 1 / -1; order: 3; }
  .site-footer__grid > .site-footer__col:nth-child(4) { order: 2; }
  .footer__sq1 { display: none; }
}

/* =========================================================
   FLOATING ACTIONS
   ========================================================= */
.fab {
  position: fixed; z-index: 90; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; }
.fab__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; min-width: 52px; padding: 0 18px; border-radius: 14px; text-decoration: none;
  color: #fff; font-weight: 600; font-size: 0.94rem;
  box-shadow: 0 14px 30px -12px rgba(0, 25, 80, 0.55);
  transition: transform .25s var(--ease), box-shadow .25s, background-color .25s;
}
.fab__btn:hover { transform: translateY(-2px); }
.fab__btn svg { width: 22px; height: 22px; }
.fab__btn--wa { background: var(--green); }
.fab__btn--wa:hover { background: var(--green-hover); }
.fab__btn--wa svg { fill: currentColor; }
.fab__btn--enquire { background: var(--blue); }
.fab__btn--enquire:hover { background: var(--blue-deep); }
.fab__btn--enquire svg { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
@media (max-width: 520px) {
  .fab { gap: 10px; }
  .fab__btn { padding: 0; width: 52px; }
  .fab__label { display: none; }
}

/* =========================================================
   DIALOGS (enquiry pop-up + legal)
   ========================================================= */
.dialog-close { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; transition: background .2s, transform .3s var(--ease); }
.dialog-close:hover { background: var(--mist); transform: rotate(90deg); }
.dialog-close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }

.enquiry-dialog, .legal-dialog {
  padding: 0; border: 0; border-radius: 20px; background: var(--white); color: var(--graphite);
  box-shadow: 0 50px 100px -30px rgba(0, 20, 70, 0.6); overflow: hidden;
}
.enquiry-dialog[open], .legal-dialog[open] { display: flex; flex-direction: column; animation: dialogIn .45s var(--ease); }
.enquiry-dialog::backdrop, .legal-dialog::backdrop { background: rgba(0, 25, 80, 0.55); backdrop-filter: blur(4px); }
.enquiry-dialog { width: min(760px, calc(100vw - 32px)); max-height: min(92vh, 980px); max-height: min(92dvh, 980px); }
.enquiry-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 16px 28px; background: linear-gradient(130deg, var(--blue), var(--blue-deep)); color: #fff; }
.enquiry-dialog__kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.enquiry-dialog__title { font-size: 1.3rem; color: #fff; }
.enquiry-dialog__title:focus { outline: none; }
.enquiry-dialog__body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.enquiry-dialog .form-card { box-shadow: none; border-radius: 0; }
.enquiry-dialog .form-card::before, .enquiry-dialog .form-card__head h3 { display: none; }
.legal-dialog { width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); max-height: min(86dvh, 900px); }
.legal-dialog__bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); background: var(--mist); }
.legal-dialog__kicker { flex: 1; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.legal-dialog__link { font-size: 0.86rem; font-weight: 600; color: var(--blue); }
.legal-dialog__body { overflow-y: auto; padding: clamp(24px, 4vw, 44px); overscroll-behavior: contain; }
@media (max-width: 640px) {
  .enquiry-dialog, .legal-dialog { inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; border-radius: 0; margin: 0; }
  .enquiry-dialog__bar { padding: 12px 14px 12px 20px; padding-top: max(12px, env(safe-area-inset-top)); }
  .enquiry-dialog__body { flex: 1; }
}

/* Legal content (dialog + standalone pages) */
.legal h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); margin-bottom: 8px; }
.legal .legal__meta { font-size: 0.88rem; color: var(--grey); margin-bottom: 28px; }
.legal h2 { font-size: 1.18rem; margin: 32px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 0.98rem; }
.legal p + p { margin-top: 0.9em; }
.legal ul { list-style: none; margin: 10px 0; }
.legal ul li { position: relative; padding: 4px 0 4px 20px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; background: var(--blue); }
.legal a { color: var(--blue); font-weight: 600; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(10% 6% 10% 6% round 18px); transition: clip-path 1.3s var(--ease); }
.js [data-reveal="clip"] img { scale: 1.12; transition: scale 1.6s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal="clip"].is-visible { clip-path: inset(0 0 0 0 round 18px); }
.js [data-reveal="clip"].is-visible img { scale: 1; }
/* hover lift on cards must not wait for the reveal delay */
.js .category.is-visible, .js .service.is-visible, .js .accordion__item.is-visible { transition-delay: 0s; }
@media (max-width: 700px) {
  .js .panorama[data-reveal="clip"] { clip-path: inset(10% 0 10% 0); }
  .js .panorama[data-reveal="clip"].is-visible { clip-path: inset(0); }
}

/* ---------- Keyframes ---------- */
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { opacity: 1; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 3px var(--blue); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes itemIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .hero-in, .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal="clip"] { clip-path: none; }
  .js [data-reveal="clip"] img { scale: 1; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee__inner { animation: none; }
  .hotspot__dot::after { display: none; }
}

/* =========================================================
   STANDALONE LEGAL PAGES
   ========================================================= */
.page-legal { background: var(--mist); }
.page-legal__header { background: var(--blue); }
.page-legal__header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.page-legal__header img { height: 34px; width: auto; }
.page-legal__header a.back { color: #fff; font-weight: 600; font-size: 0.92rem; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.page-legal__header a.back:hover { text-decoration: underline; }
.page-legal__main { padding-block: clamp(48px, 8vw, 96px); }
.page-legal__card { max-width: 820px; margin-inline: auto; background: #fff; border-radius: 18px; padding: clamp(24px, 5vw, 56px); box-shadow: 0 30px 60px -45px rgba(0, 35, 110, 0.4); }
.page-legal__footer { background: var(--blue); color: rgba(255, 255, 255, 0.75); font-size: 0.86rem; padding: 24px 0; }
.page-legal__footer .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.page-legal__footer a { color: #fff; }
