/* Metabolic Reset & Sculpt | SM — sistema visual
   Identidad del PDF conceptual: negro profundo + violeta drench,
   grotesca bold con RESET en itálica, fotografía editorial oscura. */

:root {
  --bg: #0a0911;
  --surface: #14111f;
  --line: rgba(243, 242, 248, 0.12);
  --violet: #3d2bb8;
  --violet-deep: #291c7e;
  --accent: #9c8cff;
  --ink: #f3f2f8;
  --muted: #b6b1cc;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --z-nav: 40;
  --z-toast: 60;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--violet); color: #fff; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ---- wordmark ---- */
.wordmark {
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark em { font-style: italic; font-weight: 700; }
.wordmark small {
  display: block;
  font-weight: 500;
  font-size: 0.52em;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
}

/* ---- nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(10, 9, 17, 0.88), rgba(10, 9, 17, 0.62));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(243, 242, 248, 0.07);
}
.nav .wordmark { font-size: 17px; }
@media (max-width: 640px) {
  .nav .btn { display: none; }
  .nav .wordmark { font-size: 15px; }
}

/* ---- botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 0;
  background: var(--violet);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { background: #4936d6; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
section[id] { scroll-margin-top: 76px; }
.btn svg { flex: none; }
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(243, 242, 248, 0.3);
}
.btn--ghost:hover { background: rgba(243, 242, 248, 0.08); }
.btn--onviolet { background: #0f0c1d; }
.btn--onviolet:hover { background: #000; }
.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ---- layout ---- */
.shell { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section { padding: clamp(72px, 12vh, 140px) 0; }

.display {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; font-weight: 700; }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

/* ---- hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 120px 0 clamp(48px, 8vh, 96px);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 35%;
  filter: saturate(0.92) contrast(1.02) brightness(0.85);
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 9, 17, 0.5) 0%, rgba(10, 9, 17, 0.12) 42%, rgba(10, 9, 17, 0.93) 100%),
    linear-gradient(115deg, rgba(41, 28, 126, 0.4) 0%, rgba(10, 9, 17, 0) 50%);
}
.hero__kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero h1 { max-width: 19ch; margin: 0 auto 16px; }
.hero__tag {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(243, 242, 248, 0.88);
  margin: 0 auto 38px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.hero__note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ---- drench violeta (manifiesto / cta final) ---- */
.drench {
  background: var(--violet);
  color: #fff;
}
.drench .statement {
  font-size: clamp(1.7rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.drench .statement em { font-style: italic; font-weight: 700; }
.drench p { color: rgba(255, 255, 255, 0.82); }
.drench .sub {
  margin-top: 32px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 58ch;
}

/* ---- split de dos columnas ---- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  position: sticky;
  top: 110px;
}
.split h2 em { font-style: italic; font-weight: 700; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split h2 { position: static; }
}

/* ---- pasos de admisión (secuencia real) ---- */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 58ch; }

/* ---- hoja de ruta (4 fases, sin detalle de protocolo) ---- */
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 8px;
}
.journey__line {
  position: absolute;
  top: 15px;
  left: 8px;
  right: 8px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(61, 43, 184, 0.5), var(--violet) 40%, var(--accent));
}
.journey__phase { position: relative; padding-top: 40px; }
.journey__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
}
.journey__dot--end { background: var(--accent); box-shadow: 0 0 0 6px rgba(156, 140, 255, 0.18); }
.journey__phase h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.journey__phase p { font-size: 14.5px; color: var(--muted); max-width: 26ch; }
@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr; gap: 36px; }
  .journey__line { top: 8px; bottom: 8px; left: 7px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, rgba(61, 43, 184, 0.5), var(--violet) 40%, var(--accent)); }
  .journey__phase { padding-top: 0; padding-left: 44px; }
}

/* ---- qué incluye (membership card estilo Whoop) ---- */
.member {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}
.member__media {
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
}
.member__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.85);
}
.member__card {
  background: linear-gradient(180deg, #1a1530, #110f1e 70%);
  border: 1px solid rgba(156, 140, 255, 0.32);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: 0 24px 80px rgba(61, 43, 184, 0.22);
}
.member__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.member__card h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 10px;
}
.member__sub { font-size: 15px; color: var(--muted); margin-bottom: 26px; max-width: 52ch; }
.member__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.member__item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(243, 242, 248, 0.09);
}
.member__item:nth-last-child(-n+2) { border-bottom: 0; }
.member__item svg { flex: none; color: var(--accent); margin-top: 2px; }
.member__item strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 3px; }
.member__item span { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) {
  .member { grid-template-columns: 1fr; }
  .member__media { min-height: 240px; }
  .member__list { grid-template-columns: 1fr; }
  .member__item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(243, 242, 248, 0.09); }
  .member__item:last-child { border-bottom: 0; }
}

/* ---- qué incluye (lista editorial, sin uso) ---- */
.inclist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 96px);
  border-top: 1px solid var(--line);
}
.inclist__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.inclist__item svg { flex: none; color: var(--accent); margin-top: 4px; }
.inclist__item strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 5px; }
.inclist__item span { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 760px) {
  .inclist { grid-template-columns: 1fr; }
}

/* ---- (bento viejo, sin uso) ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    'seg seg con med'
    'seg seg lab nut'
    'pun pun caja eva';
  gap: 14px;
}
.bento__tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 172px;
}
.bento__tile svg { color: var(--accent); margin-bottom: 8px; }
.bento__tile strong { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.bento__tile span { font-size: 14px; color: var(--muted); line-height: 1.55; }
.bento__tile--hero {
  background: var(--violet);
  border-color: transparent;
  justify-content: flex-end;
  padding: 28px;
}
.bento__tile--hero svg { color: #fff; margin-bottom: auto; }
.bento__tile--hero strong { font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 800; color: #fff; max-width: 18ch; }
.bento__tile--hero span { color: rgba(255, 255, 255, 0.8); font-size: 15px; max-width: 46ch; }
.bento__tile--img {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-color: transparent;
  isolation: isolate;
  min-height: 200px;
  justify-content: flex-end;
}
.bento__tile--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.8);
  z-index: -1;
}
.bento__tile--img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 9, 17, 0.05) 25%, rgba(10, 9, 17, 0.88) 100%);
}
.bento__tile-body { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.bento__tile--img strong { color: #fff; }
.bento__tile--img span { color: rgba(243, 242, 248, 0.82); }
@media (max-width: 980px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'seg seg'
      'con med'
      'lab nut'
      'pun pun'
      'caja eva';
  }
}
@media (max-width: 560px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: 'seg' 'con' 'med' 'lab' 'nut' 'pun' 'caja' 'eva';
  }
  .bento__tile { min-height: 0; }
  .bento__tile--hero { min-height: 220px; }
}

/* ---- foto banda ---- */
.band {
  position: relative;
  min-height: 52vh;
  overflow: hidden;
  isolation: isolate;
}
.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02) brightness(0.8);
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 17, 0.82), rgba(41, 28, 126, 0.22) 55%, rgba(10, 9, 17, 0.88));
}
.band__quote {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 52vh;
  padding-top: 64px;
  padding-bottom: 64px;
}
.band__quote blockquote {
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 26ch;
}
.band__quote blockquote em { font-style: italic; font-weight: 700; }

/* ---- equipo (editorial alternado) ---- */
.doc-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 5vh, 56px) 0;
  border-top: 1px solid var(--line);
}
.doc-feature--flip .doc-feature__photo { order: 2; }
.doc-feature--flip .doc-feature__body { order: 1; }
.doc-feature__photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 420px;
}
.doc-feature--flip .doc-feature__photo { justify-self: end; }
.doc-feature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.doc-duo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: clamp(32px, 5vh, 56px);
}
.doc-duo img { width: 100%; display: block; }
.doc-duo__badge {
  position: absolute;
  bottom: clamp(14px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(10, 9, 17, 0.58);
  border: 1px solid rgba(243, 242, 248, 0.14);
  border-radius: 12px;
  padding: 14px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 44%;
}
.doc-duo__badge--left { left: clamp(14px, 2.5vw, 28px); }
.doc-duo__badge--right { right: clamp(14px, 2.5vw, 28px); }
.doc-duo__badge strong { font-size: clamp(13px, 1.4vw, 16.5px); font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.doc-duo__mat { font-size: clamp(11px, 1.1vw, 12.5px); font-weight: 600; letter-spacing: 0.06em; color: var(--accent); }
.doc-duo__title { font-size: clamp(11.5px, 1.2vw, 13.5px); color: rgba(243, 242, 248, 0.8); }
@media (max-width: 560px) {
  .doc-duo__badge { position: static; max-width: none; background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; border: 0; border-top: 1px solid var(--line); padding: 14px 16px; }
  .doc-duo { background: var(--surface); }
}
.doctor__role { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.doc-feature__body h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.doc-feature__spec { font-size: 16px; color: var(--ink); font-weight: 600; margin: 12px 0 18px; }
.doc-feature__desc { font-size: 16px; color: var(--muted); max-width: 52ch; line-height: 1.7; }
.team-support { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 32px; }
.team-support div { font-size: 14.5px; color: var(--muted); }
.team-support strong { display: block; color: var(--ink); font-size: 15.5px; }
@media (max-width: 760px) {
  .doc-feature { grid-template-columns: 1fr; gap: 24px; }
  .doc-feature--flip .doc-feature__photo { order: 0; justify-self: start; }
  .doc-feature--flip .doc-feature__body { order: 1; }
  .doc-feature__photo { max-width: 100%; aspect-ratio: 4 / 4.5; }
}

/* ---- criterios (no aceptamos) ---- */
.criteria { columns: 2; column-gap: 48px; }
.criteria li {
  break-inside: avoid;
  list-style: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.criteria li svg { flex: none; color: var(--accent); transform: translateY(2px); }
@media (max-width: 720px) { .criteria { columns: 1; } }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform 0.4s var(--ease); color: var(--accent); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 24px; color: var(--muted); font-size: 15.5px; max-width: 70ch; }

/* ---- CTA final ---- */
.final { text-align: left; }
.final .statement { margin-bottom: 18px; }
.final p { max-width: 56ch; margin-bottom: 36px; }

/* ---- cards visuales (imagen + texto, estilo Ro) ---- */
.vcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.vcard {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 380px;
  isolation: isolate;
  background: var(--surface);
}
.vcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.85);
  z-index: -1;
  transition: transform 0.8s var(--ease);
}
.vcard:hover img { transform: scale(1.04); }
.vcard::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 9, 17, 0.05) 30%, rgba(10, 9, 17, 0.88) 100%);
}
.vcard figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px;
}
.vcard strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.vcard span { font-size: 14px; color: rgba(243, 242, 248, 0.8); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .vcard img, .vcard:hover img { transition: none; transform: none; } }

/* ---- imagen lateral en splits ---- */
.split__side { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 110px; align-self: start; }
.split__side h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  position: static;
}
.split__side h2 em { font-style: italic; font-weight: 700; }
.split__img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(0.9) brightness(0.9);
}
@media (max-width: 860px) { .split__side { position: static; } }

/* ---- testimonios ---- */
.testi-marquee {
  display: flex;
  gap: 14px;
  height: 620px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
}
.testi-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: testiScroll 32s linear infinite;
}
.testi-col--rev { animation-direction: reverse; animation-duration: 38s; }
.testi-col--slow { animation-duration: 44s; }
.testi-marquee:hover .testi-col { animation-play-state: paused; }
@keyframes testiScroll { to { transform: translateY(calc(-50% - 7px)); } }
.tcard {
  position: relative;
  flex: none;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 5 / 8;
}
.tcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.92);
}
.tcard figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(10, 9, 17, 0.62);
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tcard figcaption svg { color: var(--accent); flex: none; }
.testi-quote { display: grid; margin-top: 32px; }
.tq {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}
.tq.active { opacity: 1; transform: none; pointer-events: auto; }
.tq p {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tq footer { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-top: 12px; }
.testi-note { font-size: 12.5px; color: #8d88a6; margin-top: 26px; max-width: 40ch; }
@media (max-width: 700px) {
  .testi-marquee { height: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .testi-col, .testi-col--rev, .testi-col--slow { animation: none; }
  .tq { transition: none; }
}

/* ---- fotos del equipo ---- */
.doctor__photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
}
.doctor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(0.85) brightness(0.92);
}
.doctor__photo-tag {
  position: absolute;
  right: 10px; bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(243, 242, 248, 0.85);
  background: rgba(10, 9, 17, 0.65);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ---- tabla comparativa (columna propia como tarjeta elevada) ---- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-top: 10px; }
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d88a6;
  border-bottom: 1px solid rgba(243, 242, 248, 0.18);
  vertical-align: middle;
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:last-child td:not(.compare__mr) { border-bottom: 0; }
.compare tbody td:first-child { color: var(--ink); font-weight: 600; min-width: 200px; }
.compare td:not(:first-child), .compare th:not(:first-child) { width: 24%; }
.compare tbody td.compare__mr {
  background: linear-gradient(180deg, rgba(61, 43, 184, 0.3), rgba(61, 43, 184, 0.18));
  background: rgba(61, 43, 184, 0.22);
  border-left: 1px solid rgba(156, 140, 255, 0.4);
  border-right: 1px solid rgba(156, 140, 255, 0.4);
  border-bottom-color: rgba(156, 140, 255, 0.18);
  color: var(--ink);
}
.compare thead th.compare__mr {
  background: var(--violet);
  border: 1px solid rgba(156, 140, 255, 0.4);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  padding: 18px 20px;
  box-shadow: 0 -8px 32px rgba(61, 43, 184, 0.35);
}
.compare tbody tr:last-child td.compare__mr {
  border-bottom: 1px solid rgba(156, 140, 255, 0.4);
  border-radius: 0 0 14px 14px;
}
.compare__wm {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
  line-height: 1.1;
}
.compare__wm em { font-style: italic; font-weight: 700; }
.compare__wm-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 3px;
}
.compare tbody tr:hover td:not(.compare__mr) { background: rgba(243, 242, 248, 0.025); }
.c-yes { color: var(--ink); }
.c-yes::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 9px; transform: translateY(-1px); }
.c-no { color: #8d88a6; }
.c-no::before { content: ''; display: inline-block; width: 8px; height: 2px; background: #6a6580; margin-right: 9px; transform: translateY(-4px); }
.c-mid { color: var(--muted); }
.c-mid::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #6a6580; box-sizing: border-box; margin-right: 9px; transform: translateY(-1px); }

/* ---- mini-form de contacto (sobre drench violeta) ---- */
.lead-form { margin-top: 36px; max-width: 640px; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
.lead-field--full { grid-column: 1 / -1; }
.lead-field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 7px; color: #fff; }
.lead-opt { color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.lead-field input, .lead-field textarea {
  width: 100%;
  background: rgba(10, 9, 17, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.lead-field textarea { resize: vertical; }
.lead-field input:focus, .lead-field textarea:focus {
  outline: none;
  border-color: #fff;
  background: rgba(10, 9, 17, 0.5);
}
.lead-field input::placeholder, .lead-field textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.lead-field.invalid input { border-color: #ffb3be; }
.lead-form__note { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); margin-top: 16px; max-width: 56ch; line-height: 1.6; }
.lead-done { margin-top: 36px; display: flex; gap: 16px; align-items: flex-start; max-width: 56ch; }
.lead-done[hidden] { display: none; }
.lead-done svg { flex: none; color: #fff; }
.lead-done p { font-size: 16px; color: rgba(255, 255, 255, 0.85); }
.lead-done strong { color: #fff; }
@media (max-width: 560px) { .lead-form__grid { grid-template-columns: 1fr; } }

/* ---- footer ---- */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--line); }
.footer__grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.footer .wordmark { font-size: 16px; }
.footer__legal { font-size: 12.5px; color: var(--muted); max-width: 68ch; margin-top: 28px; line-height: 1.7; }
.footer__ava { font-size: 12.5px; color: var(--muted); }
.footer__ava a { color: var(--muted); }

/* ---- ajustes mobile ---- */
.compare-hint { display: none; font-size: 12.5px; color: #8d88a6; margin: 12px 2px 0; align-items: center; gap: 7px; }
.compare-hint svg { flex: none; }
@media (max-width: 780px) {
  .compare-hint { display: flex; }
  .compare { min-width: 640px; }
  .compare th, .compare td { padding: 12px 14px; }
}
@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 4px; padding: 22px 0; }
  .step__n { padding-top: 0; }
  .testi-col--slow { display: none; }
}

/* ---- CTA fija inferior (solo mobile) ---- */
.cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-nav);
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 9, 17, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(243, 242, 248, 0.1);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
}
.cta-bar .btn { width: 100%; justify-content: center; }
.cta-bar.show { transform: none; }
@media (max-width: 640px) { .cta-bar { display: block; } }

/* ---- reveals ---- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .faq summary svg { transition: none; }
}

/* =====================  FORMULARIO  ===================== */
.form-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.form-shell { max-width: 720px; margin: 0 auto; padding: 120px 20px 80px; width: 100%; flex: 1; }
.form-head h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
.form-head h1 em { font-style: italic; font-weight: 700; }
.form-head p { color: var(--muted); font-size: 15.5px; margin-top: 14px; max-width: 60ch; }

.progress { margin: 36px 0 8px; }
.progress__label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.04em; }
.progress__bar { height: 3px; background: rgba(243, 242, 248, 0.12); border-radius: 2px; overflow: hidden; }
.progress__fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.5s var(--ease); }

.fstep { display: none; padding: 28px 0 8px; }
.fstep.active { display: block; animation: stepIn 0.5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fstep.active { animation: none; } }
.fstep > h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.fstep > .fstep__hint { font-size: 14px; color: var(--muted); margin-bottom: 26px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 8px; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="number"], .field input[type="date"], .field input[type="time"],
.field select, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(243, 242, 248, 0.16);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  padding: 13px 15px;
  transition: border-color 0.25s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field input::placeholder, .field textarea::placeholder { color: #8d88a6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b6b1cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field .err { display: none; font-size: 13px; color: #ff8f9e; margin-top: 6px; }
.field.invalid input, .field.invalid select { border-color: #d84a5f; }
.field.invalid .err { display: block; }

.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.fgrid--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 560px) { .fgrid, .fgrid--3 { grid-template-columns: 1fr; } }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid rgba(243, 242, 248, 0.18);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) {
  border-color: var(--accent);
  background: rgba(61, 43, 184, 0.35);
  color: var(--ink);
}
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid rgba(243, 242, 248, 0.16);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--violet); flex: none; }

.fnav { display: flex; justify-content: space-between; gap: 14px; margin-top: 36px; }
.fnav .btn[disabled] { opacity: 0.5; cursor: default; transform: none; }

.form-done { text-align: left; padding: 40px 0; }
.form-done svg { color: var(--accent); margin-bottom: 20px; }
.form-done h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 14px; }
.form-done p { color: var(--muted); max-width: 56ch; margin-bottom: 10px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  background: #2a1420;
  border: 1px solid #d84a5f;
  color: #ffd7dd;
  font-size: 14.5px;
  padding: 13px 20px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  max-width: min(92vw, 480px);
  text-align: center;
}
.toast.show { opacity: 1; }
