:root {
  --bg-page: #f8fafd;
  --bg-surface: #ffffff;
  --bg-subtle: #eef3fa;
  --bg-accent-soft: #e8f0fc;
  --bg-mint-soft: #e6f9f4;
  --bg-wa-user: #dff7f0;

  --ink-primary: #0a1931;
  --ink-secondary: #334155;
  --ink-muted: #64748b;

  --border-light: #dce5f2;
  --border-strong: #c2d0e6;

  --accent: #09459e;
  --accent-hover: #07357a;
  --accent-ink: #ffffff;
  --teal: #00b894;
  --emerald: #009e7f;
  --whatsapp: #009e7f;

  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 25, 49, 0.05);
  --shadow-md: 0 14px 34px -14px rgba(10, 25, 49, 0.1), 0 2px 6px -1px rgba(10, 25, 49, 0.04);
  --shadow-lg: 0 28px 60px -20px rgba(9, 69, 158, 0.18), 0 8px 20px -6px rgba(10, 25, 49, 0.06);

  --chat--color-primary: #09459e;
  --chat--color-primary-shade-50: #07357a;
  --chat--color-primary-shade-100: #062b63;
  --chat--color-secondary: #009e7f;
  --chat--color-secondary-shade-50: #008268;
  --chat--color-white: #ffffff;
  --chat--color-light: #f8fafd;
  --chat--color-dark: #0a1931;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-secondary);
  background: var(--bg-page);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-primary);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── Keyframe & Scroll Animations ─────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent) 0%, var(--teal) 100%);
  z-index: 200;
  pointer-events: none;
}

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

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulseRing {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 158, 127, 0.35);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(0, 158, 127, 0);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

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

.anim-hero {
  animation: heroRise 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anim-hero--delay {
  animation-delay: 0.14s;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal.is-visible .step-card,
.reveal.is-visible .service-card {
  animation: heroRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal.is-visible .step-card:nth-child(2),
.reveal.is-visible .service-card:nth-child(2) { animation-delay: 0.08s; }
.reveal.is-visible .step-card:nth-child(3),
.reveal.is-visible .service-card:nth-child(3) { animation-delay: 0.16s; }
.reveal.is-visible .step-card:nth-child(4),
.reveal.is-visible .service-card:nth-child(4) { animation-delay: 0.24s; }

.explorer-stage.is-switching {
  animation: stageSwap 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Header & Nav ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ink-primary);
  text-decoration: none;
  white-space: nowrap;
}

@keyframes logoEnter {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
  transform-origin: center center;
  animation: logoEnter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease;
  filter: drop-shadow(0 2px 6px rgba(9, 69, 158, 0.12));
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: scale(1.24) translateY(-2px);
  filter: drop-shadow(0 14px 24px rgba(9, 69, 158, 0.32));
}

.footer-col .brand-logo {
  height: 48px;
  margin-bottom: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-secondary);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.btn-nav-cta {
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink-primary);
  cursor: pointer;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.16s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -8px rgba(9, 69, 158, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--ink-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--bg-subtle);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(55% 55% at 88% 18%, rgba(9, 69, 158, 0.09), transparent 70%),
    radial-gradient(45% 45% at 10% 85%, rgba(0, 184, 148, 0.08), transparent 70%),
    radial-gradient(circle, rgba(9, 69, 158, 0.08) 1px, transparent 1px),
    var(--bg-page);
  background-size: auto, auto, 24px 24px, auto;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 56px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulseRing 2.4s infinite;
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.65rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-title span {
  background: linear-gradient(120deg, var(--accent) 0%, var(--teal) 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: var(--ink-secondary);
  max-width: 50ch;
  margin: 0 0 24px;
}

.hero-url-bar {
  display: flex;
  gap: 10px;
  padding: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  max-width: 520px;
  margin-bottom: 22px;
}

.hero-url-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-primary);
}

.hero-url-bar input:focus {
  outline: none;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.hero-trust strong {
  color: var(--ink-primary);
  font-weight: 700;
}

/* ── Interactive WhatsApp AI Chat Simulator ───────────────────────────────── */
.wa-sim {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: floatSlow 6s ease-in-out infinite;
}

.wa-sim__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.wa-sim__agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-sim__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--emerald));
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  display: grid;
  place-items: center;
}

.wa-sim__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink-primary);
}

.wa-sim__status {
  font-size: 0.78rem;
  color: var(--emerald);
  font-weight: 600;
}

.wa-sim__tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--ink-secondary);
}

.wa-sim__messages {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  max-height: 260px;
  overflow-y: auto;
  background: #f5faf8;
}

.wa-msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: var(--shadow-sm);
  animation: heroRise 0.25s ease both;
}

.wa-msg--bot {
  align-self: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--ink-primary);
  border-bottom-left-radius: 4px;
}

.wa-msg--user {
  align-self: flex-end;
  background: var(--bg-wa-user);
  color: var(--ink-primary);
  border-bottom-right-radius: 4px;
}

.wa-sim__prompts {
  padding: 14px 18px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.wa-sim__hint {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0 0 8px;
}

.wa-prompt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wa-prompt-btn {
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--ink-primary);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
}

.wa-prompt-btn:hover {
  border-color: var(--accent);
  background: var(--bg-accent-soft);
  color: var(--accent);
}

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section {
  padding: clamp(56px, 7vw, 92px) 0;
}

.section--white {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-head {
  max-width: 64ch;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head p {
  font-size: 1.02rem;
  color: var(--ink-secondary);
  margin: 0;
}

/* ── Studio Visual Showcase ───────────────────────────────────────────────── */
.studio-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: center;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  background: var(--bg-subtle);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-frame:hover img {
  transform: scale(1.03);
}

/* ── Interactive ROI & Lead-Leak Calculator ───────────────────────────────── */
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.calc-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-md);
}

.slider-group {
  margin-bottom: 22px;
}

.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.slider-head label {
  font-weight: 600;
  color: var(--ink-primary);
  font-size: 0.95rem;
}

.slider-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.98rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-accent-soft);
  border: 1px solid rgba(9, 69, 158, 0.2);
}

.toggle-row label {
  font-weight: 600;
  color: var(--ink-primary);
  font-size: 0.94rem;
  cursor: pointer;
}

.toggle-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
}

.calc-output {
  background: linear-gradient(160deg, var(--bg-accent-soft) 0%, var(--bg-surface) 58%);
  border: 1px solid rgba(9, 69, 158, 0.24);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.calc-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calc-metric {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.calc-metric__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink-primary);
  line-height: 1.1;
}

.calc-metric__num--accent {
  color: var(--accent);
}

.calc-metric__label {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.calc-note {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ── Split Service Explorer (10 Services) ─────────────────────────────────── */
.explorer {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.explorer-list {
  display: grid;
  gap: 8px;
}

.explorer-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
  transition: all 0.16s ease;
}

.explorer-btn:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
  transform: translateX(3px);
}

.explorer-btn[aria-selected="true"] {
  background: var(--ink-primary);
  color: #ffffff;
  border-color: var(--ink-primary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.explorer-btn__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  opacity: 0.7;
}

.explorer-stage {
  position: sticky;
  top: 96px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-md);
}

.explorer-stage__tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.explorer-stage h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.explorer-stage__desc {
  font-size: 1.02rem;
  margin: 0 0 22px;
}

.deliverables {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.deliverables li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-primary);
}

.deliverables li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 800;
}

/* ── Case Study & Audit Box ───────────────────────────────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.compare-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.compare-card--highlight {
  border-color: rgba(9, 69, 158, 0.28);
  background: linear-gradient(180deg, var(--bg-accent-soft) 0%, var(--bg-surface) 38%);
}

.compare-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.compare-card p {
  margin: 0 0 12px;
  font-size: 0.96rem;
}

.case-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.case-stat {
  background: var(--bg-subtle);
  padding: 18px;
  border-radius: var(--radius-md);
}

.case-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.05;
}

.audit-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  color: var(--ink-primary);
  font-family: var(--font-body);
  font-size: 0.96rem;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  font-size: 0.92rem;
  color: var(--emerald);
  font-weight: 500;
  margin: 0;
}

.form-status.is-error {
  color: #dc2626;
}

/* ── Secondary pages shared grids ─────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card,
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.step-card:hover,
.service-card:hover,
.calc-metric:hover,
.case-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.calc-metric,
.case-stat {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-num,
.service-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.service-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 78ch;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-primary);
  cursor: pointer;
}

.faq-item p {
  margin: 12px 0 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

/* ── Floating WhatsApp Quick Pill ─────────────────────────────────────────── */
.wa-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--whatsapp);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 28px -8px rgba(13, 122, 95, 0.45);
  transition: transform 0.16s ease;
}

.wa-float:hover {
  transform: translateY(-2px);
}

/* ── Custom Branded n8n Chatbot Launcher ──────────────────────────────────── */
.n8n-chat .chat-window-toggle,
#n8n-chat .chat-window-toggle {
  width: auto;
  min-width: 60px;
  height: 54px;
  padding: 0 18px;
  gap: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #09459e 0%, #009e7f 100%) !important;
  box-shadow: 0 16px 36px -10px rgba(9, 69, 158, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border: 2px solid #ffffff;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.n8n-chat .chat-window-toggle:hover,
#n8n-chat .chat-window-toggle:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 42px -10px rgba(9, 69, 158, 0.65);
}

.n8n-chat .chat-window-toggle svg,
#n8n-chat .chat-window-toggle svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 52px 0 84px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--ink-secondary);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* ── Annual SEO + GEO + AEO Plans & Cross-Link ───────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(9, 69, 158, 0.25);
}

.plan-card--popular {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: var(--shadow-md);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-accent-soft);
  color: var(--accent);
  width: fit-content;
  margin-bottom: 10px;
}

.plan-card--popular .plan-badge {
  background: var(--accent);
  color: #ffffff;
}

.plan-card h3 {
  font-size: 1.24rem;
  margin-bottom: 8px;
}

.plan-fit {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.plan-card .check-list {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.plan-card .check-list li {
  font-size: 0.92rem;
  line-height: 1.5;
}

.plan-cta {
  width: 100%;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
  padding: 13px 16px;
}

.crosslink-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, #09459e 0%, #007a66 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 34px;
  box-shadow: var(--shadow-lg);
}

.crosslink-banner h2 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.crosslink-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 60ch;
}

.crosslink-banner .btn {
  background: #ffffff;
  color: var(--accent);
  border-color: #ffffff;
  font-weight: 700;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  line-height: 1.35;
}

.crosslink-banner .btn:hover {
  background: #f0f6ff;
  transform: translateY(-1px);
}

.geo-summary-box {
  background: var(--bg-subtle);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.geo-summary-box__label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 6px;
}

.geo-summary-box p {
  color: var(--ink-primary);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 78ch;
}

.compare-table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--bg-subtle);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-primary);
  font-size: 0.94rem;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--ink-primary);
}

.article-meta {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.article-prose {
  max-width: 860px;
}

.article-prose h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  line-height: 1.28;
}

.article-prose h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  line-height: 1.32;
}

.article-prose p {
  margin-bottom: 16px;
  line-height: 1.74;
}

.article-prose .check-list {
  margin: 16px 0 22px;
}

.article-prose .geo-summary-box p {
  margin-bottom: 0;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 20px var(--gutter);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .hero-grid,
  .studio-showcase,
  .calc-grid,
  .explorer,
  .compare-grid,
  .case-banner,
  .audit-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .explorer-stage {
    position: static;
  }

  .steps-grid,
  .services-grid,
  .plans-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-url-bar {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 10px;
  }

  .steps-grid,
  .services-grid,
  .plans-grid,
  .footer-grid,
  .calc-metrics,
  .case-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scroll-progress {
    display: none;
  }
  .hero-title span,
  .brand-logo,
  .anim-hero,
  .anim-hero--delay,
  .wa-sim,
  .badge-dot,
  .explorer-stage.is-switching,
  .reveal.is-visible .step-card,
  .reveal.is-visible .service-card {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .wa-float,
  .explorer-btn,
  .step-card,
  .service-card,
  .calc-metric,
  .case-stat,
  .media-frame img {
    transition: none;
  }
}
