/* ==========================================================================
   RO Trust India — site stylesheet
   1. Tokens   2. Base   3. Typography   4. Layout   5. Header & nav
   6. Buttons   7. Hero   8. Components   9. Catalogue   10. Forms
   11. Footer & mobile bar   12. Utilities & motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Palette sampled from the RO Trust logo: royal navy wordmark, aqua and
     slate-blue splash. Variable names kept from v1 so components inherit. */
  --blue-800: #00245a;
  --blue-700: #002f74;
  --blue-600: #003a8c;     /* logo navy: primary actions, links */
  --blue-500: #1d56a3;
  --blue-300: #a9d2e6;
  --blue-100: #ddeef6;
  --blue-50: #f1f8fb;
  --aqua: #72abcb;         /* logo splash */
  --aqua-600: #2c7aa3;     /* aqua dark enough for small text (4.6:1) */
  --aqua-200: #c4e2f0;
  --slate: #5a82b3;        /* logo secondary splash */
  --sky: var(--aqua);
  --navy-900: #071a3d;     /* headings */
  --navy-800: #0d2650;
  --navy-700: #1b3a6b;
  --ink: #031330;          /* darkest sections */
  --text: #26324c;
  --muted: #5b6782;
  --line: #e0e8f1;
  --line-strong: #cbd8e6;
  --white: #ffffff;
  --bg-soft: #f5f9fc;
  --success: #12805c;
  --success-50: #e8f6f0;
  --danger: #c0392b;
  --danger-50: #fdecea;
  --tbc: #b45309;
  --tbc-50: #fff4e5;
  --grad-brand: linear-gradient(120deg, #003a8c 0%, #1d56a3 45%, #2c7aa3 100%);
  --grad-text: linear-gradient(100deg, #003a8c 10%, #2c7aa3 90%);

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Dancing Script", "Segoe Script", cursive;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.12vw, 1.06rem);
  --step-1: clamp(1.12rem, 1.06rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.3vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.3vw, 3.4rem);

  --container: 1240px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section: clamp(3.5rem, 2.5rem + 4.5vw, 6.5rem);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 38, 92, 0.06), 0 4px 14px -6px rgba(13, 38, 92, 0.12);
  --shadow: 0 2px 6px rgba(13, 38, 92, 0.05), 0 18px 40px -16px rgba(13, 38, 92, 0.22);
  --shadow-blue: 0 12px 26px -12px rgba(0, 58, 140, 0.55);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 78px;
}

/* 2. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: 0.75rem 1rem; background: var(--navy-900); color: var(--white); border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.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; }

/* 3. Typography ------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0 0 1rem; color: var(--navy-900); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.hl { color: var(--blue-600); }
p { margin: 0 0 1rem; text-wrap: pretty; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2em; }
li + li { margin-top: 0.4rem; }
strong { font-weight: 700; color: var(--navy-900); }
a { color: var(--blue-600); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-800); }
small { font-size: var(--step--1); }

.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.6; max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow.line::after { content: ""; width: 64px; height: 2px; background: currentColor; opacity: 0.6; }
.center .eyebrow.line::before { content: ""; width: 32px; height: 2px; background: currentColor; opacity: 0.6; }
.center .eyebrow.line::after { width: 32px; }

/* Placeholder marker: information still to be confirmed by RO Trust */
.tbc {
  display: inline;
  padding: 0.05em 0.4em;
  border-radius: 6px;
  background: var(--tbc-50);
  color: var(--tbc);
  font-weight: 600;
  font-size: 0.92em;
  border: 1px dashed rgba(180, 83, 9, 0.45);
}

.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }

/* 4. Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-sm { padding-block: calc(var(--section) * 0.6); }
.bg-soft { background: var(--bg-soft); }
.bg-blue { background: var(--blue-50); }
.bg-navy { background: var(--navy-900); color: #c9d4ee; }
.bg-navy h2, .bg-navy h3, .bg-navy strong { color: var(--white); }
.bg-navy .eyebrow { color: var(--blue-300); }
.bg-navy .muted, .bg-navy .lede { color: #a9b7d8; }

.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.section-head h2 { margin-bottom: 0.75rem; }
.section-head .lede { margin-bottom: 0; }
.section-head.split-head { max-width: none; display: grid; gap: 1rem 2rem; align-items: end; }
@media (min-width: 900px) { .section-head.split-head { grid-template-columns: 1.1fr 1fr; } .section-head.split-head .eyebrow { grid-column: 1 / -1; margin: 0; } }

.grid { display: grid; gap: clamp(1rem, 0.7rem + 1vw, 1.5rem); }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 1.2fr 1fr; }
  .split.wide-right { grid-template-columns: 1fr 1.25fr; }
  .split.top { align-items: start; }
  .split .sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* 5. Header & navigation --------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid transparent; transition: box-shadow 0.25s var(--ease), border-color 0.25s; }
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position mobile menu inside the header's box. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(13, 38, 92, 0.35); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 176px; height: auto; }
.primary-nav { display: flex; align-items: center; flex: 1; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0 auto; padding: 0; }
.nav-list > li { position: relative; margin: 0; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  color: var(--navy-800);
  font-size: 0.97rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}
.nav-link:hover { color: var(--blue-600); }
.nav-link .chev { width: 11px; height: 11px; transition: transform 0.2s var(--ease); }
.nav-link[aria-current]::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.15rem; height: 2px; border-radius: 2px; background: var(--blue-600); }
.nav-link[aria-current] { color: var(--blue-600); }

.nav-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  width: 330px;
  padding: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-panel:hover .nav-panel, .has-panel:focus-within .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-panel:hover .chev, .has-panel:focus-within .chev { transform: rotate(180deg); }
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel li { margin: 0; }
.nav-panel a { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.65rem 0.75rem; border-radius: var(--radius-sm); color: var(--navy-900); text-decoration: none; font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.nav-panel a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-panel a small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.nav-panel .ico { flex-shrink: 0; width: 34px; height: 34px; }
.nav-panel .all { margin-top: 0.3rem; border-top: 1px solid var(--line); padding-top: 0.4rem; }
.nav-panel .all a { color: var(--blue-600); font-size: 0.9rem; }
.nav-panel-cols { width: 640px; }
.nav-panel-cols ul { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(9, auto); grid-auto-flow: column; column-gap: 0.5rem; }
.nav-panel-cols a { align-items: center; font-weight: 500; color: var(--text); }
.nav-panel-cols a::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: #c8d6e3; transition: background 0.2s; }
.nav-panel-cols a:hover::before { background: var(--blue-600); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-call { display: none; }

.menu-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.menu-toggle .bars { position: relative; width: 20px; height: 14px; }
.menu-toggle .bars::before, .menu-toggle .bars::after, .menu-toggle .bars span { content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars span { top: 6px; }
.menu-toggle .bars::after { top: 12px; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-link { padding-inline: 0.6rem; font-size: 0.93rem; }
  .nav-link[aria-current]::after { left: 0.6rem; right: 0.6rem; }
  .brand img { width: 150px; }
}

@media (max-width: 1023px) {
  .brand img { width: 140px; }
  /* No-JS fallback: links wrap under the logo */
  .header-inner { flex-wrap: wrap; padding-block: 0.6rem; }
  .primary-nav { flex-wrap: wrap; }
  .nav-list { flex-wrap: wrap; margin: 0; }
  .nav-panel { display: none; }

  .js .header-inner { flex-wrap: nowrap; padding-block: 0; }
  .js .menu-toggle { display: inline-flex; }
  .js .header-call { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: auto; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue-600); }
  .header-call svg { width: 20px; height: 20px; }
  .js .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1rem var(--gutter) 2rem;
    background: var(--white);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .js .nav-open .primary-nav { visibility: visible; opacity: 1; transform: none; }
  .js .nav-list { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; margin: 0; }
  .js .nav-list > li { border-bottom: 1px solid var(--line); }
  .js .nav-link { width: 100%; padding: 0.95rem 0.25rem; font-size: 1.1rem; font-weight: 700; color: var(--navy-900); }
  .js .nav-link[aria-current]::after { display: none; }
  .js .nav-link .chev { display: none; }
  .js .nav-panel,
  .js .has-panel:hover .nav-panel,
  .js .has-panel:focus-within .nav-panel { position: static; display: block; width: auto; padding: 0 0 0.75rem; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .js .has-panel .nav-panel li { animation: none; }
  .js .nav-panel a { padding: 0.45rem 0.25rem; font-weight: 500; color: var(--muted); }
  .js .nav-panel a small, .js .nav-panel .ico { display: none; }
  .js .nav-panel .all { border: 0; margin: 0; padding: 0; }
  .js .nav-panel-cols ul { display: block; }
  .js .nav-panel-cols a::before { display: none; }
  .js .nav-actions { flex-direction: column; align-items: stretch; order: -1; }
  .js .nav-actions .btn { justify-content: center; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1024px) { .nav-actions .btn-phone { display: none; } }

/* 6. Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.8rem 1.5rem;
  border: 1.5px solid var(--blue-600);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: var(--shadow-blue);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn:hover { color: var(--white); background: var(--blue-700); border-color: var(--blue-700); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn .arrow { width: 17px; height: 17px; transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-lg { min-height: 58px; padding-inline: 1.9rem; font-size: 1.05rem; }
.btn-sm { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn-light { background: var(--white); color: var(--blue-700); border-color: var(--white); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--blue-50); color: var(--blue-800); border-color: var(--blue-50); }
.btn-outline { background: transparent; color: var(--blue-600); box-shadow: none; }
.btn-outline:hover { background: var(--blue-50); color: var(--blue-700); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); box-shadow: none; }
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn[disabled] { opacity: 0.65; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem; }

.play-link { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--navy-900); font-weight: 700; text-decoration: none; }
.play-link .circle { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--white); color: var(--blue-600); box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease); }
.play-link .circle svg { width: 20px; height: 20px; }
.play-link:hover { color: var(--blue-600); }
.play-link:hover .circle { transform: scale(1.06); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--blue-600); font-weight: 700; text-decoration: none; font-size: 0.95rem; background: none; border: 0; padding: 0; }
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--blue-800); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Icon bubble (line icon inside a soft blue circle) */
.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); flex-shrink: 0; }
.ico svg { width: 50%; height: 50%; }
.ico.sq { border-radius: var(--radius); }
.ico.lg { width: 64px; height: 64px; }
.ico.solid { background: var(--blue-600); color: var(--white); }

/* 7. Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: #eef5fd; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.93) 34%, rgba(244,249,255,0.72) 48%, rgba(244,249,255,0) 64%);
}
.hero-wave { position: absolute; z-index: -1; left: 30%; top: -6%; width: 32%; height: 112%; pointer-events: none; opacity: 0.75; }
.hero-inner { position: relative; display: grid; min-height: min(640px, calc(100vh - var(--header-h))); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 2.5rem; }
.hero-copy { max-width: 640px; align-self: center; }
.hero h1 { font-size: clamp(2.3rem, 1.6rem + 3.1vw, 3.9rem); line-height: 1.08; margin-bottom: 1.25rem; }
.hero .lede { color: #3b4767; max-width: 50ch; margin-bottom: 2rem; }
.hero-features { display: grid; gap: 1.25rem; margin: 2.75rem 0 0; padding: 0; list-style: none; width: min(760px, 100%); }
.hero-features li { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0; }
.hero-features .ico { background: rgba(255,255,255,0.85); box-shadow: var(--shadow-sm); }
.hero-features strong { display: block; font-size: 0.98rem; margin-bottom: 0.15rem; }
.hero-features span { font-size: 0.88rem; color: var(--muted); line-height: 1.45; display: block; }
.hero-features a { color: inherit; text-decoration: none; }
.hero-features a:hover strong { color: var(--blue-600); }
@media (min-width: 700px) {
  .hero-features { grid-template-columns: repeat(3, 1fr); gap: 0; width: min(760px, calc(100vw - 2 * var(--gutter))); }
  .hero-features li { padding-right: 1.25rem; }
  .hero-features li + li { padding-left: 1.25rem; border-left: 1px solid var(--line-strong); }
}
.hero-script { position: absolute; top: 24%; left: 56%; font-family: var(--font-script); font-size: clamp(1.4rem, 1rem + 1vw, 2.1rem); line-height: 1.15; color: var(--navy-700); transform: rotate(-10deg); pointer-events: none; }
.hero-script svg { width: 48px; margin: 0.4rem 0 0 3.5rem; color: var(--navy-700); }
.hero-badges {
  position: absolute;
  right: var(--gutter);
  bottom: 12%;
  display: grid;
  gap: 1.1rem;
  width: 190px;
  margin: 0;
  padding: 1.25rem 1.1rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.hero-badges li { display: flex; gap: 0.75rem; align-items: center; margin: 0; }
.hero-badges .ico { width: 42px; height: 42px; background: var(--white); }
.hero-badges strong { display: block; font-size: 0.95rem; line-height: 1.2; }
.hero-badges span { font-size: 0.8rem; color: var(--muted); line-height: 1.35; display: block; }

@media (max-width: 1240px) {
  .hero-script { display: none; }
}
@media (max-width: 1100px) {
  .hero-badges { width: 170px; bottom: 6%; }
}
@media (max-width: 899px) {
  .hero { background: var(--white); }
  .hero::before { display: none; }
  .hero-wave { display: none; }
  .hero-media { position: relative; height: clamp(240px, 58vw, 420px); }
  .hero-media img { object-position: 78% 60%; }
  .hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, #fff, rgba(255,255,255,0)); }
  .hero-inner { min-height: 0; padding-top: 0.5rem; }
  .hero-badges { position: static; width: auto; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 2rem 0 0; padding: 1rem; background: var(--blue-50); border: 0; box-shadow: none; backdrop-filter: none; }
  .hero-badges li { flex-direction: column; text-align: center; gap: 0.4rem; }
}
@media (max-width: 480px) {
  .hero-badges span { display: none; }
}

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); background: linear-gradient(120deg, var(--blue-50) 0%, #ffffff 60%); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,116,236,0.14), rgba(47,116,236,0) 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem); margin-bottom: 1rem; }
.page-hero .lede { margin-bottom: 1.75rem; }
.page-hero-grid { position: relative; z-index: 1; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.25fr 1fr; gap: 3rem; } }
.page-hero .figure-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.5rem; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.page-hero .figure-card img { max-height: 280px; width: auto; }
.page-hero .photo-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.page-hero .photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 60%; }

.breadcrumbs { margin-bottom: 1.25rem; font-size: 0.86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-600); }
.breadcrumbs [aria-current] { color: var(--navy-900); font-weight: 600; }

.hero-points { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; list-style: none; padding: 0; margin: 1.5rem 0 0; font-size: 0.92rem; font-weight: 600; color: var(--navy-800); }
.hero-points li { margin: 0; display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-points svg { width: 18px; height: 18px; color: var(--blue-600); }

/* 8. Components ------------------------------------------------------------- */

/* Quick strip under the hero */
.quick-strip { position: relative; z-index: 2; margin-top: -1px; background: var(--navy-900); color: #c9d4ee; }
.quick-strip ul { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 1.4rem 0; }
.quick-strip li { display: flex; gap: 0.75rem; align-items: center; margin: 0; font-size: 0.93rem; }
.quick-strip strong { color: var(--white); display: block; font-size: 0.98rem; }
.quick-strip .ico { width: 42px; height: 42px; background: rgba(255,255,255,0.08); color: var(--blue-300); }
@media (min-width: 700px) { .quick-strip ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .quick-strip ul { grid-template-columns: repeat(4, 1fr); } }

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  --card-pad: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  padding: var(--card-pad);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.card h3 { margin: 0.25rem 0 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card .link-arrow { margin-top: auto; padding-top: 0.5rem; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card.flat:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .card-link { color: inherit; text-decoration: none; }
.card .card-link:hover { color: var(--blue-600); }
.card.featured { background: linear-gradient(160deg, var(--blue-600), var(--blue-800)); border: 0; color: #dbe6ff; }
.card.featured h3, .card.featured strong { color: var(--white); }
.card.featured p { color: #cfdcfb; }
.card.featured .ico { background: rgba(255,255,255,0.14); color: var(--white); }
.card.featured .link-arrow { color: var(--white); }
.card .num-badge { position: absolute; top: 1.25rem; right: 1.4rem; font-size: 2.4rem; font-weight: 800; color: var(--blue-100); line-height: 1; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: step; }
.steps > li { position: relative; margin: 0; counter-increment: step; text-align: left; }
.steps .step-num { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1rem; border-radius: 50%; background: var(--white); color: var(--blue-600); border: 2px solid var(--blue-100); font-weight: 800; font-size: 1.15rem; position: relative; z-index: 1; box-shadow: var(--shadow-sm); }
.steps .step-num::before { content: counter(step, decimal-leading-zero); }
.steps h3 { margin-bottom: 0.4rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Illustrations: banner on service cards, picture under each step number */
.card-art { display: grid; place-items: center; margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 0; aspect-ratio: 5 / 3; background: radial-gradient(circle at 50% 120%, rgba(114, 171, 203, 0.4), transparent 60%), linear-gradient(160deg, var(--blue-50), #e2f0f8); }
.card-art img { width: 88%; transition: transform 0.5s var(--ease); }
.card:hover .card-art img { transform: scale(1.04); }
.card-art.photo { overflow: hidden; background: var(--blue-50); }
.card-art.photo img { width: 100%; height: 100%; object-fit: cover; }
.product-card .media.photo::before { display: none; }
.product-card .media.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card .media.photo .badge { z-index: 1; }
.card .card-art + .num-badge, .card:hover .card-art + .num-badge { color: rgba(255, 255, 255, 0.92); -webkit-text-stroke: 0; text-shadow: 0 2px 10px rgba(3, 19, 48, 0.45); z-index: 1; }
.page-hero .photo-card.centered img { object-position: center; }
.card-art ~ .ico { margin-top: -2.4rem; position: relative; z-index: 1; border: 4px solid var(--white); box-sizing: content-box; }
.step-art { display: block; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 1rem; padding: 0.75rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--blue-50), #e2f0f8); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .steps.four { grid-template-columns: repeat(4, 1fr); }
  .steps.four > li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 70px; right: -10px; border-top: 2px dashed var(--line-strong); }
}

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23003a8c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 70% no-repeat; }
.check-list.two-col { display: grid; gap: 0.6rem 1.5rem; }
.check-list.two-col li + li { margin: 0; }
@media (min-width: 640px) { .check-list.two-col { grid-template-columns: 1fr 1fr; } }
.bg-navy .check-list li::before { background-color: rgba(255,255,255,0.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238fb6f7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E"); }

/* Media frame for the photo */
.photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo .float-card { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; max-width: 300px; display: flex; gap: 0.8rem; align-items: center; padding: 0.9rem 1rem; background: rgba(255,255,255,0.9); border-radius: var(--radius); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); font-size: 0.9rem; line-height: 1.4; }
.photo .float-card strong { display: block; }

/* Feature rows (icon + text) */
.feature-row { display: flex; gap: 1rem; align-items: flex-start; }
.feature-row h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.feature-row p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.feature-stack { display: grid; gap: 1.5rem; }

/* Water guide tabs */
.tabs-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.tabs-list [role="tab"] { padding: 0.65rem 1.15rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font-weight: 600; font-size: 0.94rem; color: var(--navy-800); }
.tabs-list [role="tab"]:hover { border-color: var(--blue-600); color: var(--blue-600); }
.tabs-list [role="tab"][aria-selected="true"] { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.tab-panel { padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.js .tab-panel[hidden] { display: none; }
.no-js .tab-panel + .tab-panel { margin-top: 1rem; }
.tab-panel dl { display: grid; gap: 1rem; margin: 1.25rem 0 0; }
.tab-panel dl > div { padding: 1rem; background: var(--blue-50); border-radius: var(--radius); }
.tab-panel dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-700); }
.tab-panel dd { margin: 0.3rem 0 0; font-weight: 600; color: var(--navy-900); font-size: 0.95rem; line-height: 1.45; }
@media (min-width: 760px) { .tab-panel dl { grid-template-columns: repeat(3, 1fr); } }

.tds-scale { margin-top: 1.5rem; }
.tds-bar { display: grid; grid-template-columns: 2fr 3fr 3fr 4fr; height: 12px; border-radius: 999px; overflow: hidden; }
.tds-bar span:nth-child(1) { background: #bfe0fb; }
.tds-bar span:nth-child(2) { background: #7fb8f2; }
.tds-bar span:nth-child(3) { background: #2f74ec; }
.tds-bar span:nth-child(4) { background: #0a3f9e; }
.tds-legend { display: grid; grid-template-columns: 2fr 3fr 3fr 4fr; gap: 0.5rem; margin-top: 0.6rem; font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.tds-legend b { display: block; color: var(--navy-900); }
@media (max-width: 600px) { .tds-legend { grid-template-columns: 1fr 1fr; } }
.table-note { margin-top: 0.75rem; font-size: 0.85rem; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.data-table { min-width: 560px; font-size: 0.95rem; }
.data-table th, .data-table td { padding: 0.95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table thead th { background: var(--blue-50); color: var(--navy-800); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.data-table tbody th { color: var(--navy-900); font-weight: 700; }
.data-table.compact { min-width: 0; }

/* Plans */
.plan { display: flex; flex-direction: column; gap: 1rem; height: 100%; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.plan h3 { margin: 0; font-size: 1.35rem; }
.plan .price { font-size: 1.05rem; font-weight: 700; color: var(--navy-900); }
.plan .check-list { flex: 1; font-size: 0.95rem; margin: 0; }
.plan .btn { width: 100%; }
.plan.popular { position: relative; border: 2px solid var(--blue-600); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -13px; left: 2rem; padding: 0.25rem 0.8rem; border-radius: 999px; background: var(--blue-600); color: var(--white); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s; }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23003a8c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center / 55% no-repeat; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-600); }
.faq .answer { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 2.75rem; }
.faq-group > h2 { font-size: var(--step-2); }

/* Notes / callouts */
.note { padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--blue-50); border-left: 4px solid var(--blue-600); font-size: 0.95rem; }
.note p:last-child { margin: 0; }

.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--blue-700), var(--blue-600) 55%, #2f8ef0); color: #dbe6ff; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); display: grid; gap: 1.5rem; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255,255,255,0.07); pointer-events: none; }
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band .btn-row { position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }

/* Credentials (pending verification) */
.facts { display: grid; gap: 1rem; margin: 0; }
.facts > div { padding: 1.25rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.facts dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.facts dd { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--navy-900); }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts.four { grid-template-columns: repeat(4, 1fr); } }

/* In-page section nav */
.chip-nav { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: thin; }
.chip-nav a { flex-shrink: 0; padding: 0.55rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line-strong); color: var(--navy-800); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.chip-nav a:hover { border-color: var(--blue-600); color: var(--blue-600); }

/* 9. Catalogue -------------------------------------------------------------- */
.catalogue-tools { display: grid; gap: 1rem; padding: 1.25rem; margin-bottom: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.no-js .catalogue-tools { display: none; }
.search-field { position: relative; margin: 0; }
.search-field svg { position: absolute; left: 1rem; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-field input { padding-left: 2.9rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.chip-row .label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 0.25rem; }
.chip { min-height: 40px; padding: 0.45rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--navy-800); font-size: 0.9rem; font-weight: 600; }
.chip:hover { border-color: var(--blue-600); color: var(--blue-600); }
.chip[aria-pressed="true"] { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
@media (min-width: 900px) { .catalogue-tools { grid-template-columns: minmax(280px, 1fr) auto; align-items: center; } .catalogue-tools .chip-row.full { grid-column: 1 / -1; } }
.result-count { margin: 0 0 1.25rem; font-size: 0.92rem; color: var(--muted); }

.product-grid { display: grid; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.product-grid > li { margin: 0; }
.product-grid > li[hidden] { display: none; }
@media (min-width: 620px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } .product-grid.four { grid-template-columns: repeat(4, 1fr); } }
.product-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card .media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--blue-50), #e8f1ff); }
.product-card .media img { width: 52%; transition: transform 0.4s var(--ease); }
.product-card:hover .media img { transform: scale(1.05); }
.product-card .media .badge { position: absolute; top: 0.9rem; left: 0.9rem; }
.product-card .body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding: 1.25rem 1.35rem 1.4rem; }
.product-card h3 { margin: 0; font-size: 1.12rem; }
.product-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.product-card .specs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.25rem 0 0; padding: 0; list-style: none; }
.product-card .specs li { margin: 0; }
.product-card .actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; margin-top: auto; padding-top: 0.9rem; }
.badge { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--white); color: var(--blue-700); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; box-shadow: var(--shadow-sm); }
.pill { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--blue-50); color: var(--navy-700); font-size: 0.78rem; font-weight: 600; }
.empty-state { padding: 2.5rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty-state[hidden] { display: none; }
.empty-state .btn-row { justify-content: center; }

/* Product detail rows */
.detail-row { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.detail-row + .detail-row { margin-top: 1.5rem; }
.detail-row .media { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(160deg, var(--blue-50), #e8f1ff); }
.detail-row .media img { width: 62%; }
.detail-row h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
@media (min-width: 900px) { .detail-row { grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: start; } }

/* 10. Forms ----------------------------------------------------------------- */
.form-card { position: relative; padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-card > h2, .form-card > h3 { margin-bottom: 0.35rem; }
.form-card .form-intro { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.35rem; align-content: start; }
.field[hidden] { display: none; }
.field label, .choice-group legend { font-size: 0.9rem; font-weight: 700; color: var(--navy-900); }
.optional { font-weight: 500; color: var(--muted); }
.hint { margin: 0; font-size: 0.82rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="date"], select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
select { padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23003a8c' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus { outline: none; background-color: var(--white); border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(44, 122, 163, 0.18); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); background-color: var(--danger-50); }
.field-error { margin: 0; font-size: 0.84rem; font-weight: 600; color: var(--danger); }
.field-error:empty { display: none; }

.choice-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 0.6rem; }
.choice-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice-options label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg-soft); font-size: 0.9rem; font-weight: 600; color: var(--navy-800); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.choice-options label:hover { border-color: var(--blue-300); }
.choice-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-options label:has(input:checked) { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.choice-options label:has(input:focus-visible) { outline: 3px solid var(--blue-300); outline-offset: 2px; }
.has-error .choice-options label { border-color: rgba(192, 57, 43, 0.5); }

.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.consent input { width: 19px; height: 19px; margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--blue-600); }
.form-footer { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form-footer .small { margin: 0; font-size: 0.82rem; color: var(--muted); max-width: 34ch; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.product-row { padding: 0.75rem 1rem; border-radius: var(--radius-sm); background: var(--blue-50); font-size: 0.93rem; }
.product-row p { margin: 0; }
.product-row[hidden] { display: none; }

.btn .spinner { display: none; width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }


@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin-top: 1.25rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); border-left: 4px solid; font-size: 0.94rem; }
.form-status[hidden] { display: none; }
.form-status.is-error { background: var(--danger-50); border-color: var(--danger); color: #8a2a1f; }
.form-status.is-success { background: var(--success-50); border-color: var(--success); color: #0d5c42; }
.form-status strong { display: block; color: inherit; }
.form-status p { margin: 0.15rem 0 0; }
.form-status a { color: inherit; font-weight: 700; }

.form-success-panel { padding: 0.5rem 0; }
.form-success-panel:focus { outline: none; }
.form-success-panel .mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1rem; border-radius: 50%; background: var(--success-50); color: var(--success); }
.form-success-panel .mark svg { width: 26px; height: 26px; }

.enquiry-dialog { width: min(680px, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; background: transparent; overflow: visible; }
.enquiry-dialog::backdrop { background: rgba(11, 23, 54, 0.55); backdrop-filter: blur(3px); }
.enquiry-dialog .form-card { max-height: calc(100dvh - 1.5rem); overflow-y: auto; }
.dialog-close { position: absolute; top: 0.75rem; right: 0.75rem; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--blue-50); color: var(--navy-900); }
.dialog-close:hover { background: var(--blue-100); }
.dialog-close svg { width: 18px; height: 18px; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: center; margin: 0; }
.contact-list .k { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list .v { color: var(--navy-900); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--blue-600); }

/* 11. Footer & mobile bar --------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #a9b7d8; font-size: 0.94rem; padding-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.site-footer a { color: #d6e0f5; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: 2.25rem; padding-bottom: 3rem; }
.footer-logo { display: inline-block; padding: 0.6rem 0.9rem; background: var(--white); border-radius: var(--radius); margin-bottom: 1.25rem; }
.footer-logo img { width: 170px; }
.footer-brand p { max-width: 36ch; }
.footer-grid h2 { margin-bottom: 1rem; color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: 0.55rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 0.2rem; color: var(--blue-300); flex-shrink: 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-credit .heart { display: inline-block; margin: 0 0.15em; animation: heartbeat 1.6s ease-in-out infinite; }
@keyframes heartbeat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.2); } 40% { transform: scale(0.95); } }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom li + li { margin: 0; }
.site-footer .tbc { background: rgba(255, 196, 120, 0.12); color: #ffc98a; border-color: rgba(255, 196, 120, 0.4); }

.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.6rem; padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(13, 38, 92, 0.4); }
  .mobile-bar .btn { min-height: 46px; padding-inline: 0.75rem; font-size: 0.95rem; }
  body { padding-bottom: 72px; }
  body.nav-open .mobile-bar { display: none; }
}

/* 12. Utilities & motion ---------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.stack > * + * { margin-top: 1rem; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .mobile-bar, .form-card, .cta-band { display: none !important; }
}
.dialog-title { font-size: 1.45rem; padding-right: 3rem; }
.photo img.pos-right { object-position: 85% 60%; }
.grid > .detail-row { margin: 0; }
@media (min-width: 900px) { .detail-row.single { grid-template-columns: 1fr; } }
.part-group + .part-group { margin-top: 3rem; }
.part-group[hidden] { display: none; }
.part-group > h2 { font-size: var(--step-2); display: flex; align-items: center; gap: 0.75rem; }
a.card { color: inherit; text-decoration: none; }
a.card:hover h3 { color: var(--blue-600); }
.container.narrow { max-width: 960px; }
.center .lede { margin-inline: auto; }
.center .btn-row { justify-content: center; }
.hero-script { left: 53%; }
@media (max-width: 600px) {
  .eyebrow { letter-spacing: 0.14em; font-size: 0.74rem; gap: 0.6rem; }
  .eyebrow.line::after { width: 28px; flex-shrink: 0; }
}

/* Form send channels (WhatsApp / email) */
.form-footer { flex-direction: column; align-items: stretch; }
.send-label { margin: 0; font-size: 0.9rem; font-weight: 700; color: var(--navy-900); }
.send-options { display: grid; gap: 0.75rem; }
@media (min-width: 520px) { .send-options { grid-template-columns: 1.2fr 1fr; } }
.send-options .btn { width: 100%; }
.form-footer .small { max-width: none; }
.btn-whatsapp { background: #128c4a; border-color: #128c4a; color: #fff; box-shadow: 0 10px 24px -10px rgba(18, 140, 74, 0.6); }
.btn-whatsapp:hover { background: #0e7a40; border-color: #0e7a40; color: #fff; }
.btn.is-busy .spinner { display: inline-block; }
.btn.is-busy .lead-icon { display: none; }
.form-success-panel .mark.is-pending { background: #e7f6ee; color: #128c4a; }
.form-success-panel .btn-row { margin-top: 0.5rem; }

/* ==========================================================================
   13. Brand & motion layer
   Water-inspired details built on the logo palette: wave dividers, ripples,
   bubbles, a cursor spotlight and staggered reveals. Every animation is
   switched off under prefers-reduced-motion (see the end of this section).
   ========================================================================== */

/* Gradient highlight words, as in the logo's navy-to-aqua splash */
.hl {
  color: var(--blue-600);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow { color: var(--aqua-600); }
.eyebrow.line::after, .center .eyebrow.line::before { background: linear-gradient(90deg, var(--aqua), var(--slate)); opacity: 1; }
::selection { background: var(--aqua-200); color: var(--navy-900); }

/* --- Buttons: brand gradient, light sweep, water ripple on click ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-brand); background-size: 160% 100%; background-position: 0% 50%; border-color: var(--blue-600); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-position 0.5s var(--ease), color 0.2s, border-color 0.2s; }
.btn:hover { background: var(--grad-brand); background-size: 160% 100%; background-position: 100% 50%; border-color: var(--blue-700); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 58, 140, 0.6); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); transform: translateX(-110%); transition: transform 0.8s var(--ease); }
.btn:hover::before { transform: translateX(110%); }
.btn-outline { background: transparent; color: var(--blue-600); border-color: var(--blue-600); }
.btn-outline:hover { background: var(--blue-600); color: var(--white); }
.btn-light { background: var(--white); color: var(--blue-600); border-color: var(--white); }
.btn-light:hover { background: var(--aqua-200); color: var(--navy-900); border-color: var(--aqua-200); }
.btn-ghost-white { background: transparent; }
.btn-ghost-white:hover { background: rgba(255, 255, 255, 0.14); }
.btn-whatsapp, .btn-whatsapp:hover { background: #128c4a; }
.btn-whatsapp:hover { background: #0e7a40; }
.ripple { position: absolute; z-index: -1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); pointer-events: none; animation: ripple 0.7s ease-out forwards; }
.btn-outline .ripple, .btn-light .ripple { background: rgba(114, 171, 203, 0.45); }
@keyframes ripple { to { transform: scale(28); opacity: 0; } }

.play-link .circle { position: relative; color: var(--blue-600); }
.play-link .circle::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--aqua); animation: pulse-ring 2.4s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }

.link-arrow { color: var(--blue-600); background-image: linear-gradient(var(--aqua), var(--aqua)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px; transition: background-size 0.3s var(--ease), color 0.2s; }
.link-arrow:hover { background-size: 100% 2px; }

/* --- Scroll progress + back to top ---------------------------------------- */
.scroll-progress { position: fixed; z-index: 120; top: 0; left: 0; width: 100%; height: 3px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--aqua), var(--slate), var(--blue-600)); pointer-events: none; }
.to-top { position: fixed; z-index: 54; right: 1.25rem; bottom: 1.25rem; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--white); color: var(--blue-600); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); color: var(--aqua-600); }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 3; }
.to-top .track { stroke: var(--blue-100); }
.to-top .bar { stroke: var(--aqua); stroke-linecap: round; stroke-dasharray: 145; stroke-dashoffset: calc(145 - 145 * var(--p, 0)); }
.to-top .arrow-up { position: relative; width: 18px; height: 18px; transform: none; }
@media (max-width: 767px) { .to-top { bottom: calc(80px + env(safe-area-inset-bottom)); right: 0.9rem; width: 46px; height: 46px; } }

/* --- Header ---------------------------------------------------------------- */
.header-inner { transition: min-height 0.3s var(--ease); }
.brand img { transition: width 0.3s var(--ease); }
@media (min-width: 1024px) {
  .site-header.is-scrolled .header-inner { min-height: 66px; }
  .site-header.is-scrolled .brand img { width: 150px; }
}
.nav-link::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.2rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--aqua), var(--blue-600)); transform: scaleX(0); transform-origin: center; transition: transform 0.3s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current]::after { transform: scaleX(1); }
.nav-link[aria-current]::after { background: linear-gradient(90deg, var(--aqua), var(--blue-600)); }
.nav-panel { border-top: 3px solid var(--aqua); }
.has-panel:hover .nav-panel li, .has-panel:focus-within .nav-panel li { animation: drop-in 0.35s var(--ease) both; }
.nav-panel li:nth-child(2) { animation-delay: 0.04s !important; }
.nav-panel li:nth-child(3) { animation-delay: 0.08s !important; }
.nav-panel li:nth-child(4) { animation-delay: 0.12s !important; }
.nav-panel li:nth-child(5) { animation-delay: 0.16s !important; }
.nav-panel li:nth-child(6) { animation-delay: 0.2s !important; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-panel a:hover .ico { background: var(--blue-600); color: var(--white); }
.nav-panel .ico { transition: background 0.2s, color 0.2s; }
@media (max-width: 1023px) {
  .js .nav-link::after { display: none; }
  .js .nav-open .nav-list > li { animation: drop-in 0.4s var(--ease) both; }
  .js .nav-open .nav-list > li:nth-child(2) { animation-delay: 0.04s; }
  .js .nav-open .nav-list > li:nth-child(3) { animation-delay: 0.08s; }
  .js .nav-open .nav-list > li:nth-child(4) { animation-delay: 0.12s; }
  .js .nav-open .nav-list > li:nth-child(5) { animation-delay: 0.16s; }
  .js .nav-open .nav-list > li:nth-child(6) { animation-delay: 0.2s; }
}

/* --- Home hero: entrance, floating glass card, bubbles, swaying wave ------- */
.hero { background: #eaf4fa; }
.hero-media img { animation: slow-zoom 22s ease-in-out infinite alternate; transform-origin: 75% 60%; }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.34s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-badges { animation: rise 1s 0.5s var(--ease) both, bob 7s 1.5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-badges li { transition: transform 0.25s var(--ease); }
.hero-badges li:hover { transform: translateX(-4px); }
.hero-badges .ico { color: var(--blue-600); border: 1px solid var(--blue-100); }
.hero-script { animation: rise 1s 0.7s var(--ease) both; color: var(--blue-600); }
.hero-wave path:first-of-type { animation: sway 10s ease-in-out infinite alternate; transform-origin: center; }
@keyframes sway { from { transform: translateX(-12px) skewX(-2deg); } to { transform: translateX(12px) skewX(2deg); } }
.hero-features .ico { color: var(--blue-600); transition: transform 0.3s var(--ease), background 0.3s, color 0.3s; }
.hero-features li:hover .ico { transform: translateY(-3px) rotate(-6deg); background: var(--blue-600); color: var(--white); }
.hero-bubbles { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bubbles span { position: absolute; bottom: -40px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.35) 40%, rgba(114, 171, 203, 0.25) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); animation: bubble linear infinite; }
@keyframes bubble { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 0.9; } 50% { transform: translate(14px, -45vh); } 100% { transform: translate(-10px, -95vh); opacity: 0; } }

/* --- Wave dividers -------------------------------------------------------- */
.quick-strip { background: var(--ink); }
.quick-strip::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 34' preserveAspectRatio='none'%3E%3Cpath d='M0 34V20C180 2 360 2 540 14s360 22 540 8 270-18 360-14v26z' fill='%23031330'/%3E%3C/svg%3E") 0 100% / 100% 100% no-repeat; pointer-events: none; }
.quick-strip li { padding: 0.35rem; border-radius: var(--radius); transition: background 0.3s; }
.quick-strip li:hover { background: rgba(255, 255, 255, 0.05); }
.quick-strip .ico { color: var(--aqua); background: rgba(114, 171, 203, 0.12); }
.site-footer { position: relative; background: radial-gradient(900px 300px at 85% 0%, rgba(114, 171, 203, 0.14), transparent 70%), var(--ink); margin-top: 40px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C240 4 420 0 660 14s420 26 600 14c80-6 140-14 180-18v30z' fill='%23031330'/%3E%3C/svg%3E") 0 100% / 100% 100% no-repeat; pointer-events: none; }
.site-footer .footer-grid a { display: inline-block; transition: color 0.2s, transform 0.25s var(--ease); }
.site-footer .footer-grid ul:not(.footer-contact) a:hover { color: var(--aqua); transform: translateX(4px); }
.footer-grid h2 { position: relative; padding-bottom: 0.6rem; }
.footer-grid h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--aqua); }
.footer-contact svg { color: var(--aqua); }

/* --- Inner page hero: navy with ripple rings and a wave edge --------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  color: #c9dbeb;
  border-bottom: 0;
  padding-bottom: calc(clamp(2.5rem, 2rem + 3vw, 4.5rem) + 30px);
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(114, 171, 203, 0.38), transparent 60%),
    radial-gradient(700px 380px at -5% 115%, rgba(90, 130, 179, 0.35), transparent 60%),
    linear-gradient(135deg, #00245a 0%, #003a8c 58%, #0e4b92 100%);
}
.page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 34px); -webkit-mask-image: radial-gradient(circle at 92% 18%, #000 0, transparent 55%); mask-image: radial-gradient(circle at 92% 18%, #000 0, transparent 55%); animation: ripple-rings 9s linear infinite; }
@keyframes ripple-rings { from { background-size: 100% 100%; } to { background-size: 112% 112%; } }
.page-hero::after { top: auto; right: 0; left: 0; bottom: -1px; width: 100%; height: 38px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'%3E%3Cpath d='M0 38V22C200 2 400 0 640 14s420 24 620 12c80-5 140-12 180-16v28z' fill='%23ffffff'/%3E%3C/svg%3E") 0 100% / 100% 100% no-repeat; }
.page-hero h1 { color: var(--white); }
.page-hero .hl { background: linear-gradient(100deg, #d4ecf8 10%, #72abcb 90%); -webkit-background-clip: text; background-clip: text; color: #9fd0ea; }
.page-hero .lede, .page-hero .muted { color: #c3d6e8; }
.page-hero .eyebrow { color: var(--aqua); }
.page-hero .breadcrumbs ol, .page-hero .breadcrumbs a { color: #9fbbd6; }
.page-hero .breadcrumbs a:hover { color: var(--white); }
.page-hero .breadcrumbs [aria-current] { color: var(--white); }
.page-hero .breadcrumbs li + li::before { color: #5f86b3; }
.page-hero .hero-points { color: #e3eef7; }
.page-hero .hero-points svg { color: var(--aqua); }
.page-hero .btn:not(.btn-outline) { background: var(--white); color: var(--blue-600); border-color: var(--white); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.45); }
.page-hero .btn:not(.btn-outline):hover { background: var(--aqua-200); color: var(--navy-900); }
.page-hero .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.page-hero .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: var(--white); }
.page-hero .ripple { background: rgba(114, 171, 203, 0.45); }
.page-hero .figure-card { position: relative; background: linear-gradient(160deg, #ffffff, #eaf5fb); border: 6px solid rgba(255, 255, 255, 0.12); background-clip: padding-box; animation: rise 0.9s 0.15s var(--ease) both, bob 8s 1.2s ease-in-out infinite; }
.page-hero .photo-card { border: 6px solid rgba(255, 255, 255, 0.12); animation: rise 0.9s 0.15s var(--ease) both; }
.page-hero-grid > div:first-child > * { animation: rise 0.8s var(--ease) both; }
.page-hero-grid > div:first-child > *:nth-child(2) { animation-delay: 0.05s; }
.page-hero-grid > div:first-child > *:nth-child(3) { animation-delay: 0.1s; }
.page-hero-grid > div:first-child > *:nth-child(4) { animation-delay: 0.15s; }
.page-hero-grid > div:first-child > *:nth-child(5) { animation-delay: 0.2s; }
.page-hero-grid > div:first-child > *:nth-child(6) { animation-delay: 0.25s; }
.page-hero .chip-nav a { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); color: var(--white); }
.page-hero .chip-nav a:hover { background: var(--white); color: var(--blue-600); }

/* --- Cards: accent line, cursor spotlight, lively icons -------------------- */
.card, .product-card, .plan { --mx: 50%; --my: 0%; }
.card { overflow: hidden; }
.card::before, .plan::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--aqua), var(--blue-600)); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); pointer-events: none; z-index: 1; }
.card:hover::before, .plan:hover::before { transform: scaleX(1); }
.card::after, .product-card .media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(114, 171, 203, 0.16), transparent 45%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card:hover::after, .product-card:hover .media::after { opacity: 1; }
.card .card-link::after { z-index: 2; }
.card .ico { transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s; }
.card:hover .ico { background: var(--blue-600); color: var(--white); transform: rotate(-8deg) scale(1.06); box-shadow: 0 0 0 8px rgba(114, 171, 203, 0.18); }
.card.featured { background: var(--grad-brand); background-size: 200% 200%; animation: gradient-drift 12s ease-in-out infinite alternate; }
.card.featured:hover .ico { background: var(--white); color: var(--blue-600); }
.card.featured::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.16), transparent 45%); }
@keyframes gradient-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.card .num-badge { color: var(--blue-50); -webkit-text-stroke: 1px var(--blue-100); transition: color 0.3s, transform 0.4s var(--ease); }
.card:hover .num-badge { color: var(--aqua-200); transform: translateY(-4px); }
.card.flat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.plan { position: relative; overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.popular { border-color: var(--aqua); }
.plan .ribbon { background: var(--grad-brand); }
.plan.popular { overflow: visible; }
.feature-row .ico { transition: transform 0.35s var(--ease), background 0.3s, color 0.3s; }
.feature-row:hover .ico { transform: translateY(-3px) rotate(-6deg); background: var(--blue-600); color: var(--white); }
.ico { color: var(--blue-600); }

/* Product cards */
.product-card { position: relative; }
.product-card .media { overflow: hidden; background: radial-gradient(circle at 50% 120%, rgba(114, 171, 203, 0.45), transparent 60%), linear-gradient(160deg, var(--blue-50), #e2f0f8); }
.product-card .media::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 45% 45% 55% 55%; background: rgba(255, 255, 255, 0.6); animation: blob 14s ease-in-out infinite alternate; }
@keyframes blob { 0% { border-radius: 42% 58% 55% 45% / 45% 45% 55% 55%; transform: rotate(0deg); } 100% { border-radius: 58% 42% 45% 55% / 55% 55% 45% 45%; transform: rotate(40deg); } }
.product-card .media img { position: relative; transition: transform 0.5s var(--ease), filter 0.5s; }
.product-card:hover .media img { transform: translateY(-8px) scale(1.06); filter: drop-shadow(0 18px 18px rgba(0, 58, 140, 0.18)); }
.product-card .badge { z-index: 1; background: var(--blue-600); color: var(--white); }
.product-card h3 { transition: color 0.2s; }
.product-card:hover h3 { color: var(--blue-600); }
.pill { background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100); }
.detail-row { transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.detail-row:hover { box-shadow: var(--shadow); }
.detail-row .media, .page-hero .figure-card { overflow: hidden; }

/* Photos */
.photo img { transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.05); }
.photo .float-card { animation: bob 7s ease-in-out infinite; }
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); pointer-events: none; }

/* Steps: connector draws in when revealed, numbers fill on hover */
.steps .step-num { color: var(--blue-600); border-color: var(--blue-100); transition: background 0.3s, color 0.3s, transform 0.35s var(--ease), box-shadow 0.3s; }
.steps > li:hover .step-num { background: var(--blue-600); color: var(--white); transform: scale(1.08); box-shadow: 0 0 0 8px rgba(114, 171, 203, 0.2); }
@media (min-width: 1000px) {
  .steps.four > li:not(:last-child)::after { border-top: 2px dashed var(--aqua); transform: scaleX(1); transform-origin: left; transition: transform 1s 0.3s var(--ease); }
  .js .steps.four > li.reveal:not(.is-visible)::after { transform: scaleX(0); }
}

/* FAQ */
.faq details { transition: border-color 0.2s, box-shadow 0.3s, transform 0.3s var(--ease); }
.faq details:hover { border-color: var(--blue-100); transform: translateX(3px); }
.faq details[open] { border-left: 3px solid var(--aqua); }
.faq details[open] .answer { animation: drop-in 0.35s var(--ease); }
.faq summary::after { background-color: var(--blue-50); }

/* Tables */
.data-table tbody tr { transition: background 0.2s; }
.data-table tbody tr:hover { background: var(--blue-50); }
.data-table thead th { background: linear-gradient(90deg, var(--blue-50), #eaf5fb); color: var(--blue-600); }

/* Tabs */
.tabs-list [role="tab"] { transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.tabs-list [role="tab"]:hover { transform: translateY(-2px); }
.tabs-list [role="tab"][aria-selected="true"] { background: var(--grad-brand); border-color: var(--blue-600); box-shadow: var(--shadow-blue); }
.tab-panel:not([hidden]) { animation: drop-in 0.4s var(--ease); }
.tab-panel dl > div { border-left: 3px solid var(--aqua); }

/* Chips */
.chip { transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.chip:hover { transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--blue-600); border-color: var(--blue-600); }
.product-grid > li { animation: drop-in 0.35s var(--ease) both; }
.choice-options label:has(input:checked) { background: var(--blue-600); border-color: var(--blue-600); }
.choice-options label { transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease); }
.choice-options label:hover { transform: translateY(-1px); }

/* CTA band: drifting brand gradient and ripple rings */
.cta-band { background: linear-gradient(120deg, #00245a, #003a8c 45%, #2c7aa3); background-size: 200% 200%; animation: gradient-drift 14s ease-in-out infinite alternate; }
.cta-band::before { content: ""; position: absolute; right: 8%; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.12); animation: pulse-ring 5s ease-out infinite; pointer-events: none; }
.cta-band::after { border-color: rgba(114, 171, 203, 0.18); }

/* Quick reassurance strip + section accents */
.section-head h2 { position: relative; }
.bg-blue { background: linear-gradient(180deg, #eef7fb, #f6fbfd); }
.form-card { border-top: 4px solid var(--aqua); }
.dialog-close { transition: transform 0.25s var(--ease), background 0.2s; }
.dialog-close:hover { transform: rotate(90deg); }
.enquiry-dialog[open] .form-card { animation: rise 0.4s var(--ease); }
.contact-list .ico { transition: transform 0.3s var(--ease), background 0.3s, color 0.3s; }
.contact-list li:hover .ico { background: var(--blue-600); color: var(--white); transform: rotate(-8deg); }
.mobile-bar .btn-outline { background: var(--white); }

/* --- Marquee band ---------------------------------------------------------- */
.marquee { position: relative; overflow: hidden; padding: 1.4rem 0; background: var(--ink); border-block: 1px solid rgba(114, 171, 203, 0.2); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(169, 210, 230, 0.7); transition: color 0.3s; }
.marquee-track span.filled { color: var(--aqua); -webkit-text-stroke: 0; }
.marquee-track span:hover { color: var(--white); }
.marquee-track i { flex-shrink: 0; width: 14px; height: 20px; background: var(--slate); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: path("M7 0C7 0 0 9 0 13a7 7 0 0 0 14 0C14 9 7 0 7 0z"); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Interactive TDS meter ------------------------------------------------- */
.tds-meter { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; margin-top: 2rem; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (min-width: 800px) { .tds-meter { grid-template-columns: 220px 1fr; } }
.tds-glass { position: relative; width: min(200px, 60vw); margin-inline: auto; }
.tds-glass svg { width: 100%; height: auto; overflow: visible; }
.tds-glass .water { fill: var(--water, #9fd0ea); transition: fill 0.5s; }
.tds-glass .particles circle { fill: #8a7a52; opacity: 0; transition: opacity 0.4s; }
.tds-glass .particles circle.on { opacity: 0.55; animation: float-p 4s ease-in-out infinite alternate; }
.tds-glass .particles circle:nth-child(3n).on { animation-duration: 5.5s; }
.tds-glass .particles circle:nth-child(2n).on { animation-delay: -2s; }
@keyframes float-p { to { transform: translateY(-8px); } }
.tds-glass .surface { animation: sway 4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.tds-label { display: block; font-weight: 700; color: var(--navy-900); margin-bottom: 0.25rem; }
.tds-value { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.75rem; }
.tds-value output { font-size: clamp(2.6rem, 2rem + 3vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: var(--blue-600); -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.tds-value span { font-weight: 600; color: var(--muted); }
.tds-range { width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.tds-range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #bfe3f5 0%, #72abcb 16%, #2c7aa3 33%, #003a8c 66%, #8a5a2b 100%); }
.tds-range::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #bfe3f5 0%, #72abcb 16%, #2c7aa3 33%, #003a8c 66%, #8a5a2b 100%); }
.tds-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%; background: var(--white); border: 4px solid var(--blue-600); box-shadow: 0 4px 12px rgba(0, 58, 140, 0.35); transition: transform 0.2s; }
.tds-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--blue-600); box-shadow: 0 4px 12px rgba(0, 58, 140, 0.35); }
.tds-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.tds-range:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 4px; border-radius: 999px; }
.tds-ticks { display: flex; justify-content: space-between; margin-top: 0.35rem; font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tds-result { margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--blue-50); border-left: 4px solid var(--level, var(--aqua)); transition: border-color 0.4s; }
.tds-result strong { display: block; color: var(--navy-900); margin-bottom: 0.2rem; }
.tds-result p { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.95rem; }
.tds-result.flash { animation: drop-in 0.35s var(--ease); }

/* --- Reveal variants with stagger ------------------------------------------ */
.js .reveal { transition-delay: var(--delay, 0s); }
.js .reveal.zoom { transform: scale(0.96); }
.js .reveal.zoom.is-visible { transform: none; }

/* --- Reduced motion: stop everything decorative ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-iteration-count: 1 !important; animation-delay: 0s !important; }
  .marquee-track { animation: none !important; }
  .hero-bubbles { display: none; }
  .btn::before { display: none; }
}

/* Product listing pages (/products/) ------------------------------------- */
.catalog-crumbs { padding-block: 1.1rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.catalog-crumbs .breadcrumbs { margin: 0; font-size: 0.95rem; }
.catalog { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) var(--section); background: var(--bg-soft); }
.catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 1.5rem; align-items: start; }

.catalog-side { position: sticky; top: 96px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.side-head { display: flex; align-items: center; gap: 0.7rem; padding: 1.1rem 1.25rem; background: var(--grad-brand); color: var(--white); }
.side-head svg { flex-shrink: 0; width: 22px; height: 22px; }
.side-head h1 { margin: 0; color: inherit; font-size: 1.2rem; line-height: 1.25; }
.side-body { padding: 1.1rem 0.9rem 0.9rem; }
.side-title { margin: 0 0.4rem 0.7rem; font-size: 1rem; }
.sub-list { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 520px); overflow-y: auto; }
.sub-list li { margin: 0; }
.sub-list button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0.8rem; border: 1px solid transparent; border-radius: var(--radius-sm); background: none; color: var(--text); font: inherit; font-size: 0.95rem; text-align: left; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.sub-list button:hover { background: var(--blue-50); color: var(--blue-600); }
.sub-list button[aria-pressed="true"] { background: var(--blue-50); border-color: var(--blue-300); color: var(--blue-600); font-weight: 700; }
.sub-count { flex-shrink: 0; min-width: 1.8rem; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: 0.78rem; font-weight: 600; text-align: center; }
.sub-list button[aria-pressed="true"] .sub-count { background: var(--blue-600); color: var(--white); }

.catalog-intro { margin: 0 0 1rem; color: var(--muted); }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; padding: 1rem 1.1rem; margin-bottom: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.catalog-search { position: relative; flex: 1 1 160px; margin: 0; }
.catalog-search svg { position: absolute; left: 0.95rem; top: 50%; width: 18px; height: 18px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.catalog-search input { width: 100%; padding-left: 2.7rem; }
.catalog-count { padding: 0.55rem 0.9rem; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--navy-900); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.catalog-filter { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-weight: 600; font-size: 0.92rem; color: var(--navy-900); }
.catalog-filter select { width: auto; min-width: 130px; }
.view-toggle { display: flex; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.view-toggle button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--white); color: var(--navy-900); cursor: pointer; }
.view-toggle button + button { border-left: 1px solid var(--line-strong); }
.view-toggle button[aria-pressed="true"] { background: var(--blue-600); color: var(--white); }
.view-toggle svg { width: 18px; height: 18px; }

.sample-note { margin: 0 0 1.25rem; padding: 0.75rem 1rem; border-radius: var(--radius-sm); background: var(--tbc-50); color: var(--tbc); font-size: 0.9rem; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.pcard { display: flex; flex-direction: column; margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s; }
.pcard:hover { transform: translateY(-3px); border-color: var(--blue-100); box-shadow: var(--shadow); }
.pcard-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(160deg, var(--blue-50), #e2f0f8); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.pcard-media img[src$=".svg"] { width: 72%; height: 72%; object-fit: contain; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-stock { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 6px; font-size: 0.78rem; font-weight: 600; background: var(--success-50); color: var(--success); }
.pcard-media .pcard-stock { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; }
.pcard-stock.is-low { background: var(--tbc-50); color: var(--tbc); }
.pcard-stock.is-order { background: var(--blue-50); color: var(--blue-600); }
.pcard-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 0.55rem; padding: 1.1rem 1.15rem 1.25rem; }
.pcard-brand { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 6px; background: var(--blue-50); color: var(--blue-600); font-size: 0.8rem; font-weight: 600; }
.pcard-name { margin: 0; font-size: 1.02rem; line-height: 1.4; }
.pcard-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.6rem; margin: 0; }
.pcard-price strong { color: var(--navy-900); font-size: 1.3rem; font-weight: 800; }
.pcard-price s { color: var(--muted); font-size: 0.92rem; }
.pcard-save { padding: 0.15rem 0.5rem; border-radius: 6px; background: var(--success-50); color: var(--success); font-size: 0.8rem; font-weight: 700; }
.pcard-note { display: flex; align-items: center; gap: 0.4rem; margin: 0; color: var(--muted); font-size: 0.84rem; }
.pcard-note svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--aqua-600); }
.pcard-actions { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; width: 100%; margin-top: auto; padding-top: 0.5rem; }
.pcard-actions .btn { padding-inline: 0.9rem; }
.pcard-actions .btn svg { width: 17px; height: 17px; }

.product-grid.is-list { grid-template-columns: 1fr; }
.product-grid.is-list .pcard { flex-direction: row; }
.product-grid.is-list .pcard-media { flex: 0 0 240px; aspect-ratio: auto; min-height: 200px; }
.product-grid.is-list .pcard-actions { grid-template-columns: auto auto; justify-content: start; }

.catalog-empty { padding: 2.5rem 1.5rem; text-align: center; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.catalog-empty p { margin: 0 0 1rem; }

.quick-view { width: min(860px, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.quick-view::backdrop { background: rgba(11, 23, 54, 0.55); backdrop-filter: blur(3px); }
.quick-view[open] { animation: rise 0.4s var(--ease); }
.qv-body { display: grid; grid-template-columns: 1fr 1.1fr; }
.qv-media { display: grid; place-items: center; min-height: 280px; background: linear-gradient(160deg, var(--blue-50), #e2f0f8); }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-media img[src$=".svg"] { width: 70%; height: auto; object-fit: contain; }
.qv-info { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 2rem 1.75rem 1.75rem; }
.qv-info h2 { margin: 0; padding-right: 2.5rem; font-size: var(--step-2); }
.qv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0; color: var(--muted); font-size: 0.9rem; }
.qv-info .check-list { margin: 0.25rem 0 0.5rem; }

@media (max-width: 1023px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-side { position: static; }
  .side-body { padding: 0.75rem; }
  .side-title { display: none; }
  .sub-list { display: flex; gap: 0.5rem; max-height: none; overflow-x: auto; padding-bottom: 0.25rem; }
  .sub-list button { width: auto; white-space: nowrap; border-color: var(--line); }
}
@media (max-width: 640px) {
  .catalog-toolbar { padding: 0.85rem; }
  .catalog-count, .view-toggle { order: 1; }
  .view-toggle { margin-left: auto; }
  .catalog-filter { order: 2; }
  .catalog-filter { flex: 1 1 100%; justify-content: space-between; }
  .catalog-filter select { flex: 1; min-width: 0; }
  .product-grid.is-list .pcard { flex-direction: column; }
  .product-grid.is-list .pcard-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .qv-body { grid-template-columns: 1fr; }
  .qv-media { min-height: 200px; max-height: 240px; }
}

/* Blog (/blog.html, /blog/) ----------------------------------------------- */
.blog-chips { margin-top: 1.5rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.post-card { margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s; }
.post-card:hover { transform: translateY(-3px); border-color: var(--blue-100); box-shadow: var(--shadow); }
.post-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--blue-50); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 0.55rem; padding: 1.15rem 1.25rem 1.3rem; }
.post-card-body h2, .post-card-body h3 { margin: 0; font-size: 1.08rem; line-height: 1.4; color: var(--navy-900); }
.post-card:hover h2, .post-card:hover h3 { color: var(--blue-600); }
.post-card-body p { margin: 0; color: var(--muted); font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-chip { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 6px; background: var(--blue-50); color: var(--blue-600); font-size: 0.78rem; font-weight: 600; }
.post-card-more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.35rem; color: var(--blue-600); font-weight: 700; font-size: 0.9rem; }
.post-card-more .arrow { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.post-card:hover .post-card-more .arrow { transform: translateX(3px); }

.post-hero .post-hero-img img { object-position: center; }
@media (min-width: 900px) { .post-hero .page-hero-grid { grid-template-columns: 1.5fr 1fr; } }
.post-hero .eyebrow a { color: inherit; text-decoration: none; }
.post-hero h1 { font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.7rem); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: 1.25rem 0 0; color: #c3d6e8; font-size: 0.9rem; }
.post-meta span + span::before { content: "\2022"; margin-right: 1.25rem; color: #7fa3c7; }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.post-body { max-width: 760px; }
.post-body > :first-child { margin-top: 0; }
.post-body h2 { scroll-margin-top: 100px; }
.post-body li + li { margin-top: 0.4rem; }
.post-body .table-wrap, .post-body .note, .post-body .faq { margin-block: 1.5rem; }
.post-cover { margin: 0 0 2rem; overflow: hidden; border-radius: var(--radius-lg); background: var(--blue-50); }
.post-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.post-toc { margin: 0 0 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.post-toc-title { margin: 0 0 0.6rem; font-weight: 800; color: var(--navy-900); }
.post-toc ol { margin: 0; padding-left: 1.2rem; }
.post-toc li + li { margin-top: 0.3rem; }
.post-toc a { color: var(--text); text-decoration: none; }
.post-toc a:hover { color: var(--blue-600); text-decoration: underline; }
.post-cta { display: grid; gap: 1.25rem; margin-top: 2.5rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--blue-50), #e2f0f8); border: 1px solid var(--blue-100); }
.post-cta-title { margin: 0 0 0.3rem; font-size: var(--step-1); font-weight: 800; color: var(--navy-900); }
.post-cta p:last-child { margin-bottom: 0; }

.post-side { position: sticky; top: 100px; display: grid; gap: 1rem; }
.post-side-card { display: grid; gap: 0.7rem; padding: 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.post-side-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.post-side-card .post-side-title { font-size: 1.02rem; font-weight: 800; color: var(--navy-900); }
.post-side-links { list-style: none; margin: 0; padding: 0; }
.post-side-links li { margin: 0; border-top: 1px solid var(--line); }
.post-side-links a { display: block; padding: 0.65rem 0; color: var(--text); font-size: 0.92rem; font-weight: 600; line-height: 1.4; text-decoration: none; }
.post-side-links a:hover { color: var(--blue-600); }

@media (max-width: 1023px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* Short enquiry form: optional details tucked away */
.consent-note { margin: 0; font-size: 0.84rem; color: var(--muted); }
.more-details { border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg-soft); }
.more-details > summary { display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.1rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--blue-600); }
.more-details > summary::-webkit-details-marker { display: none; }
.more-details > summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50); border: 1px solid var(--blue-100); font-size: 1rem; line-height: 1; }
.more-details[open] > summary::before { content: "\2212"; }
.more-details[open] { border-style: solid; border-color: var(--line); background: var(--white); }
.more-details > .form-grid { padding: 0.25rem 1.1rem 1.1rem; }

/* --- Phones: shorter home page ---------------------------------------------- */
/* Rows marked data-swipe become a sideways carousel instead of a long stack */
@media (max-width: 699px) {
  :root { --section: 2.75rem; }
  .section-head { margin-bottom: 1.5rem; }

  .js [data-swipe] {
    display: flex;
    gap: 0.9rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.25rem var(--gutter) 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .js [data-swipe]::-webkit-scrollbar { display: none; }
  .js [data-swipe] > * { flex: 0 0 82%; scroll-snap-align: start; }
  /* Cards enter sideways, so the scroll-reveal fade would never fire */
  .js [data-swipe] > .reveal { opacity: 1; transform: none; }
  .js .steps[data-swipe] > li { padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
  .swipe-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.4rem; }
  .swipe-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line-strong); cursor: pointer; transition: width 0.25s var(--ease), background 0.25s; }
  .swipe-dots button.is-active { width: 22px; background: var(--blue-600); }

  /* Small benefit cards sit two to a row */
  .grid.compact-2 { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .compact-2 .card { padding: 1rem; }
  .compact-2 .ico { width: 40px; height: 40px; margin-bottom: 0.6rem; }
  .compact-2 h3 { font-size: 1rem; margin-bottom: 0.25rem; }
  .compact-2 p { font-size: 0.88rem; margin: 0; }

  /* Decorative pictures take less height */
  .photo.tall.short-sm { aspect-ratio: 16 / 10; }
  .tds-glass { width: 120px; }
}
@media (min-width: 700px) { .swipe-dots { display: none; } }
