/* ══════════════════════════════════════════════
   COBRAX — DESIGN SYSTEM
   v2.0 · Locked palette · DM Sans · Zero radius
   ══════════════════════════════════════════════ */

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

:root {
  --base:    #F0EFE9;
  --surface: #E6E4DC;
  --navy:    #1C2B3A;
  --navy-lt: #263C52;
  --amber:   #8A6A00;
  --amber-lt:#A88000;
  --text:    #0F0F0F;
  --muted:   #525252;
  --border:  #C8C5BB;
  --white:   #F8F7F2;
  --red:     #B83232;
  --red-lt:  #CC3E3E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--base);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
}

h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 16px; }
h3 { font-size: 1.1rem; margin-bottom: 8px; }

p { margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); }

ul, ol { padding-left: 20px; margin-bottom: 16px; }
ul li, ol li { margin-bottom: 8px; }

/* ── LAYOUT ── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

section + section {
  border-top: 1px solid var(--border);
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
}

.nav-brand::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--red);
  margin: 4px 0 3px;
}

.nav-tagline {
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  font-size: 15px;
  padding: 12px 24px;
  position: relative;
  overflow: hidden;
}

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

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover { background: var(--navy-lt); color: var(--white); }

.btn-brass {
  background: var(--red);
  color: var(--white);
}

.btn-brass:hover { background: var(--red-lt); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 10px 22px;
  font-size: 14px;
}

.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Nav CTA */
.nav-cta-btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav-cta-btn:hover { color: var(--red-lt); }

/* ── SECTION EYEBROW ── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ── HERO ── */
.hero-wrap {
  background: var(--navy);
}

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 24px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--amber);
}

.hero-body {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-btn {
  background: var(--red);
  color: var(--white);
  padding: 15px 32px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.15s;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--red);
  display: inline-block;
}

.hero-btn:hover { background: var(--red-lt); color: var(--white); border-color: var(--red-lt); }

.hero-link {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hero stats card */
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  padding: 36px;
  border-left: 2px solid var(--amber);
}

.hero-card-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 28px;
}

.stat-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.stat-row:first-of-type { padding-top: 0; }

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  flex-shrink: 0;
  min-width: 80px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-top: 2px;
}

/* Page inner header band */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 52px;
}

.page-header .section-eyebrow { margin-bottom: 12px; }
.page-header h1 {
  font-size: clamp(28px, 4vw, 46px);
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.page-header .section-lead {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}

/* ── STEPS ── */
.steps-section {
  background: var(--base);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 36px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.step:last-child { border-bottom: none; }

.step-num {
  font-size: 64px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  padding-top: 4px;
  text-align: right;
  flex-shrink: 0;
  user-select: none;
}

.step-content {}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border-bottom: 2px solid var(--amber);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 2px 0 4px;
  border-radius: 0;
  margin-bottom: 14px;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
}

.step-price {
  display: inline-block;
  margin-top: 18px;
  background: transparent;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  padding: 0;
  border-radius: 0;
  border-bottom: 2px solid var(--red);
}

.step-detail {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border-left: 3px solid var(--navy);
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  border-radius: 0;
}

.step-detail strong { color: var(--navy); }

/* ── PHASE BLOCKS (empieza) ── */
.phase-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.phase-block:last-of-type {
  border-bottom: none;
}

.phase-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.phase-block .price {
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

/* ── CALCULATOR ── */
.calculator {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 0;
}

.calculator label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  margin-top: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.calculator label:first-child { margin-top: 0; }

.calculator input {
  width: 100%;
  max-width: 360px;
  padding: 12px 14px;
  font-size: 18px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s;
}

.calculator input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 2px rgba(138,106,0,0.15);
}

.calculator .results {
  margin-top: 28px;
  border-top: 2px solid var(--navy);
  padding-top: 28px;
}

.calculator .results p {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}

.calculator .results .total {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 16px;
  color: var(--navy);
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
}

.example-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 16px;
  font-style: italic;
}

/* ── PRICING ── */
.pricing-section {
  background: var(--surface);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 32px 28px;
  position: relative;
  border-top: 2px solid var(--navy);
}

.pricing-card.featured {
  border: 1px solid var(--border);
  border-top: 2px solid var(--amber);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 0;
  white-space: nowrap;
}

.card-stage {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.card-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}

.card-price span { font-size: 20px; font-weight: 500; }

.card-price-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}

.card-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

.card-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.card-features li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.card-features li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.card-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 12px;
  padding: 13px;
  border-radius: 0;
  transition: background 0.15s;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-cta:hover { background: var(--navy-lt); color: var(--white); }

.pricing-card.featured .card-cta { background: var(--red); }
.pricing-card.featured .card-cta:hover { background: var(--red-lt); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy);
  padding: 28px 24px;
}

.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
}

.trust-item svg { flex-shrink: 0; opacity: 0.6; }

/* ── OBJECTION LIST ── */
.objection-list {
  margin-top: 24px;
}

.objection-list dt {
  font-weight: 700;
  color: var(--navy);
  margin-top: 24px;
  font-size: 1rem;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.objection-list dt:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.objection-list dd {
  margin-left: 0;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  padding-bottom: 4px;
}

/* ── ARTICLE STYLES ── */
.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--navy); }

.article-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  padding: 24px;
  margin: 32px 0;
  border-radius: 0;
}

.highlight-box p:last-child { margin-bottom: 0; }

.cta-block {
  margin: 40px 0;
  padding: 32px;
  border: 2px solid var(--navy);
  background: var(--white);
  border-radius: 0;
}

.cta-block h3 { margin-top: 0; margin-bottom: 12px; }

.legal-note {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--border);
  padding-left: 16px;
  margin-top: 16px;
}

/* ── ARTICLE LIST (blog) ── */
.article-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.article-list li {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.article-list li:first-child { border-top: 1px solid var(--border); }

.article-list h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.article-list h2 a {
  text-decoration: none;
  color: var(--navy);
}

.article-list h2 a:hover { color: var(--amber); }

.article-list .article-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

/* ── CTA FOOTER BLOCK ── */
.cta-footer {
  padding: 64px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--navy);
}

.cta-footer p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
}

/* ── CTA SECTION (homepage, empieza) ── */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CONTACT FORM ── */
form { margin-top: 24px; }

form label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  margin-top: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

form label:first-child { margin-top: 0; }

form input,
form textarea,
form select {
  width: 100%;
  max-width: 500px;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 2px rgba(138,106,0,0.12);
}

form textarea { height: 140px; resize: vertical; }

form button[type="submit"] {
  margin-top: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 28px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.15s;
}

form button[type="submit"]:hover { background: var(--navy-lt); }

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.5);
  padding: 40px 24px;
  font-size: 13px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
}

.footer-brand::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--red);
  margin: 3px 0 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* SEO CONTENT section */
.seo-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.seo-content h2:first-child { margin-top: 0; }

.seo-content h3 {
  font-size: 1.05rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

/* Font: DM Sans · Weights: 300-800 · Google Fonts */

/* ── UTILITY ── */
.text-red { color: var(--red); font-weight: 700; }
.phase-price { color: var(--red); font-weight: 700; }

/* ══════════════════════════════════════════════
   CINEMATIC MODULE 1 — GLITCH EFFECT
   ══════════════════════════════════════════════ */

.glitch-wrap {
  position: relative;
  display: inline-block;
}

.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.glitch::before {
  color: var(--amber);
  clip-path: inset(0 0 70% 0);
  animation: none;
  transform: translate(0);
}

.glitch::after {
  color: rgba(255,255,255,0.9);
  clip-path: inset(70% 0 0 0);
  animation: none;
  transform: translate(0);
}

/* Active glitch (JS-triggered on load) */
.glitch.glitch-fire::before {
  animation: glitchTop 0.5s steps(2) 1;
}

.glitch.glitch-fire::after {
  animation: glitchBot 0.5s steps(3) 1;
}

/* Hover glitch */
.glitch:hover::before {
  animation: glitchTop 0.4s steps(2) 2;
}

.glitch:hover::after {
  animation: glitchBot 0.4s steps(3) 2;
}

@keyframes glitchTop {
  0%   { clip-path: inset(0 0 80% 0); transform: translate(-3px, -2px); }
  25%  { clip-path: inset(20% 0 50% 0); transform: translate(3px, 1px); }
  50%  { clip-path: inset(40% 0 30% 0); transform: translate(-2px, 2px); }
  75%  { clip-path: inset(60% 0 10% 0); transform: translate(2px, -1px); }
  100% { clip-path: inset(0 0 80% 0); transform: translate(0); }
}

@keyframes glitchBot {
  0%   { clip-path: inset(80% 0 0 0); transform: translate(3px, 1px); }
  33%  { clip-path: inset(50% 0 20% 0); transform: translate(-3px, -2px); }
  66%  { clip-path: inset(30% 0 40% 0); transform: translate(2px, 2px); }
  100% { clip-path: inset(80% 0 0 0); transform: translate(0); }
}

/* ══════════════════════════════════════════════
   CINEMATIC MODULE 2 — ODOMETER COUNTER
   ══════════════════════════════════════════════ */

.stats-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px;
}

.stats-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.odometer-stat {
  text-align: center;
  padding: 24px 32px;
  border-right: 1px solid var(--border);
}

.odometer-stat:last-child { border-right: none; }

.odometer {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
  overflow: hidden;
  height: 1.2em;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.odo-prefix,
.odo-suffix {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.2;
  align-self: flex-end;
  padding-bottom: 0.1em;
}

.odo-prefix { margin-right: 2px; }
.odo-suffix { margin-left: 2px; }

.odo-digit {
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  position: relative;
}

.odo-strip {
  display: flex;
  flex-direction: column;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.odo-strip span {
  display: block;
  height: 1.2em;
  line-height: 1.2;
  text-align: center;
}

.odo-static {
  /* For non-rolling static chars like . or , */
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.odometer-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.4;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════════════════════════
   CINEMATIC MODULE 3 — KINETIC MARQUEE
   ══════════════════════════════════════════════ */

.marquee-band {
  background: var(--navy);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.marquee-row {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}

.marquee-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--amber);
  margin-left: 28px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   CINEMATIC MODULE 4 — STICKY CARDS (3 phases)
   ══════════════════════════════════════════════ */

.sticky-phases {
  padding: 0 0 200px;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.phase-card {
  position: sticky;
  border-radius: 0;
  padding: 44px 40px;
  margin-bottom: 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  will-change: transform;
  border-left: 3px solid;
}

.phase-card:nth-child(1) {
  top: 80px;
  background: var(--navy);
  color: var(--white);
  border-left-color: var(--amber);
  z-index: 1;
}

.phase-card:nth-child(2) {
  top: 100px;
  background: var(--navy-lt);
  color: var(--white);
  border-left-color: rgba(138,106,0,0.7);
  z-index: 2;
}

.phase-card:nth-child(3) {
  top: 120px;
  background: var(--surface);
  color: var(--text);
  border-left-color: var(--navy);
  z-index: 3;
}

.phase-card .phase-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 12px;
}

.phase-card:nth-child(3) .phase-num { color: var(--muted); }

.phase-card h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.phase-card:nth-child(1) h3,
.phase-card:nth-child(2) h3 {
  color: var(--white);
}

.phase-card:nth-child(3) h3 { color: var(--navy); }

.phase-card p {
  font-size: 15px;
  opacity: 0.75;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 0;
}

.phase-card .phase-price {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  border-bottom: 2px solid var(--red);
  display: inline-block;
  padding-bottom: 2px;
}

.phase-card:nth-child(3) .phase-price { color: var(--red); }

/* ══════════════════════════════════════════════
   CINEMATIC MODULE 5 — PARTICLE BUTTON
   ══════════════════════════════════════════════ */

.particle {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 0;
  pointer-events: none;
  z-index: 9999;
}

/* ══════════════════════════════════════════════
   SECTION REVEAL — scroll fade-in
   ══════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 48px 20px; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; gap: 0 20px; }
  .step-num { font-size: 40px; }
  .stats-band-inner { grid-template-columns: 1fr; }
  .odometer-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 24px; }
  .odometer-stat:last-child { border-bottom: none; }
  .sticky-phases { padding-bottom: 80px; }
  .phase-card { min-height: 240px; padding: 32px 24px; }
}

/* ══════════════════════════════════════════════
   PHASE PRICING CARDS (empieza — redesign)
   Three-card grid, Phase 1 hero, static reveal
   ══════════════════════════════════════════════ */

.phases-subtitle {
  color: var(--muted);
  font-size: 16px;
  max-width: 520px;
  margin-top: 8px;
  margin-bottom: 0;
}

.phases-grid-wrap {
  max-width: 1100px;
  margin: 48px auto 0;
  padding: 0 24px;
}

.phases-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}

/* Base card */
.phase-pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--navy);
  border-radius: 0;
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Hero card — Phase 1, inverted */
.phase-hero {
  background: var(--navy);
  border-color: var(--navy);
  border-top: 2px solid var(--amber);
}

/* "Recomendado" badge */
.phase-badge-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 18px;
  border-radius: 0;
  white-space: nowrap;
}

/* Eyebrow */
.phase-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 10px;
}

/* Title */
.phase-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.phase-hero .phase-card-title {
  color: var(--white);
}

/* Description */
.phase-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.phase-hero .phase-card-desc {
  color: rgba(255,255,255,0.65);
}

/* "Includes" line for Fase 2 & 3 */
.phase-includes {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* Price block */
.phase-price-block {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 24px;
  margin-top: auto;
  padding-top: 16px;
}

.phase-price-num {
  font-size: 52px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.02em;
}

.phase-price-vat {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.phase-hero .phase-price-vat {
  color: rgba(255,255,255,0.45);
}

/* CTA buttons */
.phase-cta-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 13px 14px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1.4;
}

.phase-cta-btn.cta-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}

.phase-cta-btn.cta-primary:hover {
  background: var(--red-lt);
  border-color: var(--red-lt);
  color: var(--white);
}

.phase-cta-btn.cta-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.phase-cta-btn.cta-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

/* Connector arrow between cards */
.phase-connector {
  font-size: 22px;
  font-weight: 800;
  color: var(--border);
  text-align: center;
  padding: 0 10px;
  align-self: center;
  user-select: none;
  line-height: 1;
  flex-shrink: 0;
}

/* Mobile: stack cards, hide connectors */
@media (max-width: 860px) {
  .phases-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .phase-connector {
    display: none;
  }
  .phase-pricing-card + .phase-pricing-card {
    border-top: 2px solid var(--navy);
    margin-top: 20px;
  }
  .phase-hero + .phase-connector + .phase-pricing-card {
    margin-top: 32px;
  }
  .phase-hero {
    margin-bottom: 12px;
  }
  .phase-price-num {
    font-size: 44px;
  }
  .phase-pricing-card {
    padding: 36px 28px 32px;
  }
  .phase-badge-popular {
    font-size: 10px;
    padding: 3px 14px;
  }
}

/* ══════════════════════════════════════════════ */

/* ── EMPIEZA PAGE ── */
.hero-full {
  background: var(--navy);
  padding: 88px 24px 80px;
  text-align: center;
}
.hero-full .hero-eyebrow { margin-bottom: 16px; }
.hero-full .hero-title {
  font-size: clamp(32px, 5vw, 60px);
  max-width: 780px;
  margin: 0 auto 28px;
}
.hero-full .hero-body {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 18px;
}
.hero-full .hero-actions { justify-content: center; }

/* ── ARTICLE BODY (inner pages) ── */
.article-body h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 14px; }
.article-body h2:first-of-type { margin-top: 32px; }
.article-body h3 { font-size: 1.1rem; margin-top: 28px; margin-bottom: 10px; }
.article-body p, .article-body ul, .article-body ol { margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }

@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  section { padding: 48px 0; }
  .trust-inner { gap: 24px; }
  .page-header { padding: 44px 0 40px; }
}

/* ── BUTTON VARIANTS — LADDER ── */
.btn-red {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  border-radius: 0;
}
.btn-red:hover { background: var(--red-lt, #9a2020); border-color: var(--red-lt, #9a2020); color: var(--white); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 0;
  font-size: 14px;
  padding: 10px 20px;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ── PHASES LADDER ── */
.phases-ladder-section { padding: 80px 0; }

.phases-ladder {
  margin-top: 48px;
  max-width: 860px;
}

.ladder-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 36px 40px;
  background: var(--white);
  border-top: 2px solid var(--navy);
  border-left: none;
  border-right: none;
  border-bottom: 1px solid var(--border);
}

.ladder-left {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.ladder-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 4px;
  min-width: 22px;
}

.ladder-content { flex: 1; min-width: 0; }

.ladder-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.3;
}

.ladder-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.ladder-note {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin: 10px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ladder-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 180px;
  flex-shrink: 0;
}

.ladder-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.ladder-price-amount {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.ladder-price-iva {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.ladder-cumulative {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  letter-spacing: 0.02em;
}

.ladder-cta {
  white-space: nowrap;
  text-align: center;
}

/* Connector between ladder rows */
.ladder-connector {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  max-width: 860px;
}

.ladder-connector-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.ladder-connector-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 700px) {
  .ladder-row {
    flex-direction: column;
    gap: 24px;
    padding: 28px 20px;
  }
  .ladder-right {
    align-items: flex-start;
    min-width: unset;
  }
  .ladder-connector { padding: 0 20px; }
  .ladder-connector-label { white-space: normal; text-align: center; }
  .ladder-price-amount { font-size: 1.6rem; }
}

/* ── PATTERN 3: STAT PANEL + VERTICAL STEPS ── */
.p3-section { padding: 80px 0; }

.p3-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  margin-top: 48px;
  align-items: stretch;
}

/* Left stat panel */
.p3-stat-panel {
  background: var(--navy);
  color: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.p3-stat-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin: 0 0 32px;
}

.p3-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
}

.p3-stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.p3-stat-pct {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber);
}

.p3-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  max-width: 260px;
}

.p3-stat-label strong { color: rgba(255,255,255,0.9); font-weight: 600; }

.p3-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0;
}

.p3-stat-foot {
  margin-top: auto;
  padding-top: 32px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
}

/* Right step cards */
.p3-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--base);
}

.p3-step {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.p3-step-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--navy);
  padding: 6px 10px;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 32px;
  min-width: 48px;
  flex-shrink: 0;
}

.p3-step-body {
  padding: 28px 32px;
  flex: 1;
  border-top: 2px solid var(--navy);
}

.p3-step:nth-child(1) .p3-step-body { border-top-color: var(--red); }

.p3-step-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.p3-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.p3-step-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}

.p3-step-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 3px;
}

.p3-step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 12px;
}

.p3-step-cumul {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.p3-step-cta {
  font-size: 13px;
  padding: 9px 18px;
}

/* Arrow connectors */
.p3-step-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 10px 48px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: var(--base);
  border-bottom: 1px solid var(--border);
}

.p3-step-arrow span { color: var(--muted); }

/* Mobile */
@media (max-width: 768px) {
  .p3-wrap { grid-template-columns: 1fr; }
  .p3-stat-panel { padding: 40px 24px; }
  .p3-step-body { padding: 24px 20px; }
  .p3-step-badge { min-width: 40px; font-size: 10px; }
  .p3-step-arrow { padding-left: 40px; }
}
