/* ============================================================
   AquaForce PW LLC - Main Stylesheet
   Design: "Deep Water Industrial" - navy depth, cyan glow
   Fonts loaded via <link> tags in each page head:
   Space Grotesk (display) + Inter (body)
   ============================================================ */

:root {
  /* Legacy tokens (kept for compatibility) */
  --navy:       #0f2847;
  --navy-mid:   #1a3a5c;
  --blue:       #0ea5e9;
  --blue-dark:  #0284c7;
  --blue-light: #bae6fd;
  --white:      #ffffff;
  --off:        #f0f4f8;
  --off2:       #e2e8f0;
  --text:       #0f172a;
  --muted:      #64748b;
  --border:     #cbd5e1;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 4px 24px rgba(15,23,42,0.07);
  --shadow-lg:  0 20px 60px rgba(15,23,42,0.16);

  /* Deep Water palette */
  --navy-950:   #050e1d;
  --navy-900:   #081b33;
  --navy-800:   #0f2847;
  --cyan-300:   #67e8f9;
  --cyan-400:   #22d3ee;
  --cyan-500:   #0ea5e9;
  --cyan-700:   #0369a1;
  --amber:      #fbbf24;

  --grad-water: linear-gradient(120deg, #22d3ee, #0ea5e9 55%, #0369a1);
  --grad-water-soft: linear-gradient(120deg, rgba(34,211,238,0.9), rgba(14,165,233,0.9) 55%, rgba(3,105,161,0.9));
  --glow-cyan:  0 0 24px rgba(14,165,233,0.35), 0 8px 32px rgba(14,165,233,0.22);

  --surface-glass: rgba(255,255,255,0.05);
  --border-glass:  rgba(255,255,255,0.10);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Reusable dark-section glow background */
  --bg-deep: radial-gradient(900px 480px at 82% -10%, rgba(14,165,233,0.16), transparent 65%),
             radial-gradient(700px 420px at -10% 110%, rgba(34,211,238,0.08), transparent 60%),
             linear-gradient(160deg, var(--navy-900), var(--navy-950));
}

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

::selection { background: rgba(14,165,233,0.3); }

/* ------ Utility ------ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-water);
}
.section-label--center::before { display: none; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-title span {
  background: var(--grad-water);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 14px;
  max-width: 560px;
}

/* Inline SVG icon defaults */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}
.icon-sm { width: 16px; height: 16px; }

/* Stars (filled SVG) */
.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--amber);
}
.stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

/* ------ Wave divider ------ */
.wave-divider {
  display: block;
  line-height: 0;
  margin-top: -1px;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 64px;
}
.wave-divider path { fill: var(--white); }
.wave-divider--off path  { fill: var(--off); }
.wave-divider--navy path { fill: var(--navy-950); }
@media (max-width: 600px) { .wave-divider svg { height: 36px; } }

/* ------ Reveal animations ------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1), filter 0.65s ease;
  filter: blur(3px);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad-water);
  background-size: 200% 100%;
  animation: grad-drift 6s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav.scrolled {
  background: rgba(5, 14, 29, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.nav.scrolled::after { opacity: 1; }
@keyframes grad-drift {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-home-btn {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-home-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--blue); }
.nav-logo-icon { width: 34px; height: 34px; flex-shrink: 0; }
.nav-logo-img  { height: 44px; width: auto; flex-shrink: 0; }

.nav-links { display: none; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan-400); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-phone {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-phone:hover { color: var(--cyan-400); }
.btn-nav {
  background: var(--grad-water);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(14,165,233,0.35);
  transition: box-shadow 0.2s, transform 0.15s;
}
.btn-nav:hover { box-shadow: var(--glow-cyan); transform: translateY(-1px); }

.nav-hamburger {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger-lines span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger-label {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-hamburger.open .hamburger-lines span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open .hamburger-lines span:nth-child(2) { opacity: 0; }
.nav-hamburger.open .hamburger-lines span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(5,14,29,0.98);
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border-glass);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-mobile .btn-nav { margin-top: 16px; text-align: center; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
}
.hero-bg {
  position: absolute;
  inset: -10%;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.08) translate(0,0); }
  to   { transform: scale(1.0)  translate(-1%, 1%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 480px at 88% 78%, rgba(14,165,233,0.22), transparent 60%),
    linear-gradient(135deg, rgba(5,14,29,0.92) 0%, rgba(8,27,51,0.78) 55%, rgba(8,27,51,0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,233,0.14);
  border: 1px solid rgba(34,211,238,0.4);
  color: var(--cyan-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 10px rgba(34,211,238,0.9);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--cyan-300), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
  max-width: 520px;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Trust chips under hero CTAs */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.trust-chip .icon { width: 15px; height: 15px; color: var(--cyan-400); }
.trust-chip .stars svg { width: 13px; height: 13px; }

/* Buttons */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-water);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(14,165,233,0.35);
  will-change: transform;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--glow-cyan);
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 4px 14px rgba(14,165,233,0.3);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
  will-change: transform;
}
.btn-outline:hover {
  border-color: var(--cyan-400);
  background: rgba(14,165,233,0.12);
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }

.hero-scroll {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll-dot {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero-scroll-dot::after {
  content: '';
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--cyan-400);
  animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}


/* ============================================================
   SECTION NAV BAR (home page - bottom of hero)
   ============================================================ */
.section-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: rgba(5, 14, 29, 0.6);
  border-top: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.section-nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.section-nav-btn {
  display: inline-block;
  padding: 9px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.section-nav-btn:hover,
.section-nav-btn.active {
  background: rgba(14,165,233,0.18);
  border-color: var(--cyan-400);
  color: var(--white);
  box-shadow: 0 0 16px rgba(14,165,233,0.25);
}
@media (max-width: 600px) {
  .section-nav-btn { padding: 8px 14px; font-size: 0.78rem; }
  .section-nav-inner { gap: 7px; padding: 11px 0; }
}


/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--grad-water);
  overflow: hidden;
  padding: 11px 0;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.ticker-track span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  margin-right: 24px;
  flex-shrink: 0;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--bg-deep);
  padding: 72px 0;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.09);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}
.stat-item {
  background: rgba(8,27,51,0.85);
  padding: 44px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  background: linear-gradient(120deg, var(--cyan-300), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat-suffix { font-size: 1.5rem; color: var(--cyan-400); font-weight: 700; }
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
  font-weight: 500;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 96px 0; background: var(--off); }
.services-header { margin-bottom: 56px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 32px;
  border: 1px solid var(--off2);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease, border-color 0.2s ease;
  cursor: default;
  will-change: transform;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-water);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(8,27,51,0.14);
  border-color: rgba(14,165,233,0.45);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-700);
  margin-bottom: 20px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.service-icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-icon {
  background: var(--grad-water);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(14,165,233,0.4);
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.service-link {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--off);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }
.services-more { text-align: center; margin-top: 44px; }


/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
.ba-section { padding: 96px 0; background: var(--white); }
.ba-header { margin-bottom: 56px; }
.ba-sliders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ba-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  user-select: none;
  cursor: ew-resize;
  touch-action: none;        /* prevents page scroll while dragging on mobile */
  box-shadow: var(--shadow-lg);
  -webkit-user-select: none;
}
.ba-slider img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before { z-index: 1; }
.ba-after  { z-index: 2; clip-path: inset(0 50% 0 0); transition: clip-path 0s; }

.ba-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: var(--grad-water);
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 14px rgba(14,165,233,0.6);
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2847' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5'/%3E%3Cpath d='m15 7 5 5-5 5'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 2px 16px rgba(0,0,0,0.35), 0 0 0 4px rgba(14,165,233,0.35);
  z-index: 4;
}
.ba-handle.hint { animation: ba-hint 1.6s ease 0.4s 2; }
@keyframes ba-hint {
  0%, 100% { box-shadow: 0 2px 16px rgba(0,0,0,0.35), 0 0 0 4px rgba(14,165,233,0.35); transform: translate(-50%,-50%) scale(1); }
  50%      { box-shadow: 0 2px 16px rgba(0,0,0,0.35), 0 0 0 12px rgba(14,165,233,0.18); transform: translate(-50%,-50%) scale(1.12); }
}

.ba-label {
  position: absolute;
  bottom: 14px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 5;
}
.ba-label-before {
  left: 14px;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
}
.ba-label-after {
  right: 14px;
  background: var(--grad-water);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(14,165,233,0.45);
}
.ba-caption {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Single featured slider (home page) */
.ba-feature {
  max-width: 860px;
  margin: 0 auto;
}
.ba-feature .ba-slider { aspect-ratio: 16/10; }
.ba-feature-cta { text-align: center; margin-top: 40px; }


/* ============================================================
   WHY US
   ============================================================ */
.why { padding: 96px 0; background: var(--bg-deep); }
.why-header { margin-bottom: 56px; }
.why-header .section-title { color: var(--white); }
.why-header .section-sub { color: rgba(255,255,255,0.6); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-card {
  position: relative;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  gap: 22px;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.why-card:hover {
  background: rgba(14,165,233,0.08);
  border-color: rgba(34,211,238,0.4);
  box-shadow: inset 0 0 40px rgba(14,165,233,0.06), 0 0 24px rgba(14,165,233,0.12);
  transform: translateY(-3px);
}
.why-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(14,165,233,0.14);
  border: 1px solid rgba(34,211,238,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
}
.why-icon .icon { width: 24px; height: 24px; }
.why-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.why-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
}


/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: 96px 0; background: var(--off); }
.gallery-header { margin-bottom: 56px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow);
  grid-column: span 4;
  aspect-ratio: 4/3;
}
.gallery-item--ba {
  grid-column: 1 / -1;
  aspect-ratio: 1204/440;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,14,29,0.85) 0%, rgba(5,14,29,0.25) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: translateY(8px);
  transition: transform 0.3s;
}
.gallery-item:hover .gallery-item-label { transform: translateY(0); }

.gallery-extra { display: none; }
.gallery-extra.show { display: block; }

.gallery-see-more-wrap {
  text-align: center;
  margin-top: 36px;
}
.gallery-see-more-btn {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--navy);
  padding: 12px 40px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.gallery-see-more-btn:hover {
  background: var(--grad-water);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--glow-cyan);
}


/* ============================================================
   REVIEWS STRIP + REVIEW CARDS
   ============================================================ */
.reviews-strip {
  background: var(--bg-deep);
  padding: 30px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}
.reviews-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.review-text {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 600;
}
.review-sub {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
}
.review-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.15);
}
.reviews-strip-link {
  color: var(--cyan-400);
  font-size: 0.85rem;
  font-weight: 700;
}
.reviews-strip-link:hover { text-decoration: underline; }

.review-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--off2);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: left;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease, border-color 0.2s ease;
  overflow: hidden;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: -18px; right: 14px;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: rgba(14,165,233,0.1);
  pointer-events: none;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(8,27,51,0.14);
  border-color: rgba(14,165,233,0.45);
}
.review-card .stars { margin-bottom: 14px; }
.review-quote {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-water);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.review-role { font-size: 0.78rem; color: var(--muted); }


/* ============================================================
   INSTANT QUOTE CALCULATOR
   ============================================================ */
.calc-section { padding: 96px 0; background: var(--bg-deep); }

.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.calc-left .section-title { color: var(--white); }
.calc-left .section-sub   { color: rgba(255,255,255,0.6); }

.calc-trust { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.calc-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
}
.calc-trust-item .icon {
  width: 20px; height: 20px;
  color: var(--cyan-400);
}

.calc-card {
  position: relative;
  background: rgba(8,27,51,0.65);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 38px;
  backdrop-filter: blur(8px);
  background-clip: padding-box;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), inset 0 0 60px rgba(14,165,233,0.04);
}
.calc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(34,211,238,0.5), rgba(14,165,233,0.12) 40%, rgba(3,105,161,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.calc-step { margin-bottom: 28px; }

.calc-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.calc-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.calc-btn {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}
.calc-btn:hover {
  border-color: var(--cyan-400);
  color: var(--white);
  background: rgba(14,165,233,0.1);
}
.calc-btn.active {
  background: var(--grad-water);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 2px 12px rgba(14,165,233,0.4);
}

.calc-slider-wrap { position: relative; padding-top: 4px; }

.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  --fill: 28%;
  background: linear-gradient(90deg, #22d3ee 0%, #0ea5e9 var(--fill), rgba(255,255,255,0.14) var(--fill), rgba(255,255,255,0.14) 100%);
  outline: none;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--cyan-400);
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(14,165,233,0.22), 0 0 18px rgba(34,211,238,0.5);
  transition: box-shadow 0.2s;
}
.calc-range::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 9px rgba(14,165,233,0.26), 0 0 24px rgba(34,211,238,0.65);
}
.calc-range::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--cyan-400);
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(14,165,233,0.22), 0 0 18px rgba(34,211,238,0.5);
}
.calc-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.calc-sqft-display {
  text-align: center;
  color: var(--cyan-300);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 14px;
  letter-spacing: 0.01em;
}

.calc-result {
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(34,211,238,0.28);
  border-radius: 14px;
  padding: 26px 24px;
  text-align: center;
}
.calc-result-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-400);
  margin-bottom: 10px;
}
.calc-result-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--cyan-300), var(--white) 50%, var(--cyan-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.calc-result-price.pop { animation: price-pop 0.3s ease; }
@keyframes price-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.045); }
  100% { transform: scale(1); }
}
.calc-result-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.calc-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-water);
  color: var(--white);
  border: none;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(14,165,233,0.4);
  transition: box-shadow 0.2s, transform 0.15s;
}
.calc-cta:hover { box-shadow: var(--glow-cyan); transform: translateY(-1px); }

@media (max-width: 768px) {
  .calc-wrap { grid-template-columns: 1fr; gap: 40px; }
  .calc-btns { grid-template-columns: 1fr 1fr; }
  .calc-card { padding: 26px 20px; }
}


/* ============================================================
   ESTIMATE TEASER BAND (home page)
   ============================================================ */
.estimate-band {
  background: var(--bg-deep);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.estimate-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.estimate-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.estimate-band h2 span {
  background: linear-gradient(120deg, var(--cyan-300), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.estimate-band p {
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  font-size: 0.98rem;
}


/* ============================================================
   SERVICE AREAS STRIP
   ============================================================ */
.areas { padding: 80px 0; background: var(--white); text-align: center; }
.areas .container { max-width: 760px; }
.areas-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: var(--off);
  color: var(--navy);
  border: 1px solid var(--off2);
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.area-chip .icon { width: 15px; height: 15px; color: var(--blue); }
.area-chip:hover { border-color: rgba(14,165,233,0.5); box-shadow: 0 2px 12px rgba(14,165,233,0.15); }
.area-chip--hot {
  background: var(--grad-water);
  color: var(--white);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(14,165,233,0.35);
}
.area-chip--hot .icon { color: var(--white); }


/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 96px 0; background: var(--off); }
.faq-header { margin-bottom: 56px; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--off2);
  border-radius: 14px;
  padding: 0 26px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item:hover { border-color: rgba(14,165,233,0.4); }
.faq-item.open {
  border-color: rgba(14,165,233,0.55);
  box-shadow: 0 8px 32px rgba(14,165,233,0.12);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--off2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  transition: transform 0.3s, border-color 0.3s, background 0.3s, color 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: transparent;
  background: var(--grad-water);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease;
}
.faq-answer p {
  padding-bottom: 24px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 320px; opacity: 1; }


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--bg-deep);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -55%; right: -8%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.16), transparent 65%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60%; left: -10%;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.1), transparent 65%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner .section-title { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.65); margin-bottom: 36px; font-size: 1.05rem; }
.cta-banner .btn-primary { font-size: 1.05rem; padding: 17px 38px; }


/* ============================================================
   CONTACT FORM (shared input styles)
   ============================================================ */
.contact { padding: 96px 0; background: var(--off); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 36px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--grad-water);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.contact-detail small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; margin-top: 1px; }

.contact-form {
  background: var(--white);
  padding: 42px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--off2);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--off2);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px; /* prevents iOS zoom-jump on focus */
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.14);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  position: relative;
  width: 100%;
  background: var(--grad-water);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(14,165,233,0.35);
  transition: box-shadow 0.2s, transform 0.15s;
  margin-top: 8px;
  overflow: hidden;
}
.btn-submit::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-submit:hover { box-shadow: var(--glow-cyan); transform: translateY(-1px); }
.btn-submit:hover::after { left: 130%; }
.btn-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }

.form-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}
.form-assurance .icon { width: 16px; height: 16px; color: var(--blue); }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-950);
  padding: 56px 0 32px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-water);
  opacity: 0.7;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  margin-top: 14px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-insured {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(34,211,238,0.25);
  color: var(--cyan-300);
  font-size: 0.78rem;
  font-weight: 600;
}
.footer-insured .icon { width: 15px; height: 15px; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cyan-400); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}


/* ============================================================
   MOBILE STICKY BAR
   ============================================================ */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  background: rgba(5,14,29,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.mobile-bar::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--grad-water);
  opacity: 0.8;
}
.mobile-bar-inner {
  display: flex;
  gap: 10px;
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
}
.mobile-bar a .icon { width: 17px; height: 17px; }
.mobile-bar .call-btn {
  background: var(--grad-water);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(14,165,233,0.4);
}
.mobile-bar .quote-btn {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}


/* ============================================================
   QUOTE PAGE
   ============================================================ */
.nav-quote .nav-links { display: none; }
.btn-nav-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: border-color 0.2s, color 0.2s;
}
.btn-nav-ghost:hover { border-color: var(--cyan-400); color: var(--white); }

.quote-hero {
  min-height: 100vh;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 108px 24px 80px;
}
.quote-hero-inner {
  width: 100%;
  max-width: 680px;
  text-align: center;
}
.quote-hero-text { margin-bottom: 32px; }
.quote-hero-text .section-label::before { display: none; }

.quote-page .calc-btns { grid-template-columns: repeat(3, 1fr); }

.quote-scroll-hint {
  margin-top: 28px;
  color: rgba(255,255,255,0.38);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  animation: qbounce 2.2s ease-in-out infinite;
}
@keyframes qbounce {
  0%, 100% { transform: translateY(0); opacity: 0.38; }
  50%       { transform: translateY(5px); opacity: 0.65; }
}

/* Floating bar */
.float-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--grad-water);
  color: var(--white);
  padding: 14px 52px calc(14px + env(safe-area-inset-bottom)) 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 998;
  cursor: pointer;
  box-shadow: 0 -4px 28px rgba(14,165,233,0.4);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
}
.float-bar.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.float-bar-icon { display: inline-flex; }
.float-bar-icon .icon { width: 18px; height: 18px; }
.float-bar-text { font-weight: 700; font-size: 0.95rem; }
.float-bar-arrow { font-size: 1rem; animation: qbounce 1.6s ease-in-out infinite; }
.float-bar-close {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  transition: color 0.2s;
}
.float-bar-close:hover { color: var(--white); }
.float-bar-close .icon { width: 16px; height: 16px; }

.quote-form-section {
  padding: 96px 0 112px;
  background: var(--off);
}
.quote-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}
.quote-form-header { text-align: center; }
.quote-form-header .section-label::before { display: none; }

.quote-success {
  margin-top: 16px;
  padding: 16px 20px;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  color: #15803d;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.quote-page .mobile-bar { display: none !important; }
body.quote-page { padding-bottom: 0; }

@media (max-width: 600px) {
  .quote-page .calc-btns { grid-template-columns: 1fr 1fr; }
  .float-bar-text { font-size: 0.82rem; }
}

/* Offset gallery anchor below fixed nav */
#gallery { scroll-margin-top: 80px; }


/* ============================================================
   PAGE HEADER (section pages)
   ============================================================ */
.page-header {
  background: var(--bg-deep);
  padding: 140px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header .section-label { color: var(--cyan-400); }
.page-header .section-label::before { display: none; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-top: 8px;
}
.page-header h1 span {
  background: linear-gradient(120deg, var(--cyan-300), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-header-sub {
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  margin-top: 14px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.page-header-breadcrumb {
  margin-top: 22px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.page-header-breadcrumb a {
  color: var(--cyan-400);
  font-weight: 600;
}
.page-header-breadcrumb a:hover { text-decoration: underline; }


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: var(--bg-deep);
  padding: 150px 24px 88px;
}
.about-hero .container { max-width: 860px; }
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-top: 10px;
}
.about-hero h1 span {
  background: linear-gradient(120deg, var(--cyan-300), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-hero p {
  color: rgba(255,255,255,0.68);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 20px;
  max-width: 600px;
}

.story { padding: 88px 0; background: var(--white); }
.story .container { max-width: 860px; }
.story-flow {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.story-flow p {
  position: relative;
  padding: 0 0 32px 36px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  border-left: 2px solid var(--off2);
  margin-left: 8px;
}
.story-flow p:last-child { padding-bottom: 0; }
.story-flow p::before {
  content: '';
  position: absolute;
  left: -8px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grad-water);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.18);
}


/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.ty-section {
  min-height: 100vh;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}
.ty-inner { text-align: center; max-width: 560px; }
.ty-check {
  width: 96px; height: 96px;
  margin: 0 auto 28px;
  display: block;
}
.ty-check-circle {
  stroke: var(--cyan-400);
  stroke-width: 2.5;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: ty-draw 0.7s ease forwards;
  filter: drop-shadow(0 0 12px rgba(34,211,238,0.5));
}
.ty-check-mark {
  stroke: var(--white);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: ty-draw 0.45s ease 0.55s forwards;
}
@keyframes ty-draw { to { stroke-dashoffset: 0; } }
.ty-title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.ty-title span {
  background: linear-gradient(120deg, var(--cyan-300), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ty-lead { color: rgba(255,255,255,0.72); font-size: 1.1rem; line-height: 1.7; margin-bottom: 12px; }
.ty-lead strong { color: var(--white); }
.ty-note { color: rgba(255,255,255,0.5); font-size: 0.95rem; margin-bottom: 40px; }
.ty-card {
  position: relative;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 40px;
  text-align: left;
}
.ty-card-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ty-card a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.ty-card a:last-child { margin-bottom: 0; font-weight: 500; color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.ty-card a .icon { color: var(--cyan-400); width: 20px; height: 20px; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-sliders { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item { grid-column: span 1 !important; aspect-ratio: 4/3; }
  .gallery-item--ba { grid-column: 1 / -1 !important; aspect-ratio: 1204/440; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-right { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-bar { display: block; }
  body { padding-bottom: 84px; }
  .hero-ctas { flex-direction: column; max-width: 300px; }
  .btn-primary, .btn-outline { justify-content: center; }
  .hero-scroll { display: none; }
  .estimate-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 32px 18px; }
  .stat-number { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .calc-result-price { font-size: 1.9rem; }
  .calc-card { padding: 22px 16px; }
  .calc-range::-webkit-slider-thumb { width: 30px; height: 30px; }
  .calc-range::-moz-range-thumb { width: 28px; height: 28px; }
  .gallery-see-more-btn { width: 100%; }
  .hero-trust { gap: 7px; }
  .trust-chip { font-size: 0.72rem; padding: 6px 11px; }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg,
  .ticker-track,
  .nav::after,
  .hero-badge::before,
  .hero-scroll-dot::after,
  .quote-scroll-hint,
  .float-bar-arrow,
  .ba-handle.hint,
  .ty-check-circle,
  .ty-check-mark {
    animation: none !important;
  }
  .ty-check-circle, .ty-check-mark { stroke-dashoffset: 0; }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .btn-primary::after, .btn-submit::after { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}


/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scrollBar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-water);
  z-index: 9999;
  pointer-events: none;
  will-change: width;
}


/* ============================================================
   HERO CANVAS — floating particle mist
   ============================================================ */
#heroCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.62;
}


/* ============================================================
   GALLERY LIGHTBOX
   ============================================================ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(5,14,29,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#lightbox.open { display: flex; }
#lbInner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(94vw, 1100px);
  animation: lbIn 0.28s cubic-bezier(0.22,1,0.36,1);
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
#lbImg {
  max-width: min(94vw, 1100px);
  max-height: 82vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0,0,0,0.65);
}
#lbCaption {
  margin-top: 14px;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
#lbClose, #lbPrev, #lbNext {
  position: fixed;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1300;
  font-weight: 300;
  line-height: 1;
}
#lbClose:hover, #lbPrev:hover, #lbNext:hover { background: rgba(255,255,255,0.22); }
#lbClose {
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  font-size: 1.6rem;
}
#lbPrev, #lbNext {
  top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  font-size: 2rem;
}
#lbPrev { left: 16px; }
#lbNext { right: 16px; }
@media (max-width: 600px) {
  #lbPrev { left: 6px; }
  #lbNext { right: 6px; }
  #lbClose { top: 12px; right: 12px; }
}


/* ============================================================
   SERVICE CARD — 3D TILT SPECULAR HIGHLIGHT
   ============================================================ */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.13), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }


/* ============================================================
   SERVICE AREA MAP (Leaflet)
   ============================================================ */
#serviceMap {
  height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 40px 0 32px;
  border: 1px solid var(--off2);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 480px) {
  #serviceMap { height: 300px; }
}
.leaflet-popup-content-wrapper {
  border-radius: 10px !important;
  box-shadow: 0 8px 30px rgba(15,23,42,0.15) !important;
}
.leaflet-popup-content {
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  color: var(--navy) !important;
  line-height: 1.55 !important;
  margin: 10px 14px !important;
}
.leaflet-popup-content strong {
  font-family: var(--font-display) !important;
  color: var(--navy) !important;
}


/* ============================================================
   CLICK WATER RIPPLE
   ============================================================ */
@keyframes ripple-out {
  to { transform: scale(14); opacity: 0; }
}
.click-ripple {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  border: 1.5px solid rgba(34,211,238,0.85);
  width: 20px;
  height: 20px;
  margin: -10px;
  z-index: 9998;
  animation: ripple-out 0.9s ease-out forwards;
}


/* ============================================================
   FLOWING GRADIENT ACCENT TEXT
   ============================================================ */
@keyframes grad-flow {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
.hero-title .accent {
  background: linear-gradient(90deg, #22d3ee, #38bdf8, #0ea5e9, #22d3ee);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: grad-flow 2.5s ease infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-title .accent { animation: none; }
}


/* ============================================================
   DIRTY → CLEAN SCROLL REVEAL
   ============================================================ */
.section-title {
  transition: filter 0.9s ease 0.35s;
}
.section-title.dirty {
  filter: blur(3px) saturate(0) brightness(0.55);
}


/* ============================================================
   WATER FILL STAT ANIMATION
   ============================================================ */
.stat-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: rgba(14,165,233,0.13);
  transition: height 2.8s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
  z-index: 1;
}
.stat-wave::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -25%;
  width: 150%;
  height: 28px;
  background: rgba(14,165,233,0.22);
  border-radius: 50%;
  animation: wavecrest 3s ease-in-out infinite;
}
@keyframes wavecrest {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50%       { transform: translateX(-16%) scaleY(1.2); }
}
.stat-number, .stat-suffix, .stat-label {
  position: relative;
  z-index: 2;
}
