/* ============================================================
   AQUAJOY — GLOBAL STYLESHEET
   Premium drinking water company website
   Structure mirrors WordPress Elementor:
   [section] > [container] > [row/flex] > [column] > [widget]
   Built mobile-first. Flexbox only. Reusable class naming.
   ============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS  (map 1:1 to Elementor Global Colors / Fonts)
   ------------------------------------------------------------ */
:root {
  /* Brand colors — Infinite Minds identity: red / white / black,
     with dark blue as a secondary accent (matches infinitemindsacademy.com). */
  --c-blue-900: #191a1f;   /* near-black — headings "ink" */
  --c-blue-700: #c8102e;   /* deep red (hover / darker accents) */
  --c-blue:     #ec1a3b;   /* PRIMARY — brand red */
  --c-aqua:     #23346e;   /* secondary — dark blue, used where needed */
  --c-aqua-soft:#e9edf6;   /* light blue-grey wash */
  --c-green:    #23346e;   /* former teal folded into dark blue */
  --c-green-soft:#e9edf6;

  /* Accents — kept in the brand red family so decorative bits stay on-brand. */
  --c-sun:      #ec1a3b;
  --c-sun-soft: #fde7ea;
  --c-coral:    #ec1a3b;
  --c-coral-soft:#fde7ea;
  --c-grape-soft:#f5f5f6;

  /* Neutrals */
  --c-ink:      #26262b;   /* near-black body text */
  --c-ink-soft: #6a6a72;   /* muted grey text */
  --c-mist:     #f7f6f7;   /* very light warm-grey background */
  --c-mist-2:   #f2f1f3;   /* very light grey background */
  --c-line:     #ececed;   /* hairline borders */
  --c-white:    #ffffff;
  --c-charcoal: #141417;   /* dark section background (sister-site style) */

  /* Solid brand fills (gradients removed per client — flat colours only). */
  --grad-brand: #ec1a3b;
  --grad-deep:  #23346e;
  --grad-soft:  var(--c-mist);
  --grad-fun:   var(--c-mist);
  --grad-air:   var(--c-mist);
  --grad-sunny: #ec1a3b;

  /* Typography — Poppins for professional headings, Inter for crisp prose. */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-util:    "Poppins", system-ui, sans-serif;

  --fs-hero:    clamp(2.5rem, 6vw, 4.25rem);
  --fs-h1:      clamp(2.2rem, 5vw, 3.4rem);
  --fs-h2:      clamp(1.75rem, 3.5vw, 2.55rem);
  --fs-h3:      clamp(1.2rem, 2vw, 1.55rem);
  --fs-lead:    clamp(1.05rem, 1.5vw, 1.22rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9rem;
  --fs-eyebrow: 0.8rem;

  /* Spacing scale */
  --s-1: 0.5rem;  --s-2: 1rem;   --s-3: 1.5rem;
  --s-4: 2rem;    --s-5: 3rem;   --s-6: 4rem;   --s-7: 6rem;
  --section-y: clamp(4rem, 8vw, 7rem);
  /* One consistent gutter for every two-column section across the site */
  --col-gap: clamp(2rem, 5vw, 4rem);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Radius */
  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(84, 58, 168, 0.08);
  --shadow:    0 14px 34px rgba(84, 58, 168, 0.13);
  --shadow-lg: 0 28px 64px rgba(84, 58, 168, 0.18);

  /* Header */
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--c-blue); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--c-blue-700); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-blue-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance; /* even out heading lines; avoids a single word dropping alone */
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { margin: 0 0 1rem; text-wrap: pretty; /* avoids leaving a single word on the last line */ }
p:last-child { margin-bottom: 0; }

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

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--c-blue-900); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------
   3. LAYOUT HELPERS  (Elementor: container / inner-container)
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); position: relative; }
/* Anchored sections (e.g. footer deep-links to services.html#office) clear the fixed header */
section[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.section--mist { background: var(--c-mist); }
.section--tint { background: var(--grad-soft); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Flex row that wraps into columns — the Elementor column pattern */
.row { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.row--center { align-items: center; }
.row--between { justify-content: space-between; }
.row--gap-lg { gap: var(--col-gap); }

.col { flex: 1 1 100%; min-width: 0; }
/* On wider screens these become true columns */

/* ------------------------------------------------------------
   4. TYPOGRAPHY UTILITIES
   ------------------------------------------------------------ */
.eyebrow {
  font-family: var(--font-util);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 3px; border-radius: 3px;
  background: var(--grad-brand);
}
.eyebrow--center { justify-content: center; }

.section-title { margin-bottom: 0.6rem; }
.section-intro {
  color: var(--c-ink-soft);
  font-size: var(--fs-lead);
  max-width: 60ch;
}
.lead { font-size: var(--fs-lead); color: var(--c-ink-soft); }

.section-head { max-width: 720px; margin-bottom: var(--s-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-intro { margin-inline: auto; }

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-util);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.2s var(--ease);
  overflow: hidden;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: var(--c-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(19, 128, 201, 0.35);
}
.btn-primary:hover { background: var(--c-blue-700); color: #fff; box-shadow: 0 16px 32px rgba(19, 128, 201, 0.42); }

.btn-gradient {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(20,20,30,0.14);
}
.btn-gradient:hover { color: #fff; box-shadow: 0 10px 22px rgba(20,20,30,0.20); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--c-blue-900);
  border-color: var(--c-line);
}
.btn-secondary:hover { color: var(--c-blue-900); border-color: var(--c-aqua); background: #fff; }

.btn-outline {
  background: transparent;
  color: var(--c-blue);
  border-color: var(--c-blue);
}
.btn-outline:hover { background: var(--c-blue); color: #fff; }

/* Outline buttons placed on dark gradient sections (CTA / heroes) must stay
   high-contrast — white outline instead of blue-on-blue. */
.cta-section .btn-outline,
.hero .btn-outline,
.page-hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.cta-section .btn-outline:hover,
.hero .btn-outline:hover,
.page-hero .btn-outline:hover {
  background: #fff;
  color: var(--c-blue-900);
  border-color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }

.btn-sm { padding: 0.7rem 1.25rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* Ripple (added by script.js) */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.5);
  animation: ripple 0.6s linear;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ------------------------------------------------------------
   6. HEADER  (.site-header > .container > nav)
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 4px 18px rgba(14, 95, 168, 0.07);
  transition: background-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.site-header.is-solid {
  box-shadow: 0 6px 24px rgba(14, 95, 168, 0.11);
}
/* Home page: header is transparent over the hero, turns solid white once scrolled past it */
.site-header--overlay:not(.is-solid) {
  background: rgba(255, 255, 255, 0); /* transparent white -> fades cleanly to #fff, no grey flash */
  box-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: var(--header-h);
}

/* Desktop split nav: left links | center logo | right links + CTA */
.nav-side { display: flex; align-items: center; gap: 1.6rem; flex: 1 1 0; }
.nav-side--left  { justify-content: flex-end; }
.nav-side--right { justify-content: flex-start; }

.nav-link {
  font-family: var(--font-util);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--c-blue-900);
  position: relative;
  padding: 0.4rem 0;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--grad-brand);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--c-blue); }

.nav-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-inline: clamp(1rem, 2.5vw, 1.75rem);
}
.nav-brand img { height: 46px; width: auto; max-width: 200px; }

.nav-cta { flex: 0 0 auto; }
.nav-cta-mobile { display: none; }   /* only shown in the mobile top bar */
.site-header:not(.is-solid) .nav-cta .btn-primary {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.5);
  box-shadow: none;
}
.site-header:not(.is-solid) .nav-cta .btn-primary:hover { background: rgba(255,255,255,0.28); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 46px; height: 46px;
  border: none; background: transparent;
  cursor: pointer; padding: 11px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block; height: 2.5px; width: 100%;
  background: var(--c-blue-900); border-radius: 3px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-menu { display: contents; }

/* Desktop order: left links | logo | right links */
.nav-toggle    { order: 0; }
.nav-side--left { order: 1; }
.nav-brand      { order: 2; }
.nav-side--right{ order: 3; }

@media (max-width: 992px) {
  .nav { position: relative; gap: 0.5rem; }
  .nav-brand {                                        /* logo on the LEFT */
    position: static;
    transform: none; left: auto; top: auto;
    margin: 0;
    order: 0;
  }
  /* Enquire now + burger packed together on the right */
  .nav-cta-mobile { display: inline-flex; order: 1; margin-left: auto; }
  .nav-toggle { display: flex; order: 2; margin-left: 0; }
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    padding: 1.5rem var(--gutter) 2rem;
    gap: 0.4rem;
    box-shadow: var(--shadow);
    /* closed: clipped up out of sight; the clip is anchored to the panel's top
       edge (which sits at the header's bottom), so it opens from below the header */
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    transition: clip-path 0.45s var(--ease), -webkit-clip-path 0.45s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.is-open {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
  }
  .nav-side { flex-direction: column; align-items: stretch; gap: 0; flex: none; width: 100%; }
  .nav-link {
    color: var(--c-blue-900) !important;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--c-line);
    font-size: 1.05rem;
    text-align: center;
  }
  .nav-link::after { display: none; }
  .nav-cta { width: 100%; margin-top: 1rem; }
  .nav-cta .btn { width: 100%; background: var(--c-blue) !important; color: #fff !important; border-color: transparent !important; box-shadow: var(--shadow-sm) !important; }
}

/* ------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  background: var(--grad-deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  /* soft light wash at the bottom for a fresh, watery feel */
  content: "";
  position: absolute; inset: auto 0 0 0; height: 40%;
  background: radial-gradient(120% 90% at 50% 100%, rgba(255,255,255,0.18), transparent 70%);
  z-index: -1;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--c-aqua-soft); }
.hero .eyebrow::before { background: rgba(255,255,255,0.6); }
.hero .lead { color: rgba(255,255,255,0.86); }

/* Home hero as a full banner image with copy over the lighter left side */
.hero--banner {
  background-image: url("assets/images/Hero_Home_.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-color: var(--c-mist);
  color: var(--c-ink);
  min-height: clamp(480px, 72vh, 700px);
  display: flex;
  align-items: center;
}
.hero--banner::after { display: none; }
.hero--banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(248,252,255,0.92) 0%,
      rgba(248,252,255,0.45) 12%,
      rgba(248,252,255,0) 28%),
    linear-gradient(95deg,
      rgba(244,250,254,0.96) 0%,
      rgba(244,250,254,0.82) 34%,
      rgba(244,250,254,0.3) 52%,
      rgba(244,250,254,0) 66%);
  z-index: -1;
}
.hero--banner .container { position: relative; z-index: 1; }
.hero--banner .hero-copy { flex: 0 1 640px; max-width: 640px; }
.hero--banner .hero-title { color: var(--c-blue-900); }
.hero--banner .hero-accent { color: var(--c-blue); }
.hero--banner .eyebrow { color: var(--c-blue); }
.hero--banner .eyebrow::before { background: var(--c-blue); }
.hero--banner .lead { color: var(--c-ink); max-width: 32rem; text-wrap: balance; }
.hero--banner .btn-outline { color: var(--c-blue); border-color: var(--c-blue); }
.hero--banner .btn-outline:hover { background: var(--c-blue); color: #fff; }

@media (max-width: 768px) {
  .hero--banner {
    min-height: auto;
    background-position: 70% bottom;
    padding-bottom: clamp(2rem, 8vw, 3rem);
  }
  .hero--banner::before {
    background: linear-gradient(180deg,
      rgba(244,250,254,0.96) 0%,
      rgba(244,250,254,0.82) 48%,
      rgba(244,250,254,0.5) 100%);
  }
  .hero--banner .hero-copy { max-width: 100%; }
}

/* Floating water bubbles — subtle ambient motion */
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(255,255,255,0.05));
  animation: float 9s ease-in-out infinite;
}
.bubble:nth-child(1) { width: 120px; height: 120px; left: 8%;  top: 22%; animation-duration: 11s; }
.bubble:nth-child(2) { width: 60px;  height: 60px;  left: 22%; top: 64%; animation-duration: 8s;  }
.bubble:nth-child(3) { width: 180px; height: 180px; right: 10%; top: 16%; animation-duration: 13s; }
.bubble:nth-child(4) { width: 44px;  height: 44px;  right: 28%; top: 70%; animation-duration: 7s;  }
.bubble:nth-child(5) { width: 90px;  height: 90px;  right: 4%;  bottom: 8%; animation-duration: 10s; }
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-26px) translateX(10px); }
}

.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: var(--col-gap); }
.hero-copy { flex: 1 1 440px; }
.hero-media { flex: 1 1 360px; display: flex; justify-content: center; }
.hero-title { font-size: var(--fs-hero); margin-bottom: 1.1rem; }
.hero-cta { margin-top: 2rem; }

.hero-product {
  filter: drop-shadow(0 40px 50px rgba(0, 20, 50, 0.45));
  animation: hover-bob 6s ease-in-out infinite;
  max-height: 580px;
  width: auto;
}
@keyframes hover-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* Page hero (inner pages, shorter) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--grad-deep);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero h1 { color: #fff; margin-bottom: 0.6rem; }
.page-hero .eyebrow { color: var(--c-aqua-soft); justify-content: center; }
.page-hero .eyebrow::before { background: rgba(255,255,255,0.6); }
.page-hero .lead { color: rgba(255,255,255,0.85); max-width: 60ch; margin-inline: auto; }
.breadcrumb {
  font-family: var(--font-util);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }

/* ------------------------------------------------------------
   8. CARDS  (.product-card / .service-card / .feature-card)
   ------------------------------------------------------------ */
.card-grid { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: stretch; }
.card-grid > * { flex: 1 1 280px; }
/* 4-up grid: four across on desktop, two on tablet, one on mobile */
.card-grid--4 > * { flex: 1 1 calc(25% - var(--s-4) * 3 / 4); }
@media (max-width: 960px) { .card-grid--4 > * { flex-basis: calc(50% - var(--s-4) / 2); } }
@media (max-width: 600px) { .card-grid--4 > * { flex-basis: 100%; } }

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-aqua-soft);
}
.product-media {
  position: relative;
  background: var(--grad-soft);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
}
.product-media img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-util);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--grad-brand); color: #fff;
  padding: 0.35rem 0.7rem; border-radius: var(--radius-pill);
}
.product-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.product-cat {
  font-family: var(--font-util); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-aqua);
  margin-bottom: 0.4rem;
}
.product-name { font-size: 1.18rem; margin-bottom: 0.5rem; color: var(--c-blue-900); }
.product-desc { font-size: var(--fs-small); color: var(--c-ink-soft); margin-bottom: 1rem; }
.product-price { display: flex; align-items: baseline; gap: 0.6rem; margin-top: auto; margin-bottom: 1.1rem; }
.price-now { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--c-blue); }
.price-was { font-size: 0.95rem; color: var(--c-ink-soft); text-decoration: line-through; }
.price-unit { font-size: 0.8rem; color: var(--c-ink-soft); }
.product-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.product-actions .btn { flex: 1 1 auto; }
/* Simplified home highlight cards (image, name, desc, View product only) */
.product-card--simple .product-actions { margin-top: auto; }

/* Service card */
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-mist-2); color: var(--c-blue);
  margin-bottom: 1.1rem; font-size: 1.6rem;
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { font-size: var(--fs-small); color: var(--c-ink-soft); }

/* Feature card (Why Choose) */
.feature-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--c-line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  flex: 0 0 auto;
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--grad-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.feature-card h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.feature-card p { font-size: var(--fs-small); color: var(--c-ink-soft); margin: 0; }
/* Soft tinted icon theme for all "serve" cards — product "Suitable for" grids and About's "who we serve" grid. (Product "Features" cards keep the gradient base .feature-icon.) */
.serve-grid .feature-icon { background: var(--c-mist-2); color: var(--c-blue); }

/* Two-column split (media + copy): side-by-side on desktop & tablet, stacks on phones */
.split { display: flex; flex-wrap: wrap; gap: var(--col-gap); align-items: center; }
.split__media { flex: 1 1 280px; }
.split__copy  { flex: 1.25 1 340px; }
.split__copy .btn-group { margin-top: 1.5rem; }
.split--start { align-items: flex-start; }
.split__aside { flex: 1 1 300px; }
.split__main  { flex: 1.5 1 380px; }

/* Why-choose split: copy on the left, locked 2x2 feature cards on the right */
.why-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--col-gap);
  align-items: center;
}
.why-copy { flex: 1 1 320px; }
.why-cards {
  flex: 1.3 1 460px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: stretch;
  align-content: stretch;
}
.why-cards > .feature-card { flex: 1 1 calc(50% - var(--s-4) / 2); }
@media (max-width: 520px) {
  .why-cards > .feature-card { flex-basis: 100%; }
}

/* "Who we serve" icon cards: icon + label only, no description */
.serve-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.serve-card { flex: 0 1 calc(50% - 0.375rem); align-items: center; gap: 0.8rem; padding: 0.95rem 1.1rem; }
.serve-card h3 { font-size: 1rem; margin: 0; }
@media (max-width: 560px) {
  .serve-card { gap: 0.55rem; padding: 0.8rem 0.7rem; }
  .serve-card .feature-icon { width: 38px; height: 38px; font-size: 1.05rem; border-radius: 11px; }
  .serve-card h3 { font-size: 0.85rem; }
}
/* 3-up variant for full-width product "Suitable for" sections */
.serve-grid--cols3 > .serve-card { flex: 0 1 calc(33.333% - 0.5rem); }
@media (max-width: 860px) { .serve-grid--cols3 > .serve-card { flex: 0 1 calc(50% - 0.375rem); } }
.serve-head { margin-top: clamp(2.5rem, 6vw, 4rem); }

/* ------------------------------------------------------------
   9. INTRO / SPLIT SECTIONS
   ------------------------------------------------------------ */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--grad-soft);
  border: 1px solid var(--c-line);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.media-frame img { max-height: 500px; max-width: 100%; width: auto; }
/* Photo variant: fill the frame edge-to-edge with rounded corners */
.media-frame--photo { padding: 0; overflow: hidden; background: none; }
.media-frame--photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.media-frame--blue { background: var(--grad-deep); border: none; }

.stat-row { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-4); }
.stat { flex: 1 1 120px; }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-family: var(--font-util); font-size: 0.85rem; color: var(--c-ink-soft); margin-top: 0.3rem; }

/* Intro section: text (wider) on the left, image on the right, metrics full-width below */
.intro-grid { display: flex; flex-wrap: wrap; align-items: center; gap: var(--col-gap); }
.intro-copy { flex: 1.2 1 420px; min-width: 0; }
.intro-media { flex: 1 1 320px; min-width: 0; }
.intro-media .media-frame img { max-height: 420px; }
.stat-row--full {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--c-line);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.stat-row--full .stat { text-align: center; }
@media (max-width: 560px) {
  .stat-row--full { flex-wrap: nowrap; gap: 0.5rem; }
  .stat-row--full .stat { flex: 1 1 0; min-width: 0; }
  .stat-row--full .stat-num { font-size: clamp(1.4rem, 6.5vw, 1.7rem); }
  .stat-row--full .stat-label { font-size: 0.72rem; margin-top: 0.25rem; }
}

.check-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-body); }
.check-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-green-soft); color: var(--c-green);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; margin-top: 3px;
}

/* ------------------------------------------------------------
   10. CTA BANNER
   ------------------------------------------------------------ */
.cta-section {
  position: relative;
  background: var(--grad-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-section::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: transparent;
}
.cta-section h2 { color: #fff; }
.cta-section .lead { color: rgba(255,255,255,0.85); margin-inline: auto; max-width: 56ch; }
.cta-section .btn-group { justify-content: center; margin-top: 1.75rem; }

/* ------------------------------------------------------------
   11. INSTAGRAM GRID
   ------------------------------------------------------------ */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}
.ig-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid rgba(20,20,30,0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.ig-tile::after {
  content: "\f16d"; /* fa instagram */
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-size: 1rem;
  background: rgba(10,58,102,0.78);
  backdrop-filter: blur(10px);
  opacity: 0.92;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.ig-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); border-color: rgba(236,26,59,0.30); }
.ig-tile:hover::after { transform: scale(1.06); background: rgba(24,139,207,0.9); }
.ig-tile:hover img { transform: scale(1.08); }

/* ------------------------------------------------------------
   12. TIMELINE  (About)
   ------------------------------------------------------------ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--c-aqua);
}
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -2rem; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--c-aqua);
  box-shadow: 0 0 0 4px var(--c-mist);
}
.timeline-year { font-family: var(--font-util); font-weight: 700; color: var(--c-blue); font-size: 0.95rem; }
.timeline-item h3 { font-size: 1.15rem; margin: 0.2rem 0 0.4rem; }
.timeline-item p { font-size: var(--fs-small); color: var(--c-ink-soft); margin: 0; }

/* ------------------------------------------------------------
   13. PRODUCT DETAIL PAGE
   ------------------------------------------------------------ */
.product-showcase { display: flex; flex-wrap: wrap; gap: var(--col-gap); align-items: center; }
.showcase-media {
  flex: 1 1 380px;
  background: var(--grad-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex; align-items: center; justify-content: center;
  min-height: 380px;
  box-shadow: var(--shadow);
}
.showcase-media img { max-height: 560px; max-width: 100%; width: auto; filter: drop-shadow(0 30px 40px rgba(14,95,168,0.18)); }
.showcase-info { flex: 1 1 380px; }
.showcase-info .price-now { font-size: 2.2rem; }
.showcase-info .product-price { margin: 1.25rem 0 1.5rem; }
/* Mobile: the tall product image filled an oversized container — shrink it down */
@media (max-width: 768px) {
  .showcase-media { min-height: 0; padding: clamp(1.5rem, 6vw, 2.5rem); }
  .showcase-media img { max-height: 340px; }
}
@media (max-width: 480px) {
  .showcase-media { padding: 1.5rem; }
  .showcase-media img { max-height: 280px; }
}
/* Buy-now offer: discounted price tied to the Buy now action */
.buy-offer {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.7rem;
  background: var(--c-green-soft); border: 1px solid rgba(20,20,30,0.10);
  border-radius: var(--radius); padding: 0.7rem 1rem; margin: -0.5rem 0 1.5rem;
}
.buy-offer > i { color: var(--c-green); font-size: 1.05rem; }
.buy-offer-label { font-family: var(--font-util); font-weight: 600; font-size: 0.85rem; color: #2c6b2e; }
.buy-offer-price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--c-green); }
.buy-offer-save {
  font-family: var(--font-util); font-weight: 600; font-size: 0.78rem; color: #2c6b2e;
  background: #fff; padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); margin-left: auto;
}
/* Rental option box (blue) */
.rent-offer {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.6rem;
  background: var(--c-mist-2); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 0.7rem 1rem; margin: -0.5rem 0 1.5rem;
}
.rent-offer > i { color: var(--c-blue); font-size: 1.05rem; }
.rent-offer-label { font-family: var(--font-util); font-weight: 600; font-size: 0.85rem; color: var(--c-blue-900); }
.rent-offer-price { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1; color: var(--c-blue); }
.rent-offer-unit { font-size: 0.85rem; color: var(--c-ink-soft); }
.tag-pill {
  display: inline-block; font-family: var(--font-util); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-green);
  background: var(--c-green-soft); padding: 0.35rem 0.8rem; border-radius: var(--radius-pill); margin-bottom: 1rem;
}

.spec-list { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.5rem 0; }
.spec-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.spec-list .tick {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px;
  background: var(--c-mist-2); color: var(--c-blue);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; margin-top: 2px;
}

/* Suitable-for chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.chip {
  font-family: var(--font-util); font-size: 0.85rem;
  background: var(--c-mist); border: 1px solid var(--c-line);
  padding: 0.5rem 1rem; border-radius: var(--radius-pill); color: var(--c-blue-900);
}

/* Twin product layout (faucet page) */
.twin-grid { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.twin-card {
  flex: 1 1 300px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: 2rem; text-align: center; box-shadow: var(--shadow-sm);
}
.twin-card .twin-media {
  background: var(--grad-soft); border-radius: var(--radius);
  padding: 2rem; margin-bottom: 1.25rem; min-height: 300px;
  display: flex; align-items: center; justify-content: center;
}
.twin-card .twin-media img { max-height: 280px; width: auto; }

/* ------------------------------------------------------------
   14. FAQ ACCORDION
   ------------------------------------------------------------ */
.faq { display: flex; flex-direction: column; gap: 0.85rem; max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: #fff; overflow: hidden; transition: box-shadow 0.3s var(--ease);
}
.faq-item.is-open { box-shadow: var(--shadow); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--c-blue-900);
  padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q .faq-icon { flex: 0 0 auto; transition: transform 0.3s var(--ease); color: var(--c-blue); }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 1.5rem;
}
.faq-a p { color: var(--c-ink-soft); font-size: var(--fs-small); padding-bottom: 1.25rem; margin: 0; }
.faq-item.is-open .faq-a { max-height: 360px; }

/* ------------------------------------------------------------
   15. PRODUCT LIST TOOLBAR (filter / search)
   ------------------------------------------------------------ */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  margin-bottom: var(--s-5);
}
.search-box {
  position: relative; flex: 1 1 280px; max-width: 360px;
}
.search-box input {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  border: 1px solid var(--c-line); border-radius: var(--radius-pill);
  background: #fff; color: var(--c-ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.search-box input:focus { outline: none; border-color: var(--c-aqua); box-shadow: 0 0 0 4px var(--c-aqua-soft); }
.search-box .search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--c-ink-soft); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-chip {
  font-family: var(--font-util); font-size: 0.9rem; font-weight: 500;
  padding: 0.6rem 1.15rem; border-radius: var(--radius-pill);
  border: 1px solid var(--c-line); background: #fff; color: var(--c-blue-900);
  cursor: pointer; transition: all 0.25s var(--ease);
}
.filter-chip:hover { border-color: var(--c-aqua); }
.filter-chip.is-active { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

.no-results { text-align: center; color: var(--c-ink-soft); padding: 3rem 1rem; display: none; }
.no-results.is-visible { display: block; }

/* ------------------------------------------------------------
   16. FORMS & TABS  (Contact)
   ------------------------------------------------------------ */
.tabs { display: flex; gap: 0.5rem; background: var(--c-mist); padding: 0.4rem; border-radius: var(--radius-pill); max-width: 440px; margin-bottom: var(--s-4); }
.tab-btn {
  flex: 1; font-family: var(--font-util); font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1rem; border: none; border-radius: var(--radius-pill);
  background: transparent; color: var(--c-ink-soft); cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.tab-btn.is-active { background: #fff; color: var(--c-blue); box-shadow: var(--shadow-sm); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade-in 0.4s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.form-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.field-row .field { flex: 1 1 220px; margin-bottom: 1.1rem; }
.field label {
  display: block; font-family: var(--font-util); font-weight: 600;
  font-size: 0.88rem; color: var(--c-blue-900); margin-bottom: 0.45rem;
}
.field label .req { color: var(--c-green); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.98rem;
  padding: 0.85rem 1rem; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  background: var(--c-mist); color: var(--c-ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-aqua); background: #fff; box-shadow: 0 0 0 4px var(--c-aqua-soft);
}
.form-note { font-size: 0.85rem; color: var(--c-ink-soft); margin-top: 0.75rem; }
.form-success {
  display: none; margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  background: var(--c-green-soft); color: #2c6b2e; font-size: 0.92rem;
}
.form-success.is-visible { display: block; }

/* Contact info cards */
.info-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
}
.info-card .info-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.info-card p, .info-card a { font-size: 0.92rem; color: var(--c-ink-soft); margin: 0; }
.info-card a:hover { color: var(--c-blue); }

.map-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line);
  background: #fff; min-height: 320px;
}
.map-frame iframe { width: 100%; height: clamp(320px, 42vh, 460px); border: 0; display: block; }

/* Stacked contact info cards */
.info-stack { display: flex; flex-direction: column; gap: 1rem; margin-bottom: var(--s-4); }

/* Screen-reader-only (visually hidden but accessible) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------
   17. FOOTER
   ------------------------------------------------------------ */
.site-footer {
  background: var(--c-blue-900);
  color: rgba(255,255,255,0.78);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  position: relative;
}
.footer-top { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4rem); }
.footer-brand { flex: 1 1 280px; }
.footer-brand img { height: 60px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: var(--fs-small); color: rgba(255,255,255,0.65); max-width: 34ch; }
.footer-cols { flex: 2 1 480px; display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); }
.footer-col { flex: 1 1 150px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-family: var(--font-util); letter-spacing: 0.04em; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.footer-links a:hover { color: #ec1a3b; }
@media (max-width: 600px) {
  .footer-cols { gap: 1.75rem; }
  .footer-col { flex-basis: 100%; }
}
.footer-social { display: flex; gap: 0.65rem; margin-top: 0.5rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-social a:hover { background: var(--grad-brand); transform: translateY(-3px); }
.footer-bottom {
  width: 100vw; margin-left: 50%; transform: translateX(-50%);
  margin-top: 2.5rem; margin-bottom: -2rem;  /* full-bleed white bar to the very bottom edge */
  padding: 1.15rem max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  background: #fff; border-top: none;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: #6a6a72;
}

/* Floating WhatsApp button (all pages) */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 2.25rem; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ------------------------------------------------------------
   18. SCROLL REVEAL ANIMATION
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ------------------------------------------------------------
   19. RESPONSIVE COLUMN WIDTHS (flex basis breakpoints)
   ------------------------------------------------------------ */
@media (min-width: 768px) {
  .col-2 { flex-basis: calc(50% - var(--s-4) / 2); }
  .col-3 { flex-basis: calc(33.333% - var(--s-4) * 2 / 3); }
  .col-4 { flex-basis: calc(25% - var(--s-4) * 3 / 4); }

}
@media (max-width: 991px) {
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .ig-grid { gap: 0.75rem; }
  .ig-tile::after { width: 1.85rem; height: 1.85rem; font-size: 0.9rem; top: 0.55rem; right: 0.55rem; }
}

/* Wrapped cards keep one-column width and left-align (no lone-card stretch) */
@media (min-width: 600px) {
  .card-grid:not(.card-grid--4) > * { max-width: calc(50% - var(--s-4) / 2); }
}
@media (min-width: 992px) {
  .card-grid:not(.card-grid--4) > * { max-width: calc(33.333% - var(--s-4) * 2 / 3); }
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--s-2); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* ------------------------------------------------------------
   20. REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   AquaJoy update: discounted prices, Instagram cards, About sections
   ------------------------------------------------------------ */
.product-price .price-was {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-ink-soft);
  opacity: 0.82;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}
.product-price .price-was + .price-now { margin-left: 0.15rem; }
.showcase-info .product-price .price-was { font-size: 1.25rem; }
.impact-split, .refund-split { margin-top: var(--s-8); }
.impact-split .split__copy p, .refund-split .split__copy p { margin-bottom: 1.25rem; }
.impact-quote {
  margin: var(--s-8) auto 0;
  max-width: 880px;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: #e9f6fd;
  color: var(--c-blue-dark);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
  border-left: 0;
}

/* ------------------------------------------------------------
   AquaJoy refinement: About CSR + Refund sections
   ------------------------------------------------------------ */
.section-head--wide { max-width: 900px; }
.about-impact-section {
  background: #ffffff;
}
.about-feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}
.about-feature-copy {
  padding: clamp(0.5rem, 2vw, 1.5rem);
}
.about-feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--c-blue);
  font-family: var(--font-util);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-feature-kicker::before {
  content: "";
  width: 32px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
}
.about-feature-copy h3 {
  max-width: 620px;
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}
.about-feature-copy p {
  max-width: 660px;
  color: var(--c-ink);
}
.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.35rem;
}
.impact-stats div {
  padding: 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-mist);
}
.impact-stats strong {
  display: block;
  color: var(--c-blue);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1;
}
.impact-stats span {
  display: block;
  margin-top: 0.35rem;
  color: var(--c-ink-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}
.about-feature-media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
  min-height: 360px;
  box-shadow: var(--shadow-sm);
}
.about-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.impact-quote {
  position: relative;
  max-width: 980px;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding: clamp(1.35rem, 3vw, 2.25rem) clamp(1.25rem, 4vw, 3rem);
  border: 1px solid rgba(20,20,30,0.08);
  border-radius: var(--radius-lg);
  background: var(--c-mist);
  box-shadow: var(--shadow-sm);
  color: var(--c-blue-900);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}
.impact-quote::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: var(--grad-brand);
}
.about-policy-section {
  background: var(--c-mist);
}
.refund-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow);
}
.refund-copy .section-title {
  margin-bottom: 1rem;
}
.refund-copy .lead {
  max-width: 720px;
  color: var(--c-ink-soft);
}
.refund-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}
.refund-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--c-ink);
  font-weight: 500;
}
.refund-list i {
  flex: 0 0 auto;
  margin-top: 0.28rem;
  color: var(--c-green);
}
.refund-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}
.refund-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .about-feature-panel,
  .refund-card {
    grid-template-columns: 1fr;
  }
  .about-feature-media { order: -1; min-height: 280px; }
  .about-feature-media img { min-height: 280px; }
  .refund-media { order: -1; max-height: 360px; }
}
@media (max-width: 640px) {
  .impact-stats { grid-template-columns: 1fr; }
  .about-feature-panel,
  .refund-card {
    border-radius: var(--radius);
    padding: 1rem;
  }
  .about-feature-copy { padding: 0.5rem; }
  .about-feature-media { min-height: 230px; }
  .about-feature-media img { min-height: 230px; }
  .refund-media { aspect-ratio: 1.15 / 1; }
  .impact-quote { text-align: left; }
}

/* AquaJoy About page section reset — match simple original section rhythm */
.about-impact-section {
  background: #fff;
}
.about-policy-section {
  background: var(--c-mist);
}
.about-impact-section .section-head,
.about-policy-section .section-head {
  margin-bottom: clamp(2.8rem, 5vw, 4.2rem);
}
.about-simple-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.about-simple-copy {
  max-width: 620px;
}
.about-simple-copy p {
  margin: 0 0 1.35rem;
  color: var(--c-ink);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.85;
}
.about-simple-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: #fff;
  aspect-ratio: 1.08 / 1;
}
.about-simple-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.impact-quote {
  max-width: 960px;
  margin: clamp(2.4rem, 5vw, 4rem) auto 0;
  padding: clamp(1.5rem, 3.3vw, 2.5rem) clamp(1.5rem, 5vw, 4rem);
  border: 0;
  border-radius: var(--radius-lg);
  background: #e7f5fd;
  box-shadow: none;
  color: var(--c-blue-dark);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.35;
  text-align: center;
}
.impact-quote::before { content: none; }
.refund-simple .about-simple-media {
  aspect-ratio: 1.55 / 1;
}
.refund-simple .about-simple-copy p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--c-ink);
}
@media (max-width: 900px) {
  .about-simple-split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .about-simple-copy {
    max-width: none;
  }
  .about-simple-media {
    order: -1;
    aspect-ratio: 1.35 / 1;
  }
  .refund-simple .about-simple-media {
    aspect-ratio: 1.5 / 1;
  }
}
@media (max-width: 640px) {
  .about-impact-section .section-head,
  .about-policy-section .section-head {
    margin-bottom: 2rem;
  }
  .about-simple-copy p {
    line-height: 1.75;
  }
  .impact-quote {
    text-align: center;
    border-radius: var(--radius-lg);
  }
}

/* Instagram official post embeds */
.ig-embed-grid {
  align-items: start;
}
.ig-embed-card {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(20,20,30,0.08);
  box-shadow: var(--shadow-soft);
  min-height: 420px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ig-embed-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(236,26,59,0.30);
}
.ig-embed-card .instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 991px) {
  .ig-embed-card { min-height: 520px; }
}
@media (max-width: 480px) {
  .ig-embed-card { min-height: 430px; }
}

/* ------------------------------------------------------------
   Fix: gradient buttons showed the wrong end-color at the rounded
   ends because the gradient tiled into the 2px transparent border.
   Fill the full border-box once (applies to every .btn site-wide).
   ------------------------------------------------------------ */
.btn { background-origin: border-box; background-repeat: no-repeat; }

/* ------------------------------------------------------------
   Referral incentive banner (contact page — Refer a Friend form)
   Green offer band, mirrors .buy-offer for consistency.
   ------------------------------------------------------------ */
.referral-perk {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1.1rem;
  background: var(--c-green-soft);
  border: 1px solid rgba(20,20,30,0.10);
  border-radius: var(--radius);
  color: #2c6b2e;
  font-size: var(--fs-body);
  line-height: 1.45;
}
.referral-perk i { flex: none; color: var(--c-green); font-size: 1.15rem; }
.referral-perk strong { font-weight: 700; }

/* ------------------------------------------------------------
   reCAPTCHA v3 (contact form)
   The badge is hidden because it overlaps the WhatsApp float
   button; Google allows this as long as the attribution text
   below (.form-legal) is shown in the form. Do not remove it.
   ------------------------------------------------------------ */
.grecaptcha-badge { visibility: hidden; }

.form-error {
  display: none; margin-top: 1rem; padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: #fdecec; color: #93231f; font-size: 0.92rem;
}
.form-error.is-visible { display: block; }
.form-error i { margin-right: 0.35rem; }

.form-legal { font-size: 0.78rem; line-height: 1.5; color: var(--c-ink-soft); margin-top: 0.75rem; }
.form-legal a { color: inherit; text-decoration: underline; }
.form-legal a:hover { color: var(--c-blue-700); }

/* ============================================================
   IMDC — CHILDREN'S THEME LAYER  (appended)
   Bespoke sections layered on the AquaJoy component system for
   Infinite Minds Development Center. Composes from :root tokens.
   NOTE FOR HANDOFF: everything below this banner is appended and
   would need re-applying if style.css is regenerated from base.
   ============================================================ */

/* Rounder, friendlier corners everywhere the kids theme touches */
.feature-card, .product-card, .info-card, .media-frame,
.form-card, .faq-item { border-radius: var(--radius-lg); }

/* Playful gradient text helper (used in headings' accent words) */
.fun-accent {
  background: var(--grad-fun);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* --- decorative floating blobs / shapes ------------------------------- */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.5; z-index: 0; pointer-events: none; }
.shape { position: absolute; z-index: 0; pointer-events: none; opacity: 0.9; }
.float-slow { animation: floaty 7s ease-in-out infinite; }
.float-med  { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .float-slow, .float-med { animation: none; } }

/* ------------------------------------------------------------
   HERO (kids) — bright gradient, copy left, photo carousel right,
   robot mascots peeking in. Replaces the AquaJoy banner hero.
   ------------------------------------------------------------ */
.hero--kids {
  position: relative;
  background: var(--grad-fun);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.hero--kids::after { display: none; }
.hero--kids .hero-grid { align-items: center; gap: var(--col-gap); position: relative; z-index: 2; }
.hero--kids .hero-copy { flex: 1 1 460px; }
.hero--kids .hero-title { color: #fff; font-size: var(--fs-hero); }
.hero--kids .hero-accent { color: var(--c-sun); }
.hero--kids .eyebrow { color: #fff; }
.hero--kids .eyebrow::before { background: var(--c-sun); }
.hero--kids .lead { color: rgba(255,255,255,0.92); max-width: 34rem; }
.hero--kids .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.hero--kids .btn-outline:hover { background: #fff; color: var(--c-blue); border-color:#fff; }
/* soft cloud line at the base */
.hero--kids .hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; display: block; z-index: 3; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28);
  color: #fff; font-family: var(--font-util); font-weight: 600; font-size: 0.82rem;
  padding: 0.45rem 0.9rem; border-radius: var(--radius-pill); backdrop-filter: blur(4px);
}
.hero-badge i { color: var(--c-sun); }

/* carousel */
.hero-stage { flex: 1 1 420px; position: relative; display: flex; justify-content: center; }
.carousel {
  position: relative; width: 100%; max-width: 520px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 5px solid #fff; background: #fff;
  aspect-ratio: 4 / 3;
}
.carousel-track { display: flex; height: 100%; transition: transform 0.6s var(--ease); }
.carousel-slide { min-width: 100%; height: 100%; position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.2rem 1rem; color: #fff; font-family: var(--font-util);
  font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(0deg, rgba(20,20,26,0.82), transparent);
}
.carousel-dots { position: absolute; bottom: 0.7rem; right: 0.9rem; display: flex; gap: 0.4rem; z-index: 2; }
.carousel-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,0.55); cursor: pointer; padding: 0; transition: all 0.3s var(--ease); }
.carousel-dot.is-active { background: #fff; width: 22px; border-radius: var(--radius-pill); }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.9); color: var(--c-blue); font-size: 1rem;
  display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: all 0.25s var(--ease);
}
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.carousel-btn--prev { left: 0.6rem; } .carousel-btn--next { right: 0.6rem; }

.hero-mascot { position: absolute; z-index: 4; pointer-events: none; filter: drop-shadow(0 12px 18px rgba(20,20,26,0.35)); }
.hero-mascot--boy  { width: clamp(90px, 12vw, 150px); left: -46px; bottom: -18px; }
.hero-mascot--girl { width: clamp(80px, 10vw, 130px); right: -40px; top: -34px; }
@media (max-width: 900px) { .hero-mascot--boy, .hero-mascot--girl { display: none; } }

/* ------------------------------------------------------------
   INTRO BAND — colourful gradient background, mascots on the side
   ------------------------------------------------------------ */
.intro-band { position: relative; overflow: hidden; background: var(--grad-fun); color: #fff; border-radius: 0; }
.intro-band .section-title { color: #fff; }
.intro-band .intro-lead { color: rgba(255,255,255,0.94); font-size: var(--fs-lead); }
.intro-band strong { color: var(--c-sun); font-weight: 700; }
.intro-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: var(--col-gap); flex-wrap: wrap; }
.intro-copy { flex: 1 1 460px; }
.intro-mascots { flex: 1 1 260px; display: flex; justify-content: center; align-items: flex-end; gap: 0.5rem; position: relative; }
.intro-mascots img { filter: drop-shadow(0 14px 20px rgba(20,20,26,0.32)); }
.intro-mascots .m-boy  { width: clamp(120px, 15vw, 200px); }
.intro-mascots .m-girl { width: clamp(110px, 14vw, 180px); }
@media (max-width: 620px) { .intro-mascots .m-girl { display: none; } .intro-mascots .m-boy { width: 150px; } }

/* ------------------------------------------------------------
   SERVICE CARD — "cute robot frame" for each service box
   ------------------------------------------------------------ */
.robot-card {
  position: relative; background: #fff; border: 2px solid var(--c-line);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.robot-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--c-aqua); }
.robot-card__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.robot-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.robot-card:hover .robot-card__media img { transform: scale(1.06); }
/* robot "antenna" tab on top of each card */
.robot-card__chip {
  position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2;
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-size: 1.15rem; box-shadow: var(--shadow-sm);
}
.robot-card__chip::before, .robot-card__chip::after {
  content: ""; position: absolute; top: -10px; width: 3px; height: 10px; background: var(--c-sun); border-radius: 2px;
}
.robot-card__chip::before { left: 12px; } .robot-card__chip::after { right: 12px; }
.robot-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.robot-card__body h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.robot-card__body p { color: var(--c-ink-soft); font-size: var(--fs-small); margin: 0; }
.robot-card__tag {
  align-self: flex-start; margin-bottom: 0.7rem; font-family: var(--font-util); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--c-blue); background: var(--c-grape-soft); padding: 0.25rem 0.7rem; border-radius: var(--radius-pill);
}

/* colour rotation for the chips so the grid feels lively */
.robot-card:nth-child(4n+1) .robot-card__chip { background: var(--grad-brand); }
.robot-card:nth-child(4n+2) .robot-card__chip { background: var(--grad-sunny); }
.robot-card:nth-child(4n+3) .robot-card__chip { background: #23346e; }
.robot-card:nth-child(4n+4) .robot-card__chip { background: #ec1a3b; }

/* ------------------------------------------------------------
   WHY / "What makes us different" — playful feature tiles
   ------------------------------------------------------------ */
.why-grid { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.why-card {
  flex: 1 1 240px; background: #fff; border: 2px solid var(--c-line);
  border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-ico {
  width: 62px; height: 62px; border-radius: 20px; margin: 0 auto 0.9rem;
  display: grid; place-items: center; font-size: 1.6rem; color: #fff;
}
.why-card:nth-child(4n+1) .why-ico { background: var(--grad-brand); }
.why-card:nth-child(4n+2) .why-ico { background: var(--grad-sunny); }
.why-card:nth-child(4n+3) .why-ico { background: #ec1a3b; }
.why-card:nth-child(4n+4) .why-ico { background: #ec1a3b; }
.why-card h3 { font-size: 1.1rem; margin: 0 0 0.35rem; }
.why-card p { font-size: var(--fs-small); color: var(--c-ink-soft); margin: 0; }

/* ------------------------------------------------------------
   TESTIMONIALS — clean paraphrased cards (names anonymised)
   ------------------------------------------------------------ */
.tmony-grid { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.tmony {
  flex: 1 1 300px; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; position: relative;
}
.tmony__quote { font-size: 2.4rem; line-height: 1; color: var(--c-aqua); font-family: var(--font-display); margin-bottom: 0.3rem; }
.tmony p { color: var(--c-ink); font-size: 0.98rem; margin: 0 0 1.1rem; }
.tmony__shot { width: 100%; height: auto; aspect-ratio: 746 / 1280; object-fit: cover; object-position: top; display: block; border-radius: var(--radius-sm); border: 1px solid var(--c-line); box-shadow: 0 4px 14px rgba(20,20,30,0.10); margin: 0.2rem 0 1.7rem; }
.tmony__who { margin-top: 0; display: flex; align-items: center; gap: 0.75rem; }
.tmony__av {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; color: #fff; background: var(--grad-brand);
}
.tmony__name { font-family: var(--font-util); font-weight: 600; font-size: 0.9rem; color: var(--c-blue-900); }
.tmony__role { font-size: 0.8rem; color: var(--c-ink-soft); }
.tmony__stars { color: var(--c-sun); margin-bottom: 0.6rem; font-size: 0.9rem; letter-spacing: 2px; }

/* ------------------------------------------------------------
   PROGRAMME ACCORDION (Services page)
   Vertical selectable rows on desktop; stacked drop-downs on mobile.
   ------------------------------------------------------------ */
.prog { display: flex; gap: 1rem; align-items: stretch; }
.prog-tabs { flex: 0 0 260px; display: flex; flex-direction: column; gap: 0.6rem; }
.prog-tab {
  text-align: left; cursor: pointer; border: 2px solid var(--c-line); background: #fff;
  border-radius: var(--radius); padding: 1rem 1.1rem; font-family: var(--font-util);
  font-weight: 600; color: var(--c-blue-900); transition: all 0.3s var(--ease); line-height: 1.3;
}
.prog-tab small { display: block; font-weight: 500; color: var(--c-ink-soft); font-size: 0.78rem; margin-top: 0.15rem; }
.prog-tab:hover { border-color: var(--c-line); }
.prog-tab.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.prog-tab.is-active small { color: rgba(255,255,255,0.85); }
.prog-panels { flex: 1 1 auto; position: relative; display: flex; }
.prog-panel {
  display: none; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  min-height: 320px; box-shadow: var(--shadow); border: 1px solid var(--c-line);
}
/* active panel: fills the tabs column height, content vertically centred */
.prog-panel.is-active { display: flex; flex-direction: column; justify-content: center; flex: 1 1 auto; animation: fade-in 0.4s var(--ease); }
.prog-panel__bg { position: absolute; inset: 0; }
.prog-panel__bg img { width: 100%; height: 100%; object-fit: cover; }
.prog-panel__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,20,26,0.92) 0%, rgba(20,20,26,0.78) 42%, rgba(20,20,26,0.3) 100%); }
.prog-panel__content { position: relative; z-index: 2; padding: clamp(1.6rem, 3vw, 2.6rem); color: #fff; max-width: 620px; }
.prog-panel__content .prog-age { display: inline-block; font-family: var(--font-util); font-weight: 600; font-size: 0.78rem; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3); padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); margin-bottom: 0.9rem; }
.prog-panel__content h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.6rem; }
.prog-panel__content p { color: rgba(255,255,255,0.94); font-size: var(--fs-body); margin: 0; }
/* the mobile "select" label shown only < 860 */
.prog-tab .prog-caret { display: none; }
@media (max-width: 860px) {
  .prog { flex-direction: column; }
  .prog-tabs { flex: none; }
  .prog-tab { display: flex; justify-content: space-between; align-items: center; }
  .prog-tab .prog-caret { display: inline-block; transition: transform 0.3s var(--ease); }
  .prog-tab.is-active .prog-caret { transform: rotate(180deg); }
  .prog-panels { margin-top: -0.2rem; }
  /* on mobile each panel is revealed right under its active tab via JS reorder */
  /* join the active tab and its panel into one connected container */
  .prog-tab.is-active { border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: none; position: relative; z-index: 2; }
  .prog-tabs > .prog-panel.is-active { margin-top: -0.6rem; border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; box-shadow: 0 14px 26px rgba(20,20,30,0.14); }
}

/* extra standalone therapy cards under the accordion */
.therapy-grid { display:flex; flex-wrap:wrap; gap: var(--s-3); }
.therapy-card { flex:1 1 300px; display:flex; gap:1rem; align-items:flex-start; background:#fff; border:1px solid var(--c-line); border-radius:var(--radius-lg); padding:1.4rem 1.5rem; box-shadow:var(--shadow-sm); }
.therapy-card .t-ico { flex:none; width:54px; height:54px; border-radius:16px; display:grid; place-items:center; color:#fff; font-size:1.4rem; background:var(--grad-brand); }
.therapy-card:nth-child(3n+2) .t-ico { background:var(--grad-sunny); }
.therapy-card:nth-child(3n+3) .t-ico { background:#23346e; }
.therapy-card h3 { font-size:1.1rem; margin:0 0 0.3rem; }
.therapy-card p { font-size:var(--fs-small); color:var(--c-ink-soft); margin:0; }

/* ------------------------------------------------------------
   PATHWAY FLOWCHART — Early Development > Academy > Employment
   ------------------------------------------------------------ */
.flow { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 760px; margin-inline: auto; }
.flow-node {
  width: 100%; background: #fff; border: 2px solid var(--c-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); position: relative;
  display: flex; align-items: stretch; overflow: hidden;
}
/* left content column */
.flow-node__main { flex: 1 1 auto; min-width: 0; padding: 1.6rem 1.8rem; }
.flow-node__toprow { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.55rem; }
/* right brand panel (soft per-stage tint) */
.flow-node__brand { flex: none; width: 200px; display: grid; place-items: center; padding: 1.2rem 1.3rem; background: var(--tint, #f3f0fb); border-left: 1px solid var(--c-line); }
.flow-node__brand img { width: 150px; height: auto; max-height: 118px; object-fit: contain; }
.flow-node:nth-of-type(1) { --tint: #f1edfc; }
.flow-node:nth-of-type(3) { --tint: #e8f6fb; }
.flow-node:nth-of-type(5) { --tint: #fff3e9; }
.flow-node:nth-of-type(3) .flow-node__stage { color: #2ba7c4; }
.flow-node:nth-of-type(5) .flow-node__stage { color: #e8892f; }
@media (max-width: 640px) {
  .flow-node { flex-direction: column; }
  /* logo sits ABOVE the text on mobile (item 17) */
  .flow-node__brand { order: -1; width: 100%; border-left: none; border-bottom: 1px solid var(--c-line); padding: 1.1rem; }
  .flow-node__brand img { width: 132px; max-height: 84px; }
}
.flow-node__num {
  flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; background: var(--grad-brand);
}
.flow-node:nth-of-type(1) .flow-node__num { background: var(--grad-brand); }
.flow-node:nth-of-type(3) .flow-node__num { background: #23346e; }
.flow-node:nth-of-type(5) .flow-node__num { background: var(--grad-sunny); }
.flow-node h3 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.flow-node p { margin: 0; color: var(--c-ink-soft); font-size: var(--fs-small); }
.flow-node__stage { font-family: var(--font-util); font-weight:600; font-size:0.72rem; letter-spacing:0.05em; text-transform:uppercase; color: var(--c-blue); }
.flow-arrow { width: 2px; height: 42px; background: var(--c-blue); position: relative; }
.flow-arrow::after { content: "\f063"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); color: var(--c-blue); font-size: 0.9rem; }

/* ------------------------------------------------------------
   INFO STACK / MAP (contact)
   ------------------------------------------------------------ */
.info-stack { display: flex; flex-direction: row; flex-wrap: wrap; gap: var(--s-3); margin-bottom: 0; }
.info-stack > .info-card { flex: 1 1 220px; flex-direction: column; }
.info-stack > .info-card .info-icon { margin-bottom: 0.3rem; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--c-line); line-height: 0; }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* small rounded location pill list */
.loc-list { display:flex; flex-wrap:wrap; gap:var(--s-3); }
.loc-card { flex:1 1 300px; background:#fff; border:1px solid var(--c-line); border-radius:var(--radius-lg); padding:1.5rem 1.6rem; box-shadow:var(--shadow-sm); }
.loc-card .loc-ico { width:46px; height:46px; border-radius:14px; display:grid; place-items:center; color:#fff; background:var(--grad-brand); font-size:1.1rem; margin-bottom:0.9rem; }
.loc-card h3 { font-size:1.1rem; margin:0 0 0.35rem; }
.loc-card p { font-size:var(--fs-small); color:var(--c-ink-soft); margin:0; }

/* team grid tweak: rounded portraits with tinted frame */
.team-card { text-align:center; }
.team-card .media-frame--photo { aspect-ratio: 3/4; border-radius: var(--radius-lg); }
.team-card h3 { margin:0.9rem 0 0.1rem; font-size:1.15rem; }
.team-role { font-family:var(--font-util); font-weight:600; color:var(--c-blue); font-size:0.85rem; }

/* footer brand wordmark (text logo) */
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing:-0.01em; display:inline-flex; align-items:center; gap:0.5rem; }
.brand-word .brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand); color:#fff; display:grid; place-items:center; font-size:1rem; }
.nav-brand .brand-word { color: var(--c-blue-900); }
.site-header:not(.is-solid) .hero--kids ~ * .brand-word { }

/* pill list of "what makes different" inline check items reused */
.mist-soft { background: var(--c-mist-2); }

/* Team: even 3-column grid (6 members => tidy 3 + 3) */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; } }
.team-grid .team-card .media-frame--photo { aspect-ratio: 3/4; max-height: none; }
.team-grid .team-card .media-frame--photo img { max-height: none; }

/* ============================================================
   THEME REVISION v3 (per client feedback) — softer & lighter.
   Reference vibe: airy pastel lavender/sky with dark ink text.
   Heavy purple gradient surfaces become soft pastel washes; the
   colour pop now lives in buttons, chips and small accents only.
   ============================================================ */

/* Home hero — light pastel wash + dark ink text (bg = --grad-fun) */
.hero--kids { color: var(--c-ink); }
.hero--kids .hero-title { color: var(--c-blue-900); }
.hero--kids .hero-accent { color: var(--c-coral); }
.hero--kids .eyebrow { color: var(--c-blue); }
.hero--kids .eyebrow::before { background: var(--c-blue); }
.hero--kids .lead { color: var(--c-ink); }
.hero--kids .btn-outline { color: var(--c-blue); border-color: var(--c-blue); }
.hero--kids .btn-outline:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.hero--kids .hero-badge { background: #fff; border-color: var(--c-line); color: var(--c-blue-900); box-shadow: var(--shadow-sm); }
.hero--kids .hero-badge i { color: var(--c-blue); }
.hero--kids .blob { opacity: 0.35; }
.hero-mascot { filter: drop-shadow(0 12px 16px rgba(120,100,200,0.22)); }

/* Intro band — soft pastel wash + dark ink text */
.intro-band { background: var(--grad-fun); color: var(--c-ink); }
.intro-band .section-title { color: var(--c-blue-900); }
.intro-band .intro-lead { color: var(--c-ink); }
.intro-band strong { color: var(--c-blue); }
.intro-band .shape { color: var(--c-sun); }
.intro-mascots img { filter: drop-shadow(0 14px 18px rgba(120,100,200,0.20)); }

/* Inner-page hero — soft pastel wash + dark ink text */
.page-hero { background: #fdecef; color: var(--c-ink); border-bottom: 1px solid #f6dfe3; }
.page-hero h1 { color: var(--c-blue-900); }
.page-hero .eyebrow { color: var(--c-blue); }
.page-hero .eyebrow::before { background: var(--c-blue); }
.page-hero .lead { color: var(--c-ink-soft); }
.page-hero .blob { opacity: 0.3; }

/* CTA band — soft pastel panel + dark ink text; buttons keep the colour */
.cta-section { background: var(--grad-air); color: var(--c-ink); border: 1px solid var(--c-line); }
.cta-section::before { display: none; }
.cta-section h2 { color: var(--c-blue-900); }
.cta-section .lead { color: var(--c-ink-soft); }
.cta-section .btn-outline { color: var(--c-blue); border-color: var(--c-blue); }
.cta-section .btn-outline:hover { background: transparent; color: var(--c-blue); border-color: var(--c-blue); }

/* Footer — lighter lavender so it no longer reads as a deep block */
.site-footer { background: #2e3168; }

/* Team portraits — keep heads in frame (crop from the bottom, not the top) */
.team-grid .team-card .media-frame--photo { aspect-ratio: 3 / 4; }
.team-grid .team-card .media-frame--photo img { object-fit: cover; object-position: top center; }

/* Testimonials — even 3-up row on desktop (removes the lopsided wrap + big gap) */
.tmony-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); align-items: start; }
.tmony { flex: none; }
/* Testimonials carousel: desktop shows the 3-up row, controls hidden */
.tmony-nav { display: none; }
@media (max-width: 900px) {
  /* one review at a time, swipe track + arrow/dot controls */
  .tmony-carousel { position: relative; overflow: hidden; max-width: 460px; margin-inline: auto; }
  .tmony-grid { display: flex !important; grid-template-columns: none; flex-wrap: nowrap; gap: 0 !important; max-width: none; margin: 0; transition: transform 0.35s ease; }
  .tmony { flex: 0 0 100%; width: 100%; }
  .tmony-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.1rem; }
  /* arrows flank the review (left/right), vertically centred over the card */
  .tmony-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--c-line); background: rgba(255,255,255,0.96); color: var(--c-blue-900); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 16px rgba(20,20,30,0.28); font-size: 0.95rem; transition: background 0.2s ease; }
  [data-tmony-prev] { left: 4px; }
  [data-tmony-next] { right: 4px; }
  .tmony-arrow:active { transform: translateY(-50%) scale(0.93); }
  .tmony-arrow:hover { background: #fff; }
  .tmony-dots { display: flex; gap: 0.5rem; align-items: center; }
  .tmony-dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; background: #d7cff0; cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
  .tmony-dot.is-active { width: 22px; border-radius: 5px; background: #ec1a3b; }
}

/* ============================================================
   TWEAKS v4 (client feedback)
   ============================================================ */

/* 1. Remove the decorative "—" dash before every eyebrow, site-wide */
.eyebrow::before { display: none !important; }

/* 2. Testimonials: make each card fill its grid column so the space
      between the three cards is just the (smaller) grid gap */
.tmony-grid { gap: 1.1rem; }
.tmony { width: 100%; }

/* 3. Header — white bar, near-black nav, red active accent (Infinite Minds style) */
.site-header { background: #fff; box-shadow: 0 2px 14px rgba(20,20,30,0.08); border-bottom: 1px solid var(--c-line); }
.site-header.is-solid { box-shadow: 0 4px 18px rgba(20,20,30,0.12); }
.site-header .nav-link { color: var(--c-blue-900); }
.site-header .nav-link:hover { color: var(--c-blue); }
.site-header .nav-link.is-active { color: var(--c-blue); }
.site-header .nav-brand .brand-word { color: var(--c-blue-900) !important; }
.site-header .nav-brand .brand-mark { background: var(--c-blue); color: #fff; }
.site-header .nav-toggle span { background: var(--c-blue-900); }

/* Mobile: the drawer is still a white panel, so its links stay dark for contrast */
@media (max-width: 992px) {
  .site-header .nav-menu .nav-link { color: var(--c-blue-900) !important; }
}

/* ============================================================
   TWEAK v5 — contact form & map equal height
   ============================================================ */
.split--stretch { align-items: stretch; }
.split--stretch .split__media { display: flex; }
.split--stretch .map-frame { width: 100%; height: 100%; min-height: 380px; }
.split--stretch .map-frame iframe { height: 100%; min-height: 380px; }
@media (max-width: 900px) {
  .split--stretch .map-frame, .split--stretch .map-frame iframe { height: 380px; }
}

/* ============================================================
   TWEAK v6 — align all sections to one container width (1200)
   and widen the contact map column (narrower form column)
   ============================================================ */
.split--stretch .split__copy  { flex: 1 1 320px; }
.split--stretch .split__media { flex: 1.35 1 380px; }

/* ============================================================
   TWEAK v7 — testimonial cards are <figure>; kill the browser
   default 40px figure margin so they align with other sections
   ============================================================ */
.tmony { margin: 0; }
figure { margin: 0; }

/* ============================================================
   TWEAK v8 — desktop header: logo left, nav right, so the
   header content aligns with the page content edges
   ============================================================ */
@media (min-width: 993px) {
  .site-header .nav-brand { order: 0; margin-left: 0; margin-right: auto; }
  .site-header .nav-side { flex: 0 0 auto; }
  .site-header .nav-side--left  { order: 1; justify-content: flex-start; }
  .site-header .nav-side--right { order: 2; justify-content: flex-start; }
}

/* ============================================================
   TWEAK v9 (client feedback)
   ============================================================ */

/* 1. Footer logo mark matches the header logo (white tile, purple icon) */
.site-footer .brand-mark { background: #fff; color: var(--c-blue); }

/* 2. Distinct colour per service-card category tag */
.robot-card__tag--therapy   { background: #f0eaff; color: #7d5fe0; }
.robot-card__tag--training  { background: #e0f2fc; color: #2b93c9; }
.robot-card__tag--programme { background: #ffe6dd; color: #e2643f; }
.robot-card__tag--clinical  { background: #d9f4f2; color: #1f9aa0; }

/* 3. Feature / therapy cards: icon + title on one row, description on the
      next row, everything left-aligned to the card edge */
.feature-card, .therapy-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.9rem;
  row-gap: 0.55rem;
  text-align: left;
}
.feature-card .feature-icon, .therapy-card .t-ico { grid-column: 1; grid-row: 1; margin: 0; }
.feature-card h3, .therapy-card h3 { grid-column: 2; grid-row: 1; margin: 0; align-self: center; }
.feature-card p,  .therapy-card p  { grid-column: 1 / -1; grid-row: 2; margin: 0; }

/* 4. Kiren Kaur's portrait was shot further back with lots of headroom —
      zoom in more and anchor lower so the head-room crops and her framing
      matches the other portraits */
.team-card img[src*="team-kiren"] { transform: scale(1.5); transform-origin: center 42%; }

/* ============================================================
   TWEAK v12 — team photos: force image to fill the frame so
   there is no white letterbox band at top/bottom (Deepa, Jia
   Ying etc. had a ~31px gap because the img was shorter than
   the frame). With this, all portraits sit edge-to-edge.
   ============================================================ */
.team-grid .team-card .media-frame--photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
/* Kiren was shot further back; a gentle zoom now that the base fills */
.team-card img[src*="team-kiren"] { transform: scale(1.22); transform-origin: center 40%; }

/* ============================================================
   TWEAK v13 (client feedback)
   ============================================================ */

/* 1. Contact "Ways to reach us" info cards: centre the content */
.info-stack > .info-card { align-items: center; text-align: center; }

/* 2. Programme accordion: selected tab is a clean gradient — remove the
      purple glow/shadow and focus outline that showed as a line on the right */
.prog-tab.is-active { box-shadow: none; }
.prog-tab:focus { outline: none; }
.prog-tab:focus-visible { outline: 2px solid var(--c-aqua); outline-offset: 2px; }

/* ============================================================
   TWEAK v14 (client feedback)
   ============================================================ */

/* 1. Selected programme tab: the gradient was tiling into the 2px
      transparent border, leaving a purple line at the edge. Paint the
      gradient across the whole border-box, no repeat. */
.prog-tab.is-active {
  background-origin: border-box;
  background-repeat: no-repeat;
}

/* 2. Footer "Visit us": full address + hours (on two lines) + phone, each
      with a leading icon */
.footer-contact li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  margin-bottom: 0.7rem; line-height: 1.5;
}
.footer-contact li i {
  flex: 0 0 auto; width: 1rem; text-align: center; margin-top: 0.28rem;
  color: rgba(255,255,255,0.7); font-size: 0.9rem;
}
.footer-contact li span, .footer-contact li a { color: rgba(255,255,255,0.82); }

/* ============================================================
   TWEAK v15 — header "Enquire now" button uses the sunny
   orange/coral gradient (same as the "Game based learning" icon)
   ============================================================ */
.site-header .btn-gradient {
  background: var(--c-blue);
  background-origin: border-box;
  background-repeat: no-repeat;
  color: #fff;
}
.site-header .btn-gradient:hover {
  color: #fff;
  box-shadow: 0 10px 22px rgba(20,20,30,0.20);
}

/* ============================================================
   TWEAK v16b — widen footer "Visit us" column so the address
   lines fit on their intended breaks without extra wrapping
   ============================================================ */
.footer-col--visit { flex: 1.8 1 250px; }

/* ============================================================
   TWEAK v17b — footer balance: give the right (link) region more
   room, use a grid so the three columns have even gaps, and let
   the "Visit us" column be a little wider for the addresses.
   ============================================================ */
.footer-cols { flex: 2.6 1 560px; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: clamp(1.5rem, 3vw, 2.75rem); }
.footer-col { flex: none; }
.footer-col--visit { flex: none; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-cols { grid-template-columns: 1fr; } }

/* ============================================================
   TWEAK v20 — colourful icons for the About "How we support"
   feature cards and the Contact "Ways to reach us" info cards
   (rotate through the same playful gradient set as the services)
   ============================================================ */
.card-grid .feature-card:nth-child(4n+1) .feature-icon,
.info-stack .info-card:nth-child(4n+1) .info-icon { background: var(--grad-brand); }
.card-grid .feature-card:nth-child(4n+2) .feature-icon,
.info-stack .info-card:nth-child(4n+2) .info-icon { background: var(--grad-sunny); }
.card-grid .feature-card:nth-child(4n+3) .feature-icon,
.info-stack .info-card:nth-child(4n+3) .info-icon { background: #23346e; }
.card-grid .feature-card:nth-child(4n+4) .feature-icon,
.info-stack .info-card:nth-child(4n+4) .info-icon { background: #ec1a3b; }

/* ============================================================
   TWEAK v21 — WhatsApp contact icon uses the WhatsApp green
   ============================================================ */
.info-stack .info-card .info-icon.info-icon--whatsapp {
  background: #25d366;
}

/* ============================================================
   TWEAK v22 — location cards: address on the left, a "Get
   directions" button on the right so the wide card is balanced
   ============================================================ */
.loc-card { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.loc-card__main { flex: 1 1 auto; }
.loc-card__cta { flex: 0 0 auto; white-space: nowrap; }
.loc-card__cta i { margin-right: 0.4rem; }
@media (max-width: 560px) {
  .loc-card { flex-direction: column; align-items: flex-start; }
  .loc-card__cta { width: 100%; justify-content: center; }
}

/* ============================================================
   TWEAK v23 — location cards: no button, content centred
   (overrides the earlier left/right split)
   ============================================================ */
.loc-card { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: flex-start; }
.loc-card .loc-ico { margin: 0 auto 0.9rem; }

/* ============================================================
   TWEAK v24 — location cards: compact, left-aligned, icon+title
   on one row and address below (same clean pattern as the
   About/Services cards). Constrain width so they aren't oversized.
   ============================================================ */
.loc-list { max-width: 900px; margin-inline: auto; }
.loc-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.9rem;
  row-gap: 0.6rem;
  text-align: left;
  padding: 1.6rem 1.8rem;
}
.loc-card .loc-ico { grid-column: 1; grid-row: 1; margin: 0; }
.loc-card h3 { grid-column: 2; grid-row: 1; margin: 0; }
.loc-card p  { grid-column: 1 / -1; grid-row: 2; margin: 0; }

/* ============================================================
   TWEAK v25 — location cards: keep the icon+title / address
   layout but centre the whole content block (address lines stay
   left-aligned to each other)
   ============================================================ */
.loc-card { display: flex; flex-direction: column; align-items: center; text-align: left; gap: 0.9rem; }
.loc-card__head { display: flex; align-items: center; gap: 0.9rem; }
.loc-card__head h3 { margin: 0; }
.loc-card .loc-ico { margin: 0; }
.loc-card p { margin: 0; }

/* ============================================================
   TWEAK v26 — location card: centre the whole block, but keep
   the icon+title header left-aligned with the address below
   ============================================================ */
.loc-card { display: flex; flex-direction: column; align-items: center; }
.loc-card__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; text-align: left; }
.loc-card__head { display: flex; align-items: center; gap: 0.9rem; }
.loc-card__head h3 { margin: 0; }
.loc-card__inner p { margin: 0; }

/* ============================================================
   TWEAK v27 — playful custom doodle decorations (own artwork,
   no third-party images). Sit behind the content in heroes and
   the intro band; float gently.
   ============================================================ */
.doodles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.doodle { position: absolute; display: block; opacity: 0.9; }
/* keep hero/pagehero/intro text above the doodles */
.page-hero > .container { position: relative; z-index: 2; }
.hero--kids .container { position: relative; z-index: 2; }
@media (max-width: 640px) {
  .doodle--hide-sm { display: none; }
  .doodle { opacity: 0.8; }
}
@media (prefers-reduced-motion: reduce) { .doodle { animation: none !important; } }

/* ============================================================
   TWEAK v28
   1) why-cards: equal height (stretch) so a 2-line title card
      matches its neighbours
   3) contact info cards: match the tighter why-card rhythm
      (icon 0.9rem below, title 0.35rem above the description)
   ============================================================ */
.why-grid { align-items: stretch; }

.info-stack > .info-card { display: block; text-align: center; gap: 0; }
.info-stack > .info-card .info-icon { margin: 0 auto 0.9rem; }
.info-stack > .info-card h3 { margin: 0 0 0.35rem; }
.info-stack > .info-card p { margin: 0; }

/* ============================================================
   TWEAK v29 (batch feedback)
   ============================================================ */
/* #3 move hero boy mascot down/left so it clears the carousel caption */
.hero-mascot--boy { left: -70px; bottom: -44px; }

/* #5 feature/therapy cards: a touch more, uniform room between title & description */
.feature-card, .therapy-card { row-gap: 0.9rem; }

/* #6 footer brand: add space between the logo and the description */
.footer-brand p { margin-top: 1.05rem; }

/* #7 footer "Visit us" text matches the other footer columns' font size & colour */
.footer-contact li,
.footer-contact li span,
.footer-contact li a { font-size: 0.92rem; color: rgba(255,255,255,0.72); }

/* ============================================================
   TWEAK v30 — hero boy mascot: shift further left/down and
   indent the carousel caption so the mascot never covers the text
   ============================================================ */
.hero-mascot--boy { left: -92px; bottom: -42px; }
.carousel-cap { padding-left: 4.25rem; }

/* ============================================================
   TWEAK v31
   #1 nudge hero boy mascot back toward the carousel (still clears caption)
   #2 feature/therapy cards: equalise title->description gap for 1-line
      and 2-line titles by bottom-aligning the icon+title row
   ============================================================ */
.hero-mascot--boy { left: -78px; bottom: -44px; }
.feature-card, .therapy-card { align-items: end; row-gap: 1.5rem; }

/* ============================================================
   TWEAK v32 — feature/therapy cards: revert to centered icon+title
   with a tighter uniform gap (2-line title card no longer looks
   like it has a larger gap)
   ============================================================ */
.feature-card, .therapy-card { align-items: center; row-gap: 0.65rem; }

/* ============================================================
   TWEAK v33 — feature/therapy cards: icon on the left, title +
   description stacked beside it. Title->description gap is a fixed
   margin, so 1-line and 2-line title cards match exactly.
   ============================================================ */
.feature-card, .therapy-card {
  display: flex; align-items: flex-start; gap: 1rem;
  grid-template-columns: none; row-gap: 0; text-align: left;
}
.feature-card > .feature-icon, .therapy-card > .t-ico { flex: 0 0 auto; margin: 0; }
.fc-body { flex: 1 1 auto; min-width: 0; }
.fc-body h3 { margin: 0 0 0.5rem; }
.fc-body p { margin: 0; }

/* v33b — a little more breathing room, still perfectly consistent */
.fc-body h3 { margin: 0 0 0.8rem; }

/* ============================================================
   TWEAK v34 — revert feature/therapy cards to: icon + title on
   one row, description full-width on the next row (under the icon)
   ============================================================ */
.feature-card, .therapy-card {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  column-gap: 0.9rem; row-gap: 0.7rem; text-align: left;
}
.feature-card > .feature-icon, .therapy-card > .t-ico { grid-column: 1; grid-row: 1; margin: 0; }
.feature-card > h3, .therapy-card > h3 { grid-column: 2; grid-row: 1; margin: 0; }
.feature-card > p,  .therapy-card > p  { grid-column: 1 / -1; grid-row: 2; margin: 0; }

/* ============================================================
   TWEAK v35 — feature/therapy cards: pack grid rows to the top so
   equal-height stretch doesn't inflate the title->description gap
   (fixes the 2-line "A pathway" card looking over-spaced)
   ============================================================ */
.feature-card, .therapy-card { align-content: start; }

/* ============================================================
   TWEAK v36 — "What makes us different" & "Where the pathway
   leads" cards use the same layout as the About cards:
   icon + title on one row, description below (left-aligned)
   ============================================================ */
.why-card {
  display: grid; grid-template-columns: auto 1fr; align-items: center; align-content: start;
  column-gap: 0.9rem; row-gap: 0.7rem; text-align: left;
}
.why-card > .why-ico {
  grid-column: 1; grid-row: 1; margin: 0;
  width: 50px; height: 50px; border-radius: 15px; font-size: 1.3rem;
}
.why-card > h3 { grid-column: 2; grid-row: 1; margin: 0; }
.why-card > p  { grid-column: 1 / -1; grid-row: 2; margin: 0; }

/* ============================================================
   TWEAK v37 — real robot mascots (from IMDC's own art) beside
   each Pathway stage: red (age 2+) -> Early Development,
   yellow (age 5+) -> Academy, blue suit robot -> Employment.
   ============================================================ */
.flow-node { position: relative; }
.flow-robot {
  position: absolute; top: 50%; transform: translateY(-50%);
  left: calc(100% + 46px); height: 155px; width: auto; pointer-events: none;
  filter: drop-shadow(0 12px 16px rgba(20,20,30,0.22));
}
.flow-robot--left { left: auto; right: calc(100% + 46px); }
@media (max-width: 1120px) { .flow-robot { display: none; } }

/* ============================================================
   TWEAK v38 — section decorations: doodles in the margins +
   robot mascots peeking on the sides of content sections
   ============================================================ */
.sec-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.section > .container { position: relative; z-index: 1; }
/* Robots hug the four corners of the CONTENT BLOCK itself (the cards / body,
   NOT the section title). Each robot is an absolute child of .sec-body and sits
   just outside the block's left/right edge, peeking above or below it. */
.sec-body { position: relative; }
.sec-robot {
  position: absolute; z-index: 0;
  height: 116px; width: auto;
  filter: drop-shadow(0 10px 14px rgba(20,20,30,0.18));
  pointer-events: none;
}
.sec-robot--tl { right: 100%; top: -30px;  margin-right: 10px; }
.sec-robot--tr { left:  100%; top: -30px;  margin-left: 10px; }
.sec-robot--bl { right: 100%; bottom: -30px; margin-right: 10px; }
.sec-robot--br { left:  100%; bottom: -30px; margin-left: 10px; }
@media (max-width: 1500px) { .sec-robot { display: none; } }

/* ============================================================
   TWEAK v39 — mobile fixes
   1) hero / CTA two-button groups: stack as equal-width pills
   2) hide the "Enquire now" button inside the mobile nav drawer
   3) location cards: left-align content so both addresses share
      the same left edge when stacked
   ============================================================ */
/* 1 — equal-width stacked CTA buttons on phones */
@media (max-width: 600px) {
  .hero .btn-group,
  .cta-section .btn-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
  }
  .hero .btn-group > .btn,
  .cta-section .btn-group > .btn {
    width: 100%;
    justify-content: center;
  }
}
/* 2 — no CTA button in the mobile dropdown menu */
@media (max-width: 992px) {
  .nav-menu .btn { display: none; }
}
/* 3 — location cards align to the left inside each card */
.loc-card { align-items: stretch; }
.loc-card__inner { align-items: flex-start; width: 100%; }

/* ============================================================
   TWEAK v40 — real IMDC logo in the header & footer.
   The logo is red + black artwork made for a white background, so
   it sits on a white rounded tile to stay crisp and legible on the
   purple header/footer bars (which the client chose to keep).
   ============================================================ */
/* transparent logo (only the INFINITE MINDS box carries white); sits directly
   on the purple bars, no tile */
.brand-logo { display: block; width: auto; background: none; box-shadow: none; }
.nav-brand { display: inline-flex; align-items: center; }
/* override the template's generic .nav-brand img sizing */
.nav-brand .brand-logo { height: 64px; max-width: none; }
.footer-brand .brand-logo--footer { height: 66px; margin-bottom: 1.25rem; }
@media (max-width: 560px) { .nav-brand .brand-logo { height: 50px; } }

/* ============================================================
   TWEAK v41 — contact page: "Ways to reach us" + "Come and visit"
   merged into one section, two columns: reach details on the left,
   centre locations on the right.
   ============================================================ */
.contact-combo {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-top: var(--s-4);
}
/* cards hug their own content — no equal-height stretching (removes dead space) */
.contact-combo__reach, .contact-combo__centres { display: flex; flex-direction: column; }
.reach-list li { flex: 0 0 auto; }
.contact-combo__centres .loc-card { flex: 0 0 auto; }
.reach-list li, .contact-combo__centres .loc-card { transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.reach-list li:hover, .contact-combo__centres .loc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20,20,30,0.10); }
.combo-subhead {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; color: var(--c-blue-900); margin: 0 0 1.1rem;
}
.reach-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.reach-list li {
  display: flex; gap: 0.9rem; align-items: center;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 1rem 1.15rem; box-shadow: var(--shadow-sm);
}
.reach-ico {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center; color: #fff; font-size: 1.15rem;
}
.reach-ico--wa { background: #25d366; }
.reach-ico--hours { background: var(--grad-sunny); }
.reach-ico--social { background: #23346e; }
.reach-label { display: block; font-family: var(--font-display); font-weight: 600; color: var(--c-blue-900); line-height: 1.2; margin-bottom: 0.15rem; }
.reach-val { display: block; font-size: var(--fs-small); color: var(--c-ink-soft); line-height: 1.5; }
.reach-val a { color: inherit; }
.reach-val a:hover { color: var(--c-blue); }
/* full-width, left-aligned list so the cards line up with the "Our Centres"
   heading (the base .loc-list max-width + margin:auto was centring/indenting it) */
.contact-combo__centres .loc-list { flex-direction: column; gap: var(--s-3); width: 100%; max-width: none; margin-inline: 0; }
.contact-combo__centres .loc-card { align-items: stretch; }
.contact-combo__centres .loc-card__inner { width: 100%; align-items: flex-start; }
@media (max-width: 860px) {
  .contact-combo { grid-template-columns: 1fr; }
  .reach-list li, .contact-combo__centres .loc-card { flex: 0 0 auto; }  /* natural height when stacked */
}
/* ============================================================
   TWEAK v42
   1) intro band: text centred, blue robot (m-boy) on the LEFT,
      girl robot (m-girl) on the RIGHT
   2) Title Case: capitalise the first letter of every word in all
      section titles, hero/page titles and card titles across the site
   ============================================================ */
/* 1 — intro band centred with a robot on each side */
.intro-inner--centered { justify-content: center; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap; }
.intro-inner--centered .intro-copy { flex: 0 1 620px; text-align: center; }
.intro-inner--centered .intro-copy .intro-lead { margin-inline: auto; }
.intro-mascot { flex: 0 0 auto; align-self: center; filter: drop-shadow(0 14px 18px rgba(120,100,200,0.20)); }
.intro-mascot.m-boy  { width: clamp(110px, 12vw, 180px); }
.intro-mascot.m-girl { width: clamp(100px, 11vw, 165px); }
@media (max-width: 860px) {
  .intro-inner--centered .intro-copy { order: -1; flex-basis: 100%; }
  .intro-mascot.m-boy  { width: 130px; }
  .intro-mascot.m-girl { width: 120px; }
}

/* 2 — Title Case for every heading & card title across the site */
main h1,
main h2,
.robot-card__body h3,
.why-card h3,
.feature-card h3,
.therapy-card h3,
.serve-card h3,
.combo-subhead,
.loc-card h3,
.info-card h3,
.prog-panel__content h3,
.prog-tab {
  text-transform: capitalize;
}

/* keep a wrapped/orphan card centred and at normal width (e.g. 5 cards in a
   4-up grid) — flex-grow:0 stops a lone card stretching to full width */
.card-grid--4 { justify-content: center; }
.card-grid--4 > * { flex-grow: 0; }

/* 3-up card grid (e.g. Our Services: 3 on top, 2 centred below) */
.card-grid--3 { justify-content: center; }
.card-grid--3 > * { flex: 0 1 calc(33.333% - var(--s-4) * 2 / 3); }
@media (max-width: 900px) { .card-grid--3 > * { flex-basis: calc(50% - var(--s-4) / 2); } }
@media (max-width: 600px) { .card-grid--3 > * { flex-basis: 100%; } }

/* ============================================================
   FEEDBACK v10 — horizontal card carousel (services/programmes)
   ============================================================ */
.hcar { position: relative; }
.hcar-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 0 1.1rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.hcar-track::-webkit-scrollbar { display: none; }
/* exactly 3 cards visible (3 cards + 2 gaps = 100%); 4th card fully off-screen */
.hcar-track > .robot-card { scroll-snap-align: start; flex: 0 0 calc((100% - 2 * 1.25rem) / 3); margin: 0; }
.hcar-arrow { position: absolute; top: 44%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; color: var(--c-blue-900); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(20,20,30,0.18); font-size: 1rem; transition: background .2s, color .2s, opacity .2s; }
.hcar-arrow:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.hcar-arrow--prev { left: -12px; }
.hcar-arrow--next { right: -12px; }
.hcar--static .hcar-arrow { display: none; }
@media (max-width: 900px) {
  /* exactly one full-width card; gap 0 so neighbours are fully off-screen (no peek) */
  .hcar-track { padding-inline: 0; gap: 0; scroll-padding-inline: 0; }
  .hcar-track > .robot-card { flex: 0 0 100%; scroll-snap-align: center; }
  .hcar-arrow { top: 42%; bottom: auto; transform: translateY(-50%); width: 38px; height: 38px; }
  .hcar-arrow--prev { left: 4px; right: auto; }
  .hcar-arrow--next { right: 4px; left: auto; }
  .hcar-arrow:active { transform: translateY(-50%) scale(0.94); }
}

/* ============================================================
   FEEDBACK v10 — full-bleed hero banner (homepage)
   ============================================================ */
.hero-lead { position: relative; min-height: clamp(700px, 97vh, 1000px); display: flex; align-items: center; overflow: hidden; isolation: isolate; color: #fff; }
.hero-lead__bg.carousel { position: absolute; inset: 0; z-index: 0; width: 100% !important; max-width: none !important; height: 100%; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: #141417 !important; aspect-ratio: auto !important; }
.hero-lead__bg .carousel-track, .hero-lead__bg .carousel-slide { height: 100%; }
.hero-lead__bg .carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-lead__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(15,15,20,0.86) 0%, rgba(15,15,20,0.62) 45%, rgba(15,15,20,0.22) 100%); }
.hero-lead__inner { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-lead .eyebrow { color: #fff; opacity: 0.9; letter-spacing: 0.12em; }
.hero-lead__title { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.07; max-width: 17ch; margin: 0.5rem 0 1.7rem; }
.hero-lead__title .hero-accent { color: #ec1a3b; }
.hero-lead .btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }
.hero-lead .carousel-dots { z-index: 3; bottom: 1.1rem; right: 1.3rem; }
.hero-lead .carousel-btn { display: none; }
@media (max-width: 768px) {
  .hero-lead { min-height: 78vh; }
  .hero-lead__scrim { background: linear-gradient(180deg, rgba(15,15,20,0.55) 0%, rgba(15,15,20,0.78) 100%); }
  .hero-lead__title { max-width: 100%; }
}

/* ============================================================
   FEEDBACK v10 — "caring place" band: colourful gradient +
   larger robots angled, popping in from the sides
   ============================================================ */
.intro-band { background: linear-gradient(120deg, #ec1a3b 0%, #c8102e 22%, #2e3168 68%) !important; color: #fff !important; position: relative; overflow: hidden; }
.intro-band .section-title { color: #fff !important; }
.intro-band .intro-lead { color: rgba(255,255,255,0.96) !important; }
.intro-band strong { color: #ffdf6e !important; font-weight: 700; }
.intro-band .intro-copy { max-width: 720px; margin-inline: auto; text-align: center; position: relative; z-index: 2; }
.intro-bot { position: absolute; bottom: 0; z-index: 1; width: clamp(160px, 20vw, 300px); filter: drop-shadow(0 18px 24px rgba(0,0,0,0.30)); pointer-events: none; }
.intro-bot--l { left: clamp(24px, 6vw, 110px); bottom: 26px; transform-origin: bottom left; }
.intro-bot--r { right: clamp(24px, 6vw, 110px); transform-origin: bottom right; }
/* fade + slide in from the sides (hooks into the .reveal IntersectionObserver) */
.intro-bot.reveal { opacity: 0; transition: opacity 1.4s var(--ease), transform 1.6s cubic-bezier(0.22,0.7,0.2,1); }
.intro-bot--l.reveal { transform: translateX(-80px) rotate(-10deg); }
.intro-bot--r.reveal { transform: translateX(80px) rotate(10deg); }
.intro-bot--l.reveal.is-visible { opacity: 1; transform: translateX(0) rotate(-10deg); }
.intro-bot--r.reveal.is-visible { opacity: 1; transform: translateX(0) rotate(10deg); }
@media (max-width: 980px) { .intro-bot { width: clamp(110px, 16vw, 170px); opacity: 0.92; } }
@media (max-width: 620px) { .intro-bot { display: none; } }

/* ============================================================
   FEEDBACK v10 — About story + shorter sub-page hero
   ============================================================ */
.hero-lead--sub { min-height: clamp(340px, 48vh, 470px); }
.hero-lead--sub .hero-lead__title { margin-bottom: 0; }
.container--narrow { max-width: 860px; margin-inline: auto; }
.story-copy { max-width: none; }
.story-copy .eyebrow { color: var(--c-blue); }
.story-copy .section-title { margin-bottom: 1.1rem; }
.story-copy p { font-size: var(--fs-lead); color: var(--c-ink); line-height: 1.75; margin: 0 0 1.15rem; }
.story-copy strong { color: var(--c-blue-900); font-weight: 700; }

/* ============================================================
   FEEDBACK — "What Makes Us Different" on a dark charcoal band
   ============================================================ */
.section--dark { background: #2e3168; }
.section--dark .section-title { color: #fff; }
.section--dark .section-intro { color: rgba(255,255,255,0.82); }

/* ============================================================
   Team page hero on the footer navy
   ============================================================ */
.page-hero--dark { background: #2e3168 !important; border-bottom: none !important; }
.page-hero--dark h1 { color: #fff !important; }
.page-hero--dark .eyebrow { color: #ff5568 !important; }
.page-hero--dark .lead { color: rgba(255,255,255,0.85) !important; }


/* ============================================================
   Contact "Reach us & come visit" — split card (navy left / white right)
   ============================================================ */
.contact-combo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 !important; align-items: stretch;
  border-radius: 24px; overflow: hidden; border: 1px solid var(--c-line);
  box-shadow: 0 24px 50px rgba(20,20,40,0.12);
  margin: var(--s-4) 0 0;
}
.contact-combo .combo-subhead { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin: 0 0 1.4rem; }
/* LEFT — dark navy */
.contact-combo__reach { background: #191a1f !important; color: #fff; display: block !important; padding: clamp(1.8rem, 3vw, 2.7rem); }
.contact-combo__reach .combo-subhead { color: rgba(255,255,255,0.55); }
.contact-combo__reach .reach-list { display: block; gap: 0; }
.contact-combo__reach .reach-list li { display: flex; gap: 1rem; align-items: flex-start; background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 1.4rem 0 !important; border-bottom: 1px solid rgba(255,255,255,0.13) !important; transform: none !important; }
.contact-combo__reach .reach-list li:first-child { padding-top: 0 !important; }
.contact-combo__reach .reach-list li:last-child { border-bottom: none !important; padding-bottom: 0 !important; }
.contact-combo__reach .reach-label { color: #fff; font-size: 1.08rem; margin-bottom: 0.4rem; }
.contact-combo__reach .reach-val { color: rgba(255,255,255,0.72); line-height: 1.6; }
.contact-combo__reach .reach-val a { color: rgba(255,255,255,0.72); }
.contact-combo__reach .reach-val a[href^="tel"] { display: inline-block; margin-top: 0.55rem; color: #fff; font-weight: 700; font-size: 1.2rem; }
.contact-combo__reach .reach-ico--hours { background: #ec1a3b; color: #fff; }
.contact-combo__reach .reach-ico--social { background: #ec1a3b; color: #fff; }
.reach-social { display: flex; gap: 0.6rem; margin-top: 0.7rem; }
.social-pill { display: inline-block; padding: 0.5rem 1.15rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; color: #fff !important; font-size: 0.9rem; transition: background .2s, border-color .2s; }
.social-pill:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }
/* RIGHT — white */
.contact-combo__centres { background: #fff !important; display: block !important; padding: clamp(1.8rem, 3vw, 2.7rem); }
.contact-combo__centres .combo-subhead { color: var(--c-ink-soft); }
.contact-combo__centres .loc-list { display: block; max-width: none; margin: 0; }
.contact-combo__centres .loc-card { background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 1.6rem 0 !important; border-bottom: 1px solid var(--c-line) !important; transform: none !important; }
.contact-combo__centres .loc-card:first-child { padding-top: 0 !important; }
.contact-combo__centres .loc-card:last-child { border-bottom: none !important; padding-bottom: 0 !important; }
.contact-combo__centres .loc-card__inner { display: block; align-items: stretch; }
.contact-combo__centres .loc-card__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.85rem; }
.contact-combo__centres .loc-card__head h3 { margin: 0; font-size: 1.22rem; }
.contact-combo__centres .loc-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fde7ea !important; color: #ec1a3b !important; font-size: 1.1rem; margin: 0 !important; }
.contact-combo__centres .loc-card p { margin: 0 0 0.95rem calc(46px + 0.9rem); color: var(--c-ink-soft); line-height: 1.6; }
.loc-directions { display: inline-block; margin-left: calc(46px + 0.9rem); color: #ec1a3b; font-weight: 700; font-size: 0.95rem; }
.loc-directions i { margin-left: 0.4rem; transition: transform .2s; }
.loc-directions:hover i { transform: translateX(3px); }
@media (max-width: 760px) {
  .contact-combo { grid-template-columns: 1fr; }
  .contact-combo__centres .loc-card p, .loc-directions { margin-left: 0; }
}

/* ============================================================
   Pathway — "Three stages, one journey" (curve + 3 cards)
   ============================================================ */
.journey { position: relative; width: 100%; aspect-ratio: 1200 / 340; margin: 0 auto clamp(2rem, 4vw, 3.5rem); container-type: size; }
.journey-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey-path__glow { fill: none; stroke: #fbdadf; stroke-width: 20; stroke-linecap: round; }
.journey-path__line { fill: none; stroke: #ec1a3b; stroke-width: 7; stroke-linecap: round; }
.journey-fig { position: absolute; transform: translateX(-50%); }
.journey-fig img { display: block; width: auto; }
.journey-fig--1 { left: 16.667%; bottom: 15.9%; }
.journey-fig--2 { left: 50%;     bottom: 37.1%; }
.journey-fig--3 { left: 83.333%; bottom: 60.6%; }
.journey-fig--1 img { height: 33cqh; }
.journey-fig--2 img { height: 47cqh; }
.journey-fig--3 img { height: 54cqh; }
.journey-label { position: absolute; transform: translateX(-50%); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: clamp(0.72rem, 1.1vw, 0.95rem); color: #b3b3bf; white-space: nowrap; }
.journey-label--1 { left: 16.667%; top: 91.8%; }
.journey-label--2 { left: 50%;     top: 70.6%; }
.journey-label--3 { left: 83.333%; top: 47%; }

.jcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
/* stagger cards up to sit under their curve labels (matches the rise) */
.jcard--2 { margin-top: -19%; }
.jcard--3 { margin-top: -40.3%; }
.jcard { background: #fff; border: 1px solid var(--c-line); border-radius: 22px; overflow: hidden; box-shadow: 0 14px 34px rgba(20,20,40,0.07); display: flex; flex-direction: column; }
.jcard__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.6rem; min-height: 120px; }
.jcard--1 .jcard__head { background: #efeaf9; }
.jcard--2 .jcard__head { background: #e7f2fb; }
.jcard--3 .jcard__head { background: #fdeede; }
.jcard__num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; flex: 0 0 auto; }
.jcard--1 .jcard__num { background: #ec1a3b; }
.jcard--2 .jcard__num { background: #2e3168; }
.jcard--3 .jcard__num { background: #ec1a3b; }
.jcard__logo { max-height: 62px; width: auto; object-fit: contain; }
.jcard__logo--bw { max-height: 52px; }
.jcard__body { padding: 1.6rem 1.6rem 1.9rem; }
.jcard__eyebrow { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 0.6rem; }
.jcard--1 .jcard__eyebrow { color: #ec1a3b; }
.jcard--2 .jcard__eyebrow { color: #1f9bbf; }
.jcard--3 .jcard__eyebrow { color: #e79c2a; }
.jcard__body h3 { margin: 0 0 0.7rem; font-size: 1.35rem; line-height: 1.25; }
.jcard__body p { margin: 0; color: var(--c-ink-soft); line-height: 1.6; }

@media (max-width: 860px) {
  .jcards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .jcard--2, .jcard--3 { margin-top: 0; }
  .journey { aspect-ratio: 1200 / 560; max-width: 440px; margin-bottom: 1.75rem; }
  .journey-label { display: none; }
}

/* ============================================================
   Mobile tweaks — hero title spacing + intro robot visible
   ============================================================ */
@media (max-width: 620px) {
  .hero-lead__title { line-height: 1.2; }

  /* both robots pinned to the bottom corners with generous head/foot gaps */
  .intro-bot { display: block; width: clamp(112px, 31vw, 150px); bottom: clamp(30px, 9vw, 48px); }
  .intro-bot--l { left: clamp(16px, 7vw, 44px); right: auto; transform-origin: bottom left; }
  .intro-bot--r { right: clamp(16px, 7vw, 44px); left: auto; transform-origin: bottom right; }
  .intro-bot--l.reveal { transform: translateX(-40px) rotate(-8deg); }
  .intro-bot--r.reveal { transform: translateX(40px) rotate(8deg); }
  .intro-bot--l.reveal.is-visible { transform: translateX(0) rotate(-8deg); }
  .intro-bot--r.reveal.is-visible { transform: translateX(0) rotate(8deg); }
  .intro-band { padding-bottom: clamp(215px, 62vw, 270px); }
}

/* Contact left panel — light theme (soft grey), dark text */
.contact-combo__reach { background: #f5f5f7 !important; color: #26262b; }
.contact-combo__reach .combo-subhead { color: #9a9aa4; }
.contact-combo__reach .reach-label { color: #191a1f; }
.contact-combo__reach .reach-val { color: #6b6b73; }
.contact-combo__reach .reach-val a { color: #6b6b73; }
.contact-combo__reach .reach-val a[href^="tel"] { color: #191a1f; }
.contact-combo__reach .reach-list li { border-bottom-color: rgba(0,0,0,0.1) !important; }
.contact-combo__reach .social-pill { color: #191a1f !important; border-color: rgba(0,0,0,0.2); }
.contact-combo__reach .social-pill:hover { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.35); }

/* Contact "Reach us & come visit" section — white background */
.section[aria-labelledby="reach-title"] { background: #fff; }

/* Contact card — stronger separation from the white section */
.contact-combo { border: 1px solid #e2e2e8 !important; box-shadow: 0 12px 28px rgba(20,20,40,0.10), 0 34px 60px rgba(20,20,40,0.14) !important; }
.contact-combo__reach { background: #eef0f3 !important; }

/* Contact card subheads — more prominent (brand red, larger) */
.contact-combo .combo-subhead { color: #ec1a3b !important; font-size: 0.85rem; letter-spacing: 0.14em; }

/* Contact — map under each centre */
.loc-map { margin-top: 1rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--c-line); }
.loc-map iframe { display: block; width: 100%; height: 190px; border: 0; }

/* Caring band robots — smaller & shorter zone on mobile (feedback #2) */
@media (max-width: 620px) {
  .intro-bot { width: clamp(92px, 26vw, 124px); bottom: clamp(22px, 6vw, 34px); }
  .intro-band { padding-bottom: clamp(150px, 42vw, 185px); }
}

/* Services carousel — cards must stay visible (scroll-reveal can't see off-screen carousel items) */
.hcar .robot-card.reveal { opacity: 1 !important; transform: none !important; }

/* ============================================================
   Pathway — DESKTOP keeps the static 3-card layout;
   only MOBILE turns the silhouettes into a click-to-reveal dropdown
   ============================================================ */
/* figures are <button> now — reset their chrome on every viewport */
.journey-fig { background: none; border: 0; padding: 0; }
.journey-fig img { transition: transform .25s var(--ease), opacity .25s var(--ease); }
.journey-fig:focus-visible { outline: none; }
@keyframes jcard-drop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes journey-pulse { 0% { box-shadow: 0 0 0 0 rgba(236,26,59,0.5); } 70% { box-shadow: 0 0 0 11px rgba(236,26,59,0); } 100% { box-shadow: 0 0 0 0 rgba(236,26,59,0); } }

/* desktop: all three cards visible (the pre-dropdown layout); no tap affordance */
.jcard { opacity: 1 !important; transform: none !important; }
.journey-dot, .journey-hint { display: none; }

@media (max-width: 860px) {
  /* mobile only: click a figure to reveal one stage card */
  .jcard { display: none !important; }
  .jcard.is-active { display: flex !important; animation: jcard-drop .4s var(--ease); }
  .journey-fig { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .journey-fig:not(.is-active) img { opacity: 0.5; }
  .journey-fig.is-active img, .journey-fig:hover img, .journey-fig:focus-visible img { transform: scale(1.09); opacity: 1; }
  .journey-dot { display: block; position: absolute; top: -16px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #ec1a3b; animation: journey-pulse 1.8s ease-out infinite; }
  .journey-fig.is-active .journey-dot { box-shadow: 0 0 0 4px rgba(236,26,59,0.18); animation: none; }
  .journey-hint { display: flex; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; color: var(--c-ink-soft); font-size: 0.95rem; margin: 0 0 clamp(1.25rem, 2.5vw, 2rem); }
  .journey-hint i { color: #ec1a3b; }
}

/* Hero carousel — frame each subject on mobile (feedback #1a) */
@media (max-width: 620px) {
  .hero-lead__bg .carousel-slide:nth-child(1) img { object-position: 72% center; } /* girl on the right */
  .hero-lead__bg .carousel-slide:nth-child(2) img { object-position: 20% center; } /* boy on the left */
  .hero-lead__bg .carousel-slide:nth-child(3) img { object-position: 24% center; } /* boy on the left */
}


/* Pathway card logos that link out */
.jcard__logo-link { display: inline-flex; transition: transform .2s var(--ease); }
.jcard__logo-link:hover { transform: scale(1.05); }

/* Pathway card CTA links (Visit website / Follow on Instagram) */
.jcard__link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.1rem; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: #ec1a3b; text-decoration: none; }
.jcard--2 .jcard__link { color: #1f9bbf; }
.jcard--3 .jcard__link { color: #e79c2a; }
.jcard__link .fa-arrow-up-right-from-square { font-size: 0.8em; transition: transform .2s var(--ease); }
.jcard__link:hover .fa-arrow-up-right-from-square { transform: translate(2px, -2px); }

/* Footer — Infinite Minds Academy link under the social icons */
.footer-ima { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.1rem; font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; color: #ec1a3b; text-decoration: none; }
.footer-ima .fa-arrow-up-right-from-square { font-size: 0.82em; transition: transform .2s var(--ease); }
.footer-ima:hover { color: #ff3355; }
.footer-ima:hover .fa-arrow-up-right-from-square { transform: translate(2px, -2px); }
