/* ==========================================================
   MIZU NOVA WATERMARK GROUP — shared site styles
   (all pages use this file; page-specific CSS lives in css/pages/)
   ========================================================== */
:root {
  /* Brand Colors — 8-Token Design Palette */
  --navy: #021D43;          /* Primary branding: Deep Navy */
  --navy-deep: #01132b;     /* Deep Navy dark shade */
  --navy-ink: #021D43;      /* Deep Navy ink */
  --navy-2: #082959;        /* Deep Navy secondary */
  --blue: #1683C7;          /* Buttons and links: Ocean Blue */
  --blue-hover: #116ca6;    /* Ocean Blue hover */
  --blue-2: #299be3;        /* Ocean Blue secondary */
  --sky: #93d2f8;           /* Light Sky tint */
  --aqua: #4db7f5;          /* Aqua accent */
  --ice: #DDF2FB;           /* Highlighted sections: Ice Blue */
  --mist: #F5F9FC;          /* Alternate background: Cloud White */
  --white: #FFFFFF;         /* Main background: White */
  --green: #3fb14f;
  --green-dark: #33983f;
  --text: #334155;          /* Main body text: Slate */
  --muted: #64748b;         /* Muted Slate */
  --line: #E2E8F0;          /* Borders: Cool Grey */
  --amber: #F5B335;         /* Small accents: Warm Amber */
  --accent: #F5B335;        /* Warm Amber */

  /* Shadows & Motion — based on Deep Navy #021D43 */
  --shadow: 0 10px 28px rgba(2, 29, 67, .10);
  --shadow-lg: 0 22px 48px rgba(2, 29, 67, .18);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Nunito', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.2, .9, .3, 1.25);

  /* Radius Tokens */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 8px;
  --card-radius: 8px;
  --product-card-radius: 8px;
  --btn-radius: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* ==========================================================
     DESIGN SYSTEM TOKENS — Desktop (>=1200px)
     ========================================================== */

  /* 1. Typography Font Sizes & Metrics */
  --font-hero-size: 72px;
  --font-hero-weight: 600;
  --font-hero-line-height: 1.0;
  --font-hero-tracking: -0.03em;

  --font-h1-size: 56px;
  --font-h1-weight: 600;
  --font-h1-line-height: 1.08;
  --font-h1-tracking: -0.025em;

  --font-h2-size: 44px;
  --font-h2-weight: 600;
  --font-h2-line-height: 1.14;
  --font-h2-tracking: -0.02em;

  --font-h3-size: 32px;
  --font-h3-weight: 600;
  --font-h3-line-height: 1.2;
  --font-h3-tracking: -0.01em;

  --font-h4-size: 24px;
  --font-h4-weight: 600;
  --font-h4-line-height: 1.32;
  --font-h4-tracking: 0;

  --font-h5-size: 20px;
  --font-h5-weight: 600;
  --font-h5-line-height: 1.35;
  --font-h5-tracking: 0;

  --font-h6-size: 18px;
  --font-h6-weight: 600;
  --font-h6-line-height: 1.35;
  --font-h6-tracking: 0;

  --font-intro-size: 19px;

  --font-body-size: 16px;
  --font-body-weight: 400;
  --font-body-line-height: 1.68;
  --font-body-tracking: 0;

  --font-body-secondary-size: 15px;
  --font-body-secondary-weight: 450;
  --font-body-secondary-line-height: 1.55;
  --font-body-secondary-tracking: 0;

  --font-product-name-size: 22px;
  --font-product-price-size: 20px;
  --font-product-meta-size: 13px;

  --font-nav-size: 15px;

  --font-btn-size: 15px;
  --font-btn-weight: 600;
  --font-btn-line-height: 1.2;
  --font-btn-tracking: 0.01em;

  --font-eyebrow-size: 13px;
  --font-eyebrow-weight: 700;
  --font-eyebrow-line-height: 1.4;
  --font-eyebrow-tracking: 0.12em;

  --font-input-size: 16px;

  /* 2. Section Padding & Vertical Spacing */
  --section-pad-y: 96px;
  --section-pad-y-lg: 128px;
  --section-pad-y-compact: 64px;

  --space-head-content: 40px;
  --space-eyebrow-head: 12px;
  --space-head-desc: 20px;
  --space-desc-cta: 28px;

  --grid-row-gap: 32px;
  --grid-col-gap: 20px;
  --card-padding: 20px;

  /* 3. Container Widths & Horizontal Padding */
  --container-max-w: 1360px;
  --container-pad-x: 40px;
  --max-w-prose: 65ch;
  --max-w-section-intro: 760px;
  --max-w-hero-text: 650px;

  /* 4. Buttons, Cards, Images, Navigation & Components */
  --btn-h: 50px;
  --btn-pad-x: 24px;

  --input-h: 50px;
  --input-pad-x: 16px;

  --header-h: 80px;
  --announcement-h: 34px;

  --hero-min-h: 660px;
  --split-gap: 72px;

  /* Token Aliases for compatibility */
  --header-height: var(--header-h);
  --announcement-height: var(--announcement-h);
  --button-height: var(--btn-h);
  --button-padding: var(--btn-pad-x);
  --button-radius: var(--btn-radius);
  --input-height: var(--input-h);
  --hero-min-height: var(--hero-min-h);
  --image-text-gap: var(--split-gap);
  --container-width: var(--container-max-w);
  --container-padding: var(--container-pad-x);
  --section-padding: var(--section-pad-y);
  --section-padding-lg: var(--section-pad-y-lg);
  --section-padding-compact: var(--section-pad-y-compact);
}

/* ==========================================================
   DESIGN SYSTEM TOKENS — Tablet (768px - 1199px)
   ========================================================== */
@media (max-width: 1199px) {
  :root {
    /* 1. Typography */
    --font-hero-size: 56px;
    --font-h1-size: 46px;
    --font-h2-size: 38px;
    --font-h3-size: 28px;
    --font-h4-size: 22px;
    --font-h5-size: 19px;
    --font-h6-size: 17px;
    --font-intro-size: 18px;
    --font-body-size: 16px;
    --font-body-secondary-size: 15px;
    --font-product-name-size: 21px;
    --font-product-price-size: 19px;
    --font-product-meta-size: 13px;
    --font-nav-size: 15px;
    --font-btn-size: 15px;
    --font-eyebrow-size: 13px;
    --font-input-size: 16px;

    /* 2. Spacing */
    --section-pad-y: 72px;
    --section-pad-y-lg: 96px;
    --section-pad-y-compact: 48px;

    --space-head-content: 32px;
    --space-eyebrow-head: 10px;
    --space-head-desc: 18px;
    --space-desc-cta: 24px;

    --grid-row-gap: 24px;
    --grid-col-gap: 16px;
    --card-padding: 18px;

    /* 3. Containers */
    --container-max-w: 100%;
    --container-pad-x: 28px;
    --max-w-prose: 60ch;
    --max-w-section-intro: 680px;
    --max-w-hero-text: 560px;

    /* 4. Dimensions */
    --btn-h: 50px;
    --btn-pad-x: 24px;
    --input-h: 50px;
    --header-h: 76px;
    --announcement-h: 32px;
    --hero-min-h: 600px;
    --split-gap: 48px;
  }
}

/* ==========================================================
   DESIGN SYSTEM TOKENS — Mobile (<=767px)
   ========================================================== */
@media (max-width: 767px) {
  :root {
    /* 1. Typography */
    --font-hero-size: 40px;
    --font-h1-size: 36px;
    --font-h2-size: 30px;
    --font-h3-size: 25px;
    --font-h4-size: 21px;
    --font-h5-size: 18px;
    --font-h6-size: 16px;
    --font-intro-size: 17px;
    --font-body-size: 16px;
    --font-body-secondary-size: 14px;
    --font-product-name-size: 19px;
    --font-product-price-size: 18px;
    --font-product-meta-size: 13px;
    --font-nav-size: 16px;
    --font-btn-size: 15px;
    --font-eyebrow-size: 13px;
    --font-input-size: 16px;

    /* 2. Spacing */
    --section-pad-y: 56px;
    --section-pad-y-lg: 72px;
    --section-pad-y-compact: 40px;

    --space-head-content: 24px;
    --space-eyebrow-head: 8px;
    --space-head-desc: 14px;
    --space-desc-cta: 20px;

    --grid-row-gap: 20px;
    --grid-col-gap: 12px;
    --card-padding: 14px;

    /* 3. Containers */
    --container-max-w: 100%;
    --container-pad-x: 18px;
    --max-w-prose: 100%;
    --max-w-section-intro: 100%;
    --max-w-hero-text: 100%;

    /* 4. Dimensions */
    --btn-h: 48px;
    --btn-pad-x: 20px;
    --input-h: 48px;
    --header-h: 64px;
    --announcement-h: 30px;
    --hero-min-h: 560px;
    --split-gap: 28px;
  }
}

/* ==========================================================
   GLOBAL RESET & TYPOGRAPHY ELEMENTS
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--font-body-size);
  font-weight: var(--font-body-weight);
  line-height: var(--font-body-line-height);
  letter-spacing: var(--font-body-tracking);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Stop off-screen reveal offsets from widening the page on phones */
html { overflow-x: hidden; overflow-x: clip; }
body { overflow-x: clip; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
::selection { background: var(--blue); color: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); }

h1, .h1 {
  font-size: var(--font-h1-size);
  font-weight: var(--font-h1-weight);
  line-height: var(--font-h1-line-height);
  letter-spacing: var(--font-h1-tracking);
  color: var(--navy-ink);
  margin-top: 0;
}
h2, .h2 {
  font-size: var(--font-h2-size);
  font-weight: var(--font-h2-weight);
  line-height: var(--font-h2-line-height);
  letter-spacing: var(--font-h2-tracking);
  color: var(--navy-ink);
  margin-top: 0;
}
h3, .h3 {
  font-size: var(--font-h3-size);
  font-weight: var(--font-h3-weight);
  line-height: var(--font-h3-line-height);
  letter-spacing: var(--font-h3-tracking);
  color: var(--navy-ink);
  margin-top: 0;
}
h4, .h4, .card-heading {
  font-size: var(--font-h4-size);
  font-weight: var(--font-h4-weight);
  line-height: var(--font-h4-line-height);
  letter-spacing: var(--font-h4-tracking);
  color: var(--navy-ink);
  margin-top: 0;
}
h5, .h5 {
  font-size: var(--font-h5-size);
  font-weight: var(--font-h5-weight);
  line-height: var(--font-h5-line-height);
  letter-spacing: var(--font-h5-tracking);
  color: var(--navy-ink);
  margin-top: 0;
}
h6, .h6 {
  font-size: var(--font-h6-size);
  font-weight: var(--font-h6-weight);
  line-height: var(--font-h6-line-height);
  letter-spacing: var(--font-h6-tracking);
  color: var(--navy-ink);
  margin-top: 0;
}

p {
  font-size: var(--font-body-size);
  font-weight: var(--font-body-weight);
  line-height: var(--font-body-line-height);
  letter-spacing: var(--font-body-tracking);
  max-width: var(--max-w-prose);
  margin-top: 0;
  margin-bottom: 1rem;
}

.intro, .lead, .section-lead {
  font-size: var(--font-intro-size);
  line-height: 1.68;
}

.secondary-body, .text-secondary, .body-secondary {
  font-size: var(--font-body-secondary-size);
  font-weight: var(--font-body-secondary-weight);
  line-height: var(--font-body-secondary-line-height);
  letter-spacing: var(--font-body-secondary-tracking);
}

.product-name, .product-title {
  font-size: var(--font-product-name-size);
  font-weight: 600;
  line-height: 1.3;
}
.product-price, .price {
  font-size: var(--font-product-price-size);
  font-weight: 600;
  line-height: 1.25;
}
.product-meta, .product-metadata {
  font-size: var(--font-product-meta-size);
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================
   CONTAINERS & SECTIONS
   ========================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad-x);
  padding-right: var(--container-pad-x);
  box-sizing: border-box;
}

.section {
  padding: var(--section-pad-y) 0;
  position: relative;
}
.section--lg, .section-editorial, .section-large {
  padding: var(--section-pad-y-lg) 0;
}
.section--compact, .section-compact, .section-sm {
  padding: var(--section-pad-y-compact) 0;
}
.section--mist { background: var(--mist); }
.section--ice, .section--highlight { background: var(--ice); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

/* Section heading block */
.section-head {
  text-align: center;
  max-width: var(--max-w-section-intro);
  margin: 0 auto var(--space-head-content);
}
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 var(--space-eyebrow-head);
  color: var(--blue);
  font-weight: var(--font-eyebrow-weight);
  font-size: var(--font-eyebrow-size);
  line-height: var(--font-eyebrow-line-height);
  letter-spacing: var(--font-eyebrow-tracking);
  text-transform: uppercase;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor;
}
.section-head:not(.left) .eyebrow::after {
  content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor;
}
.section-title {
  margin: 0 0 var(--space-head-desc);
  font-weight: var(--font-h2-weight);
  line-height: var(--font-h2-line-height);
  letter-spacing: var(--font-h2-tracking);
  font-size: var(--font-h2-size);
  color: var(--navy-ink);
}
.section-lead {
  margin: 0 0 var(--space-desc-cta);
  color: var(--muted);
  font-size: var(--font-intro-size);
  line-height: 1.68;
  max-width: var(--max-w-section-intro);
}
.section-head > *:last-child {
  margin-bottom: 0;
}
.section--navy .section-lead { color: #cfe8f6; }
.section--navy .eyebrow { color: var(--sky); }

/* ---------------- SCROLL PROGRESS ---------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: var(--blue);
  transform-origin: left; transform: scaleX(0);
}

/* ==========================================================
   HEADER & NAVIGATION
   ========================================================== */
.announcement-bar, .top-bar {
  min-height: var(--announcement-h);
  height: var(--announcement-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-body-secondary-size);
  background: var(--navy-deep);
  color: #fff;
  padding: 0 var(--container-pad-x);
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s, background .3s, min-height .3s;
}
.site-header.scrolled { box-shadow: 0 6px 22px rgba(2, 29, 67, .12); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 16px; transition: min-height .3s;
}
.site-header.scrolled .header-inner { min-height: calc(var(--header-h) - 10px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 50px; height: auto; transition: transform .6s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-10deg) scale(1.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: var(--navy); }
.brand-line1 { font-weight: 800; font-size: 28px; letter-spacing: .5px; }
.brand-line2 { font-weight: 800; font-size: 20px; letter-spacing: .2px; margin-top: 2px; }
.brand-line3 { font-weight: 600; font-size: 10px; letter-spacing: 1.2px; margin-top: 4px; opacity: .8; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
.site-nav li { display: flex; align-items: center; }
.site-nav li + li::before { content: '|'; color: var(--navy); margin: 0 14px; font-weight: 600; opacity: .6; }
.site-nav ul a, nav a, .nav-link {
  font-weight: 600;
  font-size: var(--font-nav-size);
  color: var(--navy-ink);
  position: relative;
  padding: 6px 0;
}
.site-nav ul a::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; border-radius: 3px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.site-nav ul a:hover::after, .site-nav ul a.active::after { transform: scaleX(1); transform-origin: left; }
.site-nav ul a.active { color: var(--blue); }

.phone-pill {
  display: inline-flex; align-items: center; gap: 7px; position: relative; overflow: hidden;
  border: 2px solid var(--navy); border-radius: 999px; isolation: isolate;
  padding: 7px 16px; font-weight: 700; font-size: var(--font-nav-size); color: var(--navy);
  transition: color .3s;
}
.phone-pill::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  transform: translateY(101%); border-radius: 40% 40% 0 0; transition: transform .4s var(--ease), border-radius .4s;
}
.phone-pill:hover { color: #fff; }
.phone-pill:hover::before { transform: none; border-radius: 0; }
.phone-pill i { width: 16px; height: 16px; animation: ring 3s ease-in-out infinite; font-size: 14px; line-height: 16px; text-align: center; }
@keyframes ring {
  0%, 80%, 100% { transform: rotate(0); }
  84% { transform: rotate(-16deg); } 88% { transform: rotate(14deg); }
  92% { transform: rotate(-10deg); } 96% { transform: rotate(6deg); }
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); height: var(--btn-h);
  padding: 0 var(--btn-pad-x); border-radius: var(--btn-radius); border: 0; cursor: pointer;
  font-family: var(--font);
  font-size: var(--font-btn-size);
  font-weight: var(--font-btn-weight);
  line-height: var(--font-btn-line-height);
  letter-spacing: var(--font-btn-tracking);
  text-decoration: none;
  box-sizing: border-box;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn i { width: 20px; height: 20px; flex: none; font-size: 16px; line-height: 20px; text-align: center; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(2, 29, 67, .22); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-light { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); color: #fff; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-sm { min-height: calc(var(--btn-h) - 8px); height: calc(var(--btn-h) - 8px); padding: 0 16px; font-size: 13.5px; }

/* Shine sweep */
.btn::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; z-index: 1;
  background: transparent;
  transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* Click ripple */
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .7s ease-out forwards;
}
.btn-light .ripple { background: rgba(22, 131, 199, .25); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ==========================================================
   FORMS & INPUTS
   ========================================================== */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="number"],
select,
.form-input,
.form-control {
  min-height: var(--input-h);
  height: var(--input-h);
  padding: 0 var(--input-pad-x);
  font-family: var(--font);
  font-size: var(--font-input-size);
  color: var(--navy-ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
input:focus, select:focus, textarea:focus, .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 131, 199, .20);
}
textarea {
  font-family: var(--font);
  font-size: var(--font-input-size);
  color: var(--navy-ink);
  background: #fff;
  border: 1.5px solid var(--line);
  padding: 14px var(--input-pad-x);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}

/* ==========================================================
   HERO (home, full screen)
   ========================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: max(var(--hero-min-h), calc(100vh - var(--header-h)));
  min-height: max(var(--hero-min-h), calc(100svh - var(--header-h)));
  display: flex; align-items: center;
  background:
    var(--navy);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.bubble {
  position: absolute; bottom: -24px; border-radius: 50%;
  background: rgba(221, 242, 251, .25);
  border: 1px solid rgba(255,255,255,.22);
  animation: rise linear infinite;
}
.b1 { left: 6%;  width: 12px; height: 12px; animation-duration: 10s; }
.b2 { left: 22%; width: 7px;  height: 7px;  animation-duration: 8s;  animation-delay: 2s; }
.b3 { left: 41%; width: 16px; height: 16px; animation-duration: 13s; animation-delay: 1s; }
.b4 { left: 58%; width: 9px;  height: 9px;  animation-duration: 9s;  animation-delay: 4s; }
.b5 { left: 74%; width: 13px; height: 13px; animation-duration: 12s; animation-delay: 3s; }
.b6 { left: 88%; width: 8px;  height: 8px;  animation-duration: 7s;  animation-delay: 5s; }
.b7 { left: 96%; width: 18px; height: 18px; animation-duration: 15s; animation-delay: 6s; }
@keyframes rise {
  0% { transform: translate(0, 0) scale(.6); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(14px, -45vh) scale(1); }
  100% { transform: translate(-8px, -95vh) scale(1.1); opacity: 0; }
}
.cursor-bubble {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(190, 220, 255, .7);
  background: rgba(221, 242, 251, .3);
  animation: cbub 1.4s ease-out forwards;
}
@keyframes cbub { to { transform: translateY(-80px) scale(1.4); opacity: 0; } }

.hero-inner {
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: 1.7fr 1fr; align-items: center; gap: 32px;
  padding-top: 40px; padding-bottom: 90px;
}
.hero-copy, .hero-text, .hero-inner > div:first-child {
  max-width: var(--max-w-hero-text);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .5px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--ice);
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(245, 179, 53, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(245, 179, 53, 0); } }

.hero-title, .hero-display {
  font-family: var(--display);
  font-weight: var(--font-hero-weight);
  font-size: var(--font-hero-size);
  line-height: var(--font-hero-line-height);
  letter-spacing: var(--font-hero-tracking);
  margin: 0 0 10px; color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}
.hero-tagline {
  font-weight: 600; font-size: clamp(22px, 2.8vw, 40px); margin: 0 0 12px;
  color: var(--sky);
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero-sub {
  margin: 0 0 var(--space-desc-cta);
  color: #cfe8f6;
  font-size: var(--font-intro-size);
  font-weight: 500;
  max-width: var(--max-w-hero-text);
}
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 18px; }

.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero-art::before {
  content: ''; position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(22, 131, 199, 0.12);
  animation: glow 4s ease-in-out infinite;
}
@keyframes glow { 50% { transform: scale(1.12); opacity: .7; } }
.mascot-wrap { position: relative; width: 100%; max-width: 470px; transition: transform .3s ease-out; }
.mascot {
  width: 100%; height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .32));
  animation: bob 4.2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-1.5deg); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255,255,255,.55);
}
.scroll-cue::before {
  content: ''; position: absolute; left: 50%; top: 8px; width: 5px; height: 8px; margin-left: -2.5px;
  border-radius: 3px; background: #fff; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------------- WAVE DIVIDER ---------------- */
.wave-divider { display: block; width: 100%; height: clamp(40px, 6vw, 90px); margin-top: -1px; }
.wave-divider path { animation: sway 8s ease-in-out infinite alternate; transform-origin: center; }
@keyframes sway { to { transform: scaleX(1.06) translateX(-2%); } }

/* ==========================================================
   PAGE HERO (inner pages)
   ========================================================== */
.page-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(70px, 10vw, 130px) 0 clamp(90px, 12vw, 160px);
  background:
    var(--navy);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1, .page-title {
  margin: 0 0 12px; color: #fff; font-family: var(--display);
  font-weight: var(--font-h1-weight);
  font-size: var(--font-h1-size);
  line-height: var(--font-h1-line-height);
  letter-spacing: var(--font-h1-tracking);
}
.page-hero p {
  margin: 0 auto;
  max-width: var(--max-w-section-intro);
  color: #cfe8f6;
  font-size: var(--font-intro-size);
  line-height: 1.68;
}
.breadcrumb {
  display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px;
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: var(--ice);
}
.breadcrumb a { color: var(--ice); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ==========================================================
   SERVICES (cards & grid)
   ========================================================== */
.services { position: relative; background: var(--mist); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: var(--grid-row-gap);
  column-gap: var(--grid-col-gap);
}
.service-card {
  position: relative; overflow: hidden;
  background: #fff; border-radius: var(--card-radius); box-shadow: var(--shadow);
  text-align: center; padding: var(--card-padding);
  transition: transform .4s var(--ease), box-shadow .4s;
  transform-style: preserve-3d;
}
.service-card::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 0; z-index: 0;
  background: rgba(221, 242, 251, 0.5);
  transition: height .5s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card:hover::before { height: 100%; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 82px; height: 82px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--navy); display: grid; place-items: center; position: relative;
  transition: transform .5s var(--spring);
}
.service-icon::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px dashed rgba(22,131,199,.35); animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.service-card:hover .service-icon { transform: translateY(-4px) rotate(-8deg) scale(1.08); }
.service-icon i { width: 46px; height: 46px; color: #fff; font-size: 34px; line-height: 46px; text-align: center; }
.service-card h3 {
  margin: 0 0 10px;
  font-size: var(--font-h5-size);
  font-weight: var(--font-h5-weight);
  line-height: var(--font-h5-line-height);
  letter-spacing: var(--font-h5-tracking);
}
.service-card p {
  margin: 0;
  font-size: var(--font-body-secondary-size);
  line-height: var(--font-body-secondary-line-height);
  color: var(--muted);
  max-width: 100%;
}
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-weight: 600; font-size: 14px; color: var(--blue);
}
.card-link i { width: 16px; height: 16px; transition: transform .3s; font-size: 14px; line-height: 16px; text-align: center; }
.card-link:hover i { transform: translateX(5px); }

.also { text-align: center; margin-top: 40px; }
.also-label { margin: 0 0 14px; font-weight: 600; color: var(--navy-ink); font-size: 16px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.chips li {
  background: #fff; border: 1.5px solid var(--line); color: var(--navy);
  font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px; cursor: default;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--spring);
}
.chips li:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }

/* ---------------- MARQUEE ---------------- */
.marquee { overflow: hidden; background: var(--navy); color: #fff; padding: 20px 0; position: relative; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none;
}
.marquee::before, .marquee::after { display: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap;
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); letter-spacing: 1.5px;
}
.mq-item i { color: var(--aqua); font-size: .72em; margin-right: -8px; }
.marquee-track span::after {
  content: ''; width: 12px; height: 16px; background: var(--amber);
  border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   ABOUT (home) & IMAGE/TEXT SPLITS
   ========================================================== */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--split-gap);
  align-items: center;
}
.about-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.8; font-size: var(--font-body-size); margin: 0 0 14px; max-width: var(--max-w-prose); }
.about-quote {
  margin-top: 22px !important; padding: 16px 20px; border-left: 4px solid var(--blue);
  background: var(--ice); color: var(--navy) !important; font-weight: 600; font-style: italic; border-radius: 0 10px 10px 0;
}
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why li {
  display: flex; flex-direction: column; gap: 12px; padding: var(--card-padding);
  border-radius: var(--card-radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(2, 29, 67, .06);
  transition: transform .4s var(--ease), box-shadow .4s, background .4s, border-color .4s;
}
.why li:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow); border-color: var(--line); }
.why-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy); display: grid; place-items: center;
  transition: transform .5s var(--spring), background .3s;
}
.why li:hover .why-icon { transform: rotate(-12deg) scale(1.1); background: var(--blue); }
.why-icon i { width: 24px; height: 24px; color: #fff; font-size: 21px; line-height: 24px; text-align: center; }
.why h3 { margin: 0 0 4px; font-size: var(--font-h5-size); font-weight: var(--font-h5-weight); line-height: var(--font-h5-line-height); letter-spacing: var(--font-h5-tracking); }
.why p { margin: 0; font-size: var(--font-body-secondary-size); line-height: 1.6; color: var(--muted); }

/* ---------------- PROCESS ---------------- */
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps-line {
  position: absolute; top: 33px; left: 12.5%; right: 12.5%; height: 3px; overflow: hidden; border-radius: 3px;
  background: var(--line);
}
.steps-line::after {
  content: ''; position: absolute; inset: 0; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s;
}
.steps.in .steps-line::after, .steps-line.in::after { transform: scaleX(1); }
.steps li { position: relative; text-align: center; }
.step-no {
  display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 16px;
  position: relative; z-index: 0; line-height: 1;
  color: #fff; font-weight: 700; font-size: 19px;
}
.step-no::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
  background: var(--navy); box-shadow: 0 8px 18px rgba(2,29,67,.3);
  transition: transform .5s var(--spring), background .3s;
}
.steps li:hover .step-no::before { transform: rotate(-45deg) scale(1.12); background: var(--blue); }
.steps h3 { margin: 0 0 6px; font-size: var(--font-h5-size); font-weight: var(--font-h5-weight); line-height: var(--font-h5-line-height); letter-spacing: var(--font-h5-tracking); }
.steps p { margin: 0; font-size: var(--font-body-secondary-size); color: var(--muted); line-height: 1.6; }

/* ---------------- CTA BAND ---------------- */
/* Full-bleed band: the section is the navy strip, .cta-band is the content row */
.cta-section { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1); }
/* Photo behind the band + flat navy tint (no gradients) */
.cta-section::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: url('../assets/img/water-splash.webp') center / cover no-repeat;
  transform: scale(1.05); transition: transform 1.6s var(--ease);
}
.cta-section:hover::before { transform: scale(1.1); }
.cta-section::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(2, 29, 67, .68); }
.cta-band {
  position: static;
  padding: clamp(48px, 6vw, 72px) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  color: #fff;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 6px; color: #fff; font-size: var(--font-h3-size); line-height: 1.2; }
.cta-band p { margin: 0; color: #cfe8f6; font-size: var(--font-body-size); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band > div:first-child { flex: 1 1 380px; }

/* ---------------- FOOTER ---------------- */
.site-footer { background: var(--navy); color: #fff; position: relative; }
.footer-wave { display: block; width: 100%; height: 60px; background: transparent; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px;
  padding-top: 56px; padding-bottom: 40px;
}
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-mark { background: #fff; border-radius: 50%; padding: 6px; width: 58px; }
.footer-brand p { color: #cfe8f6; font-size: 14px; line-height: 1.7; margin: 18px 0 0; max-width: 340px; }
.footer-col h4 { margin: 0 0 16px; color: #fff; font-size: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--sky); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col li { color: #cfe8f6; font-size: 14px; transition: color .2s, padding .3s; }
.footer-col a:hover { color: #fff; padding-left: 6px; }
.footer-col .btn-light, .footer-col .btn-light:hover { color: var(--navy); padding-left: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { width: 18px; height: 18px; color: var(--sky); flex: none; margin-top: 2px; font-size: 15px; line-height: 18px; text-align: center; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  background: var(--navy-deep);
  text-align: center; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.8); padding: 16px 0;
}
.footer-bottom p { margin: 0 auto; max-width: none; padding: 0 16px; }
.footer-bottom .dot { margin: 0 6px; }
.footer-bottom .credit-link { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; transition: text-decoration-color .3s; }
.footer-bottom .credit-link:hover { text-decoration-color: #fff; }
.footer-bottom .credit-link sup { font-size: .75em; margin-left: 1px; }
/* Footer: centre-aligned */
.footer-main { text-align: center; }
.footer-brand .brand { justify-content: center; }
.footer-brand p { margin-left: auto; margin-right: auto; }
.footer-col h4::after { left: 50%; transform: translateX(-50%); }
.footer-col ul { justify-items: center; }
.footer-contact li { justify-content: center; text-align: left; }
.footer-col a:hover { padding-left: 0; }

/* ---------------- FLOATING WHATSAPP ---------------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transform: scale(0); transition: transform .5s var(--spring);
}
body.loaded .float-wa { transform: scale(1); }
.float-wa:hover { transform: scale(1.1) !important; }
.float-wa i { width: 32px; height: 32px; color: #fff; font-size: 28px; line-height: 32px; text-align: center; }
.float-wa::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--green); animation: ping 2s ease-out infinite;
}
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }

/* ---------------- MOBILE FLOATING TAB BAR ---------------- */
.tabbar {
  position: fixed; z-index: 95;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-around;
  height: 64px; padding: 0 6px; overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px;
  box-shadow: 0 6px 18px rgba(1, 19, 43, .25);
  transform: translateY(140%); transition: transform .6s var(--spring);
}
body.loaded .tabbar { transform: none; }
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: rgba(255, 255, 255, .6); font-size: 10.5px; font-weight: 500;
  position: relative; padding: 8px 0 6px; min-width: 0; -webkit-tap-highlight-color: transparent; transition: color .25s;
}
.tab i { width: 22px; height: 22px; transition: transform .35s var(--spring); font-size: 19px; line-height: 22px; text-align: center; }
.tab::before {
  content: ''; position: absolute; top: 0; left: 50%; width: 24px; height: 3px; margin-left: -12px;
  border-radius: 0 0 4px 4px; background: var(--sky); transform: scaleX(0); transition: transform .3s;
}
.tab.active { color: #fff; }
.tab.active i { transform: translateY(-2px) scale(1.12); }
.tab.active::before { transform: scaleX(1); }
.tab:active i { transform: scale(.85); }
.tab-call { color: #fff; padding: 0; justify-content: center; }
.tab-call > span:last-child { display: none; }
.tab-call::before { display: none; }
.tab-call-btn {
  width: 48px; height: 48px; border-radius: 50%; position: relative;
  display: grid; place-items: center;
  background: var(--blue);
}
.tab-call-btn i { width: 24px; height: 24px; font-size: 21px; line-height: 24px; text-align: center; }

/* ---------------- PAGE TRANSITION ---------------- */
.page-transition {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  transform: translateY(110%);
}
.page-transition svg { position: absolute; left: 0; width: 100%; height: 80px; bottom: 100%; }
.page-transition svg path { fill: var(--navy); }
.page-transition .pt-fill { position: absolute; inset: 0; background: var(--navy); display: grid; place-items: center; }
html.pt-cover .page-transition { transform: none; }
.page-transition.pt-enter { transform: none; transition: transform .55s cubic-bezier(.7, 0, .3, 1); }
.page-transition.pt-leave { transform: translateY(-120%); transition: transform .7s cubic-bezier(.7, 0, .3, 1); }
.page-transition.pt-leave svg { bottom: auto; top: 100%; transform: scaleY(-1); }

/* ==========================================================
   SCROLL ANIMATION SYSTEM
   ========================================================== */
[data-anim] {
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-anim="fade-up"]    { transform: translateY(40px); }
[data-anim="fade-down"]  { transform: translateY(-40px); }
[data-anim="fade-left"]  { transform: translateX(60px); }
[data-anim="fade-right"] { transform: translateX(-60px); }
[data-anim="zoom-in"]    { transform: scale(.85); }
[data-anim="flip-up"]    { transform: perspective(900px) rotateX(35deg) translateY(30px); transform-origin: bottom; }
[data-anim="blur-in"]    { filter: blur(12px); transform: scale(1.04); }
[data-anim].in { opacity: 1; transform: none; filter: none; }

.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split-word > span {
  display: inline-block; transform: translateY(110%) rotate(6deg);
  transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 70ms + var(--d, 0ms));
}
[data-split].in .split-word > span { transform: none; }

/* Clip the children, not the observed box itself: a fully clipped target never
   counts as "intersecting", so the reveal would never fire. */
.mask-reveal > * { clip-path: inset(0 100% 0 0); }
.mask-reveal.mask-reveal > * { transition: clip-path 1.2s var(--ease), transform 1.4s var(--ease); }
.mask-reveal.in > * { clip-path: inset(0 0 0 0); }

/* ==========================================================
   HOMEPAGE SECTIONS
   ========================================================== */
/* Service card with photo */
.service-card.has-media { padding: 0 0 var(--card-padding); border-radius: var(--card-radius); }
.service-media { position: relative; height: 210px; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-media::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(2, 29, 67, 0.45);
}
.service-card:hover .service-media img { transform: scale(1.1); }
.service-card.has-media .service-icon { margin-top: -41px; border: 5px solid #fff; box-sizing: content-box; z-index: 2; }
.service-card.has-media h3, .service-card.has-media p, .service-card.has-media .card-link { padding: 0 var(--card-padding); }
.service-card.has-media p { min-height: 3.2em; }

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--split-gap);
  align-items: center;
}
.about-visual { position: relative; }
.about-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about-visual:hover .about-img img { transform: scale(1.06); }
.about-ring {
  position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -8%; top: -8%;
  border-radius: 50%; border: 2px dashed rgba(22,131,199,.35); animation: spin 40s linear infinite;
}
.about-float {
  position: absolute; left: -24px; bottom: 34px; display: flex; gap: 12px; align-items: center;
  background: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.about-float.in { animation: floaty 5s ease-in-out 1s infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.about-float img { width: 34px; height: auto; }
.about-float strong { display: block; color: var(--navy); font-size: 16px; }
.about-float span { font-size: 13px; color: var(--muted); }
.about-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; font-size: var(--font-body-size); margin: 0 0 14px; max-width: var(--max-w-prose); }
.ticks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; font-size: 15px; color: var(--navy-ink); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Stats band */
.stats-band {
  position: relative; overflow: hidden; color: #fff; padding: clamp(46px, 6vw, 72px) 0;
  background: var(--navy);
}
.stats-band::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  display: none;
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 10px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 1px; background: rgba(255,255,255,.15); }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; color: #fff; }
.stat > span { display: block; margin-top: 6px; color: var(--sky); font-weight: 500; font-size: 15px; }

/* Range grid (image tiles) */
.range-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: var(--grid-row-gap);
  column-gap: var(--grid-col-gap);
}
.range-card {
  position: relative; overflow: hidden; border-radius: var(--card-radius); aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow); background: var(--navy); isolation: isolate;
}
.range-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.range-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(2, 29, 67, 0.62);
  transition: background .5s;
}
.range-card:hover img { transform: scale(1.12); }
.range-card:hover::after { background: rgba(2, 29, 67, 0.78); }
.range-label {
  position: absolute; z-index: 2;
  left: var(--card-padding); right: var(--card-padding); bottom: var(--card-padding);
  color: #fff; transition: transform .5s var(--ease);
}
.range-label b {
  display: block;
  font-family: var(--display);
  font-size: var(--font-h5-size);
  font-weight: 600;
  line-height: 1.25;
}
.range-label small {
  display: block; margin-top: 4px; font-size: 14px; color: rgba(221, 242, 251, .9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.range-label::after {
  content: 'Explore →'; display: block; margin-top: 10px; font-size: 13px; font-weight: 600; color: #fff;
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease);
}
.range-card:hover .range-label { transform: translateY(-6px); }
.range-card:hover .range-label::after { opacity: 1; transform: none; }

/* Product cards & Solutions Generic */
.sol-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: var(--grid-row-gap);
  column-gap: var(--grid-col-gap);
}
.sol-card, .product-card {
  border-radius: var(--card-radius);
  padding: var(--card-padding);
}
.split-layout, .image-text-split, .split-section {
  display: grid;
  gap: var(--split-gap);
  align-items: center;
}

/* Why split */
.why-split {
  display: grid;
  grid-template-columns: .85fr 1.4fr;
  gap: var(--split-gap);
  align-items: start;
}
.why-split .section-head { position: sticky; top: 120px; }
.why-split .why { grid-template-columns: 1fr 1fr; }
.mascot-mini { width: 190px; margin-top: 26px; }
.mascot-mini img { width: 100%; animation: bob 4.2s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(2,29,67,.25)); }

/* Parallax quote banner */
.quote-banner { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(100px, 14vw, 180px) 0; }
.quote-bg { position: absolute; inset: -25% 0; background-size: cover; background-position: center; z-index: -2; }
.quote-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(2, 29, 67, 0.78); }
.quote-inner { max-width: 900px; }
.quote-big {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: var(--font-hero-size);
  font-weight: var(--font-hero-weight);
  line-height: var(--font-hero-line-height);
  letter-spacing: var(--font-hero-tracking);
}
.quote-sub {
  margin: 0 auto 32px;
  max-width: var(--max-w-section-intro);
  color: #cfe8f6;
  font-size: var(--font-intro-size);
  line-height: 1.7;
}

/* Sectors */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sector {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: 30px 16px; border-radius: var(--card-radius); border: 1px solid var(--navy); background: var(--navy);
  font-weight: 600; color: #fff; font-size: 15px; box-shadow: 0 6px 18px rgba(2, 29, 67, .12);
  transition: background .35s, color .35s, transform .4s var(--ease), box-shadow .4s, border-color .35s;
}
.sector i { width: 42px; height: 42px; color: #fff; transition: color .35s, transform .5s var(--spring); font-size: 36px; line-height: 42px; text-align: center; }
.sector:hover { background: var(--blue); color: #fff; transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.sector:hover i { color: #fff; transform: scale(1.15) rotate(-6deg); }

/* FAQ */
.faq-split {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: var(--split-gap);
  align-items: start;
}
.faq { display: grid; gap: 14px; }
.faq details {
  background: #fff; border-radius: var(--card-radius); box-shadow: 0 4px 14px rgba(2,29,67,.07);
  border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(22,131,199,.4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 600; font-size: 16.5px; color: var(--navy-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: var(--ice); color: var(--navy); display: grid; place-items: center;
  font-size: 20px; font-weight: 500; transition: transform .4s var(--spring), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--navy); color: #fff; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); line-height: 1.75; font-size: 15px; animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

.cta-section.section { padding-block: 0; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ==========================================================
   RESPONSIVE BREAKPOINTS (Desktop >=1200px, Tablet 768-1199px, Mobile <=767px)
   ========================================================== */

/* Tablet & Smaller (<= 1199px) */
@media (max-width: 1199px) {
  .hero-inner { grid-template-columns: 1.4fr 1fr; gap: 24px; }
  .range-grid { grid-template-columns: repeat(3, 1fr); }
  .sol-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-split, .faq-split { grid-template-columns: 1fr; }
  .why-split .section-head { position: static; }
  .mascot-mini { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .steps-line { display: none; }
}

/* Tablet Narrower (<= 960px) */
@media (max-width: 960px) {
  .brand-line1 { font-size: 24px; }
  .brand-line2 { font-size: 17px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile (<= 767px) */
@media (max-width: 767px) {
  .site-header.scrolled .header-inner { min-height: calc(var(--header-h) - 4px); }
  .site-nav { display: none; }
  .header-inner { justify-content: center; }
  .tabbar { display: flex; }
  .float-wa { bottom: calc(96px + env(safe-area-inset-bottom)); right: 16px; width: 50px; height: 50px; }
  .float-wa i { width: 28px; height: 28px; font-size: 24px; line-height: 28px; text-align: center; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

  .hero { align-items: flex-start; min-height: 0; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 22px;
    padding-bottom: 44px;
    gap: 10px;
  }
  .hero-cta { justify-content: center; }
  .hero-art { order: -1; }
  .mascot-wrap { max-width: 250px; }
  .scroll-cue { display: none; }

  .about-split { grid-template-columns: 1fr; }
  .about-float { left: 12px; bottom: 16px; }
  .about-inner { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .stat:nth-child(3)::before { display: none; }

  .range-grid { grid-template-columns: 1fr 1fr; }
  .range-card:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .sol-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ticks { grid-template-columns: 1fr; }

  .service-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .cta-band { flex-direction: column; text-align: center; }
  .cta-band > div:first-child { flex: none; }
  .cta-actions { justify-content: center; }
  .footer-main { padding-top: 40px; }
  .section-head.left { text-align: center; margin-left: auto; }
}

/* Small Mobile (<= 520px) */
@media (max-width: 520px) {
  .brand-mark { width: 40px; }
  .brand-line1 { font-size: 19px; }
  .brand-line2 { font-size: 13.5px; }
  .brand-line3 { font-size: 8.5px; }

  .hero-cta, .cta-actions { flex-direction: column; gap: 12px; width: 100%; }
  .btn { width: 100%; }

  .range-label { left: 12px; right: 12px; bottom: 12px; }
  .range-label b { font-size: 15px; }
  .range-label small { display: none; }

  .sector { padding: 22px 10px; font-size: 13.5px; }
  .faq summary { font-size: 15px; padding: 18px 56px 18px 18px; }
  .service-media { height: 190px; }

  .why, .why-split .why { grid-template-columns: 1fr; }
  .why li { flex-direction: row; align-items: flex-start; }
  .why-icon { flex: none; }
  .steps { grid-template-columns: 1fr; }
  .chips li { font-size: 12.5px; padding: 6px 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .dot { display: block; height: 0; visibility: hidden; }
  .marquee::before, .marquee::after { width: 40px; }
}

/* Micro devices (< 320px) */
@media (max-width: 320px) {
  .range-grid, .sol-grid, .product-grid, .stats-grid, .sector-grid { grid-template-columns: 1fr; }
}

/* Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-anim], .split-word > span, .mask-reveal, .mask-reveal > * { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}


/* Sectors marquee (homepage "Who We Serve") */
.sector-marquee { display: grid; gap: 18px; overflow: hidden; padding: 10px 0 16px;
 }
.sector-track { display: flex; gap: 18px; width: max-content; padding: 8px 9px; animation: marquee 40s linear infinite; }
.sector-row--rev .sector-track { animation-direction: reverse; animation-duration: 46s; }
.sector-row:hover .sector-track { animation-play-state: paused; }
.sector-marquee .sector { flex: none; width: 230px; }
@media (max-width: 820px) {
  .sector-marquee { gap: 12px; }
  .sector-track { gap: 12px; padding: 6px; animation-duration: 30s; }
  .sector-row--rev .sector-track { animation-duration: 34s; }
  .sector-marquee .sector { width: 170px; }
}

/* Logo image (assets/logo.webp) */
.brand-logo { display: block; height: 56px; width: auto; max-width: none; transition: transform .4s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.03); }
.footer-brand .brand { display: inline-flex; background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.footer-brand .brand-logo { height: 52px; }
@media (max-width: 820px) { .site-header .brand-logo { height: 42px; } }
@media (max-width: 380px) { .site-header .brand-logo { height: 36px; } }

/* ---------------- Penguin mascot cameos (animated) ---------------- */
@keyframes pengBob  { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes pengWave { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-10deg); } 80% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
@keyframes pengPeek { 0%, 100% { transform: translateY(38%); } 18%, 70% { transform: translateY(0); } }
@keyframes pengQ    { 0%, 100% { transform: translateY(0) rotate(-8deg); opacity: .7; } 50% { transform: translateY(-8px) rotate(8deg); opacity: 1; } }

/* FAQ: thinking penguin */
.faq-peng { position: relative; width: 150px; margin-top: 32px; }
.faq-peng img { width: 100%; height: auto; animation: pengBob 4s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(2, 29, 67, .22)); }
.faq-peng-q {
  position: absolute; top: -6px; right: -18px; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  font-family: var(--display); font-size: 24px; font-weight: 800; box-shadow: var(--shadow);
  animation: pengQ 2.6s ease-in-out infinite;
}
.faq-peng:hover img { animation: pengWave .9s ease-in-out; }

@media (max-width: 820px) {
  .faq-peng { width: 110px; margin: 24px auto 0; }
}

/* Footer: "Most Searched" keyword links */
.footer-seo { padding: 0 0 34px; text-align: left; }
.footer-seo .container { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 30px; }
.footer-seo h4 { margin: 0 0 14px; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.seo-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 12px; }
.seo-tags li { display: flex; align-items: center; }
.seo-tags li::after { content: ''; width: 1px; height: 13px; margin: 0 12px; background: rgba(255, 255, 255, .3); }
.seo-tags li:last-child::after { display: none; }
.seo-tags a { font-size: 14px; line-height: 1.4; color: #c3d3f0; transition: color .25s; }
.seo-tags a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .seo-tags li::after { margin: 0 9px; } .seo-tags a { font-size: 13px; } }

/* ==========================================================
   Mobile & accessibility fixes (review pass)
   ========================================================== */
/* Readable tile labels on bright photos */
.range-label b { text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }

/* Bigger tap targets */
.card-link { padding: 12px 0; margin-top: 4px; }

/* "Who We Serve" strip: tap/click a row to pause it */
.sector-row { cursor: pointer; }
.sector-row.is-paused .sector-track { animation-play-state: paused; }

/* "Most Searched": "show all" toggle (phones only) */
.seo-more { display: none; }

@media (max-width: 767px) {
  /* WhatsApp lives in the page buttons + tab bar call; the floating bubble covered content */
  .float-wa { display: none; }

  /* Footer links: 44px tap targets */
  .footer-col ul { gap: 0; }
  .footer-col a { display: inline-block; padding: 12px 6px; }
  .footer-contact li { align-items: center; }

  /* Most Searched -> wrapping chips, first 10 shown */
  .seo-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .seo-tags li { display: block; min-width: 0; }
  .seo-tags li::after { display: none; }
  .seo-tags a {
    display: flex; align-items: center; justify-content: center; height: 100%; min-height: 48px;
    padding: 8px 10px; border-radius: 10px; font-size: 12.5px; line-height: 1.3; text-align: center;
    border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04);
  }
  .seo-more { width: 100%; justify-content: center; }
  .seo-tags:not(.is-open) li:nth-child(n+11) { display: none; }
  .seo-more {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; min-height: 44px; padding: 0 18px;
    border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: none; cursor: pointer;
    font: 700 14px var(--font); color: #fff;
  }
  .seo-more i { transition: transform .3s; }
  .seo-more[aria-expanded="true"] i { transform: rotate(180deg); }
}

/* ---------------- Mobile footer layout ---------------- */
@media (max-width: 767px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; text-align: left; padding-top: 36px; padding-bottom: 28px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .footer-brand p { font-size: 14px; max-width: 320px; }
  .footer-contact { grid-column: 1 / -1; }

  .footer-col h4 { margin-bottom: 10px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
  .footer-col h4::after { left: 0; transform: none; width: 26px; }
  .footer-col ul { justify-items: stretch; gap: 0; }
  .footer-col a { display: block; padding: 10px 0; font-size: 14px; }

  /* Contact rows as tappable tiles */
  .footer-contact ul { gap: 8px; }
  .footer-contact li {
    justify-content: flex-start; gap: 12px; padding: 4px 14px; min-height: 48px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px;
    font-size: 14px; color: #cfe8f6;
  }
  .footer-contact li a { flex: 1; padding: 10px 0; }
  .footer-contact i {
    width: 30px; height: 30px; flex: none; margin: 0; border-radius: 50%; display: grid; place-items: center;
    background: rgba(143, 184, 255, .15); color: var(--sky); font-size: 13px; line-height: 30px;
  }
  .footer-contact li:first-child { padding-top: 10px; padding-bottom: 10px; line-height: 1.45; }
  .footer-contact .btn { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 14px !important; min-height: 48px; padding: 0 18px; }
}
