/* PsicoNeuroSalud — «Herbario»: editorial cálida. Papel crema, verde bosque, salvia y arcilla; Ibarra Real Nova + Atkinson Hyperlegible Next (autoalojadas, OFL). */
@font-face { font-family: "Ibarra Real Nova"; src: url("../fonts/ibarra-real-nova-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Ibarra Real Nova"; src: url("../fonts/ibarra-real-nova-latin-wght-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
:root {
  --surface: #F6F0E4; --surface-2: #EDE5D4; --white: #FCFAF4; --teal-surface: #E4EBDC;
  --line: #D9D0BC; --line-strong: #6E7F73;
  --ink: #16261F; --text: #2A3A33; --muted: #4F5F57;
  --primary: #1E4B3B; --primary-dark: #133327; --primary-t: #E1EAD9;
  --peach: #E3B98C; --peach-hover: #EDCBA6; --clay: #8A3E1B;
  --secondary: #4A6355; --secondary-2: #5B7364;
  --sage: #3F5E4A; --sage-t: #E4EBDC; --sage-t2: #D0DCC8;
  --amber: #7D4D0E; --amber-t: #F6E8CE; --ok: #246643; --ok-t: #E7F0E4;
  --danger: #9B2C2C; --danger-hover: #7B1F1F; --danger-t: #F8E9E7;
  --deep: #17342B; --deep-2: #10261F;
  --focus: #1E4B3B; --on-dark: #FCFAF4; --on-dark-soft: #D9E0D2; --on-dark-line: #5E7468;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 24px; --r-pill: 999px;
  --shadow-sm: 0 3px 10px -8px rgb(22 38 31 / .22); --shadow-md: 0 18px 38px -28px rgb(22 38 31 / .32);
  --s1: .25rem; --s2: .5rem; --s3: 1rem; --s4: 1.5rem; --s5: 2.5rem; --s6: 4rem; --s7: 6.5rem;
  --sec-pad: clamp(3.5rem, 2rem + 5vw, 6.5rem); --gap-grid: clamp(1.5rem, 1rem + 2vw, 3rem);
  --ctl-h: 48px; --ctl-h-sm: 44px; --measure: 68ch; --wrap: 77.5rem;
  --font-display: "Ibarra Real Nova", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible Next", Verdana, system-ui, sans-serif;
  --fs-body: 1.0625rem; --fs-small: .9375rem; --fs-lead: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem); --fs-h1-page: clamp(2.4rem, 1.5rem + 3vw, 3.9rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); --fs-h3: clamp(1.35rem, 1.15rem + .6vw, 1.6rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1); --dur-ui: .18s; --z-header: 30; --z-skip: 100;
}*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 9rem; scrollbar-color: var(--secondary-2) var(--surface); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 var(--fs-body)/1.8 var(--font-body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-size-adjust: from-font; }
img, svg { max-width: 100%; height: auto; display: block; }
::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 3px; }
[tabindex="-1"]:focus { outline: none; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--primary-dark); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { overflow-wrap: break-word; font-family: var(--font-display); font-weight: 400; color: var(--ink); line-height: 1.15; letter-spacing: -.022em; margin: 0 0 var(--s3); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.04; font-weight: 400; letter-spacing: -.025em; } h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--clay); }
h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); line-height: 1.4; } h4 { font-size: 1.375rem; }
p { margin: 0 0 var(--s3); text-wrap: pretty; } li, blockquote { text-wrap: pretty; } ul, ol { margin: 0 0 var(--s3); padding-left: 1.25rem; }
strong { color: var(--ink); font-weight: 650; }
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--muted); } .blk { display: block; } .ico { flex: none; }
.skip { position: absolute; left: var(--s3); top: -4rem; background: var(--ink); color: var(--white); padding: var(--s2) var(--s3); z-index: var(--z-skip); border-radius: var(--r-sm); }
.skip:focus { top: var(--s3); }
.on-dark :focus-visible, .band--deep :focus-visible, .band--felt :focus-visible, .site-footer :focus-visible, .band--primary :focus-visible, .site-contact-strip :focus-visible { outline-color: var(--peach); }
/* Navegación clara: logo original y acción contenida. */
.site-header { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: var(--z-header); }
.site-header .bar { width: min(100% - 3rem, 84rem); }
.bar { display: flex; align-items: center; gap: var(--s3); min-height: 5.5rem; flex-wrap: nowrap; padding-block: .75rem; }
.head-tel { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; flex: none; }
.head-tel:hover { color: var(--primary); text-decoration: underline; }
.head-cta { flex: none; white-space: nowrap; }
.brand { flex: none; display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; line-height: 1; }
.brand .logo-img { height: 48px; width: auto; max-width: min(100%, 16rem); }
.mark { flex: none; height: 40px; width: auto; }
.nav { margin-inline: auto; min-width: max-content; flex: 0 1 auto; }
.nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav-cta, .nav-tel { display: none; }
.nav a { display: inline-flex; align-items: center; white-space: nowrap; min-height: 44px; padding: .4rem .65rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; letter-spacing: .015em; border-bottom: 1px solid transparent; transition: color var(--dur-ui), border-color var(--dur-ui); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }
.nav a.btn { padding: .7rem 1.6rem; border-radius: var(--r-pill); }
.site-header .btn-primary, .nav a.btn-primary { background: var(--primary); color: var(--white); border: 1px solid var(--primary); }
.site-header .btn-primary:hover, .nav a.btn-primary:hover { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.nav-toggle { display: none; min-height: 48px; min-width: 48px; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-pill); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: ""; border-radius: 1px; transition: transform .2s var(--ease-out), top .2s var(--ease-out); }
.nav-toggle-lines::before { position: absolute; top: -7px; } .nav-toggle-lines::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; } .nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 0; transform: rotate(45deg); } .nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 86.5rem) { .head-tel span:not(.visually-hidden) { display: none; } .head-tel { padding-inline: .4rem; } }
@media (max-width: 75rem) {
  .nav-toggle { display: inline-flex; margin-left: auto; } .btn.head-cta, .head-tel { display: none; }
  .bar { flex-wrap: wrap; } .nav { display: none; width: 100%; margin: 0; order: 5; padding-bottom: var(--s3); } .nav.is-open { display: block; max-height: calc(100dvh - 9rem); overflow-y: auto; overscroll-behavior: contain; }
  .nav ul { flex-direction: column; gap: .1rem; padding-top: var(--s2); } .nav a:not(.btn) { width: 100%; padding-block: .7rem; font-size: 1.0625rem; }
  .nav-cta { display: block; margin-top: var(--s3); } .nav-cta .btn { width: 100%; } .nav-tel { display: block; } .nav-tel a { color: var(--primary); }
}
@media (max-width: 40rem) { .wrap, .site-header .bar { width: min(100% - 2.5rem, var(--wrap)); } .brand .logo-img { height: 40px; } .bar { gap: var(--s2) var(--s3); min-height: 4.75rem; } .brand { min-width: 0; max-width: calc(100% - 4rem); } }
/* Acciones: melocotón con tinta para mantener contraste AA. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: var(--ctl-h); padding: .65rem 1.8rem; font: 600 .9375rem/1.4 var(--font-body); border-radius: var(--r-pill); border: 1px solid transparent; text-decoration: none; cursor: pointer; text-align: center; touch-action: manipulation; transition: background-color var(--dur-ui), color var(--dur-ui), border-color var(--dur-ui); }
.btn-primary { background: var(--primary); color: var(--white); } .btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); } .btn-dark:hover { background: #202020; color: var(--white); }
.btn-secondary { background: var(--primary-t); color: var(--primary-dark); border-color: #B9C9B0; } .btn-secondary:hover { background: var(--sage-t2); color: var(--primary-dark); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; } .btn-outline:hover { background: var(--primary-t); color: var(--primary-dark); border-color: var(--primary); }
.btn-light { background: var(--peach); color: var(--ink); } .btn-light:hover { background: var(--peach-hover); color: var(--ink); }
.btn-line-light { border-color: #A9B9AD; color: var(--white); background: transparent; } .btn-line-light:hover { background: var(--white); color: var(--ink); }
.btn-link { border-color: transparent; background: none; color: var(--primary); text-decoration: underline; text-underline-offset: .22em; padding-inline: .75rem; }
.btn-danger { background: var(--white); border-color: var(--danger); color: var(--danger); } .btn-danger:hover { background: var(--danger); color: var(--white); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.cta-row { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; margin-block: var(--s4); }
.btn-sm { min-height: var(--ctl-h-sm); padding: .45rem 1.1rem; font-size: .9375rem; } .btn-lg { min-height: 52px; padding-inline: 2rem; font-size: 1rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; min-height: 1.9rem; padding: .15rem .7rem; border-radius: var(--r-pill); font-weight: 550; font-size: .875rem; line-height: 1.4; color: var(--primary-dark); background: var(--primary-t); border: 1px solid #C3D1BA; }
.pill--plain { background: var(--surface-2); color: var(--muted); border-color: var(--line); } .pill--amber { background: var(--amber-t); color: var(--amber); border-color: #DCC59C; }
.eyebrow { display: inline-block; margin: 0 0 var(--s2); font: 550 .9375rem/1.4 var(--font-body); color: var(--primary); }
.more a, .prose a, .svc-name a, .member-name a { text-decoration-color: var(--primary); }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; margin: 0; }
.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem 0; color: var(--muted); font-size: .9375rem; font-weight: 500; line-height: 1.5; } .badge .ico { color: var(--primary); }
/* Ritmo: blanco, rosa tenue y azul pálido; grafito reservado para cierres. */
.band { position: relative; padding-block: var(--sec-pad); background: var(--bg, var(--surface)); color: var(--fg, var(--text)); }
.band--cream { --bg: var(--surface); } .band--white { --bg: var(--white); } .band--sage { --bg: var(--sage-t); } .band--sky, .band--teal { --bg: var(--teal-surface); } .band--clay, .band--sand { --bg: var(--surface-2); } .band--blush { --bg: var(--primary-t); }
.band--deep, .band--felt, .band--primary { --bg: var(--deep); --fg: var(--on-dark); }
.band--deep h1, .band--deep h2, .band--deep h3, .band--felt h2, .band--felt h3, .band--primary h2, .band--primary h3, .band--deep strong, .band--primary strong, .band--felt strong { color: var(--white); }
.band--deep a:not(.btn), .band--felt a:not(.btn), .band--primary a:not(.btn) { color: var(--peach-hover); } .band--deep .muted, .band--felt .muted, .band--primary .muted { color: var(--on-dark-soft); }
.band--tight { padding-block: var(--s5); } .band h2 { margin-bottom: var(--s4); }
.sec-head { max-width: 52rem; margin-bottom: var(--s5); } .sec-head.is-center { margin-inline: auto; text-align: center; } .sec-head .section-h { margin-bottom: var(--s3); }
.sec-lead { font-size: var(--fs-lead); line-height: 1.8; color: var(--muted); margin: var(--s2) 0 0; max-width: 62ch; } .sec-head.is-center .sec-lead { margin-inline: auto; }
.band--deep .sec-lead, .band--primary .sec-lead, .band--felt .sec-lead { color: var(--on-dark-soft); } .band--deep .eyebrow, .band--primary .eyebrow, .band--felt .eyebrow { color: var(--peach); }
.trust-head, .faq-head, .info-head, .team-head, .paths-head { max-width: 52rem; margin-bottom: var(--s5); } .faq-head p, .info-head p { color: var(--muted); font-size: var(--fs-lead); margin: 0; }
.section-h { display: block; margin-bottom: var(--s4); } .section-h a { color: inherit; text-decoration: none; } .section-h a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.more { margin-top: var(--s3); font-weight: 600; } .lead { font-size: var(--fs-lead); line-height: 1.8; color: var(--muted); max-width: 62ch; }
/* Interiores: apertura panorámica suave y título centrado, sin imágenes ajenas. */
.phead { background: var(--surface); color: var(--text); border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem); position: relative; }
.phead .wrap { position: relative; }
/* Imagen propia de cabecera (Ajustes): se coloca bajo un velo claro opaco que protege la lectura. */
.phead-main { text-align: center; max-width: 58rem; margin-inline: auto; }
.phead h1 { color: var(--ink); max-width: 25ch; margin: var(--s4) auto; font-size: var(--fs-h1-page); }
.phead .lead { margin: var(--s4) auto; color: var(--text); max-width: 65ch; }
.phead .badges, .phead .cta-row { justify-content: center; }
.phead .eyebrow, .phead .badge .ico { color: var(--primary); }
.phead strong { color: var(--ink); }
.phead-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.phead-aside { position: relative; color: var(--text); min-width: 0; width: min(100%, 56rem); margin-inline: auto; }
.phead-aside > .card, .phead-aside > .fact, .phead-aside .quote.card { background: var(--white); box-shadow: none; border-color: var(--line); }
.phead-aside h2, .phead-aside h3, .phead-aside strong { color: var(--ink); }
.phead-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin: 0; background: var(--white); color: var(--text); border-radius: var(--r-lg); padding: var(--s4); }
.fact { padding: var(--s3) 0; }
.fact dt { font-size: .9375rem; color: var(--muted); font-weight: 500; }
.fact dd { margin: .25rem 0 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; color: var(--ink); line-height: 1.3; font-variant-numeric: tabular-nums; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .45rem; font-size: var(--fs-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .45rem; color: var(--primary); }
.crumbs a { color: var(--text); display: inline-flex; align-items: center; min-height: 44px; padding-inline: .15rem; } .crumbs a:hover { color: var(--primary); }
@media (max-width: 40rem) { .phead h1 { max-width: 24ch; } .phead .cta-row .btn { width: 100%; } .phead .badges { justify-content: flex-start; text-align: left; } }
@media (forced-colors: active) { .phead { background: Canvas; color: CanvasText; } .phead h1, .phead .lead { color: CanvasText; } }

/* ---- Rejillas y tarjetas ---- */
.grid { display: grid; gap: var(--gap-grid); } .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 62rem) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 40rem) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); color: var(--text); border: 0; border-radius: var(--r-lg); padding: clamp(1.5rem, 2.8vw, 2.25rem); min-width: 0; position: relative; }
.card > :last-child { margin-bottom: 0; }
.card--soft { background: var(--surface-2); box-shadow: none; } .card--teal { background: var(--teal-surface); box-shadow: none; } .card--sage { background: var(--sage-t); box-shadow: none; border-color: rgb(63 94 74 / .22); }
.card--amber { background: var(--amber-t); box-shadow: none; border-color: rgb(125 77 14 / .28); }
.card-h { font-size: 1.625rem; margin: 0 0 var(--s2); } .card p { color: var(--text); }
.icon-tile { display: grid; place-items: center; width: 3rem; height: 3rem; color: var(--primary); margin-bottom: var(--s3); } .icon-tile--teal { color: var(--primary); } .icon-tile--amber { color: var(--amber); }
.icon-tile .ico { width: 2rem; height: 2rem; }
.card--link { transition: border-color var(--dur-ui), background-color var(--dur-ui); } .card--link:hover { border-color: var(--primary); background: var(--surface); }
.stat { font-family: var(--font-display); font-size: 2.25rem; font-weight: 400; color: var(--primary); line-height: 1; font-variant-numeric: tabular-nums; }
.price { font-family: var(--font-display); font-weight: 400; font-variant-numeric: tabular-nums; color: var(--primary); line-height: 1; }
.price small { font: 600 .9375rem var(--font-body); color: var(--muted); margin-left: .25rem; }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s5) var(--s6); align-items: start; } .split--rev > :first-child { order: 2; }
@media (max-width: 62rem) { .split { grid-template-columns: 1fr; gap: var(--s4); } .split--rev > :first-child { order: 0; } }
.quote { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; color: var(--ink); font-style: normal; letter-spacing: -.015em; }
.quote footer, .quote cite { display: block; margin-top: var(--s3); font: 600 .9375rem var(--font-body); font-style: normal; color: var(--muted); }
.note { max-width: var(--measure); background: var(--amber-t); border: 1px solid rgb(125 77 14 / .28); padding: var(--s3) var(--s4); margin-block: var(--s4); border-radius: var(--r-md); font-size: 1rem; color: var(--ink); } .note a { color: var(--primary-dark); }
.disclaimer { max-width: 64ch; font-size: var(--fs-small); color: var(--muted); border-top: 1px solid var(--line-strong); padding-top: var(--s3); margin-top: var(--s5); }
.ticks { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; gap: .6rem; } .ticks li { display: flex; gap: .65rem; align-items: flex-start; } .ticks .ico { margin-top: .22rem; }
.ticks--yes .ico { color: var(--ok); } .ticks--no .ico { color: var(--muted); }

/* ---- Prosa, detalle ---- */
.page-head { padding-block: var(--s4) var(--s2); }
.prose { max-width: var(--measure); overflow-wrap: break-word; } .prose.narrow { max-width: 56ch; }
.prose h2 { font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.25rem); margin-top: var(--s6); } .prose h3 { margin-top: var(--s5); } .prose h2, .prose h3 { scroll-margin-top: 6rem; overflow-wrap: anywhere; }
.prose li { margin-bottom: .4rem; } .prose img { margin-block: var(--s4); border-radius: var(--r-lg); max-width: 100%; height: auto; }
.prose blockquote { margin: var(--s4) 0; padding: var(--s3) var(--s4); background: var(--surface-2); border-left: 1px solid var(--secondary-2); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--muted); overflow-wrap: anywhere; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; }
@media (max-width: 40rem) { .prose table, .prose tbody, .prose tr, .prose th, .prose td { display: block; width: 100%; } .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .prose tr { padding-block: .5rem; border-bottom: 1px solid var(--line); } .prose td, .prose th { border: 0; padding: .25rem 0; } .prose td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink); } } .prose th, .prose td { border-bottom: 1px solid var(--line); padding: .5rem; text-align: left; } .prose a { overflow-wrap: anywhere; }
.prose figure { margin: var(--s4) 0; max-width: 100%; } .prose figcaption { font-size: var(--fs-small); color: var(--muted); margin-top: .4rem; }
.prose pre, .prose code { font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: .95em; }
.prose pre { overflow-x: auto; max-width: 100%; padding: var(--s3); background: var(--surface-2); border-radius: var(--r-sm); }
.reading { font-size: 1.125rem; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem); gap: clamp(2rem, 7vw, 7rem); align-items: start; } .detail .side { grid-column: 2; position: sticky; top: 6rem; }
.detail .prose, .detail > div { min-width: 0; }
@media (max-width: 62rem) { .detail { grid-template-columns: 1fr; gap: var(--s4); } .detail .side { grid-column: 1; position: static; } }
.plain { list-style: none; padding: 0; } .plain li { padding-block: .2rem; }

/* ---- Ficha de datos ---- */
.label { background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: var(--s5); border: 0; grid-column: 1; }
.label-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin: 0 0 var(--s2); }
.label dl { margin: 0; } .label dl > div { display: grid; grid-template-columns: 8rem 1fr; gap: var(--s3); padding-block: .65rem; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.45; }
.label dt { color: var(--muted); font-weight: 650; } .label dd { margin: 0; overflow-wrap: anywhere; } .label dd a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 30rem) { .label dl > div { grid-template-columns: 1fr; gap: 0; } }
.side-note { font-size: var(--fs-small); color: var(--muted); margin: var(--s2) 0 0; }

/* ---- Pasos y líneas de tiempo ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--gap-grid); counter-reset: st; }
.steps--3 { --cols: 3; } .steps--4 { --cols: 4; } .steps--2 { --cols: 2; }
.step { position: relative; border-top: 1px solid var(--line-strong); padding: var(--s4) 0; counter-increment: st; min-width: 0; }
.step::before { content: counter(st); display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--primary); margin-bottom: var(--s4); font-weight: 400; }
.step h3 { font-size: 1.25rem; margin-bottom: .35rem; } .step p { margin: 0; color: var(--text); font-size: 1rem; }
.step-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 var(--s2); font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sage); }
.step-foot { display: flex; gap: .45rem; align-items: center; margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--line); font-size: .875rem; font-weight: 650; color: var(--sage); } .step-foot .ico { color: var(--sage); }
.step.is-optional { border-style: dashed; background: var(--surface); }
@media (max-width: 62rem) { .steps--4 { --cols: 2; } } @media (max-width: 48rem) { .steps, .steps--3, .steps--4 { --cols: 1; } }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: var(--s3); }
.timeline::before { content: ""; position: absolute; left: 1.2rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line-strong); }
.tl-item { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--s3); }
.tl-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--r-pill); background: var(--primary); color: var(--white); font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; }
.tl-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s3) var(--s4); box-shadow: var(--shadow-sm); }
.tl-time { display: inline-block; margin: 0 0 .25rem; font: 700 .875rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--sage); }
.tl-card h3 { margin-bottom: .35rem; font-size: 1.3rem; } .tl-card p { margin: 0 0 .5rem; } .tl-tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 650; color: var(--sage); } .tl-card > :last-child { margin-bottom: 0; }

/* ---- Libro de tarifas ---- */
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 var(--s3); align-items: baseline; padding-block: var(--s3); border-top: 1px solid var(--on-dark-line); }
.ledger li:last-child { border-bottom: 1px solid var(--on-dark-line); }
.ledger .l-name { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.2; color: var(--white); }
.ledger .l-amt { font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--white); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger .l-meta { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--on-dark-soft); }
.ledger li.is-first .l-name { font-size: 1.5rem; }
.fee-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5) var(--s6); align-items: start; } .fee-copy p { max-width: 52ch; color: var(--on-dark-soft); } .fee-copy .section-h { color: var(--white); }
@media (max-width: 52rem) { .fee-grid { grid-template-columns: 1fr; } .ledger .l-amt { font-size: 1.6rem; } }
.prices { width: 100%; border-collapse: collapse; margin-block: var(--s3); background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.prices th, .prices td { text-align: left; padding: var(--s3) var(--s4); border-top: 1px solid var(--line); vertical-align: middle; }
.prices thead th { font-size: .9375rem; color: var(--on-dark-soft); border-top: 0; font-weight: 400; background: var(--ink); }
.p-label { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.p-notes { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-small); margin-top: .2rem; max-width: 46ch; font-family: var(--font-body); }
.p-amount { white-space: nowrap; text-align: right; } .p-amount .amt { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; color: var(--primary); font-variant-numeric: tabular-nums; }
.p-amount.p-text .amt { font-size: 1.05rem; font-family: var(--font-body); font-weight: 650; color: var(--muted); }
.prices td:last-child, .prices th:last-child { text-align: right; }
.prices tr.is-first > * { background: var(--sage-t); }
@media (max-width: 40rem) {
  .prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prices, .prices tbody, .prices tr, .prices th, .prices td { display: block; width: 100%; text-align: left !important; }
  .prices tr { border-top: 1px solid var(--line); padding-block: var(--s2); } .prices th, .prices td { border: 0 !important; padding: .2rem var(--s3); }
  .prices td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: var(--fs-small); } .p-cta .btn { width: 100%; }
}
.p-per { font-size: var(--fs-small); color: var(--muted); font-weight: 650; white-space: nowrap; margin-left: .4rem; } .amt-line { display: flex; align-items: baseline; justify-content: flex-end; gap: var(--s2); }
.p-first { margin-top: .4rem; }

/* FAQ: una lectura continua, no una colección de tarjetas. */
.acc { max-width: 58rem; border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-q { margin: 0; font: inherit; }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 68px; padding: 1rem .25rem; background: none; border: 0; cursor: pointer; text-align: left; font: 600 1.0625rem/1.6 var(--font-body); color: var(--ink); }
.acc-btn:hover, .acc-btn[aria-expanded="true"] { color: var(--primary); }
.acc-ico { flex: none; position: relative; width: 1.75rem; height: 1.75rem; }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1rem; height: 2px; background: var(--primary); transform: translate(-50%, -50%); transition: transform .25s var(--ease-out); } .acc-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-ico::after { transform: translate(-50%, -50%) rotate(0); }
.js .acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s var(--ease-out); } .js .acc-panel[hidden-acc] { grid-template-rows: 0fr; }
.js .acc-panel.is-closed { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s var(--ease-out), visibility 0s .3s; }
.acc-in { overflow: hidden; min-height: 0; } .acc-in > .prose { padding: 0 3rem 1.5rem .25rem; max-width: 70ch; } .acc-in .prose > :last-child { margin-bottom: 0; }
.faq-more { margin-top: var(--s4); }

/* ---- Formularios ---- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.form-layout .side { grid-column: 2; grid-row: 1; } @media (max-width: 62rem) { .form-layout { grid-template-columns: 1fr; gap: var(--s4); } .form-layout .side { grid-column: 1; grid-row: auto; } }
.lead-form, .stack { max-width: 38rem; } .stack.wide { max-width: 52rem; }
.form-card { background: var(--surface-2); border: 0; border-radius: var(--r-md); padding: clamp(1.25rem, 3.5vw, 3rem); }
.form-card .lead-form { max-width: none; }
.field { margin-bottom: var(--s4); } .field label, .field-label { display: block; font-weight: 650; color: var(--ink); margin-bottom: .3rem; }
.req, .opt { font-weight: 400; color: var(--muted); font-size: var(--fs-small); } .hint { font-size: var(--fs-small); color: var(--muted); margin: 0 0 .4rem; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=datetime-local], input[type=file], select, textarea {
  width: 100%; min-height: 54px; padding: .75rem .9rem; font: inherit; font-size: 1.0625rem; color: var(--ink); caret-color: var(--primary); background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-sm); transition: border-color var(--dur-ui), background-color var(--dur-ui); }
::placeholder { color: var(--muted); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--secondary); }
textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-color: var(--primary); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); border-width: 2px; }
.err { color: var(--danger); font-weight: 650; margin: .35rem 0 0; font-size: .9375rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { border: 0; padding: 0; margin: 0 0 var(--s3); } .consent legend { font-weight: 650; padding: 0; margin-bottom: .5rem; color: var(--ink); }
.first-layer { font-size: var(--fs-small); color: var(--muted); border-top: 1px solid var(--line); padding: var(--s3) 0 0; margin: 0 0 var(--s3); }
.check { display: flex; gap: .75rem; align-items: flex-start; margin: 0; } .check input { width: 1.5rem; height: 1.5rem; min-height: 0; padding: 0; flex: none; margin: .15rem 0 0; accent-color: var(--primary); } .check label { margin: 0; font-weight: 400; color: var(--text); }
.clinical-note { font-size: var(--fs-small); color: var(--muted); max-width: 52ch; } .clinical-note a { font-weight: 700; }
.privacy-note { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem 1rem; background: var(--teal-surface); border-radius: var(--r-md); color: var(--primary-dark); font-size: var(--fs-small); margin-bottom: var(--s3); } .privacy-note .ico { margin-top: .15rem; color: var(--primary); } .privacy-note p { margin: 0; }
.choice-group { border: 0; padding: 0; margin: 0 0 var(--s3); min-width: 0; } .choice-group legend { font-weight: 650; color: var(--ink); padding: 0; margin-bottom: .4rem; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .5rem; }
.choice { position: relative; } .choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.choice span { display: flex; align-items: center; gap: .55rem; min-height: 48px; padding: .5rem .9rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); font-weight: 400; color: var(--text); transition: background-color .15s, border-color .15s; }
.choice span::before { content: ""; flex: none; width: 1.05rem; height: 1.05rem; border-radius: var(--r-pill); border: 1.5px solid var(--secondary); background: var(--white); transition: box-shadow .15s, background-color .15s; }
.choice input:checked + span { border-color: var(--primary); background: var(--primary-t); color: var(--primary-dark); } .choice input:checked + span::before { background: var(--primary); box-shadow: inset 0 0 0 3px var(--white); border-color: var(--primary); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; } .choice:hover span { border-color: var(--secondary); }
.alert { padding: var(--s3) var(--s4); margin-bottom: var(--s4); border-radius: var(--r-md); border: 1px solid; max-width: 52rem; } .alert p { margin: 0 0 .4rem; } .alert p:last-child { margin: 0; } .alert ul { margin: .25rem 0 0; }
.alert-error { background: var(--danger-t); border-color: var(--danger); color: #4A1414; scroll-margin-top: 6rem; } .alert-error a { color: #4A1414; }
.alert-ok { background: var(--ok-t); border-color: var(--ok); color: #0F3A27; } .alert-error:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.staging { background: var(--amber-t); color: #5C2A04; border-bottom: 1px solid rgb(125 77 14 / .3); font-size: var(--fs-small); padding: .5rem 0; font-weight: 400; } .staging a { color: inherit; }
.request-note { max-width: 38rem; background: var(--teal-surface); border: 1px solid var(--primary-t); border-radius: var(--r-md); padding: var(--s3) var(--s4); margin-bottom: var(--s4); }
.request-note h2 { font-size: 1.35rem; margin: 0 0 .35rem; } .request-note p { margin: 0; font-size: 1rem; }
.tel-link { font-weight: 700; font-size: 1.125rem; }
.crisis { max-width: 52rem; margin-top: var(--s5); padding: var(--s3) var(--s4); background: var(--amber-t); border: 1px solid rgb(125 77 14 / .28); border-radius: var(--r-md); }
.crisis p { margin: 0; font-size: 1rem; } .crisis a { font-weight: 700; }
.next-steps { max-width: 44rem; } .next-steps h2 { font-size: 1.7rem; margin-top: var(--s4); } .next-steps h2:first-child { margin-top: 0; }
.next-steps ol { padding-left: 1.5rem; } .next-steps li { margin-bottom: .6rem; }
.next-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.next-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .25rem 1.1rem; border-radius: var(--r-sm); border: 1px solid var(--line-strong); color: var(--primary); text-decoration: none; font-weight: 650; background: var(--white); } .next-links a:hover { background: var(--surface-2); border-color: var(--primary); }
.checklist { list-style: none; padding: 0; margin: 0 0 var(--s4); max-width: 58ch; } .checklist li { padding: var(--s2) 0 var(--s2) 2rem; border-top: 1px solid var(--line); position: relative; } .checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.1rem; height: .8rem; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 22 16%27%3E%3Cpath d=%27M2 8.5l6 5.5L20 2%27 fill=%27none%27 stroke=%27%2315803D%27 stroke-width=%272.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---- Pie ---- */
.site-footer { position: relative; background: var(--deep-2); color: var(--on-dark); border-top: 1px solid var(--on-dark-line); padding-block: clamp(3.5rem, 7vw, 6rem) var(--s4); }
.site-footer a { color: var(--on-dark-soft); text-decoration-color: #9DB0A3; text-decoration-thickness: 1px; display: inline-block; padding-block: .35rem; } .site-footer a:hover { color: var(--peach); text-decoration-color: var(--peach); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s5); } .foot > * { min-width: 0; } .foot a, .foot address { overflow-wrap: anywhere; } @media (max-width: 70rem) { .foot { grid-template-columns: 1fr 1fr; } } @media (max-width: 40rem) { .foot { grid-template-columns: 1fr; gap: var(--s4); } }
.foot-h { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; margin-bottom: var(--s2); color: var(--white); }
.foot-logo { margin: 0 0 var(--s3); } .foot-logo .logo-img { height: 60px; width: auto; max-width: 100%; }
.foot-about { font-size: var(--fs-small); color: var(--on-dark-soft); max-width: 40ch; margin: 0 0 var(--s3); }
.site-footer .badge { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .28); color: var(--white); } .site-footer .badge .ico { color: var(--peach); }
.site-footer address { font-style: normal; } .site-footer address p { margin: 0 0 .35rem; } .foot-nav ul { list-style: none; padding: 0; margin: 0; } .foot-nav li { padding-block: .15rem; }
.foot-guarantee { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between; align-items: center; padding-block: var(--s4); border-block: 1px solid var(--on-dark-line); }
.foot-guarantee p { margin: 0; font-size: var(--fs-small); color: var(--on-dark-soft); max-width: 64ch; } .foot-guarantee strong { color: var(--white); display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; }
.foot-note { font-size: var(--fs-small); color: var(--on-dark-soft); max-width: 70ch; grid-column: 1 / -1; margin: 0; }
.foot-base { border-top: 1px solid var(--on-dark-line); margin-top: var(--s4); padding-top: var(--s3); font-size: var(--fs-small); color: var(--on-dark-soft); display: flex; flex-wrap: wrap; gap: .25rem var(--s4); justify-content: space-between; } .foot-base p { margin: 0; } .foot-base ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem var(--s3); margin: 0; padding: 0; }
.foot-credit { margin-top: .5rem; margin-bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem; font-size: var(--fs-small); color: var(--on-dark-soft); }
.foot-credit a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.foot-credit .foot-heart { width: 1rem; height: 1rem; color: #ff7a8a; fill: currentColor; }
.main-end { height: 0; }

/* ---- 404 y estados ---- */
/* 404 sin imagen: el código en grande como elemento tipográfico (ADR-007). */
.nf { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s5); align-items: center; padding-block: var(--s5); }
.nf-code { margin: 0; font-family: var(--font-display); font-weight: 600; font-style: italic; line-height: .9; letter-spacing: -.03em; font-size: clamp(5rem, 3rem + 12vw, 11rem); color: var(--clay); border-right: 6px solid var(--peach); padding-right: clamp(1rem, 3vw, 2.5rem); }
@media (max-width: 40rem) { .nf { grid-template-columns: 1fr; } .nf-code { border-right: 0; border-bottom: 6px solid var(--peach); padding: 0 0 .5rem; font-size: clamp(4.5rem, 3rem + 14vw, 7rem); } }

/* ---- Movimiento y accesibilidad ---- */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; animation-timing-function: var(--ease-out); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } .btn:hover, .card--link:hover { transform: none; } }
@media (forced-colors: active) { .btn { border: 2px solid ButtonText; } .card, .step, .tl-card, .acc-item { border: 1px solid CanvasText; } .acc-ico { border-color: ButtonText; } }
@media print { .site-header, .site-footer, .skip, .nav-toggle { display: none; } body { background: #fff; color: #000; } .band, .phead, .hero { background: #fff !important; color: #000; } .phead h1, .phead .lead, .phead strong, .crumbs ol, .crumbs a { color: #000; } .site-header { position: static; } .acc-panel { display: block !important; visibility: visible !important; } }

/* ============ Herbario: tarjetas como fichas de catálogo ============ */
/* Las tarjetas heredadas (icono + título + texto) se leen como fichas: filete doble superior, borde fino, icono lineal sin caja, número de ficha por CSS. */
.card { border: 1px solid var(--line); border-top: 4px double var(--primary); border-radius: 0 0 var(--r-md) var(--r-md); background: var(--white); box-shadow: none; }
.card--teal { background: var(--sage-t); border-color: #C5D4BC; border-top-color: var(--primary); }
.card--sage { background: var(--primary-t); border-color: #BCCFB2; border-top-color: var(--sage); }
.card--soft { background: var(--surface-2); }
.card--amber { border-top-color: var(--amber); }
.icon-tile { width: 2.25rem; height: 2.25rem; margin-bottom: var(--s3); justify-content: start; }
.icon-tile .ico { width: 1.75rem; height: 1.75rem; stroke-width: 1.4; }
.card .eyebrow, .step .eyebrow { margin: 0 0 .5rem; font: 700 .875rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.grid > .card.price-card, .price-card { border-top-width: 4px; }
.step { border-top: 4px double var(--primary); border-bottom: 0; }
.step::before { color: var(--clay); font-style: italic; font-weight: 400; font-size: 1.75rem; }
.tl-card { border-radius: 0 0 var(--r-md) var(--r-md); border-top: 4px double var(--primary); }
.tl-dot { background: var(--primary); }
.eyebrow { color: var(--clay); letter-spacing: .06em; }
.band--deep .eyebrow, .band--primary .eyebrow, .band--felt .eyebrow { color: var(--peach); }
.crumbs li + li::before { color: var(--sage); }
.phead { border-bottom: 1px solid var(--line); }
.phead-main { text-align: left; margin-inline: 0; max-width: 46rem; }
.phead h1 { margin-inline: 0; max-width: 20ch; }
.phead .lead { margin-inline: 0; }
.phead .badges, .phead .cta-row, .crumbs ol { justify-content: flex-start; }
.sec-head.is-center { text-align: left; margin-inline: 0; }
.site-footer { background: var(--deep-2); }
@media (max-width: 62rem) { .phead-main { max-width: none; } }

/* ---- /neuropsicologia/ (prefijo np-) ---- */
.np-ficha { background: var(--white); border: 0; padding: clamp(1.5rem, 3vw, 2.5rem); }
.np-ficha .hero-plan { max-height: 15rem; }
.np-ficha .np-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.np-ficha .np-stats li { grid-template-columns: 1fr; gap: .4rem; border: 0; }
@media (max-width: 40rem) { .np-ficha .np-stats { grid-template-columns: 1fr; gap: 0; } .np-ficha .np-stats li { grid-template-columns: 7rem minmax(0, 1fr); } }
.np-ficha .eyebrow { margin-bottom: .25rem; }
.np-unit { margin: 0 0 .35rem; font-size: var(--fs-small); color: var(--muted); }
.np-unit strong { color: var(--ink); }
.np-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: var(--s3) 0; }
.np-ficha .card-h { margin-top: var(--s3); }
.np-sign { font-weight: 650; color: var(--ink); margin-bottom: var(--s2); }
.np-stats { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; margin: var(--s4) 0 0; border-top: 1px solid var(--line-strong); }
.np-stats li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--s3); align-items: baseline; min-width: 0; padding-block: .65rem; border-bottom: 1px solid var(--line); }
.np-stats .stat { font-size: 1.3rem; overflow-wrap: anywhere; }
.np-stat-l { font-size: .875rem; font-weight: 650; letter-spacing: .03em; color: var(--muted); }
@media (max-width: 30rem) { .np-stats { grid-template-columns: 1fr; } .np-stats li { grid-template-columns: 7rem 1fr; align-items: baseline; } }

/* Pestañas por etapa vital */
.np-tabs [role="tablist"] { display: none; } .js .np-tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 0; padding: 0; border-bottom: 1px solid var(--line-strong); max-width: 100%; }
.np-tabs [role="tab"] { min-height: 48px; padding: .5rem 1.25rem; border: 0; border-radius: var(--r-md); background: transparent; color: var(--text); font: 650 1rem/1.25 var(--font-body); cursor: pointer; text-align: left; transition: background-color .2s, color .2s, box-shadow .2s; }
.np-tabs [role="tab"]:hover { background: var(--white); color: var(--primary-dark); }
.np-tabs [role="tab"][aria-selected="true"] { background: var(--peach); color: var(--ink); border-radius: var(--r-md) var(--r-md) 0 0; }
.np-tabs [role="tab"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.np-tabs [role="tab"][aria-selected="true"]:focus-visible { outline-color: var(--primary-dark); box-shadow: 0 0 0 2px var(--white), 0 0 0 5px var(--primary-dark); }
.np-panel { display: grid; gap: var(--s5); padding: clamp(1.25rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); }
.np-panel + .np-panel { margin-top: var(--s4); }
.js .np-panel[hidden] { display: none; }
.js .np-panel + .np-panel { margin-top: 0; }
.np-panel:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.np-panel-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); align-items: center; }
.np-panel-head h3 { margin-bottom: .35rem; }
.np-panel-head p:last-child { margin: 0; color: var(--muted); }
.np-panel-head .pill { margin-bottom: var(--s2); }
.np-signs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); padding: 0; margin: 0; }
.np-signs li { padding-block: var(--s3); border-top: 1px solid var(--line-strong); }
.np-signs li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.np-panel-foot { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; margin: 0; }
@media (max-width: 48rem) { .np-signs { grid-template-columns: 1fr; } .np-panel { padding: var(--s3); } .np-panel-head { gap: var(--s3); } .np-tabs [role="tablist"] { width: 100%; } .np-tabs [role="tab"] { flex: 1 1 100%; } }

/* Mapa neurocognitivo */
.np-mapa-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s4) var(--s5); align-items: end; margin-bottom: var(--s5); }
.np-mapa-head .sec-head { margin-bottom: 0; }
.np-std { text-align: center; overflow: hidden; }
.np-std .eyebrow { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .1rem; }
.np-std-t { margin: 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--ink); }
.np-domains { list-style: none; padding: 0; margin: 0; }
.np-domain { display: flex; flex-direction: column; background: none; border: 0; border-radius: 0; padding: var(--s3) 0; }
.np-reports .card, .np-rehab .card { background: none; border: 0; border-radius: 0; padding: 0; }
.np-domain-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s2); }
.np-domain-top .icon-tile { margin-bottom: 0; }
.np-domain h3 { font-size: 1.35rem; }
.np-tests { margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }
.np-tests strong { color: var(--primary-dark); }
@media (max-width: 62rem) { .np-mapa-head { grid-template-columns: 1fr; } }

/* Informes (#informes) */
.np-informes-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s4) var(--s5); align-items: start; margin-bottom: var(--s5); }
.np-informes-head .sec-head { margin-bottom: 0; }
.np-garantia h3 { font-size: 1.3rem; }
.np-reports, .np-rehab { list-style: none; padding: 0; margin: 0; }
.np-reports .card { display: flex; flex-direction: column; }
.np-reports .pill { align-self: flex-start; margin-bottom: var(--s2); }
.np-reports h3 { font-size: 1.35rem; }
#informes { scroll-margin-top: 5.5rem; }
@media (max-width: 62rem) { .np-informes-head { grid-template-columns: 1fr; } }

/* Neurorrehabilitación */
.np-rehab .card { display: flex; flex-direction: column; }
.np-rehab h3 { font-size: 1.35rem; }
.np-fee { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin: auto 0 0; padding-top: var(--s3); border-top: 1px solid var(--line); font-weight: 650; color: var(--muted); font-size: var(--fs-small); }
.np-fee .price { font-size: 1.75rem; }

/* CTA final */
.np-cta { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s5); align-items: start; }
.np-cta .eyebrow { display: inline-flex; align-items: center; gap: .4rem; }
.np-cta .section-h { max-width: 20ch; }
.np-datos { list-style: none; display: grid; gap: var(--s3); padding: var(--s4); margin: 0; background: rgb(255 255 255 / .08); border: 1px solid var(--on-dark-line); border-radius: var(--r-lg); }
.np-datos li { display: flex; gap: .75rem; align-items: flex-start; }
.np-datos .ico { margin-top: .25rem; color: var(--peach); }
.np-datos a { text-underline-offset: .22em; }
@media (max-width: 62rem) { .np-cta { grid-template-columns: 1fr; } }

/* ---- /services/ Psicología (prefijo ps-) ---- */
.ps-aside { display: grid; gap: var(--s3); }
.ps-facts { list-style: none; display: grid; gap: 0; padding: var(--s2) var(--s4); margin: 0; background: var(--surface); border-radius: var(--r-md); }
.ps-facts li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: var(--s3); align-items: baseline; padding-block: var(--s3); border-bottom: 1px solid var(--line); font-weight: 550; color: var(--ink); line-height: 1.4; }
.ps-facts li:last-child { border-bottom: 0; }
.ps-facts .stat { font-size: 1.7rem; }
.ps-room { display: flex; align-items: center; gap: var(--s3); margin: 0; padding: var(--s3); background: var(--surface-2); border-radius: var(--r-md); color: var(--text); font-weight: 550; }
.ps-room span { display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 62rem) { .ps-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ps-facts li { grid-template-columns: 1fr; gap: .25rem; } }
@media (max-width: 40rem) { .ps-facts { grid-template-columns: 1fr; } .ps-facts li { grid-template-columns: 4.5rem minmax(0, 1fr); } }

/* Cita de la directora */

/* Áreas */
.ps-common { margin: calc(var(--s3) * -1) 0 var(--s4); }
.ps-areas { list-style: none; padding: 0; margin: 0; align-items: stretch; }
.ps-area { display: flex; flex-direction: column; padding: 0; background: transparent; border: 0; border-radius: 0; }
.ps-area > h3 { margin-top: var(--s3); }
.ps-area .ps-list-h { margin-top: var(--s3); }
.ps-area .ps-area-foot { width: 100%; }
.ps-area-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s2); }
.ps-area h3 { font-size: 1.5rem; }
.ps-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s2) var(--s3); margin: var(--s3) 0; padding: var(--s3); border-radius: var(--r-md); background: var(--primary-t); }
.ps-price .price { font-size: 2.5rem; }
.ps-list-h { margin-bottom: var(--s2); }
.ps-area .ticks { flex: 1; }
.ps-area-foot { margin: var(--s2) 0 .5rem; } .ps-area-foot .btn { width: 100%; }
.ps-area-note { margin: 0; font-size: var(--fs-small); color: var(--muted); text-align: center; }
.ps-orient { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s3) var(--s4); align-items: center; margin-top: var(--s5); }
.ps-orient .icon-tile { margin: 0; }
.ps-orient h3 { margin-bottom: .25rem; }
.ps-orient p { margin: 0; }
@media (max-width: 48rem) { .ps-orient { grid-template-columns: 1fr; } }

/* Enfoque */
.ps-enfoques { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.ps-enfoques .card { display: flex; flex-direction: column; align-items: flex-start; padding: var(--s4) 0; background: none; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; }
.ps-enfoques h3 { font-size: 1.35rem; }
.ps-enfoques .pill { margin: auto 0 0; }
.ps-enfoques p:not(.pill) { flex: 1; }
.ps-human { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3) var(--s4); align-items: start; }
.ps-human .icon-tile { margin: 0; }
.ps-human h3 { font-size: 1.5rem; }
@media (max-width: 40rem) { .ps-human { grid-template-columns: 1fr; } }

/* Bioética y tarifas */
.ps-bio { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s5) var(--s6); align-items: start; }
.ps-bio .eyebrow { display: inline-flex; align-items: center; gap: .4rem; }
.ps-bio .section-h { max-width: 22ch; }
.ps-bio-pts { list-style: none; display: grid; gap: var(--s3); padding: 0; margin: var(--s4) 0 0; }
.ps-bio-pts li { display: flex; gap: .85rem; align-items: flex-start; }
.ps-bio-pts .ico { margin-top: .3rem; color: var(--peach); width: 1.5rem; height: 1.5rem; }
.ps-bio-pts h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.ps-bio-pts p { margin: 0; color: var(--on-dark-soft); }
.ps-tarifas h3 { font-size: 1.5rem; color: var(--white); }
.ps-tarifas .ledger .l-amt { font-size: 1.5rem; }
.ps-tq { margin-top: var(--s3); font-size: 1.15rem; color: var(--on-dark); }
@media (max-width: 62rem) { .ps-bio { grid-template-columns: 1fr; } }

/* FAQ */
.ps-faq-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s4) var(--s5); align-items: end; margin-bottom: var(--s5); }
.ps-faq-head .sec-head { margin-bottom: 0; }
.ps-tel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); align-items: center; }
.ps-tel .icon-tile { margin: 0; }
.ps-tel p { display: grid; margin: 0; }
.ps-tel .tel-link { font-size: 1.5rem; }
@media (max-width: 62rem) { .ps-faq-head { grid-template-columns: 1fr; } }

/* Ubicación */
.ps-datos { list-style: none; display: grid; gap: var(--s3); padding: 0; margin: 0 0 var(--s4); }
.ps-datos li { display: flex; gap: .85rem; align-items: flex-start; }
.ps-datos .ico { margin-top: .3rem; color: var(--primary); width: 1.5rem; height: 1.5rem; }
.ps-datos h3 { font-size: 1.2rem; margin-bottom: .15rem; }
.ps-datos p { margin: 0; }
.ps-col { display: grid; justify-items: start; }

/* CTA final */
.ps-cta { display: grid; grid-template-columns: minmax(0, 7fr) auto; gap: var(--s4) var(--s5); align-items: center; }
.ps-cta .section-h { max-width: 24ch; }
.ps-cta .cta-row { margin: 0; justify-content: flex-end; }
@media (max-width: 62rem) { .ps-cta { grid-template-columns: 1fr; } .ps-cta .cta-row { justify-content: flex-start; } }

/* ---- Páginas: portada, tarifas, primera consulta, equipo, contacto ---- */
[hidden] { display: none !important; }

/* Portada */
.hero-first .hero-price { display: flex; flex-direction: column; gap: .15rem; margin-block: var(--s2) var(--s3); } .hero-first .price { font-size: 3rem; }
.hero-first .ticks { margin-bottom: 0; }
.phead-aside { min-width: 0; }
.triage { display: grid; gap: var(--s3); }
.triage-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.triage-tab { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ico tag" "ico word" "ico meta"; column-gap: var(--s3); align-items: center; text-align: left; padding: var(--s3); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); cursor: pointer; font: inherit; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, background-color .2s; min-height: 5.5rem; }
.triage-tab .icon-tile { grid-area: ico; margin: 0; }
.triage-tag { grid-area: tag; font-size: .875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sage); }
.triage-word { grid-area: word; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.15; }
.triage-meta { grid-area: meta; font-size: .875rem; color: var(--muted); }
.triage-tab:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.triage-tab[aria-selected="true"] { border-color: var(--primary); background: var(--primary-t); box-shadow: inset 0 -4px 0 var(--primary), var(--shadow-sm); }
.triage-tab[aria-selected="true"] .icon-tile { background: var(--primary); color: var(--white); }
.triage-panel { padding: var(--s5); border-color: var(--primary); box-shadow: var(--shadow-md); }
.triage-h { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: 1.75rem; margin-bottom: var(--s3); }
.triage-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s4); align-items: center; }
.triage-text { font-size: 1.1875rem; margin: 0; max-width: 54ch; color: var(--text); }
.triage-price { display: grid; gap: .25rem; padding: var(--s3) var(--s4); background: var(--surface-2); border-radius: var(--r-md); }
.triage-label { font-size: .875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.triage-price .price { font-size: 2.75rem; }
@media (max-width: 62rem) { .triage-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .triage-body { grid-template-columns: 1fr; } }
@media (max-width: 36rem) { .triage-tabs { grid-template-columns: 1fr; } .triage-panel { padding: var(--s4) var(--s3); } .triage-tab { min-height: 4.5rem; } }
html:not(.js) .triage-tabs { display: none; } html:not(.js) .triage-panel { margin-bottom: var(--s3); }
.director { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: start; margin-top: var(--s5); } .director .icon-tile { margin: 0; }
@media (max-width: 36rem) { .director { grid-template-columns: 1fr; } }
.principles .card, .certainties .card, .commitments .card { height: 100%; }
.note-dark { display: flex; gap: .6rem; align-items: flex-start; padding: var(--s3); border: 1px solid var(--on-dark-line); border-radius: var(--r-md); background: rgb(255 255 255 / .06); color: var(--on-dark); }
.note-dark .ico { margin-top: .2rem; flex: none; color: var(--peach); } .note-dark strong { color: var(--white); }
.band--fees .eyebrow { color: var(--peach); }
.close { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5) var(--s6); align-items: center; }
.close .section-h { color: var(--white); } .final-lead { font-size: var(--fs-lead); max-width: 52ch; color: var(--on-dark); }
.close-card { list-style: none; margin: 0; padding: var(--s4); background: rgb(255 255 255 / .08); border: 1px solid var(--on-dark-line); border-radius: var(--r-lg); display: grid; gap: var(--s3); }
.close-card li { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: start; color: var(--on-dark); } .close-card .ico { margin-top: .2rem; color: var(--peach); } .close-card strong { color: var(--white); } .close-card .muted { color: var(--on-dark-soft); }
.band--primary .disclaimer, .disclaimer.on-dark-text { color: var(--on-dark-soft); border-top-color: var(--on-dark-line); }
@media (max-width: 62rem) { .close { grid-template-columns: 1fr; } }

/* Tarifas */
.price-grid { list-style: none; padding: 0; margin: 0; align-items: stretch; gap: var(--s4); }
.price-card { --price-pad: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; background: var(--surface-2); border: 0; border-radius: var(--r-lg); overflow: hidden; padding: 0 0 var(--price-pad); text-align: center; }
.price-card > * { margin-inline: var(--price-pad); }
.price-card > .card-h { order: -3; align-content: center; min-height: 7rem; margin: 0; padding: var(--s4); background: var(--ink); color: var(--white); font-size: 1.6rem; }
.price-card > .eyebrow { margin-top: var(--s4); }
.price-card > .price-line { order: -2; justify-content: center; margin: 0 0 var(--s4); padding: var(--s4); background: var(--peach); color: var(--ink); }
.price-card .price-line .price { color: var(--ink); font-weight: 400; }
.price-card .price-dur { justify-content: center; }
.price-card .cta-row { margin-top: auto; margin-bottom: 0; padding-top: var(--s4); justify-content: center; }
.price-card .cta-row .btn { width: 100%; }
.price-dur { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: var(--fs-small); font-weight: 650; margin-bottom: var(--s2); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .5rem; margin: var(--s2) 0 0; } .price-line small { overflow-wrap: anywhere; } .price-line .price { font-size: 2.5rem; }
.price-note { font-size: var(--fs-small); margin: .25rem 0 0; }
.price-card--first { background: var(--primary-t); }
.price-card--first > .card-h { background: var(--primary-dark); }
.svc-list { list-style: none; padding: 0; display: grid; gap: 0; margin: 0; } .svc-list li { display: flex; justify-content: space-between; gap: var(--s4); align-items: center; flex-wrap: wrap; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; background: none; padding: var(--s5) 0; }
.svc-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.svc-name { font-size: 1.35rem; margin: 0 0 .25rem; } .svc-name a { color: var(--ink); text-decoration: none; } .svc-name a:hover { color: var(--primary); text-decoration: underline; }
.svc-main { min-width: 0; flex: 1 1 18rem; } .svc-main p { margin: 0; color: var(--muted); max-width: 52ch; }
.svc-meta { margin: 0; display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; font-size: var(--fs-small); color: var(--muted); }
.svc-price { display: inline-flex; padding: .1rem .8rem; border-radius: var(--r-pill); background: var(--primary-t); color: var(--primary-dark); font-weight: 700; }

/* Primera consulta */
.cost-card { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s4); align-items: center; margin-top: var(--s5); } .cost-card .icon-tile { margin: 0; } .cost-card .card-h { margin-bottom: .35rem; } .cost-card p { margin: 0; } .cost-card .price { font-size: 3rem; text-align: right; } .cost-card .price small { display: block; margin: 0; }
@media (max-width: 48rem) { .cost-card { grid-template-columns: 1fr; } .cost-card .price { text-align: left; } }
.vias .card { display: flex; flex-direction: column; } .vias .card > :last-child { margin-top: auto; }
.mini-steps { padding-left: 1.25rem; display: grid; gap: .6rem; margin-bottom: var(--s3); } .mini-steps li::marker { color: var(--sage); font-weight: 700; }
.compare .card { height: 100%; }
.way { list-style: none; padding: 0; } .way .card-h { margin-bottom: .35rem; }
.phead .quote.card { margin-top: var(--s3); padding: var(--s3) var(--s4); font-size: 1.15rem; }

/* Equipo */
.col-box { margin: var(--s3) 0; display: grid; gap: 0; } .col-box > div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s3); padding-block: .55rem; border-top: 1px solid var(--line); } .col-box dt { color: var(--muted); font-weight: 650; } .col-box dd { margin: 0; }
.areas { list-style: none; padding: 0; margin: 0; } .areas .card { height: 100%; }
.letter { max-width: 64rem; margin-inline: auto; padding: clamp(1.5rem, 5vw, 4rem); border: 0; border-block: 1px solid var(--line-strong); border-radius: 0; background: var(--surface); } .letter .quote { display: grid; gap: var(--s3); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); } .letter .quote p { margin: 0; } .letter footer { margin-top: var(--s2); font-style: normal; }
.map-card { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); margin-top: var(--s4); align-items: start; } .map-card .icon-tile { margin: 0; }
.room-art { width: 7rem; height: 7rem; border-radius: var(--r-md); }
.testimonials { list-style: none; padding: 0; margin: 0; } .testimonials figure { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s3); } .testimonials blockquote { margin: 0; } .testimonials .quote p { margin: 0; font-size: 1.1875rem; }
.ruled-team { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s3); } .ruled-team li { padding-top: var(--s3); border-top: 1px solid var(--line); } .ruled-team h3 { margin: 0 0 .15rem; }
.member-name { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); margin: 0 0 .15rem; }

/* Fichas de servicio, perfiles y avisos */
.siblings { margin-top: var(--s5); }
.faq-head { max-width: 52rem; }

.hero-plan { width: 100%; height: auto; aspect-ratio: 1200 / 760; max-height: 12rem; object-fit: cover; border-radius: var(--r-md); margin-bottom: var(--s3); }
.side-h { font-size: 1.25rem; margin-top: var(--s4); } .side-note { font-size: var(--fs-small); color: var(--muted); margin: var(--s2) 0 0; }
.plain { list-style: none; padding: 0; } .plain li { padding-block: .2rem; }
.table-scroll { overflow-x: auto; max-width: 100%; margin-block: var(--s3); -webkit-overflow-scrolling: touch; } .table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; } .table-scroll table { min-width: 28rem; margin: 0; }
.empty { max-width: 46ch; color: var(--muted); }
.phead h1 { overflow-wrap: break-word; hyphens: none; }
.staging--inline { padding: var(--s2) var(--s3); border-radius: var(--r-sm); margin-bottom: var(--s4); max-width: 60rem; }

/* Resumen práctico: información de consulta, no un segundo hero. */
.band--qa { padding-block: var(--s5); background: var(--teal-surface); }
.qa { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s3) clamp(2rem, 5vw, 5rem); align-items: start; padding: var(--s2) 0; border: 0; border-radius: 0; background: none; }
.qa-h { grid-column: 1 / -1; font-family: var(--font-display); font-size: 1.625rem; font-weight: 400; color: var(--ink); margin: 0 0 .25rem; }
.qa-p { margin: 0; font-size: 1.125rem; line-height: 1.65; color: var(--text); max-width: 62ch; }
.qa-facts { margin: 0; display: grid; gap: 0; }
.qa-facts > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--s3); padding-block: .65rem; border-top: 1px solid var(--line-strong); font-size: 1rem; line-height: 1.5; }
.qa-facts > div:first-child { padding-top: 0; border-top: 0; }
.qa-facts dt { color: var(--muted); font-weight: 550; } .qa-facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
@media (max-width: 62rem) { .qa { grid-template-columns: 1fr; gap: var(--s4); } .qa-h { margin: 0; } .qa-facts { max-width: 42rem; } }
@media (max-width: 30rem) { .qa-facts > div { grid-template-columns: 1fr; gap: .2rem; } }
/* Preguntas agrupadas: tema y respuestas forman una sola unidad de lectura. */
.faq-topic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: clamp(2rem, 6vw, 6rem); margin-bottom: var(--s6); }
.faq-topic-h { grid-column: 1; font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem); margin: 0 0 var(--s3); }
.faq-topic-lead { grid-column: 1; grid-row: 2; align-self: start; color: var(--muted); margin: 0; max-width: 35ch; }
.faq-topic .acc { grid-column: 2; grid-row: 1 / 4; max-width: none; }
@media (max-width: 48rem) { .faq-topic { display: block; margin-bottom: var(--s5); } .faq-topic-lead { max-width: 60ch; margin-bottom: var(--s4); } }

/* Portada — lenguaje inspirado en Calmind: fondo rosado, serif amplia, fotografía grande, botones redondeados. */
.site-contact-strip { background: var(--ink); color: var(--on-dark); font-size: .875rem; }
.site-contact-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.5rem; flex-wrap: wrap; }
.site-contact-strip a { color: var(--on-dark); text-decoration: none; min-height: 24px; display: inline-flex; align-items: center; }
.site-contact-strip a:hover { color: var(--peach-hover); text-decoration: underline; }
/* En móvil la franja se retira: el teléfono y la cita ya están en el menú y el primer paso debe verse sin desplazarse. */
@media (max-width: 40rem) { .site-contact-strip { display: none; } }

.cal-hero { background: var(--surface); padding-block: clamp(2.5rem, 6vw, 5.5rem); overflow: hidden; }
.cal-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cal-hero h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1.1; max-width: 13ch; margin-bottom: 1.5rem; }
.cal-lead { font-size: var(--fs-lead); color: var(--text); max-width: 40ch; margin-bottom: 2rem; }
.cal-booking { display: flex; align-items: end; gap: 1rem; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; box-shadow: var(--shadow-md); max-width: 36rem; }
.cal-booking > div { flex: 1 1 14rem; display: grid; gap: .35rem; }
.cal-booking label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.cal-booking select { width: 100%; min-height: 52px; padding: .5rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--white); color: var(--ink); font: inherit; }
.cal-note { margin: 1rem 0 0; font-size: .9375rem; color: var(--muted); }
/* Ilustración apaisada 2:1 (hero-portada.svg): se muestra ENTERA, sin recorte (antes era una foto con object-fit: cover a altura fija). */
.cal-facts { background: var(--teal-surface); padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.cal-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-grid); }
.cal-facts li { display: flex; gap: 1.1rem; align-items: flex-start; }
.cal-facts .ico { color: var(--primary); margin-top: .2rem; }
.cal-facts h2 { font-size: 1.375rem; margin-bottom: .35rem; }
.cal-facts p { margin: 0; font-size: .9375rem; line-height: 1.6; }

.home-section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; scroll-margin-top: 7rem; }
.home-section-intro h2 { margin: 0; }
.home-section-intro > p { margin: 0; color: var(--muted); max-width: 42ch; }
.home .triage-tabs { gap: .6rem; }
.home .triage-tab { min-height: 64px; padding: .75rem 1rem; display: flex; align-items: center; gap: .7rem; border-radius: var(--r-pill); }
.home .triage-word { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.home .triage-tab .icon-tile { width: 32px; height: 32px; border-radius: 50%; }
.home .triage-panel { padding: 2rem; box-shadow: none; border-radius: var(--r-lg); }
.home .triage-body { grid-template-columns: minmax(0, 1fr) 16rem; align-items: start; gap: 3rem; }
.home .triage-h { font-size: 1.75rem; }
.home .triage-price { background: var(--surface); border-radius: var(--r-md); }

.cal-services-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.cal-services-head p { color: var(--muted); font-size: var(--fs-lead); }
/* Filas tipográficas (sin imagen): titular a la izquierda, siempre por debajo del h2 de la sección (antes llegaba a 90 px y superaba al h1), texto a la derecha, separadas por reglas gruesas. */
.cal-services { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--ink); }
.cal-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); align-items: end; padding-block: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 2px solid var(--ink); }
.cal-row h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem); line-height: 1.05; letter-spacing: -.02em; margin: 0; overflow-wrap: break-word; text-wrap: balance; }
.cal-row:nth-child(1) h3 a { color: var(--primary); } .cal-row:nth-child(2) h3 a { color: var(--clay); }
.cal-row-body p { margin: 0 0 .6rem; max-width: 44ch; }
.cal-services h3 a { color: var(--ink); text-decoration: none; }
.cal-services h3 a:hover { color: var(--primary); }
.home-specialties { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .9375rem; }
.home-specialties a { min-height: 32px; display: inline-flex; align-items: center; }
.home-text-link { display: inline-flex; gap: .8rem; align-items: center; font-weight: 650; min-height: 44px; }

.home-person { max-width: 60rem; margin-inline: auto; display: grid; grid-template-columns: 14rem 1fr; gap: 5rem; align-items: center; }
.home-person-mark { background: var(--teal-surface); padding: 2rem; border-radius: var(--r-lg); }
.home-person-mark img { width: 100%; }
.home-person-name { font-family: var(--font-display); font-size: 1.65rem; color: var(--primary-dark); }
.home .ledger { list-style: none; margin: 0; padding: 0; }
.home .ledger .l-name { font-size: 1.15rem; }
.home .ledger .l-amt { font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.home .ledger li { padding-block: 1rem; }
.home-first { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.home-first h2 { max-width: 19ch; }
.home-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.home-steps li { counter-increment: step; padding: 0 0 1.25rem 3.5rem; position: relative; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.home-steps li::before { content: counter(step); position: absolute; left: 0; top: -.2rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--peach); color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; }
.home-steps h3 { margin-bottom: .4rem; font-size: 1.4rem; }
.home-steps p { margin: 0; }
.home-faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.home-faq-layout .acc { max-width: none; }
.home-faq-layout > div > a { display: inline-flex; align-items: center; min-height: 44px; }
.home .band--qa { padding-block: 0 3.5rem; }
.home .qa { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--surface); box-shadow: none; padding: 2rem; }
.home .qa-h { font-size: 1.25rem; font-family: var(--font-display); text-transform: none; letter-spacing: 0; }
.home-contact { font-style: normal; padding-left: 2rem; border-left: 1px solid var(--on-dark-line); }
.home-contact p { display: flex; align-items: start; gap: 1rem; margin-bottom: 1.2rem; }
.home-contact a { overflow-wrap: anywhere; }
ul.grid { list-style: none; padding: 0; }

@media (max-width: 62rem) {
  .cal-hero-grid { grid-template-columns: 1fr; }
  .cal-hero h1 { max-width: 16ch; }
  .cal-facts ul { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-person, .home-first { gap: 3rem; }
}
@media (max-width: 47.99rem) {
  .cal-hero { padding-block: 1.5rem 2.5rem; }
  .cal-hero h1 { margin-bottom: 1rem; }
  .cal-lead { margin-bottom: 1.25rem; }
  .cal-booking { padding: 1rem; } .cal-booking .btn { width: 100%; }
  .home-section-intro { grid-template-columns: 1fr; gap: .75rem; }
  .home .triage-tabs { grid-template-columns: 1fr 1fr; }
  .home .triage-tab { min-height: 56px; padding: .5rem .75rem; gap: .5rem; border-radius: var(--r-lg); }
  .home .triage-word { font-size: .9rem; }
  .home .triage-tab .icon-tile { display: none; }
  .home .triage-panel { padding: 1.25rem; }
  .home .triage-body { grid-template-columns: 1fr; gap: 1rem; }
  .home .triage-price .price { font-size: 2rem; }
  .home .triage-panel .cta-row { gap: .5rem; }
  .cal-row { grid-template-columns: 1fr; align-items: start; }
  .home-person { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-person-mark { width: 6rem; padding: .8rem; }
  .home-first, .home-faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .home .qa { padding: 1.25rem; }
  .home-contact { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--on-dark-line); }
}

/* ============ Herbario: firma visual (ficha de espécimen + rama botánica) ============ */
.rama { color: var(--sage); overflow: visible; }
.rama path { vector-effect: non-scaling-stroke; }
.ficha { background: var(--white); border: 1px solid var(--line); border-top: 4px double var(--primary); border-radius: 0 0 var(--r-md) var(--r-md); padding: 1rem 1.25rem 1.1rem; box-shadow: var(--shadow-sm); }
.ficha-no { margin: 0 0 .6rem; font: 700 .875rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.ficha dl { margin: 0; }
.ficha dl > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .75rem; padding-block: .5rem; border-top: 1px solid var(--line); }
.ficha dt { color: var(--muted); font-size: .875rem; }
.ficha dd { margin: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Portada (ADR-007, sin imágenes): a la derecha, la ficha de datos de la consulta y, debajo, tres palabras grandes. La rama cruza la esquina superior de la ficha. */
.cal-hero { background: var(--surface); }
.cal-hero-art { position: relative; display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); align-content: center; }
.cal-rama { position: absolute; right: -.75rem; top: -2.5rem; width: clamp(6rem, 11vw, 9rem); height: auto; z-index: 2; color: var(--sage); pointer-events: none; }
.ficha--hero { position: relative; width: 100%; max-width: 30rem; padding: 1.5rem 1.75rem 1.6rem; z-index: 1; }
.ficha--hero .ficha-no { margin-bottom: .9rem; }
.ficha--hero dl > div { padding-block: .8rem; grid-template-columns: 8.5rem minmax(0, 1fr); }
.ficha--hero dd { font-size: 1.0625rem; }
/* Palabras grandes: la «imagen» de la portada es tipografía (opción A de la maqueta). */
.cal-words { margin: 0; padding: 0 0 0 clamp(1rem, 2.5vw, 2rem); list-style: none; font-family: var(--font-display); font-style: italic; font-weight: 500; line-height: .98; letter-spacing: -.02em; font-size: clamp(2.6rem, 1.2rem + 4.2vw, 5.4rem); border-left: 6px solid var(--peach); overflow-wrap: anywhere; }
.cal-words li:nth-child(1) { color: var(--primary); } .cal-words li:nth-child(2) { color: var(--sage); } .cal-words li:nth-child(3) { color: var(--clay); }
.cal-words small { display: block; font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: 1rem; line-height: 1.5; letter-spacing: 0; color: var(--text); max-width: 30ch; margin-top: .5rem; }
.cal-hero h1 { font-size: clamp(2.7rem, 1.4rem + 4.6vw, 5.1rem); max-width: 12ch; }
.cal-booking { border-radius: var(--r-md); }
.cal-facts { background: var(--sage-t); }
.cal-facts .ico { color: var(--primary); }

/* Fichas de catálogo reutilizables en el resto de la web (misma gramática, otra proporción). */
.ficha--wide { border-top-width: 4px; display: grid; gap: 1rem 2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
.ficha--wide .ficha-no { grid-column: 1 / -1; margin: 0; }
.ramita { display: block; width: 9.5rem; margin-block: var(--s4) 0; color: var(--sage); }
.band--deep .rama, .band--primary .rama, .band--felt .rama { color: var(--peach); }

@media (max-width: 62rem) {
  .cal-hero-art { padding-bottom: 0; }
  .ficha--hero { max-width: none; }
  .cal-words { font-size: clamp(2.4rem, 1.2rem + 7vw, 4rem); }
  .cal-rama { right: .5rem; top: -2.25rem; width: 6.25rem; }
  .ficha--wide { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) { .ficha dl > div { grid-template-columns: 6.25rem minmax(0, 1fr); } .cal-rama { display: none; } }

/* Movimiento: lo gestiona public/js/motion.js (GSAP); el CSS nunca oculta contenido. */
.btn { transition: background-color var(--dur-ui), color var(--dur-ui), border-color var(--dur-ui), transform .25s var(--ease-out); } @media (hover: hover) and (prefers-reduced-motion: no-preference) { .btn-primary:hover, .btn-light:hover { transform: translateY(-2px); } .btn:active { transform: translateY(0); } }

/* Cabeceras interiores: rama decorativa a la derecha, nunca bajo el texto (se oculta cuando falta ancho). */
.phead { background: var(--surface); overflow: hidden; }
.phead-rama { position: absolute; right: clamp(0rem, 3vw, 3rem); bottom: -1rem; width: clamp(6rem, 11vw, 9rem); height: auto; color: var(--sage); opacity: .85; pointer-events: none; }
.phead-main { position: relative; z-index: 1; }
.phead h1 { font-weight: 400; letter-spacing: -.022em; }
@media (max-width: 75rem) { .phead-rama { display: none; } }

/* Solicitud y contacto: formulario principal y ficha lateral de consulta. */
.form-layout > div { min-width: 0; }
.form-layout .label.side { background: var(--primary-t); border: 0; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-layout .label-title { font-size: 1.75rem; font-weight: 400; }
.form-layout .form-card { border-radius: var(--r-lg); }
.form-layout .label.side dl > div { grid-template-columns: minmax(0, 1fr); gap: .25rem; padding-block: var(--s3); }
.form-layout .label.side dd { min-width: 0; }
.form-layout .side { position: sticky; top: 7rem; }
.form-layout .lead-form { max-width: 42rem; }
.form-layout .choice-group { margin-block: var(--s4); }
.form-layout .choice-group legend { margin-bottom: var(--s3); }
.form-layout .consent { margin-top: var(--s5); }
.form-layout .first-layer { padding-top: var(--s4); margin-bottom: var(--s4); }
.form-layout .lead-form > .btn { min-width: 14rem; }
/* Documentos legales y otras lecturas extensas: columna estable, sin caja anidada. */
.wrap > .prose.reading { margin-inline: auto; padding-block: var(--s2); }
.prose.reading > h2 { padding-top: var(--s4); border-top: 1px solid var(--line); }
@media (max-width: 62rem) { .form-layout .side { position: static; } }
@media (max-width: 40rem) { .form-layout .lead-form > .btn { width: 100%; } }

/* ---- Preferencias del usuario (guía `color` de modern-web-guidance: refuerza lo que ya cumple AA, solo para quien activa «más contraste») ---- */
@media (prefers-contrast: more) {
  :root { --line: #6E7F73; --line-strong: #2F4237; --muted: #243229; --secondary: #2F4A3B; --secondary-2: #2F4A3B; }
  .btn-outline, .nav-toggle, input, select, textarea, .choice span { border-width: 2px; }
  a:not(.btn) { text-decoration-thickness: 2px; }
}

/* ---- Anchuras por clase (la CSP prohíbe style en línea) ---- */
.w-0{width:0%}.w-1{width:1%}.w-2{width:2%}.w-3{width:3%}.w-4{width:4%}.w-5{width:5%}.w-6{width:6%}.w-7{width:7%}.w-8{width:8%}.w-9{width:9%}.w-10{width:10%}.w-11{width:11%}.w-12{width:12%}.w-13{width:13%}.w-14{width:14%}.w-15{width:15%}.w-16{width:16%}.w-17{width:17%}.w-18{width:18%}.w-19{width:19%}.w-20{width:20%}.w-21{width:21%}.w-22{width:22%}.w-23{width:23%}.w-24{width:24%}.w-25{width:25%}.w-26{width:26%}.w-27{width:27%}.w-28{width:28%}.w-29{width:29%}.w-30{width:30%}.w-31{width:31%}.w-32{width:32%}.w-33{width:33%}.w-34{width:34%}.w-35{width:35%}.w-36{width:36%}.w-37{width:37%}.w-38{width:38%}.w-39{width:39%}.w-40{width:40%}.w-41{width:41%}.w-42{width:42%}.w-43{width:43%}.w-44{width:44%}.w-45{width:45%}.w-46{width:46%}.w-47{width:47%}.w-48{width:48%}.w-49{width:49%}.w-50{width:50%}.w-51{width:51%}.w-52{width:52%}.w-53{width:53%}.w-54{width:54%}.w-55{width:55%}.w-56{width:56%}.w-57{width:57%}.w-58{width:58%}.w-59{width:59%}.w-60{width:60%}.w-61{width:61%}.w-62{width:62%}.w-63{width:63%}.w-64{width:64%}.w-65{width:65%}.w-66{width:66%}.w-67{width:67%}.w-68{width:68%}.w-69{width:69%}.w-70{width:70%}.w-71{width:71%}.w-72{width:72%}.w-73{width:73%}.w-74{width:74%}.w-75{width:75%}.w-76{width:76%}.w-77{width:77%}.w-78{width:78%}.w-79{width:79%}.w-80{width:80%}.w-81{width:81%}.w-82{width:82%}.w-83{width:83%}.w-84{width:84%}.w-85{width:85%}.w-86{width:86%}.w-87{width:87%}.w-88{width:88%}.w-89{width:89%}.w-90{width:90%}.w-91{width:91%}.w-92{width:92%}.w-93{width:93%}.w-94{width:94%}.w-95{width:95%}.w-96{width:96%}.w-97{width:97%}.w-98{width:98%}.w-99{width:99%}.w-100{width:100%}
