/* =============================================================
   STYLES.CSS — SinDolorDeColumna
   Archetype: Editorial Light (Medical Premium variant)
   Paleta: Azules profundos + teal + neutros cálidos
   Mobile-first. Sin frameworks. Sin preprocesadores.
   ============================================================= */

/* =============================================================
   1. TOKENS — Custom properties
   ============================================================= */
:root {
  /* Fondos */
  --bg:         #f5f8fc;   /* azul-blanco suave */
  --bg-2:       #edf2f9;   /* sección alternada */
  --bg-warm:    #faf8f5;   /* neutro cálido */
  --white:      #ffffff;

  /* Tinta */
  --ink:        #111827;   /* casi negro cálido */
  --ink-soft:   #1e3050;   /* azul profundo */
  --ink-mute:   #5a6880;   /* gris-azul muted */
  --ink-light:  #8a9ab5;

  /* Acento principal — azul médico confiable */
  --accent:     #1b5ea0;
  --accent-2:   #1a8a8a;   /* teal — salud, vitalidad */
  --accent-light: #deeaf9;
  --accent-teal-light: #d3f0ef;

  /* Líneas */
  --line:       rgba(17,24,39,.1);
  --line-strong: rgba(17,24,39,.2);

  /* Tipografía */
  --serif:      "Fraunces", "Georgia", serif;
  --sans:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Espaciado */
  --gutter:     clamp(1rem, 4vw, 2rem);
  --max-w:      1200px;
  --radius:     12px;
  --radius-lg:  20px;

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

  /* Sombras */
  --shadow-sm:  0 2px 8px rgba(27,94,160,.08);
  --shadow-md:  0 8px 32px rgba(27,94,160,.13);
  --shadow-lg:  0 20px 60px rgba(27,94,160,.18);

  /* WhatsApp */
  --wa-green:   #25d366;

  /* Nav height — usada en sticky offsets */
  --nav-h:      72px;
}

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

/* Skip link (accesibilidad) */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--accent); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 500; font-size: .9rem;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. UTILIDADES
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.text-accent  { color: var(--accent); }
.text-teal    { color: var(--accent-2); }
.text-mute    { color: var(--ink-mute); }
.kicker {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-2);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Safety: elements con data-split nunca deben quedar opacity:0 */
.reveal[data-split] { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* =============================================================
   4. TIPOGRAFÍA
   ============================================================= */
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 500; }
h4 { font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 600; font-family: var(--sans); }
p  { font-size: clamp(.95rem, 1.2vw, 1.05rem); line-height: 1.7; color: var(--ink-soft); }

.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.display-line { display: block; }

/* =============================================================
   5. COMPONENTES — Botones
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: 50px; font-weight: 600; font-size: .95rem;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px rgba(27,94,160,.3);
}
.btn-primary:hover { background: #154d87; box-shadow: var(--shadow-md); }

.btn-ghost {
  border-color: var(--accent); color: var(--accent); background: transparent;
}
.btn-ghost:hover { background: var(--accent-light); }

.btn-wa {
  background: var(--wa-green); color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wa:hover { background: #1ea855; box-shadow: 0 8px 32px rgba(37,211,102,.4); }

.btn-teal {
  background: var(--accent-2); color: #fff;
  box-shadow: 0 4px 20px rgba(26,138,138,.25);
}
.btn-teal:hover { background: #157070; }

.btn-sm { padding: .6rem 1.2rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* =============================================================
   5b. COMPONENTES — Tarjetas
   ============================================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 2rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
/* Tilt 3D — aplicado por JS */
.card[data-tilt] { transform-style: preserve-3d; }

/* =============================================================
   5c. COMPONENTES — Formularios
   ============================================================= */
.form-group {
  display: flex; flex-direction: column; gap: .4rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  font-family: var(--sans); font-size: .95rem;
  color: var(--ink); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27,94,160,.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-note {
  font-size: .8rem; color: var(--ink-mute); margin-top: 1rem;
  line-height: 1.5;
}
.form-success {
  display: none; padding: 1.2rem; background: var(--accent-teal-light);
  border-radius: var(--radius); color: var(--accent-2); font-weight: 500;
  text-align: center;
}

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(245,248,252,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav__logo {
  display: flex; align-items: center;
  line-height: 1;
}
.nav__logo-img {
  height: 52px; width: auto;
  display: block;
  object-fit: contain;
}
.nav__links {
  display: none; gap: 2rem; align-items: center;
}
.nav__links a {
  font-size: .88rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { margin-left: 1.5rem; }

/* Hamburger */
.nav__burger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: 0;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  position: fixed; inset: 0; z-index: 99;
  background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; padding: 2rem;
  transform: translateX(100%); opacity: 0;
  transition: transform .4s var(--ease-out), opacity .4s;
  pointer-events: none;
}
.nav__mobile.is-open {
  transform: none; opacity: 1; pointer-events: auto;
}
.nav__mobile a {
  font-family: var(--serif); font-size: 2rem; font-weight: 600;
  color: var(--ink); text-align: center;
  transition: color .2s;
}
.nav__mobile a:hover { color: var(--accent); }

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f8fc 0%, #e8f1fb 50%, #ddf0ef 100%);
}

/* Gradiente de fondo sutil animado */
.hero__bg-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(26,138,138,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(27,94,160,.10) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: 3rem; align-items: center;
  padding-block: 4rem;
}

.hero__trust {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50px; padding: .4rem 1rem;
  font-size: .8rem; font-weight: 500; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.hero__trust-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: .7; }
}

.hero__eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-2);
  margin-bottom: .75rem;
}

.hero__title {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1.05; color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: italic; color: var(--accent);
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-mute); max-width: 50ch;
  margin-bottom: 2rem; line-height: 1.7;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
}
.hero__stat-item { display: flex; flex-direction: column; gap: .1rem; }
.hero__stat-num {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  color: var(--accent);
}
.hero__stat-label { font-size: .78rem; color: var(--ink-mute); }

/* Imagen hero */
.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  max-width: 440px;
  margin-inline: auto;
}
.hero__image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 65% center;
  transition: transform .6s var(--ease-soft);
}
.hero__image-wrap:hover img { transform: scale(1.03); }

/* Decorative badge sobre imagen */
.hero__badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: .75rem 1rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .6rem;
}
.hero__badge-icon { font-size: 1.4rem; }
.hero__badge-text { font-size: .82rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.hero__badge-text span { display: block; font-weight: 400; color: var(--ink-mute); font-size: .76rem; }

/* =============================================================
   8. SECCIÓN — Identificación del dolor
   ============================================================= */
.pain {
  background: var(--ink);
  padding-block: clamp(4rem, 8vw, 7rem);
  position: relative; overflow: hidden;
}
.pain::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(27,94,160,.25) 0%, transparent 70%);
  pointer-events: none;
}
.pain__inner { position: relative; z-index: 1; text-align: center; }

.pain__kicker { color: var(--accent-2); margin-bottom: 1rem; }
.pain__title { color: #fff; margin-bottom: 1.5rem; }
.pain__title em { color: var(--accent-2); font-style: italic; }
.pain__intro { color: rgba(255,255,255,.75); max-width: 60ch; margin-inline: auto; margin-bottom: 3.5rem; }

.pain__grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  text-align: left;
}
.pain__item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
  transition: background .3s, transform .3s var(--ease-out);
}
.pain__item:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}
.pain__item-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.pain__item-text { flex: 1; }
.pain__item-title { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: .3rem; }
.pain__item-desc  { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* =============================================================
   9. SECCIÓN — El diferenciador ANTES
   ============================================================= */
.diferenciador {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--bg-warm);
}
.diferenciador__inner {
  display: grid; gap: 3rem; align-items: center;
}
.diferenciador__label {
  display: inline-block;
  background: var(--accent-light); color: var(--accent);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 50px;
  padding: .35rem .9rem; margin-bottom: 1rem;
}
.diferenciador__title { margin-bottom: 1.25rem; }
.diferenciador__title .highlight { color: var(--accent); }
.diferenciador__body { color: var(--ink-mute); margin-bottom: 1.5rem; }
.diferenciador__quote {
  border-left: 3px solid var(--accent-2);
  padding-left: 1.2rem;
  font-family: var(--serif); font-style: italic;
  font-size: 1.1rem; color: var(--ink-soft);
  margin-bottom: 2rem;
}
.diferenciador__visual {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.diferenciador__visual img {
  width: 100%; height: 100%; object-fit: cover;
}
/* Escalera visual de opciones */
.diferenciador__steps { display: flex; flex-direction: column; gap: .75rem; }
.diferenciador__step {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-soft);
  transition: box-shadow .2s;
}
.diferenciador__step:hover { box-shadow: var(--shadow-sm); }
.diferenciador__step-num {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%; background: var(--accent-light);
  color: var(--accent); font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.diferenciador__step.last .diferenciador__step-num {
  background: var(--accent); color: #fff;
}
.diferenciador__step-text strong { display: block; color: var(--ink); font-size: .95rem; }

/* =============================================================
   10. SECCIÓN — Condiciones
   ============================================================= */
.condiciones {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--bg-2);
}
.condiciones__header { text-align: center; margin-bottom: 3rem; }
.condiciones__header p { max-width: 55ch; margin-inline: auto; margin-top: .75rem; }

.condiciones__grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.cond-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
  cursor: default;
}
.cond-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}
.cond-card__icon {
  font-size: 2rem; margin-bottom: 1rem;
  display: block;
}
.cond-card__name {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  color: var(--ink); margin-bottom: .5rem;
}
.cond-card__desc { font-size: .88rem; color: var(--ink-mute); line-height: 1.65; }

/* =============================================================
   11. SECCIÓN — Cómo funciona
   ============================================================= */
.como-funciona {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--bg-warm);
}
.como-funciona__header { text-align: center; margin-bottom: 3.5rem; }

.como-funciona__steps {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  counter-reset: steps;
}
.cf-step {
  position: relative; text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: box-shadow .3s var(--ease-out);
}
.cf-step:hover { box-shadow: var(--shadow-md); }
.cf-step__num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(27,94,160,.3);
}
.cf-step__title {
  font-family: var(--serif); font-size: 1.15rem;
  color: var(--ink); margin-bottom: .6rem;
}
.cf-step__desc { font-size: .88rem; color: var(--ink-mute); line-height: 1.65; }

.como-funciona__modalidad {
  margin-top: 3rem; text-align: center;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center;
}
.modalidad-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 50px; padding: .55rem 1.2rem;
  font-size: .85rem; font-weight: 500; color: var(--ink-soft);
}
.modalidad-badge svg { width: 16px; height: 16px; }

/* =============================================================
   12. SECCIÓN — Autoridad / Quién soy
   ============================================================= */
.autoridad {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--bg-2);
}
.autoridad__inner {
  display: grid; gap: 3rem; align-items: center;
}
.autoridad__image-wrap {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4; max-width: 380px;
  margin-inline: auto;
}
.autoridad__image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.autoridad__kicker { margin-bottom: .75rem; }
.autoridad__name {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: var(--ink); margin-bottom: .5rem;
}
.autoridad__title-med {
  font-size: 1rem; font-weight: 600;
  color: var(--accent); margin-bottom: 1.25rem;
  letter-spacing: .01em;
}
.autoridad__bio { color: var(--ink-mute); margin-bottom: 1.5rem; line-height: 1.75; }

.autoridad__creds {
  display: flex; flex-direction: column; gap: .6rem;
  margin-bottom: 2rem;
}
.autoridad__cred {
  display: flex; align-items: center; gap: .7rem;
  font-size: .88rem; color: var(--ink-soft);
}
.autoridad__cred::before {
  content: "✓"; width: 20px; height: 20px; flex-shrink: 0;
  background: var(--accent-teal-light); color: var(--accent-2);
  border-radius: 50%; font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* =============================================================
   13. SECCIÓN — Lead Magnet
   ============================================================= */
.lead-magnet {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--accent);
  position: relative; overflow: hidden;
}
.lead-magnet::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(26,138,138,.35) 0%, transparent 70%);
  pointer-events: none;
}
.lead-magnet__inner {
  position: relative; z-index: 1;
  display: grid; gap: 3rem; align-items: center;
}
.lead-magnet__kicker { color: rgba(255,255,255,.75); margin-bottom: .75rem; }
.lead-magnet__title { color: #fff; margin-bottom: 1rem; }
.lead-magnet__title em { font-style: italic; color: rgba(255,255,255,.85); }
.lead-magnet__body { color: rgba(255,255,255,.8); margin-bottom: .5rem; }
.lead-magnet__list {
  display: flex; flex-direction: column; gap: .5rem;
  margin-bottom: 2rem;
}
.lead-magnet__list li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .9rem; color: rgba(255,255,255,.85);
}
.lead-magnet__list li::before {
  content: "→"; color: rgba(255,255,255,.6); flex-shrink: 0;
}

/* Formulario lead magnet */
.lead-magnet__form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-lg);
}
.lead-magnet__form-title {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  color: var(--ink); margin-bottom: 1.5rem;
}
.lead-magnet__form .form-group { margin-bottom: .75rem; }
.lead-magnet__disclaimer {
  font-size: .75rem; color: var(--ink-mute); margin-top: .75rem; line-height: 1.5;
}
.lead-magnet__disclaimer a { color: var(--accent); text-decoration: underline; }

/* =============================================================
   14. SECCIÓN — Testimonios
   ============================================================= */
.testimonios {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--bg);
}
.testimonios__header { text-align: center; margin-bottom: 3rem; }
.testimonios__grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.testimonio-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  position: relative;
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.testimonio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonio-card::before {
  content: "\201C"; position: absolute; top: 1rem; right: 1.25rem;
  font-family: var(--serif); font-size: 4rem; color: var(--accent-light);
  line-height: 1; pointer-events: none;
}
.testimonio-card__text {
  font-size: .92rem; color: var(--ink-soft); line-height: 1.75;
  font-style: italic; margin-bottom: 1.2rem;
}
.testimonio-card__autor { font-weight: 600; font-size: .85rem; color: var(--ink); }
.testimonio-card__cond { font-size: .78rem; color: var(--accent-2); margin-top: .2rem; }
.testimonio-card__placeholder {
  font-size: .75rem; color: var(--ink-mute);
  border: 1px dashed var(--line-strong);
  border-radius: 6px; padding: .4rem .6rem; margin-top: .5rem;
}

/* =============================================================
   15. SECCIÓN — Escalera de productos
   ============================================================= */
.productos {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--bg-2);
}
.productos__header { text-align: center; margin-bottom: 3rem; }
.productos__grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.producto-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: .75rem;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.producto-card.is-featured {
  border-color: var(--accent); border-width: 2px;
}
.producto-card__badge-prox {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--bg-2); color: var(--ink-mute);
  font-size: .7rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; border-radius: 50px;
  padding: .25rem .6rem; border: 1px solid var(--line);
}
.producto-card__emoji { font-size: 2rem; }
.producto-card__name {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
  color: var(--ink);
}
.producto-card__desc { font-size: .88rem; color: var(--ink-mute); line-height: 1.65; flex: 1; }
.producto-card__precio {
  font-size: 1.1rem; font-weight: 700; color: var(--accent);
}
.producto-card__cta { margin-top: .5rem; }

/* =============================================================
   16. SECCIÓN — FAQ
   ============================================================= */
.faq {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--bg-warm);
}
.faq__header { text-align: center; margin-bottom: 3rem; }
.faq__list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: .5rem; }

.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item__q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.2rem 1.4rem;
  font-weight: 600; font-size: .95rem; color: var(--ink);
  cursor: pointer; background: none; border: 0;
  transition: color .2s;
}
.faq-item__q:hover { color: var(--accent); }
.faq-item__q svg {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--accent); transition: transform .3s var(--ease-out);
}
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease-out);
}
.faq-item__a-inner {
  padding: 0 1.4rem 1.2rem;
  font-size: .92rem; color: var(--ink-soft); line-height: 1.75;
}

/* =============================================================
   17. SECCIÓN — CTA Final
   ============================================================= */
.cta-final {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(26,138,138,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final__inner { position: relative; z-index: 1; }
.cta-final__kicker { color: var(--accent-2); margin-bottom: 1rem; }
.cta-final__title { color: #fff; margin-bottom: 1rem; }
.cta-final__title em { color: var(--accent-2); font-style: italic; }
.cta-final__body { color: rgba(255,255,255,.75); max-width: 55ch; margin-inline: auto; margin-bottom: 2.5rem; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* =============================================================
   18. DISCLAIMER MÉDICO (banner flotante)
   ============================================================= */
.disclaimer-banner {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: .75rem var(--gutter);
  text-align: center;
  font-size: .78rem; color: var(--ink-mute); line-height: 1.5;
}
.disclaimer-banner a { color: var(--accent); text-decoration: underline; }

/* =============================================================
   19. CONSULTORIO
   ============================================================= */
.consultorio {
  background: var(--bg-2);
  padding-block: 3.5rem;
  border-top: 1px solid var(--line);
}
.consultorio__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  align-items: flex-start;
}
.consultorio__icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.consultorio__info,
.consultorio__contact {
  flex: 1 1 240px;
}
.consultorio__title {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}
.consultorio__address {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.7;
}
.consultorio__hint {
  font-size: .88rem;
  color: var(--ink-mute);
  font-style: italic;
}
.consultorio__divider {
  width: 1px;
  align-self: stretch;
  background: var(--line-strong);
  flex-shrink: 0;
}
.consultorio__phone {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
  text-decoration: none;
  transition: color .2s;
}
.consultorio__phone:hover { color: var(--accent); }
.btn-wa {
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-color: transparent;
}
.btn-wa:hover { background: #1ebe5d; color: #fff; }
.consultorio__wa svg { flex-shrink: 0; }

@media (max-width: 600px) {
  .consultorio__divider { display: none; }
  .consultorio__icon { display: none; }
}

/* =============================================================
   20. FOOTER
   ============================================================= */
.footer {
  background: var(--ink); color: rgba(255,255,255,.75);
  padding-block: 3.5rem 2rem;
}
.footer__inner {
  display: grid; gap: 2.5rem;
}
.footer__logo {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  color: #fff; margin-bottom: .75rem;
}
.footer__logo span { color: var(--accent-2); }
.footer__about { font-size: .85rem; line-height: 1.7; max-width: 36ch; }
.footer__heading {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
}
.footer__links { display: flex; flex-direction: column; gap: .4rem; }
.footer__links a {
  font-size: .85rem; color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer__links a:hover { color: #fff; }
.footer__social { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer__social a {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer__social a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem; margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.footer__copy { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer__disclaimer {
  font-size: .75rem; color: rgba(255,255,255,.35);
  max-width: 60ch; line-height: 1.5;
}

/* =============================================================
   20. WHATSAPP FLOTANTE
   ============================================================= */
.wa-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  z-index: 200;
  display: flex; align-items: center; gap: .6rem;
  background: var(--wa-green); color: #fff;
  border-radius: 50px; padding: .75rem 1.2rem .75rem 1rem;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  font-weight: 600; font-size: .88rem;
  text-decoration: none;
  transition: transform .25s var(--ease-out), box-shadow .25s;
  animation: wa-bounce-in .6s var(--ease-out) 1.5s both;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
.wa-float__text { display: none; }

@keyframes wa-bounce-in {
  from { opacity: 0; transform: scale(0.7) translateY(20px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* Pulsación de atención */
.wa-float::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 50px; border: 2px solid var(--wa-green);
  animation: wa-pulse 2.5s ease-out 2s infinite;
}
@keyframes wa-pulse {
  0%   { opacity: .6; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.4); }
}

/* =============================================================
   21. COOKIES banner
   ============================================================= */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--ink); color: rgba(255,255,255,.85);
  padding: 1rem var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem; justify-content: space-between;
  font-size: .82rem; line-height: 1.5;
  transform: translateY(100%);
  transition: transform .4s var(--ease-out);
}
.cookie-bar.is-visible { transform: none; }
.cookie-bar a { color: var(--accent-2); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-btn {
  padding: .45rem .9rem; border-radius: 6px; font-size: .8rem;
  font-weight: 600; cursor: pointer; border: 0;
  transition: opacity .2s;
}
.cookie-btn:hover { opacity: .85; }
.cookie-btn-accept { background: var(--accent-2); color: #fff; }
.cookie-btn-reject { background: rgba(255,255,255,.15); color: #fff; }

/* =============================================================
   22. PÁGINAS INTERNAS — segunda-opinion, tienda, sobre-mi
   ============================================================= */
.page-hero {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 3rem;
  background: linear-gradient(135deg, #f5f8fc 0%, #e8f1fb 100%);
  text-align: center;
}
.page-hero__kicker { margin-bottom: .75rem; }
.page-hero__title { margin-bottom: 1rem; }
.page-hero__sub { color: var(--ink-mute); max-width: 55ch; margin-inline: auto; }

.page-section { padding-block: clamp(3rem, 6vw, 5rem); }
.page-section--alt { background: var(--bg-2); }

/* Tabla de precios simplificada */
.pricing-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-top: 2rem;
}
.pricing-card {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.25rem;
  display: flex; flex-direction: column; gap: 1rem;
  position: relative;
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.is-featured { border-color: var(--accent); }
.pricing-card__label {
  position: absolute; top: -12px; left: 1.5rem;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; border-radius: 50px;
  padding: .2rem .7rem;
}
.pricing-card__name {
  font-family: var(--serif); font-size: 1.3rem; color: var(--ink);
}
.pricing-card__price {
  font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1;
}
.pricing-card__price small { font-size: .9rem; font-weight: 400; color: var(--ink-mute); }
.pricing-card__features { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pricing-card__features li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .88rem; color: var(--ink-soft);
}
.pricing-card__features li::before {
  content: "✓"; color: var(--accent-2); font-weight: 700; flex-shrink: 0; margin-top: .1rem;
}

/* Banner "próximamente" */
.coming-soon-banner {
  background: var(--bg-2); border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg); padding: 2.5rem;
  text-align: center;
}
.coming-soon-banner h3 { margin-bottom: .5rem; }
.coming-soon-banner p { color: var(--ink-mute); margin-bottom: 1.5rem; }

/* =============================================================
   23. RESPONSIVE — Tablet (720px)
   ============================================================= */
@media (min-width: 720px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero__image-wrap {
    max-width: 100%;
    margin-inline: 0;
  }
  .diferenciador__inner {
    grid-template-columns: 1fr 1fr;
  }
  .autoridad__inner {
    grid-template-columns: 1fr 1.4fr;
  }
  .lead-magnet__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .wa-float__text { display: inline; }
}

/* =============================================================
   24. RESPONSIVE — Desktop (1024px)
   ============================================================= */
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .hero__inner { gap: 5rem; }
  .como-funciona__steps { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   25. RESPONSIVE — Large (1280px)
   ============================================================= */
@media (min-width: 1280px) {
  .condiciones__grid { grid-template-columns: repeat(5, 1fr); }
}

/* =============================================================
   26. REDUCED MOTION — Solo efectos intrusivos
       Nunca deshabilitar: hover, fade, tilt, color transitions
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  /* Solo efectos que realmente pueden marear / distraer */
  .hero__bg-mesh { animation: none; }
  .wa-float::before { animation: none; }
  .hero__trust-dot { animation: none; }
  /* NO deshabilitar: .reveal, .card:hover, .btn:hover, .pain__item:hover */
}

/* =============================================================
   27. AVISO LEGAL — page specific
   ============================================================= */
.legal-content {
  max-width: 800px; margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 4rem);
}
.legal-content h2 { margin-bottom: 1rem; margin-top: 2.5rem; font-size: 1.4rem; }
.legal-content h3 { margin-bottom: .6rem; margin-top: 1.75rem; font-size: 1.1rem; font-family: var(--sans); }
.legal-content p  { margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { list-style: disc; margin-bottom: .4rem; font-size: .95rem; color: var(--ink-soft); }

/* =============================================================
   28. GRACIAS PAGE
   ============================================================= */
.gracias-wrap {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5rem; text-align: center;
  padding: 2rem var(--gutter);
}
.gracias-wrap__icon { font-size: 4rem; }
.gracias-wrap h1 { color: var(--accent); }
.gracias-wrap p { color: var(--ink-mute); max-width: 50ch; margin-inline: auto; }
