/* =========================================================
   TwoDitor — Production styles
   Dark-dominant, green-accent cinematic identity.
   ========================================================= */
/* Montserrat (body) + Inter & Playfair (legacy fallbacks while OTF loads) — Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,700&family=Playfair+Display:ital,wght@1,400;1,500;1,600&display=swap');

/* ============================================================
   Self-hosted brand fonts (Canela + Degular)
   Files live in assets/fonts/ — see README/spec for licensing.
   ============================================================ */

/* Canela — display + accent italics */
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-LightItalic.otf') format('opentype');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url('assets/fonts/Canela-RegularItalic.otf') format('opentype');
  font-weight: 400; font-style: italic; font-display: swap;
}

/* Degular — UI + headings */
@font-face {
  font-family: 'Degular';
  src: url('assets/fonts/Degular-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Degular';
  src: url('assets/fonts/Degular-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Degular';
  src: url('assets/fonts/Degular-SemiBold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Degular';
  src: url('assets/fonts/Degular-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Degular';
  src: url('assets/fonts/Degular-Black.otf') format('opentype');
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  --td-green:        #33DD78;
  --td-green-bright: #4DE88A;
  --td-green-10:     rgba(51, 221, 120, 0.10);
  --td-green-15:     rgba(51, 221, 120, 0.15);
  --td-green-30:     rgba(51, 221, 120, 0.30);
  --td-green-06:     rgba(51, 221, 120, 0.06);

  --td-black:        #0D0D0D;
  --td-bg:           #111111;
  --td-card:         #1A1A1A;
  --td-card-alt:     #161616;
  --td-border:       #2A2A2A;
  --td-white:        #FFFFFF;
  --td-text:         #CCCCCC;
  --td-muted:        #888888;
  --td-dim:          #555555;
  --td-red:          #FF4444;
  --td-green-tint:   #1E2A1E;

  /* Brand typography stacks
     - display = Canela (hero / italic accent words / quotes)
     - ui      = Degular (buttons, nav, cards, labels, headings)
     - body    = Montserrat (paragraphs, descriptions, FAQ answers)
     --font-sans is preserved as an alias to --font-ui for backward compat
  */
  --font-display: 'Canela', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-ui:      'Degular', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Montserrat', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans:    var(--font-ui);

  --r-button: 8px;
  --r-card:   12px;
  --r-card-lg:16px;
  --r-pill:   100px;

  --side-pad-desktop: 80px;
  --side-pad-mobile:  24px;
  --section-pad:      120px;
  --section-pad-mob:  64px;
  --max-content:      1280px;

  --shadow-float:    0 8px 32px rgba(0, 0, 0, 0.4);
  --glow-green-soft: 0 0 30px rgba(51, 221, 120, 0.15);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:    0.2s;
  --dur-base:    0.3s;
  --dur-slow:    0.6s;
}

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

html { background: #0A0A0A; }
body {
  font-family: var(--font-body);   /* Montserrat for body / paragraph reading */
  font-size: 16px;
  line-height: 1.7;
  color: var(--td-text);
  background: #0A0A0A;
  min-height: 100vh;
  padding-bottom: 100px;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Page-level ambient texture ---------- */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(51,221,120,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51,221,120,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  animation: td-grid-drift 40s linear infinite;
}
@keyframes td-grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 56px 56px, 56px 56px; }
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px circle at 15% 15%, rgba(51,221,120,0.05), transparent 60%),
    radial-gradient(700px circle at 85% 60%, rgba(51,221,120,0.04), transparent 60%),
    radial-gradient(500px circle at 25% 95%, rgba(59,59,60,0.18), transparent 60%);
  animation: td-orb 18s ease-in-out infinite alternate;
}
@keyframes td-orb {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(30px,-20px,0) scale(1.05); }
}

main { position: relative; z-index: 1; }

/* ---------- Animated stroke (used on bottom-nav CTA + featured cards) ---------- */
/* Clean breathing border + soft outer halo. Minimal, premium. */
.anim-stroke {
  position: relative;
  border-radius: inherit;
}
.anim-stroke::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(51, 221, 120, 0.30);
  pointer-events: none;
  animation: td-stroke-breathe 2.8s ease-in-out infinite;
}
.anim-stroke::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(51, 221, 120, 0.08), 0 0 12px rgba(51,221,120,0.10);
  animation: td-stroke-glow 2.8s ease-in-out infinite;
}
@keyframes td-stroke-breathe {
  0%, 100% { border-color: rgba(51, 221, 120, 0.20); }
  50%      { border-color: rgba(51, 221, 120, 0.65); }
}
@keyframes td-stroke-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(51,221,120,0.08), 0 0 12px rgba(51,221,120,0.10); }
  50%      { box-shadow: 0 0 0 1px rgba(51,221,120,0.30), 0 0 22px rgba(51,221,120,0.28); }
}

/* =========================================================
   Typography helpers
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--td-white);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}

.accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--td-green);
  letter-spacing: -0.01em;
  font-size: 1.05em;        /* a touch bigger than surrounding Degular Bold */
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--td-green);
  background: var(--td-card);
  border: 1px solid var(--td-green-30);
  border-radius: var(--r-pill);
  padding: 6px 14px;
}

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; font-size: 12px;
  color: var(--td-green);
  background: var(--td-green-10);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  letter-spacing: 0.01em;
}

.stars { color: var(--td-green); font-size: 14px; letter-spacing: 1px; }

/* =========================================================
   Button
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--r-button);
  border: 1px solid transparent;
  text-decoration: none; line-height: 1; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              filter var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }

/* Primary: green gradient with hover lift + soft glow */
.btn--primary {
  background: linear-gradient(135deg, #33DD78 0%, #28C468 100%);
  color: var(--td-black);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #3DE882 0%, #33DD78 100%);
  box-shadow: 0 4px 20px rgba(51,221,120,0.30);
  transform: scale(1.02);
  filter: brightness(1.02);
}

/* Ghost: transparent → faint green wash on hover */
.btn--ghost {
  background: transparent;
  color: var(--td-white);
  border-color: var(--td-border);
}
.btn--ghost:hover {
  background: rgba(51,221,120,0.05);
  border-color: rgba(51,221,120,0.50);
  color: var(--td-white);
  transform: scale(1.02);
}

/* Dark: used on the green CTA section — green text on near-black */
.btn--dark {
  background: linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 100%);
  color: var(--td-green);
  border-color: rgba(51,221,120,0.20);
}
.btn--dark:hover {
  background: linear-gradient(135deg, #222222 0%, #141414 100%);
  border-color: rgba(51,221,120,0.50);
  box-shadow: 0 4px 20px rgba(0,0,0,0.30);
  transform: scale(1.02);
}
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }

/* Brand mark inside buttons — green logo glyph (Artboard 15) on dark chip.
   Letter "D" inside the span is hidden and acts only as accessibility fallback. */
.brand-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background-color: var(--td-black);
  background-image: url('assets/icon-mark.png');
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; line-height: 1;
  font-size: 0;
  color: transparent;
}
/* Both chips are dark so the green logo glyph stays visible everywhere */
.brand-icon--ongreen { background-color: var(--td-black); }
.brand-icon--lg { width: 24px; height: 24px; }
.brand-icon--md { width: 20px; height: 20px; }

/* Logo placeholder (legacy — kept for tiny inline markers) */
.logo-placeholder {
  display: inline-flex; align-items: center; justify-content: center;
  width: 140px; height: 36px;
  border: 1px dashed var(--td-green);
  border-radius: 6px;
  color: var(--td-green);
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
}
.logo-placeholder--ondark { border-color: var(--td-black); color: var(--td-black); }

/* ---------- Comparison-row TwoDitor wordmark mark ----------
   Wider rectangle so the wordmark reads clearly in the column header. */
.td-mark {
  display: inline-block;
  width: 120px; height: 32px;
  flex-shrink: 0;
  background-image: url('assets/logo-on-dark.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.td-mark--lg { width: 150px; height: 40px; }

/* ---------- Brand logo (real PNG art) ---------------------- */
.site-logo,
.footer__logo {
  display: block;
  height: auto;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}
.site-logo {
  width: 160px;
  margin: 0 auto 24px;
}
/* Block-level so the logo takes its own row above the rating pill */
.site-logo-link {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-bottom: 8px;
}
.footer__logo {
  width: 140px;
}
.footer__logo-link {
  display: inline-block;
  text-decoration: none;
}
@media (max-width: 768px) {
  .site-logo { width: 124px; margin-bottom: 18px; }
  .footer__logo { width: 124px; }
}

.icon-placeholder {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border: 1px dashed var(--td-green);
  border-radius: 6px;
  color: var(--td-green);
  font-size: 7px; font-weight: 700; letter-spacing: 1px;
  flex-shrink: 0;
}

/* Icon well — green-tinted circle around 20px lucide icons */
.icon-well {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  background: var(--td-green-10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* =========================================================
   Section / container
   ========================================================= */
section.section, footer.section {
  padding: var(--section-pad) var(--side-pad-desktop);
  position: relative; z-index: 1;
}

/* ---------- Section divider — thin green gradient line ---------- */
section.section:not(.hero):not(.section--cta)::before,
footer.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(51,221,120,0.15) 30%,
    rgba(51,221,120,0.15) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}
.container { max-width: var(--max-content); margin: 0 auto; }

/* ---------- Type A — Dark Green Glow (strongest) ---------- */
.section--deep,
.section--price {
  background:
    radial-gradient(ellipse 30% 60% at 50% 50%, rgba(51,221,120,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(51,221,120,0.15) 0%, rgba(51,221,120,0.05) 40%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(51,221,120,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0D0D0D 0%, #0A0A0A 100%);
}

/* ---------- Type B — Dark Charcoal Gradient (alternates) ---------- */
.section--bg-1 {
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(59,59,60,0.40) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(51,221,120,0.04) 0%, transparent 50%),
    linear-gradient(135deg, #111111 0%, #0D0D0D 50%, #111111 100%);
}

/* Client Wins — Type B + top-right green accent */
.section--wins {
  background:
    radial-gradient(ellipse 40% 30% at 100% 0%, rgba(51,221,120,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(59,59,60,0.40) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(51,221,120,0.04) 0%, transparent 50%),
    linear-gradient(135deg, #111111 0%, #0D0D0D 50%, #111111 100%);
}

/* Services — Type C (green left accent) */
.section--svc {
  background:
    linear-gradient(135deg, rgba(51,221,120,0.08) 0%, transparent 40%),
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(51,221,120,0.10) 0%, transparent 50%),
    #0D0D0D;
}

/* Process / How It Works */
.section--proc {
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(59,59,60,0.30) 0%, transparent 70%),
    linear-gradient(180deg, #0D0D0D 0%, #111111 50%, #0D0D0D 100%);
}

/* Why Us — Type C + right side green accent */
.section--why {
  background:
    radial-gradient(ellipse 30% 50% at 100% 50%, rgba(51,221,120,0.06) 0%, transparent 60%),
    linear-gradient(135deg, rgba(51,221,120,0.08) 0%, transparent 40%),
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(51,221,120,0.10) 0%, transparent 50%),
    #0D0D0D;
}

/* Testimonials — Type A subtle (opacity halved), full-bleed */
.section--testi {
  padding-left: 0; padding-right: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(51,221,120,0.075) 0%, rgba(51,221,120,0.025) 40%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(51,221,120,0.03) 0%, transparent 60%),
    linear-gradient(180deg, #0D0D0D 0%, #0A0A0A 100%);
}

/* Comparison */
.section--cmp {
  background:
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(51,221,120,0.05) 0%, transparent 60%),
    linear-gradient(135deg, #111111 0%, #0D0D0D 100%);
}

/* FAQ — soft green glow at bottom */
.section--faq {
  background:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(51,221,120,0.06) 0%, transparent 60%),
    #0D0D0D;
}

/* Final CTA — solid green brand moment + diagonal stripe pattern */
.section--cta {
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 2px, transparent 2px, transparent 16px),
    #33DD78;
  text-align: center;
  overflow: hidden;
}

/* =========================================================
   Hero
   ========================================================= */
/* ---------- HERO — Type A gradient + 3 floating orbs ---------- */
.hero {
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 120px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(51,221,120,0.15) 0%, rgba(51,221,120,0.05) 40%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(51,221,120,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0D0D0D 0%, #0A0A0A 100%);
}
/* Subtle grain overlay (very low-opacity SVG noise) */
.hero::before {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  z-index: 0;
}
/* Orb 1 — large, bottom center (replaces the previous .hero__glow) */
.hero__glow {
  position: absolute;
  left: 50%; bottom: -100px;
  width: 600px; height: 400px;
  background: rgba(51,221,120,0.12);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: hero-orb-center 6s ease-in-out infinite;
}
/* Orb 2 — medium, top-left (green) */
.hero__orb-2 {
  position: absolute;
  top: 10%; left: -5%;
  width: 300px; height: 300px;
  background: rgba(51,221,120,0.04);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: hero-orb 8s ease-in-out infinite;
  animation-delay: 2s;
}
/* Orb 3 — small, top-right (charcoal) */
.hero__orb-3 {
  position: absolute;
  top: 20%; right: 5%;
  width: 200px; height: 200px;
  background: rgba(59,59,60,0.30);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  animation: hero-orb 7s ease-in-out infinite;
  animation-delay: 4s;
}
@keyframes hero-orb-center {
  0%, 100% { opacity: 1;   transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.7; transform: translateX(-50%) scale(1.05); }
}
@keyframes hero-orb {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.05); }
}
/* Back-compat alias for any markup still using td-breathe */
@keyframes td-breathe {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.05); }
}
.hero .container { position: relative; text-align: center; width: 100%; }

.hero__rating, .hero__reach {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--td-card);
  border: 1px solid var(--td-border);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  color: var(--td-text);
  font-size: 13px; font-weight: 500;
}
.hero__reach { margin-top: 20px; }

.hero h1 {
  font-weight: 900;
  font-size: clamp(44px, 6.2vw, 80px);
  color: var(--td-white);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-top: 28px;
}
.hero__sub {
  color: var(--td-muted);
  font-size: 18px;
  max-width: 560px;
  margin: 24px auto 0;
  line-height: 1.7;
}
.hero__ctas {
  display: flex; gap: 14px; justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Tool strip beneath hero copy */
.tool-strip {
  margin-top: 56px; width: 100%;
  -webkit-mask-image: linear-gradient(90deg,transparent,black 15%,black 85%,transparent);
          mask-image: linear-gradient(90deg,transparent,black 15%,black 85%,transparent);
  overflow: hidden;
}
.tool-strip__label {
  color: var(--td-dim);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 18px;
}
.marquee {
  display: flex; gap: 56px;
  white-space: nowrap;
  width: max-content;
  animation: td-marquee 30s linear infinite;
}
.marquee--slow { animation-duration: 40s; }
.marquee__item {
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.01em;
}
@keyframes td-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   Trusted strip
   ========================================================= */
.trusted {
  background:
    linear-gradient(180deg, rgba(51,221,120,0.03) 0%, transparent 100%),
    #111111;
  border-top: 1px solid rgba(51,221,120,0.10);
  border-bottom: 1px solid rgba(51,221,120,0.10);
  padding: 36px var(--side-pad-desktop);
  position: relative; z-index: 1;
}
.trusted .container {
  display: flex; align-items: center; gap: 40px;
}
.trusted__label {
  color: var(--td-dim);
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}
.trusted__logos {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg,transparent,black 10%,black 90%,transparent);
          mask-image: linear-gradient(90deg,transparent,black 10%,black 90%,transparent);
}
.trusted__logos .marquee__item {
  font-weight: 700; font-size: 14px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
}

/* =========================================================
   Section headings (shared)
   ========================================================= */
.section-head { text-align: center; }
.section-head h2,
.section-title {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--td-white);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-top: 20px;
}
.section-sub {
  color: var(--td-muted);
  font-size: 16px;
  max-width: 520px;
  margin: 16px auto 0;
}

/* =========================================================
   Wins
   ========================================================= */
.wins-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.wins-head h2 { max-width: 620px; }
.wins-head p { color: var(--td-muted); font-size: 16px; max-width: 380px; }

.featured {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card-lg);
  overflow: hidden;
}
.featured__body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.featured__body h3 { color: var(--td-white); font-weight: 700; font-size: 24px; margin-top: 12px; }
.featured__body p { color: var(--td-muted); font-size: 14px; line-height: 1.6; margin-top: 8px; }
.stats { display: flex; gap: 32px; margin-top: 24px; }
.stat__n {
  font-weight: 900;
  color: var(--td-green);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__l {
  color: var(--td-muted);
  font-size: 12px;
  margin-top: 4px;
}
.featured__link { color: var(--td-green); font-weight: 600; margin-top: 24px; font-size: 14px; }

/* Project card */
.grid-2 { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.project:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
  transform: scale(1.02);
}
.project__body { padding: 20px; }
.project__title { color: var(--td-white); font-weight: 700; font-size: 18px; margin-top: 10px; }
.project__desc { color: var(--td-muted); font-size: 13px; line-height: 1.6; margin-top: 6px; }
.project__stats { display: flex; gap: 20px; margin-top: 14px; }
.project__stats .stat__n { font-size: 22px; }
.project__stats .stat__l { font-size: 11px; }
.project__link { color: var(--td-green); font-weight: 600; font-size: 13px; margin-top: 14px; display: inline-flex; align-items: center; gap: 4px; }

/* Video thumb (cinematic 16:9 mockup) */
.video-thumb {
  background: linear-gradient(135deg, #0D0D0D 0%, #1F1F1F 50%, #0D0D0D 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.video-thumb::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(51,221,120,0.08), transparent 50%);
}
.video-thumb__play {
  position: relative; z-index: 1;
  width: 56px; height: 56px;
  border-radius: var(--r-pill);
  background: rgba(51,221,120,0.15);
  border: 1px solid rgba(51,221,120,0.5);
  display: flex; align-items: center; justify-content: center;
}
.video-thumb__label {
  position: absolute; bottom: 10px; left: 12px;
  color: #333; font-size: 10px;
  font-weight: 600; letter-spacing: 1px;
}
.video-thumb--lg { height: 360px; }
.video-thumb--md { height: 180px; }

/* =========================================================
   Services
   ========================================================= */
.grid-3 { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 28px;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.service:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
  transform: scale(1.03);
}
.service h3 { color: var(--td-white); font-weight: 700; font-size: 18px; margin-top: 16px; }
.service p { color: var(--td-muted); font-size: 14px; line-height: 1.6; margin-top: 8px; }
.service__more {
  color: var(--td-green); font-weight: 500; font-size: 13px;
  margin-top: 14px; opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.service:hover .service__more { opacity: 1; }

/* =========================================================
   Process
   ========================================================= */
.process-grid {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative;
}
.step { position: relative; padding-top: 40px; }
.step__num {
  position: absolute; top: -10px; left: -4px;
  font-weight: 900; font-size: 80px;
  color: rgba(51,221,120,0.12);
  letter-spacing: -0.04em; line-height: 1;
  pointer-events: none;
}
.step__body { position: relative; }
.step h3 { color: var(--td-white); font-weight: 700; font-size: 18px; margin-top: 16px; }
.step p { color: var(--td-muted); font-size: 14px; line-height: 1.6; margin-top: 8px; }
.step__connector {
  position: absolute;
  top: 60px; right: -22px;
  width: 24px;
  border-top: 1px dashed var(--td-border);
}
.step:last-child .step__connector { display: none; }

/* =========================================================
   Why Us
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 40px;
}
.why-callout {
  background: linear-gradient(135deg, #1E2A1E 0%, #181E18 100%);
  border-left: 4px solid var(--td-green);
  border-radius: 0 12px 12px 0;
  padding: 28px;
  margin-top: 32px;
  box-shadow: 0 0 40px rgba(51,221,120,0.10);
}
.why-callout__h {
  color: var(--td-white);
  font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em;
}
.why-callout__p {
  color: var(--td-text);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 10px;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.feature {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 20px;
  display: flex; gap: 14px;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.feature:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
}
.feature__icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--td-green-10);
  display: flex; align-items: center; justify-content: center;
}
.feature__t { color: var(--td-white); font-weight: 700; font-size: 14px; }
.feature__d { color: var(--td-muted); font-size: 13px; line-height: 1.5; margin-top: 2px; }

/* =========================================================
   Testimonials
   ========================================================= */
.testi-head { padding: 0 var(--side-pad-desktop); margin-bottom: 56px; }
.testi-rows {
  display: flex; flex-direction: column; gap: 16px;
}
.marquee-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg,transparent,black 8%,black 92%,transparent);
          mask-image: linear-gradient(90deg,transparent,black 8%,black 92%,transparent);
}
.marquee-row .track {
  display: flex; gap: 16px;
  width: max-content;
}
.marquee-row.dir-left  .track { animation: td-mq-left 50s linear infinite; }
.marquee-row.dir-right .track { animation: td-mq-right 55s linear infinite; }
.marquee-row:hover .track { animation-play-state: paused; }
@keyframes td-mq-left  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes td-mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.tcard {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 24px;
  width: 360px;
  flex-shrink: 0;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.tcard:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
}
.tcard__quote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--td-text);
  font-size: 16px;
  line-height: 1.8;
  margin-top: 14px;
}
.tcard__by {
  display: flex; align-items: center; gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--td-border);
}
.tcard__avatar {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  background: var(--td-border);
  flex-shrink: 0;
}
.tcard__name { color: var(--td-white); font-weight: 600; font-size: 14px; }
.tcard__role { color: var(--td-muted); font-size: 12px; }

/* =========================================================
   Comparison
   ========================================================= */
.cmp {
  margin-top: 56px;
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card-lg);
  overflow: hidden;
}
.cmp__head {
  background: linear-gradient(135deg, #111111 0%, #0D0D0D 100%);
  padding: 16px 28px;
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 16px;
  color: var(--td-muted);
  font-weight: 600; font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cmp__head > div + div { text-align: center; }
.cmp__row {
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--td-border);
}
.cmp__row:nth-child(odd-row) { background: var(--td-card-alt); }
.cmp__row--alt { background: linear-gradient(135deg, #181818 0%, #141414 100%); }
.cmp__row--hl {
  background: linear-gradient(135deg, #1E2A1E 0%, #181E18 100%);
  border: 1px solid var(--td-green);
  box-shadow: inset 0 0 40px rgba(51,221,120,0.06);
}
.cmp__name {
  display: flex; align-items: center; gap: 10px;
  color: var(--td-white); font-weight: 700; font-size: 15px;
}
.cmp__row--hl .cmp__name { color: var(--td-green); }
.cmp__desc { color: var(--td-text); font-size: 12px; margin-top: 4px; }
.cmp__cell { text-align: center; }

/* =========================================================
   Pricing
   ========================================================= */
.price-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.price {
  position: relative;
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 32px;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.price:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
}
.price--featured,
.price--featured:hover {
  background: linear-gradient(135deg, #1E2A1E 0%, #181E18 100%);
  border: 2px solid var(--td-green);
  box-shadow: 0 0 40px rgba(51,221,120,0.15), 0 0 80px rgba(51,221,120,0.06);
  transform: translateY(-8px);
}
.price__pop {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--td-green); color: var(--td-black);
  font-weight: 600; font-size: 12px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.price__tier {
  color: var(--td-muted);
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.price--featured .price__tier { color: var(--td-green); }
.price__amount { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.price__num {
  font-weight: 900;
  color: var(--td-white);
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price__per { color: var(--td-muted); font-size: 15px; }
.price__div { height: 1px; background: var(--td-border); margin: 22px 0; }
.price__feats { display: flex; flex-direction: column; gap: 12px; }
.price__feat {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: var(--td-text);
}
.price__feat--no { color: var(--td-dim); text-decoration: line-through; }
.price__cta { margin-top: 28px; }
.price__custom {
  text-align: center; margin-top: 48px;
  color: var(--td-muted); font-size: 14px;
}
.price__custom a { color: var(--td-green); font-weight: 600; }

/* =========================================================
   FAQ
   ========================================================= */
.section--faq .container { max-width: 800px; }
.faq { margin-top: 56px; }
.faq__item { border-bottom: 1px solid var(--td-border); padding: 22px 0; }
.faq__q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  background: none; border: none; padding: 0;
  width: 100%; text-align: left;
  color: var(--td-white);
  font-weight: 600; font-size: 16px;
  font-family: var(--font-sans);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq__item.is-open .faq__q { color: var(--td-green); }
.faq__chev { color: var(--td-green); transition: transform var(--dur-base) var(--ease-out); }
.faq__item.is-open .faq__chev { transform: rotate(180deg); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur-base) ease;
}
.faq__a-inner {
  color: var(--td-muted);
  font-size: 15px; line-height: 1.7;
  padding-top: 12px;
  opacity: 0;
  transition: opacity 0.2s 0.1s;
}
.faq__item.is-open .faq__a { max-height: 300px; }
.faq__item.is-open .faq__a-inner { opacity: 1; }

/* =========================================================
   Final CTA
   ========================================================= */
.section--cta h2 {
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 72px);
  color: var(--td-black);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.cta__sub {
  color: rgba(13,13,13,0.7);
  font-size: 18px;
  margin-top: 20px;
}
.cta__btn-wrap { margin-top: 36px; }
.cta__note {
  color: rgba(13,13,13,0.55);
  font-size: 13px;
  margin-top: 18px;
}
.cta__btn { animation: cta-glow 2.4s ease-in-out infinite; }
@keyframes cta-glow {
  0%,100% { box-shadow: 0 0 0 rgba(13,13,13,0.0); }
  50%     { box-shadow: 0 0 32px rgba(13,13,13,0.25); }
}

/* =========================================================
   Footer
   ========================================================= */
footer.footer {
  background:
    radial-gradient(ellipse 60% 30% at 50% 0%, rgba(51,221,120,0.04) 0%, transparent 60%),
    linear-gradient(180deg, #0D0D0D 0%, #080808 100%);
  border-top: 1px solid rgba(51,221,120,0.10);
  padding: 72px var(--side-pad-desktop) 40px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer__brand-blurb {
  color: var(--td-muted);
  font-size: 14px;
  margin-top: 18px;
  max-width: 280px;
  line-height: 1.6;
}
.footer__socials { display: flex; gap: 12px; margin-top: 20px; }
.footer__socials a { color: var(--td-dim); transition: color var(--dur-fast); }
.footer__socials a:hover { color: var(--td-green); }
.footer__col h4 {
  color: var(--td-white);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}
.footer__link {
  display: block;
  color: var(--td-muted);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color var(--dur-fast);
}
.footer__link:hover { color: var(--td-green); }
.footer__divider { height: 1px; background: var(--td-border); margin: 48px 0 20px; }
.footer__legal {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--td-dim);
  flex-wrap: wrap; gap: 12px;
}
.footer__legal-links { display: flex; gap: 20px; }

/* =========================================================
   Bottom nav — hover mega menu (Services + More)
   ========================================================= */
.bnav__group {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.bnav__popup {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px;
  box-shadow:
    0 -8px 60px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out),
              transform 0.2s var(--ease-out),
              visibility 0.2s var(--ease-out);
  z-index: 60;
  max-width: calc(100vw - 24px);
}
/* Bridge the 16px gap so hover stays continuous between item and popup */
.bnav__popup::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 16px;
}
/* Down-pointing arrow at the bottom of the card */
.bnav__popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 6px 0 6px;
  border-color: #FFFFFF transparent transparent transparent;
}
.bnav__group:hover .bnav__popup,
.bnav__popup:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Services 2-column variant */
.bnav__popup--services {
  width: 680px;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 20px;
}
/* Services popup is offset slightly left of center per spec */
.bnav__group--services .bnav__popup--services {
  transform: translateX(-30%) translateY(8px);
}
.bnav__group--services:hover .bnav__popup--services,
.bnav__popup--services:hover {
  transform: translateX(-30%) translateY(0);
}
.bnav__group--services .bnav__popup--services::after {
  left: 30%;
}

/* Single-column "More" popup */
.bnav__popup--more {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bnav__svc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bnav__svc {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.bnav__svc:hover {
  background: rgba(51, 221, 120, 0.06);
  border-left-color: #33DD78;
}
.bnav__svc-t {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: #0D0D0D;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}
.bnav__svc:hover .bnav__svc-t { color: #33DD78; }
.bnav__svc-d {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  color: #888888;
  line-height: 1.5;
  margin-top: 2px;
}

.bnav__svc-divider {
  border-top: 1px solid #F0F0F0;
  margin: 10px 0 6px;
}
.bnav__svc-all {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: #33DD78;
  text-decoration: none;
}
.bnav__svc-all:hover { text-decoration: underline; }

/* Right-side preview panel */
.bnav__preview {
  position: relative;
  background: #0D0D0D;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
}
.bnav__preview-pane {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.bnav__preview-pane.is-show { opacity: 1; pointer-events: auto; }

/* Default pane (D icon) */
.bnav__preview-d {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #33DD78;
  color: #0D0D0D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 24px;
}
.bnav__preview-d-label {
  color: #888888;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  margin-top: 14px;
}

/* Per-service preview pane */
.bnav__preview-card {
  padding: 0;
  display: block;
  text-align: left;
}
.bnav__preview-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(51, 221, 120, 0.10), transparent 60%),
    linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bnav__preview-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(51, 221, 120, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #33DD78;
}
.bnav__preview-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
  z-index: 1;
}
.bnav__preview-badge {
  display: inline-block;
  background: rgba(51, 221, 120, 0.15);
  border: 1px solid rgba(51, 221, 120, 0.30);
  color: #33DD78;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  border-radius: 100px;
  padding: 4px 10px;
}
.bnav__preview-name {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  margin-top: 10px;
  letter-spacing: -0.01em;
}
.bnav__preview-desc {
  color: #888888;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}
.bnav__preview-more {
  color: #33DD78;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  margin-top: 10px;
  display: inline-block;
}

/* "More" popup item — same styling as bnav__svc */
.bnav__more-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.bnav__more-item:hover {
  background: rgba(51, 221, 120, 0.06);
  border-left-color: #33DD78;
}
.bnav__more-t {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: #0D0D0D;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}
.bnav__more-item:hover .bnav__more-t { color: #33DD78; }
.bnav__more-d {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  color: #888888;
  line-height: 1.5;
  margin-top: 2px;
}

/* Responsive: shrink mega-menu on small screens */
@media (max-width: 768px) {
  .bnav__popup--services {
    width: min(560px, calc(100vw - 24px));
    grid-template-columns: 1fr;
  }
  .bnav__group--services .bnav__popup--services { transform: translateX(-50%) translateY(8px); }
  .bnav__group--services:hover .bnav__popup--services,
  .bnav__popup--services:hover { transform: translateX(-50%) translateY(0); }
  .bnav__group--services .bnav__popup--services::after { left: 50%; }
  .bnav__preview { min-height: 220px; }
}

/* =========================================================
   Bottom nav (floating pill)
   ========================================================= */
.bnav {
  position: fixed;
  bottom: 24px; left: 50%;
  z-index: 50;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s;
  background: linear-gradient(135deg, rgba(30,30,30,0.95) 0%, rgba(20,20,20,0.95) 100%);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 8px;
  display: flex; align-items: center; gap: 4px;
  box-shadow:
    0 10px 36px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(51,221,120,0.05);
}
.bnav.is-mounted { transform: translateX(-50%) translateY(0); opacity: 1; }

.bnav__item {
  position: relative;
  padding: 14px 24px;
  color: var(--td-text);
  font-weight: 500;
  font-size: 16px;
  background: none; border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color var(--dur-fast), transform 0.1s ease;
}
.bnav__item:hover { color: var(--td-white); transform: translateY(-1px); }
.bnav__item.is-active { color: var(--td-white); }
.bnav__item.is-active::after {
  content: ""; position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: var(--r-pill);
  background: var(--td-green);
}

.bnav__cta-wrap { border-radius: 14px; }
.bnav__cta {
  position: relative;
  border: none; cursor: pointer;
  background: linear-gradient(135deg, #33DD78 0%, #28C468 100%);
  border-radius: 14px;
  padding: 8px 24px 8px 8px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 18px rgba(51,221,120,0.30);
  transition: background var(--dur-fast), transform 0.15s ease, box-shadow var(--dur-fast);
}
.bnav__cta:hover {
  background: linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 100%);
  transform: scale(1.02);
  box-shadow: 0 7px 26px rgba(51,221,120,0.50);
}
.bnav__cta:active { transform: scale(0.97); }
.bnav__cta-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background-color: var(--td-black);
  background-image: url('assets/icon-mark.png');
  background-size: 64%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  font-size: 0;
  flex-shrink: 0;
  transition: background-color var(--dur-fast);
}
.bnav__cta-label { color: #fff; font-weight: 600; font-size: 16px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .step__connector { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured { grid-template-columns: 1fr; }
  .video-thumb--lg { height: 240px; }
}

@media (max-width: 768px) {
  body { padding-bottom: 90px; }
  section.section, footer.section, footer.footer, .trusted {
    padding-left: var(--side-pad-mobile);
    padding-right: var(--side-pad-mobile);
  }
  section.section { padding-top: var(--section-pad-mob); padding-bottom: var(--section-pad-mob); }
  .section--testi { padding-left: 0; padding-right: 0; }
  .testi-head { padding: 0 var(--side-pad-mobile); }
  .grid-2, .grid-3, .price-grid, .feature-grid { grid-template-columns: 1fr; }
  .price--featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cmp__head, .cmp__row {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .cmp__head > div + div, .cmp__cell { text-align: left; }
  .cmp__head > div:not(:first-child) { display: none; }
  .cmp__cell { display: flex; align-items: center; gap: 8px; }
  .cmp__cell::before { content: attr(data-label); color: var(--td-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; min-width: 90px; }
  .trusted .container { flex-direction: column; align-items: stretch; gap: 16px; }
  .trusted__label { text-align: center; }
  .bnav { left: 12px; right: 12px; transform: translateX(0) translateY(100px); width: auto; max-width: max-content; margin: 0 auto; }
  .bnav.is-mounted { transform: translateX(0) translateY(0); }
  .bnav__item { padding: 10px 12px; font-size: 13px; }
  .bnav__cta-label { font-size: 13px; }
  .hero { padding-top: 100px; padding-bottom: 80px; min-height: auto; }
}

/* ---------- Selection / scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--td-black); }
::-webkit-scrollbar-thumb { background: var(--td-border); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--td-green); }
::selection { background: var(--td-green); color: var(--td-black); }

/* =========================================================
   Breadcrumb (inner pages)
   ========================================================= */
.breadcrumb {
  color: var(--td-dim);
  font-size: 13px;
  font-weight: 400;
}
.breadcrumb a {
  color: var(--td-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.breadcrumb a:hover { color: var(--td-green); }
.breadcrumb__sep { margin: 0 8px; color: var(--td-dim); }

/* =========================================================
   Tab pill (level-1 filter)
   ========================================================= */
.tabs-pill {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  background: var(--td-card);
  border: 1px solid var(--td-border);
  border-radius: 14px;       /* less rounded than full pill */
  padding: 6px;
  margin: 32px auto 0;       /* centered horizontally */
}
.tab-pill {
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-radius: 10px;       /* less rounded individual tab */
  color: var(--td-muted);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.tab-pill:hover { color: var(--td-white); }
.tab-pill.is-active {
  background: var(--td-green);
  color: var(--td-black);
  font-weight: 600;
}

/* Sub-filter pill (level-2 filter) */
.sub-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin: 28px 0 48px;
}
.sub-pill {
  padding: 8px 18px;
  background: var(--td-card);
  border: 1px solid var(--td-border);
  border-radius: 10px;       /* less rounded — matches tabs container rhythm */
  color: var(--td-muted);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.sub-pill:hover { border-color: var(--td-green); color: var(--td-white); }
.sub-pill.is-active {
  background: var(--td-green);
  color: var(--td-black);
  border-color: var(--td-green);
  font-weight: 600;
}

/* =========================================================
   Pricing card v2 (used on /pricing)
   ========================================================= */
.pcard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
/* Force hidden grids out of flow — overrides display: grid */
.pcard-grid[hidden] { display: none !important; }
/* Tab-switch fade-out state */
.pcard-grid.is-fading-out {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.pcard {
  position: relative;
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card-lg);
  padding: 36px;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.pcard:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
  transform: scale(1.01);
}
.pcard--featured {
  background: linear-gradient(135deg, #1E2A1E 0%, #181E18 100%);
  border: 2px solid var(--td-green);
  box-shadow: 0 0 40px rgba(51,221,120,0.15), 0 0 80px rgba(51,221,120,0.06);
  transform: scale(1.02);
  animation: td-card-breathe 3.6s ease-in-out infinite;
}
@keyframes td-card-breathe {
  0%, 100% {
    border-color: rgba(51,221,120,0.50);
    box-shadow: 0 0 32px rgba(51,221,120,0.12), 0 0 64px rgba(51,221,120,0.05);
  }
  50% {
    border-color: rgba(51,221,120,1);
    box-shadow: 0 0 48px rgba(51,221,120,0.22), 0 0 96px rgba(51,221,120,0.10);
  }
}
.pcard--featured:hover {
  background: linear-gradient(135deg, #223022 0%, #1C261C 100%);
  border-color: var(--td-green);
  transform: scale(1.03);
  box-shadow: 0 0 60px rgba(51,221,120,0.20), 0 0 100px rgba(51,221,120,0.08);
}
.pcard__pop {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  background: var(--td-green);
  color: var(--td-black);
  font-weight: 600;
  font-size: 12px;
  padding: 6px 18px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  animation: pop-pulse 2.5s ease-in-out infinite;
}
@keyframes pop-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50%      { transform: translateX(-50%) scale(1.04); }
}
.pcard__tier {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--td-muted);
}
.pcard--featured .pcard__tier { color: var(--td-green); }

.pcard__amount {
  display: flex; align-items: baseline; gap: 6px;
  margin-top: 14px;
}
.pcard__num {
  font-weight: 900;
  color: var(--td-white);
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.2s ease;
  will-change: opacity, transform;
}
.pcard__num.is-out {
  opacity: 0;
  transform: translateY(-10px);
}
.pcard__per {
  color: var(--td-muted);
  font-size: 16px;
}
.pcard__sub {
  color: var(--td-muted);
  font-size: 13px;
  margin-top: 6px;
}

.pcard__delivery {
  display: inline-block;
  background: var(--td-black);
  border: 1px solid var(--td-border);
  border-radius: 6px;
  padding: 6px 12px;
  margin-top: 18px;
  color: var(--td-muted);
  font-weight: 500;
  font-size: 13px;
}
.pcard--featured .pcard__delivery {
  background: rgba(51,221,120,0.08);
  border-color: rgba(51,221,120,0.2);
  color: var(--td-green);
}

.pcard__div {
  height: 1px;
  background: var(--td-border);
  margin: 24px 0;
}
.pcard--featured .pcard__div { background: rgba(51,221,120,0.15); }

.pcard__feats { display: flex; flex-direction: column; gap: 12px; }
.pcard__feat {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: var(--td-text);
}
.pcard__feat--no { color: var(--td-dim); }

.pcard__cta { margin-top: 28px; }
.pcard__call {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--td-muted);
  font-size: 13px;
  transition: color var(--dur-fast);
}
.pcard__call:hover { color: var(--td-green); }

/* Card entrance stagger */
.pcard.is-enter {
  opacity: 0;
  transform: translateY(20px);
}
.pcard.is-show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s var(--ease-out),
              transform 0.4s var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.pcard--featured.is-show { transform: translateY(0) scale(1.02); }

/* =========================================================
   Custom quote banner
   ========================================================= */
.quote-banner {
  margin-top: 56px;
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.quote-banner:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
}
.quote-banner__t {
  color: var(--td-white);
  font-weight: 700;
  font-size: 18px;
}
.quote-banner__d {
  color: var(--td-muted);
  font-size: 14px;
  margin-top: 4px;
}

/* =========================================================
   Inner-page header (smaller hero)
   ========================================================= */
.page-header {
  position: relative;
  padding: 160px var(--side-pad-desktop) 80px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(51,221,120,0.12) 0%, rgba(51,221,120,0.04) 40%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(51,221,120,0.05) 0%, transparent 60%),
    linear-gradient(180deg, #0D0D0D 0%, #0A0A0A 100%);
}
.page-header__glow {
  position: absolute;
  left: 50%; top: 30%;
  width: 1100px; height: 700px;
  background: rgba(51,221,120,0.10);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: page-orb 6s ease-in-out infinite;
}
@keyframes page-orb {
  0%, 100% { opacity: 1;   transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); }
}
.page-header .container { position: relative; }
.page-header h1 {
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--td-white);
  margin-top: 24px;
}
.page-header__sub {
  color: var(--td-muted);
  font-size: 18px;
  max-width: 620px;
  margin: 22px auto 0;
}
.page-header__ctas {
  display: flex; gap: 14px; justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* =========================================================
   Filter chips (projects)
   ========================================================= */
.filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}
.filter {
  padding: 10px 18px;
  background: var(--td-card);
  border: 1px solid var(--td-border);
  border-radius: var(--r-pill);
  color: var(--td-text);
  font-size: 14px; font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.filter:hover { border-color: var(--td-green); color: var(--td-white); }
.filter.is-active {
  background: var(--td-green);
  color: var(--td-black);
  border-color: var(--td-green);
}

/* =========================================================
   Stats strip
   ========================================================= */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.stat-strip__item {
  text-align: center;
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 32px 24px;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.stat-strip__item:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
}
.stat-strip__n {
  font-weight: 900;
  font-size: 44px;
  color: var(--td-green);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-strip__l {
  color: var(--td-muted);
  font-size: 13px;
  margin-top: 12px;
}

/* =========================================================
   Team grid (about)
   ========================================================= */
.team-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 28px 20px;
  text-align: center;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.team-card:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
  transform: scale(1.02);
}
.team-card__avatar {
  width: 80px; height: 80px;
  border-radius: var(--r-pill);
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #1F1F1F 0%, #0D0D0D 100%);
  border: 1px solid var(--td-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--td-green);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.team-card__name {
  color: var(--td-white);
  font-weight: 700;
  font-size: 16px;
}
.team-card__role {
  color: var(--td-green);
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}
.team-card__bio {
  color: var(--td-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
}

/* =========================================================
   Values grid (about)
   ========================================================= */
.values-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 28px;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.value-card:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
}
.value-card h3 {
  color: var(--td-white);
  font-weight: 700;
  font-size: 18px;
  margin-top: 16px;
}
.value-card p {
  color: var(--td-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}

/* =========================================================
   Service-detail block (services page)
   ========================================================= */
.service-detail {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card-lg);
  padding: 40px;
  margin-top: 24px;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.service-detail:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
}
.service-detail__head {
  display: flex; align-items: flex-start; gap: 20px;
}
.service-detail__title {
  color: var(--td-white);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.service-detail__sub {
  color: var(--td-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 8px;
  max-width: 720px;
}
.deliverables {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
.deliverable {
  display: flex; align-items: center; gap: 10px;
  color: var(--td-text);
  font-size: 14px;
}

/* =========================================================
   Add-ons grid (pricing)
   ========================================================= */
.addons {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.addon {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.addon:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
}
.addon__body { flex: 1; }
.addon__t { color: var(--td-white); font-weight: 600; font-size: 15px; }
.addon__d { color: var(--td-muted); font-size: 13px; line-height: 1.6; margin-top: 4px; }
.addon__price { color: var(--td-green); font-weight: 700; font-size: 14px; margin-top: 10px; }

/* =========================================================
   Contact form (contact page)
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.form {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card-lg);
  padding: 40px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; }
.field__label {
  display: block;
  color: var(--td-text);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--td-black);
  border: 1px solid var(--td-border);
  border-radius: var(--r-button);
  color: var(--td-white);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field__input::placeholder,
.field__textarea::placeholder { color: var(--td-dim); }
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--td-green);
}
.field__textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2333DD78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}

.contact-info {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card-lg);
  padding: 32px;
  height: fit-content;
}
.contact-info__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--td-border);
}
.contact-info__item:last-child { border: none; padding-bottom: 0; }
.contact-info__item:first-child { padding-top: 0; }
.contact-info__label {
  color: var(--td-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-info__value {
  color: var(--td-white);
  font-size: 15px;
  margin-top: 8px;
  font-weight: 500;
  line-height: 1.6;
}
.contact-info__value a { color: var(--td-green); }
.contact-info__value a:hover { color: var(--td-green-bright); }

/* =========================================================
   Two-column "story" block (about)
   ========================================================= */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-grid h2 { text-align: left; margin-top: 20px; }
.story-grid p {
  color: var(--td-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-top: 20px;
}
.story-grid p + p { margin-top: 14px; }

/* =========================================================
   Mobile additions
   ========================================================= */
@media (max-width: 1024px) {
  .pcard-grid { grid-template-columns: 1fr; }
  .pcard--featured { transform: none; }
  .pcard--featured.is-show { transform: translateY(0); }
  .pcard--featured:hover { transform: scale(1.01); }
  .quote-banner { flex-direction: column; align-items: flex-start; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .addons { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .deliverables { grid-template-columns: 1fr; }
  .service-detail { padding: 28px; }
}
@media (max-width: 768px) {
  .tabs-pill { width: 100%; padding: 4px; }
  .tab-pill { padding: 8px 14px; font-size: 13px; }
  .pcard { padding: 28px; }
  .pcard__num { font-size: 40px; }
  .quote-banner { padding: 24px; }
  .stat-strip, .team-grid, .values-grid { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .page-header { padding: 100px var(--side-pad-mobile) 56px; }
  .stat-strip__n { font-size: 36px; }
}

/* =========================================================
   PROJECT DETAIL — case-study layout
   ========================================================= */
.case-hero {
  margin-top: 32px;
  border-radius: var(--r-card-lg);
  overflow: hidden;
  border: 1px solid var(--td-border);
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
}
.case-hero .video-thumb { height: 480px; }
@media (max-width: 1024px) {
  .case-hero .video-thumb { height: 340px; }
}
@media (max-width: 768px) {
  .case-hero .video-thumb { height: 240px; }
}

/* Meta strip — Client / Year / Services / Deliverables */
.meta-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  overflow: hidden;
}
.meta-strip__cell {
  padding: 24px 28px;
  border-right: 1px solid var(--td-border);
}
.meta-strip__cell:last-child { border-right: none; }
.meta-strip__label {
  color: var(--td-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.meta-strip__value {
  color: var(--td-white);
  font-size: 16px;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.4;
}
@media (max-width: 1024px) {
  .meta-strip { grid-template-columns: repeat(2, 1fr); }
  .meta-strip__cell { border-right: none; border-bottom: 1px solid var(--td-border); }
  .meta-strip__cell:nth-child(2) { border-right: 0; }
  .meta-strip__cell:nth-child(odd) { border-right: 1px solid var(--td-border); }
}
@media (max-width: 768px) {
  .meta-strip { grid-template-columns: 1fr; }
  .meta-strip__cell { border-right: none; border-bottom: 1px solid var(--td-border); }
}

/* Approach steps */
.approach-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.approach-card {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.approach-card__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(51,221,120,0.10);
  color: var(--td-green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.approach-card h3 {
  color: var(--td-white);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.approach-card p {
  color: var(--td-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-top: 6px;
}
@media (max-width: 768px) { .approach-grid { grid-template-columns: 1fr; } }

/* Color palette */
.palette-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.palette-swatch {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 14px;
}
.palette-swatch__chip {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  margin-bottom: 12px;
}
.palette-swatch__name {
  color: var(--td-white);
  font-weight: 600;
  font-size: 13px;
}
.palette-swatch__hex {
  color: var(--td-muted);
  font-size: 12px;
  margin-top: 2px;
  letter-spacing: 0.02em;
}
@media (max-width: 1024px) { .palette-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .palette-grid { grid-template-columns: repeat(2, 1fr); } }

/* Visual gallery — 2x3 mockup grid */
.gallery-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid .video-thumb { height: 200px; border-radius: var(--r-card); border: 1px solid var(--td-border); }
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Pull quote — large testimonial block */
.pull-quote {
  margin-top: 48px;
  text-align: center;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.pull-quote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--td-white);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.pull-quote__by {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.pull-quote__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1F1F1F, #0D0D0D);
  border: 1px solid var(--td-border);
  flex-shrink: 0;
}
.pull-quote__name {
  color: var(--td-white);
  font-weight: 600;
  font-size: 15px;
  text-align: left;
}
.pull-quote__role {
  color: var(--td-muted);
  font-size: 13px;
  text-align: left;
}

/* "Next project" strip at bottom */
.next-strip {
  margin-top: 56px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 36px;
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  gap: 24px;
  flex-wrap: wrap;
}
.next-strip__label {
  color: var(--td-muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.next-strip__title {
  color: var(--td-white);
  font-weight: 700;
  font-size: 22px;
  margin-top: 4px;
}

/* =========================================================
   PRICING PAGE — extended components
   ========================================================= */

/* Package-name line under the price (e.g. "Launch Package") */
.pcard__pkg {
  color: var(--td-green);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-top: 14px;
  margin-bottom: 18px;
}

/* ---------- Bonus section: 4 icon cards ---------- */
.bonus-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bonus-card {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
  padding: 28px 24px;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.bonus-card:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
}
.bonus-card__t {
  color: var(--td-white);
  font-weight: 600;
  font-size: 16px;
  margin-top: 16px;
}
.bonus-card__d {
  color: var(--td-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 6px;
}

/* ---------- Other services (large card with checklist grid) ---------- */
.svc-list-card {
  margin-top: 48px;
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card-lg);
  padding: 40px;
}
.svc-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 32px;
}
.svc-list__item {
  display: flex; align-items: center; gap: 10px;
  color: var(--td-text);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Video testimonials (horizontal scroll) ---------- */
.video-scroller {
  margin-top: 48px;
  display: flex; gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 8px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--td-border) transparent;
}
.video-scroller.is-dragging { cursor: grabbing; }
.video-scroller::-webkit-scrollbar { height: 6px; }
.video-scroller::-webkit-scrollbar-track { background: transparent; }
.video-scroller::-webkit-scrollbar-thumb { background: var(--td-border); border-radius: var(--r-pill); }
.video-card {
  position: relative;
  flex: 0 0 260px;
  height: 340px;
  border-radius: var(--r-card-lg);
  overflow: hidden;
  scroll-snap-align: start;
  background:
    radial-gradient(circle at 50% 30%, rgba(51,221,120,0.08), transparent 50%),
    linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 100%);
  border: 1px solid var(--td-border);
  transition: border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.video-card:hover {
  border-color: rgba(51,221,120,0.40);
  transform: scale(1.01);
}
.video-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.video-card__play {
  position: absolute;
  top: 38%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(51,221,120,0.20);
  border: 2px solid var(--td-green);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.video-card__body {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 1;
}
.video-card__logo {
  width: 80px; height: 22px;
  border: 1px dashed rgba(255,255,255,0.4);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 9px; font-weight: 600; letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.video-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--td-text);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card__name {
  color: var(--td-white);
  font-weight: 600;
  font-size: 14px;
  margin-top: 12px;
}
.video-card__role {
  color: var(--td-muted);
  font-size: 13px;
}

/* ---------- 3-column comparison table (2 columns: Other vs TwoDitor) ---------- */
.cmp2 {
  margin-top: 48px;
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card-lg);
  overflow: hidden;
}
.cmp2__head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0;
  background: linear-gradient(135deg, #111111 0%, #0D0D0D 100%);
}
.cmp2__head > div {
  padding: 18px 24px;
  color: var(--td-muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.cmp2__head > div:first-child { text-align: left; }
.cmp2__head > .cmp2__td {
  background: rgba(51,221,120,0.10);
  border-top: 2px solid var(--td-green);
  color: var(--td-green);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cmp2__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-top: 1px solid var(--td-border);
  transition: filter var(--dur-fast);
}
.cmp2__row:hover { filter: brightness(1.06); }
.cmp2__row > div {
  padding: 18px 24px;
  display: flex; align-items: center;
  font-size: 14px;
}
.cmp2__row > div:first-child { color: var(--td-text); }
.cmp2__row > div:not(:first-child) {
  justify-content: center;
}
.cmp2__row > .cmp2__td {
  background: rgba(51,221,120,0.05);
}

/* ---------- Benefits (2 large + 3 smaller) ---------- */
.benefits-row-1 {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.benefits-row-2 {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card-lg);
  padding: 32px;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.benefit-card:hover {
  background: linear-gradient(135deg, #222222 0%, #1C1C1C 100%);
  border-color: rgba(51,221,120,0.40);
  box-shadow: 0 0 20px rgba(51,221,120,0.06);
}
.benefit-card--lg { padding: 40px; min-height: 240px; }
.benefit-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(51,221,120,0.10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.benefit-card h3 {
  color: var(--td-white);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.benefit-card p {
  color: var(--td-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
}

/* ---------- Portfolio preview 2x2 ---------- */
.portfolio-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.portfolio-card {
  background: linear-gradient(135deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card-lg);
  overflow: hidden;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.portfolio-card:hover {
  border-color: rgba(51,221,120,0.40);
  transform: scale(1.01);
}
.portfolio-card .video-thumb { height: 240px; }
.portfolio-card__body { padding: 24px 28px 28px; }
.portfolio-card__title {
  color: var(--td-white);
  font-weight: 700;
  font-size: 18px;
  margin-top: 12px;
}
.portfolio-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--td-green);
  font-weight: 600;
  font-size: 14px;
  margin-top: 14px;
}

/* ---------- Contact form card (pricing-page CTA block) ---------- */
.contact-card {
  margin-top: 48px;
  background: linear-gradient(135deg, #1A1A1A 0%, #141414 100%);
  border: 1px solid var(--td-border);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}
.contact-card__intro h2 {
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--td-white);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-top: 18px;
}
.contact-card__points {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.contact-card__point {
  display: flex; align-items: center; gap: 10px;
  color: var(--td-text);
  font-size: 14px;
}
.contact-card__editor {
  margin-top: 32px;
  display: flex; align-items: center; gap: 14px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--td-border);
  border-radius: var(--r-card);
}
.contact-card__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1F1F1F, #0D0D0D);
  border: 1px solid var(--td-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--td-green);
  font-weight: 900;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-card__editor-name { color: var(--td-white); font-weight: 600; font-size: 14px; }
.contact-card__editor-role { color: var(--td-muted); font-size: 13px; }
.contact-card__editor-link { color: var(--td-green); font-size: 13px; font-weight: 600; margin-top: 4px; display: inline-block; }

/* Form inside contact card */
.contact-card__form .field { margin-bottom: 14px; }
.contact-card__form .field__input,
.contact-card__form .field__textarea {
  background: rgba(255,255,255,0.02);
  transition: border-color var(--dur-fast),
              box-shadow var(--dur-fast),
              background var(--dur-fast);
}
.contact-card__form .field__input:focus,
.contact-card__form .field__textarea:focus {
  border-color: var(--td-green);
  box-shadow: 0 0 0 3px rgba(51,221,120,0.10);
}

/* Budget pills */
.budget-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.budget-pill {
  padding: 10px 16px;
  background: var(--td-card);
  border: 1px solid var(--td-border);
  border-radius: var(--r-pill);
  color: var(--td-muted);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.budget-pill:hover { border-color: var(--td-green); color: var(--td-white); }
.budget-pill.is-active {
  background: var(--td-green);
  color: var(--td-black);
  border-color: var(--td-green);
  font-weight: 600;
}

/* Green scrolling banner */
.green-marquee {
  margin-top: 32px;
  background: var(--td-green);
  color: var(--td-black);
  padding: 18px 0;
  overflow: hidden;
  border-radius: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}
.green-marquee__track {
  display: flex; gap: 36px;
  width: max-content;
  white-space: nowrap;
  animation: gm-scroll 30s linear infinite;
  font-weight: 600;
  font-size: 14px;
  align-items: center;
}
.green-marquee__sep {
  color: rgba(13,13,13,0.5);
  font-size: 16px;
}
@keyframes gm-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 1024px) {
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-list { grid-template-columns: repeat(2, 1fr); }
  .benefits-row-1, .benefits-row-2 { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .video-card { flex-basis: 220px; height: 300px; }
  .cmp2__head, .cmp2__row { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .bonus-grid { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .svc-list-card { padding: 28px; }
  .video-card { flex-basis: 220px; }
  .contact-card { padding: 24px; }
  .cmp2__head > div, .cmp2__row > div { padding: 14px 12px; font-size: 13px; }
}

/* =========================================================
   SECTION BACKGROUND TYPES — 4-type variety system
   These classes are placed AFTER all .section--xxx variant
   definitions so the cascade naturally lets bg-* win.
   ========================================================= */

/* TYPE 1 — DARK with green glow */
.bg-dark {
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(51,221,120,0.10) 0%, transparent 70%),
    #0D0D0D;
}

/* TYPE 2 — PURE WHITE with subtle green wash */
.bg-white {
  background:
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(51,221,120,0.05) 0%, transparent 60%),
    #FFFFFF;
}

/* TYPE 3 — FULL GREEN brand moment */
.bg-green {
  background: linear-gradient(135deg, #33DD78 0%, #28C468 100%);
}

/* TYPE 4 — GRADIENT MIX (dark + green left + charcoal right) */
.bg-mix {
  background:
    radial-gradient(ellipse 70% 60% at 0% 50%, rgba(51,221,120,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(59,59,60,0.30) 0%, transparent 60%),
    linear-gradient(135deg, #0F0F0F 0%, #141414 50%, #0D0D0D 100%);
}

/* Hide the green section divider on white & green sections (would clash) */
.bg-white::before,
.bg-green::before { display: none !important; }

/* =========================================================
   .bg-white — full inversion: dark text, white cards w/ shadow
   ========================================================= */

/* Typography */
.bg-white :is(h1, h2, h3, h4),
.bg-white .section-title { color: #0D0D0D; }
.bg-white p,
.bg-white .section-sub { color: #3B3B3C; }

/* Eyebrow pill */
.bg-white .eyebrow {
  background: rgba(51,221,120,0.08);
  border-color: rgba(51,221,120,0.20);
  color: #33DD78;
}

/* Badges keep green */
.bg-white .badge {
  background: rgba(51,221,120,0.10);
  color: #33DD78;
}

/* Stars & stat numerals stay green */
.bg-white .stars,
.bg-white .stat__n,
.bg-white .stat-strip__n,
.bg-white .pcard__pkg,
.bg-white .team-card__role,
.bg-white .project__link,
.bg-white .featured__link,
.bg-white .portfolio-card__link,
.bg-white .service__more,
.bg-white .price__custom a { color: #33DD78; }

/* Stat / muted labels */
.bg-white .stat__l,
.bg-white .stat-strip__l,
.bg-white .pcard__per,
.bg-white .pcard__sub,
.bg-white .pcard__tier,
.bg-white .pcard__call,
.bg-white .price__tier,
.bg-white .price__per,
.bg-white .tcard__role,
.bg-white .video-card__role,
.bg-white .step p,
.bg-white .featured__body p,
.bg-white .project__desc,
.bg-white .service p,
.bg-white .feature__d,
.bg-white .team-card__bio,
.bg-white .value-card p,
.bg-white .addon__d,
.bg-white .service-detail__sub,
.bg-white .bonus-card__d,
.bg-white .benefit-card p,
.bg-white .why-callout__p,
.bg-white .svc-list__item,
.bg-white .tcard__quote,
.bg-white .cmp__desc,
.bg-white .cmp2__row > div:first-child,
.bg-white .faq__a-inner { color: #3B3B3C; }
.bg-white .pcard__per,
.bg-white .pcard__sub,
.bg-white .pcard__tier,
.bg-white .pcard__call,
.bg-white .price__tier,
.bg-white .price__per,
.bg-white .tcard__role,
.bg-white .stat__l,
.bg-white .stat-strip__l { color: #888888; }

/* Featured-card tier color (green) */
.bg-white .pcard--featured .pcard__tier,
.bg-white .price--featured .price__tier { color: #33DD78; }

/* Card surfaces — white with soft shadow */
.bg-white :is(
  .pcard, .project, .service, .feature, .tcard, .featured,
  .team-card, .value-card, .addon, .service-detail,
  .stat-strip__item, .quote-banner, .bonus-card,
  .benefit-card, .portfolio-card, .svc-list-card,
  .form, .contact-info, .cmp, .cmp2
) {
  background: #FFFFFF;
  border: none;
  box-shadow:
    0 2px 24px rgba(0,0,0,0.07),
    0 1px 4px rgba(0,0,0,0.04);
}

/* Card hover — lift 3px, deeper shadow */
.bg-white :is(
  .pcard, .project, .service, .feature, .tcard,
  .team-card, .value-card, .addon, .service-detail,
  .stat-strip__item, .quote-banner, .bonus-card,
  .benefit-card, .portfolio-card
):hover {
  background: #FFFFFF;
  border: none;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

/* Featured / popular card on white — green-tinted */
.bg-white .pcard--featured,
.bg-white .pcard--featured:hover,
.bg-white .price--featured,
.bg-white .price--featured:hover {
  background: linear-gradient(135deg, #F2FBF6 0%, #ECF7EF 100%);
  border: 2px solid #33DD78;
  box-shadow:
    0 0 50px rgba(51,221,120,0.15),
    0 8px 40px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

/* Card titles & headings inside cards */
.bg-white :is(
  .project__title, .service h3, .featured__body h3, .feature__t,
  .team-card__name, .value-card h3, .addon__t, .service-detail__title,
  .bonus-card__t, .benefit-card h3, .portfolio-card__title,
  .step h3, .why-callout__h, .tcard__name, .video-card__name,
  .cmp__name, .pcard__num, .price__num, .quote-banner__t
) { color: #0D0D0D; }

/* Pcard delivery badge */
.bg-white .pcard__delivery {
  background: #F5F5F5;
  border-color: #E5E5E5;
  color: #888888;
}
.bg-white .pcard--featured .pcard__delivery {
  background: rgba(51,221,120,0.08);
  border-color: rgba(51,221,120,0.20);
  color: #33DD78;
}

/* Pcard / price divider */
.bg-white .pcard__div,
.bg-white .price__div { background: #E5E5E5; }
.bg-white .pcard--featured .pcard__div,
.bg-white .price--featured .price__div { background: rgba(51,221,120,0.20); }

/* Feature ticks inside pricing cards */
.bg-white .pcard__feat,
.bg-white .price__feat { color: #3B3B3C; }
.bg-white .pcard__feat--no,
.bg-white .price__feat--no { color: #999999; }

/* Buttons on white */
.bg-white .btn--ghost {
  background: transparent;
  color: #0D0D0D;
  border-color: #0D0D0D;
}
.bg-white .btn--ghost:hover {
  background: rgba(51,221,120,0.06);
  color: #33DD78;
  border-color: #33DD78;
}

/* Tab pill on white */
.bg-white .tabs-pill {
  background: #F5F5F5;
  border-color: #E5E5E5;
}
.bg-white .tab-pill { color: #888888; }
.bg-white .tab-pill:hover { color: #0D0D0D; }
.bg-white .tab-pill.is-active {
  background: #33DD78;
  color: #0D0D0D;
}

/* Sub-filter pills on white */
.bg-white .sub-pill {
  background: #FFFFFF;
  border-color: #E5E5E5;
  color: #888888;
}
.bg-white .sub-pill:hover { border-color: #33DD78; color: #0D0D0D; }
.bg-white .sub-pill.is-active {
  background: #33DD78;
  color: #0D0D0D;
  border-color: #33DD78;
}

/* Comparison tables on white */
.bg-white .cmp__head,
.bg-white .cmp2__head {
  background: #F5F5F5;
  color: #888888;
}
.bg-white .cmp__row,
.bg-white .cmp2__row { border-top-color: #E5E5E5; }
.bg-white .cmp__row--alt { background: #FAFAFA; }
.bg-white .cmp__row--hl {
  background: rgba(51,221,120,0.08);
  border: 1px solid #33DD78;
  box-shadow: inset 0 0 40px rgba(51,221,120,0.06);
}
.bg-white .cmp__row--hl .cmp__name { color: #33DD78; }
.bg-white .cmp__name { color: #0D0D0D; }
.bg-white .cmp2__td,
.bg-white .cmp2__head .cmp2__td { background: rgba(51,221,120,0.08); }

/* Process step number stays soft green */
.bg-white .step__num { color: rgba(51,221,120,0.20); }
.bg-white .step__connector { border-top-color: #E5E5E5; }

/* Why-callout on white */
.bg-white .why-callout {
  background: linear-gradient(135deg, #F2FBF6 0%, #ECF7EF 100%);
  border-left: 4px solid #33DD78;
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

/* Marquee tcard internals */
.bg-white .tcard__by { border-top-color: #E5E5E5; }
.bg-white .tcard__avatar {
  background: linear-gradient(135deg, #E5E5E5 0%, #D4D4D4 100%);
}

/* FAQ on white */
.bg-white .faq__item { border-bottom-color: #E5E5E5; }
.bg-white .faq__q { color: #0D0D0D; }
.bg-white .faq__item.is-open .faq__q { color: #33DD78; }
.bg-white .faq__chev { color: #33DD78; }

/* Form fields on white */
.bg-white .field__label { color: #3B3B3C; }
.bg-white :is(.field__input, .field__select, .field__textarea) {
  background: #FFFFFF;
  border-color: #E5E5E5;
  color: #0D0D0D;
}
.bg-white :is(.field__input, .field__select, .field__textarea):focus {
  border-color: #33DD78;
  box-shadow: 0 0 0 3px rgba(51,221,120,0.10);
}
.bg-white .field__input::placeholder,
.bg-white .field__textarea::placeholder { color: #AAAAAA; }
.bg-white .field__select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2333DD78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}

/* Video card stays dark interior, but card-level shadow lighter */
.bg-white .video-card {
  border: none;
  box-shadow: 0 2px 24px rgba(0,0,0,0.10);
}
.bg-white .video-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  transform: translateY(-3px);
}

/* Quote banner description */
.bg-white .quote-banner__d { color: #888888; }
.bg-white .quote-banner__t { color: #0D0D0D; }

/* =========================================================
   .bg-green — full TYPE 3 inversion: dark text, dark CTAs
   ========================================================= */
.bg-green :is(h1, h2, h3, h4),
.bg-green .section-title { color: #0D0D0D; }
.bg-green p,
.bg-green .section-sub,
.bg-green .cta__sub { color: rgba(0,0,0,0.70); }
.bg-green .cta__note { color: rgba(0,0,0,0.55); }

/* Eyebrow on green: dark */
.bg-green .eyebrow {
  background: rgba(0,0,0,0.10);
  border-color: rgba(0,0,0,0.20);
  color: #0D0D0D;
}

/* Cards on green */
.bg-green :is(.pcard, .feature, .bonus-card, .benefit-card, .quote-banner) {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #0D0D0D;
}

/* Buttons on green */
.bg-green .btn--primary {
  background: linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 100%);
  color: #33DD78;
  border-color: rgba(0,0,0,0.20);
}
.bg-green .btn--primary:hover {
  background: linear-gradient(135deg, #222222 0%, #141414 100%);
  color: #33DD78;
  box-shadow: 0 4px 20px rgba(0,0,0,0.30);
  transform: scale(1.02);
}
.bg-green .btn--dark {
  background: linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 100%);
  color: #33DD78;
}

/* =========================================================
   Pricing contact-card — split green-left / dark-right
   ========================================================= */
.contact-card {
  background: transparent;
  border: 1px solid var(--td-border);
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.contact-card__intro {
  background: linear-gradient(135deg, #33DD78 0%, #28C468 100%);
  padding: 48px;
}
.contact-card__form {
  background: linear-gradient(135deg, #1A1A1A 0%, #141414 100%);
  padding: 48px;
}
/* Green-side text overrides */
.contact-card__intro h2,
.contact-card__intro .accent { color: #0D0D0D !important; }
.contact-card__intro .accent {
  /* keep Playfair italic, but in dark on green */
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}
.contact-card__intro .badge {
  background: rgba(0,0,0,0.12) !important;
  border-color: rgba(0,0,0,0.18) !important;
  color: #0D0D0D !important;
}
.contact-card__intro .contact-card__point { color: rgba(0,0,0,0.78); }
.contact-card__intro .contact-card__point svg { color: #0D0D0D !important; }
.contact-card__intro .contact-card__editor {
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.18);
}
.contact-card__intro .contact-card__avatar {
  background: rgba(0,0,0,0.20);
  border-color: rgba(0,0,0,0.20);
  color: #33DD78;
}
.contact-card__intro .contact-card__editor-name { color: #0D0D0D; }
.contact-card__intro .contact-card__editor-role { color: rgba(0,0,0,0.65); }
.contact-card__intro .contact-card__editor-link { color: #0D0D0D; }
.contact-card__intro .contact-card__editor-link:hover { color: rgba(0,0,0,0.65); }

@media (max-width: 1024px) {
  .contact-card { border-radius: 20px; }
}

/* Mobile responsive for new types */
@media (max-width: 768px) {
  .contact-card__intro,
  .contact-card__form { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
