/* ============================================================
   Borehole Installation Process — Motion-Studio Landing Page
   ============================================================
   Design: Light, airy, premium — editorial aesthetic
   Motion: Emil Kowalski principles + scroll-driven cinema
   - Word-by-word text reveals
   - 3D perspective card tilts
   - Magnetic button interactions
   - clip-path cinematic reveals
   - Floating particle system
   - Parallax depth layers
   - Spring-like counter overshoot
   - GSAP ScrollTrigger timeline
   ============================================================ */

/* ── Tokens ── */
:root {
  --c-primary: #0CC0DF;
  --c-primary-dark: #0AADCA;
  --c-primary-deeper: #088DA0;
  --c-primary-light: #E8FAFB;
  --c-primary-glow: rgba(12, 192, 223, 0.15);
  --c-dark: #0F172A;
  --c-text: #334155;
  --c-muted: #94A3B8;
  --c-subtle: #F1F5F9;
  --c-bg: #FAFCFE;
  --c-white: #FFFFFF;
  --c-border: #E2E8F0;
  --c-glass: rgba(255, 255, 255, 0.72);
  --c-earth: #8B7355;
  --c-garden: #6d8c54;

  /* Emil Kowalski curves */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Layout */
  --container: min(1140px, 90vw);
  --section-py: clamp(80px, 12vw, 140px);

  /* Type scale */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-hero: clamp(2.8rem, 7vw, 5.5rem);
  --text-h2: clamp(1.8rem, 4vw, 3rem);
  --text-h3: clamp(1.1rem, 2vw, 1.4rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
}

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

#bhp-page {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.65;
}
#bhp-page ::selection { background: var(--c-primary); color: #fff; }
#bhp-page img { max-width: 100%; height: auto; display: block; }
#bhp-page .bhp-nav-logo img { height: 32px; width: auto; }

.bhp-container { width: var(--container); margin-inline: auto; padding-inline: 20px; }
.bhp-section { padding-block: var(--section-py); position: relative; overflow: hidden; }

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
.bhp-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--c-white);
}
.bhp-h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-dark);
}
.bhp-h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.3;
}
.bhp-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-primary);
  display: inline-block;
  margin-bottom: 14px;
}
.bhp-gradient-text {
  background: linear-gradient(135deg, var(--c-primary) 0%, #38BDF8 50%, #7DD3FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════
   SCROLL PROGRESS
   ═══════════════════════════════════════ */
.bhp-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-dark));
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* ═══════════════════════════════════════
   NAVIGATION — Glass, floating
   ═══════════════════════════════════════ */
.bhp-nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1100px, calc(100% - 24px));
  padding: 12px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: background 400ms var(--ease-out), box-shadow 400ms var(--ease-out), border-color 400ms var(--ease-out);
}
.bhp-nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border-color: rgba(226, 232, 240, 0.6);
}
.bhp-nav.scrolled .bhp-nav-logo { color: var(--c-dark); }
.bhp-nav.scrolled .bhp-nav-links a { color: var(--c-text); }
.bhp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bhp-nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 400ms var(--ease-out);
}
.bhp-nav-logo img {
  height: 32px;
  width: auto;
}
.bhp-nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
}
.bhp-nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
  position: relative;
}
.bhp-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--c-primary);
  border-radius: 1px;
  transition: width 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .bhp-nav-links a:hover { color: var(--c-primary); }
  .bhp-nav-links a:hover::after { width: 100%; }
}

/* ═══════════════════════════════════════
   BUTTONS — Magnetic + press feedback
   ═══════════════════════════════════════ */
.bhp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  transition: transform 160ms var(--ease-out), box-shadow 300ms var(--ease-out), background 200ms var(--ease-out);
}
.bhp-btn:active { transform: scale(0.96) !important; }

.bhp-btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(12, 192, 223, 0.2), 0 0 0 0 rgba(12, 192, 223, 0);
}
@media (hover: hover) and (pointer: fine) {
  .bhp-btn-primary:hover {
    background: var(--c-primary-dark);
    box-shadow: 0 8px 28px rgba(12, 192, 223, 0.3), 0 0 0 4px rgba(12, 192, 223, 0.06);
    transform: translateY(-2px);
  }
}
.bhp-btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
@media (hover: hover) and (pointer: fine) {
  .bhp-btn-outline:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: rgba(12,192,223,0.08);
    transform: translateY(-2px);
  }
}
.bhp-btn-dark {
  background: var(--c-dark);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .bhp-btn-dark:hover { background: #1E293B; transform: translateY(-2px); }
}
.bhp-btn-pill { border-radius: 999px; }
.bhp-btn-lg { padding: 16px 36px; font-size: 15px; }

.magnetic-wrap {
  display: inline-block;
  transition: transform 400ms var(--ease-out);
}

/* ═══════════════════════════════════════
   ANIMATION SYSTEM — Motion-studio
   ═══════════════════════════════════════ */

/* Reveal from below */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal from left */
[data-reveal-left] {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
[data-reveal-left].revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal from right */
[data-reveal-right] {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
[data-reveal-right].revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scale reveal */
[data-reveal-scale] {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
[data-reveal-scale].revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
[data-stagger].revealed > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].revealed > *:nth-child(2) { transition-delay: 80ms; }
[data-stagger].revealed > *:nth-child(3) { transition-delay: 160ms; }
[data-stagger].revealed > *:nth-child(4) { transition-delay: 240ms; }
[data-stagger].revealed > *:nth-child(5) { transition-delay: 320ms; }
[data-stagger].revealed > *:nth-child(6) { transition-delay: 400ms; }
[data-stagger].revealed > *:nth-child(7) { transition-delay: 480ms; }
[data-stagger].revealed > *:nth-child(8) { transition-delay: 560ms; }
[data-stagger].revealed > *:nth-child(9) { transition-delay: 640ms; }
[data-stagger].revealed > *:nth-child(10) { transition-delay: 720ms; }
[data-stagger].revealed > * { opacity: 1; transform: translateY(0); }

/* clip-path cinematic image reveal */
[data-clip-reveal] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1000ms var(--ease-in-out);
}
[data-clip-reveal].revealed {
  clip-path: inset(0 0 0 0);
}

[data-clip-left] {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1000ms var(--ease-in-out);
}
[data-clip-left].revealed {
  clip-path: inset(0 0 0 0);
}

[data-clip-right] {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1000ms var(--ease-in-out);
}
[data-clip-right].revealed {
  clip-path: inset(0 0 0 0);
}

/* Word-by-word reveal */
.word-reveal .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.word-reveal .word-inner {
  display: inline-block;
  transform: translateY(110%);
}
/* word-inner animated via JS inline styles */

/* ── Floating particles ── */
.bhp-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.bhp-particle {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12,192,223,0.6), transparent 70%);
  box-shadow: 0 0 12px rgba(12,192,223,0.3);
  opacity: 0;
  animation: float-particle var(--duration) var(--delay) var(--ease-in-out) infinite;
}
@keyframes float-particle {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.9; }
  80% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(calc(var(--drift) * -1)) scale(1.4); }
}

/* Hero animated glow rings */
.bhp-hero-glow {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(12,192,223,0.15);
  pointer-events: none;
  z-index: 1;
}
.bhp-hero-glow--1 {
  width: 500px; height: 500px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  animation: glow-pulse 6s ease-in-out infinite;
}
.bhp-hero-glow--2 {
  width: 700px; height: 700px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  animation: glow-pulse 6s 1.5s ease-in-out infinite;
}
.bhp-hero-glow--3 {
  width: 900px; height: 900px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  animation: glow-pulse 6s 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Animated gradient line across hero */
.bhp-hero-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.bhp-hero-scanline::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(12,192,223,0.4), transparent);
  animation: scanline-move 8s ease-in-out infinite;
}
@keyframes scanline-move {
  0% { top: 20%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 80%; opacity: 0; }
}

/* ═══════════════════════════════════════
   HERO — Cinematic, dark, dramatic
   ═══════════════════════════════════════ */
.bhp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-dark);
  overflow: hidden;
}
.bhp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#bhp-page .bhp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.05);
  will-change: transform;
}
.bhp-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(12,192,223,0.06) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.62) 50%, rgba(15,23,42,0.82) 100%);
}

.bhp-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
  padding: 140px 24px 100px;
}

.bhp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
}
.bhp-hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-primary);
  position: relative;
}
.bhp-hero-badge .badge-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--c-primary);
  opacity: 0;
  animation: dot-ring 2s var(--ease-out) infinite;
}
@keyframes dot-ring {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

.bhp-hero .bhp-hero-title {
  margin-bottom: 24px;
}
/* word delays set via JS inline style */

.bhp-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(16px);
}

.bhp-hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
}

/* Scroll indicator */
.bhp-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}
.bhp-scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.bhp-scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  position: relative;
}
.bhp-scroll-mouse span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--c-primary);
  animation: scroll-dot 2s var(--ease-in-out) infinite;
}
@keyframes scroll-dot {
  0% { opacity: 1; top: 6px; }
  50% { opacity: 0.3; top: 18px; }
  100% { opacity: 1; top: 6px; }
}

/* ═══════════════════════════════════════
   PROOF BAR — Animated counters
   ═══════════════════════════════════════ */
.bhp-proof-bar {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: 36px 0;
  position: relative;
}
.bhp-proof-inner {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
}
.bhp-proof-item {
  text-align: center;
  min-width: 100px;
}
.bhp-proof-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--c-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.bhp-proof-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ═══════════════════════════════════════
   INTRO TEXT
   ═══════════════════════════════════════ */
.bhp-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.bhp-intro p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
  color: var(--c-text);
}
.bhp-intro strong { color: var(--c-dark); }

/* ═══════════════════════════════════════
   TIMELINE — The main event
   ═══════════════════════════════════════ */
.bhp-timeline {
  position: relative;
}

/* Vertical progress line */
.bhp-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-border);
  transform: translateX(-50%);
}
.bhp-timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  background: var(--c-primary);
  transform: translateX(-50%);
  height: 0;
  box-shadow: 0 0 12px rgba(12,192,223,0.4);
}

/* Stage block */
.bhp-stage {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  position: relative;
}

/* Numbered dot */
.bhp-stage-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-white);
  border: 2px solid var(--c-border);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-muted);
  margin: 0 auto;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--c-bg);
  transition: all 500ms var(--ease-spring);
}
.bhp-stage-dot.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  box-shadow: 0 0 0 8px var(--c-bg), 0 0 28px rgba(12,192,223,0.35);
  transform: scale(1.15);
}

/* Content side */
.bhp-stage-content {
  background: var(--c-white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border: 1px solid rgba(12,192,223,0.06);
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .bhp-stage-content:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    transform: translateY(-4px);
  }
}

.bhp-stage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.bhp-stage-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 12px;
}

.bhp-stage-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-text);
}

.bhp-stage-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.bhp-stage-list li {
  position: relative;
  padding-left: 20px;
  font-size: var(--text-sm);
  color: var(--c-text);
  margin-bottom: 8px;
  line-height: 1.5;
}
.bhp-stage-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
}

/* Image side */
.bhp-stage-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
#bhp-page .bhp-stage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .bhp-stage-image:hover img { transform: scale(1.04); }
}

/* Stage responsibility badges */
.bhp-stage-badge-context,
.bhp-stage-badge-ours {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bhp-stage-badge-context {
  background: rgba(148,163,184,0.12);
  color: var(--c-muted);
  border: 1px solid rgba(148,163,184,0.2);
}
.bhp-stage-badge-ours {
  background: rgba(12,192,223,0.1);
  color: var(--c-primary-dark);
  border: 1px solid rgba(12,192,223,0.2);
}

/* Context stages (drilling co.) — slightly muted */
.bhp-stage-context .bhp-stage-content {
  opacity: 0.85;
}
.bhp-stage-context .bhp-stage-icon {
  background: var(--c-subtle);
  color: var(--c-muted);
}

/* Alternating: odd = content left, even = content right */
.bhp-stage:nth-child(odd) .bhp-stage-content { grid-column: 1; grid-row: 1; }
.bhp-stage:nth-child(odd) .bhp-stage-dot { grid-column: 2; grid-row: 1; }
.bhp-stage:nth-child(odd) .bhp-stage-image { grid-column: 3; grid-row: 1; }

.bhp-stage:nth-child(even) .bhp-stage-image { grid-column: 1; grid-row: 1; }
.bhp-stage:nth-child(even) .bhp-stage-dot { grid-column: 2; grid-row: 1; }
.bhp-stage:nth-child(even) .bhp-stage-content { grid-column: 3; grid-row: 1; }

/* ═══════════════════════════════════════
   SVG DIAGRAM
   ═══════════════════════════════════════ */
.bhp-diagram-section {
  background: var(--c-white);
}
.bhp-diagram-header {
  text-align: center;
  margin-bottom: 48px;
}
.bhp-diagram-header p {
  color: var(--c-muted);
  font-size: 1.05rem;
  margin-top: 12px;
}
.bhp-diagram-wrap {
  max-width: 1000px;
  margin: 0 auto;
}
.bhp-diagram-svg {
  width: 100%;
  height: auto;
}
.water-dot { fill: var(--c-primary); }

/* ═══════════════════════════════════════
   BENEFITS — 3D tilt cards
   ═══════════════════════════════════════ */
.bhp-benefits-section {
  background: var(--c-bg);
}
.bhp-benefits-header {
  text-align: center;
  margin-bottom: 48px;
}
.bhp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.bhp-tilt-card {
  perspective: 800px;
}
.bhp-benefit-card {
  background: var(--c-white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--c-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .bhp-benefit-card:hover {
    box-shadow: 0 20px 48px rgba(0,0,0,0.08);
  }
}
.bhp-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.bhp-benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 10px;
}
.bhp-benefit-card p {
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */
.bhp-faq-section {
  background: var(--c-white);
}
.bhp-faq-header {
  text-align: center;
  margin-bottom: 48px;
}
.bhp-faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.bhp-faq-item {
  border-bottom: 1px solid var(--c-border);
}
.bhp-faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-dark);
  text-align: left;
  transition: color 200ms;
}
@media (hover: hover) and (pointer: fine) {
  .bhp-faq-trigger:hover { color: var(--c-primary-dark); }
}
.bhp-faq-trigger i {
  color: var(--c-primary);
  font-size: 0.75rem;
  transition: transform 300ms var(--ease-out);
  flex-shrink: 0;
}
.bhp-faq-item.open .bhp-faq-trigger i {
  transform: rotate(180deg);
}
.bhp-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms var(--ease-out);
}
.bhp-faq-item.open .bhp-faq-body {
  max-height: 300px;
}
.bhp-faq-body p {
  padding-bottom: 20px;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--c-text);
}

/* ═══════════════════════════════════════
   CTA — Dark, dramatic
   ═══════════════════════════════════════ */
.bhp-cta-section {
  background: var(--c-dark);
  color: var(--c-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bhp-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12,192,223,0.08), transparent 70%);
  pointer-events: none;
}
.bhp-cta-section .bhp-h2 {
  color: var(--c-white);
  margin-bottom: 16px;
}
.bhp-cta-section p {
  color: rgba(255,255,255,0.55);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 32px;
}
.bhp-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   MOBILE — Responsive overrides
   ═══════════════════════════════════════ */
.bhp-mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
}
.bhp-mobile-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--c-white);
  border-radius: 2px;
  transition: all 300ms var(--ease-out);
}
.bhp-nav.scrolled .bhp-mobile-toggle span { background: var(--c-dark); }
.bhp-mobile-toggle span:nth-child(1) { top: 0; }
.bhp-mobile-toggle span:nth-child(2) { top: 9px; }
.bhp-mobile-toggle span:nth-child(3) { bottom: 0; }
.bhp-mobile-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.bhp-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.bhp-mobile-toggle.open span:nth-child(3) { bottom: 9px; transform: rotate(-45deg); }

.bhp-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15,23,42,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.bhp-mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.bhp-mobile-link {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-white);
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out), color 200ms;
}
.bhp-mobile-menu.open .bhp-mobile-link {
  opacity: 1;
  transform: translateY(0);
}
.bhp-mobile-menu.open .bhp-mobile-link:nth-child(1) { transition-delay: 100ms; }
.bhp-mobile-menu.open .bhp-mobile-link:nth-child(2) { transition-delay: 150ms; }
.bhp-mobile-menu.open .bhp-mobile-link:nth-child(3) { transition-delay: 200ms; }
.bhp-mobile-menu.open .bhp-mobile-link:nth-child(4) { transition-delay: 250ms; }
.bhp-mobile-menu.open .bhp-mobile-link:nth-child(5) { transition-delay: 300ms; }

@media (max-width: 860px) {
  .bhp-nav-links { display: none; }
  .bhp-nav .bhp-btn { display: none; }
  .bhp-mobile-toggle { display: block; }

  .bhp-stage {
    grid-template-columns: 48px 1fr;
    gap: 0 16px;
    padding: 2rem 1.5rem;
  }
  .bhp-timeline-line,
  .bhp-timeline-progress {
    left: calc(1.5rem + 24px);
  }
  .bhp-stage-dot {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }
  .bhp-stage-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: 1.5rem;
  }
  .bhp-stage-image {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin-top: 16px;
  }
  .bhp-hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .bhp-cta-buttons { flex-direction: column; align-items: center; }
}
