/* ═══════════════════════════════════════════════════════════
   CRESTMONT STUDIOS — styles.css
   Dark luxury aesthetic · Self-development & wellness niche
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  /* Brand colours */
  --bg:          #353839;
  --bg-alt:      #2e3132;
  --bg-deep:     #28292a;
  --green:       #00674f;
  --green-mid:   #007d60;
  --green-light: #009970;
  --green-glow:  rgba(0, 103, 79, 0.32);
  --ivory:       #E8E1D4;
  --ivory-60:    rgba(232, 225, 212, 0.60);
  --ivory-35:    rgba(232, 225, 212, 0.35);
  --ivory-15:    rgba(232, 225, 212, 0.12);
  --white:       #f5f2ee;

  /* Glass / surfaces */
  --glass-bg:    rgba(255, 255, 255, 0.042);
  --glass-bg-h:  rgba(255, 255, 255, 0.075);
  --glass-border:rgba(232, 225, 212, 0.09);
  --glass-bord-g:rgba(0, 103, 79,   0.28);

  /* Shadows */
  --shadow-card: 0 12px 48px rgba(0, 0, 0, 0.38);
  --shadow-glow: 0 0  48px rgba(0, 103, 79, 0.22);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Layout */
  --nav-h:   70px;
  --max-w:  1160px;
  --pad-x:  clamp(22px, 5.5vw, 68px);

  /* Easing */
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 0.45, 1);
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.72;
  overflow-x: hidden;
}

::selection { background: var(--green); color: var(--white); }

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

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

ul { list-style: none; }

button, input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
}


/* ─────────────────────────────────────────
   NOISE TEXTURE OVERLAY
───────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}


/* ─────────────────────────────────────────
   LAYOUT HELPERS
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section-pad { padding: clamp(80px, 11vw, 148px) 0; }

.alt-bg { background: var(--bg-alt); }

.centered { text-align: center; }

.section-intro { margin-bottom: clamp(48px, 7vw, 88px); }

.intro-sub {
  font-size: 1.03rem;
  color: var(--ivory-60);
  max-width: 560px;
  margin: 0 auto;
}

/* Split grid */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.reverse-grid { direction: rtl; }
.reverse-grid > * { direction: ltr; }


/* ─────────────────────────────────────────
   TYPOGRAPHY SYSTEM
───────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--green-light);
}

.section-intro.centered .eyebrow::before { display: none; }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.8vw, 3.85rem);
  font-weight: 400;
  line-height: 1.14;
  color: var(--white);
  margin-bottom: 22px;
}

.section-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--ivory);
}

.body-copy {
  font-size: 1rem;
  color: var(--ivory-60);
  line-height: 1.82;
  margin-bottom: 20px;
}

.body-copy strong { color: var(--ivory); font-weight: 500; }


/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease, color 0.3s ease;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.3s var(--ease); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 22px rgba(0,103,79,0.32);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 36px rgba(0,103,79,0.44);
  color: var(--white);
}

.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover svg    { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ivory-60);
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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


/* ─────────────────────────────────────────
   GLASS CARD
───────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.glass-card:hover {
  background: var(--glass-bg-h);
  border-color: var(--glass-bord-g);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-5px);
}


/* ─────────────────────────────────────────
   SVG PULSE ANIMATION
───────────────────────────────────────── */
.svg-pulse   { animation: svgPulse 3.5s ease-in-out infinite; transform-origin: center; }
.svg-pulse-2 { animation-delay: 1.15s; }
.svg-pulse-3 { animation-delay: 2.3s; }

@keyframes svgPulse {
  0%, 100% { transform: scale(1);    opacity: 0.5; }
  50%       { transform: scale(1.07); opacity: 0.2; }
}


/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), backdrop-filter 0.45s ease,
              border-color 0.45s ease, box-shadow 0.45s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(40, 41, 42, 0.90);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-color: var(--glass-border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  transition: opacity 0.25s ease;
}
.nav-logo:hover { opacity: 0.78; }

.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--green-light);
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-wordmark em {
  font-style: italic;
  font-weight: 400;
  color: var(--ivory);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ivory-60);
  border-radius: 7px;
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--green-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 9px 20px;
  font-weight: 500;
  margin-left: 10px;
  border-radius: 7px;
  box-shadow: 0 3px 16px rgba(0,103,79,0.3);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: var(--green-mid);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,103,79,0.42);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 7px;
  z-index: 900;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.hamburger:hover { background: var(--ivory-15); }

.hb-bar {
  display: block;
  width: 23px;
  height: 1.5px;
  background: var(--ivory);
  border-radius: 2px;
  transition: transform 0.38s var(--ease), opacity 0.25s ease;
  transform-origin: center;
}

.hamburger.is-open .hb-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open .hb-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open .hb-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile backdrop */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 790;
  opacity: 0;
  transition: opacity 0.38s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.mobile-backdrop.is-visible { opacity: 1; }


/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 56px) var(--pad-x) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Animated orb canvas (fixed so it shows behind all sections) */
.hero-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.orb-a {
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(0,103,79,0.38) 0%, transparent 68%);
  top: -140px; right: -100px;
  animation: floatA 16s ease-in-out infinite;
}

.orb-b {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(0,103,79,0.22) 0%, transparent 70%);
  bottom: -60px; left: -100px;
  animation: floatB 20s ease-in-out infinite;
}

.orb-c {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(232,225,212,0.055) 0%, transparent 70%);
  top: 50%; left: 44%;
  animation: floatC 12s ease-in-out infinite;
}

@keyframes floatA {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(-24px, 32px) scale(1.06); }
  70%     { transform: translate(18px, -18px) scale(0.96); }
}
@keyframes floatB {
  0%,100% { transform: translate(0,0); }
  35%     { transform: translate(28px, -22px) scale(1.04); }
  65%     { transform: translate(-16px, 20px) scale(0.98); }
}
@keyframes floatC {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50%     { transform: translate(-50%,-50%) scale(1.12); }
}

.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(232,225,212,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Hero content */
.hero-body {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(0,103,79,0.12);
  border: 1px solid rgba(0,103,79,0.32);
  border-radius: 100px;
  font-size: 0.76rem;
  letter-spacing: 0.055em;
  color: var(--ivory-60);
  margin-bottom: 30px;
}

.badge-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-light);
  animation: badgePulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes badgePulse {
  0%,100% { transform: scale(1);   opacity: 1; }
  50%     { transform: scale(1.5); opacity: 0.55; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.8vw, 5.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
}

.hl-line { display: block; }

.hl-typing-wrap {
  display: block;
  color: var(--green-light);
  font-style: italic;
  min-height: 1.12em;
}

.hl-typed { color: var(--green-light); }

.hl-cursor {
  color: var(--green-light);
  animation: cursorBlink 1s step-end infinite;
  font-weight: 300;
}

@keyframes cursorBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ivory-60);
  line-height: 1.82;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Scroll hint */
.hero-scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232,225,212,0.28);
}

.scroll-track {
  width: 36px; height: 1px;
  background: rgba(232,225,212,0.15);
  position: relative;
  overflow: hidden;
}

.scroll-thumb {
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--green-light);
  animation: scrollScan 2.2s ease-in-out infinite;
}

@keyframes scrollScan { 0% { left: -100%; } 100% { left: 100%; } }

/* Hero visual */
.hero-visual {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: min(560px, 46vw);
  opacity: 0.9;
  pointer-events: none;
}


/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
.about-diagram-card { padding: 28px; }

.pillars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-bord-g);
  border-radius: 8px;
  background: rgba(0,103,79,0.09);
  color: var(--green-light);
}

.pillar-icon svg { width: 18px; height: 18px; }

.pillar strong {
  display: block;
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 500;
  margin-bottom: 3px;
}

.pillar p {
  font-size: 0.855rem;
  color: var(--ivory-60);
  line-height: 1.6;
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.svc-card {
  padding: 36px 32px;
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Bottom accent line on hover */
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s var(--ease);
}

.svc-card:hover::after { transform: scaleX(1); }

.svc-icon {
  width: 50px; height: 50px;
  margin-bottom: 24px;
}
.svc-icon svg { width: 100%; height: 100%; }

.svc-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.28;
  margin-bottom: 12px;
}

.svc-desc {
  font-size: 0.89rem;
  color: var(--ivory-60);
  line-height: 1.78;
  margin-bottom: 24px;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  font-size: 0.71rem;
  letter-spacing: 0.055em;
  color: var(--green-light);
  padding: 4px 12px;
  border: 1px solid var(--glass-bord-g);
  border-radius: 100px;
  background: rgba(0,103,79,0.09);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.svc-card:hover .tag {
  background: rgba(0,103,79,0.18);
  border-color: rgba(0,103,79,0.48);
}


/* ═══════════════════════════════════════════════════════════
   PROCESS / HOW IT WORKS
═══════════════════════════════════════════════════════════ */
.process { overflow: hidden; }

.process-line {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--glass-bord-g) 18%, var(--glass-bord-g) 82%, transparent);
  pointer-events: none;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step { display: flex; flex-direction: column; gap: 14px; }

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: rgba(0,103,79,0.22);
  line-height: 1;
  user-select: none;
  transition: color 0.35s ease, transform 0.5s var(--ease);
}

.step:hover .step-num {
  color: rgba(0,103,79,0.52);
  transform: scale(1.04);
}

.step-card {
  padding: 26px 22px;
  flex: 1;
}

.step-ico {
  width: 34px; height: 34px;
  margin-bottom: 14px;
}
.step-ico svg { width: 100%; height: 100%; }

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 9px;
  line-height: 1.3;
}

.step-card p {
  font-size: 0.855rem;
  color: var(--ivory-60);
  line-height: 1.72;
}


/* ═══════════════════════════════════════════════════════════
   FOR CREATORS
═══════════════════════════════════════════════════════════ */
.creator-card { padding: 28px; }

.creator-checklist {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 36px;
}

.creator-checklist li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.9rem;
  color: var(--ivory-60);
  line-height: 1.5;
}

.check-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--glass-bord-g);
  background: rgba(0,103,79,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-light);
}

.check-icon svg { width: 14px; height: 14px; }


/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item:hover { border-color: var(--glass-bord-g); }

.faq-item.is-open {
  border-color: var(--glass-bord-g);
  background: var(--glass-bg);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ivory);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}

.faq-q:hover { color: var(--white); }

.faq-chevron {
  width: 28px; height: 28px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ivory-60);
  transition: background 0.35s ease, border-color 0.35s ease,
              color 0.35s ease, transform 0.35s var(--ease);
}

.faq-chevron svg { width: 14px; height: 14px; }

.faq-item.is-open .faq-chevron {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  transform: rotate(180deg);
}

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

.faq-a.is-open { max-height: 320px; }

.faq-a p {
  padding: 0 24px 22px;
  font-size: 0.885rem;
  color: var(--ivory-60);
  line-height: 1.78;
}


/* ═══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

.cd-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cd-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--glass-bord-g);
  border-radius: 9px;
  background: rgba(0,103,79,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
  flex-shrink: 0;
}

.cd-icon svg { width: 20px; height: 20px; }

.cd-label {
  display: block;
  font-size: 0.69rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(232,225,212,0.32);
  margin-bottom: 2px;
}

.cd-value {
  font-size: 0.92rem;
  color: var(--ivory);
  font-weight: 400;
  transition: color 0.25s ease;
}

a.cd-value:hover { color: var(--green-light); }

/* Form */
.contact-form-wrap { padding: 40px; }

.c-form { display: flex; flex-direction: column; gap: 20px; }

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

.fg {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}

.fg label {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(232,225,212,0.38);
  transition: color 0.25s ease;
}

.fg:focus-within label { color: var(--green-light); }

.fg input,
.fg textarea,
.fg select {
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--glass-border);
  border-radius: 9px;
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.915rem;
  font-weight: 300;
  width: 100%;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.fg input::placeholder,
.fg textarea::placeholder { color: rgba(232,225,212,0.22); }

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--green);
  background: rgba(0,103,79,0.07);
  box-shadow: 0 0 0 3px rgba(0,103,79,0.14);
  outline: none;
}

.fg textarea { resize: vertical; min-height: 136px; }

.sel-wrap { position: relative; }

.sel-arrow {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--ivory-60);
  pointer-events: none;
}

/* Animated underline on inputs */
.fg-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 1.5px;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  border-radius: 0 0 2px 2px;
}

.fg:focus-within .fg-line { transform: scaleX(1); }

/* Success state */
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(0,103,79,0.12);
  border: 1px solid var(--glass-bord-g);
  border-radius: 9px;
  color: var(--green-light);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-success.is-visible { display: flex; }

.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }


/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.865rem;
  color: rgba(232,225,212,0.32);
  line-height: 1.72;
  max-width: 310px;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232,225,212,0.36);
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a,
.footer-contact a {
  font-size: 0.885rem;
  color: rgba(232,225,212,0.46);
  transition: color 0.25s ease;
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--green-light); }

.footer-contact li {
  font-size: 0.885rem;
  color: rgba(232,225,212,0.46);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.775rem; color: rgba(232,225,212,0.22); }

.footer-ethos { font-style: italic; }


/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL SYSTEM
═══════════════════════════════════════════════════════════ */
.fade-up,
.fade-right,
.fade-left {
  opacity: 0;
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}

.fade-up    { transform: translateY(32px); }
.fade-right { transform: translateX(40px); }
.fade-left  { transform: translateX(-40px); }

/* Delays */
.fd-1 { transition-delay: 0.10s; }
.fd-2 { transition-delay: 0.20s; }
.fd-3 { transition-delay: 0.30s; }
.fd-4 { transition-delay: 0.42s; }

/* Revealed state */
.is-revealed {
  opacity: 1 !important;
  transform: none !important;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-visual { width: min(420px, 44vw); opacity: 0.55; }

  .split-grid,
  .reverse-grid { grid-template-columns: 1fr; gap: 40px; }

  .reverse-grid { direction: ltr; }

  .split-visual { order: -1; }

  .about-diagram-card,
  .creator-card { padding: 22px; }

  .services-grid { grid-template-columns: 1fr; }

  .steps-row { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .process-line { display: none; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Nav drawer */
  .hamburger { display: flex; }

  .mobile-backdrop { display: block; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(310px, 82vw);
    background: var(--bg-deep);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 36px 48px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.42s var(--ease);
    z-index: 800;
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
  }

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

  .nav-link { font-size: 1.05rem; padding: 11px 0; width: 100%; }

  .nav-cta {
    margin-left: 0;
    margin-top: 20px;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  /* Hero */
  .hero {
    flex-direction: column;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 60px;
    align-items: flex-start;
  }

  .hero-visual { display: none; }

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

  /* Steps */
  .steps-row { grid-template-columns: 1fr; gap: 14px; }

  .step-num { font-size: 2.4rem; }

  /* Form */
  .form-row-2 { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 26px 22px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2.5rem, 10.5vw, 3.5rem); }
  .btn { padding: 12px 22px; font-size: 0.84rem; }
  .svc-card { padding: 28px 22px; }
  .step-card { padding: 20px 18px; }
}


/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-mid); }


/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY — REDUCE MOTION
═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
