/* ============================================================
   BLUEWAVE — RO Water Service | Premium Stylesheet
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --navy: #061A3D;
  --blue-900: #0A2A6B;
  --blue-800: #0E3A8F;
  --blue-700: #145DC4;
  --blue-600: #1B6FE0;
  --blue-500: #2E86F5;
  --cyan-400: #2FD3E3;
  --cyan-300: #7FE6EE;
  --ink: #0B1526;
  --slate: #55647D;
  --slate-light: #8493A8;
  --mist-50: #F4F9FF;
  --mist-100: #E9F2FC;
  --line: #E1EAF6;
  --white: #FFFFFF;

  --grad-hero: linear-gradient(160deg, #071B42 0%, #0A2C74 45%, #12539B 78%, #1B7FB8 100%);
  --grad-brand: linear-gradient(120deg, var(--blue-700), var(--cyan-400));
  --grad-mist: linear-gradient(180deg, #FFFFFF 0%, #F1F7FF 100%);

  --shadow-sm: 0 2px 10px rgba(10, 42, 107, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 42, 107, 0.12);
  --shadow-lg: 0 25px 60px rgba(6, 26, 61, 0.18);
  --shadow-glow: 0 0 0 1px rgba(47, 211, 227, 0.25), 0 20px 45px rgba(20, 93, 196, 0.25);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2.5px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-container,
.hero-container {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {

  .nav-container,
  .hero-container {
    padding: 0 20px;
  }
}

section {
  position: relative;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   TYPE SCALE / UTILITIES
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-700);
  padding: 6px 14px 6px 10px;
  background: rgba(20, 93, 196, 0.07);
  border: 1px solid rgba(20, 93, 196, 0.16);
  border-radius: var(--radius-pill);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(47, 211, 227, 0.25);
}

.eyebrow--light {
  color: #BFE4FF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.eyebrow--light::before {
  background: #7FE6EE;
}

.section-head {
  max-width: 1200px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 14px 0 14px;
}

.section-head p {
  color: var(--slate);
  font-size: 17px;
}

.section-pad {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-pad {
    padding: 68px 0;
  }
}

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

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform .3s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn:active {
  transform: scale(.97);
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 93, 196, 0.32);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(20, 93, 196, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--blue-500);
  background: var(--mist-100);
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
}

/* ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  animation: ripple .7s var(--ease-out);
}

@keyframes ripple {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

.stagger .reveal:nth-child(1) {
  transition-delay: .05s;
}

.stagger .reveal:nth-child(2) {
  transition-delay: .15s;
}

.stagger .reveal:nth-child(3) {
  transition-delay: .25s;
}

.stagger .reveal:nth-child(4) {
  transition-delay: .35s;
}

.stagger .reveal:nth-child(5) {
  transition-delay: .45s;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(6, 22, 55, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 13px 0;
  box-shadow: 0 8px 30px rgba(4, 16, 40, 0.25);
  border-color: rgba(255, 255, 255, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand .drop {
  width: 34px;
  height: 34px;
  border-radius: 10px 10px 10px 3px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(47, 211, 227, 0.35);
  transform: rotate(-45deg);
}

.brand .drop svg {
  transform: rotate(45deg);
  width: 17px;
  height: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  transition: color .3s, background .3s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}



.nav-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.nav-phone svg {
  width: 16px;
  height: 16px;
  color: var(--cyan-400);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-only-phone {
  display: none;
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    height: 100vh;
    background: linear-gradient(180deg, #0A2A6B, #071B42);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 100px 26px 26px;
    transform: translateX(100%);
    transition: transform .45s var(--ease-out);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    font-size: 16.5px;
    border-radius: 12px;
  }

  .nav-phone {
    display: none;
  }

  .nav-cta .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-only-phone {
    display: block;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-phone-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--blue-700);
    color: #fff !important;
    padding: 14px 20px !important;
    border-radius: var(--radius-pill);
    font-weight: 600;
  }

  .nav-phone-mobile svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  padding: 190px 0 180px;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 25%, rgba(127, 230, 238, 0.16), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(47, 134, 245, 0.28), transparent 45%);
  pointer-events: none;
}

.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  line-height: 0;
  z-index: 1;
}

.hero-waves svg {
  width: 100%;
  height: auto;
  display: block;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.05) 70%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: float-up linear infinite;
  pointer-events: none;
}

@keyframes float-up {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: .8;
  }

  90% {
    opacity: .5;
  }

  100% {
    transform: translateY(-620px) translateX(30px);
    opacity: 0;
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  color: #fff;
  margin: 20px 0 22px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--cyan-300);
}

.hero-copy p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-trust {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero-trust .stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: 18px;
  color: #fff;
}

.hero-trust .stat>span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: .02em;
}

/* Hero visual: purity glass */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1.08;
}


.hero-art .ring {
  display: none;
}

.float-card {
  position: absolute;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(9, 25, 58, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: bob 5s ease-in-out infinite;
}

.float-card svg {
  width: 20px;
  height: 20px;
  color: var(--cyan-400);
  flex-shrink: 0;
}

.float-card b {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  color: #fff;
}

.float-card span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.float-card.fc-1 {
  top: 8%;
  left: -6%;
  animation-delay: 0s;
}

.float-card.fc-2 {
  bottom: 12%;
  right: -8%;
  animation-delay: 1.2s;
}

.float-card.fc-3 {
  bottom: -4%;
  left: 12%;
  animation-delay: 2.4s;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-center-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-center-icon img {
  opacity: 0.85;
  transform: scale(2.4);
  animation: pulse-glow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 18px rgba(47, 211, 227, 0.35));
  }

  50% {
    filter: drop-shadow(0 0 34px rgba(47, 211, 227, 0.6));
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-trust {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero-trust {
    display: none;
  }
}

/* ============================================================
   LOGO / PARTNER STRIP
   ============================================================ */
.strip {
  position: relative;
  z-index: 20;
  margin-top: -20px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.strip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  background: var(--white);
  border-radius: 100px;
  padding: 16px 48px;
  box-shadow: 0 16px 40px rgba(6, 26, 61, 0.08), 0 2px 10px rgba(6, 26, 61, 0.03);
  border: 1px solid rgba(225, 234, 246, 0.8);
  backdrop-filter: blur(20px);
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  transition: transform 0.3s var(--ease-out);
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.strip-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.strip-text strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--navy);
  line-height: 1.2;
}

.strip-text span {
  font-size: 11.5px;
  color: var(--slate);
  font-weight: 500;
}

.strip-item:hover {
  transform: translateY(-3px);
}

.strip-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: var(--line);
}

.strip-item:not(:last-child)::before {
  content: '';
  position: absolute;
  right: -25.5px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan-400);
  z-index: 1;
}

.strip-item .icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #f4f7f9);
  color: var(--blue-700);
  font-size: 18px;
  box-shadow:
    -4px -4px 10px #ffffff,
    4px 4px 10px rgba(20, 93, 196, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(225, 234, 246, 0.3);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.strip-item .icon-box::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--blue-600);
  border-right-color: var(--blue-600);
  transform: rotate(-15deg);
  opacity: 0.8;
}

.strip-item:hover .icon-box {
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .strip-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    border-radius: var(--radius-lg);
    padding: 24px;
  }

  .strip-item:not(:last-child)::after,
  .strip-item:not(:last-child)::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .strip-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px;
    gap: 20px;
  }

  .strip-item {
    width: 100%;
  }
}

/* ============================================================
   WAVE DIVIDERS
   ============================================================ */
.wave-divider {
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SERVICES GRID (home teaser + services page)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(20, 93, 196, 0.1), rgba(47, 211, 227, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform .4s var(--ease-out);
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-4deg);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--blue-700);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--slate);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-700);
}

.service-card .card-link svg {
  width: 14px;
  height: 14px;
  transition: transform .3s var(--ease-out);
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

.service-card .tag {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-700);
  background: rgba(20, 93, 196, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(20, 93, 196, 0.16);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PURITY FLOW (signature element) — filtration pipeline
   ============================================================ */
.purity-flow {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 56px 34px 44px;
  overflow: hidden;
}

.purity-flow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(47, 211, 227, 0.14), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(20, 93, 196, 0.28), transparent 45%);
}

.pf-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  z-index: 1;
}

.pf-line {
  position: absolute;
  top: 55px;
  left: 41px;
  right: 41px;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 0;
  overflow: hidden;
}

.pf-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
  animation: flow-move 2.8s linear infinite;
}

@keyframes flow-move {
  0% {
    left: -30%;
  }

  100% {
    left: 100%;
  }
}

.pf-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 150px;
}

.pf-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-300);
  opacity: .75;
  margin-bottom: 8px;
  letter-spacing: .08em;
}

.pf-icon {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(20, 93, 196, 0.35), rgba(47, 211, 227, 0.2)), var(--navy);
  border: 1.5px solid rgba(127, 230, 238, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03);
}

.pf-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.pf-stage h4 {
  color: #fff;
  font-size: 14.5px;
  margin-bottom: 6px;
}

.pf-stage p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .pf-track {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
  }

  .pf-line {
    display: none;
  }

  .pf-stage {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    row-gap: 4px;
    text-align: left;
    max-width: none;
    align-items: center;
  }

  .pf-num {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    align-self: end;
  }

  .pf-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin-bottom: 0;
    align-self: center;
  }

  .pf-stage h4 {
    grid-column: 2;
    grid-row: 2;
    margin-bottom: 0;
  }

  .pf-stage p {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
  }
}

/* ============================================================
   HOW IT WORKS / TIMELINE (process steps — genuinely sequential)
   ============================================================ */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.t-step {
  position: relative;
  display: flex;
  gap: 24px;
  padding-bottom: 42px;
}

.t-step:last-child {
  padding-bottom: 0;
}

.t-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-600);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 17px;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--white);
}

.t-body h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.t-body p {
  color: var(--slate);
  font-size: 14.5px;
  max-width: 520px;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: var(--grad-hero);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 44px);
  color: #fff;
}

.stat-item>span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
}

@media (max-width: 760px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--mist-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #F5A623;
}

.testi-stars svg {
  width: 15px;
  height: 15px;
}

.testi-card p {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 20px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.testi-person b {
  display: block;
  font-size: 14px;
}

.testi-person span {
  font-size: 12.5px;
  color: var(--slate);
}

@media (max-width: 900px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grad-hero);
  color: #fff;
  padding: 62px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-band::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 211, 227, 0.35), transparent 70%);
}

.cta-band h3 {
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  max-width: 480px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 8px;
  max-width: 460px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================================
   PRICING / SUBSCRIPTION PLANS
   ============================================================ */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 48px;
  background: var(--mist-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px;
  width: fit-content;
}

.billing-toggle button {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--slate);
  transition: background .3s, color .3s;
}

.billing-toggle button.active {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}

.billing-toggle .save-badge {
  font-size: 10.5px;
  background: var(--cyan-400);
  color: var(--navy);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  font-weight: 700;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.plan-card.featured {
  border-color: transparent;
  color: #fff;
  background: var(--grad-hero);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.plan-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--cyan-400);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
}

.plan-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 14px;
}

.plan-card.featured .plan-name {
  color: var(--cyan-300);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.plan-price b {
  font-family: var(--font-display);
  font-size: 40px;
}

.plan-price span {
  color: var(--slate);
  font-size: 14px;
}

.plan-card.featured .plan-price span {
  color: rgba(255, 255, 255, 0.65);
}

.plan-desc {
  color: var(--slate);
  font-size: 14px;
  margin-bottom: 26px;
}

.plan-card.featured .plan-desc {
  color: rgba(255, 255, 255, 0.72);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.plan-features svg {
  width: 17px;
  height: 17px;
  color: var(--cyan-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-card:not(.featured) .plan-features svg {
  color: var(--blue-600);
}

@media (max-width: 940px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-6px);
  }
}

/* ============================================================
   COMPARISON TABLE (water treatment)
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--mist-50);
}

.compare-table td:first-child,
.compare-table th:first-child {
  font-weight: 600;
}

.compare-table .yes {
  color: #16A34A;
  font-weight: 700;
}

.compare-table .no {
  color: #CBD5E1;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

/* ============================================================
   FEATURE SPLIT (image/copy alternating rows)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3.1;
  background: var(--grad-mist);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-media svg {
  width: 56%;
  height: 56%;
}

.split-copy .eyebrow {
  margin-bottom: 16px;
}

.split-copy h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin-bottom: 16px;
}

.split-copy p {
  color: var(--slate);
  margin-bottom: 22px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--blue-600);
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split.reverse .split-media {
    order: 0;
  }
}

/* ============================================================
   PRODUCT CARDS (services page: jar / dispenser)
   ============================================================ */
.product-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  margin-bottom: 26px;
}

.product-media {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: var(--grad-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.product-media svg {
  width: 52%;
  height: 52%;
}

.product-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.product-info>p {
  color: var(--slate);
  margin-bottom: 18px;
}

.product-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-meta div b {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--navy);
}

.product-meta div span {
  font-size: 12px;
  color: var(--slate);
}

@media (max-width: 720px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .product-media {
    max-width: 220px;
    margin: 0 auto;
  }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .3s, border-color .3s;
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-600);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15.5px;
  font-family: var(--font-display);
}

.faq-q .plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mist-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform .35s var(--ease-out), background .3s;
}

.faq-item.open .faq-q .plus {
  background: var(--blue-600);
  transform: rotate(135deg);
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--blue-700);
  border-radius: 2px;
}

.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after {
  background: #fff;
}

.faq-q .plus::before {
  width: 11px;
  height: 2px;
}

.faq-q .plus::after {
  width: 2px;
  height: 11px;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out);
}

.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--slate);
  font-size: 14.5px;
}

/* ============================================================
   FORMS (contact page)
   ============================================================ */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--mist-50);
  font-size: 14.5px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20, 93, 196, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-chip {
  position: relative;
}

.radio-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.radio-chip span {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  transition: all .25s;
}

.radio-chip input:checked+span {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
}

.form-note {
  font-size: 12.5px;
  color: var(--slate-light);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success .check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(20, 93, 196, 0.1);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  color: var(--slate);
}

@media (max-width: 680px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 26px;
  }
}

/* Contact info cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}

.info-card {
  background: var(--mist-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
}

.info-card .service-icon {
  margin: 0 auto 18px;
}

.info-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.info-card p {
  color: var(--slate);
  font-size: 14px;
}

.info-card a {
  color: var(--blue-700);
  font-weight: 600;
}

@media (max-width: 760px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 380px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

/* ============================================================
   PAGE HEADER (inner pages hero)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  color: #fff;
  padding: 156px 0 90px;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(127, 230, 238, 0.16), transparent 42%), radial-gradient(circle at 80% 85%, rgba(47, 134, 245, 0.3), transparent 48%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  margin: 0 auto 18px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 50px);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
  font-size: 16.5px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
}

/* ============================================================
   WATER QUALITY METER (water-treatment page signature accent)
   ============================================================ */
.quality-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.meter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.meter-ring {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  position: relative;
}

.meter-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.meter-ring circle {
  fill: none;
  stroke-width: 8;
}

.meter-ring .bg {
  stroke: var(--mist-100);
}

.meter-ring .fg {
  stroke: url(#meterGrad);
  stroke-linecap: round;
  stroke-dasharray: 251;
  transition: stroke-dashoffset 1.4s var(--ease-out);
}

.meter-ring .val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}

.meter-card span {
  font-size: 13px;
  color: var(--slate);
  font-weight: 600;
}

@media (max-width: 760px) {
  .quality-meter {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
  padding-left: 20px;
}

.footer-top {
  padding: 76px 0 50px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand p {
  margin: 18px 0 22px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .3s, border-color .3s;
}

.footer-social a:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h5 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 14.5px;
  margin-bottom: 20px;
  letter-spacing: .02em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  transition: color .25s, padding-left .25s;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--cyan-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   BACK TO TOP + WHATSAPP FLOAT
   ============================================================ */
.float-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease-out), opacity .3s;
}

.float-btn svg {
  width: 22px;
  height: 22px;
}

.whatsapp-btn {
  background: #25D366;
  color: #fff;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
}

.top-btn {
  background: var(--white);
  color: var(--blue-700);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.top-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ============================================================
   MISC
   ============================================================ */
.divider-fade {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

::selection {
  background: var(--cyan-400);
  color: var(--navy);
}

.badge-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .badge-row {
    justify-content: flex-start !important;
  }
}

.mini-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.mini-badge svg {
  width: 15px;
  height: 15px;
  color: var(--blue-600);
}

/* ============================================================
   SERVICE IMAGES
   ============================================================ */
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
/* ============================================================
   MEMBERSHIP REGISTRATION — subscription.php
   (namespaced "mem-" prefix so nothing here can collide with
   any other component's classes)
   ============================================================ */
.mem-wrap{
  display:grid; grid-template-columns: 0.85fr 1.15fr; gap:0;
  border-radius: var(--radius-lg); overflow:hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

/* ---- Left visual / benefits panel ---- */
.mem-visual{
  position:relative; overflow:hidden;
  background: var(--grad-hero); color:#fff;
  padding: 44px 40px 48px;
  display:flex; flex-direction:column; justify-content:flex-start;
}
.mem-visual::before{
  content:''; position:absolute; inset:0;
  background-image: radial-gradient(circle at 20% 15%, rgba(127,230,238,0.18), transparent 42%),
                     radial-gradient(circle at 85% 90%, rgba(47,134,245,0.32), transparent 48%);
  pointer-events:none;
}
.mem-visual-inner{ position:relative; z-index:1; }

.mem-visual-logo{
  display:flex; align-items:flex-start; flex-direction:column; gap:16px;
  margin-bottom: 40px; padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.mem-visual-logo img{
  width:80px; height:80px; border-radius:50%; flex-shrink:0;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.1), 0 8px 24px rgba(0,0,0,0.25);
}
.mem-visual-logo b{
  display:block; font-family: var(--font-display); font-weight:700; font-size:22px; color:#fff; letter-spacing:-0.01em;
}
.mem-visual-logo span{ display:block; font-size:13px; color: rgba(255,255,255,0.55); letter-spacing:.04em; text-transform:uppercase; margin-top:2px; }

.mem-visual h3{ color:#fff; font-size: clamp(22px,2.6vw,28px); margin: 14px 0 12px; }
.mem-visual > .mem-visual-inner > p{ color: rgba(255,255,255,0.72); font-size:14.5px; margin-bottom: 30px; }

.mem-benefits{ display:flex; flex-direction:column; gap:18px; margin-bottom: 34px; }
.mem-benefit-item{
  display:flex; align-items:flex-start; gap:14px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  transition: background .35s var(--ease-out), transform .35s var(--ease-out), border-color .35s;
}
.mem-benefit-item:hover{
  background: rgba(255,255,255,0.12); transform: translateX(6px);
  border-color: rgba(127,230,238,0.4);
}
.mem-benefit-icon{
  width:38px; height:38px; border-radius:11px; flex-shrink:0;
  background: linear-gradient(150deg, rgba(47,211,227,0.25), rgba(20,93,196,0.4));
  border: 1px solid rgba(127,230,238,0.35);
  display:flex; align-items:center; justify-content:center;
}
.mem-benefit-icon svg{ width:18px; height:18px; color: var(--cyan-300); }
.mem-benefit-item b{ display:block; font-size:14.5px; color:#fff; margin-bottom:2px; }
.mem-benefit-item span{ font-size:12.5px; color: rgba(255,255,255,0.62); line-height:1.5; }

.mem-deposit-chip{
  display:flex; align-items:center; gap:12px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(47,211,227,0.1); border: 1px dashed rgba(127,230,238,0.4);
}
.mem-deposit-chip svg{ width:22px; height:22px; color: var(--cyan-300); flex-shrink:0; }
.mem-deposit-chip span{ font-size:13px; color: rgba(255,255,255,0.85); line-height:1.5; }
.mem-deposit-chip b{ color: var(--cyan-300); }

/* ---- Right form card ---- */
.mem-card{ background: var(--white); padding: 48px 44px; position:relative; }
.mem-card-head{ margin-bottom: 28px; }
.mem-card-head .eyebrow{ margin-bottom:12px; }
.mem-card-head h3{ font-size: 24px; margin-bottom:6px; }
.mem-card-head p{ color: var(--slate); font-size:14px; }

.mem-form .field{ margin-bottom:20px; }
.mem-form .field input,
.mem-form .field select,
.mem-form .field textarea{
  transition: border-color .3s, background .3s, box-shadow .3s, transform .25s var(--ease-out);
}
.mem-form .field input:hover,
.mem-form .field select:hover,
.mem-form .field textarea:hover{
  border-color: var(--blue-500);
}
.mem-form .field select{
  appearance:none; -webkit-appearance:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23145DC4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position: right 16px center; background-size:16px;
  padding-right: 44px; cursor:pointer;
}

/* Animated cost summary */
.mem-summary{
  position:relative; overflow:hidden;
  border-radius: var(--radius-md);
  padding: 24px 24px 20px;
  background: linear-gradient(155deg, rgba(20,93,196,0.06), rgba(47,211,227,0.08));
  border: 1px solid rgba(20,93,196,0.16);
  margin-bottom: 26px;
  transition: box-shadow .4s var(--ease-out), border-color .4s;
}
.mem-summary::before{
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background: var(--grad-brand);
}
.mem-summary:hover{ box-shadow: 0 14px 34px rgba(20,93,196,0.14); border-color: rgba(20,93,196,0.3); }
.mem-summary-row{
  display:flex; align-items:center; justify-content:space-between;
  font-size:14.5px; color: var(--ink); padding: 8px 0;
}
.mem-summary-row span{ color: var(--slate); font-weight:500; }
.mem-summary-row b{ font-family: var(--font-mono); font-weight:600; color: var(--navy); font-variant-numeric: tabular-nums; transition: color .3s; }
.mem-refund-note{
  display:flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:600; color: #16A34A; margin: 6px 0 4px;
}
.mem-refund-note svg{ width:15px; height:15px; flex-shrink:0; }
.mem-summary-divider{ height:1px; background: rgba(20,93,196,0.15); margin: 12px 0; }
.mem-total-row{
  display:flex; align-items:center; justify-content:space-between;
  padding-top: 4px;
}
.mem-total-row span{ font-family: var(--font-display); font-weight:700; font-size:15px; color: var(--navy); }
.mem-total-row b{
  font-family: var(--font-display); font-weight:800; font-size: 26px;
  background: var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent;
  font-variant-numeric: tabular-nums;
}
.mem-total-row b.pulse{ animation: mem-pulse .45s var(--ease-out); }
@keyframes mem-pulse{ 0%{ transform: scale(1); } 40%{ transform: scale(1.12); } 100%{ transform: scale(1); } }

.mem-divider-label{
  display:flex; align-items:center; gap:14px;
  margin: 8px 0 24px; color: var(--slate-light); font-size:12px; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase;
}
.mem-divider-label::before, .mem-divider-label::after{ content:''; flex:1; height:1px; background: var(--line); }

/* QR payment block */
.mem-qr-section{ text-align:center; margin-bottom: 26px; }
.mem-qr-section h4{ font-size:16.5px; margin-bottom:20px; }
.mem-qr-box{
  position:relative; width: 172px; height:172px; margin: 0 auto 18px;
  border-radius: 20px; padding: 14px;
  background: #fff; 
  /*border: 1.5px solid var(--line);*/
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.mem-qr-box:hover{ transform: translateY(-4px) scale(1.03); box-shadow: var(--shadow-glow); border-color: transparent; }
.mem-qr-box::before{
  content:''; position:absolute; inset:-1.5px; border-radius: 20px; z-index:-1;
  background: var(--grad-brand); opacity:0; transition: opacity .4s;
}
.mem-qr-box:hover::before{ opacity:1; }
.mem-qr-box .mem-qr-ring{
  position:absolute; inset:-8px; border-radius: 26px;
  border: 1.5px dashed rgba(20,93,196,0.3);
  animation: mem-spin 18s linear infinite;
}
.mem-qr-zoom{
  position:absolute; bottom:-10px; right:-10px; width:34px; height:34px; border-radius:50%;
  background: var(--grad-brand); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 16px rgba(20,93,196,0.4); border: 2px solid #fff;
  transition: transform .35s var(--ease-out);
}
.mem-qr-box:hover .mem-qr-zoom{ transform: scale(1.12) rotate(8deg); }
.mem-qr-zoom svg{ width:15px; height:15px; }
@keyframes mem-spin{ to{ transform: rotate(360deg); } }
.mem-qr-pattern{ width:100%; height:100%; display:block; }
.mem-qr-caption{ font-family: var(--font-mono); font-size:11.5px; color: var(--blue-700); font-weight:600; letter-spacing:.04em; }
.mem-qr-instructions{ max-width:360px; margin: 14px auto 0; color: var(--slate); font-size:13.5px; line-height:1.6; }

/* ---- QR fullscreen popup ---- */
.mem-qr-overlay{
  position:fixed; inset:0; z-index:2000;
  background: rgba(6,26,61,0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center;
  padding: 24px;
  opacity:0; visibility:hidden;
  transition: opacity .35s var(--ease-out), visibility 0s linear .35s;
}
.mem-qr-overlay.show{
  opacity:1; visibility:visible;
  transition: opacity .35s var(--ease-out), visibility 0s linear 0s;
}
.mem-qr-modal{
  position:relative; width:100%; max-width: 380px;
  background:#fff; border-radius: var(--radius-lg);
  padding: 40px 34px 34px; text-align:center;
  box-shadow: 0 40px 90px rgba(4,16,40,0.45);
  transform: scale(0.85) translateY(18px); opacity:0;
  transition: transform .45s var(--ease-out), opacity .4s var(--ease-out);
}
.mem-qr-overlay.show .mem-qr-modal{ transform: scale(1) translateY(0); opacity:1; }
.mem-qr-modal-close{
  position:absolute; top:16px; right:16px; width:34px; height:34px; border-radius:50%;
  background: var(--mist-100); border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center; color: var(--slate);
  transition: background .25s, color .25s, transform .25s;
}
.mem-qr-modal-close:hover{ background: var(--blue-700); color:#fff; transform: rotate(90deg); }
.mem-qr-modal-close svg{ width:16px; height:16px; }
.mem-qr-modal .eyebrow{ margin-bottom:16px; }
.mem-qr-modal h4{ font-size:19px; margin-bottom:6px; }
.mem-qr-modal p{ color: var(--slate); font-size:13.5px; margin-bottom:26px; }
.mem-qr-modal .mem-qr-box{ width:230px; height:230px; margin: 0 auto 20px; cursor:default; }
.mem-qr-modal .mem-qr-box:hover{ transform:none; box-shadow: var(--shadow-sm); }
.mem-qr-modal .mem-qr-box:hover::before{ opacity:0; }
.mem-qr-modal .mem-qr-amount{
  display:inline-flex; align-items:center; gap:8px; margin-top:18px;
  padding: 10px 20px; border-radius: var(--radius-pill);
  background: linear-gradient(155deg, rgba(20,93,196,0.08), rgba(47,211,227,0.1));
  border: 1px solid rgba(20,93,196,0.18);
  font-family: var(--font-display); font-weight:700; font-size:15px; color: var(--navy);
}
.mem-qr-modal .mem-qr-amount span{ font-size:12px; font-weight:600; color: var(--slate); }

.mem-submit{ margin-top: 4px; }

.mem-success{ display:none; text-align:center; padding: 50px 20px; }
.mem-success.show{ display:block; }
.mem-success .check-circle{
  width:68px; height:68px; border-radius:50%;
  background: rgba(20,93,196,0.1); color: var(--blue-700);
  display:flex; align-items:center; justify-content:center; margin: 0 auto 20px;
  animation: mem-pop .5s var(--ease-out);
}
@keyframes mem-pop{ 0%{ transform: scale(0.4); opacity:0; } 100%{ transform: scale(1); opacity:1; } }
.mem-success h3{ margin-bottom:8px; }
.mem-success p{ color: var(--slate); max-width:360px; margin: 0 auto; }

@media (max-width: 940px){
  .mem-wrap{ grid-template-columns: 1fr; }
  .mem-visual{ padding: 40px 30px; }
  .mem-card{ padding: 38px 26px; }
}
@media (max-width: 560px){
  .mem-card{ padding: 30px 20px; }
  .mem-summary{ padding: 20px 18px 16px; }
}
