/* ==========================================================================
   Mercedes Balaguer · Psicología · PNI
   Editorial, clínica, cálida, femenina y minimalista.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 280 420;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2?v=9e7c7ef34c") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 280 420;
  font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin.woff2?v=08801511a1") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2?v=427ddb4532") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Paleta de marca */
  --marfil: #FEFAF7;
  --marfil-deep: #F9F2EC;
  --beige: #E9DBCE;
  --beige-soft: #F3EAE1;
  --rosa: #D9B8AF;
  --rosa-soft: #EEDCD6;
  --rosa-mist: #F8EFEC;
  --chocolate: #895A3E;
  --cacao: #6C4C3F;
  --ink: #3F2A20;
  --text: #5A4236;
  --taupe: #B1A08E;
  --taupe-ink: #756656;
  --dorado: #C8A86B;
  --oro-ink: #A8844A;
  --oro-text: #85652F;
  --night: #2A1C15;
  --night-2: #36251C;

  --line: rgba(137, 90, 62, .15);
  --line-strong: rgba(137, 90, 62, .3);
  --shadow-soft: 0 30px 70px -38px rgba(63, 42, 32, .38);
  --shadow-lift: 0 40px 90px -46px rgba(63, 42, 32, .55);

  --ff-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ff-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-breath: cubic-bezier(.45, .05, .55, .95);

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(96px, min(12vw, 17svh), 190px);
  --panel-inset: clamp(8px, 1.3vw, 20px);
  --radius-lg: clamp(26px, 3.2vw, 44px);
  --radius-md: 22px;
  --header-h: 76px;

  --fs-body: clamp(1rem, .97rem + .16vw, 1.1rem);
  --fs-lead: clamp(1.08rem, 1rem + .4vw, 1.3rem);
  --fs-h2: clamp(2.3rem, 1.45rem + 3.4vw, 4.8rem);
  --fs-h3: clamp(1.4rem, 1.2rem + .8vw, 1.9rem);
  --fs-display: clamp(3.05rem, 1.3rem + 5.6vw, 7rem);
}
@media (min-width: 1024px) {
  :root { --header-h: 88px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--marfil);
  color: var(--text);
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  overflow-x: clip;
}
main, .site-footer { overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 650; color: var(--ink); }
::selection { background: var(--rosa); color: var(--ink); }
:focus-visible { outline: 2px solid var(--chocolate); outline-offset: 4px; border-radius: 8px; }
.breathe :focus-visible, .site-footer :focus-visible, .toast :focus-visible { outline-color: var(--rosa); }

h1, h2, h3, .h2, .h3 {
  font-family: var(--ff-serif);
  font-weight: 330;
  font-optical-sizing: auto;
  color: var(--ink);
  letter-spacing: -.018em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 em, h2 em, h3 em {
  font-weight: 300;
  color: var(--chocolate);
}
p { text-wrap: pretty; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
[tabindex="-1"]:focus { outline: none; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--marfil);
  font-weight: 600; font-size: .9rem; text-decoration: none;
  transform: translateY(-160%);
  transition: transform .4s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* Shared geometric motif: ring + disc (from the logo) */
.ring, .disc { display: block; border-radius: 50%; }
.ring { border: 1.3px solid var(--chocolate); }
.disc { background: var(--rosa); mix-blend-mode: multiply; }

/* Hover-lift without edge flicker: the pseudo-element fills the gap left
   behind when a card rises, so the pointer never "falls off" its bottom edge. */
.pillar, .path-card, .res-card { position: relative; }
.pillar::after, .path-card::after, .res-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px;
}

/* ---------- Atmosphere ---------- */
.grain {
  position: fixed; inset: 0; z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .25  0 0 0 0 .16  0 0 0 0 .12  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.aura {
  position: fixed; left: 0; top: 0; z-index: -1;
  width: 560px; height: 560px; margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 184, 175, .34), rgba(217, 184, 175, 0) 62%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
  will-change: transform;
}
.has-aura .aura { opacity: 1; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85em;
  font-family: var(--ff-sans);
  font-size: .74rem; font-weight: 650;
  letter-spacing: .22em; text-transform: uppercase;
  line-height: 1.4;
  color: var(--chocolate);
}
.eyebrow__num {
  display: inline-flex; align-items: center; gap: .85em;
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  font-size: 1.15rem; letter-spacing: 0; text-transform: none;
  color: var(--oro-text);
}
.eyebrow__num::after {
  content: ""; width: 34px; height: 1px;
  background: currentColor; opacity: .55;
}
.eyebrow__dot {
  position: relative; width: 10px; height: 15px; flex: none;
}
.eyebrow__dot::before, .eyebrow__dot::after {
  content: ""; position: absolute; left: 0; width: 10px; height: 10px; border-radius: 50%;
}
.eyebrow__dot::before { top: 0; background: var(--rosa); }
.eyebrow__dot::after { top: 5px; border: 1.2px solid currentColor; }
.eyebrow--light { color: var(--rosa); }
.eyebrow--light .eyebrow__dot::before { opacity: .75; }

.h2 { font-size: var(--fs-h2); line-height: 1.02; }
.h2, .statement, .eyebrow { overflow-wrap: anywhere; }
.hero__grid, .about__grid, .story__grid, .gaze__grid, .cbt, .integrate__grid, .breathe__grid,
.faq__grid, .contact__card, .section-head, .site-footer__grid, .topics { grid-template-columns: minmax(0, 1fr); }
.h2--md { font-size: clamp(1.95rem, 1.3rem + 2.3vw, 3.4rem); line-height: 1.1; }
.h3 { font-size: var(--fs-h3); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text); }
.note { font-size: .86rem; line-height: 1.6; color: var(--taupe-ink); }
.text-link {
  display: inline-block; padding: 10px 0; margin: -10px 0;
  color: var(--chocolate); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .22em; text-decoration-color: rgba(137, 90, 62, .4);
  transition: text-decoration-color .3s;
}
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  min-height: var(--h);
  padding: 0 1.55em;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--ff-sans); font-size: .95rem; font-weight: 650; letter-spacing: .005em;
  line-height: 1.15; text-decoration: none; text-align: center; text-wrap: balance; max-width: 100%;
  cursor: pointer; overflow: hidden;
  transition: color .5s var(--ease-out), background-color .5s var(--ease-out),
              border-color .5s var(--ease-out), box-shadow .6s var(--ease-out), transform .6s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease-out);
}
@media (hover: hover) { .btn:hover::before { transform: none; } }
.btn--sm { --h: 42px; padding: 0 1.2em; font-size: .86rem; }
.btn--lg { --h: 58px; padding: 0 1.8em; font-size: 1rem; }
.btn--primary {
  background: var(--chocolate); color: var(--marfil);
  box-shadow: 0 16px 34px -18px rgba(137, 90, 62, .75);
}
.btn--primary::before { background: var(--cacao); }
.btn--primary:hover { box-shadow: 0 22px 44px -18px rgba(108, 76, 63, .8); }
.btn--ghost {
  background: rgba(255, 255, 255, .35); color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { border-color: rgba(137, 90, 62, .5); }
.btn--light { background: var(--marfil); color: var(--ink); }
.btn--light::before { background: var(--rosa-soft); }
.btn__icon {
  display: grid; place-items: center;
  width: 30px; height: 30px; margin-right: -.6em;
  border-radius: 50%;
  background: rgba(254, 250, 247, .16);
  overflow: hidden;
}
.btn__icon .icon { width: 16px; height: 16px; transition: transform .6s var(--ease-out); }
@media (hover: hover) { .btn:hover .btn__icon .icon { animation: arrow-loop .7s var(--ease-out); } }
@keyframes arrow-loop {
  0% { transform: none; }
  45% { transform: translateX(160%); }
  46% { transform: translateX(-160%); }
  100% { transform: none; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin-top: auto; padding-top: 1.4em;
  font-size: .92rem; font-weight: 650;
  color: var(--chocolate); text-decoration: none;
}
.link-arrow span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.link-arrow:hover span { background-size: 100% 1px; }
.link-arrow .icon { transition: transform .6s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--marfil) 80%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header:has(:focus-visible) { transform: none; }
.menu-open .site-header { transform: none; }
.menu-open .site-header::before { opacity: 0; }
.site-header__inner {
  position: relative;
  height: 100%;
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px);
}
.brand {
  display: inline-flex; align-items: center; min-height: 44px;
  margin-right: auto;
  color: var(--ink);
  border-radius: 10px;
}
.brand__logo { height: clamp(34px, 2.9vw, 42px); width: auto; }
.nav { display: none; }
.nav__list { display: flex; gap: clamp(20px, 2.2vw, 36px); }
.nav__list a {
  position: relative;
  display: inline-block; padding: .5em 0;
  font-size: .88rem; font-weight: 550; letter-spacing: .01em;
  color: var(--text); text-decoration: none;
  transition: color .3s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .25em;
  height: 1px; background: var(--chocolate);
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--ink); }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; }

/* Language switcher: a disclosure with native language names (no flags) */
.lang { position: relative; flex: none; }
.lang__toggle {
  display: inline-flex; align-items: center; gap: .4em;
  height: 40px; padding: 0 .85em 0 .75em;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, .35); color: var(--ink);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.lang__toggle .icon { width: 1.1em; height: 1.1em; color: var(--chocolate); }
.lang__toggle:hover, .lang__toggle[aria-expanded="true"] { background: #fff; border-color: rgba(137, 90, 62, .5); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  min-width: 176px; padding: 6px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--marfil);
  box-shadow: 0 24px 60px -24px rgba(63, 42, 32, .45);
}
.lang__menu[hidden] { display: none; }
.lang__menu.is-open { animation: lang-in .35s var(--ease-out); }
@keyframes lang-in { from { opacity: 0; transform: translateY(-6px); } }
.lang__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 0 14px; border-radius: 12px;
  font-size: .92rem; font-weight: 550; color: var(--text); text-decoration: none;
  transition: background .25s, color .25s;
}
.lang__menu a:hover { background: var(--rosa-mist); color: var(--ink); }
.lang__menu a[aria-current="page"] { color: var(--chocolate); font-weight: 700; }
.lang__menu a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--chocolate); }
.mobile-menu__lang { flex-basis: 100%; }
.mobile-menu__lang ul { display: flex; gap: 8px; }
.mobile-menu__lang li { flex: 1 1 0; }
.mobile-menu__lang a {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .88rem; font-weight: 650; color: var(--text); text-decoration: none;
}
.mobile-menu__lang a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--marfil); }
.site-footer__title--spaced { margin-top: 2em; }
.site-footer__mail { overflow-wrap: anywhere; }
.site-footer a[aria-current="page"] { color: var(--rosa); }
@media (max-width: 400px) {
  .site-header__inner { gap: 10px; }
  .brand__logo { height: 30px; }
  .lang__toggle { padding: 0 .7em 0 .6em; }
}

.menu-toggle {
  position: relative;
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-right: -8px;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.menu-toggle__lines { position: relative; width: 24px; height: 10px; }
.menu-toggle__lines i {
  position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px;
  background: var(--ink);
  transition: transform .6s var(--ease-out), top .6s var(--ease-out), width .6s var(--ease-out);
}
.menu-toggle__lines i:first-child { top: 0; }
.menu-toggle__lines i:last-child { top: 8.5px; width: 70%; left: auto; right: 0; }
.menu-open .menu-toggle__lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-toggle__lines i:last-child { top: 4.25px; width: 100%; transform: rotate(-45deg); }

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}

.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  overflow: hidden; opacity: 0; transition: opacity .5s;
}
.is-scrolled .scroll-progress { opacity: 1; }
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--rosa), var(--dorado), var(--chocolate));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + 20px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--marfil);
  overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav a { hyphens: manual; }
@media (max-height: 520px) and (orientation: landscape) {
  .mobile-menu { padding-top: calc(var(--header-h) + 4px); gap: 16px; }
  .mobile-menu__nav ol { columns: 2; column-gap: 32px; }
  .mobile-menu__nav a { font-size: 1.35rem; padding: .2em 0; }
}
.mobile-menu::before {
  content: ""; position: fixed; z-index: -1;
  width: 90vw; aspect-ratio: 1; border-radius: 50%;
  right: -40vw; bottom: -30vw;
  background: var(--rosa-soft); filter: blur(40px); opacity: .8;
}
.mobile-menu__nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: .32em 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-serif); font-weight: 320;
  font-size: clamp(1.75rem, 7.4vw, 2.8rem); line-height: 1.15;
  color: var(--ink); text-decoration: none;
}
.mobile-menu__foot { display: flex; flex-wrap: wrap; gap: 10px; }
.mobile-menu__foot .btn { flex: 1 1 140px; }
.mobile-menu.is-open .mobile-menu__nav li,
.mobile-menu.is-open .mobile-menu__foot {
  animation: menu-in .9s var(--ease-out) both;
}
.mobile-menu.is-open .mobile-menu__nav li:nth-child(2) { animation-delay: .04s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(3) { animation-delay: .08s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(4) { animation-delay: .12s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(5) { animation-delay: .16s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(6) { animation-delay: .2s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(7) { animation-delay: .24s; }
.mobile-menu.is-open .mobile-menu__foot { animation-delay: .3s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  /* capped: crawlers render at a page-tall viewport, and a hero that tall would push everything else out of view */
  min-height: min(100vh, 1600px); min-height: min(100svh, 1600px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(80px, 9vw, 120px);
  overflow: clip;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.blob--rosa {
  width: max(46vw, 420px); aspect-ratio: 1;
  right: -10vw; top: -8vw;
  background: var(--rosa-soft); opacity: .75;
  animation: drift-a 28s var(--ease-in-out) infinite alternate;
}
.blob--beige {
  width: max(42vw, 380px); aspect-ratio: 1;
  left: -14vw; bottom: -18vw;
  background: var(--beige-soft); opacity: .9;
  animation: drift-b 34s var(--ease-in-out) infinite alternate;
}
.blob--oro {
  width: max(16vw, 180px); aspect-ratio: 1;
  left: 42%; top: 16%;
  background: rgba(200, 168, 107, .2);
  animation: drift-a 22s var(--ease-in-out) infinite alternate-reverse;
}
@keyframes drift-a { to { transform: translate3d(-4vw, 5vw, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(5vw, -3vw, 0) scale(1.08); } }

.hero__grid {
  display: grid; align-items: center;
  gap: clamp(48px, 6vw, 88px);
}
.hero__eyebrow { color: var(--chocolate); }
@media (max-width: 520px) {
  .hero__eyebrow { align-items: flex-start; font-size: .7rem; letter-spacing: .14em; }
  .hero__eyebrow .eyebrow__dot { margin-top: .25em; }
}
.hero__title {
  margin: .42em 0 .38em;
  font-size: var(--fs-display);
  font-weight: 290;
  line-height: .98;
  letter-spacing: -.028em;
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .12em .09em 0; margin-bottom: -.09em; }
.hero__title .line > span { display: inline-block; }
.hero__title { overflow-wrap: anywhere; hyphens: auto; }
.hero__title em { font-weight: 280; }
.hero__lead { max-width: 35rem; font-size: var(--fs-lead); line-height: 1.62; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 42px); }
.hero__creds {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: clamp(30px, 3.6vw, 48px);
  font-size: .8rem; letter-spacing: .03em; color: var(--taupe-ink);
}
.hero__creds li { display: inline-flex; align-items: center; gap: .6em; }
.hero__creds li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid var(--oro-ink);
}
.hero__creds span { color: var(--chocolate); font-weight: 650; }
.hero__creds abbr { text-decoration: none; cursor: help; }

@media (max-width: 519px) {
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); }
}

/* Portrait composition */
.hero__visual { position: relative; }
.portrait {
  position: relative;
  width: min(84vw, 440px); aspect-ratio: 1;
  margin-inline: auto;
}
@media (min-width: 900px) { .portrait { width: min(100%, 580px); } }
.portrait__disc {
  position: absolute; left: -13%; bottom: -5%;
  width: 56%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #EBD3CB 0%, var(--rosa) 72%);
  opacity: .85;
}
.portrait__photo {
  position: absolute; inset: 5%;
  border-radius: 50%; overflow: hidden;
  background: var(--rosa-soft);
  box-shadow: 0 50px 100px -56px rgba(63, 42, 32, .6);
  transform: translateZ(0);
}
.portrait__photo picture, .portrait__photo img { width: 100%; height: 100%; }
.portrait__photo img { object-fit: cover; object-position: 50% 16%; transform-origin: 50% 8%; transform: scale(1.18); }
.portrait__orbit {
  position: absolute; inset: -2%;
  width: 104%; height: 104%;
  overflow: visible; pointer-events: none;
}
.orbit-ring {
  fill: none; stroke: var(--dorado); stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
}
.orbit-ring--soft { stroke: var(--taupe); stroke-width: .8; opacity: .55; }
.orbit-spin {
  transform-box: view-box; transform-origin: 312px 292px;
  animation: spin 70s linear infinite;
}
.orbit-dot { fill: var(--chocolate); }
.portrait__badge {
  position: absolute; right: -1%; bottom: 7%;
  width: clamp(98px, 10.5vw, 140px); aspect-ratio: 1;
  border-radius: 50%;
  color: var(--chocolate);
  background: color-mix(in srgb, var(--marfil) 84%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -24px rgba(63, 42, 32, .5);
}
.portrait__badge svg { width: 100%; height: 100%; overflow: visible; }
.portrait__badge text {
  font-family: var(--ff-sans); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; fill: currentColor;
}
.badge__spin { transform-box: view-box; transform-origin: 100px 100px; transform: rotate(var(--spin, 0deg)); }
.badge__disc { fill: var(--rosa); mix-blend-mode: multiply; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(18px, 3vw, 34px);
  display: none; flex-direction: column; align-items: center; gap: 12px;
  transform: translateX(-50%);
  font-size: .66rem; font-weight: 650; letter-spacing: .3em; text-transform: uppercase;
  color: var(--taupe-ink); text-decoration: none;
}
.scroll-cue__line { position: relative; width: 1px; height: 46px; overflow: hidden; background: var(--line-strong); }
.scroll-cue__line i {
  position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--chocolate);
  animation: cue 2.6s var(--ease-in-out) infinite;
}
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
@media (min-width: 1200px) and (min-height: 800px) { .scroll-cue { display: flex; } }
@media (min-width: 900px) and (max-height: 920px) {
  .hero { padding-top: calc(var(--header-h) + 8px); padding-bottom: 56px; }
  .hero__title { font-size: min(var(--fs-display), 10.5svh); margin: .3em 0 .32em; }
  .hero__lead { font-size: 1.12rem; max-width: 36rem; }
  .hero__actions { margin-top: 24px; }
  .hero__creds { margin-top: 22px; }
  .portrait { width: min(100%, 580px, 64svh); }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .hero__actions .btn--lg { --h: 54px; padding: 0 1.3em; }
}

/* Hero entrance choreography (only with JS; content visible without it) */
.js .hero__eyebrow, .js .hero__actions, .js .hero__creds {
  opacity: 0; transform: translateY(18px);
}
.js .hero__lead { transform: translateY(18px); }
.js .hero__title .line > span { transform: translateY(112%); }
.js .portrait__photo { clip-path: circle(28% at 50% 50%); }
.js .portrait__photo img { transform: scale(1.34); }
.js .portrait__disc { opacity: 0; transform: translate(12%, -8%) scale(.7); }
.js .orbit-ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .orbit-dot { opacity: 0; }
.js .portrait__badge { opacity: 0; transform: scale(.7) rotate(-40deg); }
.js .scroll-cue { opacity: 0; }

.is-ready .hero__eyebrow, .is-ready .hero__lead, .is-ready .hero__actions, .is-ready .hero__creds,
.is-ready .hero__title .line > span, .is-ready .orbit-dot, .is-ready .portrait__badge, .is-ready .scroll-cue {
  opacity: 1; transform: none;
}
.is-ready .portrait__photo { clip-path: circle(50% at 50% 50%); }
.is-ready .orbit-ring { stroke-dashoffset: 0; }
.is-ready .portrait__disc { opacity: .85; transform: none; }
.is-ready .orbit-ring--soft { opacity: .55; }
.is-ready .hero__eyebrow { transition: opacity 1s var(--ease-out) .05s, transform 1.2s var(--ease-out) .05s; }
.is-ready .hero__title .line > span { transition: transform 1.35s var(--ease-out) calc(.12s + var(--i, 0) * .11s); }
.hero__title .line:nth-child(2) > span { --i: 1; }
.hero__title .line:nth-child(3) > span { --i: 2; }
.is-ready .hero__lead { transition: transform 1.4s var(--ease-out) .5s; }
.is-ready .hero__actions { transition: opacity 1.2s var(--ease-out) .62s, transform 1.4s var(--ease-out) .62s; }
.is-ready .hero__creds { transition: opacity 1.2s var(--ease-out) .74s, transform 1.4s var(--ease-out) .74s; }
.is-ready .portrait__photo { transition: clip-path 1.7s var(--ease-out) .1s; }
.is-ready .portrait__photo img { transform: scale(1.18); transition: transform 2.4s var(--ease-out) .1s; }
.is-ready .portrait__disc { transition: opacity 1.4s var(--ease-out) .45s, transform 1.8s var(--ease-out) .45s; }
.is-ready .orbit-ring { transition: stroke-dashoffset 2.6s var(--ease-in-out) .35s; }
.is-ready .orbit-dot { transition: opacity 1s var(--ease-out) 1.6s; }
.is-ready .portrait__badge { transition: opacity 1.2s var(--ease-out) .9s, transform 1.8s var(--ease-out) .9s; }
.is-ready .scroll-cue { transform: translateX(-50%); transition: opacity 1.2s var(--ease-out) 1.4s; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding: clamp(18px, 2.2vw, 30px) 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); padding-right: clamp(22px, 3vw, 48px); }
.marquee span {
  font-family: var(--ff-serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.8rem); line-height: 1.15;
  color: var(--cacao); white-space: nowrap;
}
.marquee span.is-outline { font-style: normal; color: #938270; font-weight: 280; }
.marquee i { position: relative; width: 14px; height: 21px; flex: none; }
.marquee i::before, .marquee i::after { content: ""; position: absolute; left: 0; width: 14px; height: 14px; border-radius: 50%; }
.marquee i::before { top: 0; background: var(--rosa); opacity: .8; }
.marquee i::after { top: 7px; border: 1px solid var(--dorado); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--panel {
  margin-inline: var(--panel-inset);
  border-radius: var(--radius-lg);
  overflow: clip;
}
.section-head {
  display: grid; gap: clamp(22px, 3vw, 44px);
  margin-bottom: clamp(44px, min(7vw, 9svh), 104px);
}
.section-head .eyebrow { margin-bottom: clamp(20px, 2.2vw, 30px); }
/* Panels and footer are inset: keep their text on the same left edge as every other section */
.section--panel > .container, .site-footer > .container {
  max-width: calc(var(--container) + var(--gutter) * 2 - var(--panel-inset) * 2);
  padding-inline: calc(var(--gutter) - var(--panel-inset));
}
.section-head__aside { max-width: 33rem; font-size: clamp(1.05rem, 1rem + .25vw, 1.18rem); line-height: 1.65; }
.section-head__aside p + p { margin-top: .9em; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr); align-items: end; }
  .section-head--split .section-head__aside { padding-bottom: .5em; }
}

/* ---------- 01 About ---------- */
.about .eyebrow { margin-bottom: clamp(26px, 3vw, 44px); }
.statement {
  max-width: 21em;
  font-size: clamp(1.95rem, 1.05rem + 3.4vw, 4.5rem);
  font-weight: 320; line-height: 1.12; letter-spacing: -.022em;
  text-wrap: pretty;
}
.statement .w { opacity: clamp(.32, calc(var(--p, 1) * var(--n, 1) - var(--i, 0)), 1); }
.about__grid {
  display: grid; gap: clamp(44px, 6vw, 96px);
  margin-top: clamp(60px, 8vw, 128px);
}
.about__intro .lead {
  margin-bottom: 1em;
  font-family: var(--ff-serif); font-weight: 360;
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.3;
  color: var(--ink);
}
.about__intro p:not(.lead) { max-width: 30rem; }
.pillars { display: grid; gap: 14px; }
.pillar {
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .25));
  transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out), border-color .8s;
}
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
}
.pillar__art { position: relative; display: block; width: 62px; height: 40px; margin-bottom: 30px; }
.pillar__art .ring { position: absolute; left: 0; top: 0; width: 40px; height: 40px; transition: transform 1s var(--ease-out); }
.pillar__art .ring--inner { left: 9px; top: 9px; width: 22px; height: 22px; border-color: var(--oro-ink); }
.pillar__art .disc { position: absolute; left: 20px; top: 0; width: 40px; height: 40px; opacity: .9; transition: transform 1s var(--ease-out); }
.pillar:hover .pillar__art .disc { transform: translateX(-8px); }
.pillar:hover .pillar__art .ring--inner { transform: scale(1.35); }
.pillar__title { font-size: clamp(1.25rem, 1.1rem + .4vw, 1.38rem); line-height: 1.2; margin-bottom: .65em; hyphens: manual; }
.pillar p { font-size: .96rem; line-height: 1.65; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .about__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.55fr); align-items: start; }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar {
    display: grid; grid-template-columns: 56px minmax(0, 11rem) minmax(0, 1fr); gap: 0 24px; align-items: start;
    padding: 30px 0; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; background: none;
  }
  .pillar:last-child { border-bottom: 1px solid var(--line-strong); }
  .pillar__art { margin: 0; }
  .pillar__tag { grid-column: 2; grid-row: 1; align-self: start; margin: 0 0 .4em; }
  .pillar:has(.pillar__tag) .pillar__title { grid-column: 2; grid-row: 1; margin-top: 1.5em; }
  .pillar:hover { transform: none; box-shadow: none; }
}

/* ---------- 02 Proposal ---------- */
.proposal { background: linear-gradient(180deg, var(--marfil) 0%, var(--marfil-deep) 26%, var(--marfil-deep) 74%, var(--marfil) 100%); }
.paths { display: grid; gap: clamp(16px, 2vw, 28px); }
.path-card {
  position: relative;
  display: flex; flex-direction: column; gap: 1em;
  padding: clamp(28px, 3.8vw, 60px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fffdfb;
  transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
}
.path-card--pni { background: var(--rosa-mist); }
.path-card__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: clamp(28px, 4.4vw, 72px);
}
.path-card__num {
  font-family: var(--ff-serif); font-style: italic; font-weight: 280;
  font-size: clamp(3.2rem, 2.4rem + 3vw, 5.4rem); line-height: .9;
  color: var(--oro-ink);
}
.path-card__art { position: relative; width: clamp(92px, 10vw, 148px); aspect-ratio: 1; }
.path-card__art .ring, .path-card__art .disc { position: absolute; inset: 0; transition: transform 1.2s var(--ease-out); }
.path-card__art .disc { mix-blend-mode: normal; background: radial-gradient(circle at 35% 30%, #EAD0C8, var(--rosa) 70%); }
.path-card--psico:hover .ring { transform: translateX(14%) scale(1.04); }
.path-card--pni:hover .disc { transform: translateX(-14%) scale(1.04); }
.path-card__title { font-size: clamp(2rem, 1.45rem + 1.7vw, 3rem); margin-bottom: .15em; }
.path-card p { max-width: 34rem; }
.path-card em { font-family: var(--ff-serif); font-size: 1.08em; color: var(--chocolate); }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; } }

/* ---------- 03 Story ---------- */
.story__grid { display: grid; gap: clamp(56px, 7vw, 128px); }
.story__sticky { position: relative; max-width: 520px; margin-inline: auto; }
.story__photo {
  position: relative; z-index: 1;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: var(--beige-soft);
}
.story__photo picture, .story__photo img { width: 100%; height: 100%; }
.story__photo img { object-fit: cover; object-position: 50% 30%; transform: scale(var(--zoom, 1.06)); transition: transform 1.8s var(--ease-out); }
.story__disc {
  position: absolute; z-index: 0; right: -12%; bottom: -7%;
  width: 54%; aspect-ratio: 1; border-radius: 50%;
  background: var(--rosa); opacity: .6;
}
.story__ring {
  position: absolute; z-index: 2; left: -10%; top: -5%;
  width: 44%; aspect-ratio: 1; border-radius: 50%;
  border: 1.3px solid var(--dorado);
  pointer-events: none;
}
.story__text .h2 { margin: .6em 0 1.1em; }
.prose { max-width: 38rem; }
.prose p + p { margin-top: 1.15em; }
.prose__opening {
  font-family: var(--ff-serif); font-weight: 360;
  font-size: clamp(1.4rem, 1.15rem + .9vw, 1.85rem); line-height: 1.3;
  color: var(--ink);
}
.quote {
  position: relative;
  margin: clamp(44px, 5.5vw, 76px) 0;
  padding: clamp(10px, 1.4vw, 18px) 0 clamp(10px, 1.4vw, 18px) clamp(26px, 3vw, 44px);
  border-left: 1px solid var(--dorado);
}
.quote__mark {
  position: absolute; left: clamp(20px, 2.4vw, 36px); top: -.62em;
  font-family: var(--ff-serif); font-style: italic; font-size: 6rem; line-height: 1;
  color: var(--rosa);
  pointer-events: none;
}
.quote p {
  position: relative;
  font-family: var(--ff-serif); font-style: italic; font-weight: 290;
  font-size: clamp(1.9rem, 1.2rem + 2.5vw, 3.3rem); line-height: 1.12; letter-spacing: -.015em;
  color: var(--chocolate);
  text-wrap: balance;
}
@media (min-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); align-items: start; }
  .story__media { align-self: stretch; }
  .story__sticky {
    position: sticky; top: calc(var(--header-h) + 32px); margin-inline: 0 auto;
    width: min(100%, 520px, calc((100svh - var(--header-h) - 72px) * .75));
  }
}
/* warm, unified grade for both photos */
.portrait__photo img, .story__photo img { filter: sepia(.08) saturate(.94); }
.story__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(217, 184, 175, .42), rgba(217, 184, 175, 0) 46%);
  mix-blend-mode: multiply;
}

/* ---------- 04 Gaze ---------- */
.gaze { background: var(--beige-soft); }
.gaze__grid { display: grid; gap: clamp(36px, 5vw, 80px); }
.gaze__intro {
  margin-top: 1.3em;
  font-family: var(--ff-serif); font-style: italic; font-weight: 340;
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem);
  color: var(--chocolate);
}
.gaze__meter { width: min(240px, 60%); height: 2px; margin-top: 1.8em; background: var(--line); border-radius: 2px; overflow: hidden; }
.gaze__meter span { display: block; height: 100%; background: var(--chocolate); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.gaze__list li {
  display: grid; grid-template-columns: 3em 1fr; align-items: baseline; gap: .8em;
  padding: clamp(20px, 2.4vw, 32px) 0;
  border-bottom: 1px solid var(--line-strong);
  transition: opacity .7s var(--ease-out);
}
.gaze__list li:first-child { border-top: 1px solid var(--line-strong); }
.gaze__n { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--taupe-ink); transition: color .6s; }
.gaze__q {
  font-family: var(--ff-serif); font-weight: 320;
  font-size: clamp(1.5rem, 1.08rem + 1.8vw, 2.65rem); line-height: 1.14; letter-spacing: -.015em;
  color: var(--ink);
  transition: color .7s var(--ease-out), transform .9s var(--ease-out);
}
.js .gaze__list .gaze__q { color: color-mix(in srgb, var(--ink) 60%, var(--beige-soft)); }
.js .gaze__list li.is-active .gaze__q { color: var(--chocolate); transform: translateX(8px); }
.js .gaze__list li.is-active .gaze__n { color: var(--chocolate); }

.gaze__outro { position: relative; padding-top: clamp(110px, 15vw, 220px); text-align: center; }
.gaze__pre { position: relative; z-index: 2; font-size: var(--fs-lead); color: var(--text); margin-bottom: .8em; }
.gaze__big {
  position: relative;
  font-family: var(--ff-serif); font-weight: 280;
  font-size: clamp(3.3rem, .8rem + 10vw, 11.5rem); line-height: .96; letter-spacing: -.035em;
  color: var(--ink);
}
.gaze__big em { color: var(--chocolate); }
.gaze__big-text {
  position: relative; z-index: 1; display: inline-block;
  transform: scale(calc(.9 + var(--p, 1) * .1));
  opacity: calc(.25 + var(--p, 1) * .75);
}
.gaze__big-mark {
  display: block;
  width: clamp(96px, 10vw, 150px); height: auto; aspect-ratio: 1;
  margin: 0 auto clamp(8px, 1.5vw, 20px);
  overflow: visible;
}
/* --c: convergence (0→1), --q: rotation into the mark (0→1), --dot: la persona (0→1) */
.gm-rot { transform-box: view-box; transform-origin: 154px 154px; transform: rotate(calc((1 - var(--q, 1)) * 90deg)); }
.gm-disc { fill: var(--beige); transform: translateY(calc((1 - var(--c, 1)) * -110px)); }
.gm-ring { fill: none; stroke: var(--chocolate); stroke-width: 1.6; vector-effect: non-scaling-stroke; transform: translateY(calc((1 - var(--c, 1)) * 110px)); }
.gm-lens { fill: var(--rosa); opacity: calc(var(--q, 1) * .85); }
.gm-dot { fill: var(--chocolate); transform-box: fill-box; transform-origin: center; transform: scale(var(--dot, 1)); }
@media (min-width: 900px) {
  .gaze__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .gaze__sticky { position: sticky; top: calc(var(--header-h) + 56px); }
}

/* ---------- 05 Psicología: CBT cycle ---------- */
.cbt { display: grid; gap: clamp(48px, 6vw, 100px); align-items: center; }
.cbt__text .lead {
  margin-bottom: 1em;
  font-family: var(--ff-serif); font-weight: 340;
  font-size: clamp(1.45rem, 1.1rem + 1.15vw, 2.1rem); line-height: 1.28;
  color: var(--ink);
}
.cbt__text .lead em { color: var(--chocolate); }
.cbt__text > p:not(.lead):not(.hint) { max-width: 32rem; }
.hint {
  display: inline-flex; align-items: center; gap: .85em;
  margin-top: 1.8em;
  font-size: .86rem; font-weight: 650; letter-spacing: .01em;
  color: var(--chocolate);
}
.hint__pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--chocolate); }
.hint__pulse::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--chocolate);
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.cbt__wheel { position: relative; width: min(100%, 520px, 68svh); aspect-ratio: 1; margin: 20px auto; }
.cbt__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cbt__track { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 7; }
.cbt__trace {
  fill: none; stroke: var(--chocolate); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--trace, 0));
  transform: rotate(-90deg); transform-box: view-box; transform-origin: 200px 200px;
  transition: stroke-dashoffset 1.4s var(--ease-out);
}
.cbt__runner { transform-box: view-box; transform-origin: 200px 200px; animation: spin 16s linear infinite; }
.cbt__runner circle { fill: var(--dorado); }
.cbt__wheel::before {
  content: ""; position: absolute; inset: 24%; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--rosa-mist) 60%, rgba(248, 239, 236, 0) 72%);
}
.cbt__node {
  --dot: 24px;
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 6px; border: 0; border-radius: 16px; background: none; cursor: pointer;
  transform: translate(-50%, calc(var(--dot) / -2 - 6px));
}
.cbt__node[data-node="0"] { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + var(--dot) / 2 + 6px)); }
.cbt__dot {
  position: relative;
  width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--marfil); border: 1.5px solid var(--chocolate);
  transition: background .5s, transform .6s var(--ease-out), border-color .5s;
}
.cbt__dot::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid var(--chocolate);
  opacity: 0; transform: scale(.5);
  transition: opacity .5s, transform .8s var(--ease-out);
}
.cbt__label {
  padding: .2em .7em; border-radius: 999px;
  font-family: var(--ff-serif); font-weight: 380;
  font-size: clamp(1rem, .92rem + .35vw, 1.22rem); line-height: 1.2;
  color: var(--ink); white-space: nowrap;
  background: color-mix(in srgb, var(--marfil) 88%, transparent);
  transition: background .5s, color .5s;
}
@media (hover: hover) { .cbt__node:hover .cbt__dot { transform: scale(1.15); } }
.cbt__node.is-visited .cbt__dot { background: var(--rosa); border-color: var(--rosa); }
.cbt__node[aria-current="true"] .cbt__dot { background: var(--chocolate); border-color: var(--chocolate); transform: scale(1.15); }
.cbt__node[aria-current="true"] .cbt__dot::after { opacity: .5; transform: scale(1); }
.cbt__node[aria-current="true"] .cbt__label { background: var(--chocolate); color: var(--marfil); }
.cbt__center {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 42%;
  transform: translate(-50%, -50%);
  text-align: center;
  transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
}
.cbt__center.is-swapping { opacity: 0; transform: translate(-50%, calc(-50% + 8px)); }
.cbt__kicker { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe-ink); }
.cbt__title {
  margin: .35em 0 .45em;
  font-family: var(--ff-serif); font-weight: 340;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.9rem); line-height: 1.1;
  color: var(--ink);
}
.cbt__desc { font-size: clamp(.8rem, .76rem + .2vw, .95rem); line-height: 1.5; color: var(--text); }
@media (max-width: 559px) {
  .cbt__wheel { width: 100%; }
  .cbt__node { --dot: 20px; }
  .cbt__label { font-size: .84rem; padding: .15em .45em; }
  .cbt__center { width: 40%; }
  .cbt__title { font-size: 1.08rem; }
  .cbt__desc { font-size: max(.8rem, 12.8px); line-height: 1.45; }
  .cbt__kicker { font-size: max(.7rem, 11px); letter-spacing: .16em; }
}
@media (min-width: 900px) { .cbt { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }

.topics { display: grid; gap: clamp(24px, 3vw, 48px); margin-top: clamp(90px, 11vw, 170px); }
.topics__head p { margin-top: .5em; color: var(--taupe-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: .7em;
  padding: .7em 1.2em .7em 1em;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-size: .96rem; line-height: 1.35; color: var(--ink);
}
.chips li::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--rosa); }
@media (min-width: 900px) { .topics { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); } }

.objective {
  position: relative; isolation: isolate;
  margin-top: clamp(90px, 11vw, 170px);
  padding: clamp(40px, 5vw, 72px) 0 0;
  border-top: 1px solid var(--line-strong);
}
.objective__quote { position: relative; z-index: 1; max-width: 58rem; margin-top: 1.6em; }
.objective__not {
  font-family: var(--ff-serif); font-weight: 330;
  font-size: clamp(1.3rem, 1rem + 1.1vw, 2rem); line-height: 1.25;
  color: var(--taupe-ink);
}
.objective__not span { font-style: italic; }
.objective__is {
  margin-top: .45em;
  font-family: var(--ff-serif); font-weight: 310;
  font-size: clamp(1.85rem, 1.15rem + 2.5vw, 3.5rem); line-height: 1.13; letter-spacing: -.018em;
  color: var(--ink);
  text-wrap: balance;
}
.objective__is em { color: var(--chocolate); }
.objective__art { position: absolute; right: 0; top: 48px; z-index: -1; width: clamp(180px, 26vw, 380px); aspect-ratio: 1.45; opacity: .5; }
@media (max-width: 899px) { .objective__art { display: none; } }
.objective__art .ring, .objective__art .disc { position: absolute; top: 0; height: 100%; aspect-ratio: 1; }
.objective__art .ring { left: 0; border-color: var(--dorado); }
.objective__art .disc { right: 0; opacity: .55; }

/* ---------- 06 PNI: systems constellation ---------- */
.service--pni { background: var(--rosa-mist); }
.systems { display: grid; gap: clamp(44px, 6vw, 96px); align-items: center; }
.systems__map {
  --dot: clamp(40px, 5.2vw, 58px);
  position: relative;
  width: min(100%, 600px, 72svh); aspect-ratio: 1;
  margin-inline: auto;
}
.systems__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.systems__lines line {
  stroke: var(--taupe); stroke-width: .28; stroke-linecap: round; opacity: .55;
  transition: stroke .6s, opacity .6s, stroke-width .6s;
}
.systems__lines line.is-spoke { stroke-dasharray: .6 1.2; opacity: .45; }
.systems__lines line.is-lit { stroke: var(--dorado); opacity: .95; }
.systems__lines line.is-hot {
  stroke: var(--chocolate); stroke-width: .42; opacity: 1;
  stroke-dasharray: 1.4 1.4;
  animation: flow 1.4s linear 3;
}
@keyframes flow { to { stroke-dashoffset: -2.8; } }
.systems__core {
  position: absolute; left: 50%; top: 50%;
  width: 27%; aspect-ratio: 1;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff 0%, var(--rosa-soft) 78%);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -36px rgba(63, 42, 32, .45);
}
.systems__core-label {
  position: relative;
  font-family: var(--ff-serif); font-style: italic; font-weight: 360;
  font-size: clamp(.92rem, .8rem + .6vw, 1.35rem); line-height: 1.1; text-align: center;
  color: var(--chocolate);
}
.systems__core-pulse { position: absolute; inset: -14%; border-radius: 50%; border: 1px solid var(--rosa); animation: breath 6s var(--ease-breath) infinite; }
@keyframes breath { 0%, 100% { transform: scale(.92); opacity: .3; } 50% { transform: scale(1.08); opacity: 1; } }
.sys-node {
  position: absolute; left: var(--x, 50%); top: var(--y, 50%); z-index: 2;
  display: grid; justify-items: center; gap: 8px;
  width: max-content; max-width: 11em;
  padding: 6px; border: 0; border-radius: 18px; background: none; cursor: pointer;
  transform: translate(-50%, calc(var(--dot) / -2 - 6px));
}
.sys-node:nth-of-type(1) { --x: 50%; --y: 11%; }
.sys-node:nth-of-type(2) { --x: 87.1%; --y: 37.9%; }
.sys-node:nth-of-type(3) { --x: 72.9%; --y: 81.6%; }
.sys-node:nth-of-type(4) { --x: 27.1%; --y: 81.6%; }
.sys-node:nth-of-type(5) { --x: 12.9%; --y: 37.9%; }
.sys-node__dot {
  display: grid; place-items: center;
  width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--marfil); border: 1px solid var(--line-strong);
  font-family: var(--ff-serif); font-style: italic; font-size: 1.05rem; color: var(--chocolate);
  box-shadow: 0 12px 30px -16px rgba(63, 42, 32, .45);
  transition: background .5s, color .5s, border-color .5s, transform .7s var(--ease-out);
}
.sys-node__label {
  display: block; padding: .2em .5em; border-radius: 12px;
  background: color-mix(in srgb, var(--rosa-mist) 90%, transparent);
  font-size: clamp(.75rem, .68rem + .3vw, .9rem); font-weight: 650; line-height: 1.25;
  text-align: center; color: var(--ink);
  text-wrap: balance;
}
@media (hover: hover) { .sys-node:hover .sys-node__dot { transform: scale(1.08); } }
.sys-node.is-visited .sys-node__dot { background: var(--rosa-soft); border-color: var(--rosa); }
.sys-node[aria-current="true"] .sys-node__dot { background: var(--chocolate); color: var(--marfil); border-color: var(--chocolate); transform: scale(1.12); }
.systems.is-complete .systems__core { box-shadow: 0 0 0 10px rgba(217, 184, 175, .35), 0 30px 60px -36px rgba(63, 42, 32, .45); }

.systems__intro { margin-bottom: 1.6em; font-size: var(--fs-lead); }
.systems__intro strong { color: var(--chocolate); }
.systems__detail {
  min-height: 13.5rem;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .7);
  transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
}
.systems__detail.is-swapping { opacity: 0; transform: translateY(8px); }
.systems__detail-num { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-ink); }
.systems__detail-title { margin: .45em 0 .5em; font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.08; }
.systems__progress { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: .86rem; color: var(--taupe-ink); }
.systems__dots { display: flex; gap: 6px; }
.systems__dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--chocolate); transition: background .6s, transform .6s var(--ease-out); }
.systems__dots i.is-on { background: var(--chocolate); }
.systems__reveal {
  position: relative;
  margin-top: 26px; padding-left: 22px;
  border-left: 1px solid var(--dorado);
  font-family: var(--ff-serif); font-weight: 340;
  font-size: clamp(1.25rem, 1.02rem + .8vw, 1.7rem); line-height: 1.3;
  color: var(--ink);
  transition: color .8s;
}
.systems__reveal-kicker {
  display: block; margin-bottom: .5em;
  font-family: var(--ff-sans); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--oro-text);
  opacity: 0; transform: translateY(6px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.systems.is-complete .systems__reveal-kicker { opacity: 1; transform: none; }
.systems.is-complete .systems__reveal { color: var(--chocolate); }
@media (max-width: 480px) {
  .sys-node { max-width: 8.4em; }
  .sys-node__label { font-size: .75rem; padding: .1em .45em; }
}
@media (max-width: 999px) {
  .systems { display: flex; flex-direction: column; gap: 20px; }
  .systems__panel { display: contents; }
  .systems__intro { order: -1; margin: 0; }
  .systems__detail { min-height: 11.5rem; scroll-margin-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1000px) { .systems { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* ---------- 07 Integración: Venn ---------- */
.integrate__grid { display: grid; gap: clamp(48px, 7vw, 110px); align-items: start; }
.venn { --p: 1; --spread: 17%; position: relative; width: min(100%, 560px); aspect-ratio: 1.45; margin-inline: auto; }
@media (max-width: 899px) { .venn { --spread: 11%; width: min(92%, 440px); } }
.venn__c {
  position: absolute; top: 0;
  height: 100%; aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center;
}
.venn__c--a {
  left: 0;
  border: 1.3px solid var(--chocolate);
  background: rgba(233, 219, 206, .4);
  transform: translateX(calc((1 - var(--p)) * var(--spread) * -1));
}
.venn__c--b {
  right: 0;
  background: rgba(217, 184, 175, .75);
  mix-blend-mode: multiply;
  transform: translateX(calc((1 - var(--p)) * var(--spread)));
}
.venn__label {
  position: absolute; top: 50%;
  font-family: var(--ff-serif); font-weight: 360;
  font-size: clamp(1.05rem, .85rem + .8vw, 1.6rem); color: var(--ink);
}
.venn__c--a .venn__label { left: 22.5%; transform: translate(-50%, -50%); }
.venn__c--b .venn__label { right: 22.5%; transform: translate(50%, -50%); }
.venn__x {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  display: grid; justify-items: center;
  transform: translate(-50%, -50%) scale(calc(.85 + var(--p) * .15));
  opacity: clamp(0, calc((var(--p) - .62) * 2.8), 1);
  font-size: clamp(.72rem, .66rem + .25vw, .86rem); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; text-align: center;
  color: var(--ink);
}
.venn__x em {
  font-family: var(--ff-serif); font-weight: 340; font-size: clamp(1.5rem, 1.1rem + 1vw, 1.9rem);
  letter-spacing: -.01em; text-transform: none; color: var(--chocolate);
}
.integrate__text .h2 { margin: .5em 0 .6em; }
.integrate__text .lead { margin-bottom: 1em; color: var(--ink); }
.myths { display: grid; gap: 12px; margin: 2.2em 0 12px; }
.myth {
  display: grid; gap: .25em;
  padding: 18px 22px;
  border: 1px dashed var(--line-strong); border-radius: 18px;
  background: rgba(255, 255, 255, .45);
}
.myth__tag, .truth__tag { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-ink); }
.myth__text { font-family: var(--ff-serif); font-weight: 350; font-size: clamp(1.15rem, 1.02rem + .5vw, 1.4rem); line-height: 1.3; color: var(--ink); }
.truth {
  display: grid; gap: .3em;
  margin-bottom: 1.4em; padding: 22px 24px;
  border-radius: 18px;
  background: var(--chocolate); color: var(--marfil);
  font-family: var(--ff-serif); font-weight: 330;
  font-size: clamp(1.2rem, 1.02rem + .7vw, 1.55rem); line-height: 1.3;
}
.truth__tag { font-family: var(--ff-sans); color: var(--rosa-mist); }
@media (min-width: 900px) {
  .integrate__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .integrate__visual { position: sticky; top: calc(50vh - min(19vw, 196px)); }
}

/* ---------- Pausa: breathing ---------- */
.breathe { background: var(--night); color: rgba(254, 250, 247, .78); isolation: isolate; }
.breathe .h2 { color: var(--marfil); }
.breathe .h2 em { color: var(--rosa); }
.breathe__glow {
  position: absolute; z-index: -1;
  width: max(70vw, 600px); aspect-ratio: 1; border-radius: 50%;
  right: -18vw; top: 50%;
  background: radial-gradient(circle, rgba(217, 184, 175, .2), rgba(217, 184, 175, 0) 64%);
  transform: translateY(-50%);
}
.breathe__grid { display: grid; gap: clamp(52px, 6vw, 100px); align-items: center; }
.breathe__text .h2 { margin: .5em 0 .55em; }
.breathe__text p { max-width: 30rem; }
.breathe__legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2em; }
.breathe__legend li { padding: .5em 1.05em; border: 1px solid rgba(254, 250, 247, .18); border-radius: 999px; font-size: .86rem; }
.breathe__legend b { margin-right: .25em; font-family: var(--ff-serif); font-style: italic; font-weight: 400; font-size: 1.2em; color: var(--rosa); }
.breathe__stage { display: grid; justify-items: center; gap: 30px; }
.orb {
  --s: .8; --sep: 16%; --dur: 1.2s; --glow: 0;
  position: relative;
  width: min(84vw, 460px, 58svh); aspect-ratio: 1;
  display: grid; place-items: center;
}
.orb__progress { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.orb__track { fill: none; stroke: rgba(254, 250, 247, .12); stroke-width: 1; }
.orb__bar {
  fill: none; stroke: var(--dorado); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--prog, 0));
  transition: stroke-dashoffset .4s linear;
}
.orb__ring, .orb__disc {
  position: absolute; left: 22%; top: 22%;
  width: 56%; aspect-ratio: 1; border-radius: 50%;
  transition: transform var(--dur) var(--ease-breath), opacity var(--dur) var(--ease-breath), box-shadow var(--dur) var(--ease-breath);
}
.orb__ring { border: 1.5px solid var(--rosa); transform: translateX(calc(var(--sep) * -1)) scale(var(--s)); }
.orb__disc {
  background: radial-gradient(circle at 38% 32%, rgba(238, 220, 214, .55), rgba(217, 184, 175, .3) 55%, rgba(137, 90, 62, .25));
  transform: translateX(var(--sep)) scale(var(--s));
  box-shadow: 0 0 calc(var(--glow) * 90px) calc(var(--glow) * 10px) rgba(217, 184, 175, .28);
}
.orb[data-phase="inhale"], .orb[data-phase="hold"] { --s: 1.12; --sep: 0%; --glow: 1; }
.orb[data-phase="exhale"] { --s: .8; --sep: 16%; --glow: 0; }
.orb[data-phase="idle"], .orb[data-phase="done"] { --s: .92; --sep: 0%; --glow: 0; }
.orb[data-phase="done"] { --glow: .6; }
.orb__center { position: relative; z-index: 2; max-width: 62%; text-align: center; pointer-events: none; }
@media (max-width: 420px) { .orb__center { max-width: 54%; } }
.nowrap { white-space: nowrap; }
.orb[data-phase="idle"] .orb__phase, .orb[data-phase="done"] .orb__phase { font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); }
/* Focus mode while breathing: interface steps back, a soft vignette */
html.is-breathing .site-header, html.is-breathing .dock { opacity: 0; pointer-events: none; }
.site-header, .dock { transition: transform .9s var(--ease-out), opacity .8s var(--ease-out); }
html.is-breathing body::after {
  content: ""; position: fixed; inset: 0; z-index: 39; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(42, 28, 21, 0) 45%, rgba(42, 28, 21, .38));
  animation: fade-in 1.2s var(--ease-out) both;
}
@keyframes fade-in { from { opacity: 0; } }
.orb__phase {
  font-family: var(--ff-serif); font-style: italic; font-weight: 320;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.1;
  color: var(--marfil);
  transition: opacity .5s;
}
.orb__count { min-height: 1.4em; margin-top: .4em; font-size: .95rem; font-weight: 650; letter-spacing: .3em; color: var(--marfil); text-shadow: 0 0 10px rgba(42, 28, 21, .75), 0 0 2px rgba(42, 28, 21, .6); font-variant-numeric: tabular-nums; }
.breathe__controls { display: grid; justify-items: center; gap: 12px; }
.breathe__cycles { font-size: .86rem; color: rgba(254, 250, 247, .62); }
.breathe__cycles span { color: var(--marfil); font-weight: 700; }
@media (min-width: 900px) { .breathe__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* ---------- 08 Para quién ---------- */
.resonate { display: grid; gap: 12px; }
.resonate li { display: flex; }
.res-card {
  width: 100%;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 26px;
  min-height: clamp(150px, 15vw, 200px);
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: #fffdfb;
  text-align: left; cursor: pointer;
  transition: background .6s var(--ease-out), border-color .6s, transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .res-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
}
.res-card__check {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--marfil);
  transition: background .5s, border-color .5s, transform .7s var(--ease-out);
}
.res-card__check .icon { width: 17px; height: 17px; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .6s var(--ease-out) .1s; }
.res-card__text {
  font-family: var(--ff-serif); font-weight: 360;
  font-size: clamp(1.12rem, 1rem + .4vw, 1.32rem); line-height: 1.3;
  color: var(--ink);
}
.res-card[aria-pressed="true"] { background: var(--rosa-soft); border-color: var(--rosa); }
.res-card[aria-pressed="true"] .res-card__check { background: var(--chocolate); border-color: var(--chocolate); transform: rotate(-8deg) scale(1.06); }
.res-card[aria-pressed="true"] .res-card__check .icon { stroke-dashoffset: 0; }
.resonate__footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 519px) { .resonate__reveal .btn { flex: 1 1 100%; white-space: normal; text-align: center; padding-inline: 1.2em; } }
.resonate__count {
  font-family: var(--ff-serif); font-style: italic; font-weight: 340;
  font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); line-height: 1.3;
  color: var(--chocolate);
}
.resonate__reveal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-md);
  background: var(--beige-soft);
  transition: background .8s, box-shadow .8s;
}
.resonate__message { flex: 1 1 18rem; }
.resonate__message em { font-family: var(--ff-serif); font-size: 1.12em; color: var(--ink); }
.has-selection .resonate__reveal { background: var(--rosa-soft); box-shadow: var(--shadow-soft); }
@media (max-width: 639px) {
  .res-card { flex-direction: row; align-items: center; gap: 16px; min-height: 0; padding: 18px 18px; }
  .res-card__check { flex: none; }
}
@media (min-width: 640px) {
  .resonate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resonate li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .resonate { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .resonate li:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 900px) { .resonate__footer { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); } }

/* ---------- 09 Proceso ---------- */
.process { background: linear-gradient(180deg, var(--marfil) 0%, var(--marfil-deep) 22%, var(--marfil-deep) 78%, var(--marfil) 100%); }
.steps { --p: 0; position: relative; display: grid; gap: clamp(34px, 3vw, 44px); padding-left: 46px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 1px; }
.steps::before { background: var(--line-strong); }
.steps::after { background: var(--chocolate); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.step { position: relative; }
.step__dot {
  position: absolute; left: -46px; top: 6px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--marfil-deep); border: 1px solid var(--chocolate);
  transition: background .6s, box-shadow .8s var(--ease-out);
}
.step.is-reached .step__dot { background: var(--chocolate); box-shadow: 0 0 0 6px rgba(217, 184, 175, .55); }
.step__n {
  display: block; margin-bottom: .3em;
  font-family: var(--ff-serif); font-style: italic; font-weight: 280;
  font-size: clamp(2.3rem, 1.9rem + 1.4vw, 3.3rem); line-height: 1;
  color: var(--oro-ink);
}
.step__title { margin-bottom: .5em; font-size: clamp(1.32rem, 1.15rem + .55vw, 1.62rem); line-height: 1.15; }
.step p { font-size: .96rem; line-height: 1.62; }
@media (min-width: 1280px) {
  .step__title { min-height: 2.3em; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 30px; padding: 52px 0 0; }
  .steps::before, .steps::after { left: 0; right: 0; top: 10px; bottom: auto; width: auto; height: 1px; }
  .steps::after { transform-origin: 0 50%; transform: scaleX(var(--p)); }
  .step__dot { left: 0; top: -52px; }
}

/* ---------- Reseñas ---------- */
.reviews { overflow-x: clip; }
.reviews__rating { display: flex; align-items: center; gap: 12px; margin-bottom: .6em; font-weight: 650; color: var(--ink); }
.reviews__cta { margin-top: 1.4em; }
.reviews__cta .icon { width: 1em; height: 1em; }
.review__stars { display: inline-flex; gap: 3px; color: var(--dorado); }
.review__stars .icon { width: 15px; height: 15px; }
.review__stars--lg .icon { width: 18px; height: 18px; }

.reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.review { display: flex; }
.review__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 20px; width: 100%;
  margin: 0; padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: #fffdfb;
  transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out), border-color .6s;
}
/* big, soft quotation mark */
.review__card::before {
  content: "“"; position: absolute; z-index: -1; right: 20px; top: 8px;
  font-family: var(--ff-serif); font-style: italic; font-size: 6.5rem; line-height: .8;
  color: var(--rosa); opacity: .45;
}
.review__text {
  --lh: 1.55; --lines: 7;
  margin: 0;
  font-family: var(--ff-serif); font-weight: 350;
  font-size: clamp(1.05rem, 1rem + .25vw, 1.16rem); line-height: var(--lh);
  color: var(--ink); text-wrap: pretty;
}
.review__text p { margin: 0; }
.review__text p + p { margin-top: .75em; }
/* long reviews start trimmed, fading out; "Leer más" (added by main.js) opens them in place */
.js .review__text {
  max-height: calc(var(--lines) * var(--lh) * 1em); overflow: hidden;
  transition: max-height .75s var(--ease-out);
}
.js .review__text.is-measuring { transition: none; }
.js .review__text.is-trimmed:not(.is-open) {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 2.6em), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 2.6em), transparent);
}
.review__more {
  align-self: flex-start; margin-top: -8px; padding: 4px 0;
  border: 0; border-bottom: 1px solid currentColor; background: none;
  font: inherit; font-size: .84rem; font-weight: 700; letter-spacing: .02em; line-height: 1.4;
  color: var(--chocolate); cursor: pointer;
  transition: color .3s, border-color .3s;
}
.review__more:hover { color: var(--ink); }
.review__more[hidden] { display: none; }
/* equal heights while closed; opening one doesn't stretch its neighbours */
.reviews__grid:has(.review__text.is-open) { align-items: start; }
.review__author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
/* the initial sits in the brand's two-circle motif */
.review__avatar {
  position: relative; flex: none;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--rosa-soft); color: var(--chocolate);
  font-family: var(--ff-serif); font-style: italic; font-size: 1.15rem; font-weight: 400;
}
.review__avatar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.2px solid var(--chocolate); transform: translateY(7px); opacity: .55;
}
.review__who { display: grid; line-height: 1.3; }
.review__name { font-size: .95rem; font-weight: 700; color: var(--ink); }
.review__who small { font-size: .78rem; color: var(--taupe-ink); }

.review--featured .review__card { background: var(--rosa-mist); border-color: rgba(217, 184, 175, .6); padding: clamp(28px, 3.4vw, 52px); }
.review--featured .review__card::before { font-size: 9.5rem; top: 14px; right: 32px; }
.review--featured .review__text {
  --lh: 1.3; --lines: 4;
  font-style: italic; font-weight: 320;
  font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.05rem); letter-spacing: -.01em;
}
/* the logo's circles, quietly, behind the featured review */
.review--featured .review__card::after {
  content: ""; position: absolute; z-index: -1; right: -60px; bottom: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 1.2px solid var(--dorado); opacity: .5;
  box-shadow: 60px -40px 0 -1px rgba(238, 220, 214, .9);
}
@media (hover: hover) and (pointer: fine) {
  .review:hover .review__card { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
}
.review__card::selection { background: var(--rosa); }

.reviews__dots { display: none; justify-content: center; gap: 7px; margin-top: 18px; }
.reviews__dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--chocolate); transition: background .4s, transform .4s var(--ease-out); }
.reviews__dots i.is-on { background: var(--chocolate); transform: scale(1.2); }
.reviews__note { margin-top: 18px; font-size: .84rem; color: var(--taupe-ink); }
html:lang(es) .reviews__note { display: none; }

/* phones: a calm, swipeable row with the next card peeking */
@media (max-width: 699px) {
  .reviews__track {
    margin-inline: calc(var(--gutter) * -1);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .reviews__track::-webkit-scrollbar { display: none; }
  .reviews__track:focus-visible { outline-offset: -4px; }
  .reviews__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; padding: 4px var(--gutter) 8px; }
  .review { scroll-snap-align: start; }
  .review__text { --lines: 9; }
  .review--featured .review__text { --lines: 6; font-size: 1.3rem; }
  .reviews__dots { display: flex; }
}
@media (min-width: 700px) {
  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review--featured { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  /* 7 reviews close three full rows: [featured ×2][1] · [1][1][1] · [1][wide ×2] */
  .reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review--featured, .review--wide { grid-column: span 2; }
  .review--wide .review__text { --lines: 6; }
}

/* ---------- 10 FAQ ---------- */
.faq__grid { display: grid; gap: clamp(40px, 6vw, 100px); }
.faq__head .h2 { margin: .5em 0 .55em; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item:first-child { border-top: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(22px, 2.4vw, 30px) 0;
  list-style: none; cursor: pointer;
  font-family: var(--ff-serif); font-weight: 350;
  font-size: clamp(1.2rem, 1rem + .8vw, 1.65rem); line-height: 1.25;
  color: var(--ink);
  border-radius: 8px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--chocolate);
  transition: transform .6s var(--ease-out), background .5s, color .5s, border-color .5s;
}
.faq-item summary:hover .faq-item__icon { border-color: var(--chocolate); }
.faq-item[open] .faq-item__icon { transform: rotate(135deg); background: var(--chocolate); border-color: var(--chocolate); color: var(--marfil); }
.faq-item__a { max-width: 44rem; padding: 0 60px clamp(24px, 2.6vw, 32px) 0; }
.faq-item__a p + p { margin-top: .85em; }
@supports selector(::details-content) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    block-size: 0; overflow: clip;
    transition: block-size .7s var(--ease-out), content-visibility .7s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .faq__head { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
}

/* ---------- Contact ---------- */
.contact { padding-block: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 40px); }
.contact__card {
  position: relative; isolation: isolate;
  display: grid; gap: clamp(36px, 5vw, 64px); align-items: center;
  padding: clamp(40px, 7vw, 120px) clamp(26px, 6vw, 100px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--rosa-soft) 0%, var(--beige-soft) 55%, var(--marfil) 100%);
  overflow: hidden;
}
.contact__card::after {
  content: ""; position: absolute; z-index: -1; inset: auto -10% -40% auto;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 65%);
}
.contact__art { position: relative; width: min(72%, 330px); aspect-ratio: 1; margin-inline: auto; }
.contact__photo { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; background: var(--rosa-soft); box-shadow: 0 40px 80px -46px rgba(63, 42, 32, .55); }
.contact__photo picture, .contact__photo img { width: 100%; height: 100%; }
.contact__photo img { object-fit: cover; object-position: 50% 14%; transform: scale(1.12); transform-origin: 50% 12%; filter: sepia(.08) saturate(.94); }
.contact__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.3px solid var(--dorado); }
.contact__disc { position: absolute; left: -10%; bottom: -4%; width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--rosa); opacity: .7; z-index: -1; }
.contact__mark {
  position: absolute; right: 2%; bottom: 4%;
  width: 22%; height: auto; padding: 5%; box-sizing: content-box;
  border-radius: 50%; background: color-mix(in srgb, var(--marfil) 88%, transparent);
  box-shadow: 0 16px 34px -20px rgba(63, 42, 32, .5);
  overflow: visible;
}
.contact__mark * { transform-box: view-box; transform-origin: 102px 150px; }
.cm-disc { fill: var(--beige); animation: cm-disc 8s var(--ease-breath) infinite alternate; }
.cm-lens { fill: var(--rosa); animation: cm-lens 8s var(--ease-breath) infinite alternate; }
.cm-ring { fill: none; stroke: var(--chocolate); stroke-width: 7; animation: cm-ring 8s var(--ease-breath) infinite alternate; }
.cm-dot { fill: var(--chocolate); }
@keyframes cm-disc { from { transform: translateY(-16px); } to { transform: none; } }
@keyframes cm-ring { from { transform: translateY(16px); } to { transform: none; } }
@keyframes cm-lens { from { opacity: .35; transform: scaleY(.55); } to { opacity: 1; transform: none; } }
.contact__body .h2 { margin: .5em 0 .5em; }
.contact__body .lead { max-width: 32rem; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2em; }
.contact__handle { margin-top: 1.5em; font-size: .86rem; font-weight: 650; letter-spacing: .06em; color: var(--taupe-ink); }
@media (max-width: 519px) { .contact__actions .btn { flex: 1 1 100%; } }
@media (min-width: 900px) { .contact__card { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); } }

/* ---------- Footer ---------- */
.site-footer {
  margin: clamp(60px, 8vw, 110px) clamp(8px, 1.3vw, 20px) 0;
  padding: clamp(64px, 8vw, 110px) 0 calc(96px + env(safe-area-inset-bottom));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--night);
  color: rgba(254, 250, 247, .7);
  font-size: .95rem;
}
.site-footer__grid { display: grid; gap: 44px; }
.site-footer__logo { height: 50px; width: auto; margin-bottom: 20px; }
.site-footer__brand p { max-width: 18rem; font-size: .9rem; }
.site-footer__title { margin-bottom: 1.1em; font-family: var(--ff-sans); font-size: .7rem; font-weight: 700; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; color: var(--rosa); text-wrap: initial; }
.site-footer a { color: rgba(254, 250, 247, .85); text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--marfil); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.site-footer li a, .to-top { display: inline-block; padding: 9px 0; }
.site-footer li + li { margin-top: 0; }
.site-footer__note p:not(.site-footer__title) { font-size: .86rem; line-height: 1.6; }
.site-footer__note p + p { margin-top: .9em; }
.site-footer__note strong { color: var(--marfil); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: clamp(52px, 6vw, 84px); padding-top: 26px;
  border-top: 1px solid rgba(254, 250, 247, .12);
  font-size: .82rem;
}
.to-top { display: inline-flex; align-items: center; gap: .6em; }
.to-top .icon { transform: rotate(-90deg); }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } .site-footer__note { grid-column: 1 / -1; max-width: 46rem; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.25fr .8fr .7fr 1.5fr; } .site-footer__note { grid-column: auto; } }

.pillar__abbr { font-size: .8em; color: var(--taupe-ink); white-space: nowrap; }
.pillar__tag { display: block; margin: -.4em 0 .5em; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-ink); }
.note--contact { flex-basis: 100%; margin: 0; color: var(--text); }
.note--contact a, .site-footer__note a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.note--contact a { color: inherit; }
.site-footer__note a { color: var(--marfil); display: inline-block; padding: .3em 0; }
.contact__body .note--contact { margin-top: 1.2em; max-width: 30rem; }
.toast__text b { display: block; margin-bottom: .15em; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- WhatsApp fijo (abajo a la derecha) ---------- */
.wa-float {
  position: fixed; z-index: 42;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: block; border-radius: 50%;
  text-decoration: none;
  transition: filter .6s var(--ease-out);
}
.js .wa-float { opacity: 0; }
.is-ready .wa-float { animation: wa-in 1s var(--ease-out) .9s both; }
@keyframes wa-in { from { opacity: 0; transform: translateY(18px) scale(.9); } to { opacity: 1; transform: none; } }
.wa-float__btn {
  position: relative;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--chocolate); color: var(--marfil);
  box-shadow: 0 18px 38px -16px rgba(63, 42, 32, .65), inset 0 0 0 1px rgba(254, 250, 247, .18);
  transition: background .4s var(--ease-out), transform .6s var(--ease-out);
}
/* a slow, breathing halo in rosa: it invites without insisting */
.wa-float__btn::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px solid var(--rosa);
  opacity: 0;
  animation: wa-halo 5s var(--ease-breath) 3s infinite;
}
@keyframes wa-halo {
  0% { transform: scale(.82); opacity: 0; }
  30% { opacity: .9; }
  70%, 100% { transform: scale(1.32); opacity: 0; }
}
.wa-float__icon { width: 28px; height: 28px; }
.wa-float__label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  padding: 10px 16px; border-radius: 999px;
  background: var(--marfil); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  font-size: .86rem; font-weight: 650; white-space: nowrap;
  opacity: 0; transform: translate(10px, -50%);
  pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
@media (hover: hover) {
  .wa-float:hover .wa-float__btn { background: var(--cacao); transform: scale(1.06); }
  .wa-float:hover .wa-float__label { opacity: 1; transform: translate(0, -50%); }
}
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float__btn { outline: 2px solid var(--chocolate); outline-offset: 4px; }
.wa-float:focus-visible .wa-float__label { opacity: 1; transform: translate(0, -50%); }
html.is-breathing .wa-float, .menu-open .wa-float { filter: opacity(0); pointer-events: none; }
@media (max-width: 640px) {
  .wa-float__btn { width: 56px; height: 56px; }
  .wa-float__icon { width: 26px; height: 26px; }
}
@media print { .wa-float { display: none; } }

/* ---------- Gamification: dock, journey, toast ---------- */
.dock {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 4px;
  padding: 5px;
  border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--marfil) 94%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 20px 50px -22px rgba(63, 42, 32, .5);
  transform: translate(-50%, calc(100% + 40px));
  transition: transform .9s var(--ease-out);
}
.dock.is-visible, .dock:focus-within, .dock:has(.dock__journey[aria-expanded="true"]) { transform: translate(-50%, 0); opacity: 1; }
.dock__journey {
  display: flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 16px 0 14px;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-size: .84rem; font-weight: 650; color: var(--ink); white-space: nowrap;
  transition: background .4s;
}
.dock__journey:hover, .dock__journey[aria-expanded="true"] { background: rgba(137, 90, 62, .08); }
.dock__dots { display: flex; gap: 5px; }
.dock__dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--chocolate); transition: background .6s; }
.dock__dots i.is-on { background: var(--chocolate); }
.dock__dots i.is-new { animation: pop 1s var(--ease-out); }
@keyframes pop { 0% { transform: scale(1); } 35% { transform: scale(1.9); box-shadow: 0 0 0 6px rgba(217, 184, 175, .6); } 100% { transform: scale(1); } }
.dock__label b { margin-left: .35em; color: var(--chocolate); font-variant-numeric: tabular-nums; }
.dock.is-hint .dock__journey { animation: hint 2.4s var(--ease-out) 2; }
@keyframes hint { 0%, 100% { box-shadow: 0 0 0 0 rgba(217, 184, 175, 0); } 50% { box-shadow: 0 0 0 6px rgba(217, 184, 175, .55); } }
@media (max-width: 370px) { .dock__journey { padding: 0 10px; gap: 8px; } .dock__dots { gap: 3px; } .dock__dots i { width: 8px; height: 8px; } }

.journey {
  position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 41;
  width: min(calc(100vw - 24px), 410px);
  max-height: calc(100vh - 160px); max-height: calc(100dvh - var(--header-h) - 96px - env(safe-area-inset-bottom));
  overflow-y: auto; display: flex; flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line); border-radius: 28px;
  background: var(--marfil);
  box-shadow: 0 40px 90px -30px rgba(63, 42, 32, .55);
  transform: translateX(-50%);
}
.journey[hidden] { display: none; }
.journey.is-open { animation: journey-in .6s var(--ease-out); }
@keyframes journey-in { from { opacity: 0; transform: translate(-50%, 16px) scale(.98); } to { opacity: 1; transform: translate(-50%, 0); } }
.journey__head { order: -2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.journey.is-complete .journey__done { order: -1; margin: 12px 0 4px; }
.journey__title { font-family: var(--ff-serif); font-weight: 380; font-size: 1.32rem; line-height: 1.2; color: var(--ink); }
.journey__close {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: none; cursor: pointer;
}
.journey__intro { margin: .5em 0 1em; font-size: .88rem; line-height: 1.55; }
.journey__list a {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 10px 12px; border-radius: 16px;
  text-decoration: none;
  transition: background .3s;
}
.journey__list a:hover { background: var(--rosa-mist); }
.journey__dot {
  position: relative; flex: none;
  width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  border: 1px solid var(--chocolate);
  transition: background .5s;
}
.journey__list b { display: block; font-size: .95rem; font-weight: 650; color: var(--ink); }
.journey__list small { display: block; font-size: .8rem; line-height: 1.45; color: var(--taupe-ink); }
.journey__list li.is-done .journey__dot { background: var(--chocolate); }
.journey__list li.is-done .journey__dot::after {
  content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px;
  border: solid var(--marfil); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.journey__done { display: none; margin-top: 12px; padding: 18px; border-radius: 18px; background: var(--rosa-mist); }
.journey__done p { margin-bottom: 14px; font-family: var(--ff-serif); font-size: 1.12rem; line-height: 1.35; color: var(--ink); }
.journey__done em { color: var(--chocolate); }
.journey.is-complete .journey__done { display: block; }

.toast {
  position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 14px;
  width: fit-content; max-width: 460px; margin-inline: auto;
  padding: 12px 20px 12px 14px;
  border-radius: 22px;
  background: var(--ink); color: var(--marfil);
  box-shadow: 0 24px 60px -24px rgba(42, 28, 21, .7);
  opacity: 0; pointer-events: none;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-out), transform .8s var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: none; }
.menu-open .toast, html.is-breathing .toast { opacity: 0; }
.toast__mark { position: relative; flex: none; width: 22px; height: 33px; margin-left: 6px; }
.toast__mark .ring, .toast__mark .disc { position: absolute; left: 0; width: 22px; height: 22px; }
.toast__mark .disc { top: 0; mix-blend-mode: normal; opacity: .85; }
.toast__mark .ring { top: 11px; border-color: var(--dorado); }
.toast__text { font-size: .88rem; line-height: 1.4; }
.toast__text b { color: var(--rosa); font-weight: 650; }


/* ---------- Brand intro ---------- */
@property --hole { syntax: "<length>"; inherits: false; initial-value: 0px; }
.intro { display: none; }
html.intro-on { overflow: hidden; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--marfil);
  cursor: pointer;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px));
  mask-image: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px));
  animation: intro-open 1s cubic-bezier(.7, 0, .2, 1) 1.7s forwards;
}
.intro-on .intro::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 50% 50%, var(--rosa-mist), rgba(248, 239, 236, 0) 55%);
}
.intro__stage { position: relative; width: clamp(128px, 22vmin, 190px); aspect-ratio: 1; }
.intro__mark { width: 100%; height: 100%; overflow: visible; }
.intro__mark * { transform-box: view-box; transform-origin: 154px 154px; }
.ib-rot { animation: ib-rot 1.9s cubic-bezier(.65, 0, .35, 1) both; }
.ib-disc { fill: var(--beige); animation: ib-disc 1.9s var(--ease-out) both; }
.ib-lens { fill: var(--rosa); animation: ib-lens 1.9s var(--ease-out) both; }
.ib-ring { fill: none; stroke: var(--chocolate); stroke-width: 4; stroke-dasharray: 1; animation: ib-ring 1.9s var(--ease-out) both; }
.ib-dot { fill: var(--chocolate); animation: ib-dot 1.9s var(--ease-out) both; }
.intro__name {
  position: absolute; left: 50%; top: calc(100% + clamp(18px, 3vmin, 30px));
  transform: translateX(-50%);
  font-family: var(--ff-serif); font-weight: 340; white-space: nowrap;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); letter-spacing: -.01em;
  color: var(--cacao);
  animation: ib-name 1.9s var(--ease-out) both;
}
.intro__name em { font-weight: 320; }
@keyframes ib-rot { 0%, 34% { transform: rotate(90deg); } 66%, 100% { transform: rotate(0deg); } }
@keyframes ib-disc { 0% { transform: translateY(-80px); opacity: 0; } 30%, 100% { transform: none; opacity: 1; } }
@keyframes ib-ring { 0% { transform: translateY(80px); stroke-dashoffset: 1; opacity: 0; } 8% { opacity: 1; } 32%, 100% { transform: none; stroke-dashoffset: 0; opacity: 1; } }
@keyframes ib-lens { 0%, 40% { opacity: 0; } 64%, 100% { opacity: 1; } }
@keyframes ib-dot { 0%, 62% { transform: scale(0); } 72% { transform: scale(1.5); } 80%, 100% { transform: scale(1); } }
@keyframes ib-name { 0%, 58% { opacity: 0; transform: translate(-50%, 10px); } 78%, 100% { opacity: 1; transform: translate(-50%, 0); } }
@keyframes intro-open {
  0% { --hole: 0px; opacity: 1; }
  85% { opacity: 1; }
  100% { --hole: 150vmax; opacity: 0; visibility: hidden; }
}

.reward-dot {
  position: fixed; left: 0; top: 0; z-index: 61;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--chocolate); box-shadow: 0 0 0 6px rgba(217, 184, 175, .55);
  pointer-events: none;
}

.is-offscreen, .is-offscreen *, .is-offscreen::before, .is-offscreen::after,
.is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] {
  opacity: 1; transform: none;
  clip-path: inset(22% 8% 0 8% round 999px 999px var(--radius-lg) var(--radius-lg));
  transition: clip-path 1.8s var(--ease-out);
}
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 999px 999px var(--radius-lg) var(--radius-lg)); }
.js [data-reveal="clip"] img { --zoom: 1.2; }
.js [data-reveal="clip"].is-in img { --zoom: 1.04; }
/* Viewports taller than any real screen (crawlers render the whole page at once, without
   scrolling): show everything that would otherwise wait for a scroll */
@media (min-height: 2500px) {
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; }
}

/* Descriptions of the two interactive diagrams: always in the HTML (readable without JS and
   by crawlers); with JS each diagram shows them one at a time */
.notes { display: grid; gap: .9rem; margin: 1.6rem 0 0; }
.notes dt { font-family: var(--ff-serif); font-size: 1.15em; color: var(--chocolate); }
.notes dd { margin: .15rem 0 0; }
.notes--after { margin-top: 1rem; }
.js .notes { display: none; }

/* Crisis numbers sit inside sentences: a slightly larger touch area without moving the text
   (kept within the line, so it never reaches a number on the line above or below) */
a[href^="tel:"] { padding: .15em .2em; margin: -.15em -.2em; }

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- Motion & accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; }
  .blob, .orbit-spin, .badge__spin, .cbt__runner { animation: none !important; }
  .intro-on .intro { display: none; }
  /* The breathing guide is user-initiated: keep it, but only with a gentle fade */
  .orb__ring, .orb__disc { transition-duration: var(--dur) !important; transition-property: opacity !important; transform: none !important; }
  .orb[data-phase="inhale"] .orb__disc, .orb[data-phase="hold"] .orb__disc { opacity: 1; }
  .orb[data-phase="exhale"] .orb__disc, .orb[data-phase="idle"] .orb__disc { opacity: .35; }
}
@media (forced-colors: active) {
  .btn, .res-card, .cbt__node, .sys-node, .dock__journey { border: 1px solid ButtonText; }
  .grain, .aura { display: none; }
}
@media (hover: none) {
  .aura { display: none; }
}
@media print {
  .site-header, .dock, .journey, .toast, .grain, .aura, .marquee, .breathe { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .review__text { max-height: none !important; -webkit-mask-image: none; mask-image: none; }
  .review__more { display: none !important; }
}
