/* drcifuentes.cl — landing pages de procedimientos.
   Misma identidad que la página inicial ("clínico contemporáneo"): Archivo ancho + Newsreader, azul petróleo y verde.
   El médico es el protagonista: su foto encabeza cada landing y los riesgos están a la vista. */

:root {
  --ink: #12303D;
  --ink-2: #1c4556;
  --green: #4E8C7A;       /* marca: íconos, trazos y decoración */
  --green-ink: #3D6F61;   /* verde para texto y botones con texto: 5,8:1 con blanco (AA) */
  --green-ink-2: #335D52; /* hover de botones verdes */
  --mint: #E6EEEA;
  --mint-2: #8fc0b0;
  --paper: #FAFAF7;
  --line: #dde5e1;
  --muted: #4b6470;
  --soft: #b9d0c8;
  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --pad: 40px;
  --max: 1280px;
  --edge: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 18px 40px -24px rgba(18, 48, 61, .45);
  accent-color: var(--green-ink);
  scrollbar-color: var(--soft) var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  caret-color: var(--green-ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--mint-2); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green-ink); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 90px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.h2 { font: 700 clamp(30px, 3.6vw, 44px)/1.04 var(--sans); font-stretch: 112%; letter-spacing: -.02em; text-wrap: balance; }
.lead { font: 400 21px/1.45 var(--serif); color: var(--muted); text-wrap: pretty; max-width: 62ch; }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: 48px; }
.head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 56px; align-items: end; }

/* Botones */
.btn {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 17px 20px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--ease), border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--green { background: var(--green-ink); color: #fff; }
.btn--green:hover { background: var(--green-ink-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--outline { border-color: var(--ink); }
.btn--outline:hover { background: var(--mint); }
.btn--ghost-light { border-color: rgba(230, 238, 234, .45); color: #fff; }
.btn--ghost-light:hover { background: rgba(230, 238, 234, .12); }

/* Barra superior y navegación (igual que la página inicial) */
.infobar {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 14px var(--edge); background: var(--ink); color: var(--mint); font-size: 13px;
}
.infobar__links { display: flex; gap: 24px; }
.infobar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--edge);
  background: rgba(250, 250, 247, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 30px; width: auto; }
/* El marco del logo: mismo trazo que la versión cuadrada, ajustado al formato horizontal */
.logo { padding: 8px 12px; border: 2px solid var(--ink); }
.nav__links { display: flex; gap: 4px; font-size: 14px; font-weight: 500; }
.nav__links a { padding: 10px 14px; border-radius: 8px; transition: background-color .2s; }
.nav__links a:hover, .nav__links a.is-current { background: var(--mint); }
.nav__cta { font-size: 14px; font-weight: 700; padding: 12px 20px; border-radius: 8px; background: var(--green-ink); color: #fff; transition: background-color .2s; white-space: nowrap; }
.nav__cta:hover { background: var(--green-ink-2); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--mint); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.burger span { width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav.is-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Migas de pan */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--soft); }
.crumbs a { text-decoration: underline; text-decoration-color: var(--soft); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Hero: el médico como protagonista */
.hero { padding: 28px 0 56px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__title {
  font: 800 clamp(40px, 5vw, 76px)/.95 var(--sans); font-stretch: 125%;
  letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere;
}
.hero__title--long { font-size: clamp(34px, 4.1vw, 60px); }
.hero__alt { font: italic 400 24px/1.3 var(--serif); color: var(--green-ink); }
.hero__lead { font: 400 21px/1.5 var(--serif); max-width: 56ch; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero__cta .btn { min-width: 250px; }
.hero__note { font-size: 14px; color: var(--muted); max-width: 52ch; }

.hero__visual { position: relative; aspect-ratio: 4 / 5; max-height: 640px; border-radius: 24px; overflow: hidden; background: radial-gradient(80% 60% at 50% 100%, rgba(78, 140, 122, .32), transparent 70%), var(--mint); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; mix-blend-mode: multiply; }
.hero__who {
  position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(250, 250, 247, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px; line-height: 1.3; color: var(--muted); box-shadow: var(--shadow);
}
.hero__who strong { display: block; color: var(--ink); font-size: 14px; }
.hero__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ink); flex: none; }
.hero__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--mint); stroke-linecap: round; stroke-linejoin: round; }
.hero__icon svg * { vector-effect: non-scaling-stroke; stroke-width: 1.5px; }
.hero__icon svg .accent { stroke: var(--mint-2); stroke-dasharray: 2 3; }
.keyfacts { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 18px 20px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; box-shadow: var(--shadow); }
.keyfacts div { display: flex; flex-direction: column-reverse; gap: 4px; }
.keyfacts dt { font-size: 12px; color: var(--soft); line-height: 1.3; }
.keyfacts dd { font: 700 19px/1.1 var(--sans); font-stretch: 112%; white-space: nowrap; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .i { width: 18px; height: 18px; color: var(--green); }

/* Secciones */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.band { background: #fff; border-block: 1px solid var(--line); }
.band--mint { background: var(--mint); }
.band--ink { background: var(--ink); color: #fff; }
.band--ink .lead { color: var(--soft); }
.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.split > .head { position: sticky; top: 110px; margin-bottom: 0; }
.aside { margin-top: 28px; max-width: 72ch; font: italic 400 19px/1.5 var(--serif); color: var(--muted); }

/* Qué es */
.summary { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.summary__text { display: flex; flex-direction: column; gap: 18px; font: 400 20px/1.6 var(--serif); max-width: 68ch; text-wrap: pretty; }
.summary__text .h2 { margin-bottom: 4px; }
.summary__text strong { font-weight: 600; }
.facts { border-radius: 16px; background: var(--paper); border: 1px solid var(--line); padding: 8px 24px; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); padding-top: 3px; }
.facts dd { font-size: 15px; }
.byline { display: flex; align-items: center; gap: 16px; margin-top: 8px; padding: 16px 18px; border-radius: 14px; background: var(--mint); font: 400 15px/1.45 var(--sans); color: var(--muted); }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #fff; flex: none; }
.byline strong { display: block; color: var(--ink); font-weight: 600; }
.byline a { text-decoration: underline; text-underline-offset: 3px; }

/* Técnica: diagramas propios */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.fig { display: flex; flex-direction: column; gap: 12px; }
.fig__art { border-radius: 18px; background: #fff; border: 1px solid var(--line); padding: 24px; margin-bottom: 8px; }
.fig__art svg { display: block; width: 100%; height: auto; max-height: 260px; }
.fig h3 { font: 700 21px/1.15 var(--sans); font-stretch: 112%; }
.fig p { font: 400 18px/1.5 var(--serif); color: var(--muted); max-width: 52ch; }
.tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--mint); font-size: 12px; font-weight: 600; color: var(--ink); }
/* Trazos de los diagramas */
.fig__art svg *, .zmap__fig * { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fig__art .body, .zmap__fig .body { stroke: var(--ink); stroke-width: 1.6; }
.fig__art .muted, .zmap__fig .muted { stroke: var(--soft); stroke-width: 1.4; }
.fig__art .cut { stroke: var(--green); stroke-width: 3; }
.fig__art .dash { stroke-dasharray: 5 6; }
.fig__art .fill { fill: rgba(78, 140, 122, .18); stroke: var(--green); stroke-width: 1.6; }
.fig__art text { fill: var(--muted); stroke: none; font: 500 11px var(--sans); }
.fig__art text.lbl { fill: var(--green-ink); font-weight: 600; font-size: 12px; }

/* Mapa interactivo de zonas */
.zmap { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 48px; align-items: center; padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.zmap__fig { width: 100%; height: auto; max-height: 440px; }
.zmap__zone * { fill: rgba(78, 140, 122, .12); stroke: var(--green); stroke-width: 1.4; stroke-dasharray: 4 4; transition: fill .3s var(--ease), stroke-width .3s; cursor: pointer; }
.zmap__zone.is-on * { fill: rgba(78, 140, 122, .42); stroke-dasharray: none; stroke-width: 2; }
.zmap__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.zmap__btn { padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.zmap__btn:hover { border-color: var(--ink); }
.zmap__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.zmap__out { min-height: 5.5em; font: 400 21px/1.5 var(--serif); max-width: 48ch; }
.zmap__out strong { font-family: var(--sans); font-weight: 700; }

/* Candidatos */
.checks { display: flex; flex-direction: column; gap: 12px; }
.check { display: flex; gap: 16px; padding: 22px 24px; border-radius: 14px; background: #fff; }
.check__mark { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-ink); color: #fff; }
.check__mark .i { width: 16px; height: 16px; stroke-width: 2.6; }
.check h3 { font: 700 18px/1.25 var(--sans); margin-bottom: 4px; }
.check p { font: 400 17px/1.5 var(--serif); color: var(--muted); }

/* Qué puedes esperar: tres afirmaciones */
.expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1.5px solid var(--ink); padding-top: 32px; }
.expect h3 { font: 400 28px/1.2 var(--serif); margin-bottom: 12px; text-wrap: balance; }
.expect p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 40ch; }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 26px; border-top: 1px solid rgba(230, 238, 234, .2); }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--mint-2); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.step:hover::before { transform: none; }
.step__n { font: italic 400 44px/1 var(--serif); color: var(--mint-2); margin-bottom: 8px; }
.step h3 { font: 700 20px/1.15 var(--sans); font-stretch: 112%; }
.step p { font: 400 17px/1.5 var(--serif); color: var(--soft); }
.step .tag { margin-top: 6px; background: rgba(230, 238, 234, .12); color: var(--mint); }

/* Recuperación */
.recovery { position: relative; display: flex; flex-direction: column; }
.recovery li { position: relative; display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0 20px 34px; border-bottom: 1px solid var(--line); }
.recovery li::before { content: ""; position: absolute; left: 6px; top: 27px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green); }
.recovery li::after { content: ""; position: absolute; left: 11px; top: 42px; bottom: -22px; width: 1px; background: var(--line); }
.recovery li:last-child::after { display: none; }
.recovery li:last-child { border-bottom: 0; }
.recovery strong { font: 700 17px/1.3 var(--sans); font-stretch: 112%; }
.recovery p { font: 400 18px/1.5 var(--serif); color: var(--muted); max-width: 60ch; }

/* Riesgos a la vista */
.risks { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.risks__h { font: 700 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.risks__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.risks__list li { padding: 16px 0; border-top: 1px solid var(--line); }
.risks__list strong { display: block; font-weight: 700; margin-bottom: 4px; }
.risks__list span { font: 400 17px/1.5 var(--serif); color: var(--muted); }
.risks__prevent { padding: 28px; border-radius: 18px; background: var(--mint); }
.risks__prevent ul { display: flex; flex-direction: column; gap: 14px; }
.risks__prevent li { display: flex; gap: 12px; align-items: flex-start; font: 400 18px/1.45 var(--serif); }
.risks__prevent .i { margin-top: 3px; color: var(--green-ink); stroke-width: 2.4; }

/* Preguntas frecuentes */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq__head { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 14px; }
.faq__head .lead a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary h3 { font: 700 19px/1.3 var(--sans); transition: color .2s; }
.faq__list summary:hover h3 { color: var(--green-ink); }
.faq__icon { color: var(--green-ink); transition: transform .35s var(--ease); }
.faq__list details[open] .faq__icon { transform: rotate(45deg); }
.faq__list details p { padding: 0 40px 24px 0; font: 400 19px/1.55 var(--serif); color: var(--muted); max-width: 68ch; }

/* Quién te atiende */
.doctor { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.doctor__photo { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: radial-gradient(70% 60% at 50% 100%, rgba(78, 140, 122, .3), transparent 70%), #fff; }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; mix-blend-mode: multiply; }
.doctor__text { display: flex; flex-direction: column; gap: 20px; }
.quote { font: italic 400 clamp(24px, 2.6vw, 32px)/1.3 var(--serif); color: var(--ink); max-width: 30ch; text-wrap: balance; }
.doctor__text > p { font: 400 19px/1.55 var(--serif); color: var(--muted); max-width: 62ch; }
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 640px; }
.creds li { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .7); font-size: 14px; color: var(--muted); }
.creds strong { display: block; font-size: 15px; color: var(--ink); }

/* CTA final */
.final { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.final__copy { display: flex; flex-direction: column; gap: 18px; }
.final__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.places { display: flex; flex-direction: column; gap: 10px; font-style: normal; }
.place { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: rgba(230, 238, 234, .08); border: 1px solid rgba(230, 238, 234, .15); transition: background-color .2s; }
.place:hover { background: rgba(230, 238, 234, .14); }
.place svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke: var(--mint-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.place span { display: block; font-size: 13px; font-weight: 600; color: var(--mint-2); margin-bottom: 2px; }
.place b { font: 400 18px/1.35 var(--serif); }

/* Otros procedimientos */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rel {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 160px; height: 100%;
  padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: color .3s, border-color .3s, transform .3s var(--ease);
}
.rel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); }
.rel:hover { color: #fff; border-color: var(--ink); transform: translateY(-3px); }
.rel:hover::before { transform: none; }
.rel__top { display: flex; justify-content: space-between; align-items: flex-start; }
.rel__arrow { transition: transform .25s var(--ease); }
.rel:hover .rel__arrow { transform: translateX(4px); }
.rel svg:not(.i) { width: 44px; height: 44px; fill: none; stroke: var(--green); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.rel:hover svg:not(.i) { stroke: var(--mint-2); }
.rel strong { font: 700 18px/1.15 var(--sans); font-stretch: 112%; }
.rel small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); transition: color .3s; }
.rel:hover small { color: var(--soft); }

/* Fuentes */
.sources { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.sources a { display: inline-flex; gap: 8px; align-items: baseline; }
.sources a strong { color: var(--ink); }
.sources a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Pie (igual que la página inicial) */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.contact__cell { padding: 40px; display: flex; flex-direction: column; gap: 8px; }
.contact__cell + .contact__cell { border-left: 1px solid var(--line); }
.contact__logo { width: 150px; height: auto; margin-bottom: 18px; }
.contact__label { font-size: 13px; font-weight: 600; color: var(--green-ink); }
.contact__big { font: 700 26px var(--sans); }
.contact__serif { font: 400 22px/1.3 var(--serif); }
.contact__small { font-size: 14px; color: var(--muted); }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__legal { grid-column: 1 / -1; padding: 20px 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Barra fija inferior: solo móvil */
.dock { display: none; }

/* Aparición al hacer scroll: solo en listas y grillas (un momento, no cada sección) */
.js .reveal-group > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-group > .is-visible { opacity: 1; transform: none; }
.js.motion .reveal-group > * { transition: none; }

@keyframes up { from { opacity: 0; transform: translateY(24px); } }
@keyframes fade { from { opacity: 0; } }
.hero__title { animation: up .9s var(--ease) both; }
.hero__visual { animation: fade 1s .1s both; }


/* Animación de reducción mamaria (mama de papel que se pliega; avanza con el scroll) */
html:not(.js) .fold { display: none; }
.fold { position: relative; background: linear-gradient(180deg, var(--paper), #fff 30%, #fff 70%, var(--paper)); }
.fold__sticky { padding: 96px 0; }
.fold.is-scrolly { height: 280vh; }
.fold.is-scrolly .fold__sticky { position: sticky; top: 74px; height: calc(100vh - 74px); min-height: 560px; display: flex; align-items: center; padding: 24px 0; }
.fold__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.fold__copy { display: flex; flex-direction: column; gap: 20px; }
.fold__steps { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.fold__steps button {
  display: grid; grid-template-columns: 12px 1fr; column-gap: 14px; row-gap: 2px; width: 100%; padding: 14px 18px;
  border: 0; border-radius: 14px; background: transparent; text-align: left; cursor: pointer; color: var(--muted);
  transition: background-color .35s var(--ease), color .35s, box-shadow .35s;
}
.fold__steps button::before { content: ""; grid-row: 1 / 3; width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; border: 2px solid var(--soft); transition: background-color .35s, border-color .35s; }
.fold__steps strong { font: 700 17px/1.3 var(--sans); color: inherit; }
.fold__steps span { font: 400 17px/1.45 var(--serif); }
.fold__steps button:hover { background: rgba(230, 238, 234, .5); }
.fold__steps button[aria-current="step"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.fold__steps button[aria-current="step"]::before { background: var(--green-ink); border-color: var(--green-ink); }
.fold__note { font-size: 13px; color: var(--muted); }
.fold__svg { width: 100%; height: auto; max-height: min(72vh, 620px); overflow: visible; }
.fold__imf { fill: none; stroke: var(--green); stroke-width: 1.4; stroke-dasharray: 3 4; }
.fold__svg { filter: drop-shadow(0 18px 22px rgba(18, 48, 61, .10)); }
.fold__torso { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.fold__flap { stroke: rgba(18, 48, 61, .18); stroke-width: .8; stroke-linejoin: round; }
.fold__facet { stroke: rgba(18, 48, 61, .07); stroke-width: .8; stroke-linejoin: round; }
.fold__edge { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.fold__nipple { fill: var(--green-ink); }
.fold__scar { fill: none; stroke-linejoin: round; stroke: var(--green-ink); stroke-width: 1.8; stroke-dasharray: 3 4; stroke-linecap: round; }

@media (max-width: 1080px) {
  .fold__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .fold__sticky { padding: 56px 0; }
  .fold.is-scrolly { height: 260vh; }
  .fold.is-scrolly .fold__sticky { top: 62px; height: calc(100svh - 62px); min-height: 0; padding: 12px 0 90px; align-items: stretch; }
  .fold__grid { grid-template-columns: 1fr; gap: 8px; align-content: center; }
  .fold__svg { order: -1; max-height: 40vh; }
  .fold__copy { gap: 10px; }
  .fold__copy .h2 { font-size: 24px; }
  .fold__copy .lead { display: none; }
  .fold__steps { flex-direction: row; gap: 6px; }
  .fold__steps li { flex: 1; }
  .fold__steps button { display: block; padding: 10px 12px; }
  .fold__steps button::before { display: none; }
  .fold__steps strong { font-size: 14px; }
  .fold__steps span { display: none; }
  .fold__current { font: 400 17px/1.45 var(--serif); color: var(--ink); min-height: 3em; }
}
@media (min-width: 721px) { .fold__current { display: none; } }

/* Tablet */
@media (max-width: 1080px) {
  .nav__links {
    position: absolute; left: var(--pad); right: var(--pad); top: calc(100% + 4px);
    flex-direction: column; gap: 2px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, visibility .25s, transform .25s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px 16px; font-size: 16px; }
  .burger { display: flex; }
  .nav__cta { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { aspect-ratio: 16 / 11; max-height: none; }
  .hero__visual img { object-position: 60% 18%; }
  .summary, .faq, .final, .split { grid-template-columns: 1fr; gap: 36px; }
  .faq__head, .split > .head { position: static; }
  .expect { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .related { grid-template-columns: repeat(2, 1fr); }
  .doctor { grid-template-columns: 260px 1fr; gap: 36px; }
  .head--split { grid-template-columns: 1fr; }
  .zmap { grid-template-columns: 1fr; gap: 28px; }
  .zmap__fig { max-height: 340px; }
  .risks { grid-template-columns: 1fr; }
}

/* Móvil */
@media (max-width: 720px) {
  :root { --pad: 20px; }
  body { padding-bottom: 80px; }
  .infobar, .nav__cta { display: none; }
  .nav { padding: 14px var(--pad); }
  .logo img { height: 25px; }
  .logo { padding: 6px 9px; border-width: 1.5px; }
  .hero { padding: 12px 0 40px; }
  .hero__copy { gap: 16px; }
  .hero__title { font-size: clamp(28px, 8.6vw, 44px); }
  .hero__title--long { font-size: clamp(24px, 7vw, 36px); }
  .hero__alt { font-size: 19px; }
  .hero__lead { font-size: 18px; }
  .hero__cta .btn { min-width: 0; flex: 1 1 100%; }
  .hero__visual { aspect-ratio: 4 / 5; }
  .hero__who { left: 10px; top: 10px; font-size: 12px; }
  .keyfacts { left: 10px; right: 10px; bottom: 10px; grid-template-columns: 1fr 1fr; padding: 14px 16px; }
  .keyfacts dd { font-size: 17px; }
  .trust { margin-top: 24px; gap: 8px 18px; font-size: 13px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 48px 0; }
  .head { margin-bottom: 28px; }
  .lead { font-size: 18px; }
  .summary__text { font-size: 18px; }
  .facts { padding: 4px 18px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .fig__art { padding: 16px; }
  .zmap { padding: 20px; }
  .zmap__out { font-size: 18px; }
  .check { padding: 18px; }
  .expect h3 { font-size: 24px; }
  .steps { grid-template-columns: 1fr; }
  .recovery li { grid-template-columns: 1fr; gap: 4px; }
  .recovery p { font-size: 17px; }
  .risks__list { grid-template-columns: 1fr; }
  .risks__prevent { padding: 20px; }
  .faq__list summary h3 { font-size: 17px; }
  .faq__list details p { font-size: 17px; padding-right: 0; }
  .doctor { grid-template-columns: 1fr; gap: 24px; }
  .doctor__photo { max-width: 240px; }
  .creds { grid-template-columns: 1fr; }
  .related { gap: 10px; }
  .rel { min-height: 130px; padding: 16px; gap: 18px; }
  .rel svg:not(.i) { width: 34px; height: 34px; }
  .rel strong { font-size: 16px; }
  .final__btns .btn { flex: 1 1 100%; }
  .contact { display: flex; flex-direction: column; gap: 18px; padding: 32px var(--pad); background: var(--ink); color: var(--mint); border: 0; }
  .contact__cell { padding: 0; gap: 4px; }
  .contact__cell + .contact__cell { border: 0; }
  .contact__logo { width: 130px; filter: brightness(0) invert(1); }
  .contact__label { color: var(--mint-2); }
  .contact__big { font-size: 22px; }
  .contact__serif { font-size: 19px; }
  .contact__small { color: var(--soft); font-size: 13px; }
  .contact__legal { padding: 16px 0 0; border-color: rgba(230, 238, 234, .15); color: var(--soft); font-size: 12px; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px var(--pad) calc(14px + env(safe-area-inset-bottom));
    background: rgba(250, 250, 247, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .dock .btn { height: 50px; padding: 0 14px; justify-content: center; gap: 10px; font-size: 15px; }
  .dock .btn--outline { background: #fff; }
  .dock { transition: transform .4s var(--ease), visibility .4s; }
  .dock.is-hidden { transform: translateY(110%); visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal-group > * { opacity: 1; transform: none; }
}
