/* ══════════════════════════════════════════════════════════
   MEGAWAH — CAR WASH & DETAILING CENTRE
   Premium Animated Website Styles
   ══════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  /* Colors */
  --frame-bg:        #000000;   /* letterbox fill — tweak to match your frame edges */
  --bg-primary:      #070b17;
  --bg-secondary:    #0d1326;
  --bg-card:         #111827;
  --bg-card-hover:   #162035;
  --blue-primary:    #00a8ff;
  --blue-secondary:  #0057ff;
  --blue-glow:       rgba(0, 168, 255, 0.15);
  --blue-glow-strong:rgba(0, 168, 255, 0.35);
  --accent:          #00c8ff;
  --text-primary:    #f0f4ff;
  --text-secondary:  #a8b4cc;
  --text-muted:      #5a6a88;
  --border:          rgba(0, 168, 255, 0.12);
  --border-hover:    rgba(0, 168, 255, 0.4);
  --glass-bg:        rgba(13, 19, 38, 0.8);
  --glass-border:    rgba(0, 168, 255, 0.2);

  /* Typography */
  --font-heading:    'Outfit', sans-serif;
  --font-body:       'Inter', sans-serif;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-max:   1200px;

  /* Transitions */
  --transition:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-blue:     0 0 30px rgba(0, 168, 255, 0.2);
  --shadow-card:     0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 16px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 168, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  margin: 0;
  padding: 0;
}

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

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

ul { list-style: none; }

/* ── Utilities ─────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section { 
  padding: var(--section-padding);
  position: relative;
  z-index: 10;
}

.section-dark { 
  background: var(--bg-secondary);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: rgba(0, 168, 255, 0.1);
  border: 1px solid rgba(0, 168, 255, 0.3);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-title.left-align { text-align: left; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 168, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0, 168, 255, 0.6);
  filter: brightness(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  background: var(--blue-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-primary);
  border: 1.5px solid var(--blue-primary);
  box-shadow: inset 0 0 0 0 var(--blue-primary);
}

.btn-outline:hover {
  background: var(--blue-primary);
  color: #fff;
  box-shadow: 0 6px 24px rgba(0, 168, 255, 0.4);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

/* ── Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* Must sit above site-content (z-index: 10) and dark overlay (-1) */
  z-index: 1000;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 19, 38, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.85rem 0;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.5));
  transform: scale(1.05);
}

/* Dark pill behind logo */
.nav-logo {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--blue-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 60%; }

.nav-cta {
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  color: #fff;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 168, 255, 0.3);
  flex-shrink: 0;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 168, 255, 0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-overlay.active { display: block; opacity: 1; }

/* ══════════════════════════════════════════════════════════
   HERO ANIMATION SECTION — Pinned canvas-only
   ══════════════════════════════════════════════════════════ */
.hero-wash-section {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--frame-bg);   /* letterbox + fallback while frames load */
}

/* Hero canvas element */
.hero-wash-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* Particle Canvas */
.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Water Rings Animation */
.water-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 168, 255, 0.15);
  transform: translate(-50%, -50%);
  animation: ringPulse 6s ease-out infinite;
}

.ring-1 { width: 400px; height: 400px; animation-delay: 0s; }
.ring-2 { width: 700px; height: 700px; animation-delay: 2s; }
.ring-3 { width: 1000px; height: 1000px; animation-delay: 4s; }

@keyframes ringPulse {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  30%  { opacity: 0.6; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

/* Scroll Indicator (inside animation section) */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 5;
  animation: fadeIn 1.5s 1.2s ease both;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--blue-primary);
  border-radius: 2px;
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   DETAILING SHINE SECTION — Pinned canvas-only
   ══════════════════════════════════════════════════════════ */
.detailing-shine-section {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--frame-bg);
}

/* Detailing shine canvas */
.detailing-shine-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* Vignette overlay */
.detailing-shine-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 20%, transparent 75%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Text overlay panel — bottom-left anchored */
.detail-overlay-content {
  position: absolute;
  bottom: 7rem;
  left: clamp(1.5rem, 6vw, 6rem);
  z-index: 3;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  /* Fade in when section enters viewport via JS class */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.detailing-shine-section--content-visible .detail-overlay-content {
  opacity: 1;
  transform: translateY(0);
}

.detail-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.25);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  width: fit-content;
}

.detail-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.detail-headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--blue-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-subtext {
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  color: rgba(240, 244, 255, 0.72);
  line-height: 1.75;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

/* Scroll hint inside detail section — inherits .scroll-indicator base styles */
.detail-scroll-hint {
  z-index: 4;
}

/* Mobile: static first frame, hide text overlay */
@media (max-width: 768px) {
  .detailing-shine-section {
    height: 60vw;
    min-height: 300px;
  }

  .detail-overlay-content {
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    align-items: center;
    max-width: 85%;
    opacity: 1;
  }

  .detailing-shine-section--content-visible .detail-overlay-content {
    transform: translate(-50%, -50%);
  }

  .detail-scroll-hint {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════
   HERO CONTENT SECTION — Revealed after animation
   ══════════════════════════════════════════════════════════ */
.hero-content-section {
  position: relative;
  z-index: 10;
  background: var(--bg-primary);
  padding: 8rem 1.5rem 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Decorative background blobs */
.hero-content-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 87, 255, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 168, 255, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0, 57, 160, 0.13) 0%, transparent 60%);
  pointer-events: none;
}

/* Thin top accent line */
.hero-content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,168,255,0.5) 50%, transparent);
}

/* Hero Content wrapper */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 168, 255, 0.1);
  border: 1px solid rgba(0, 168, 255, 0.3);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-badge i { color: #fbbf24; }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 0.5rem;
  padding: 1.5rem 2.5rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

.hero-stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ══════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(0,168,255,0.06) 0%, transparent 50%);
  transition: opacity 0.4s;
  border-radius: 20px;
}

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

.service-card:hover::before { opacity: 1; }

/* Featured Card */
.featured-card {
  border-color: rgba(0, 168, 255, 0.4);
  background: linear-gradient(160deg, rgba(0, 168, 255, 0.06), var(--bg-card));
  box-shadow: 0 0 0 1px rgba(0, 168, 255, 0.15), var(--shadow-card);
}

.featured-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.service-icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,168,255,0.15), rgba(0,87,255,0.1));
  border: 1px solid rgba(0,168,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue-primary);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.icon-glow {
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  background: var(--blue-glow);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  color: #fff;
  box-shadow: 0 0 24px rgba(0, 168, 255, 0.5);
}

.service-card:hover .icon-glow { opacity: 1; }

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-features span {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features i {
  color: var(--blue-primary);
  font-size: 0.7rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-primary);
  margin-top: 0.5rem;
  transition: gap 0.2s;
}

.service-link:hover { gap: 0.7rem; }

/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual { position: relative; }

.about-img-frame {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  aspect-ratio: 4/3;
}

.about-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 340px;
  background: var(--bg-card);
  border: 2px dashed var(--border-hover);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.about-img-placeholder i { font-size: 3rem; color: var(--blue-primary); opacity: 0.5; }

.about-img-glow {
  position: absolute;
  inset: -20px;
  border-radius: 32px;
  background: radial-gradient(ellipse at center, rgba(0,168,255,0.12), transparent 70%);
  pointer-events: none;
}

.about-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  z-index: 2;
  box-shadow: var(--shadow-card);
}

.about-badge-float i { font-size: 1.2rem; }

.about-content { padding-right: 1rem; }

.about-text {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0 2.5rem;
}

.about-stat {
  display: flex;
  flex-direction: column;
}

.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--blue-primary);
  line-height: 1;
}

.about-stat span:not(.about-stat-label) {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--blue-primary);
}

.about-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

/* ══════════════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-large { grid-column: span 2; grid-row: span 2; }
.gallery-wide  { grid-column: span 2; }

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid rgba(0, 168, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.gallery-large { aspect-ratio: auto; min-height: 340px; }
.gallery-wide  { aspect-ratio: 2/1; }

.gallery-item:hover { border-color: rgba(0, 168, 255, 0.6); }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  min-height: 180px;
  background: linear-gradient(135deg, rgba(0,168,255,0.06), rgba(0,87,255,0.04));
}

.gallery-placeholder i { font-size: 2rem; color: var(--blue-primary); opacity: 0.55; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,87,255,0.8), rgba(0,168,255,0.7));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-overlay i { font-size: 1.5rem; }

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover { transform: scale(1.01); }

.gallery-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.gallery-note i   { color: var(--blue-primary); }
.gallery-note strong { color: var(--blue-primary); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox.open { display: flex; }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pricing-featured {
  background: linear-gradient(160deg, rgba(0,168,255,0.08), var(--bg-card));
  border-color: rgba(0,168,255,0.5);
  box-shadow: 0 0 0 1px rgba(0, 168, 255, 0.2), var(--shadow-card);
  transform: translateY(-8px);
  position: relative;
}

.pricing-featured:hover { transform: translateY(-12px); }

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1.25rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 0.2rem;
  line-height: 1;
}

.price-currency {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-primary);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li i {
  font-size: 0.75rem;
  width: 16px;
  flex-shrink: 0;
}

.pricing-features li i.fa-check { color: var(--blue-primary); }
.pricing-features li.disabled { opacity: 0.4; text-decoration: line-through; }
.pricing-features li.disabled i.fa-times { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: calc(33.333% - 1rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.9rem;
}

.testimonial-btn:hover {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 168, 255, 0.4);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.testimonial-dot.active {
  background: var(--blue-primary);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0, 168, 255, 0.5);
}

/* ══════════════════════════════════════════════════════════
   CONTACT / BOOKING
   ══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap {
  position: relative;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select { cursor: pointer; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.12);
  background: rgba(0, 168, 255, 0.04);
}

/* Form Success */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(0, 168, 255, 0.3);
  border-radius: 24px;
}

.form-success.show { display: flex; }
.form-success i { font-size: 3rem; color: var(--blue-primary); }
.form-success h3 { font-family: var(--font-heading); font-size: 1.5rem; }
.form-success p { color: var(--text-secondary); }

/* Contact Info */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-glow);
  border: 1px solid rgba(0,168,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-item span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-social {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 168, 255, 0.4);
  transform: translateY(-2px);
}

.map-placeholder {
  background: var(--bg-card);
  border: 2px dashed var(--border-hover);
  border-radius: 16px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.map-placeholder i { font-size: 2rem; color: var(--blue-primary); opacity: 0.4; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer { background: #04070f; }

.footer-top { padding: 4rem 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-nav-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav-col a:hover { color: var(--blue-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════
   FLOATING CTA
   ══════════════════════════════════════════════════════════ */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 168, 255, 0.5);
  transition: var(--transition);
}

.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 168, 255, 0.7);
}

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Ken-burns on static mobile hero */
@keyframes mobileCanvasPan {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.06) translate(-1%, -1%); }
}

.hero-wash-section--static .hero-wash-canvas {
  animation: mobileCanvasPan 14s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .about-grid       { grid-template-columns: 1fr; }
  .about-content    { padding-right: 0; }
  .gallery-grid     { grid-template-columns: repeat(2, 1fr); }
  .gallery-large    { grid-column: span 1; grid-row: span 1; }
  .gallery-wide     { grid-column: span 2; }
  .pricing-grid     { grid-template-columns: 1fr; gap: 1rem; }
  .pricing-featured { transform: none; }
  .pricing-featured:hover { transform: translateY(-4px); }
  .contact-grid     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-stats       { gap: 1.25rem; padding: 1.25rem 1.75rem; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-padding: 4rem 0; }

  /* ── Hero section: iOS-safe viewport height ── */
  .hero-wash-section {
    height: 100svh;
    height: 100vh; /* non-svh fallback */
  }

  /* ── Water rings: shrink to prevent horizontal overflow ── */
  .ring-1 { width: 180px; height: 180px; }
  .ring-2 { width: 320px; height: 320px; }
  .ring-3 { width: 480px; height: 480px; }

  /* ── Navbar ── */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100dvh;
    width: min(300px, 85vw);
    background: rgba(13, 19, 38, 0.98);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 0.25rem;
    z-index: 999;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  .nav-links.open { right: 0; }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.9rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
  }

  .nav-link::after { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  /* ── Hero content section ── */
  .hero-content-section { padding: 5rem 1.25rem 4rem; }

  .hero-title { font-size: clamp(2.2rem, 9vw, 3.2rem); }

  .hero-subtitle { font-size: 1rem; }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    width: 100%;
  }

  .hero-stat-divider { width: 80%; height: 1px; }

  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { justify-content: center; width: 100%; min-height: 52px; }

  /* ── Buttons: touch-friendly minimum ── */
  .btn { min-height: 48px; }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr; }

  /* ── About ── */
  .about-stats { gap: 1rem; }
  .about-badge-float { right: 0.5rem; bottom: -1rem; font-size: 0.78rem; }

  /* ── Gallery ── */
  .gallery-grid  { grid-template-columns: 1fr 1fr; }
  .gallery-wide  { grid-column: span 2; }
  .gallery-large { grid-column: span 2; }

  /* ── Contact form ── */
  .form-row      { grid-template-columns: 1fr; }
  .contact-form  { padding: 1.5rem; }

  /* ── Testimonials ── */
  .testimonial-card { min-width: 85vw; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  /* ── Floating CTA: visible + iPhone notch safe ── */
  .floating-cta {
    display: flex;
    right: 1.25rem;
    bottom: max(1.5rem, env(safe-area-inset-bottom, 1.5rem));
  }

  /* ── Pricing ── */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-featured { transform: none; }
}

@media (max-width: 480px) {
  .gallery-grid  { grid-template-columns: 1fr; }
  .gallery-wide,
  .gallery-large { grid-column: span 1; }
  .hero-stats    { font-size: 0.9rem; }
  .about-stats   { flex-wrap: wrap; }
  .stat-num      { font-size: 1.6rem; }
  .hero-title    { font-size: clamp(2rem, 10vw, 2.8rem); }
  .section-title { font-size: clamp(1.75rem, 8vw, 2.2rem); }
}

@media (max-width: 390px) {
  .hero-content-section { padding: 4rem 1rem 3rem; }
  .hero-stats { padding: 1rem; }
  .hero-cta-group .btn { font-size: 0.88rem; padding: 0.9rem 1.25rem; }
  .stat-num { font-size: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════
   CANVAS IMAGE-SEQUENCE SCROLL ANIMATION
   ══════════════════════════════════════════════════════════ */

/* ── Preloader ─────────────────────────────────────────── */
.seq-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.seq-preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.seq-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: min(320px, 90vw);
}

.seq-logo-mark {
  filter: drop-shadow(0 0 20px rgba(0, 168, 255, 0.8));
  animation: seqLogoPulse 1.8s ease-in-out infinite;
}

@keyframes seqLogoPulse {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(0, 168, 255, 0.6)); transform: scale(1); }
  50%       { filter: drop-shadow(0 0 32px rgba(0, 200, 255, 1));   transform: scale(1.06); }
}

.seq-preloader-bar-wrap {
  width: 100%;
  height: 2px;
  background: rgba(0, 168, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.seq-preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-secondary), var(--accent));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.7);
}

.seq-preloader-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

#seq-load-pct {
  color: var(--blue-primary);
  font-weight: 600;
}

/* ── Hero wash canvas (inside hero-wash-section) ──────────────── */
.hero-wash-canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;            /* behind hero content, inside hero container */
}

/* ── Dark vignette overlay (inside hero, above canvas) ──────── */
.hero-canvas-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;            /* above canvas, below hero content */
  pointer-events: none;
  background: transparent;
}
