/* style.css */
/* ============================================
   DELUXE PAINTING SERVICES — PREMIUM DESIGN SYSTEM
   Industry: Ceiling & Interior Painting
   Palette: Deep Charcoal + Warm Cream + Terracotta Gold
   ============================================ */

:root {
  /* Core palette */
  --bg-0: #0a0d14;
  --bg-1: #111621;
  --bg-2: #1a1f2c;
  --bg-3: #242a3a;
  --surface: #151a26;
  --surface-hi: #1e2434;

  /* Warm accents */
  --cream: #f5f0e8;
  --ivory: #e8e1d4;
  --gold: #d4a574;
  --gold-light: #e8b87c;
  --gold-deep: #8b6f47;
  --terracotta: #a8684a;

  /* Semantic */
  --text-primary: #f0ebe0;
  --text-secondary: #a8a39a;
  --text-muted: #6d6a62;
  --border: rgba(232, 184, 124, 0.12);
  --border-hi: rgba(232, 184, 124, 0.28);

  /* Gradients */
  --grad-hero: radial-gradient(ellipse at 30% 20%, rgba(168, 104, 74, 0.18) 0%, transparent 50%),
               radial-gradient(ellipse at 70% 80%, rgba(139, 111, 71, 0.12) 0%, transparent 60%),
               linear-gradient(180deg, #0a0d14 0%, #111621 100%);
  --grad-gold: linear-gradient(135deg, #e8b87c 0%, #d4a574 50%, #8b6f47 100%);
  --grad-surface: linear-gradient(180deg, rgba(36, 42, 58, 0.8) 0%, rgba(21, 26, 38, 0.95) 100%);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-xxl: 8rem;

  /* Typography */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Effects */
  --glass-bg: rgba(26, 31, 44, 0.6);
  --glass-border: rgba(232, 184, 124, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 20px 60px -20px rgba(212, 165, 116, 0.3);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-0);
  overflow-x: hidden;
  font-weight: 400;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease-out); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: var(--bg-0); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: 1rem; }

.kicker, .eyebrow, .section-header .kicker {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.kicker::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--grad-gold);
  color: var(--bg-0);
  box-shadow: 0 10px 30px -10px rgba(232, 184, 124, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(232, 184, 124, 0.6);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-hi);
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: rgba(232, 184, 124, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-large { padding: 1.35rem 2.5rem; font-size: 1rem; }

/* Progress bar */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--grad-gold);
  width: 0%;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(232, 184, 124, 0.6);
  transition: width 0.1s linear;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  z-index: 101;
}

.logo-mark { width: 40px; height: 40px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  font-weight: 400;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: var(--gold);
  transition: all 0.3s var(--ease-out);
  transform: translateX(-50%);
}

.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: rgba(232, 184, 124, 0.1);
  padding: 0.7rem 1.4rem !important;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  color: var(--gold-light) !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg-0) !important;
  border-color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 101;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 24px; height: 2px;
  background: var(--cream);
  transition: all 0.3s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }

.menu-toggle.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
  background: var(--grad-hero);
  overflow: hidden;
  perspective: 1500px;
}

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

#heroCanvas { width: 100%; height: 100%; }

.ceiling-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transform-style: preserve-3d;
}

.ceiling-plane {
  position: absolute;
  top: 15%; left: 50%;
  width: 120%; height: 80%;
  transform: translateX(-50%) rotateX(65deg);
  background:
    linear-gradient(180deg, rgba(232, 184, 124, 0.05) 0%, transparent 60%),
    repeating-linear-gradient(90deg,
      transparent 0, transparent 180px,
      rgba(232, 184, 124, 0.04) 180px, rgba(232, 184, 124, 0.04) 181px),
    repeating-linear-gradient(0deg,
      transparent 0, transparent 180px,
      rgba(232, 184, 124, 0.04) 180px, rgba(232, 184, 124, 0.04) 181px);
  border-radius: 50%;
  filter: blur(0.5px);
  animation: ceilingFloat 12s ease-in-out infinite;
}

@keyframes ceilingFloat {
  0%, 100% { transform: translateX(-50%) rotateX(65deg) translateY(0); }
  50% { transform: translateX(-50%) rotateX(65deg) translateY(-20px); }
}

.floating-brush {
  position: absolute;
  top: 30%; left: 10%;
  transform: rotate(-15deg);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6));
  animation: brushFloat 8s ease-in-out infinite;
}

@keyframes brushFloat {
  0%, 100% { transform: rotate(-15deg) translateY(0) translateX(0); }
  33% { transform: rotate(-12deg) translateY(-15px) translateX(8px); }
  66% { transform: rotate(-18deg) translateY(10px) translateX(-5px); }
}

.swatches {
  position: absolute;
  right: 8%;
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.swatch {
  width: 60px; height: 80px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--c) 0%, var(--c) 80%, rgba(0,0,0,0.15) 80%, rgba(0,0,0,0.15) 100%);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.05);
  animation: swatchFloat 10s ease-in-out infinite;
  animation-delay: calc(var(--d) * -2s);
}

@keyframes swatchFloat {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(15px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  margin-bottom: 2rem;
  justify-content: center;
  display: inline-flex;
}

.eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--gold);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.75rem);
  line-height: 1.02;
  margin-bottom: 2rem;
  font-weight: 400;
}

.title-line {
  display: block;
}

.title-line.accent {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 300;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 5;
}

.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

.section-title {
  margin-top: 1.5rem;
  color: var(--cream);
}

/* ============================================
   INTRO SECTION - Paint Stroke Reveal
   ============================================ */
.intro { position: relative; background: var(--bg-1); }

.stroke-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(168, 104, 74, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(139, 111, 71, 0.05) 0%, transparent 50%);
  animation: bgDrift 20s ease-in-out infinite;
}

@keyframes bgDrift {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(2%, -2%); }
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.intro-text p {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.85;
  position: relative;
}

.intro-text p::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.6rem;
  width: 1.5rem; height: 2px;
  background: var(--gold);
  opacity: 0.5;
}

.intro-stats {
  display: grid;
  gap: 1rem;
}

.stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 18px;
  transition: all 0.4s var(--ease-out);
}

.stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-gold);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.stat-num::after { content: '+'; font-size: 1.5rem; margin-left: 0.25rem; opacity: 0.6; }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   WHY SECTION - Morphing Ceiling
   ============================================ */
.why { background: var(--bg-0); }

.morph-stage {
  position: relative;
  max-width: 700px;
  margin: 0 auto 4rem;
  height: 280px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  perspective: 800px;
}

.morph-ceiling {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(139, 97, 52, 0.5) 0%, transparent 30%),
    radial-gradient(circle at 70% 60%, rgba(120, 80, 40, 0.4) 0%, transparent 35%),
    linear-gradient(180deg, #3a3428 0%, #2a2520 100%);
  transform: rotateX(8deg);
}

.morph-ceiling-2 {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 250, 240, 0.95) 0%, rgba(230, 220, 200, 0.9) 100%);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: morphWipe 8s ease-in-out infinite;
}

@keyframes morphWipe {
  0%, 15% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  45%, 65% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  85%, 100% { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
}

.morph-label {
  position: absolute;
  bottom: 1rem; right: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.5);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

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

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

.why-icon {
  width: 60px; height: 60px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 184, 124, 0.08);
  border-radius: 14px;
  border: 1px solid var(--border-hi);
}

.why-icon svg { width: 36px; height: 36px; }

.why-card h3 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ============================================
   SERVICES - 3D Interactive Cards
   ============================================ */
.services { background: var(--bg-1); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  perspective: 2000px;
}

.service-card {
  position: relative;
  height: 440px;
  cursor: pointer;
  outline: none;
}

.card-3d {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease-out);
}

.service-card:hover .card-3d,
.service-card:focus .card-3d {
  transform: rotateY(-5deg) rotateX(5deg) translateY(-10px);
}

.card-face {
  position: absolute;
  inset: 0;
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.service-card:hover .card-face,
.service-card:focus .card-face {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-gold);
}

.card-swatch {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.flat-finish {
  background: radial-gradient(ellipse at 30% 30%, #f0e8d8 0%, #c9bfa8 100%);
}

.eggshell-finish {
  background: radial-gradient(ellipse at 30% 30%, #f5ede0 0%, #d4c4aa 70%, #b09d80 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.satin-finish {
  background: radial-gradient(ellipse at 30% 30%, #f8ede0 0%, #e0c8a0 50%, #8a6f48 100%);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.15);
}

.semigloss-finish {
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.8) 0%, transparent 15%),
    radial-gradient(ellipse at 30% 30%, #fff5e0 0%, #d4a574 50%, #8b6f47 100%);
  box-shadow: inset 0 0 40px rgba(255,255,255,0.25);
}

.card-content { flex: 1; display: flex; flex-direction: column; }

.card-num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.15em;
}

.card-content h3 {
  color: var(--cream);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.card-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
}

.services-note {
  max-width: 760px;
  margin: 3.5rem auto 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: 16px;
}

.services-note a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 500;
}

/* ============================================
   PROCESS SECTION - Flowing Timeline
   ============================================ */
.process {
  background: var(--bg-0);
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(168, 104, 74, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(139, 111, 71, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.process-list {
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 0 1.5rem;
}

.process-line {
  position: absolute;
  left: 2.5rem;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--border-hi) 10%,
    var(--gold) 50%,
    var(--border-hi) 90%,
    transparent 100%);
  z-index: 1;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  position: relative;
  align-items: start;
}

.step-marker {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-light);
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-1);
  border: 1px solid var(--border-hi);
  border-radius: 50%;
  font-weight: 500;
}

.step-dot {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.step-content h3 {
  color: var(--cream);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 620px;
}

/* ============================================
   BENEFITS - Floating Orbs
   ============================================ */
.benefits {
  background: var(--bg-1);
  position: relative;
}

.benefits-float {
  position: relative;
}

.float-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
}

.orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #a8684a, transparent 70%);
  top: 10%; left: -5%;
  animation: orbDrift1 15s ease-in-out infinite;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #8b6f47, transparent 70%);
  bottom: 5%; right: -5%;
  animation: orbDrift2 18s ease-in-out infinite;
}

.orb-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #d4a574, transparent 70%);
  top: 50%; left: 45%;
  animation: orbDrift3 20s ease-in-out infinite;
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(80px, 50px); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-60px, -40px); }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, 30px); }
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.benefit-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(232, 184, 124, 0.12) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hi);
}

.benefit-card:hover::after { opacity: 1; }

.benefit-icon {
  width: 54px; height: 54px;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 184, 124, 0.08);
  border-radius: 14px;
  border: 1px solid var(--border-hi);
}

.benefit-icon svg { width: 28px; height: 28px; }

.benefit-card h3 {
  color: var(--cream);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   EXPERTISE - Timeline
   ============================================ */
.expertise { background: var(--bg-0); }

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 0 2rem 2.5rem;
}

.timeline-line {
  position: absolute;
  left: 1rem;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  transition: height 1.5s var(--ease-out);
  box-shadow: 0 0 12px var(--gold);
}

.timeline.in-view .timeline-fill { height: 100%; }

.timeline-item {
  position: relative;
  padding: 0 0 3rem 2rem;
}

.timeline-marker {
  position: absolute;
  left: -2.1rem;
  top: 0.4rem;
  width: 22px; height: 22px;
  background: var(--bg-1);
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-0), 0 0 20px rgba(232, 184, 124, 0.4);
}

.timeline-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 1.75rem 2rem;
  border-radius: 16px;
  transition: all 0.4s var(--ease-out);
}

.timeline-content:hover {
  transform: translateX(6px);
  border-color: var(--border-hi);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.timeline-content h3 {
  color: var(--cream);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

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

.expertise-note {
  max-width: 760px;
  margin: 4rem auto 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.expertise-note a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  font-weight: 500;
}

/* ============================================
   TOOLS
   ============================================ */
.tools { background: var(--bg-1); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.tool-card {
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s var(--ease-out);
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
}

.tool-visual {
  width: 80px; height: 80px;
  margin: 0 auto 1.5rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 184, 124, 0.05);
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  transition: transform 0.5s var(--ease-out);
}

.tool-card:hover .tool-visual {
  transform: rotate(-8deg) scale(1.05);
  color: var(--gold-light);
}

.tool-card h3 {
  color: var(--cream);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.tool-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ============================================
   FAQ - Accordion
   ============================================ */
.faq { background: var(--bg-0); }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item[open] {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-gold);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cream);
  list-style: none;
  gap: 1.5rem;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}

.faq-item[open] .faq-icon { transform: rotate(180deg); }

.faq-answer {
  padding: 0 1.75rem 1.75rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  animation: faqOpen 0.4s var(--ease-out);
}

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

/* ============================================
   CTA - Energy Glow
   ============================================ */
.cta {
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(168, 104, 74, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(212, 165, 116, 0.25) 0%, transparent 50%);
  filter: blur(40px);
  animation: ctaPulse 6s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--border-hi);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.cta-content .kicker { margin-bottom: 1.5rem; display: inline-block; }
.cta-content .kicker::before { display: none; }

.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

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

.meta-item svg { color: var(--gold); }

/* ============================================
   FOOTER - Ambient Motion
   ============================================ */
.footer {
  background: #07090e;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.footer-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 111, 71, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(168, 104, 74, 0.1) 0%, transparent 40%);
  animation: ambientSlow 30s ease-in-out infinite;
}

@keyframes ambientSlow {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(2deg); }
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo { margin-bottom: 1.5rem; }

.footer-tag {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 2rem;
}

.socials {
  display: flex;
  gap: 0.75rem;
}

.socials a {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
}

.socials a svg { width: 18px; height: 18px; }

.socials a:hover {
  background: var(--gold);
  color: var(--bg-0);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-col li:not(:has(a)) {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-bottom {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 50px; height: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-hi);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--bg-0);
  transform: translateY(-4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .intro-stats { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bg-0);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.25rem; }
  .menu-toggle { display: block; }

  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-stats { grid-template-columns: 1fr; }

  .intro-text p::before { display: none; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }

  .swatches { display: none; }
  .floating-brush { left: 5%; top: 20%; transform: rotate(-15deg) scale(0.7); }

  .back-to-top { bottom: 1rem; right: 1rem; width: 44px; height: 44px; }

  .morph-stage { height: 200px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
  .btn { padding: 0.95rem 1.5rem; font-size: 0.9rem; }
  .process-line { left: 1.5rem; }
  .timeline { padding-left: 1.5rem; }
  .timeline-marker { left: -1.6rem; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ceiling-plane, .floating-brush, .swatch, .float-orb, .morph-ceiling-2, .cta-glow, .footer-ambient {
    animation: none !important;
  }
}