/* =============================================================
   Concilia · Terapia Psicológica — styles.css
   Identidad: grabado en blanco y negro (logo) + calidez del
   consultorio (piel, madera, cortinas de lino).
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --paper:    #F1ECE4;   /* papel cálido */
  --paper-2:  #E8E0D4;
  --paper-3:  #DCD1C1;
  --white:    #FBF8F3;
  --ink:      #141210;   /* negro grabado, nunca #000 */
  --ink-2:    #24201C;
  --ink-3:    #3A342E;
  --mute:     #6F675E;
  --accent:   #8A5A3B;   /* piel del sillón */
  --accent-2: #B88A5E;   /* caramelo de las cortinas */
  --sand:     #D6C3A8;
  --line:     rgba(20, 18, 16, .14);
  --line-l:   rgba(241, 236, 228, .16);

  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1360px;
  --nav-h: 76px;
  --hd: 1.2s;            /* retraso de la portada mientras está la intro */

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; line-height: 1.02; letter-spacing: -0.02em; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 10000;
  padding: .6rem 1rem; background: var(--ink); color: var(--paper); border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--mute);
}
.kicker {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: .7rem;
}
.kicker-light { color: var(--accent-2); }
.h2 {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 350;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  margin-top: 1.2rem;
}
.h2 em, .hero-title em, .footer-claim em, .space-caption em {
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--accent);
}
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-3); max-width: 44ch; margin-top: 1.4rem; font-weight: 300; }

.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .09;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Placeholders de imagen (se sustituirán por fotos reales) */
.ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(20,18,16,.05) 14px 15px),
    linear-gradient(160deg, var(--paper-2), var(--paper-3));
  display: grid; place-items: center;
}
.ph::after {
  content: attr(data-ph);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); text-align: center; padding: .5rem .8rem; max-width: 80%;
  border: 1px dashed rgba(20,18,16,.3); border-radius: 999px; background: rgba(251,248,243,.6);
}
.ph-dark {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(241,236,228,.06) 14px 15px),
    linear-gradient(160deg, var(--ink-3), var(--ink));
}
.ph-dark::after { color: var(--paper); border-color: rgba(241,236,228,.3); background: rgba(20,18,16,.4); }
.ph-warm {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(138,90,59,.08) 14px 15px),
    linear-gradient(160deg, #E9DCC8, #CDB596);
}
.ph-inline { color: var(--accent); }

/* =============================================================
   4. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1rem 1.6rem; border-radius: 999px;
  font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out), background .5s var(--ease-out), transform .5s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; transform: translateY(101%);
  transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn-ink    { background: var(--ink); color: var(--paper); }
.btn-ink::before { background: var(--accent); }
.btn-accent { background: var(--ink); color: var(--paper); padding: 1.15rem 1.9rem; }
.btn-accent::before { background: var(--accent); }
.btn-cream  { background: var(--paper); color: var(--ink); }
.btn-cream::before { background: var(--accent-2); }

.has-magnetic { display: inline-flex; }
.magnetic-inner { display: inline-flex; align-items: center; gap: inherit; transition: transform .8s var(--ease-soft); will-change: transform; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .92rem; font-weight: 500; position: relative; padding-block: .3rem;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 1.4rem; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(0); }
.link-arrow::before { content: "→"; order: 2; transition: transform .5s var(--ease-out); }
.link-arrow:hover::before { transform: translateX(5px); }

/* Cursor */
.cursor { position: fixed; inset: 0 auto auto 0; pointer-events: none; z-index: 9999; display: none; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot  { width: 6px; height: 6px; margin: -3px; background: var(--paper); }
.cursor-ring { width: 36px; height: 36px; margin: -18px; border: 1px solid var(--paper); transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background .4s; }
.cursor.is-interactive .cursor-ring { width: 64px; height: 64px; margin: -32px; background: rgba(241,236,228,.15); }
.has-cursor body, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9000; background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease-in-out, cubic-bezier(.76,0,.24,1));
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.no-splash { --hd: .05s; }
.no-splash .splash { display: none; }
@keyframes splashSafety { to { clip-path: inset(0 0 100% 0); pointer-events: none; } }
.splash-inner { display: grid; justify-items: center; position: relative; }
.splash-logo {
  width: clamp(90px, 14vw, 130px); height: auto; margin-bottom: 1.4rem;
  opacity: 0; animation: logoIn 1.1s .05s var(--ease-out) forwards;
}
@keyframes logoIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
.splash-word {
  font-family: var(--sans); font-weight: 700; letter-spacing: .08em;
  font-size: clamp(2.4rem, 8vw, 5rem); line-height: 1;
  clip-path: inset(0 100% 0 0); animation: wipe 1.1s .15s var(--ease-out) forwards;
}
.splash-sub { font-size: .9rem; opacity: 0; animation: fadeUp .8s .7s var(--ease-out) forwards; margin-top: .4rem; }
.splash-rings { position: absolute; inset: 50% auto auto 50%; }
.splash-rings span {
  position: absolute; width: 60vmin; height: 60vmin; margin: -30vmin; border-radius: 50%;
  border: 1px solid rgba(241,236,228,.25); transform: scale(0); opacity: 1;
  animation: ring 2.4s var(--ease-out) infinite;
}
.splash-rings span:nth-child(2) { animation-delay: .4s; }
.splash-rings span:nth-child(3) { animation-delay: .8s; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: .75; transform: none; } }
@keyframes ring { to { transform: scale(1.2); opacity: 0; } }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-inline: var(--gutter);
  transition: background .5s var(--ease-out), height .5s var(--ease-out), box-shadow .5s, transform .6s var(--ease-out);
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(241,236,228,.82);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { height: 48px; width: auto; transition: transform .8s var(--ease-out); transform-origin: 60% 80%; }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
.nav.is-scrolled .brand-logo { height: 42px; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-weight: 700; font-size: 1.12rem; letter-spacing: .06em; }
.brand-sub  { font-size: .66rem; margin-top: .28rem; color: var(--ink-3); letter-spacing: .02em; }
.nav-links { display: none; gap: 2.2rem; font-size: .88rem; }
.nav-links a { position: relative; padding-block: .3rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; padding: .75rem 1.3rem; font-size: .85rem; }
.nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; border-radius: 50%; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 400; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  clip-path: circle(0% at calc(100% - 40px) 38px);
  transition: clip-path .9s var(--ease-out); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.mobile-menu nav { display: grid; gap: .4rem; }
.mobile-menu nav a { font-family: var(--serif); font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.15; display: flex; align-items: baseline; gap: 1rem; }
.mobile-menu nav a.is-active { color: var(--accent); font-style: italic; }
.mobile-menu nav a span { font-family: var(--mono); font-size: .75rem; color: var(--accent); }
.mobile-menu-foot { margin-top: 3rem; font-size: .9rem; color: var(--mute); }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  isolation: isolate;
}
.hero-aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aura { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.aura-1 {
  width: 46vw; height: 46vw; left: calc(var(--mx, 60%) - 23vw); top: calc(var(--my, 40%) - 23vw);
  background: radial-gradient(circle, var(--sand), transparent 70%);
  transition: left 1.6s var(--ease-out), top 1.6s var(--ease-out);
}
.aura-2 {
  width: 34vw; height: 34vw; right: -8vw; bottom: -6vw;
  background: radial-gradient(circle, rgba(184,138,94,.55), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-8vw, -6vh) scale(1.15); } }

.hero-grid { display: grid; gap: 3rem; align-items: center; flex: 1; max-width: var(--max); width: 100%; margin-inline: auto; }
.hero-kicker { color: var(--ink-3); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--accent); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero-title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 330;
  font-size: clamp(3rem, 8.4vw, 8.2rem);
  line-height: .95; letter-spacing: -0.035em;
  margin-top: 1.6rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span,
.page-title .line > span { display: inline-block; transform: translateY(110%) rotate(3deg); transform-origin: left bottom; animation: lineUp 1.3s var(--ease-out) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: calc(var(--hd) + .25s); }
.hero-title .line:nth-child(2) > span { animation-delay: calc(var(--hd) + .37s); }
.hero-title .line:nth-child(3) > span { animation-delay: calc(var(--hd) + .49s); }
@keyframes lineUp { to { transform: none; } }

.hero-sub { max-width: 42ch; margin-top: 2rem; color: var(--ink-3); font-weight: 300; font-size: clamp(1rem, 1.25vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2rem; margin-top: 2.4rem; }
.hero-kicker, .hero-sub, .hero-actions { opacity: 0; animation: heroIn 1.1s var(--ease-out) forwards; }
.hero-kicker  { animation-delay: calc(var(--hd) + .15s); }
.hero-sub     { animation-delay: calc(var(--hd) + .7s); }
.hero-actions { animation-delay: calc(var(--hd) + .85s); }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; width: min(100%, 520px); justify-self: center; aspect-ratio: 4 / 5; margin-top: 1rem; }
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 18px 18px; }
.arch-hero {
  position: absolute; inset: 0;
  box-shadow: 0 40px 80px -30px rgba(20,18,16,.35);
  clip-path: inset(100% 0 0 0 round 999px 999px 18px 18px);
  animation: archIn 1.6s calc(var(--hd) + .3s) var(--ease-out) forwards;
}
@keyframes archIn { to { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); } }
.arch-hero {
  background:
    radial-gradient(70% 55% at 50% 62%, rgba(251,248,243,.95), transparent 70%),
    linear-gradient(170deg, var(--paper-2), var(--sand));
  display: grid; place-items: center;
}
.hero-logo {
  width: 58%; height: auto; margin-top: 4%;
  filter: drop-shadow(0 24px 30px rgba(20,18,16,.18));
  animation: logoFloat 7s ease-in-out 3s infinite alternate;
}
@keyframes logoFloat { to { transform: translateY(-10px) rotate(-1.2deg); } }
.hero-thumb {
  position: absolute; width: 38%; aspect-ratio: 1; left: -14%; bottom: 8%;
  border-radius: 50%; overflow: hidden; border: 6px solid var(--paper);
  box-shadow: 0 30px 60px -20px rgba(20,18,16,.4);
  opacity: 0; animation: heroIn 1.2s calc(var(--hd) + .9s) var(--ease-out) forwards;
}
.sound-rings { position: absolute; left: 28%; top: 20%; z-index: -1; }
.sound-rings span {
  position: absolute; width: 520px; height: 520px; margin: -260px; border-radius: 50%;
  border: 1px solid rgba(20,18,16,.18); transform: scale(.1); opacity: 0;
  animation: soundOut 6s var(--ease-soft) infinite;
}
.sound-rings span:nth-child(2) { animation-delay: 1.5s; }
.sound-rings span:nth-child(3) { animation-delay: 3s; }
.sound-rings span:nth-child(4) { animation-delay: 4.5s; }
@keyframes soundOut { 0% { transform: scale(.1); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

.badge {
  position: absolute; right: -4%; top: 6%; width: clamp(110px, 12vw, 150px); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper);
  opacity: 0; animation: heroIn 1s calc(var(--hd) + 1.1s) var(--ease-out) forwards;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge text { font-family: var(--mono); font-size: 13.2px; letter-spacing: 2.4px; text-transform: uppercase; fill: var(--paper); }
.badge-c { font-family: var(--sans); font-weight: 700; font-size: 1.8rem; letter-spacing: .02em; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-foot {
  display: flex; align-items: center; gap: 1.2rem; margin-top: 3rem;
  max-width: var(--max); width: 100%; margin-inline: auto;
}
.scroll-line { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateX(-100%); animation: scan 2.8s var(--ease-soft) infinite; }
@keyframes scan { 60%, 100% { transform: translateX(100%); } }

/* =============================================================
   8. Manifesto
   ============================================================= */
.manifesto { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 3vw, 2rem); }
.manifesto-grid { display: grid; gap: 2.4rem; }
.manifesto-text {
  font-family: var(--serif); font-variation-settings: "opsz" 72, "SOFT" 50; font-weight: 340;
  font-size: clamp(1.6rem, 3.3vw, 3rem); line-height: 1.22; letter-spacing: -0.015em;
  max-width: 36ch;
}
.manifesto-text .w { opacity: .14; transition: opacity .35s linear; }
.manifesto-text .w.is-on { opacity: 1; }
.manifesto-aside { max-width: 34ch; color: var(--ink-3); font-weight: 300; display: grid; gap: 1.4rem; justify-items: start; }

/* =============================================================
   9. Marquee
   ============================================================= */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.4rem; background: var(--paper-2); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 2.4rem; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1; font-weight: 330; white-space: nowrap; }
.marquee span em { color: var(--accent); }
.marquee i { font-style: normal; color: var(--accent-2); font-size: 1.2rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   10. Benefits — tarjetas apiladas
   ============================================================= */
.benefits { padding-block: clamp(6rem, 12vw, 10rem); }
.benefits-grid { display: grid; gap: 3rem; }
.benefits-sticky { position: sticky; top: calc(var(--nav-h) + 2rem); }
.benefits-counter { display: none; align-items: baseline; gap: .6rem; margin-top: 3rem; }
.counter-current { font-family: var(--serif); font-size: 6rem; line-height: 1; font-weight: 300; color: var(--accent); font-variant-numeric: tabular-nums; }
.counter-total { font-family: var(--mono); color: var(--mute); }

.stack { display: grid; gap: 1.5rem; }
.stack-card {
  position: sticky; top: calc(var(--nav-h) + 1rem + var(--i) * 16px);
  min-height: 380px; padding: clamp(1.6rem, 3vw, 2.8rem);
  border-radius: 28px; background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1rem; overflow: hidden;
  transform-origin: center top; will-change: transform;
  box-shadow: 0 -20px 50px -30px rgba(20,18,16,.25);
}
.stack-card--deep { background: var(--ink); color: var(--paper); border-color: transparent; }
.stack-card--deep .mono { color: var(--sand); }
.stack-card--warm { background: var(--accent); color: var(--paper); border-color: transparent; }
.stack-card--warm .mono, .stack-card--warm h3 em { color: var(--paper-2); }
.stack-head { display: flex; justify-content: space-between; align-items: center; }
.stack-tag { font-size: .78rem; padding: .35rem .9rem; border-radius: 999px; border: 1px solid currentColor; opacity: .7; }
.stack-card h3 {
  font-family: var(--serif); font-variation-settings: "opsz" 96, "SOFT" 60; font-weight: 340;
  font-size: clamp(1.9rem, 3.4vw, 3rem); max-width: 16ch; margin-top: auto;
}
.stack-card h3 em { color: var(--accent); font-variation-settings: "opsz" 96, "SOFT" 100; }
.stack-card--deep h3 em { color: var(--accent-2); }
.stack-card p { max-width: 46ch; font-weight: 300; opacity: .85; }
.stack-ill { position: absolute; right: -10px; top: 50px; width: 46%; max-width: 260px; fill: none; stroke: currentColor; stroke-width: 1; opacity: .35; }

/* =============================================================
   11. Space (consultorio)
   ============================================================= */
.space { padding-inline: var(--gutter); }
.space-figure { position: relative; max-width: var(--max); margin-inline: auto; }
.space-media {
  position: relative; aspect-ratio: 16 / 9; min-height: 320px; overflow: hidden; border-radius: 28px;
}
.space-media .ph { inset: -8% 0; }
.space-caption {
  position: relative; margin: -4rem 1rem 0 auto; max-width: 420px;
  background: var(--ink); color: var(--paper); padding: 1.8rem; border-radius: 22px;
}
.space-caption .mono { color: var(--sand); }
.space-caption p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; margin-top: .6rem; font-weight: 330; }
.space-caption em { color: var(--accent-2); }
.js .space-figure[data-reveal] .space-media { clip-path: inset(12% 8% 12% 8% round 28px); transition: clip-path 1.6s var(--ease-out); }
.js .space-figure.is-revealed .space-media { clip-path: inset(0 0 0 0 round 28px); }

/* =============================================================
   12. Process
   ============================================================= */
.process { padding-block: clamp(6rem, 12vw, 10rem); }
.process-steps { display: grid; gap: 0; margin-top: 4rem; border-top: 1px solid var(--line); }
.step {
  padding: 2.4rem 0; border-bottom: 1px solid var(--line);
  display: grid; gap: .8rem; position: relative;
}
.step-num { font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--accent); font-weight: 300; }
.step h3 { font-family: var(--sans); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.01em; }
.step p { color: var(--ink-3); font-weight: 300; max-width: 38ch; }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out);
}
.step:hover::before { transform: scaleX(1); }

/* =============================================================
   13. Team
   ============================================================= */
.team { padding-block: clamp(4rem, 10vw, 8rem); background: var(--paper-2); }
.team-grid { display: grid; gap: 4rem; margin-top: 4rem; }
.member { display: grid; gap: 1.6rem; }
.member-photo { aspect-ratio: 4 / 5; width: 100%; max-width: 440px; transform-style: preserve-3d; transition: transform .6s var(--ease-out); box-shadow: 0 40px 70px -40px rgba(20,18,16,.5); }
.member-info h3 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 350; margin-top: .4rem; }
.member-info p:last-child { color: var(--ink-3); font-weight: 300; max-width: 42ch; margin-top: .8rem; }

/* =============================================================
   14. Testimonials
   ============================================================= */
.testimonials { position: relative; background: var(--ink); color: var(--paper); padding-block: clamp(3.5rem, 7vw, 6rem); isolation: isolate; overflow: hidden; }
.testimonials .grain { mix-blend-mode: screen; opacity: .05; }
.t-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.t-controls { display: flex; align-items: center; gap: 1rem; }
.t-count { color: var(--sand); min-width: 5.5em; text-align: center; }
.t-btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.t-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.t-btn svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.t-track {
  display: flex; gap: 2rem; margin-top: 3.5rem;
  overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 1rem;
}
.t-track::-webkit-scrollbar { display: none; }
.t-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; padding-top: 3.5rem; }
.t-quote-mark { position: absolute; top: -1.5rem; left: -.3rem; font-family: var(--serif); font-size: 9rem; line-height: 1; color: var(--accent-2); opacity: .55; }
.t-slide blockquote {
  font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 80; font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 3.4rem); line-height: 1.16; letter-spacing: -0.02em; max-width: 26ch;
}
.t-slide figcaption { display: flex; align-items: center; gap: 1rem; margin-top: 2.4rem; line-height: 1.4; }
.t-slide figcaption .mono { color: var(--sand); }
.t-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-family: var(--serif); font-size: 1.4rem; }
.t-progress { height: 1px; background: var(--line-l); margin-top: 3rem; overflow: hidden; }
.t-progress span { display: block; height: 100%; background: var(--accent-2); width: 25%; transition: transform .8s var(--ease-out); }

/* =============================================================
   15. Contact
   ============================================================= */
.contact { position: relative; padding-block: clamp(6rem, 12vw, 10rem); isolation: isolate; }
.contact-aura .aura-1 { left: -10vw; top: 10%; transition: none; }
.contact-grid { display: grid; gap: 4rem; }
.contact-title { font-size: clamp(2.8rem, 6.4vw, 6rem); }
.whatsapp {
  display: inline-flex; align-items: center; gap: 1rem; margin-top: 2.2rem;
  padding: .9rem 1.6rem .9rem .9rem; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s;
}
.whatsapp:hover { border-color: var(--accent); box-shadow: 0 20px 40px -20px rgba(138,90,59,.5); }
.whatsapp svg { width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--ink); fill: none; stroke: var(--paper); stroke-width: 1.5; stroke-linejoin: round; }
.whatsapp > span { display: grid; line-height: 1.2; font-size: 1.3rem; font-weight: 500; }
.whatsapp small { font-size: .66rem; }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.8rem 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-info dd { margin-top: .4rem; font-weight: 400; }
.contact-info a { border-bottom: 1px solid var(--line); transition: border-color .3s; word-break: break-word; }
.contact-info a:hover { border-color: var(--accent); }
.map-ph { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; margin-top: 2.4rem; }

.form {
  position: relative; align-self: start;
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(1.6rem, 3.4vw, 2.8rem); display: grid; gap: 1.4rem;
  box-shadow: 0 50px 100px -50px rgba(20,18,16,.35);
  overflow: hidden;
}
.form-title { font-family: var(--serif); font-size: 1.8rem; font-weight: 350; line-height: 1.1; }
.form-row { display: grid; gap: 1.4rem; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 1.5rem 0 .6rem; outline: none; resize: vertical;
  transition: border-color .4s;
}
.field span {
  position: absolute; left: 0; top: 1.4rem; color: var(--mute); font-size: 1rem; pointer-events: none;
  transform-origin: left top; transition: transform .4s var(--ease-out), color .4s;
}
.field input:focus ~ span, .field input:not(:placeholder-shown) ~ span,
.field textarea:focus ~ span, .field textarea:not(:placeholder-shown) ~ span { transform: translateY(-1.15rem) scale(.74); color: var(--accent); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid input { border-color: #A23B2A; }

.chips { border: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { margin-bottom: .7rem; width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; transition: background .35s, color .35s, border-color .35s; }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips label:hover span { border-color: var(--ink); }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .86rem; color: var(--ink-3); }
.check input { margin-top: .3rem; accent-color: var(--ink); width: 16px; height: 16px; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.btn-submit { justify-self: start; margin-top: .4rem; }
.form.is-sending .btn-submit { opacity: .6; pointer-events: none; }
.form-error { color: #A23B2A; font-size: .86rem; min-height: 1.2em; }

.form-success {
  position: absolute; inset: 0; background: var(--ink); color: var(--paper);
  display: grid; place-content: center; justify-items: center; text-align: center; gap: 1rem; padding: 2rem;
  clip-path: circle(0% at 50% 100%); transition: clip-path 1s var(--ease-out); visibility: hidden;
}
.form.is-sent .form-success { clip-path: circle(150% at 50% 100%); visibility: visible; }
.form-success svg { width: 76px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.form-success circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.form-success path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.form.is-sent .form-success circle { transition: stroke-dashoffset 1s .4s var(--ease-out); stroke-dashoffset: 0; }
.form.is-sent .form-success path { transition: stroke-dashoffset .6s 1.1s var(--ease-out); stroke-dashoffset: 0; }
.form-success h3 { font-family: var(--serif); font-size: 2rem; font-weight: 350; }
.form-success p { opacity: .75; max-width: 30ch; }

/* Agenda en línea */
html:not(.js) .booking { display: none; }
.booking { display: grid; gap: 1rem; }
.bk-step { display: flex; align-items: center; gap: .7rem; font-weight: 500; font-size: .95rem; }
.bk-num { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: .78rem; font-family: var(--mono); }
.bk-body { display: grid; gap: 1.2rem; }
.bk-cal { border: 1px solid var(--line); border-radius: 18px; padding: .9rem; background: var(--paper); }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.bk-month { font-family: var(--serif); font-size: 1.15rem; }
.bk-nav { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .3s, color .3s; }
.bk-nav:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.bk-nav:disabled { opacity: .3; cursor: default; }
.bk-nav svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bk-week, .bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.bk-week span { font-family: var(--mono); font-size: .66rem; color: var(--mute); padding-bottom: .3rem; }
.bk-day {
  aspect-ratio: 1; border-radius: 50%; font-size: .85rem; display: grid; place-items: center;
  color: rgba(20,18,16,.28); position: relative; transition: background .3s, color .3s, transform .3s var(--ease-out);
}
.bk-day:disabled { cursor: default; }
.bk-day.is-available { color: var(--ink); font-weight: 500; }
.bk-day.is-available::after { content: ""; position: absolute; bottom: 14%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.bk-day.is-available:hover { background: var(--paper-2); transform: scale(1.08); }
.bk-day.is-today { box-shadow: inset 0 0 0 1px var(--line); }
.bk-day.is-selected { background: var(--ink) !important; color: var(--paper); }
.bk-day.is-selected::after { background: var(--accent-2); }
.bk-slots-wrap { display: grid; gap: .7rem; align-content: start; }
.bk-slots-label::first-letter { text-transform: uppercase; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .45rem; max-height: 248px; overflow-y: auto; padding-right: 2px; }
.bk-slot {
  padding: .55rem .4rem; border-radius: 12px; border: 1px solid var(--line); font-size: .88rem; font-variant-numeric: tabular-nums;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.bk-slot:hover { border-color: var(--ink); transform: translateY(-2px); }
.bk-slot.is-selected { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.bk-selected { font-size: .92rem; color: var(--ink-3); min-height: 0; }
.bk-selected:empty { display: none; }
.bk-selected strong { color: var(--ink); font-weight: 500; }
.booking.has-choice .bk-selected { animation: heroIn .6s var(--ease-out); }
@media (min-width: 540px) { .bk-body { grid-template-columns: 1.25fr 1fr; } }
.bk-jump { margin-top: 1.6rem; }
@media (min-width: 960px) { .bk-jump { display: none; } }

.form-success { place-content: start center; padding-top: clamp(3rem, 8vw, 5rem); }
.success-when { font-family: var(--serif); font-size: 1.3rem; opacity: 1 !important; color: var(--accent-2); }
.success-note { font-size: .92rem; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: .4rem; }
.btn-ghost-light { border: 1px solid rgba(241,236,228,.4); color: var(--paper); }
.btn-ghost-light::before { background: rgba(241,236,228,.12); }
.success-link { font-size: .88rem; color: var(--sand); text-decoration: underline; text-underline-offset: 4px; }
.success-link[hidden] { display: none; }
.success-back { font-size: .82rem; color: rgba(241,236,228,.6); margin-top: .4rem; }
.success-back:hover { color: var(--paper); }

/* =============================================================
   16. Footer
   ============================================================= */
.footer { background: var(--ink); color: var(--paper); padding-top: clamp(2.5rem, 5vw, 3.5rem); overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; }
.footer-top .btn { margin-left: auto; }
.footer-logo { width: 46px; height: auto; flex: 0 0 auto; opacity: .92; }
.footer-claim { flex: 1 1 320px; font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.08; font-weight: 300; }
.footer-claim em { color: var(--accent-2); }
.footer-word {
  font-family: var(--sans); font-weight: 700; letter-spacing: .04em; line-height: .8;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  color: transparent; -webkit-text-stroke: 1px rgba(241,236,228,.35);
  background: linear-gradient(90deg, var(--paper) 0 50%, transparent 50% 100%);
  background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  transition: background-position 1.6s var(--ease-out);
  user-select: none;
}
.footer-word:hover, .footer-word.is-filled { background-position: 0 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line-l); margin-top: 1.8rem; padding-block: 1.3rem 1.6rem;
  font-size: .82rem; color: rgba(241,236,228,.65);
}
.footer-bottom nav { display: flex; gap: 1.6rem; }
.footer-bottom a:hover { color: var(--paper); }
.footer-bottom .mono { color: rgba(241,236,228,.65); }

/* =============================================================
   16b. Páginas: cabecera, explora, beneficios, siguiente
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
::view-transition-old(root) { animation-name: vtOut; }
::view-transition-new(root) { animation-name: vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn  { from { opacity: 0; transform: translateY(14px); } }

.h2-sm { font-size: clamp(2rem, 4.2vw, 3.6rem); }
.section-head { display: grid; gap: .2rem; margin-bottom: 2.4rem; }

/* Cabecera de página interior */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 5vw, 4rem);
}
.page-hero-grid { display: grid; gap: 1.6rem; align-items: end; }
.page-kicker { opacity: 0; animation: heroIn .9s .05s var(--ease-out) forwards; }
.page-title {
  font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 30; font-weight: 330;
  font-size: clamp(2.6rem, 6.4vw, 5.8rem); line-height: .98; letter-spacing: -0.03em; margin-top: 1.1rem;
}
.page-title em { color: var(--accent); font-variation-settings: "opsz" 144, "SOFT" 100; }
.page-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.page-title .line:nth-child(1) > span { animation-delay: .1s; }
.page-title .line:nth-child(2) > span { animation-delay: .22s; }
.page-lead { color: var(--ink-3); font-weight: 300; max-width: 40ch; font-size: clamp(1rem, 1.25vw, 1.1rem); opacity: 0; animation: heroIn 1s .45s var(--ease-out) forwards; }

/* Inicio: tarjetas para explorar */
.explore { padding-block: clamp(3.5rem, 7vw, 6rem); }
.explore-head { margin-bottom: 2.4rem; }
.explore-grid { display: grid; gap: 1rem; }
.explore-card {
  position: relative; display: grid; gap: .7rem; align-content: start;
  padding: clamp(1.4rem, 2.6vw, 2.2rem); min-height: 230px;
  border-radius: 24px; border: 1px solid var(--line); background: var(--white);
  overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease-out), color .5s var(--ease-out), box-shadow .6s var(--ease-out);
}
.explore-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: circle(0% at 100% 100%); transition: clip-path .8s var(--ease-out);
}
.explore-card:hover { transform: translateY(-6px); color: var(--paper); box-shadow: 0 30px 60px -30px rgba(20,18,16,.45); }
.explore-card:hover::before { clip-path: circle(150% at 100% 100%); }
.explore-card:hover .mono, .explore-card:hover p { color: var(--sand); }
.explore-card h3 { font-family: var(--serif); font-weight: 340; font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-top: auto; }
.explore-card h3 em { color: var(--accent); }
.explore-card:hover h3 em { color: var(--accent-2); }
.explore-card p { color: var(--ink-3); font-weight: 300; max-width: 34ch; transition: color .5s; }
.explore-arrow { position: absolute; right: 1.6rem; top: 1.4rem; font-size: 1.4rem; transition: transform .6s var(--ease-out); }
.explore-card:hover .explore-arrow { transform: translateX(6px) rotate(-45deg); }
.explore-card--ink { background: var(--accent); color: var(--paper); border-color: transparent; }
.explore-card--ink .mono, .explore-card--ink p { color: var(--paper-2); }
.explore-card--ink h3 em { color: var(--paper); }

/* Enfoque: beneficios compactos */
.benefits { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 6rem); }
.bgrid { display: grid; gap: 1rem; }
.bcard {
  position: relative; overflow: hidden; min-height: 250px;
  padding: clamp(1.3rem, 2.4vw, 1.9rem); border-radius: 24px;
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .7rem;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.bcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(20,18,16,.4); }
.bcard--deep { background: var(--ink); color: var(--paper); border-color: transparent; }
.bcard--deep .mono { color: var(--sand); }
.bcard--warm { background: var(--accent); color: var(--paper); border-color: transparent; }
.bcard--warm .mono, .bcard--warm h3 em { color: var(--paper-2); }
.bcard-head { display: flex; justify-content: space-between; align-items: center; }
.bcard-tag { font-size: .74rem; padding: .3rem .8rem; border-radius: 999px; border: 1px solid currentColor; opacity: .7; }
.bcard h3 { font-family: var(--serif); font-variation-settings: "opsz" 96, "SOFT" 60; font-weight: 340; font-size: clamp(1.5rem, 2.2vw, 2rem); max-width: 15ch; margin-top: auto; }
.bcard h3 em { color: var(--accent); font-variation-settings: "opsz" 96, "SOFT" 100; }
.bcard--deep h3 em { color: var(--accent-2); }
.bcard.bcard--warm h3 em { color: var(--paper-2); }
.bcard p { font-weight: 300; font-size: .95rem; opacity: .85; max-width: 40ch; }
.bcard-ill { position: absolute; right: -6px; top: 44px; width: 42%; max-width: 170px; fill: none; stroke: currentColor; stroke-width: 1; opacity: .3; transition: transform 1s var(--ease-out); }
.bcard:hover .bcard-ill { transform: translateX(-8px) scale(1.08); }
.bcard--cta { padding: 0; background: var(--paper-2); border-style: dashed; }
.bcard--cta a { display: flex; flex-direction: column; gap: .7rem; height: 100%; padding: clamp(1.3rem, 2.4vw, 1.9rem); }
.bcard-arrow { font-size: 2rem; transition: transform .6s var(--ease-out); }
.bcard--cta:hover .bcard-arrow { transform: translateX(10px); }

/* Equipo: tres columnas (dos retratos + consultorio) */
.page-hero--team .team-grid { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.space-card { position: relative; display: grid; gap: 1rem; }
.space-card .space-media { aspect-ratio: 4 / 5; min-height: 0; border-radius: 999px 999px 18px 18px; max-width: 440px; width: 100%; }
.space-card .space-caption { position: static; margin: 0; padding: 0; background: none; color: var(--ink); max-width: 34ch; }
.space-card .space-caption .mono { color: var(--mute); }
.space-card .space-caption p { font-size: 1.15rem; }
.space-card .space-caption em { color: var(--accent); }

/* Contacto como página */
.contact--page { padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.contact--page .contact-title { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.contact--page .lead { opacity: 0; animation: heroIn 1s .45s var(--ease-out) forwards; }
.contact--page .contact-info { margin-top: 2.2rem; }
.contact--page .form { gap: 1.1rem; }
.process { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.process .process-steps { margin-top: 1.6rem; }
.step { padding-block: 1.6rem; }

/* Enlace a la página siguiente */
.next-page {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem;
  padding: clamp(2rem, 4vw, 3rem) var(--gutter); border-top: 1px solid var(--line);
  position: relative; overflow: hidden; isolation: isolate; transition: color .6s var(--ease-out);
}
.next-page::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); }
.next-page:hover::before { transform: scaleY(1); }
.next-title { font-family: var(--serif); font-weight: 330; font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1; }
.next-title em { color: var(--accent); }
.next-arrow { margin-left: auto; font-size: clamp(1.6rem, 3vw, 2.6rem); transition: transform .6s var(--ease-out); }
.next-page:hover .next-arrow { transform: translateX(10px); }

/* =============================================================
   17. Reveals
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js .space-figure[data-reveal] { transform: none; }

/* =============================================================
   18. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 2.4rem; }
  .step { border-bottom: 0; border-top: 1px solid var(--line); padding-top: 2rem; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
  .explore-grid { grid-template-columns: repeat(3, 1fr); }
  .bgrid { grid-template-columns: 1fr 1fr; }
  .t-slide { flex-basis: 82%; }
  .space-caption { position: absolute; right: 2rem; bottom: 2rem; margin: 0; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 4rem; }
  .hero-visual { margin-top: 0; justify-self: end; width: min(100%, 470px); }
  .manifesto-grid { grid-template-columns: 1fr 3fr; grid-template-rows: auto auto; column-gap: 4rem; }
  .manifesto-grid .kicker { grid-row: 1 / 3; align-self: start; padding-top: 1rem; }
  .manifesto-aside { justify-self: end; }
  .benefits-grid { grid-template-columns: 1fr 1.25fr; gap: 5rem; align-items: start; }
  .benefits-counter { display: flex; }
  .stack { gap: 3rem; padding-bottom: 4rem; }
  .stack-card { min-height: 440px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .page-hero-grid { grid-template-columns: 1.5fr 1fr; gap: 3rem; }
  .page-lead { justify-self: end; padding-bottom: .6rem; }
  .bgrid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .form { position: sticky; top: calc(var(--nav-h) + 1rem); }
}
@media (min-width: 1280px) {
  .hero { padding-top: calc(var(--nav-h) + 3rem); }
  .hero-visual { width: min(100%, 520px); }
}
@media (max-width: 539px) {
  .hero-thumb { left: -4%; width: 34%; }
  .badge { right: -2%; }
  .bcard, .explore-card { min-height: 0; }
  .bcard h3, .explore-card h3 { margin-top: .6rem; padding-right: 30%; }
  .bcard-ill { width: 28%; top: 50px; }
  .sound-rings span { width: 360px; height: 360px; margin: -180px; }
}

/* =============================================================
   19. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sound-rings, .splash-rings { display: none; }
  .aura-2, .hero-logo { animation: none; }
  .badge svg { animation-duration: 60s; }
}
