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

:root {
  --bg:      #0C0C0C;
  --surface: #141414;
  --surface2:#1C1C1C;
  --border:  #262626;
  --border2: #363636;

  /* Copper — human judgment, authority, signature */
  --copper:  #C8783E;
  --copper2: #9E5828;
  --copper3: #E89A5C;
  --copper-bg: rgba(200,120,62,0.07);
  --copper-border: rgba(200,120,62,0.2);

  /* Bright/clinical — AI, automated, always-on */
  --ai:      #F0EDE6;
  --ai2:     #C8C4BC;
  --ai-bg:   rgba(240,237,230,0.05);
  --ai-border: rgba(240,237,230,0.15);

  --white:   #EDE8DF;
  --muted:   #857F79;
  --muted2:  #8F8882;
  --display: 'Barlow Condensed', sans-serif;
  --body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --nav-h:   61px;
  --focus:   2px solid var(--copper3);
}

/* ── FOCO DE TECLADO — WCAG 2.4.7 ──
   El reset de arriba no toca outline, pero los navegadores lo dibujan sobre el
   borde del elemento y sobre fondo oscuro casi no se ve. Esto lo hace explícito.
   :focus-visible y no :focus: el anillo aparece al navegar con teclado, no al
   hacer click. Sin esto el sitio es inoperable sin mouse. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 64px; }
section { padding: 120px 0; border-bottom: 1px solid var(--border); }

/* ── EYEBROW — editorial ── */
.eyebrow {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 24px;
  display: block;
}

/* ── DISPLAY HEADINGS ── */
h2 {
  font-family: var(--display);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.0;
  text-transform: uppercase;
  margin-bottom: 28px;
}

h2 em { font-style: normal; color: var(--copper); }

.lead {
  font-size: 18px;
  font-weight: 400;
  color: var(--muted2);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 64px;
}

/* ── HERO ── */
.hero {
  /* El nav es sticky y ocupa layout: descontarlo mantiene el hero en un viewport exacto. */
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

/* Geometric grid accent — architectural, no radial blobs */
.hero-grid {
  position: absolute;
  top: 0; right: 0;
  width: 520px; height: 100%;
  opacity: 0.03;
  background-image:
    linear-gradient(var(--white) 1px, transparent 1px),
    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Single copper line — tension mark */
.hero-mark {
  position: absolute;
  top: 0; right: 200px;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent 0%, var(--copper) 30%, var(--copper) 70%, transparent 100%);
  opacity: 0.2;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 128px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 900px;
  margin-bottom: 40px;
  position: relative;
}

.hero h1 em { font-style: normal; color: var(--copper); }

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--muted2);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 56px;
  position: relative;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  position: relative;
}

.btn-primary {
  display: inline-block;
  background: var(--copper);
  color: var(--bg);
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--copper3); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--white); }

.btn-ghost::after {
  content: '↓';
  font-size: 16px;
  opacity: 0.6;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 12px;
  color: var(--muted);
  width: fit-content;
  position: relative;
}

.hero-badge span { color: var(--ai); font-weight: 600; }

.pulse {
  width: 7px; height: 7px;
  background: var(--ai);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.6); }
}

/* ── PAIN SECTION ── */

/* Label row above pain grid */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

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

.section-label-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 0;
}

.pain-card {
  background: var(--bg);
  padding: 32px 24px;
  position: relative;
  transition: background 0.2s;
}

.pain-card:hover { background: var(--surface); }

/* Top accent line instead of border-left */
.pain-card::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 20px;
}

.pain-card.org::before { background: var(--copper); }
.pain-card.tech::before { background: var(--ai2); }

.pain-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.pain-card p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ── BRIDGE ── */
.bridge {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  margin: 64px 0;
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 32px;
  align-items: start;
}

.bridge-rule { background: var(--copper); border-radius: 2px; }

.bridge-text {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted2);
  line-height: 1.8;
  max-width: 720px;
}

.bridge-text strong { color: var(--white); font-weight: 600; }

/* ══════════════════════════════════════════
   CYCLE v3 — Architectural split
   Two columns with explicit handoff.
   No cards: structured as a document.
══════════════════════════════════════════ */

.cycle-v3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  margin-bottom: 80px;
}

.cycle-col {
  padding: 48px 40px;
}

.cycle-col.ai-col {
  border-right: 1px solid var(--border);
  background: var(--ai-bg);
}

.cycle-col.human-col {
  background: var(--copper-bg);
}

.col-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.col-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.ai-col .col-tag { color: var(--ai2); }
.human-col .col-tag { color: var(--copper); }

.col-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.ai-col .col-title { color: var(--ai); }
.human-col .col-title { color: var(--copper3); }

.col-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.03em;
}

.cycle-step-v3 {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}

.cycle-step-v3:last-child { border-bottom: none; padding-bottom: 0; }

.step-n {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 3px;
}

.ai-col .step-n { color: var(--ai2); }
.human-col .step-n { color: var(--copper); }

.step-v3-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.step-v3-body p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* Handoff bar between the two columns */
.cycle-handoff-bar {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.handoff-arrow-h {
  font-size: 18px;
  color: var(--copper);
  flex-shrink: 0;
}

.handoff-bar-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted2);
  letter-spacing: 0.04em;
}

.handoff-bar-text strong { color: var(--white); }

.handoff-divider {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── STAT ROW ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.stat {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
}

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

.stat .num {
  font-family: var(--display);
  font-size: 72px;
  font-weight: 900;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.stat .label { font-size: 13px; color: var(--muted); max-width: 180px; line-height: 1.55; }

.credential-line {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
}

/* ── SERVICE — list format, not cards ── */
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 8px;
}

.service-item {
  padding: 36px 40px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
  transition: background 0.2s;
}

.service-item:hover { background: var(--surface); }
.service-item:nth-child(2n) { border-right: none; }
.service-item:nth-last-child(-n+2) { border-bottom: none; }

.service-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.service-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.service-item p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── CASES ── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 8px;
}

.case-card {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.2s;
}

.case-card:hover { background: var(--surface); }

.case-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
}

.case-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.case-card h3 em {
  font-style: normal;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  display: block;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 6px;
  line-height: 1.5;
}

.case-symptom {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 16px;
  border-left: 2px solid var(--border2);
}

.case-result {
  border: 1px solid var(--copper-border);
  background: var(--copper-bg);
  border-radius: 2px;
  padding: 16px 18px;
  font-size: 12.5px;
  color: var(--muted2);
  line-height: 1.7;
}

.case-result strong { color: var(--white); }

.case-quote {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  line-height: 1.6;
}

/* ── TIERS ── */
.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}

.tier {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
  transition: background 0.2s;
}

.tier:hover { background: var(--surface); }

.tier.featured {
  background: var(--surface);
}

.tier.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper2));
}

.tier-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.tier.featured .tier-tag { color: var(--copper); }

.tier h3 {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.tier .desc {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 420px;
}

.tier .price {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 900;
  color: var(--copper);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1;
}

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

.tier ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.tier ul li {
  font-size: 14px;
  color: var(--muted2);
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}

.tier ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-size: 12px;
}

/* ── CTA + FORM ── */
.cta-outer {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.cta-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 80px;
}

.cta-text .eyebrow { margin-bottom: 16px; }
.cta-text h2 { margin-bottom: 16px; }
.cta-text p {
  font-size: 17px;
  color: var(--muted2);
  line-height: 1.75;
}

/* Form */
.cta-form { display: flex; flex-direction: column; gap: 12px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--border2);
  color: var(--white);
  font-family: var(--body);
  font-size: 14px;
  padding: 13px 16px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }

.form-field input:focus,
.form-field textarea:focus { border-color: var(--copper); }

.btn {
  display: inline-block;
  background: var(--copper);
  color: var(--bg);
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
}

.btn:hover:not(:disabled) { background: var(--copper3); transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.cta-note {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.form-feedback {
  padding: 14px 16px;
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.5;
  display: none;
}

.form-feedback.success {
  background: var(--copper-bg);
  border: 1px solid var(--copper-border);
  color: var(--copper3);
  display: block;
}

.form-feedback.error {
  background: rgba(200,80,60,0.07);
  border: 1px solid rgba(200,80,60,0.2);
  color: #E0907A;
  display: block;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

footer .brand {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

footer .brand strong { color: var(--copper); font-weight: 700; }
footer .meta { font-size: 11px; color: var(--border2); letter-spacing: 0.05em; }

footer .links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

footer .links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

footer .links a:hover { color: var(--copper3); }

/* ══════════════════════════════════════════════════════════════
   NAV — plano de sitio. Regla horizontal + wordmark, sin ornamento.
   ══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 64px;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-mark {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.nav-mark::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--copper);
  border-radius: 1px;
  transform: translateY(-2px);
}

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

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted2);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a[aria-current="page"] { color: var(--white); border-bottom-color: var(--copper); }

.nav-cta {
  background: var(--copper);
  color: var(--bg) !important;
  font-weight: 700;
  padding: 10px 20px !important;
  border-radius: 2px;
  border-bottom: none !important;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--copper3); }

/* ══════════════════════════════════════════════════════════════
   INSIGHTS — índice
   ══════════════════════════════════════════════════════════════ */
.page-head {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--border);
}

.page-head h1 {
  font-family: var(--display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.page-head h1 em { font-style: normal; color: var(--copper); }
.page-head .lead { margin-bottom: 0; }

.post-list {
  list-style: none;
  padding: 72px 0 120px;
  display: grid;
  gap: 2px;
}

.post-card {
  position: relative;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 32px 36px 32px 40px;
  transition: background 0.2s, border-color 0.2s;
}

.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--copper);
  opacity: 0.45;
  transition: opacity 0.2s;
}

.post-card:hover { background: var(--surface); border-color: var(--border2); }
.post-card:hover::before { opacity: 1; }

.post-card h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 14px;
}

.post-card h2 a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.post-card h2 a:hover { color: var(--copper3); }

.post-card .excerpt {
  font-size: 15px;
  color: var(--muted2);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 22px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-meta time { color: var(--copper); font-weight: 600; }
.post-meta .sep { color: var(--border2); }

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.tag-chip {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ai2);
  background: var(--ai-bg);
  border: 1px solid var(--ai-border);
  border-radius: 2px;
  padding: 4px 10px;
}

.post-empty {
  padding: 96px 0 140px;
  font-size: 16px;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════════════════
   INSIGHTS — nota individual
   ══════════════════════════════════════════════════════════════ */
.post {
  max-width: 720px;
  padding: 88px 0 0;
}

.post-header { margin-bottom: 56px; }

.post-header h1 {
  font-family: var(--display);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.post-header h1 em { font-style: normal; color: var(--copper); }

.post-header .excerpt {
  font-size: 19px;
  color: var(--muted2);
  line-height: 1.75;
  padding-left: 20px;
  border-left: 2px solid var(--copper);
  margin-bottom: 28px;
}

/* Cuerpo renderizado desde markdown — todo derivado de los tokens */
.prose { padding-bottom: 96px; }

.prose > * + * { margin-top: 24px; }

.prose h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  margin: 64px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.prose h2 em { font-style: normal; color: var(--copper); }

.prose h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--white);
  margin-top: 40px;
}

.prose p { font-size: 17px; line-height: 1.85; color: var(--ai2); }
.prose strong { color: var(--white); font-weight: 700; }
.prose em { color: var(--copper3); font-style: italic; }

.prose a {
  color: var(--copper3);
  text-decoration: none;
  border-bottom: 1px solid var(--copper-border);
  transition: border-color 0.2s;
}

.prose a:hover { border-bottom-color: var(--copper3); }

.prose ul, .prose ol { padding-left: 22px; }
.prose li { font-size: 17px; line-height: 1.85; color: var(--ai2); margin-top: 10px; }
.prose li::marker { color: var(--copper); }

.prose blockquote {
  border-left: 2px solid var(--copper);
  padding: 4px 0 4px 24px;
  margin-top: 40px;
}

.prose blockquote p {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
}

.prose code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 14px;
  color: var(--copper3);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2px 6px;
}

.prose pre {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 20px 24px;
  overflow-x: auto;
}

.prose pre code { background: none; border: none; padding: 0; color: var(--ai2); }

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border: 1px solid var(--border); }
.prose th {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  background: var(--surface2);
}
.prose td { color: var(--ai2); }

.prose .table-scroll { overflow-x: auto; }

/* CTA de cierre de nota — deriva de .highlight-box, no lo duplica */
.post-cta {
  border: 1px solid var(--copper-border);
  background: var(--copper-bg);
  border-radius: 2px;
  padding: 44px 44px 48px;
  margin-bottom: 120px;
}

.post-cta h2 {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.post-cta h2 em { font-style: normal; color: var(--copper); }
.post-cta p { font-size: 16px; color: var(--muted2); line-height: 1.8; margin-bottom: 32px; max-width: 520px; }

.post-nav {
  border-top: 1px solid var(--border);
  padding: 32px 0 120px;
}

.post-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted2);
  text-decoration: none;
  transition: color 0.2s;
}

.post-nav a:hover { color: var(--copper3); }

/* ── ANIMATIONS ── */
@media (prefers-reduced-motion: no-preference) {
  .anim {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .anim.from-left  { transform: translateX(-32px); }
  .anim.from-right { transform: translateX(32px); }
  .anim.visible    { opacity: 1; transform: none; }
  .anim.d1.visible { transition-delay: 0.09s; }
  .anim.d2.visible { transition-delay: 0.18s; }
  .anim.d3.visible { transition-delay: 0.27s; }
  .anim.d4.visible { transition-delay: 0.36s; }
}

/* ══════════════════════════════════════════════════════════════
   IMPRESIÓN — esta página se reenvía y se convierte a PDF para
   comités. Sin esto sale fondo negro a página completa: se
   descarta o se imprime ilegible. El cobre se conserva como
   único acento; todo lo demás pasa a tinta sobre blanco.
   ══════════════════════════════════════════════════════════════ */
@media print {
  @page { margin: 18mm 16mm; }

  html, body { background: #fff !important; color: #141414 !important; }

  /* Si el observer no llegó a marcar .visible, el contenido igual se imprime. */
  .anim { opacity: 1 !important; transform: none !important; }

  /* Chrome de pantalla: no aporta nada en papel. */
  .nav, .cta-form, .hero-grid, .hero-mark, .pulse,
  .post-nav, .btn, .btn-primary, .btn-ghost, .nav-cta { display: none !important; }

  .hero { min-height: auto !important; padding: 0 0 24pt !important; }
  section, .wrap, .cta-section, footer, .post, .hero {
    padding-left: 0 !important; padding-right: 0 !important; max-width: none !important;
  }
  section { padding-top: 24pt !important; padding-bottom: 24pt !important; break-inside: avoid; }

  h1, h2, h3, h4 { color: #141414 !important; break-after: avoid; }
  h1 em, h2 em, .eyebrow, .post-meta time, .stat .num, .tier .price, .col-tag {
    color: #9E5828 !important;
  }
  p, li, .lead, .prose p, .prose li, .case-symptom, .pain-card p { color: #3A3A3A !important; }

  .pain-card, .case-card, .tier, .post-card, .cta-outer, .post-cta, .cycle-col {
    background: #fff !important;
  }
  .pain-card, .case-card, .tier, .post-card, .stat, .service-item, .cycle-col, .post-cta,
  .pain-grid, .case-grid, .tiers, .stat-row, .service-list, .cycle-v3 {
    border-color: #C9C4BC !important;
  }

  /* En papel un link es texto muerto si no se ve a dónde va. */
  .prose a { color: #9E5828 !important; border-bottom: none !important; }
  .prose a[href^="http"]::after {
    content: ' (' attr(href) ')';
    font-size: 9pt; color: #6B6560; word-break: break-all;
  }
  .prose p, .prose li { font-size: 11.5pt; line-height: 1.6; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .service-item { border-right: none; }
  .service-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .service-item:last-child { border-bottom: none; }
  .cta-section { grid-template-columns: 1fr; gap: 56px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero, .wrap, footer, .cta-section, .nav { padding-left: 24px; padding-right: 24px; }
  .nav { gap: 16px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.06em; }
  .nav-links .nav-hide-sm { display: none; }
  .nav-cta { padding: 9px 14px !important; }
  .post-card { padding: 26px 24px 26px 28px; }
  .post-list { padding-top: 48px; }
  .post-header .excerpt { font-size: 17px; }
  .prose p, .prose li { font-size: 16px; }
  .post-cta { padding: 32px 26px 36px; }
  .cycle-v3 { grid-template-columns: 1fr; }
  .cycle-col.ai-col { border-right: none; border-bottom: 1px solid var(--border); }
  .tiers { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .bridge { grid-template-columns: 4px 1fr; }
}
