/* ==========================================================
   Aritz Águila — Terapia transpersonal y meditación
   Estética zen contemporánea: papel, tinta, un trazo, un punto de luz.
   ========================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-normal.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 500 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6da;
  --white: #fbfaf6;
  --ink: #16211f;
  --muted: #5d6865;
  --line: rgb(22 33 31 / 14%);
  --teal: #0a6170;
  --teal-ink: #074a55;
  --deep: #0b2f35;
  --deeper: #08242a;
  --gold: #b98b3e;
  --gold-light: #f3dca8;
  --radius: 18px;
  --wrap: 1200px;
  --gutter: clamp(1.1rem, 4.5vw, 2.5rem);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --slow: cubic-bezier(.45, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font: 400 1.0625rem/1.75 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
/* Grano de papel muy sutil */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .32; 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 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--gold-light); color: var(--deep); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--deep); }

h1, h2, h3 {
  font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.015em;
  margin: 0 0 .5em; color: var(--deep); text-wrap: balance; font-variant-numeric: lining-nums;
}
h1 { font-size: clamp(3rem, 7.6vw, 6.6rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--teal); }

.eyebrow {
  display: flex; align-items: center; gap: .8rem;
  font: 700 .74rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--gold); }
h1 .eyebrow, h2 .eyebrow { font-family: var(--sans); letter-spacing: .22em; line-height: 1.4; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--muted); max-width: 34em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding-block: clamp(5rem, 11vw, 9rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--deep); color: rgb(255 255 255 / 82%); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark h2 em { color: var(--gold-light); }
.section--dark .eyebrow { color: var(--gold-light); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--deep); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; color: #fff; }

/* ---------- Marca (Ensō) ---------- */
.enso { width: 1em; height: 1em; color: var(--teal); flex: none; overflow: visible; }
.enso__dot { fill: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8rem 1.7rem;
  font: 700 .92rem/1 var(--sans); letter-spacing: .03em;
  color: #fff; background: var(--deep); border: 1px solid var(--deep); border-radius: 999px;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.btn:hover { color: #fff; border-color: var(--teal); }
.btn:hover::after { transform: scaleX(1); }
.btn:active { transform: scale(.97); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--ghost { background: transparent; color: var(--deep); border-color: rgb(11 47 53 / 35%); }
.btn--ghost::after { background: var(--deep); }
.btn--ghost:hover { border-color: var(--deep); }
.btn--light { background: #fff; color: var(--deep); border-color: #fff; }
.btn--light::after { background: var(--gold-light); }
.btn--light:hover { color: var(--deep); border-color: var(--gold-light); }
.btn--line-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 40%); }
.btn--line-light::after { background: #fff; }
.btn--line-light:hover { color: var(--deep); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }
.center .actions, .call .actions { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; font-weight: 700; text-decoration: none; color: var(--deep);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease);
  padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; color: var(--teal); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
/* El desenfoque va en un pseudo-elemento: en el propio header crearía un contenedor
   para el menú fijo y lo recortaría a 76px de alto. */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(244 241 234 / 84%);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
}
.menu-open .header::before { background: var(--paper); }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--deep); flex: none; }
.brand .enso { font-size: 2.3rem; transition: transform .8s var(--slow); }
.brand:hover .enso { transform: rotate(-35deg); }
.brand__text b { display: block; font: 600 1.45rem/1 var(--serif); letter-spacing: .005em; color: var(--deep); }
.brand__text small { display: block; margin-top: .3rem; font: 700 .58rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.brand:hover { color: var(--deep); }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav > a:not(.btn) {
  position: relative; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; padding: .6rem .85rem;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--teal); }
.nav > a:not(.btn):hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav > a[aria-current="page"] { color: var(--teal); }
.nav .btn { margin-left: .8rem; min-height: 44px; padding: .7rem 1.25rem; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; color: var(--deep); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 24px; height: 1.5px; margin: auto; background: currentColor; position: relative;
  transition: transform .35s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.nav__foot { display: none; }
@media (max-width: 1120px) {
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; height: calc(100dvh - 76px); z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain;
    padding: .5rem var(--gutter) max(1.5rem, env(safe-area-inset-bottom)); background: var(--paper);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
    counter-reset: navn;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav > a:not(.btn) {
    display: flex; align-items: baseline; gap: 1rem; counter-increment: navn;
    font: 500 clamp(1.9rem, 8.5vw, 2.6rem)/1.15 var(--serif); padding: .75rem 0; border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
  }
  .nav > a:not(.btn)::before { content: "0" counter(navn); font: italic 500 .95rem/1 var(--serif); color: var(--gold); min-width: 1.6rem; }
  .nav > a:not(.btn)::after { display: none; }
  .nav > a[aria-current="page"] { color: var(--teal); }
  .menu-open .nav > a:not(.btn) { opacity: 1; transform: none; }
  .menu-open .nav > a:nth-child(2) { transition-delay: .04s; }
  .menu-open .nav > a:nth-child(3) { transition-delay: .08s; }
  .menu-open .nav > a:nth-child(4) { transition-delay: .12s; }
  .menu-open .nav > a:nth-child(5) { transition-delay: .16s; }
  .menu-open .nav > a:nth-child(6) { transition-delay: .2s; }
  .menu-open .nav > a:nth-child(7) { transition-delay: .24s; }
  .nav .btn { margin: 1.8rem 0 0; min-height: 56px; flex: none; }
  .nav__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; margin-top: 1.2rem; font-size: .9rem; color: var(--muted); }
  .nav__foot a { color: var(--muted); }
  .menu-open body { overflow: hidden; }
  .menu-open .fab { opacity: 0; pointer-events: none; }
}

/* Botones a ancho completo en móvil */
@media (max-width: 520px) {
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 9vw, 7rem); }
.hero__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr .85fr; min-height: min(calc(100svh - 76px - 9rem), 720px); } }
.hero h1 { font-size: clamp(3.3rem, 8.4vw, 7.4rem); line-height: .94; margin-bottom: .35em; }
.hero h1 .eyebrow { margin-bottom: 1.8rem; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 30em; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 2.6rem 0 0; padding: 1.4rem 0 0; list-style: none; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.hero__meta b { display: block; font: 500 1.35rem/1.2 var(--serif); color: var(--deep); }

/* Visual circular: foto enmarcada por un ensō que se dibuja */
.orb { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; }
.orb__photo { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; background: var(--deep); }
.orb__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: orb-in 2.4s var(--slow) both; }
.orb__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--teal); }
.orb__ring path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s .3s var(--slow) forwards; }
.orb__ring circle { fill: var(--gold); opacity: 0; transform-origin: 50% 50%; transform-box: fill-box; animation: dot 1s 2.4s var(--ease) forwards; }
.orb__caption {
  position: absolute; left: 0; bottom: 6%; padding: .7rem 1.1rem; border-radius: 999px;
  background: rgb(251 250 246 / 92%); box-shadow: 0 12px 30px -14px rgb(11 47 53 / 40%);
  font-size: .82rem; font-weight: 700; color: var(--deep); display: flex; gap: .6rem; align-items: center;
  animation: fade-up 1s 2.2s var(--ease) both;
}
.orb__caption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgb(185 139 62 / 20%); }
.orb--sm { width: min(100%, 380px); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes orb-in { from { transform: scale(1.25); filter: saturate(.4) brightness(.8); } to { transform: scale(1.08); filter: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Declaración ---------- */
.statement { font: 500 clamp(1.8rem, 3.8vw, 3.2rem)/1.22 var(--serif); color: var(--deep); max-width: 21em; margin: 0; text-wrap: pretty; }
.statement em { color: var(--teal); }
.statement .dim { color: rgb(11 47 53 / 42%); }
.signature { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; font-size: .95rem; color: var(--muted); }
.signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.signature b { display: block; color: var(--deep); font: 600 1.2rem/1.2 var(--serif); }

/* ---------- Lista de servicios ---------- */
.services { list-style: none; margin: 3rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  display: grid; gap: 1rem 2rem; align-items: center; grid-template-columns: 1fr;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; position: relative;
}
@media (min-width: 820px) { .service { grid-template-columns: 4rem 1.1fr 1.2fr 200px; padding: 2.6rem 0; } }
.service__num { font: italic 500 1.7rem/1 var(--serif); color: var(--gold); }
.service h3 { margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); transition: transform .5s var(--ease), color .3s; }
.service p { margin: 0; color: var(--muted); }
.service__img { aspect-ratio: 4 / 3; border-radius: 999px 999px 18px 18px; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service .link-arrow { margin-top: .8rem; }
a.service:hover { color: inherit; }
a.service:hover h3 { transform: translateX(10px); color: var(--teal); }
a.service:hover .service__img img { transform: scale(1.06); }
a.service:hover .link-arrow { background-size: 100% 1px; color: var(--teal); }
@media (max-width: 819px) { .service__img { max-width: 260px; } }

/* ---------- Respira conmigo ---------- */
.breathe { text-align: center; overflow: hidden; }
.breathe__stage { position: relative; display: grid; place-items: center; width: min(78vw, 420px); aspect-ratio: 1; margin: 3rem auto 2.5rem; }
.breathe__halo, .breathe__core { position: absolute; border-radius: 50%; }
.breathe__halo { inset: 0; border: 1px solid rgb(243 220 168 / 30%); }
.breathe__halo::before, .breathe__halo::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgb(243 220 168 / 16%); }
.breathe__halo::after { inset: 28%; }
.breathe__core {
  inset: 12%; background: radial-gradient(circle at 50% 42%, rgb(243 220 168) 0%, rgb(222 184 116 / 90%) 38%, rgb(185 139 62 / 0%) 70%);
  transform: scale(.55); transition: transform 1.2s var(--slow);
}
.breathe.is-in-breath .breathe__core { transform: scale(1.12); transition-duration: 4s; }
.breathe.is-hold .breathe__core { transform: scale(1.12); }
.breathe.is-out-breath .breathe__core { transform: scale(.55); transition-duration: 6s; }
.breathe__label { position: relative; font: italic 500 clamp(1.8rem, 4vw, 2.6rem)/1 var(--serif); color: var(--deep); }
.breathe__hint { color: rgb(255 255 255 / 60%); font-size: .95rem; min-height: 1.6em; margin-top: 1rem; }

/* ---------- Cita ---------- */
.quote { margin: 0 auto; max-width: 24em; font: italic 500 clamp(1.9rem, 4.2vw, 3.3rem)/1.22 var(--serif); color: var(--deep); text-wrap: balance; }
.quote-band { text-align: center; }
.quote-band .enso { font-size: 2.8rem; margin: 0 auto 2rem; display: block; }
.quote-band .actions { justify-content: center; }
blockquote.inline { margin: 2rem 0; padding: .2rem 0 .2rem 1.5rem; border-left: 1px solid var(--gold); font: italic 500 1.6rem/1.35 var(--serif); color: var(--deep); }

/* ---------- Editorial (título fijo + texto) ---------- */
.editorial { display: grid; gap: 2rem clamp(2rem, 6vw, 6rem); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .editorial { grid-template-columns: .8fr 1.2fr; }
  .editorial__aside { position: sticky; top: 7rem; align-self: start; }
}
.prose { max-width: 40em; }
.prose p { font-size: 1.08rem; }
.prose h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-top: 3rem; }
.prose h2:first-child { margin-top: 0; }

.split { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; max-width: 520px; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pilares numerados ---------- */
.pillars { display: grid; gap: 0 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 3.5rem; counter-reset: p; }
.pillar { padding: 2rem 0; border-top: 1px solid var(--line); counter-increment: p; }
.pillar::before { content: "0" counter(p); display: block; font: italic 500 1.2rem/1 var(--serif); color: var(--gold); margin-bottom: 1.4rem; }
.pillar h3 { margin-bottom: .5rem; }
.pillar p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Modalidades ---------- */
.modes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 3rem; }
.mode { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); display: flex; flex-direction: column; gap: .5rem; }
.mode__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--teal); margin-bottom: .8rem; }
.mode__icon svg { width: 24px; height: 24px; }
.mode h3 { margin: 0; }
.mode p { color: var(--muted); margin: 0; }
.mode .link-arrow { margin-top: auto; padding-top: 1rem; align-self: flex-start; }

/* ---------- Libros ---------- */
.book { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .book { grid-template-columns: minmax(240px, 400px) 1fr; } .book--rev > :first-child { order: 2; } }
.book__cover { position: relative; max-width: 400px; width: 100%; margin-inline: auto; padding: 12% 16%; }
.book__cover::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--paper-2); }
.section--paper2 .book__cover::before { background: var(--paper); }
.book__cover img { position: relative; border-radius: 3px 8px 8px 3px; box-shadow: 0 30px 40px -20px rgb(11 47 53 / 45%), 0 2px 6px rgb(11 47 53 / 15%); transition: transform .6s var(--ease); }
.book__cover:hover img { transform: translateY(-6px) rotate(-1deg); }
.book__meta { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tagline { font: italic 500 1.5rem/1.4 var(--serif); color: var(--teal); }

/* ---------- Galería ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 3.5rem; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery img:first-child { border-radius: 999px 999px var(--radius) var(--radius); }

/* ---------- Preguntas frecuentes ---------- */
.faq { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; cursor: pointer; list-style: none;
  padding: 1.6rem 0; font: 500 clamp(1.3rem, 2.2vw, 1.65rem)/1.25 var(--serif); color: var(--deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(var(--teal), var(--teal)) center / 12px 1.5px no-repeat, linear-gradient(var(--teal), var(--teal)) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper-2); }
.faq summary:hover { color: var(--teal); }
.faq .answer { padding: 0 3.5rem 1.8rem 0; color: var(--muted); max-width: 46em; }

/* ---------- Llamada final ---------- */
.call { text-align: center; }
.call__phone {
  display: inline-block; margin: .5rem 0 .5rem; font: 500 clamp(2.5rem, 8vw, 6.2rem)/1.05 var(--serif); letter-spacing: -.02em;
  color: #fff; text-decoration: none; background: linear-gradient(var(--gold-light), var(--gold-light)) 0 100% / 0 2px no-repeat;
  transition: background-size .6s var(--ease), color .3s; font-variant-numeric: lining-nums; white-space: nowrap;
}
.call__phone:hover { color: var(--gold-light); background-size: 100% 2px; }
.call .enso { font-size: 3rem; color: #fff; margin: 0 auto 1.8rem; display: block; }
.call .enso__dot { fill: var(--gold-light); }

/* ---------- Cabeceras de página ---------- */
.page-head { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.page-head h1 { max-width: 12em; }
.page-head .lead { margin-top: 1.5rem; }
.page-head__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .page-head__grid { grid-template-columns: 1.2fr .8fr; } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: .9fr 1.2fr; gap: 4rem; } }
.panel { background: var(--white); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.8rem); border: 1px solid var(--line); }
.panel h2 { font-size: clamp(2rem, 3vw, 2.5rem); }
.channels { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.channel { display: flex; align-items: center; gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
a.channel:hover { color: var(--teal); }
a.channel:hover .channel__icon { background: var(--deep); color: #fff; }
.channel__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper-2); color: var(--teal); transition: background .3s, color .3s; }
.channel__icon svg { width: 22px; height: 22px; }
.channel small { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.channel span { font: 500 1.35rem/1.3 var(--serif); word-break: break-word; }

.form { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.form .row { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgb(10 97 112 / 10%); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--teal); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; padding: .9rem 1rem; border-radius: 12px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { background: #e3f1e6; color: #1f5a2c; }
.form-status.err { background: #f8e4e0; color: #7a2a1d; }

/* ---------- Sobre mí ---------- */
.facts { display: grid; padding: 0; margin: 2.5rem 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts b { font: italic 500 1.15rem/1.5 var(--serif); color: var(--gold); }

/* ---------- Retiros ---------- */
.events { display: grid; gap: 1.5rem; margin-top: 3rem; }
.event { display: grid; grid-template-columns: 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 820px) { .event:has(.event__img) { grid-template-columns: 380px 1fr; } }
.event__img { aspect-ratio: 4 / 3; overflow: hidden; }
.event__img img { width: 100%; height: 100%; object-fit: cover; }
.event__body { padding: clamp(1.6rem, 4vw, 2.6rem); }
.event__top { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.event__date { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--teal); font-size: .95rem; }
.event__date svg { width: 18px; height: 18px; }
.event__badge { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 999px; background: var(--paper-2); color: var(--deep); }
.event__badge--pocas { background: var(--gold-light); }
.event__badge--completo, .event__badge--pasado { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.event h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.event p { color: var(--muted); }
.event__facts { list-style: none; padding: 0; margin: 1.4rem 0 0; border-top: 1px solid var(--line); }
.event__facts li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.event__facts b { font: italic 500 1.1rem/1.5 var(--serif); color: var(--gold); }
.event__img--video { aspect-ratio: auto; align-self: center; }
@media (min-width: 820px) { .event:has(.event__img--video) { grid-template-columns: 1.1fr 1fr; } }
.event p + p { margin-top: -.3rem; }
.events__past-title { margin-top: 5rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }

.event__img--poster { display: block; aspect-ratio: 4 / 5; background: var(--deep); }
.event__img--poster img { transition: transform .8s var(--ease); }
.event__img--poster:hover img { transform: scale(1.03); }
@media (min-width: 820px) { .event:has(.event__img--poster) { grid-template-columns: 380px 1fr; } }
.event h3 em { font-size: .6em; color: var(--muted); white-space: nowrap; }
.event__facts a { color: var(--teal); }
.event .actions { gap: .6rem; }

/* ---------- Próximo retiro (portada) ---------- */
.next-retreat { background: var(--paper); padding-top: 0; }
.next-retreat__card {
  display: grid; gap: 1.5rem 2.5rem; align-items: center; grid-template-columns: 1fr;
  padding: clamp(1.2rem, 3vw, 1.6rem); border-radius: calc(var(--radius) + 6px);
  background: var(--deep); color: rgb(255 255 255 / 82%); text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.next-retreat__card:hover { color: rgb(255 255 255 / 82%); transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgb(8 36 42 / 70%); }
@media (min-width: 720px) { .next-retreat__card { grid-template-columns: 200px 1fr; } }
.next-retreat__card img { width: 100%; max-width: 260px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.next-retreat__card h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .4rem; }
.next-retreat__card h2 em { color: var(--gold-light); font-size: .6em; }
.next-retreat__card .eyebrow { color: var(--gold-light); margin-bottom: 1rem; }
.next-retreat__card p { margin: 0 0 1rem; }
.next-retreat__card .link-arrow { color: #fff; }
.next-retreat__card:hover .link-arrow { background-size: 100% 1px; color: var(--gold-light); }

/* ---------- Estado vacío ---------- */
.empty { margin-top: 3rem; padding: clamp(2.5rem, 7vw, 4.5rem) 1.5rem; text-align: center; border: 1px dashed rgb(11 47 53 / 22%); border-radius: var(--radius); }
.empty .enso { font-size: 3rem; margin: 0 auto 1.5rem; display: block; }
.empty p { color: var(--muted); max-width: 32em; margin-inline: auto; }
.empty .actions { justify-content: center; }

/* ---------- Meditaciones ---------- */
.serie { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.serie:first-child { margin-top: 3rem; }
.serie__head { display: grid; gap: .6rem 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .serie__head { grid-template-columns: .8fr 1.2fr; align-items: start; } .serie__head p { grid-column: 2; grid-row: 1 / span 2; } }
.serie__num { font: italic 500 1.2rem/1 var(--serif); color: var(--gold); }
.serie__head h3 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin: 0; }
.serie__head p { color: var(--muted); margin: 0; }
.serie .meds { margin-top: 2rem; }
/* Móvil: cada serie es un carrusel horizontal con scroll-snap */
@media (max-width: 700px) {
  .serie .meds {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 1rem;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .serie .meds::-webkit-scrollbar { display: none; }
  .serie .med { scroll-snap-align: start; }
  .serie .meds::after { content: ""; width: 1px; }
}
.meds { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); margin-top: 3rem; }
.med { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.med__media { background: var(--deep); }
.med__media iframe { display: block; width: 100%; border: 0; }
.med__media audio { display: block; width: calc(100% - 2rem); margin: 1.5rem 1rem; }
.med__body { padding: 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.med__meta { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.med h3 { margin: 0; }
.med p { color: var(--muted); margin: 0; }
.share {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; margin-top: 1rem;
  font: 700 .85rem/1 var(--sans); color: var(--deep); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.share:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.share svg { width: 16px; height: 16px; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.yt:hover img { opacity: 1; }
.yt__play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: rgb(255 255 255 / 92%); }
.yt__play::after { content: ""; position: absolute; left: 27px; top: 22px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--deep); }
.yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* ---------- Suscripción ---------- */
.subscribe__grid { display: grid; gap: 2rem 4rem; align-items: center; }
@media (min-width: 900px) { .subscribe__grid { grid-template-columns: 1fr 1fr; } }
.subscribe__form { margin: 0; }
.subscribe__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.subscribe__row input {
  flex: 1 1 220px; min-height: 56px; font: inherit; padding: .9rem 1.3rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
}
.subscribe__row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgb(10 97 112 / 10%); }
.subscribe__row .btn { min-height: 56px; }
@media (max-width: 520px) { .subscribe__row .btn { width: 100%; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Blog ---------- */
.posts { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); margin-top: 3rem; }
.post-card {
  display: flex; flex-direction: column; gap: .6rem; padding: 2rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover { color: inherit; transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgb(11 47 53 / 35%); }
.post-card h3 { margin: 0; }
.post-card p { color: var(--muted); margin: 0; }
.post-card .link-arrow { margin-top: auto; padding-top: .8rem; }
.post-card:hover .link-arrow { background-size: 100% 1px; color: var(--teal); }
.post-card__meta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.post__head h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.post__back { display: inline-block; margin-bottom: 1.5rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.post__body { padding-top: clamp(3rem, 7vw, 5rem); }
.post__body .prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--gold); }
.callout { margin: 2rem 0; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--paper-2); }
.callout p { margin: 0; }
.draft-note { background: var(--gold-light); color: var(--deep); padding: .8rem var(--gutter); font-weight: 700; text-align: center; font-size: .9rem; }
mark.pending { background: var(--gold-light); padding: 0 .3rem; border-radius: 4px; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-top: 2.5rem; }

/* ---------- Pie ---------- */
.footer { background: var(--deeper); color: rgb(255 255 255 / 70%); padding-block: 5rem 2rem; font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--gold-light); }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer h2 { font-size: 1.4rem; color: #fff; margin-bottom: 1rem; }
.footer .footer__brand { display: flex; align-items: center; gap: .7rem; font-size: 2rem; }
.footer__brand .enso { font-size: 2.2rem; color: #fff; }
.footer__brand .enso__dot { fill: var(--gold-light); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer__bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 12%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; }
.social { display: flex; gap: .5rem; margin-top: 1.3rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 20%); transition: background .3s, color .3s; }
.social a:hover { background: #fff; color: var(--deep); }
.social svg { width: 20px; height: 20px; }

/* ---------- Botón flotante (móvil) ---------- */
.fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: none; align-items: center; gap: .5rem;
  padding: .95rem 1.25rem; border-radius: 999px; background: var(--deep); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgb(8 36 42 / 60%);
}
.fab svg { width: 20px; height: 20px; }
.fab:hover { color: #fff; background: var(--teal); }
@media (max-width: 720px) {
  .fab { display: inline-flex; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s; }
  .show-fab .fab { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(4px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .reveal-d1 { transition-delay: .12s; }
.js .reveal-d2 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
