/* ==========================================================================
   SISTEMA DE DISENO — cambia la identidad editando SOLO este bloque :root
   ========================================================================== */
:root {
  /* Paleta "Cobalto y lima": tinta, cobalto (--c-brand*), papel y lima solo en botones de accion.
     Todas las parejas de texto verificadas en WCAG AA (ver decisiones.md). */
  --c-ink: #0d1020;
  --c-ink-2: #1b2040;
  --c-brand: #1530b8;
  --c-brand-soft: #e1e6fb;
  --c-brand-tint: #b6c3f6;
  --c-paper: #f4f5fb;
  --c-white: #ffffff;
  --c-muted: #4a4f68;
  --c-on-dark: #ffffff;
  --c-on-dark-muted: #b9bfdc;
  --c-cta: #c8f031;
  --c-cta-hover: #d9ff55;
  --c-cta-ink: #0d1020;
  --c-footer: #080a16;
  --c-privacy: #151a36;

  /* Tipografia: cuerpo con fuentes del sistema; UNA fuente autohospedada solo para titulares */
  --font-display: "Bricolage Grotesque", "Bricolage Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.0625rem;                          /* 17px */
  --fs-small: 0.9375rem;
  --fs-lead: clamp(1.1875rem, 1rem + 0.9vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.9rem, 1.2rem + 3vw, 3.25rem);
  --fs-h1: clamp(2.3rem, 1.3rem + 4.2vw, 4.25rem);
  --lh-body: 1.6;

  /* Espaciado */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: 4rem;
  --sp-section: clamp(4rem, 3rem + 6vw, 8.5rem);
  --gutter: clamp(1.25rem, 0.5rem + 3.5vw, 3rem);
  --max: 72rem;

  /* Radios */
  --r-btn: 999px;
  --r-box: 0.5rem;
}

/* Titulares: Bricolage Grotesque (variable, OFL), subconjunto latin, woff2 propio. font-display: swap.
   "Bricolage Fallback" ajusta Arial a sus metricas para que el cambio de fuente no mueva el diseno. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bricolage Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 100%; ascent-override: 93%; descent-override: 27%; line-gap-override: 0%;
}

/* ICONS:START (generado por tools/make-icons.mjs; iconos Font Awesome Free, CC BY 4.0) */
:root {
  --m-arrow-right: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20512%20512%27%3E%3Cpath%20d%3D%27M502.6%20278.6c12.5-12.5%2012.5-32.8%200-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3%200s-12.5%2032.8%200%2045.3L402.7%20224%2032%20224c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032l370.7%200-105.4%20105.4c-12.5%2012.5-12.5%2032.8%200%2045.3s32.8%2012.5%2045.3%200l160-160z%27%2F%3E%3C%2Fsvg%3E");
  --m-chevron-down: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20448%20512%27%3E%3Cpath%20d%3D%27M201.4%20406.6c12.5%2012.5%2032.8%2012.5%2045.3%200l192-192c12.5-12.5%2012.5-32.8%200-45.3s-32.8-12.5-45.3%200L224%20338.7%2054.6%20169.4c-12.5-12.5-32.8-12.5-45.3%200s-12.5%2032.8%200%2045.3l192%20192z%27%2F%3E%3C%2Fsvg%3E");
  --m-circle-check: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20512%20512%27%3E%3Cpath%20d%3D%27M256%20512a256%20256%200%201%201%200-512%20256%20256%200%201%201%200%20512zM374%20145.7c-10.7-7.8-25.7-5.4-33.5%205.3L221.1%20315.2%20169%20263.1c-9.4-9.4-24.6-9.4-33.9%200s-9.4%2024.6%200%2033.9l72%2072c5%205%2011.8%207.5%2018.8%207s13.4-4.1%2017.5-9.8L379.3%20179.2c7.8-10.7%205.4-25.7-5.3-33.5z%27%2F%3E%3C%2Fsvg%3E");
  --m-circle-xmark: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20512%20512%27%3E%3Cpath%20d%3D%27M256%20512a256%20256%200%201%200%200-512%20256%20256%200%201%200%200%20512zM167%20167c9.4-9.4%2024.6-9.4%2033.9%200l55%2055%2055-55c9.4-9.4%2024.6-9.4%2033.9%200s9.4%2024.6%200%2033.9l-55%2055%2055%2055c9.4%209.4%209.4%2024.6%200%2033.9s-24.6%209.4-33.9%200l-55-55-55%2055c-9.4%209.4-24.6%209.4-33.9%200s-9.4-24.6%200-33.9l55-55-55-55c-9.4-9.4-9.4-24.6%200-33.9z%27%2F%3E%3C%2Fsvg%3E");
  --m-up-right-from-square: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20512%20512%27%3E%3Cpath%20d%3D%27M290.4%2019.8C295.4%207.8%20307.1%200%20320%200L480%200c17.7%200%2032%2014.3%2032%2032l0%20160c0%2012.9-7.8%2024.6-19.8%2029.6s-25.7%202.2-34.9-6.9L400%20157.3%20246.6%20310.6c-12.5%2012.5-32.8%2012.5-45.3%200s-12.5-32.8%200-45.3L354.7%20112%20297.4%2054.6c-9.2-9.2-11.9-22.9-6.9-34.9zM0%20176c0-44.2%2035.8-80%2080-80l80%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032l-80%200c-8.8%200-16%207.2-16%2016l0%20256c0%208.8%207.2%2016%2016%2016l256%200c8.8%200%2016-7.2%2016-16l0-80c0-17.7%2014.3-32%2032-32s32%2014.3%2032%2032l0%2080c0%2044.2-35.8%2080-80%2080L80%20512c-44.2%200-80-35.8-80-80L0%20176z%27%2F%3E%3C%2Fsvg%3E");
  --m-bars: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20448%20512%27%3E%3Cpath%20d%3D%27M0%2096C0%2078.3%2014.3%2064%2032%2064l384%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032L32%20128C14.3%20128%200%20113.7%200%2096zM0%20256c0-17.7%2014.3-32%2032-32l384%200c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032L32%20288c-17.7%200-32-14.3-32-32zM448%20416c0%2017.7-14.3%2032-32%2032L32%20448c-17.7%200-32-14.3-32-32s14.3-32%2032-32l384%200c17.7%200%2032%2014.3%2032%2032z%27%2F%3E%3C%2Fsvg%3E");
  --m-xmark: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20384%20512%27%3E%3Cpath%20d%3D%27M55.1%2073.4c-12.5-12.5-32.8-12.5-45.3%200s-12.5%2032.8%200%2045.3L147.2%20256%209.9%20393.4c-12.5%2012.5-12.5%2032.8%200%2045.3s32.8%2012.5%2045.3%200L192.5%20301.3%20329.9%20438.6c12.5%2012.5%2032.8%2012.5%2045.3%200s12.5-32.8%200-45.3L237.8%20256%20375.1%20118.6c12.5-12.5%2012.5-32.8%200-45.3s-32.8-12.5-45.3%200L192.5%20210.7%2055.1%2073.4z%27%2F%3E%3C%2Fsvg%3E");
}
/* ICONS:END */

/* ========================================================================== Iconos
   Font Awesome Free (CC BY 4.0). Sprite inline en el HTML: <svg class="ico"><use href="#i-nombre"/></svg>.
   Mascaras (--m-*): flecha de botones, chevron de preguntas, check/equis y enlace externo. */
.ico { display: inline-block; width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -0.17em; margin-right: 0.55rem; }
.pain-list h3 .ico, .solve h3 .ico, .rate h3 .ico, .price-extra h3 .ico { color: var(--c-brand); }
.fact .ico { display: block; width: 1.75rem; height: 1.75rem; margin: 0 0 var(--sp-2); color: var(--c-brand); }
.btn::after {
  content: ""; flex: none; width: 1.05em; height: 1.05em; margin-left: 0.6rem; background: currentColor;
  -webkit-mask: var(--m-arrow-right) center / contain no-repeat; mask: var(--m-arrow-right) center / contain no-repeat;
}
.links a::after {
  content: ""; display: inline-block; width: 0.8em; height: 0.8em; margin-left: 0.4rem; background: currentColor;
  -webkit-mask: var(--m-up-right-from-square) center / contain no-repeat; mask: var(--m-up-right-from-square) center / contain no-repeat;
}

/* ========================================================================== Base */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; /* alto de la barra fija */ }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-paper);
  padding-bottom: 5rem; /* espacio para el CTA fijo en movil */
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, .brand, .price-big, .price-mid, .fact strong, .footer-name, .promise p, .steps li::before { font-family: var(--font-display); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 var(--sp-2); text-wrap: pretty; }
/* Tracking segun tamano: titulares apretados, texto pequeno un poco abierto */
h1, h2, h3 { font-optical-sizing: auto; }
.cta-note, .price-note, .fit li::before, .draft-flag, .site-footer, .case dt { letter-spacing: 0.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .sticky-cta :focus-visible { outline-color: var(--c-white); }
.skip {
  position: absolute; left: var(--sp-2); top: -4rem; z-index: 100;
  background: var(--c-white); color: var(--c-ink); padding: 0.6rem 1rem; border-radius: var(--r-box);
}
.skip:focus { top: var(--sp-2); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sp-section); }
.on-dark { background: var(--c-ink); color: var(--c-on-dark); }
.on-dark .muted { color: var(--c-on-dark-muted); }
.muted { color: var(--c-muted); }
.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 38rem; }
.section-head { margin-bottom: clamp(2rem, 1rem + 4vw, 4rem); }
.section-head p { margin-top: var(--sp-2); font-size: var(--fs-lead); line-height: 1.45; color: var(--c-muted); }
.on-dark .section-head p { color: var(--c-on-dark-muted); }

/* ========================================================================== Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 3.25rem; padding: 0.85rem 1.75rem;
  font: inherit; font-weight: 800; font-size: 1.0625rem; text-decoration: none;
  color: var(--c-cta-ink); background: var(--c-cta);
  border: 0; border-radius: var(--r-btn); cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--c-cta-hover); }
/* Respuesta inmediata al pulsar (no al soltar) */
.btn:active { transform: scale(0.97); transition-duration: 0.08s; }
.currency button:active, .faq summary:active { opacity: 0.7; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* Secundario (WhatsApp): solo contorno, sin lima. El lima queda exclusivo del CTA de agendar. */
.btn--ghost { background: transparent; color: var(--c-paper); box-shadow: inset 0 0 0 2px var(--c-paper); }
.btn--ghost:hover { background: var(--c-ink-2); }
.btn--ghost::after { display: none; }
.btn--sm { min-height: 2.5rem; padding: 0.4rem 1.1rem; font-size: 0.95rem; }
/* Pantallas angostas: que el texto del boton y su flecha quepan en una sola linea */
@media (max-width: 26rem) { .btn { font-size: 0.95rem; padding-inline: 1.1rem; } .btn::after { margin-left: 0.45rem; } }
.cta-note { margin: var(--sp-2) 0 0; font-size: var(--fs-small); color: var(--c-on-dark-muted); }

/* ========================================================================== Cabecera */
/* Barra superior fija al hacer scroll (fondo solido: se separa del contenido por tono, sin sombra) */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--c-ink); color: var(--c-on-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: var(--sp-2); }
.brand { font-weight: 800; letter-spacing: -0.01em; text-decoration: none; font-size: 1.125rem; }
.nav { display: none; align-items: center; gap: var(--sp-3); }
.nav a:not(.btn) { text-decoration: none; font-size: var(--fs-small); color: var(--c-on-dark-muted); }
.nav a:not(.btn):hover { color: var(--c-white); text-decoration: underline; }

/* Menu movil (<details> nativo): hamburguesa que se vuelve X al abrir; el panel cuelga de la barra fija */
.menu { display: block; }
.menu summary {
  list-style: none; cursor: pointer; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; margin-right: -0.6rem; border-radius: var(--r-box);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-ico {
  width: 1.5rem; height: 1.5rem; background: var(--c-white);
  -webkit-mask: var(--m-bars) center / contain no-repeat; mask: var(--m-bars) center / contain no-repeat;
}
.menu[open] .menu-ico { -webkit-mask-image: var(--m-xmark); mask-image: var(--m-xmark); }
.menu-panel {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 70;
  display: grid; gap: 0.25rem; padding: var(--sp-2) var(--gutter) var(--sp-3);
  background: var(--c-ink-2); max-height: calc(100vh - 4.25rem); max-height: calc(100dvh - 4.25rem); overflow-y: auto;
}
.menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 3rem; font-size: 1.125rem; font-weight: 700; text-decoration: none; color: var(--c-white); }
.menu-panel .btn { margin-top: var(--sp-1); width: 100%; }
/* Con el menu abierto el boton fijo de abajo sobra: ya hay un boton de agendar dentro del menu */
html:has(.menu[open]) .sticky-cta { visibility: hidden; }

/* ========================================================================== Hero */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 6.5rem) var(--sp-section); }
.hero__grid { display: grid; gap: var(--sp-4); }
.hero h1 { margin-bottom: var(--sp-3); font-size: clamp(2.1rem, 1.2rem + 4.1vw, 4rem); }
.hero .lead { margin-top: 0; color: var(--c-on-dark-muted); }
.hero-example { margin: calc(var(--sp-1) * -0.5) 0 var(--sp-2); max-width: 38rem; font-size: var(--fs-small); font-weight: 700; color: var(--c-paper); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-2); margin-top: var(--sp-3); }
.hero__cta .btn { margin: 0; }
/* Firma con foto: va pegada al CTA (debajo de su nota) y es compacta para no empujarlo fuera del primer pantallazo */
.byline { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); }
.byline img { width: 4rem; height: 4rem; flex: none; border-radius: 50%; object-fit: cover; background: var(--c-brand); }
.byline p { margin: 0; line-height: 1.3; }
.byline strong, .byline span { display: block; }
.byline span { font-size: var(--fs-small); color: var(--c-on-dark-muted); }
.hero__side { display: grid; gap: var(--sp-3); align-self: end; }
.promise { background: var(--c-brand); color: var(--c-white); padding: clamp(1.25rem, 1rem + 2vw, 2rem); border-radius: var(--r-box); }
.promise p { margin: 0; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.promise p + p { margin-top: 0.25rem; color: var(--c-brand-tint); }

/* Visual antes / despues: HTML y CSS, ilustrativo (sin datos reales). Solo variables de la paleta. */
.ba { margin: 0; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-1); align-items: stretch; }
.ba__panel { background: var(--c-paper); color: var(--c-ink); border-radius: var(--r-box); padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ba__panel--before { transform: rotate(-1.2deg); background: var(--c-brand-soft); }
.ba__tag { margin: 0; font-size: 0.8125rem; font-weight: 800; line-height: 1.2; }
.sheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; flex: 1; align-content: start; }
.cell { min-height: 1.35rem; padding: 0.1rem 0.25rem; background: var(--c-white); border-radius: 2px; font-size: 0.75rem; line-height: 1.3; font-weight: 700; color: var(--c-muted); overflow: hidden; white-space: nowrap; display: flex; align-items: center; }
.cell--bar::before { content: ""; display: block; width: 70%; height: 0.4rem; background: var(--c-brand-tint); border-radius: 2px; }
.cell--wide { grid-column: span 2; }
.cell--wide::before { width: 40%; }
.cell--err { background: var(--c-ink); color: var(--c-paper); grid-column: span 2; }
.cell--txt { justify-content: flex-end; }
.report { display: grid; gap: 0.5rem; flex: 1; grid-template-rows: auto 1fr auto; }
.report__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.report__kpis span { height: 1.5rem; border-radius: 3px; background: var(--c-brand-soft); border-bottom: 3px solid var(--c-brand); }
.report__chart { display: flex; align-items: flex-end; gap: 6px; min-height: 4.5rem; padding: 0.5rem 0.5rem 0; background: var(--c-white); border-radius: 3px; }
.report__chart span { flex: 1; height: var(--h); background: var(--c-brand); border-radius: 2px 2px 0 0; }
.report__badge { margin: 0; align-self: start; padding: 0.15rem 0.6rem; border-radius: var(--r-btn); background: var(--c-ink); color: var(--c-paper); font-size: 0.75rem; font-weight: 700; line-height: 1.4; }
.ba figcaption { margin-top: var(--sp-1); font-size: 0.8125rem; color: var(--c-on-dark-muted); }
.final-wa { margin: var(--sp-3) 0 0; }

/* ========================================================================== Dolor */
/* Sin tarjetas: frases grandes sobre el papel; el icono y el espacio hacen el trabajo */
.pain-list { display: grid; gap: var(--sp-5); }
.pain-list h3 { margin-bottom: var(--sp-2); color: var(--c-ink); font-size: clamp(1.375rem, 0.95rem + 1.5vw, 1.75rem); line-height: 1.15; text-wrap: wrap; }
.pain-list p { margin: 0; color: var(--c-muted); font-size: 1.1875rem; }
.pain-close { margin-top: var(--sp-5); font-size: var(--fs-lead); font-weight: 700; }

/* ========================================================================== Pasos */
/* Campo cobalto; cada paso es una fila con el numeral enorme a la izquierda (sin tarjetas) */
.steps-field { background: var(--c-brand); color: var(--c-white); }
.steps-field .section-head h2 { color: var(--c-white); }
.steps { display: grid; gap: var(--sp-5); counter-reset: paso; }
.steps li {
  counter-increment: paso; display: grid; align-items: start;
  grid-template-columns: clamp(4.5rem, 3rem + 8vw, 9rem) 1fr; column-gap: var(--sp-3);
}
.steps li::before {
  content: counter(paso); grid-row: 1 / span 2;
  font-size: clamp(4rem, 2.5rem + 8vw, 8.5rem); line-height: 0.8; font-weight: 800; letter-spacing: -0.04em; color: var(--c-brand-tint);
}
.steps h3 { grid-column: 2; margin-bottom: var(--sp-1); color: var(--c-white); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.steps p { grid-column: 2; margin: 0; color: var(--c-brand-tint); font-size: 1.1875rem; }

/* ========================================================================== Que resuelvo */
.solve { display: grid; gap: var(--sp-4); }
/* Cada bloque en el tinte tenue de la marca para que se separe del papel sin bordes ni sombras */
.solve > div { background: var(--c-brand-soft); border-radius: var(--r-box); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.solve h3 { margin-bottom: var(--sp-2); }
.solve ul { display: grid; gap: 0.6rem; margin-top: var(--sp-2); }
.solve li { padding-left: 1.4rem; position: relative; }
.solve li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.6rem; height: 0.6rem; background: var(--c-brand); border-radius: 50%; }

/* ========================================================================== Precios */
.pricing { background: var(--c-white); }
.price-hero { background: var(--c-ink); color: var(--c-on-dark); border-radius: var(--r-box); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); display: grid; gap: var(--sp-3); }
.price-big { font-size: clamp(2.75rem, 1.5rem + 6vw, 5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-hero .btn { justify-self: start; }
.price-hero .muted { color: var(--c-on-dark-muted); }
.rates { display: grid; gap: var(--sp-2); margin-top: var(--sp-2); }
.rate { background: var(--c-paper); border-radius: var(--r-box); padding: var(--sp-3); }
.rate .price-mid { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--c-brand); margin: var(--sp-1) 0; }
.rate p { margin: 0; color: var(--c-muted); }
.packs { margin-top: var(--sp-4); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 28rem; }
caption { text-align: left; font-weight: 800; font-size: var(--fs-h3); padding-bottom: var(--sp-2); }
th, td { text-align: left; padding: 0.9rem 1rem; }
thead th { background: var(--c-ink); color: var(--c-white); font-weight: 700; }
tbody tr:nth-child(even) { background: var(--c-paper); }
tbody th { font-weight: 700; }
td strong { color: var(--c-brand); }
.price-extra { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); }
.price-extra > div { background: var(--c-brand-soft); border-radius: var(--r-box); padding: var(--sp-3); }
.price-extra p { margin: 0; }
.price-extra .price-mid { font-weight: 800; font-size: 1.5rem; color: var(--c-ink); margin: var(--sp-1) 0; }
.price-note { margin-top: var(--sp-3); color: var(--c-muted); }
.grp-row { display: block; }
.grp-k { font-weight: 800; color: var(--c-brand); }
.guarantee { display: flex; align-items: center; gap: 0.6rem; margin: var(--sp-3) 0 0; padding-block: var(--sp-2); font-size: 1.0625rem; border-block: 2px solid var(--c-brand-soft); }
.guarantee::before { content: ""; flex: none; width: 1.3rem; height: 1.3rem; background: var(--c-brand); -webkit-mask: var(--m-circle-check) center / contain no-repeat; mask: var(--m-circle-check) center / contain no-repeat; }
.guarantee a { font-weight: 700; color: var(--c-brand); white-space: nowrap; }

/* Moneda: cada precio trae su version COP y USD; html[data-currency] elige cual se ve */
.usd { display: none; }
html[data-currency="usd"] .cop { display: none; }
html[data-currency="usd"] .usd { display: inline; }
.currency { display: inline-flex; gap: 0.25rem; margin-top: var(--sp-3); padding: 0.25rem; background: var(--c-paper); border-radius: var(--r-btn); }
.currency button { font: inherit; font-weight: 700; font-size: var(--fs-small); min-height: 2.5rem; padding: 0.4rem 1.1rem; border: 0; border-radius: var(--r-btn); background: transparent; color: var(--c-muted); cursor: pointer; }
.currency button[aria-pressed="true"] { background: var(--c-ink); color: var(--c-white); }

/* ========================================================================== Para quien */
.fit { display: grid; gap: var(--sp-3); }
.fit > div { border-radius: var(--r-box); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.fit .yes { background: var(--c-brand-soft); }
.fit .no { background: var(--c-white); }
.fit h3 { margin-bottom: var(--sp-2); }
.fit ul { display: grid; gap: 0.75rem; }
.fit li { padding-left: 2rem; position: relative; }
.fit li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 1.2rem; height: 1.2rem; background: var(--c-brand);
  -webkit-mask: var(--m-circle-check) center / contain no-repeat; mask: var(--m-circle-check) center / contain no-repeat;
}
.fit .no li::before {
  background: var(--c-muted);
  -webkit-mask: var(--m-circle-xmark) center / contain no-repeat; mask: var(--m-circle-xmark) center / contain no-repeat;
}

/* ========================================================================== Sobre Germán */
.about { display: grid; gap: var(--sp-3); }
.bio-list { display: grid; gap: 0.5rem; margin: 0 0 var(--sp-2); max-width: 40rem; }
.bio-list li { position: relative; padding-left: 1.4rem; color: var(--c-white); font-size: var(--fs-lead); line-height: 1.45; }
.bio-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--c-brand-tint); }
.about h2 { margin-bottom: var(--sp-3); }
.portrait { background: var(--c-brand); border-radius: var(--r-box); aspect-ratio: 4 / 5; max-width: 22rem; width: 100%; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.fact span a { color: var(--c-brand); font-weight: 700; }
.about p { max-width: 40rem; color: var(--c-on-dark-muted); font-size: var(--fs-lead); line-height: 1.5; }
.links { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); margin-top: var(--sp-3); }
.links a { font-weight: 700; color: var(--c-white); }

/* ========================================================================== Prueba social */
.facts { display: grid; gap: var(--sp-3); }
.fact { background: var(--c-white); border-radius: var(--r-box); padding: var(--sp-3); }
.fact strong { display: block; font-size: clamp(2.25rem, 1.5rem + 3.5vw, 3.75rem); letter-spacing: -0.03em; line-height: 1; color: var(--c-brand); }
.fact span { color: var(--c-muted); }
.cases { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); }
.case { background: var(--c-white); border-radius: var(--r-box); padding: var(--sp-3); }
.case blockquote { margin: 0 0 var(--sp-2); font-size: var(--fs-lead); }
.case dl { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); margin: 0; }
.case dt { font-size: var(--fs-small); color: var(--c-muted); }
.case dd { margin: 0; font-weight: 800; }
[hidden] { display: none !important; }

/* ========================================================================== FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--c-white); border-radius: var(--r-box); }
.faq summary { cursor: pointer; font-weight: 700; padding: 1.1rem 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: var(--sp-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary { align-items: center; }
.faq summary::after {
  content: ""; flex: none; width: 1rem; height: 1rem; background: var(--c-brand);
  -webkit-mask: var(--m-chevron-down) center / contain no-repeat; mask: var(--m-chevron-down) center / contain no-repeat;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 1.25rem 1.25rem; color: var(--c-muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ========================================================================== CTA final */
.final h2 { max-width: none; }
.final .btn { margin-top: var(--sp-4); }
/* Calendario de cal.com incrustado (HTML iframe) */
.cal-frame { margin-top: var(--sp-4); background: var(--c-white); border-radius: var(--r-box); overflow: hidden; }
.cal-frame { min-height: 64rem; max-width: 100%; }
.cal-frame iframe { display: block; width: 100%; max-width: 100%; height: 64rem; border: 0; }
@media (min-width: 48rem) { .cal-frame { min-height: 44rem; } .cal-frame iframe { height: 44rem; } }
.final .cta-note a { color: var(--c-white); }
#agenda { scroll-margin-top: 0; }

/* ========================================================================== Pie */
.site-footer { background: var(--c-footer); color: var(--c-on-dark-muted); padding-block: var(--sp-5) var(--sp-4); font-size: var(--fs-small); }
.site-footer a { color: var(--c-white); }
.footer-name { font-size: clamp(2rem, 1rem + 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--c-white); margin: 0 0 var(--sp-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); margin-bottom: var(--sp-4); }
.privacy { background: var(--c-privacy); border-radius: var(--r-box); padding: var(--sp-3); margin-bottom: var(--sp-3); max-width: 52rem; }
.privacy h2 { font-size: 1.25rem; letter-spacing: -0.01em; color: var(--c-white); margin-bottom: var(--sp-2); }
.privacy p, .privacy li { color: var(--c-on-dark-muted); }
.privacy ul { display: grid; gap: 0.4rem; margin: 0 0 var(--sp-2); padding-left: 1.1rem; list-style: disc; }
.draft-flag { display: inline-block; background: var(--c-white); color: var(--c-ink); font-weight: 800; padding: 0.15rem 0.6rem; border-radius: var(--r-btn); font-size: 0.85rem; margin-bottom: var(--sp-1); }

/* ========================================================================== CTA fijo movil */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 50; padding: 0.75rem var(--gutter); padding-bottom: max(0.75rem, env(safe-area-inset-bottom)); background: var(--c-ink); }
.sticky-cta .btn { width: 100%; }
/* js/main.js lo oculta mientras ya se ve otro CTA (hero o cierre). Sin JS permanece visible. */
.sticky-cta { transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0s; }
.sticky-cta.is-away { transform: translateY(100%); visibility: hidden; transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0.3s; }

/* ========================================================================== Entrada suave (solo CSS) */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero__grid > * { animation: rise 0.6s ease backwards; }
  .hero__grid > *:nth-child(2) { animation-delay: 0.12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

  /* Movimiento sutil guiado por el scroll (parallax y entradas). Solo CSS, solo transform y opacity.
     Sin soporte de animation-timeline, la pagina queda estatica y todo el contenido visible. */
  @supports (animation-timeline: view()) {
    @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
    @keyframes sc-reveal { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
    @keyframes sc-drift-up { from { transform: translateY(0); } to { transform: translateY(-80px); } }
    @keyframes sc-drift-down { from { transform: translateY(0); } to { transform: translateY(40px); } }

    /* Hero: el texto baja un poco mas lento que el scroll y la tarjeta sube; profundidad sin ruido */
    .hero h1, .hero__grid > .hero__main {
      animation: fade-in 0.6s ease both, sc-drift-down linear both;
      animation-timeline: auto, scroll(root block);
      animation-range: normal, 0 90vh;
    }
    .hero__grid > .hero__side {
      animation: fade-in 0.6s ease 0.12s both, sc-drift-up linear both;
      animation-timeline: auto, scroll(root block);
      animation-range: normal, 0 90vh;
    }

    /* Resto de secciones: cada bloque sube y aparece al entrar en pantalla, escalonado */
    .section-head, .pain-close, .pain-list li, .steps li, .solve > div, .price-hero, .rate,
    .packs, .price-extra > div, .fit > div, .fact, .final h2 {
      animation: sc-reveal linear both;
      animation-timeline: view();
      animation-range: entry var(--d, 0%) entry calc(38% + var(--d, 0%));
    }
    .pain-list li:nth-child(even), .steps li:nth-child(2), .solve > div:nth-child(2), .rate:nth-child(2),
    .price-extra > div:nth-child(2), .fit > div:nth-child(2), .fact:nth-child(2) { --d: 6%; }
    .steps li:nth-child(3), .solve > div:nth-child(3), .fact:nth-child(3) { --d: 12%; }
    .steps li:nth-child(4) { --d: 18%; }

  }

  /* Respaldo para navegadores sin animation-timeline: js/main.js agrega html.sc-fb y las clases .sc-t / .is-in.
     Sin JS no se aplica nada de esto y el contenido queda visible. */
  html.sc-fb .sc-t {
    opacity: 0; transform: translateY(48px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--td, 0ms), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--td, 0ms);
  }
  html.sc-fb .sc-t.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:active { transform: none; opacity: 0.8; }
  .sticky-cta, .sticky-cta.is-away { transition: opacity 0.2s ease, visibility 0s linear 0.2s; }
  .sticky-cta.is-away { transform: none; opacity: 0; }
}
/* Mayor contraste: bordes definidos en superficies y botones */
@media (prefers-contrast: more) {
  .rate, .fact, .case, .faq details, .fit > div, .price-extra > div, .solve > div { outline: 2px solid var(--c-ink); outline-offset: -2px; }
  .btn { outline: 2px solid var(--c-ink); outline-offset: -2px; }
  .muted, .pain-list p, .rate p { color: var(--c-ink); }
  .steps p { color: var(--c-white); }
}

/* ========================================================================== Tablet y escritorio */
@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .nav { display: flex; }
  .menu { display: none; }
  .pain-list { grid-template-columns: 1fr 1fr; }
  .rates, .price-extra, .fit, .cases { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .solve { grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
}
@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; align-items: start; gap: var(--sp-5); }
  .byline img { width: 5rem; height: 5rem; }
  .about { grid-template-columns: 22rem 1fr; gap: var(--sp-5); align-items: start; }
  .price-hero { grid-template-columns: 1fr auto; align-items: center; }
  .price-hero .btn { justify-self: end; }
}

/* Widget de chat (burbuja flotante abajo a la derecha): el boton fijo movil le deja su espacio para no quedar tapado */
.has-chat .sticky-cta { padding-right: 5.25rem; }
@media (min-width: 48rem) { .has-chat .sticky-cta { padding-right: var(--gutter); } }
