/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f3f1ec;   /* crema de marca */
  --bg-2:      #e8e4da;   /* piedra */
  --paper:     #ffffff;
  --ink:       #1c1c1a;   /* grafito de marca */
  --ink-soft:  #383631;
  --ink-mute:  #746f67;   /* texto secundario de marca */
  --accent:    #344a56;   /* azul grisáceo Ronvea — acento de marca */
  --accent-soft: rgba(52,74,86,.08);
  --accent-2:  #8a7f68;   /* bronce apagado, secundario */
  --ok:        #3c5a42;
  --line:      #d8d4cc;   /* borde de marca */
  --line-strong: #c3beb2;
  --shadow-lg: 0 30px 60px -24px rgba(28,27,25,.35);
  --shadow-sm: 0 10px 24px -16px rgba(28,27,25,.3);

  --font-display: "Space Grotesk", "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 76px;
  --radius: 14px;
  --radius-lg: 20px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  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; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--font-display); }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section-2 { padding-block: clamp(3rem, 6vw, 5rem); position: relative; }
/* Variantes "tight" — mismo sistema, ~15-20% menos aire vertical.
   Se aplican solo a las secciones señaladas para agilizar el scroll
   sin tocar hero / contraste / cómo funciona. */
.section-tight { padding-block: clamp(3.2rem, 7.2vw, 6rem); }
.section-2-tight { padding-block: clamp(2.4rem, 4.8vw, 4rem); }
.section-header { max-width: 640px; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-tight .section-header, .section-2-tight .section-header { margin-bottom: clamp(1.7rem, 3.8vw, 2.7rem); }
.section-header.is-center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: .9rem;
}
.kicker::before { content: ""; width: 18px; height: 1.5px; background: var(--accent); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 560; }
.section-lede { margin-top: .9rem; color: var(--ink-mute); font-size: 1.06rem; max-width: 46ch; }
.section-header.is-center .section-lede { margin-inline: auto; }
.placeholder {
  background: linear-gradient(transparent 65%, rgba(51,66,74,.22) 0);
  border-bottom: 1px dashed var(--accent);
  font-weight: 600;
}
.eyebrow-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-mute);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .75rem;
}
.eyebrow-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .35s var(--ease-out), background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); background: var(--paper); }
.btn-whatsapp { background: var(--accent); color: #fff; }
.btn-whatsapp:hover { background: var(--ink); }
.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(242,240,235,.86);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.nav-logo { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.nav-logo span {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
}
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a {
  position: relative; font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  padding-block: .3rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--accent); transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: none; align-items: center; gap: .75rem; }
.nav-burger {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong);
}
.nav-burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

.mobile-panel {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 1.5rem 1.25rem;
  transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.mobile-panel.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-panel-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-panel-links { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 3rem; }
.mobile-panel-links a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--ink); }
.mobile-panel-cta { margin-top: auto; display: flex; flex-direction: column; gap: .8rem; }

/* =============================================================
   6. Device frame (demo mockups — reusable en cualquier vertical)
   ============================================================= */
.device-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.device-bar {
  height: 34px; display: flex; align-items: center; gap: 6px; padding-inline: 12px;
  background: var(--ink);
}
.device-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(242,240,235,.28); }
.device-url {
  margin-left: 10px; font-family: var(--font-mono); font-size: .68rem; color: rgba(242,240,235,.75);
  background: rgba(242,240,235,.12); padding: .2rem .6rem; border-radius: 999px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; max-width: 260px;
}
.device-viewport { width: 100%; height: calc(100% - 34px); background: #fff; overflow: hidden; }
.device-viewport img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.device-frame.is-browser { aspect-ratio: 16 / 10.5; }
.device-frame.is-phone { aspect-ratio: 9 / 18.3; max-width: 300px; margin-inline: auto; }
.device-frame[data-open] {
  cursor: pointer;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.device-frame[data-open]:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -24px rgba(28,28,26,.4); }
.device-open-hint {
  position: absolute; right: .8rem; bottom: .8rem; z-index: 2;
  background: rgba(28,28,26,.82); color: #fff; font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: .03em; padding: .4rem .7rem; border-radius: 999px;
  pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.device-caption {
  margin-top: .85rem; font-size: .84rem; color: var(--ink-mute); max-width: 46ch;
}
.device-caption strong { color: var(--ink-soft); }

/* =============================================================
   7. Cards & components
   ============================================================= */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem;
}

/* Contraste conceptual */
.contrast-grid { display: grid; gap: 1.1rem; }
.contrast-card { padding: 1.9rem 1.7rem 2.1rem; }
.contrast-card h3 {
  font-size: 1.05rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .03em;
  margin-bottom: 1.1rem; display: flex; align-items: center; gap: .55rem;
}
.contrast-card.is-before { background: var(--bg-2); }
.contrast-card.is-before h3::before { content: "—"; color: var(--ink-mute); }
.contrast-card.is-after { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.contrast-card.is-after h3 { color: #fff; }
.contrast-card.is-after h3::before { content: "✓"; color: var(--accent-2); }
.contrast-card ul { display: flex; flex-direction: column; gap: .7rem; }
.contrast-card li { display: flex; gap: .6rem; font-size: .96rem; }
.contrast-card.is-before li { color: var(--ink-soft); }
.contrast-card.is-after li { color: rgba(242,240,235,.88); }
.contrast-card li::before { content: "×"; color: var(--ink-mute); font-weight: 700; flex-shrink: 0; }
.contrast-card.is-after li::before { content: "✓"; color: var(--accent-2); }

/* Feature / competence grid */
.feature-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-item { background: var(--paper); padding: 1.5rem 1.4rem; }
.feature-item .num { font-family: var(--font-mono); font-size: .72rem; color: var(--accent); font-weight: 700; }
.feature-item h4 { font-size: 1.02rem; font-weight: 600; margin-top: .6rem; font-family: var(--font-body); }
.feature-item p { font-size: .9rem; color: var(--ink-mute); margin-top: .4rem; }

/* Process */
.process-list { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.process-step { background: var(--paper); display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem 1.5rem; align-items: start; }
.process-step .step-num {
  font-family: var(--font-mono); font-size: .85rem; color: var(--accent); font-weight: 700;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
}
.process-step h4 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); }
.process-step p { font-size: .9rem; color: var(--ink-mute); margin-top: .3rem; }

/* Tabla comparativa de precios */
.compare-mobile-summary { display: none; gap: .6rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.compare-chip {
  font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  padding: .5rem .85rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-soft);
}
.compare-chip.is-pro { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.compare-table-outer { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare-table thead th { text-align: left; padding: 1.5rem 1.4rem 1.2rem; vertical-align: bottom; border-bottom: 1px solid var(--line); }
.compare-feature-col {
  width: 32%; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase;
  letter-spacing: .05em; color: var(--ink-mute); vertical-align: bottom;
}
.compare-pro-col, .compare-essential-col { text-align: center !important; }
.compare-pro-col { background: var(--accent-soft); }
.compare-badge {
  display: inline-block; font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase;
  letter-spacing: .04em; background: var(--accent); color: #fff; padding: .3rem .65rem;
  border-radius: 999px; margin-bottom: .7rem;
}
.compare-plan-name { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.compare-price { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; margin-top: .2rem; }
.compare-unit { display: block; font-size: .74rem; color: var(--ink-mute); margin-top: .1rem; font-weight: 400; }

.compare-table tbody th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink-soft); }
.compare-table tbody td, .compare-table tbody th { padding: .85rem 1.4rem; border-bottom: 1px solid var(--line); }
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: 0; }
.compare-table tbody td { text-align: center; }
.compare-table tbody td.is-pro-col { background: var(--accent-soft); font-weight: 600; color: var(--ink); }
.compare-table tbody td.is-empty { color: var(--ink-mute); }

@media (max-width: 719px) {
  .compare-mobile-summary { display: flex; }
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table tbody tr { padding: .95rem 1.15rem; border-bottom: 1px solid var(--line); }
  .compare-table tbody th[scope="row"] { border: 0; padding: 0 0 .55rem; font-weight: 600; color: var(--ink); }
  .compare-table tbody td { display: flex; justify-content: space-between; align-items: center; border: 0; padding: .3rem 0; text-align: right; }
  .compare-table tbody td::before {
    content: attr(data-label); font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase;
    letter-spacing: .04em; color: var(--ink-mute);
  }
  .compare-table tbody td.is-pro-col { background: none; padding-inline: 0; }
}

/* Offer / scarcity box */
.offer-box {
  border: 1.5px solid var(--accent); border-radius: var(--radius-lg);
  padding: 2rem 1.9rem; background: var(--accent-soft);
  display: grid; gap: 1.6rem;
}
.offer-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 1.6rem; }
.offer-old { font-family: var(--font-mono); font-size: .95rem; color: var(--ink-mute); }
.offer-old .num { text-decoration: line-through; }
.offer-new { display: flex; align-items: baseline; gap: .5rem; }
.offer-new .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--accent); }
.offer-new .label { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.offer-slots {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  font-family: var(--font-mono); font-size: .82rem; background: var(--paper); border: 1px solid var(--line);
  padding: .5rem .9rem; border-radius: 999px;
}
.offer-slots .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.offer-note { font-size: .92rem; color: var(--ink-soft); max-width: 60ch; }
.offer-plan-tag {
  display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: .68rem;
  text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--ink);
  padding: .3rem .65rem; border-radius: 999px; margin-bottom: .4rem;
}
.offer-clarify { font-size: .92rem; font-weight: 600; color: var(--ink); max-width: 60ch; }

/* Payment / risk table */
.payment-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.payment-table th, .payment-table td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); }
.payment-table thead th { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-mute); font-weight: 600; }
.payment-table tbody tr:last-child td { border-bottom: 0; }
.payment-table td.num { font-family: var(--font-mono); font-weight: 600; }

/* Diagnostic checklist (static) */
.diagnostic-list { display: grid; gap: .9rem; }
.diagnostic-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.diagnostic-item .check {
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .8rem; flex-shrink: 0; margin-top: .1rem;
}
.diagnostic-item p { font-size: .96rem; color: var(--ink-soft); }
.diagnostic-outcome {
  margin-top: 1.6rem; padding: 1.5rem 1.6rem; border-radius: var(--radius);
  background: var(--ink); color: var(--bg); font-size: 1.02rem;
}
.diagnostic-outcome strong { color: #fff; }

/* Addon cards */
.addon-grid { display: grid; gap: 1.1rem; }
.addon-card { display: flex; flex-direction: column; gap: .7rem; }
.addon-card .addon-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.addon-card h4 { font-size: 1.02rem; font-weight: 600; font-family: var(--font-body); }
.addon-card .addon-price { font-family: var(--font-mono); font-weight: 700; color: var(--accent); white-space: nowrap; }
.addon-card p { font-size: .9rem; color: var(--ink-mute); }
.addon-card .badge-optional {
  font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-mute); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .55rem; align-self: flex-start;
}

/* FAQ (native details/summary — cero JS) */
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 600; font-size: .98rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.2rem; color: var(--accent);
  transition: transform .3s var(--ease-out); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 1.3rem 1.3rem; color: var(--ink-mute); font-size: .94rem; max-width: 62ch; }

/* Casos reales — preparado, oculto */
.casos-reales[hidden] { display: none; }

/* Contact form */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
.contact-form { display: grid; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
  font: inherit; font-size: .95rem; padding: .8rem .9rem; border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink);
  transition: border-color .3s var(--ease-out);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea { resize: vertical; min-height: 100px; }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-info-item { display: flex; flex-direction: column; gap: .3rem; }
.contact-info-item span.label { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-mute); }
.contact-info-item a, .contact-info-item p { font-size: 1.02rem; font-weight: 500; }

/* WhatsApp floating button (mobile) */
.wa-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 250;
  display: flex; align-items: center; gap: .55rem;
  background: var(--accent); color: #fff; border-radius: 999px;
  padding: .85rem 1.1rem; box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: .88rem;
  transition: transform .3s var(--ease-out);
}
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab svg { width: 18px; height: 18px; }

/* Footer */
.footer { padding-block: 3rem 2.2rem; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-direction: column; gap: 2rem; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.15rem; }
.footer-brand p { font-size: .88rem; color: var(--ink-mute); margin-top: .5rem; max-width: 40ch; }
.footer-cols { display: grid; gap: 1.8rem; grid-template-columns: repeat(2, 1fr); }
.footer-col h5 { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-mute); margin-bottom: .8rem; }
.footer-col a, .footer-col p { display: block; font-size: .88rem; color: var(--ink-soft); margin-bottom: .5rem; }
.footer-bottom { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; font-size: .78rem; color: var(--ink-mute); }

/* =============================================================
   8. Hero
   ============================================================= */
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); position: relative; overflow: visible; }
.hero-inner { display: grid; gap: clamp(2.5rem, 6vw, 3.5rem); align-items: center; }
.hero-eyebrow { margin-bottom: 1.1rem; }
.hero-title { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 620; max-width: 15ch; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 1.3rem; font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; line-height: 1.55; }
.hero-actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-meta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-visual { position: relative; }

/* Halo decorativo detrás del visual */
.section-halo {
  position: absolute; inset: -20% -10% -10% -10%; z-index: -1;
  background: radial-gradient(45% 45% at 60% 30%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

/* =============================================================
   9. Reveal (scroll) — sin librerías
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
html:not(.is-ready) .reveal { opacity: 1; transform: none; } /* si JS no llega a boot, no se pierde contenido */

/* =============================================================
   10. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .contrast-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1.2fr .8fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-burger { display: none; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .process-list { grid-template-columns: repeat(5, 1fr); }
  .process-step { grid-template-columns: 1fr; text-align: left; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .offer-price-row { align-items: center; }
}
@media (min-width: 1280px) {
  .hero-title { max-width: 17ch; }
}

/* =============================================================
   11. Reduced-motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition-duration: .01s; }
}
