/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --ink:        #101A14;
  --ink-2:      #364840;
  --ink-3:      #6E8278;
  --teal:       #0A6E5A;
  --teal-light: #E0F0EC;
  --teal-dark:  #064D3E;
  --gold:       #C98B1A;
  --gold-light: #FBF3E0;
  --amber:      #D4601A;
  --paper:      #F4F1EA;
  --paper-2:    #EAE6DC;
  --white:      #FDFCF8;
  --line:       #D8D4CA;
  --line-dark:  rgba(244,241,234,0.12);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', 'Courier New', Courier, monospace;

  --gutter:    clamp(1.25rem, 3vw, 2rem);
  --container: min(1200px, 100% - 2 * var(--gutter));
  --nav-h:     96px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --map-grid:
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 80px);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  text-wrap: balance;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 500;
}
em { font-style: italic; color: var(--teal); }
::selection { background: var(--teal); color: var(--paper); }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--paper); color: var(--ink);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow {
  font-family: var(--mono);
  font-size: clamp(0.6rem, 1.1vw, 0.68rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.eyebrow-light { color: rgba(244,241,234,0.45); }
.tag-dot { color: var(--teal); }

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.7em 1.5em;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s, color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); box-shadow: 0 8px 24px rgba(10,110,90,.35); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a8711a; box-shadow: 0 8px 28px rgba(201,139,26,.5); }

/* CTA pulse — solo en el botón de conversión principal */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,139,26,.55), 0 8px 24px rgba(201,139,26,.3); }
  60%       { box-shadow: 0 0 0 10px rgba(201,139,26,0), 0 8px 32px rgba(201,139,26,.45); }
}
.btn-gold--cta {
  padding: 1.05em 2.4em;
  font-size: 1.05rem;
  width: 100%;
  justify-content: center;
  letter-spacing: 0.02em;
  animation: ctaPulse 2.4s ease-in-out infinite;
}
.btn-gold--cta:hover {
  animation: none;
  background: #a8711a;
  box-shadow: 0 12px 36px rgba(201,139,26,.55);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--paper); }

.btn-outline-light {
  background: transparent; color: var(--paper);
  box-shadow: inset 0 0 0 1.5px rgba(244,241,234,.4);
}
.btn-outline-light:hover { background: rgba(244,241,234,.08); }

.btn-sm { padding: 0.55em 1.2em; font-size: 0.8rem; }
.btn-lg { padding: 0.9em 2em; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.25em 0.6em;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag-teal  { background: var(--teal-light); color: var(--teal); }
.tag-gold  { background: var(--gold-light); color: var(--gold); }
.tag-neutral { background: var(--paper-2); color: var(--ink-2); }
.tag-amber { background: #FDF0E8; color: var(--amber); }
.tag-xs    { font-size: 0.55rem; padding: 0.2em 0.5em; }

/* Logo images */
.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-logo-img {
  height: 80px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }

.footer-logo-link { display: inline-flex; margin-bottom: 1rem; }
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

/* Top accent bar */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10001;
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 60%, transparent 100%);
  pointer-events: none;
}

/* Section headers */
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 44rem; }
.section-header .eyebrow { margin-bottom: 0.75rem; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ink);
}
.servicios .section-title,
.pricing .section-title { color: var(--paper); }
.servicios .section-title em,
.pricing .section-title em { color: rgba(201,139,26,.88); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }

/* =============================================================
   6. Sections
   ============================================================= */

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  animation: splashSafety .01s 1.8s forwards;
  pointer-events: all;
}
@keyframes splashSafety { to { opacity: 0; pointer-events: none; } }
.splash.is-out {
  opacity: 0; pointer-events: none;
  transition: opacity 0.55s var(--ease-in);
}
.splash-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  animation: splashIn 0.9s var(--ease-out) 0.2s both;
}
.splash-logo-img {
  height: clamp(80px, 16vw, 130px);
  width: auto;
  max-width: 70vw;
}
.splash-line {
  width: clamp(40px, 10vw, 60px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: splashLineIn 0.6s var(--ease-out) 0.7s both;
}
@keyframes splashIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes splashLineIn {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: none; }
}

/* Cursor */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform;
}
.cursor-dot {
  width: 5px; height: 5px; margin: -2.5px;
  background: var(--paper); border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 30px; height: 30px; margin: -15px;
  border: 1px solid rgba(244,241,234,.5); border-radius: 50%;
  mix-blend-mode: difference;
  transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out);
}
.cursor.is-interactive .cursor-ring { width: 48px; height: 48px; margin: -24px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(16,26,20,0.94);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav-inner {
  height: 100%; display: flex; align-items: center; gap: 2rem;
}
.nav .logo-atlas { color: var(--paper); }
.nav-links {
  display: none; gap: 1.75rem; margin-inline-start: auto;
  align-items: center;
  font-family: var(--sans); font-weight: 500; font-size: 0.875rem;
}
.nav-links a { color: rgba(244,241,234,.65); transition: color 0.2s; }
.nav-links a:hover { color: var(--paper); }
.nav-cta { margin-inline-start: auto; }
.nav-hamburger {
  display: flex; flex-direction: column; gap: 5px;
  margin-inline-start: auto; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--paper);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-hamburger.is-open span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: var(--ink); z-index: 999;
  display: flex; flex-direction: column;
  padding: 1.5rem var(--gutter);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.nav-mobile.is-open { transform: none; }
.nav-mobile a {
  font-family: var(--sans); font-size: 1.25rem; font-weight: 500;
  color: var(--paper); padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.nav-mobile .btn { margin-top: 1.5rem; align-self: flex-start; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--ink); overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.1; filter: saturate(0.15) contrast(1.2);
}
.hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16,26,20,.72) 0%, rgba(16,26,20,.25) 50%, rgba(16,26,20,.88) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background: var(--map-grid); pointer-events: none;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(circle 700px at var(--mx, 50%) var(--my, 50%), rgba(10,110,90,.18) 0%, transparent 60%),
    radial-gradient(circle 500px at calc(var(--mx, 50%) + 15%) calc(var(--my, 50%) - 10%), rgba(201,139,26,.10) 0%, transparent 55%);
  filter: blur(20px);
}
.hero-content {
  position: relative; z-index: 4;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.hero-content .eyebrow { margin-bottom: 1.5rem; }
.hero-split {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 300; line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--paper); text-wrap: balance;
  margin-bottom: 1.5rem;
}
.hero-title em { color: var(--teal); }
.hero-sub {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.8vw, 1.05rem);
  color: rgba(244,241,234,.62);
  max-width: 46ch; line-height: 1.7; margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ── Hero Score Card ── */
.hero-score {
  width: 100%;
  background: #0C1410;
  border: 1px solid rgba(10,110,90,.22);
  border-radius: 16px;
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(10,110,90,.07);
}
.sc-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.sc-label {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(244,241,234,.3);
}
.sc-tag {
  font-family: var(--mono); font-size: 0.6rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber);
  background: rgba(212,96,26,.12);
  border: 1px solid rgba(212,96,26,.22);
  padding: 0.25em 0.7em; border-radius: 4px;
  opacity: 0; transition: opacity 0.4s ease;
}
.sc-tag.is-visible { opacity: 1; }
.sc-number-row {
  display: flex; align-items: baseline; gap: 0.35rem;
  margin-bottom: 1.25rem;
}
.sc-num {
  font-family: var(--mono);
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 500; line-height: 1;
  color: var(--amber);
  letter-spacing: -0.04em;
}
.sc-denom {
  font-family: var(--mono); font-size: 1.1rem;
  color: rgba(244,241,234,.25); font-weight: 400;
}
.sc-bar-wrap {
  height: 5px; background: rgba(255,255,255,.07);
  border-radius: 3px; overflow: hidden; margin-bottom: 1.75rem;
}
.sc-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--amber), #e87a2a);
  border-radius: 3px;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sc-dims {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.sc-dims li { display: flex; align-items: center; gap: 0.75rem; }
.scd-label {
  font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(244,241,234,.3); min-width: 110px;
}
.scd-bar-wrap {
  flex: 1; height: 3px;
  background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden;
}
.scd-bar {
  height: 100%; width: 0%;
  background: rgba(10,110,90,.55); border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.sc-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.06);
  opacity: 0; transition: opacity 0.4s ease;
}
.sc-footer.is-visible { opacity: 1; }
.sc-note {
  font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(244,241,234,.25);
}
.sc-cta {
  font-family: var(--mono); font-size: 0.65rem;
  font-weight: 500; color: var(--gold);
  letter-spacing: 0.05em; transition: color 0.2s;
}
.sc-cta:hover { color: var(--teal); }
.badge {
  display: inline-flex; align-items: center; gap: 0.35em;
  padding: 0.3em 0.75em; border-radius: 999px;
  background: rgba(244,241,234,.05);
  border: 1px solid rgba(244,241,234,.1);
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.05em; color: rgba(244,241,234,.5);
}
.badge .badge-dot { color: var(--teal); font-size: 0.45rem; }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; justify-content: center;
}
.scroll-line {
  display: block; width: 1px; height: 3rem;
  background: linear-gradient(to bottom, transparent, rgba(244,241,234,.4));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(1); }
  50% { opacity: 0.7; transform: scaleY(1.12); }
}

/* Manifesto */
.manifesto { padding-block: clamp(4rem, 8vw, 8rem); background: var(--paper); }
.manifesto-grid {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.manifesto-number {
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.1em; color: var(--ink-3);
  padding-top: 0.25rem;
}
.manifesto-body .eyebrow { margin-bottom: 1rem; }
.manifesto-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 300; line-height: 1.1;
  color: var(--ink); margin-bottom: 1.75rem;
}
.manifesto-title em { color: var(--teal); }
.manifesto-text {
  font-family: var(--sans);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.8; color: var(--ink-2);
  max-width: 62ch; margin-bottom: 1rem;
}
.manifesto-text:last-child { margin-bottom: 0; }

/* Stats */
.stats {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; text-align: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.stat-number {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700; color: var(--teal); line-height: 1;
}
.stat-label {
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); max-width: 16ch; text-align: center;
}

/* Services */
.servicios {
  position: relative;
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--ink); overflow: hidden;
}
.servicios-grid-bg {
  position: absolute; inset: 0;
  background: var(--map-grid); pointer-events: none;
}
.servicios .container { position: relative; z-index: 1; }
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.service-card {
  background: rgba(244,241,234,.04);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
@media (hover: hover) {
  .service-card:hover {
    border-color: rgba(10,110,90,.4);
    background: rgba(10,110,90,.06);
    transform: translateY(-4px);
  }
}
.card-number {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.12em; color: var(--teal);
  margin-bottom: 1rem;
}
.card-title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 500; color: var(--paper);
  margin-bottom: 0.75rem; line-height: 1.2;
}
.card-text {
  font-family: var(--sans); font-size: 0.9375rem;
  line-height: 1.7; color: rgba(244,241,234,.58);
  margin-bottom: 1.25rem;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.card-time {
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(244,241,234,.3);
  display: flex; align-items: center; gap: 0.4em;
  margin-top: 0.75rem;
}
.card-time .tag-dot { color: var(--gold); }

/* Process */
.proceso {
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--white);
}
.proceso-steps { display: flex; flex-direction: column; }
.proceso-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem; padding-bottom: 3rem;
}
.proceso-step:last-child { padding-bottom: 0; }
.step-meta {
  display: flex; flex-direction: column;
  align-items: center;
}
.step-num {
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.08em; color: var(--teal);
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--teal); border-radius: 50%;
  flex-shrink: 0;
}
.step-line {
  display: block; width: 1px; flex: 1; min-height: 1.5rem;
  background: var(--line); margin-top: 0.5rem;
}
.step-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500; color: var(--ink);
  margin-bottom: 0.6rem; line-height: 1.2;
  padding-top: 0.2rem;
}
.step-content p {
  font-family: var(--sans); font-size: 0.9375rem;
  line-height: 1.75; color: var(--ink-2);
  max-width: 56ch; margin-bottom: 0.75rem;
}
.step-duration {
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.1em; color: var(--ink-3);
  display: flex; align-items: center; gap: 0.4em;
}
.step-duration .tag-dot { color: var(--gold); }

/* Pricing */
.pricing {
  position: relative;
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--ink); overflow: hidden;
}
.pricing-grid-bg {
  position: absolute; inset: 0;
  background: var(--map-grid); pointer-events: none;
}
.pricing .container { position: relative; z-index: 1; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  align-items: center;
}
.pricing-card {
  background: rgba(244,241,234,.04);
  border: 1px solid rgba(244,241,234,.1);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: 1.5rem;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
  position: relative;
}
.pricing-card--featured {
  background: rgba(10,110,90,.12);
  border-color: rgba(10,110,90,.7);
  box-shadow: 0 0 0 1px rgba(10,110,90,.25), 0 8px 40px rgba(10,110,90,.2), inset 0 1px 0 rgba(255,255,255,.06);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
}
@media (hover: hover) {
  .pricing-card:hover {
    border-color: rgba(10,110,90,.35);
    background: rgba(10,110,90,.06);
    transform: translateY(-2px);
  }
  .pricing-card--featured:hover {
    border-color: var(--teal);
    box-shadow: 0 0 0 1px rgba(10,110,90,.4), 0 12px 50px rgba(10,110,90,.28), inset 0 1px 0 rgba(255,255,255,.08);
    transform: translateY(-4px);
  }
}
.pricing-badge {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #0a6e5a; background: var(--teal);
  padding: 0.3em 0.7em; border-radius: 4px;
  margin-bottom: 0.5rem; width: fit-content;
  font-weight: 600;
}
.pricing-badge::before {
  content: "●"; font-size: 0.55em; opacity: 0.8;
}
.pricing-header { display: flex; flex-direction: column; gap: 0.5rem; }
.pricing-name {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 500; color: var(--paper); line-height: 1.15;
}
.pricing-card--featured .pricing-name {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}
.pricing-price { display: flex; align-items: baseline; gap: 0.4em; }
.price-amount {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; color: var(--teal); line-height: 1;
}
.price-period {
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.08em; color: rgba(244,241,234,.4);
}
.pricing-features { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.pricing-features li {
  font-family: var(--sans); font-size: 0.9rem;
  color: rgba(244,241,234,.65);
  line-height: 1.5; padding-left: 1.25em; position: relative;
}
.pricing-card--featured .pricing-features li {
  color: rgba(244,241,234,.82);
}
.pricing-features li::before {
  content: "—"; position: absolute; left: 0;
  color: var(--teal); font-size: 0.75em;
}
.pricing-note {
  margin-top: 2rem; text-align: center; margin-inline: auto;
  font-family: var(--sans); font-size: 0.875rem;
  line-height: 1.65; color: rgba(244,241,234,.38);
  max-width: 64ch;
}

/* CTA Final */
.cta-final {
  position: relative;
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--ink); overflow: hidden;
}
.cta-gradient {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle 800px at var(--mx, 50%) var(--my, 50%), rgba(10,110,90,.2) 0%, transparent 60%),
    radial-gradient(circle 600px at calc(var(--mx, 50%) + 20%) calc(var(--my, 50%) - 15%), rgba(201,139,26,.12) 0%, transparent 55%);
  filter: blur(30px);
}
.cta-grid {
  position: absolute; inset: 0; z-index: 2;
  background: var(--map-grid); pointer-events: none;
}
.cta-final .container { position: relative; z-index: 3; }
.cta-final .eyebrow { margin-bottom: 1rem; }
.cta-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300; line-height: 1.05;
  color: var(--paper); margin-bottom: 1.25rem;
  text-wrap: balance; max-width: 16ch;
}
.cta-title em { color: var(--teal); }
.cta-sub {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: rgba(244,241,234,.58); max-width: 52ch;
  line-height: 1.7; margin-bottom: 2.5rem;
}
.cta-form { max-width: 600px; }
.form-row {
  display: flex; flex-direction: column;
  gap: 0.75rem; margin-bottom: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(244,241,234,.45);
}
.form-group input {
  background: rgba(244,241,234,.05);
  border: 1px solid rgba(244,241,234,.14);
  border-radius: 8px; padding: 0.75em 1em;
  font-family: var(--sans); font-size: 0.9375rem;
  color: var(--paper); outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input::placeholder { color: rgba(244,241,234,.28); }
.form-group input:focus {
  border-color: var(--teal);
  background: rgba(10,110,90,.07);
}
.form-group select {
  width: 100%;
  background: rgba(244,241,234,.05)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 4.5L11 1' stroke='rgba(244,241,234,.4)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 1em center;
  border: 1px solid rgba(244,241,234,.14);
  border-radius: 8px;
  padding: 0.75em 2.5em 0.75em 1em;
  font-family: var(--sans); font-size: 0.9375rem;
  color: var(--paper); outline: none;
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.form-group select:focus { border-color: var(--teal); background-color: rgba(10,110,90,.07); }
.form-group select option { background: #101A14; color: var(--paper); }
.cta-form .btn-gold { margin-bottom: 0.75rem; }
.form-note {
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.08em; color: rgba(244,241,234,.52);
}
.btn-sending, .btn-sent { display: none; }
.cta-form.is-sending .btn-text  { display: none; }
.cta-form.is-sending .btn-sending { display: inline; }
.cta-form.is-sent .btn-text,
.cta-form.is-sent .btn-sending  { display: none; }
.cta-form.is-sent .btn-sent { display: inline; }

/* Footer */
.footer {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
}
.footer-grid-bg {
  position: absolute; inset: 0;
  background: var(--map-grid); pointer-events: none; opacity: 0.65;
}
.footer .container { position: relative; z-index: 1; }
.footer-top {
  display: flex; flex-direction: column; gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 1.5rem;
}
.footer-brand { max-width: 28ch; }
.footer-tagline {
  font-family: var(--sans); font-size: 0.875rem;
  color: rgba(244,241,234,.48); line-height: 1.6; margin-bottom: 0.5rem;
}
.footer-coords {
  font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.1em; color: rgba(244,241,234,.22);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 2rem 3rem; }
.footer-nav-label {
  font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244,241,234,.32); margin-bottom: 0.75rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a {
  font-family: var(--sans); font-size: 0.875rem;
  color: rgba(244,241,234,.52); transition: color 0.2s;
}
.footer-nav a:hover { color: var(--paper); }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copy {
  font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.08em; color: rgba(244,241,234,.28);
}
.footer-tags { display: flex; gap: 0.4rem; }

/* =============================================================
   6b. Stats upgrade
   ============================================================= */
.stat-number--text {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
}
.stat-source {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 0.4rem;
}
.stats-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 0.5rem;
}

/* =============================================================
   6c. Compare table (SEO vs GEO)
   ============================================================= */
.comparacion { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.compare-table {
  margin-top: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1.6fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: none; }
.compare-cell {
  padding: 0.9rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-2);
  border-right: 1px solid var(--line);
}
.compare-cell:last-child { border-right: none; }
.compare-row--header .compare-cell {
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-block: 0.75rem;
}
.compare-cell--highlight {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 500;
}
.compare-row--header .compare-cell--highlight {
  background: var(--teal);
  color: #fff;
}

/* =============================================================
   6d. Proof / scores
   ============================================================= */
.proof {
  background: var(--paper-2);
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.proof-lead {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-top: 1rem;
  max-width: 480px;
}
.score-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.score-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.score-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  min-width: 120px;
}
.score-bar-wrap {
  flex: 1;
  height: 5px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.score-bar {
  height: 100%;
  border-radius: 3px;
  background: var(--teal);
}
.score-val {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-2);
  min-width: 28px;
  text-align: right;
}
.proof-callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.proof-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1rem;
}
.proof-source {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.7;
}
.proof-scores {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.proof-scores-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.proof-scores-grid {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.proof-score {
  display: block;
  font-family: var(--mono);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
}
.proof-score--amber { color: var(--amber); }
.proof-score--teal  { color: var(--teal); }
.proof-score-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-3);
  margin-top: 0.3rem;
}
.proof-scores-arrow {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--line);
}

/* =============================================================
   6b. Comparación SEO vs GEO (old — now replaced)
   ============================================================= */
.comparacion {
  background: var(--paper-2);
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.comparacion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: center;
}
.comparacion-arrow {
  display: none;
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--teal);
  text-align: center;
  opacity: 0.5;
}
.comparacion-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.comparacion-label { margin-bottom: 1rem; }
.comparacion-card-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}
.comparacion-flow {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: flow;
}
.comparacion-flow li {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.55;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: flow;
}
.comparacion-flow li::before {
  content: counter(flow) ". ";
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  margin-right: 0.25rem;
}
.comparacion-flow-result {
  font-family: var(--mono);
  font-size: 0.72rem !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2) !important;
  border-bottom: none !important;
  padding-top: 0.85rem !important;
}
.comparacion-flow-result::before { display: none; }
.comparacion-flow-result--teal { color: var(--teal) !important; }
.comparacion-insight {
  margin-top: 3rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-2);
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-top: 3rem;
  line-height: 1.5;
}

/* =============================================================
   6c. FAQ
   ============================================================= */
.faq {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 7rem);
}
.faq-grid-bg {
  position: absolute; inset: 0;
  background: var(--map-grid);
  pointer-events: none;
}
.faq .eyebrow { color: rgba(244,241,234,0.45); }
.faq .section-title--light { color: var(--paper); }
.faq .section-title--light em { color: var(--gold); }
.faq-list {
  margin-top: 3rem;
  border-top: 1px solid var(--line-dark);
}
.faq-item {
  border-bottom: 1px solid var(--line-dark);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.4rem;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 500;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--teal-light); }
.faq-icon {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.faq-answer[hidden] { display: block; max-height: 0; }
.faq-answer.is-open { max-height: 400px; }
.faq-answer p {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: rgba(244,241,234,0.7);
  line-height: 1.75;
  padding-bottom: 1.5rem;
  max-width: 700px;
}

/* =============================================================
   7. Effects
   ============================================================= */
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(1); }
  50%       { opacity: 0.7;  transform: scaleY(1.12); }
}
@keyframes splashIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; }
}

/* Mobile: compare-table horizontal scroll */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.compare-table-wrap .compare-table {
  margin-top: 0;
  border-radius: 0;
  border: none;
  min-width: 520px;
}

/* =============================================================
   7b. Manifesto states (before/after)
   ============================================================= */
.manifesto-states {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 2.25rem;
  max-width: 58ch;
}
.state-card {
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.state-card--good {
  background: var(--teal-light);
  border-color: rgba(10,110,90,.2);
}
.state-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.state-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.state-card--good .state-label { color: var(--teal-dark); }
.state-query {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-3);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  font-style: italic;
}
.state-card--good .state-query { color: var(--teal-dark); opacity: .7; }
.state-answer {
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.state-card--good .state-answer { color: var(--ink); }
.state-answer strong { color: var(--teal-dark); font-weight: 600; }
.state-badge {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  white-space: nowrap;
}
.state-badge--bad  { background: rgba(212,96,26,.1);  color: var(--amber); }
.state-badge--good { background: rgba(10,110,90,.15); color: var(--teal-dark); }

/* =============================================================
   7c. Stats intro
   ============================================================= */
.stats-intro {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-3);
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

/* =============================================================
   7d. Compare bottom (platforms row)
   ============================================================= */
.compare-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.compare-bottom-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.compare-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
}

/* =============================================================
   7e. CTA split layout
   ============================================================= */
.cta-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
.cta-pitch .cta-sub { margin-bottom: 0; max-width: 44ch; }
.cta-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}
.cta-features li {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: rgba(244,241,234,.6);
  display: flex;
  align-items: baseline;
  gap: 0.65em;
  line-height: 1.4;
}
.cta-features li::before {
  content: "→";
  color: var(--teal);
  font-size: 0.8em;
  flex-shrink: 0;
}
.cta-panel {
  background: rgba(244,241,234,.05);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cta-panel .cta-form { max-width: 100%; }

/* =============================================================
   7e. Interactive upgrades (skill adrian-saenz)
   ============================================================= */

/* --- Compare tabs --- */
.compare-tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.compare-tab {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.45em 1.1em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  color: var(--ink-3); cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.compare-tab:hover { color: var(--ink); border-color: rgba(16,26,20,.35); }
.compare-tab.is-active {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 1px 4px rgba(16,26,20,.12);
}
.compare-tab--geo.is-active { border-color: var(--teal); color: var(--teal); }
.compare-tab--reset { color: var(--ink-2); }

/* Compare table highlight states */
.compare-table .compare-cell { transition: opacity 0.3s, background 0.3s; }
.compare-table[data-highlight="seo"] .compare-cell--highlight { opacity: 0.3; }
.compare-table[data-highlight="geo"] .compare-cell:nth-child(2):not(.compare-cell--highlight) { opacity: 0.3; }

/* --- Score bars animate on scroll --- */
.score-bar {
  width: 0;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 3D tilt cards --- */
.service-card, .pricing-card {
  will-change: transform;
  transform-style: preserve-3d;
}

/* --- Stat count-up: prefix/suffix sit inline --- */
.stat-prefix, .stat-suffix { display: inline; }
.stat-core { display: inline; }

/* --- Stats: stagger entrance per card --- */
.stats-grid .stat.reveal { transition-delay: 0ms; }
.stats-grid .stat.reveal:nth-child(2) { transition-delay: 80ms; }
.stats-grid .stat.reveal:nth-child(3) { transition-delay: 160ms; }

/* =============================================================
   7f. Light-section visual density
   ============================================================= */

/* Manifesto: position context for pseudo-elements */
.manifesto { position: relative; overflow: hidden; }
.manifesto .container { position: relative; z-index: 1; }
/* Warm dot texture */
.manifesto::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(16,26,20,.042) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; z-index: 0;
}
/* Large decorative section watermark */
.manifesto::after {
  content: '01';
  position: absolute;
  font-family: var(--serif); font-size: clamp(14rem, 28vw, 22rem); font-weight: 700;
  color: rgba(16,26,20,.024);
  right: -0.5rem; bottom: -4rem;
  line-height: 1; pointer-events: none; user-select: none; z-index: 0;
}

/* Comparacion: dot texture + explicit background */
.comparacion { background: var(--paper-2); position: relative; overflow: hidden; }
.comparacion .container { position: relative; z-index: 1; }
.comparacion::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(16,26,20,.036) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; z-index: 0;
}

/* Stats: card treatment — each stat becomes a framed unit */
.stats-grid { gap: 1.25rem; margin-block: 2rem; }
.stat {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem 1.5rem 1.75rem;
  border-top: 2px solid var(--gold);
  box-shadow: 0 1px 4px rgba(16,26,20,.06);
}

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: center; }
  .pricing-card--featured { transform: scale(1.03); }
  .pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }
  /* form stays single column — intentional */
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .comparacion-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
  }
  .comparacion-arrow { display: block; }
  .proof-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  .manifesto-states { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .cta-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
@media (min-width: 960px) {
  .manifesto-grid { grid-template-columns: 2.5rem 1fr; gap: 5rem; }
  .proof-grid { gap: 4rem; }
  .score-label { min-width: 140px; }
  .hero-split {
    flex-direction: row;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
  }
  .hero-text { flex: 1; min-width: 0; }
  .hero-score { flex: 0 0 360px; }
}

/* =============================================================
   9. Reduced-motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .splash { animation: splashSafety .01s 1.2s forwards; }
  .scroll-line { animation: none; opacity: 0.4; }
}

/* =============================================================
   10. Dark-mode conversion — light sections → dark
   ============================================================= */

/* Body base */
body { background: #0D1510; color: var(--paper); }

/* ── Manifesto ── */
.manifesto { background: #101A14; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.manifesto::before { background-image: radial-gradient(circle, rgba(244,241,234,.022) 1px, transparent 1px); }
.manifesto::after  { color: rgba(244,241,234,.015); }
.manifesto-title   { color: var(--paper); }
.manifesto-title em { color: var(--teal); }
.manifesto-text    { color: rgba(244,241,234,.62); }
.manifesto-number  { color: rgba(244,241,234,.2); }
.manifesto .eyebrow { color: rgba(244,241,234,.38); }

/* Manifesto before/after state cards */
.state-card {
  background: rgba(244,241,234,.05);
  border-color: rgba(255,255,255,.1);
}
.state-card--good {
  background: rgba(10,110,90,.18);
  border-color: rgba(10,110,90,.35);
}
.state-label       { color: rgba(244,241,234,.32); }
.state-card--good .state-label { color: rgba(10,200,160,.75); }
.state-query       { color: rgba(244,241,234,.32); }
.state-card--good .state-query { color: rgba(10,200,160,.55); }
.state-answer      { color: rgba(244,241,234,.65); }
.state-card--good .state-answer { color: rgba(244,241,234,.85); }
.state-answer strong { color: var(--teal); }

/* ── Stats ── */
.stats { background: #0B1410; border-color: var(--line-dark); }
.stats-intro { color: rgba(244,241,234,.38); }
.stat { background: rgba(244,241,234,.04); box-shadow: 0 1px 8px rgba(0,0,0,.4); border-top-color: var(--gold); }
.stat-label  { color: rgba(244,241,234,.32); }
.stat-source { color: rgba(244,241,234,.2); }

/* ── Proceso ── */
.proceso { background: #13201A; }
.proceso .section-title { color: var(--paper); }
.proceso .section-title em { color: rgba(201,139,26,.88); }
.proceso .eyebrow { color: rgba(244,241,234,.38); }
.step-content h3   { color: var(--paper); }
.step-content p    { color: rgba(244,241,234,.6); }
.step-line         { background: rgba(255,255,255,.1); }
.step-duration     { color: rgba(244,241,234,.28); }

/* ── Comparacion ── */
.comparacion { background: #0D1510; border-color: var(--line-dark); }
.comparacion::before { background-image: radial-gradient(circle, rgba(244,241,234,.02) 1px, transparent 1px); }
.comparacion .section-title { color: var(--paper); }
.comparacion .section-title em { color: rgba(201,139,26,.88); }
.comparacion .eyebrow { color: rgba(244,241,234,.38); }
.comparacion-card  { background: rgba(244,241,234,.04); border-color: rgba(255,255,255,.1); }
.comparacion-card-title { color: var(--paper); }
.comparacion-flow li { color: rgba(244,241,234,.6); border-color: rgba(255,255,255,.08); }
.comparacion-flow li::before { color: rgba(244,241,234,.25); }
.comparacion-flow-result { color: rgba(244,241,234,.45) !important; }
.comparacion-flow-result--teal { color: rgba(10,200,160,.85) !important; }
.comparacion-insight { color: rgba(244,241,234,.5); }

/* Compare table on dark */
.compare-table-wrap { border-color: rgba(255,255,255,.1); }
.compare-table  { background: rgba(244,241,234,.03); }
.compare-row    { border-color: rgba(255,255,255,.07); }
.compare-cell   { color: rgba(244,241,234,.6); border-right-color: rgba(255,255,255,.07); }
.compare-row--header .compare-cell {
  background: rgba(255,255,255,.05);
  color: rgba(244,241,234,.35);
}
.compare-cell--highlight {
  background: rgba(10,110,90,.18);
  color: rgba(10,220,170,.82);
}
.compare-row--header .compare-cell--highlight {
  background: rgba(10,110,90,.5);
  color: rgba(244,241,234,.9);
}

/* Compare tabs on dark */
.compare-tab { background: rgba(244,241,234,.05); border-color: rgba(255,255,255,.12); color: rgba(244,241,234,.42); }
.compare-tab:hover { color: var(--paper); border-color: rgba(244,241,234,.35); background: rgba(244,241,234,.08); }
.compare-tab.is-active { background: rgba(244,241,234,.08); border-color: rgba(244,241,234,.55); color: var(--paper); box-shadow: none; }
.compare-tab--geo.is-active { border-color: var(--teal); color: var(--teal); }
.compare-tab--reset { color: rgba(244,241,234,.42); }
.compare-bottom { border-top-color: rgba(255,255,255,.07); }
.compare-bottom-label { color: rgba(244,241,234,.3); }

/* ── Proof / scores ── */
.proof { background: #101A14; border-color: var(--line-dark); }
.proof .section-title { color: var(--paper); }
.proof .section-title em { color: rgba(201,139,26,.88); }
.proof .eyebrow { color: rgba(244,241,234,.38); }
.proof-lead { color: rgba(244,241,234,.6); }
.score-label    { color: rgba(244,241,234,.32); }
.score-bar-wrap { background: rgba(255,255,255,.1); }
.score-val      { color: rgba(244,241,234,.5); }
.proof-callout  { background: rgba(244,241,234,.04); border-color: rgba(255,255,255,.1); }
.proof-quote    { color: var(--paper); }
.proof-source   { color: rgba(244,241,234,.32); }
.proof-scores   { border-color: rgba(255,255,255,.07); }
.proof-scores-label { color: rgba(244,241,234,.32); }
.proof-score-desc   { color: rgba(244,241,234,.32); }
.proof-scores-arrow { color: rgba(255,255,255,.14); }

/* ── Section title default for newly dark sections ── */
.manifesto .section-title { color: var(--paper); }
.stats .section-title { color: var(--paper); }

/* ── Tags on dark backgrounds ── */
.tag-teal    { background: rgba(10,110,90,.22); color: rgba(10,200,160,.82); }
.tag-gold    { background: rgba(201,139,26,.18); color: rgba(201,139,26,.9); }
.tag-neutral { background: rgba(244,241,234,.08); color: rgba(244,241,234,.55); }
.tag-amber   { background: rgba(212,96,26,.15); color: var(--amber); }

/* ── Stats: terminal data feel ── */
.stat-number {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  letter-spacing: -0.04em;
  color: rgba(10,220,175,.9);
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.stat.is-counting .stat-number::after {
  content: '▋';
  font-size: 0.45em;
  color: rgba(10,220,175,.75);
  animation: cursorBlink 0.5s step-end infinite;
  margin-left: 0.08em;
  vertical-align: middle;
}
.stat.is-done { border-top-color: rgba(10,200,165,.7); transition: border-top-color 0.5s ease; }

/* ── Score bars: gradient fill ── */
.score-bar {
  background: linear-gradient(90deg, rgba(10,100,82,.9) 0%, rgba(10,200,165,.95) 100%);
}
.score-val {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  min-width: 34px;
}

/* =============================================================
   11. Motion / dynamics
   ============================================================= */

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 2px; left: 0; z-index: 10000;
  height: 1px; width: 0%;
  background: linear-gradient(90deg, var(--teal), rgba(10,220,175,.9), var(--gold));
  box-shadow: 0 0 6px rgba(10,200,165,.5);
  pointer-events: none;
  will-change: width;
}

/* Hero score card float */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-9px); }
}
.hero-score { animation: cardFloat 5s ease-in-out infinite; }

/* Manifesto watermark slow drift */
@keyframes watermarkDrift {
  0%, 100% { transform: translateY(0)    rotate(-0.5deg); }
  50%       { transform: translateY(-22px) rotate(0.3deg); }
}
.manifesto::after { animation: watermarkDrift 9s ease-in-out infinite; }

/* Directional card reveals — desktop only */
@media (min-width: 720px) {
  .cards-grid .service-card.reveal:nth-child(3n+1) { transform: translateX(-36px) translateY(16px); }
  .cards-grid .service-card.reveal:nth-child(3n+3) { transform: translateX(36px)  translateY(16px); }
  .pricing-grid .pricing-card.reveal:nth-child(3n+1) { transform: translateX(-36px) translateY(16px); }
  .pricing-grid .pricing-card.reveal:nth-child(3n+3) { transform: translateX(36px)  translateY(16px); }
}

/* ── Positioning contexts for injected elements ── */
.stats, .proceso, .proof { position: relative; overflow: hidden; }
.stats > .container,
.proceso > .container,
.proof > .container { position: relative; z-index: 1; }

/* ── Map grid extended (injected .section-grid-bg) ── */
.section-grid-bg {
  position: absolute; inset: 0;
  background: var(--map-grid);
  pointer-events: none; z-index: 0;
}

/* ── Grain texture (full-page depth) ── */
.grain-overlay {
  position: fixed; inset: 0; z-index: 500;
  pointer-events: none;
  opacity: 0.042;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 190px 190px;
}

/* ── Ambient light blobs (injected per-section) ── */
.amb-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none; z-index: 0;
  filter: blur(72px);
}
.amb-blob--teal { background: radial-gradient(circle, rgba(10,110,90,.32) 0%, transparent 70%); }
.amb-blob--gold { background: radial-gradient(circle, rgba(201,139,26,.26) 0%, transparent 70%); }

/* ── Hero: static ambient base (always visible, not just on mouse) ── */
.hero-gradient {
  background:
    radial-gradient(circle 700px at var(--mx,50%) var(--my,50%), rgba(10,110,90,.22) 0%, transparent 60%),
    radial-gradient(circle 500px at calc(var(--mx,50%) + 15%) calc(var(--my,50%) - 10%), rgba(201,139,26,.13) 0%, transparent 55%),
    radial-gradient(circle 900px at 18% 60%, rgba(10,110,90,.18) 0%, transparent 65%),
    radial-gradient(circle 650px at 80% 22%, rgba(201,139,26,.11) 0%, transparent 60%);
}

/* ── Mouse-reactive glow (manifesto only) ── */
.section-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(
    circle 520px at var(--mx, 50%) var(--my, 50%),
    rgba(10,110,90,.12) 0%, transparent 65%
  );
  filter: blur(14px);
}

/* ── Decorative compass ring ── */
.deco-ring {
  position: absolute;
  width: clamp(280px, 50vw, 600px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(10,110,90,.1);
  top: 50%; right: -8%;
  transform: translateY(-50%);
  pointer-events: none; z-index: 0;
  animation: ringBreath 7s ease-in-out infinite;
}
.deco-ring::before {
  content: '';
  position: absolute; inset: 22%;
  border-radius: 50%;
  border: 1px solid rgba(201,139,26,.08);
}
.deco-ring::after {
  content: '';
  position: absolute; inset: 44%;
  border-radius: 50%;
  border: 1px solid rgba(10,110,90,.12);
  background: radial-gradient(circle at 50%, rgba(10,110,90,.05), transparent 70%);
}

/* Hero ring: slightly larger, deeper in z-stack */
.hero .deco-ring {
  width: clamp(360px, 55vw, 720px);
  border-color: rgba(10,110,90,.08);
  right: -4%; z-index: 2;
  animation-delay: -3s;
}

@keyframes ringBreath {
  0%, 100% { opacity: 1;    transform: translateY(-50%) scale(1);    }
  50%       { opacity: 0.65; transform: translateY(-50%) scale(1.03); }
}
