/* ═══════════════════════════════════════════════════════════
   AEROV Alkaline Water — Premium Design System
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy: #0B1F3A;
  --navy-mid: #0F2F56;
  --ocean: #1D5C97;
  --aqua: #37B7F0;
  --aqua-light: #9FE0FA;
  --aqua-glow: rgba(55, 183, 240, 0.35);
  --cream: #FBFAF5;
  --mist: #F3F6F9;
  --slate: #5C6B7C;
  --slate-light: #8CA1B8;
  --white: #FFFFFF;
  --text-dark: #0B1F3A;
  --text-muted: #6D7A8E;
  --radius: 16px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 80px;
  --font-display: 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { font-size: 16px; scroll-behavior: auto; }
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; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: min(1280px, 92vw);
  margin-inline: auto;
}

.container--narrow { width: min(900px, 92vw); margin-inline: auto; }

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.text-gradient {
  background: linear-gradient(135deg, var(--aqua-light), var(--aqua) 50%, var(--ocean));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aqua);
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease-out), backdrop-filter 0.5s, box-shadow 0.5s;
}

.nav.scrolled {
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav__inner {
  width: min(1280px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo img { height: 44px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--aqua);
  transition: width 0.4s var(--ease-out);
}

.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aqua), var(--ocean));
  color: var(--white) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  box-shadow: 0 4px 20px var(--aqua-glow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s !important;
}

.nav__cta::after { display: none !important; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--aqua-glow); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(29, 92, 151, 0.5), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(55, 183, 240, 0.15), transparent),
    linear-gradient(180deg, var(--navy) 0%, #061525 100%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1280px, 92vw);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 60px) 0 80px;
}

.hero__title { margin-bottom: 1.5rem; max-width: 14ch; }
.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--aqua), var(--ocean));
  color: var(--white);
  box-shadow: 0 8px 30px var(--aqua-glow);
}

.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px var(--aqua-glow); }

.btn--outline {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn--outline:hover { border-color: var(--aqua); background: rgba(55, 183, 240, 0.1); }

.btn--dark {
  background: var(--navy);
  color: var(--white);
}

.btn--dark:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(11, 31, 58, 0.3); }

/* ─── Sections ─── */
.section {
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--cream { background: var(--cream); }
.section--mist { background: var(--mist); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(48px, 8vw, 80px);
}

.section__header .eyebrow { margin-bottom: 1rem; }
.section__header h2 { margin-bottom: 1rem; }

/* ─── Cards & Grids ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(11, 31, 58, 0.06);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(11, 31, 58, 0.1);
}

.card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.card--dark:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }

.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(55, 183, 240, 0.15), rgba(29, 92, 151, 0.1));
  color: var(--aqua);
  margin-bottom: 1.25rem;
}

.card__icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; line-height: 1.65; color: var(--text-muted); }
.card--dark p { color: rgba(255, 255, 255, 0.65); }

/* ─── Feature rows (Fiji-style) ─── */
.story-panel {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.story-panel:nth-child(even) .story-panel__visual { order: 2; }

.story-panel__visual {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.story-panel__visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-panel__visual-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(55, 183, 240, 0.2), transparent 70%),
    linear-gradient(180deg, var(--navy-mid), var(--navy));
}

.story-panel__ph {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  background: linear-gradient(180deg, var(--aqua-light), var(--aqua) 40%, var(--ocean));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.story-panel__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 100px);
  background: var(--cream);
}

.story-panel__content h2 { margin-bottom: 1.25rem; }
.story-panel__content p { font-size: 1.05rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 1rem; }

/* ─── pH Scale ─── */
.ph-scale {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  height: 48px;
  margin: 2rem 0;
}

.ph-scale__segment {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}

.ph-scale__segment--acid { background: linear-gradient(90deg, #E85D4C, #F0A050); }
.ph-scale__segment--neutral { background: #4CAF7A; }
.ph-scale__segment--alk { background: linear-gradient(90deg, #37B7F0, #1D5C97); }

.ph-marker {
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--aqua);
}

/* ─── Swiper overrides ─── */
.swiper { overflow: visible !important; }
.swiper-slide { height: auto; }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 40px rgba(11, 31, 58, 0.08);
}

/* ─── Stats bar ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: clamp(40px, 6vw, 60px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--aqua);
}

.stat__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* ─── Forms ─── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(11, 31, 58, 0.12);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(55, 183, 240, 0.12);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ─── CTA Banner ─── */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 80px);
  background: linear-gradient(135deg, var(--navy-mid), var(--ocean));
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(55, 183, 240, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { margin-bottom: 1rem; position: relative; }
.cta-banner p { margin-bottom: 2rem; opacity: 0.8; position: relative; max-width: 50ch; margin-inline: auto; }

/* ─── Footer ─── */
.footer {
  background: #050a14;
  color: rgba(255, 255, 255, 0.65);
  padding: clamp(56px, 7vw, 72px) 0 0;
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 56px);
}

.footer__logo-wrap {
  display: inline-block;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 1.25rem;
}

.footer__brand img { height: 42px; width: auto; }

.footer__brand > p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 34ch;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__col a {
  display: block;
  font-size: 0.88rem;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
}

.footer__col a:hover { color: var(--aqua); }

.footer__contact p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}

.footer__contact a {
  display: inline;
  padding: 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer__contact a:hover { color: var(--aqua); }

.footer__social { display: flex; gap: 10px; }

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
}

.footer__social a:hover {
  background: var(--aqua);
  border-color: var(--aqua);
  color: var(--navy);
}

.footer__social svg { width: 16px; height: 16px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s;
}

.footer__legal a:hover { color: var(--aqua); }

.footer__fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.footer__fab:hover {
  transform: translateY(-3px);
  background: #20bd5a;
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.footer__fab svg { width: 26px; height: 26px; }

/* ─── Anuyog credit ─── */
.anuyog-credit {
  background: #0a0806;
  padding: 20px 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.anuyog-credit a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  transition: opacity 0.3s;
}

.anuyog-credit a:hover { opacity: 0.85; }

.anuyog-credit img {
  height: 36px;
  width: auto;
  margin: 0 auto;
}

.anuyog-credit span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.anuyog-credit strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

/* ─── Page header (inner pages) ─── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 clamp(60px, 8vw, 100px);
  background: var(--navy);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(55, 183, 240, 0.12), transparent);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255, 255, 255, 0.7); max-width: 60ch; margin-inline: auto; }

/* ─── Product cards ─── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.06);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(11, 31, 58, 0.12);
}

.product-card__visual {
  height: 280px;
  background: linear-gradient(180deg, var(--mist), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card__bottle {
  width: 80px;
  height: 200px;
  background: linear-gradient(180deg, rgba(159, 224, 250, 0.3), rgba(55, 183, 240, 0.15));
  border: 2px solid rgba(55, 183, 240, 0.3);
  border-radius: 12px 12px 4px 4px;
  position: relative;
}

.product-card__bottle::before {
  content: '';
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 16px;
  background: rgba(55, 183, 240, 0.2);
  border: 2px solid rgba(55, 183, 240, 0.3);
  border-radius: 4px 4px 0 0;
}

.product-card__body { padding: 28px; }
.product-card__body h3 { margin-bottom: 0.5rem; }
.product-card__body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ─── B2B service tiles ─── */
.service-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: var(--white);
  background: var(--navy);
}

.service-tile__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11, 31, 58, 0.95) 100%);
  z-index: 1;
}

.service-tile__water {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(55, 183, 240, 0.25), transparent);
}

.service-tile h3,
.service-tile p { position: relative; z-index: 2; }
.service-tile h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.service-tile p { font-size: 0.9rem; opacity: 0.75; line-height: 1.6; }

/* ─── Lottie container ─── */
.lottie-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
}

/* ─── Reveal animations (GSAP handles) ─── */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-scale { opacity: 0; transform: scale(0.92); }

/* ─── Legal pages ─── */
.legal-content { padding: clamp(60px, 8vw, 100px) 0; }
.legal-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.legal-content h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }
.legal-content p, .legal-content li { font-size: 0.95rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 0.75rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }

/* ─── Preloader / splash (matches the AEROV coming-soon aesthetic) ─── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, #123457 0%, #0a2340 55%),
    linear-gradient(180deg, #0a2340 0%, #061529 100%);
  transform: translateY(0);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.preloader.done { transform: translateY(-100%); pointer-events: none; }

.preloader__logo {
  position: relative;
  z-index: 2;
  width: clamp(180px, 30vw, 240px);
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(4, 20, 40, 0.45));
  animation: pl-logo 1.2s var(--ease-out) both;
}
@keyframes pl-logo {
  0%   { opacity: 0; transform: translateY(12px) scale(0.96); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.preloader__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader__tag {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua-light);
  opacity: 0;
  animation: pl-tag 1s var(--ease-out) 0.35s forwards;
}
@keyframes pl-tag { from { opacity: 0; transform: translateY(8px); } to { opacity: 0.92; transform: translateY(0); } }

.preloader__bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.preloader__bubble {
  position: absolute;
  bottom: -8%;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), rgba(159, 224, 250, 0.08) 60%, transparent 70%);
  opacity: 0.5;
  animation: pl-rise var(--dur, 16s) linear var(--delay, 0s) infinite;
}
@keyframes pl-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-115vh) translateX(var(--drift, 20px)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader__bubble { animation: none; opacity: 0.25; }
  .preloader__logo { animation: none; }
}

/* ─── Marquee ─── */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .story-panel { grid-template-columns: 1fr; min-height: auto; }
  .story-panel:nth-child(even) .story-panel__visual { order: 0; }
  .story-panel__visual { min-height: 50vh; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: calc(var(--nav-h) + 56px) 0 clamp(48px, 6vw, 72px); }
}

@media (max-width: 768px) {
  .container { width: min(1280px, 90vw); }

  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: #0b1f3a;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 1050;
    overflow-y: auto;
  }

  .nav__links.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,0.5); }
  /* backdrop-filter on an ancestor makes it the containing block for position:fixed
     children — which breaks the fixed menu once the nav is .scrolled. Disable on mobile. */
  .nav, .nav.scrolled { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .nav.scrolled { background: rgba(9, 22, 40, 0.97) !important; }
  .nav__links a,
  body.page-home .nav .nav__links a { font-size: 1.2rem; letter-spacing: 0.02em; text-transform: none; font-weight: 600; color: rgba(255,255,255,0.92); }
  body.nav-open { overflow: hidden; }
  .nav__toggle { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer__fab { right: 16px; bottom: 20px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 clamp(36px, 5vw, 56px); }
  .page-hero .lead { font-size: 1rem; }
  .section { padding: clamp(48px, 8vw, 72px) 0; }
  .anuyog-credit { padding: 18px 16px; }
  .anuyog-credit span { max-width: 28ch; line-height: 1.55; }
}

@media (max-width: 480px) {
  .container { width: min(1280px, 92vw); }
  .nav__inner { width: min(1280px, 94vw); }
  .footer__logo-wrap { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1; transform: none;
  }
}

/* ---------- Accessibility: skip link ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--aqua);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }

/* Nav top scrim — keeps links legible over image heroes; fades when scrolled */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.5) 0%, rgba(5, 10, 20, 0.12) 62%, transparent 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.4s var(--ease-out);
}
.nav.scrolled::before { opacity: 0; }

/* ─── Floating action buttons (WhatsApp · Enquire · Back-to-top) ─── */
.fab-stack {
  position: fixed;
  right: clamp(16px, 2.5vw, 26px);
  bottom: clamp(16px, 2.5vw, 26px);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; text-decoration: none; padding: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35); }
.fab--whatsapp { background: #25D366; color: #fff; }
.fab--enquire { background: linear-gradient(135deg, var(--aqua), var(--ocean)); color: #fff; position: relative; }
.fab--enquire::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(55, 183, 240, 0.5);
  animation: fabPulse 2.6s ease-out infinite;
}
@keyframes fabPulse {
  0% { box-shadow: 0 0 0 0 rgba(55, 183, 240, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(55, 183, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(55, 183, 240, 0); }
}
.fab--top { background: rgba(11, 31, 58, 0.92); color: #fff; backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transform: translateY(8px); }
.fab--top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .fab--enquire::after { animation: none; } }
@media (max-width: 768px) { .fab-stack { gap: 10px; } .fab { width: 42px; height: 42px; } .fab svg { width: 20px; height: 20px; } }

/* ─── Form success modal ─── */
.form-modal { position: fixed; inset: 0; z-index: 4000; display: none; align-items: center; justify-content: center; padding: 24px; }
.form-modal.open { display: flex; }
.form-modal__backdrop { position: absolute; inset: 0; background: rgba(3, 12, 24, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fm-fade 0.3s ease; }
.form-modal__card { position: relative; z-index: 1; width: min(440px, 100%); text-align: center; background: #fff; border-radius: 24px; padding: clamp(32px, 5vw, 48px); box-shadow: 0 40px 100px rgba(3, 12, 24, 0.45); animation: fm-pop 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.form-modal__icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--aqua), var(--ocean)); box-shadow: 0 12px 30px rgba(55, 183, 240, 0.4); }
.form-modal__icon svg { width: 34px; height: 34px; }
.form-modal__title { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.form-modal__text { font-size: 1rem; line-height: 1.6; color: #46586e; margin-bottom: 28px; }
.form-modal__close { display: flex; width: fit-content; min-width: 150px; margin-inline: auto; justify-content: center; }
body.modal-open { overflow: hidden; }
@keyframes fm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fm-pop { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .form-modal__card, .form-modal__backdrop { animation: none; } }
