/* VOICE  calma, precisión y aire: la web de un psicólogo que no promete de más
   IDEA   la Matrix de ACT dibujada en papel: dos líneas finas que se cruzan y un punto que marca hacia dónde ir
   PICTURE retrato en duotono parado sobre el borde de la portada, delante de las líneas de la Matrix
   COLOUR papel blanco y bruma violeta, tinta violeta casi negra, banda violeta profunda, naranja solo para actuar
   TYPE   Piazzolla (Huerta Tipográfica) para títulos y lectura larga + Archivo (Omnibus-Type) para la interfaz
   LAYOUT laptop: título a la izquierda y retrato a la derecha sobre el cruce de líneas; celu: título, retrato, texto y botón */

:root {
  color-scheme: light;
  --paper: #ffffff;
  --mist: #efebee;
  --mist-2: #f7f4f6;
  --ink: #1f1622;
  --ink-2: #5e5262;
  --line: rgba(31, 22, 34, .14);
  --line-strong: rgba(31, 22, 34, .26);
  --plum: #2a1b30;
  --plum-deep: #21152a;
  --on-plum: #f4eef5;
  --on-plum-2: #c2b4c8;
  --line-plum: rgba(244, 238, 245, .16);
  --line-plum-strong: rgba(244, 238, 245, .32);
  --orange: #f06a2a;
  --orange-hover: #f47d43;
  --orange-ink: #b4461a;

  --font-display: "Piazzolla", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-text: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --fs-hero: clamp(2.6rem, 1.45rem + 4.6vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.6rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  --fs-lead: clamp(1.125rem, 1.02rem + .42vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  --gutter: max(20px, 5vw);
  --maxw: 1240px;
  --section: clamp(88px, 11vw, 168px);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-note: 0 1px 2px rgba(31, 22, 34, .06), 0 14px 30px -16px rgba(31, 22, 34, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
* { min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--font-text); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.band { padding-block: var(--section); }
.band--mist { background: var(--mist); }
.band--plum { background: var(--plum); color: var(--on-plum); }

.section-title { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.02em; font-weight: 400; text-wrap: balance; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.band--plum .lead { color: var(--on-plum-2); }

/* Accesibilidad */
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: var(--radius-s); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 1.55em; border-radius: 999px; border: 0; font: 600 1rem/1.1 var(--font-text); letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-hover); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #3b2c41; }
.btn--small { min-height: 44px; padding: 0 1.15em; font-size: .9375rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 500; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.link-arrow:hover svg { transform: translateY(2px); }
.link-arrow--right:hover svg { transform: translateX(3px); }
.pending { display: inline-flex; align-items: center; padding: 0 .6em; border: 1px dashed currentColor; border-radius: 999px; color: var(--orange-ink); font-size: .85em; font-weight: 500; white-space: nowrap; line-height: 1.6; }
.band--plum .pending, .foot .pending { color: var(--orange); }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.page-home .nav { background: rgba(239, 235, 238, .8); }
.nav.is-scrolled, .nav.is-open { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }
.nav__in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; min-height: 44px; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 450; letter-spacing: -.01em; white-space: nowrap; }
.brand__role { padding-left: 10px; border-left: 1px solid var(--line-strong); font-size: .8125rem; line-height: 1.2; color: var(--ink-2); white-space: nowrap; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { padding: 10px 0; font-size: .9375rem; text-decoration: none; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .i-close { display: none; }
.nav.is-open .nav__toggle .i-open { display: none; }
.nav.is-open .nav__toggle .i-close { display: block; }
.nav__menu { border-top: 1px solid var(--line); background: var(--paper); }
.nav__menu ul { padding-block: 8px 20px; }
.nav__menu a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.4rem; text-decoration: none; }

/* Portada */
.hero { --pad-top: clamp(40px, 6vw, 96px); --col-gap: clamp(24px, 4.5vw, 72px); --hline: clamp(96px, 13vh, 118px); position: relative; isolation: isolate; overflow: hidden; background: var(--mist); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: var(--hline); height: 1px; background: var(--line-strong); z-index: -1; transform-origin: left; animation: draw-x 1.3s var(--ease) .15s both; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "head fig" "body fig"; column-gap: var(--col-gap); padding-top: var(--pad-top); min-height: min(calc(100svh - var(--nav-h)), 840px); }
.hero__head { grid-area: head; }
.hero__title { font-family: var(--font-display); font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.025em; font-weight: 380; text-wrap: balance; max-width: 11.5em; }
.hero__body { grid-area: body; display: flex; flex-direction: column; padding-top: clamp(20px, 2.4vw, 32px); }
.hero__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(28px, 3vw, 40px); padding-bottom: 32px; }
.hero__creds { display: flex; flex-wrap: wrap; gap: 8px 44px; margin-top: auto; min-height: var(--hline); padding-block: 18px 18px; font-size: var(--fs-small); line-height: 1.4; }
.hero__creds dt { color: var(--ink-2); }
.hero__creds dd { margin-top: 2px; font-weight: 500; }
.hero__fig { grid-area: fig; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.hero__fig::before { content: ""; position: absolute; left: calc(var(--col-gap) / -2); top: calc(var(--pad-top) * -1); bottom: 0; width: 1px; background: var(--line-strong); z-index: -1; transform-origin: top; animation: draw-y 1.3s var(--ease) .3s both; }
.hero__portrait { width: 100%; max-width: 640px; }
.hero__portrait img { width: 100%; height: auto; }
.hero__dot { position: absolute; left: calc(var(--col-gap) / -2); bottom: var(--hline); width: 14px; height: 14px; margin: 0 0 -7px -7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(240, 106, 42, .16); z-index: 2; animation: pop .6s var(--ease) 1.1s both; }

.note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; max-width: 270px; padding: 11px 16px 11px 11px; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-note); color: var(--ink); text-decoration: none; line-height: 1.3; transition: transform .25s var(--ease); }
.note strong { display: block; font-size: .875rem; font-weight: 600; }
.note small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--ink-2); }
.note__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-s); background: var(--mist); }
.note__icon svg { width: 22px; height: 22px; }
a.note:hover { transform: translateY(-2px); }
.note--matrix { left: 0; bottom: 18px; max-width: 250px; }
.note--online { right: 0; top: 7%; }
.note--online .note__icon { background: transparent; width: 14px; height: 14px; margin-left: 4px; }
.note--online .note__icon i { width: 10px; height: 10px; border-radius: 50%; background: #39a46b; box-shadow: 0 0 0 4px rgba(57, 164, 107, .18); }

/* Motivos de consulta */
.motivos__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); }
.motivos__head { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.motivos__head p { margin-top: 20px; max-width: 30ch; color: var(--ink-2); }
.motivos__list > li { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px 40px; padding-block: 30px; border-top: 1px solid var(--line); }
.motivos__list h3 { font-family: var(--font-display); font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.15rem); line-height: 1.12; letter-spacing: -.015em; font-weight: 400; text-wrap: balance; }
.motivos__list p { padding-top: .3em; color: var(--ink-2); }
.motivos__list > li.motivos__other { display: block; border-bottom: 1px solid var(--line); }
.motivos__other p { padding: 0; color: var(--ink); }
.motivos__other a { font-weight: 600; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Cómo trabajo */
.metodo__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.metodo__head .lead { max-width: 46ch; }
.metodo__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.metodo__sticky { position: sticky; top: calc(var(--nav-h) + 32px); }
@media (min-width: 900px) { .matrix { max-width: min(100%, calc(100svh - var(--nav-h) - 120px)); } }
.step { min-height: 54vh; padding-block: 28px 48px; border-top: 1px solid var(--line-plum); }
.step:first-child { border-top: 0; padding-top: 0; }
.step__k { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: var(--fs-small); font-weight: 600; color: var(--orange); }
.step h3 { margin-bottom: 18px; font-family: var(--font-display); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.08; letter-spacing: -.015em; font-weight: 400; text-wrap: balance; transition: color .4s; }
.step p { max-width: 46ch; color: var(--on-plum-2); }
.step:last-child { min-height: 58vh; }
.step .step__k { color: var(--orange); }
.step p + p { margin-top: 1em; }
.js .step:not(.is-active) h3 { color: var(--on-plum-2); }
.step__mini { display: none; width: 30px; height: 30px; flex: none; }
.metodo__note { margin-top: clamp(40px, 5vw, 72px); padding-top: 28px; border-top: 1px solid var(--line-plum); font-family: var(--font-display); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem); line-height: 1.3; max-width: 34ch; text-wrap: balance; }

/* La Matrix */
.matrix { --pad: clamp(40px, 4.4vw, 56px); --dot-x: 50%; }
.matrix__board { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 1 / 1; padding: var(--pad); }
.matrix__board::before, .matrix__board::after { content: ""; position: absolute; background: var(--line-plum-strong); }
.matrix__board::before { left: 50%; top: 12px; bottom: 12px; width: 1px; }
.matrix__board::after { top: 50%; left: 0; right: 0; height: 1px; }
.matrix__axis { position: absolute; z-index: 1; padding: 4px 10px; background: var(--plum); border: 1px solid var(--line-plum); border-radius: 999px; font-size: .8125rem; line-height: 1.3; color: var(--on-plum-2); white-space: nowrap; transition: color .4s, border-color .4s; }
.matrix__axis--top { top: 0; left: 50%; transform: translateX(-50%); }
.matrix__axis--bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.matrix__axis--left { left: 0; top: 50%; transform: translateY(-50%); }
.matrix__axis--right { right: 0; top: 50%; transform: translateY(-50%); }
.matrix__q { display: flex; flex-direction: column; gap: 6px; max-width: 92%; padding: 6px; transition: opacity .45s var(--ease); }
.matrix__q strong { font-family: var(--font-display); font-size: clamp(1.05rem, .92rem + .5vw, 1.3rem); line-height: 1.15; font-weight: 450; color: var(--on-plum); }
.matrix__q span { font-size: .875rem; line-height: 1.4; color: var(--on-plum-2); }
.matrix__q--tl { align-self: start; justify-self: start; padding-top: 22px; }
.matrix__q--tr { align-self: start; justify-self: end; text-align: right; padding-top: 22px; }
.matrix__q--bl { align-self: end; justify-self: start; padding-bottom: 22px; }
.matrix__q--br { align-self: end; justify-self: end; text-align: right; padding-bottom: 22px; }
.matrix__dot { position: absolute; top: 50%; left: var(--dot-x); z-index: 2; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--orange); transition: left .8s var(--ease); }
.matrix__dot::after { content: ""; position: absolute; inset: -9px; border: 1px solid rgba(240, 106, 42, .55); border-radius: 50%; opacity: 0; }
.matrix__you { position: absolute; top: calc(50% + 16px); left: calc(50% + 14px); z-index: 1; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--on-plum); transition: opacity .4s; }
.matrix figcaption { margin-top: 18px; font-size: .8125rem; color: var(--on-plum-2); }
.matrix[data-active="1"] .matrix__q--tr, .matrix[data-active="1"] .matrix__q--br, .matrix[data-active="3"] .matrix__q--tl, .matrix[data-active="3"] .matrix__q--bl { opacity: .28; }
.matrix[data-active="2"] .matrix__q { opacity: .42; }
.matrix[data-active="1"] .matrix__axis--left, .matrix[data-active="3"] .matrix__axis--right { color: var(--on-plum); border-color: var(--orange); }
.matrix[data-active="2"] .matrix__dot::after { animation: ring 1.8s var(--ease) infinite; }
.matrix[data-active="2"] .matrix__you { font-size: 1.15rem; }
.matrix[data-active="3"] { --dot-x: 76%; }
.matrix[data-active="3"] .matrix__you { opacity: 0; }

/* Cómo pienso la terapia */
.enfoque__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 96px); align-items: start; }
.enfoque__statement { font-family: var(--font-display); font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.75rem); line-height: 1.16; letter-spacing: -.015em; font-weight: 400; max-width: 26ch; text-wrap: pretty; }
.enfoque__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); margin-top: clamp(56px, 7vw, 104px); }
.enfoque__list li { padding-top: 22px; border-top: 1px solid var(--line); }
.enfoque__list h3 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; font-size: 1.125rem; line-height: 1.3; font-weight: 600; }
.enfoque__list h3::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); transform: translateY(-2px); }
.enfoque__list p { color: var(--ink-2); font-size: 1rem; }

.enfoque__text .enfoque__statement { margin-bottom: 24px; }
.enfoque__text > p:not(.enfoque__statement) { max-width: 58ch; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.65; }
.enfoque__text > p + p:not(.enfoque__statement) { margin-top: 1em; }
.nunca { margin-top: clamp(56px, 7vw, 104px); }
.nunca__title { margin-bottom: 8px; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.01em; }
.nunca__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
.nunca__list li { display: flex; gap: 12px; align-items: baseline; padding-block: 18px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.45; }
.nunca__list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); transform: translateY(-2px); }
.metodo__note a { color: inherit; text-decoration-color: var(--orange); text-underline-offset: 4px; }

/* Sobre mí */
.sobre__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 104px); align-items: start; }
.sobre__id { position: sticky; top: calc(var(--nav-h) + 48px); }
.sobre__person { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.sobre__person img { width: 96px; height: 96px; border-radius: 50%; flex: none; }
.sobre__person strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 450; line-height: 1.1; }
.sobre__person span { display: block; margin-top: 4px; color: var(--ink-2); font-size: .9375rem; }
.sobre__links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 24px; }
.sobre__bio { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.65; }
.sobre__bio p + p { margin-top: 1em; }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin-top: 40px; }
.creds > div { padding-block: 18px; border-top: 1px solid var(--line); }
.creds dt { margin-bottom: 4px; font-size: .8125rem; color: var(--ink-2); }
.creds dd { font-weight: 500; line-height: 1.4; }

/* Cómo empezar */
.empezar__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; }
.pasos { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 56px); margin-top: clamp(48px, 6vw, 88px); }
.pasos::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-strong); }
.paso { position: relative; }
.paso::before { content: ""; display: block; width: 15px; height: 15px; margin-bottom: 28px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); position: relative; }
.paso:first-child::before { background: var(--orange); border-color: var(--orange); }
.paso__k { margin-bottom: 6px; font-size: var(--fs-small); color: var(--ink-2); }
.paso h3 { margin-bottom: 10px; font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); line-height: 1.15; font-weight: 400; letter-spacing: -.01em; }
.paso p { color: var(--ink-2); }
.empezar__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(48px, 5vw, 72px); }
.empezar__cta p { font-size: var(--fs-small); color: var(--ink-2); }

/* Preguntas */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(32px, 5vw, 96px); align-items: start; }
.urgencia { margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--paper); }
.urgencia h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; }
.urgencia h3 svg { width: 20px; height: 20px; color: var(--orange-ink); }
.urgencia p { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }
.urgencia .tel { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.urgencia .tel:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding-block: 18px; list-style: none; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #3b2c41; }
.qa__icon { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .3s var(--ease), background-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--paper); }
.qa__a { max-width: 62ch; padding-bottom: 26px; color: var(--ink-2); }
.qa__a p + p, .qa__a ul { margin-top: .8em; }
.qa__a ul { padding-left: 1.2em; list-style: disc; }
.qa__a li + li { margin-top: .4em; }
.qa__a a { color: var(--ink); white-space: nowrap; }
.qa__refs { font-size: .8125rem; line-height: 1.5; overflow-wrap: anywhere; }

/* Cierre */
.cierre { --cg: clamp(32px, 5vw, 80px); position: relative; overflow: hidden; padding-bottom: 0; }
.cierre__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto clamp(88px, 9vw, 128px); column-gap: var(--cg); }
.cierre__text { align-self: end; }
.cierre h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 1.5rem + 4.2vw, 5.2rem); line-height: 1.02; letter-spacing: -.025em; font-weight: 380; text-wrap: balance; }
.cierre__text p { margin-top: 22px; max-width: 40ch; color: var(--on-plum-2); font-size: var(--fs-lead); }
.cierre__act { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 16px; }
.cierre__act::before { content: ""; position: absolute; left: calc(var(--cg) / -2); top: calc(var(--section) * -1); bottom: 0; width: 1px; background: var(--line-plum); }
.cierre__act p { max-width: 34ch; font-size: var(--fs-small); color: var(--on-plum-2); }
.cierre__base { grid-column: 1 / -1; position: relative; }
.cierre__base::before { content: ""; position: absolute; top: 44%; left: -100vw; right: -100vw; height: 1px; background: var(--line-plum); }
.cierre__base::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc((100% - var(--cg)) * 7 / 12 + var(--cg) / 2); width: 1px; background: var(--line-plum); }
.cierre__dot { position: absolute; top: 44%; left: calc((100% - var(--cg)) * 7 / 12 + var(--cg) / 2); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(240, 106, 42, .18); }

/* Pie */
.foot { padding-block: 72px calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--plum-deep); color: var(--on-plum); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; }
.foot .brand { margin: 0; }
.foot__about { margin-top: 18px; max-width: 34ch; color: var(--on-plum-2); font-size: .9375rem; }
.foot__about > span { display: block; }
.foot h2 { margin-bottom: 14px; font-size: var(--fs-small); font-weight: 600; color: var(--on-plum-2); }
.foot ul a { display: inline-flex; align-items: center; min-height: 40px; }
.foot__crisis { margin-top: 56px; padding: 18px 22px; border: 1px solid var(--line-plum); border-radius: var(--radius-m); font-size: .9375rem; color: var(--on-plum-2); }
.foot__crisis a { color: var(--on-plum); font-weight: 600; white-space: nowrap; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-plum); font-size: .8125rem; color: var(--on-plum-2); }

/* Barra fija de WhatsApp en celulares */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px max(var(--gutter), env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.dock.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.dock .btn { width: 100%; }

/* Blog */
.page-head { padding-block: clamp(56px, 8vw, 120px) clamp(48px, 6vw, 88px); background: var(--mist); }
.page-head h1 { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4.2vw, 6rem); line-height: 1; letter-spacing: -.03em; font-weight: 380; }
.page-head p { margin-top: 22px; max-width: 46ch; font-size: var(--fs-lead); color: var(--ink-2); text-wrap: pretty; }
.posts { padding-block: clamp(48px, 6vw, 96px) var(--section); }
.post-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; color: inherit; text-decoration: none; }
.post-card + .post-card { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.cover { --x: 46%; --y: 58%; --dx: 64%; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-l); background: var(--plum); color: var(--on-plum); isolation: isolate; }
.cover::before { content: ""; position: absolute; left: var(--x); top: 0; bottom: 0; width: 1px; background: var(--line-plum-strong); z-index: -1; }
.cover::after { content: ""; position: absolute; top: var(--y); left: 0; right: 0; height: 1px; background: var(--line-plum-strong); z-index: -1; }
.cover__dot { position: absolute; left: var(--dx); top: var(--y); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--orange); transition: left .6s var(--ease); }
.post-card:hover .cover__dot { left: calc(var(--dx) + 6%); }
.cover__tag { position: absolute; left: 24px; top: 22px; font-size: .8125rem; color: var(--on-plum-2); }
.cover__word { position: absolute; left: 24px; bottom: 20px; right: 24px; font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: var(--fs-small); color: var(--ink-2); }
.post-card h2 { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); line-height: 1.06; letter-spacing: -.02em; font-weight: 400; text-wrap: balance; }
.post-card .excerpt { margin-top: 16px; color: var(--ink-2); max-width: 46ch; }
.post-card .read { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; }
.post-card .read svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.post-card:hover .read svg { transform: translateX(3px); }
.post-card:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Artículo */
.article-head { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); background: var(--mist); }
.crumb { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: var(--fs-small); color: var(--ink-2); text-decoration: none; }
.crumb svg { width: 16px; height: 16px; }
.crumb:hover { color: var(--ink); }
.article-head h1 { max-width: 17ch; margin-top: 14px; font-family: var(--font-display); font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; font-weight: 390; text-wrap: balance; }
.dek { max-width: 40ch; margin-top: 22px; font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.35; color: var(--ink-2); text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.byline img { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.byline strong { display: block; font-weight: 600; }
.byline span { display: block; font-size: var(--fs-small); color: var(--ink-2); }
.article-body { padding-block: clamp(48px, 6vw, 88px) var(--section); }
.prose { max-width: 680px; margin-inline: auto; font-family: var(--font-display); font-size: clamp(1.125rem, 1.06rem + .25vw, 1.25rem); line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.1em; font-family: var(--font-text); font-size: 1.375rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.prose h2 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange-ink); }
.prose a { text-decoration-color: var(--orange); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose--plain { font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.65; }
.prose--plain h2 { font-size: 1.25rem; }
.refs { max-width: 680px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.refs h2 { margin-bottom: 14px; font-size: 1rem; font-weight: 600; }
.refs li { margin-top: .7em; padding-left: 2em; text-indent: -2em; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.author-box { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; max-width: 680px; margin: 56px auto 0; padding: 28px; border-radius: 24px; background: var(--mist); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; }
.author-box h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 450; line-height: 1.2; }
.author-box p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; }
.author-box .btn { margin-top: 18px; }
.disclaimer { max-width: 680px; margin: 28px auto 0; font-size: var(--fs-small); color: var(--ink-2); }
.disclaimer a { white-space: nowrap; }

/* Animaciones */
@keyframes draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }

/* Tablet */
@media (max-width: 1080px) {
  .enfoque__list, .nunca__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .nav__links, .nav__in > .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero::after, .hero__fig::before, .hero__dot { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; grid-template-areas: "head" "fig" "body"; min-height: 0; padding-top: clamp(28px, 6vw, 56px); }
  .hero__title { max-width: 14em; }
  .hero__fig { margin-top: 28px; border-bottom: 1px solid var(--line-strong); }
  .hero__portrait { max-width: 520px; }
  .hero__body { padding-top: 28px; background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
  .hero__actions { padding-bottom: 0; }
  .hero__creds { min-height: 0; margin-top: 28px; padding-block: 20px 8px; border-top: 1px solid var(--line); }
  .note--matrix { left: 0; bottom: 16px; }
  .note--online { display: none; }
  .motivos__grid, .metodo__head, .metodo__grid, .enfoque__top, .sobre__grid, .empezar__top, .faq__grid, .cierre__in, .post-card { grid-template-columns: minmax(0, 1fr); }
  .motivos__head, .sobre__id, .metodo__sticky { position: static; }
  .metodo__sticky { max-width: 560px; }
  .step { min-height: 0; padding-block: 32px; }
  .step:first-child { border-top: 1px solid var(--line-plum); padding-top: 32px; }
  .js .step:not(.is-active) h3 { color: var(--on-plum); }
  .step__mini { display: block; }
  .cierre__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 72px; row-gap: 32px; }
  .cierre__act::before, .cierre__base::after { display: none; }
  .cierre__dot { left: 24px; }
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__grid > :first-child { grid-column: 1 / -1; }
  body.has-dock { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 900px) {
  .nav__menu { display: none; }
  .dock { display: none; }
}

@media (max-width: 640px) {
  .brand__role { display: none; }
  .motivos__list > li { grid-template-columns: minmax(0, 1fr); padding-block: 24px; }
  .enfoque__list, .creds, .nunca__list { grid-template-columns: minmax(0, 1fr); }
  .pasos { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-left: 34px; }
  .pasos::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .paso::before { position: absolute; left: -34px; top: 4px; margin: 0; }
  .matrix { --pad: 34px; }
  .matrix__q span { display: none; }
  .matrix__q strong { font-size: .95rem; }
  .matrix__axis { font-size: .75rem; padding: 3px 8px; }
  .matrix__q--tl, .matrix__q--tr { padding-top: 14px; }
  .matrix__q--bl, .matrix__q--br { padding-bottom: 14px; }
  .matrix__you { font-size: .875rem; }
  .hero__actions .btn { width: 100%; }
  .note--matrix { display: none; }
  .hero__actions .link-arrow { margin-inline: auto; }
  .author-box { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .qa summary { min-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
