/* ============ Tipografías (alojadas en el propio servidor, sin conexión a Google) ============ */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../assets/fonts/jost.woff2") format("woff2"); }

/* ============ Tokens ============ */
:root {
  --cream: #fbf7f2;
  --paper: #fffdfa;
  --sand: #f4ebe2;
  --blush: #f1d6c9;
  --peach: #e9b9a1;
  --copper: #c07c5e;
  --cocoa: #7c3a2b;
  --ink: #2a2421;
  --muted: #6f625b;
  --line: rgba(124, 58, 43, .16);

  --rose-gold: linear-gradient(100deg, #7c3a2b 0%, #b5654a 35%, #e3a98d 60%, #b5654a 85%, #7c3a2b 100%);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; }
::selection { background: var(--blush); color: var(--cocoa); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Grano de papel sutil sobre toda la página */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Logo (recortes del PNG original, sin modificarlo) ============ */
.logo-crop { position: relative; display: block; overflow: hidden; }
.logo-crop img { position: absolute; max-width: none; }
/* Logo completo: zona útil 1510×425 px de 2000×1150 */
.logo-full { aspect-ratio: 1510 / 425; width: 190px; }
.logo-full img { width: 132.45%; left: -16.23%; top: -85.9%; }
/* Solo símbolo: zona útil 415×420 px */
.logo-icon { aspect-ratio: 415 / 420; width: 56px; }
.logo-icon img { width: 481.9%; left: -59.04%; top: -86.9%; }

/* ============ Tipografía ============ */
.eyebrow {
  font-family: var(--sans); font-weight: 400; font-size: .74rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--copper);
  margin: 0 0 1.4rem;
}
.display {
  font-family: var(--serif); font-weight: 300; line-height: 1.02;
  font-size: clamp(2.6rem, 6.5vw, 5.6rem); letter-spacing: -.01em; margin: 0;
}
.display em, .hero-title em {
  background: var(--rose-gold); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s linear infinite;
  /* El degradado solo pinta dentro de la caja: margen extra para descendentes (g, p) y la cursiva */
  padding: .1em .08em .2em; margin: 0 -.08em;
  padding-right: .08em;
}
@keyframes shimmer { to { background-position: 200% center; } }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 34ch; }

/* ============ Botones ============ */
.btn {
  --bg: var(--cocoa);
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1em 2em; border-radius: 999px;
  background: var(--bg); color: var(--paper);
  font: 400 .82rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--cocoa);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--rose-gold); background-size: 200% auto;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn-ghost { --bg: transparent; color: var(--cocoa); }
.btn-ghost:hover { color: var(--paper); }
.btn-small { padding: .8em 1.5em; font-size: .72rem; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* ============ Cabecera ============ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 18px var(--gutter);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.scrolled {
  background: rgba(251, 247, 242, .78);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding-top: 10px; padding-bottom: 10px;
  box-shadow: 0 1px 0 var(--line);
}
.brand, .header-cta, .menu-toggle { position: relative; z-index: 1; }
.nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav a:not(.btn) {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: var(--muted); position: relative; padding: .3em 0; white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--copper); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:not(.btn):hover, .nav a.active { color: var(--cocoa); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }

/* Botón de menú (móvil) */
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,253,250,.7);
  place-items: center; align-content: center; gap: 6px;
}
.menu-toggle span { display: block; width: 18px; height: 1px; background: var(--cocoa); transition: transform .5s var(--ease); }
.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 120px var(--gutter) 120px; overflow: hidden; text-align: center;
  background:
    radial-gradient(120% 80% at 50% 110%, var(--sand) 0%, transparent 60%),
    var(--cream);
}
.leaves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
/* Hojas del resto de la página: fijas, detrás de todo el contenido */
.leaves-page { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Orbe que respira: halo, núcleo, anillo oro rosa y ondas que se liberan al exhalar */
.orb {
  position: absolute; z-index: 0; left: 50%; top: 50%;
  width: min(80vmin, 780px); aspect-ratio: 1; translate: -50% -50%;
}
.orb > span { position: absolute; inset: 0; border-radius: 50%; }
.orb-halo {
  inset: -22% !important;
  background: radial-gradient(circle, rgba(239,196,175,.42) 0%, rgba(241,214,201,.16) 42%, transparent 68%);
  animation: breathe 10s var(--ease) infinite;
}
.orb-a {
  background: radial-gradient(circle at 42% 40%, #fff6f1 0%, #f9e0d4 30%, #f2cbb7 54%, rgba(242,203,183,0) 72%);
  filter: blur(26px);
  animation: breathe 10s var(--ease) infinite, drift-a 26s ease-in-out infinite alternate;
}
.orb-b {
  background: radial-gradient(circle at 66% 70%, rgba(196,124,94,.4) 0%, rgba(241,214,201,0) 56%);
  filter: blur(38px); mix-blend-mode: multiply;
  animation: breathe 10s var(--ease) infinite, drift-b 32s ease-in-out infinite alternate;
}
.orb-ring, .orb-ring-glow {
  inset: 6% !important;
  background: conic-gradient(from 0deg, #7c3a2b, #c98466, #f6d9ca, #e3a98d, #b5654a, #7c3a2b);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.6px), #000 calc(100% - 1.6px), #000 calc(100% - 1px), transparent 100%);
          mask: radial-gradient(farthest-side, transparent calc(100% - 2.6px), #000 calc(100% - 1.6px), #000 calc(100% - 1px), transparent 100%);
  animation: breathe 10s var(--ease) infinite, spin 48s linear infinite;
}
.orb-ring-glow {
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 4px), transparent 100%);
          mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 4px), transparent 100%);
  filter: blur(8px); opacity: .55;
}
.orb-ripple {
  inset: 6% !important; border: 1px solid rgba(181,101,74,.5);
  animation: ripple 10s var(--ease) infinite;
}
.orb-ripple-2 { animation-name: ripple-2; border-color: rgba(181,101,74,.35); }

/* Ciclo de 10 s: 4 inhalar · 1 sostener · 5 exhalar */
@keyframes breathe {
  0%   { transform: scale(.84); }
  40%  { transform: scale(1.04); }
  50%  { transform: scale(1.04); }
  100% { transform: scale(.84); }
}
@keyframes ripple {
  0%, 50% { transform: scale(1.04); opacity: 0; }
  54%     { opacity: .7; }
  100%    { transform: scale(1.32); opacity: 0; }
}
@keyframes ripple-2 {
  0%, 58% { transform: scale(1.04); opacity: 0; }
  62%     { opacity: .45; }
  100%    { transform: scale(1.55); opacity: 0; }
}
@keyframes spin { to { rotate: 360deg; } }
@keyframes drift-a { to { translate: 4% -3%; } }
@keyframes drift-b { to { translate: -5% 4%; } }

.hero-inner { position: relative; z-index: 2; max-width: 1180px; }
.hero .eyebrow { max-width: 40ch; margin-inline: auto; }
.hero-title {
  font-family: var(--serif); font-weight: 300; line-height: 1;
  font-size: clamp(2.9rem, 7.2vw, 7.2rem); letter-spacing: -.015em;
  margin: 0 0 1.6rem;
}
.hero-title .rotator { display: grid; justify-items: center; }
.hero-title em { background-image: linear-gradient(100deg, #6e2f22 0%, #a4553c 40%, #d08d6f 55%, #a4553c 70%, #6e2f22 100%); }
.hero-sub {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: var(--muted); margin: 0 0 2.4rem;
}
.hero-sub strong { font-style: normal; font-weight: 500; color: var(--cocoa); letter-spacing: .06em; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Guía de respiración */
.breath {
  position: absolute; z-index: 2; bottom: 36px; left: 50%; translate: -50% 0;
  display: flex; align-items: center; gap: .9rem;
  font-size: .76rem; letter-spacing: .32em; text-transform: uppercase; color: var(--cocoa);
}
.breath-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--copper);
  box-shadow: 0 0 0 4px rgba(192,124,94,.15);
  animation: breathe-dot 10s var(--ease) infinite;
}
@keyframes breathe-dot {
  0% { transform: scale(.6); opacity: .5; } 40%, 50% { transform: scale(1.5); opacity: 1; } 100% { transform: scale(.6); opacity: .5; }
}
.breath-label { min-width: 6em; transition: opacity .6s var(--ease); }
.breath-bar { width: 90px; height: 1px; background: var(--line); overflow: hidden; }
.breath-bar i { display: block; height: 100%; background: var(--copper); transform-origin: left; animation: breath-bar 10s var(--ease) infinite; }
@keyframes breath-bar { 0% { transform: scaleX(0); } 40%, 50% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* Palabras rotativas */
.rotator { display: inline-grid; justify-items: center; transition: width .9s var(--ease); }
.rotator > em { white-space: nowrap; margin-block: -.1em -.2em; }
.rotator > * { grid-area: 1 / 1; transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); }
.rotator > .out { opacity: 0; filter: blur(12px); transform: translateY(-.25em); }
.rotator > .in-start { opacity: 0; filter: blur(12px); transform: translateY(.25em); }

/* ============ Marquee ============ */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); padding: 1.3rem 0;
  background: var(--paper);
}
.marquee-track {
  display: flex; gap: 2.4rem; width: max-content; align-items: center;
  animation: marquee 60s linear infinite;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.2rem); color: var(--cocoa);
}
.marquee-track i { font-style: normal; font-size: .6em; color: var(--peach); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Secciones ============ */
.section { padding: clamp(90px, 14vw, 180px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; position: relative; }
.center { text-align: center; }

/* ¿Te sientes…? */
.feel .display { text-align: center; margin-bottom: clamp(56px, 8vw, 100px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-bottom: 64px; }
.card {
  --mx: 50%; --my: 0%;
  position: relative; padding: 44px 36px 40px; border-radius: 28px;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(233,185,161,.35), transparent 45%),
    var(--paper);
  border: 1px solid var(--line);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(124,58,43,.35); }
.card-num {
  font-family: var(--serif); font-size: 4.2rem; line-height: 1; font-weight: 300;
  color: transparent; -webkit-text-stroke: 1px var(--copper); font-variant-numeric: lining-nums;
  display: block; margin-bottom: 1.6rem;
}
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; margin: 0 0 .9rem; color: var(--cocoa); }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Statement revelado palabra a palabra */
.statement { text-align: left; }
.scroll-text {
  font-family: var(--serif); font-weight: 300; margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.12; max-width: 22ch;
}
.scroll-text .w { opacity: .14; transition: opacity .25s linear; }
.scroll-text .w.on { opacity: 1; }

/* Servicios */
.services { padding-top: 0; scroll-margin-top: 112px; }
.services > .eyebrow { margin-bottom: 1.6rem; }
.service-list { list-style: none; margin: 0 0 72px; padding: 0; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); position: relative; }
.service-list a {
  display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 1rem;
  padding: clamp(18px, 2.4vw, 30px) 0; text-decoration: none; color: inherit;
  position: relative; isolation: isolate; transition: padding .6s var(--ease);
}
.service-list a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(241,214,201,.6), transparent 70%);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.service-list a:hover, .service-list a:focus-visible { padding-left: 24px; }
.service-list a:hover::before, .service-list a:focus-visible::before { transform: scaleX(1); }
.service-list span { font-variant-numeric: lining-nums; font-size: .8rem; letter-spacing: .2em; color: var(--copper); }
.service-list strong { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 4.6vw, 3.8rem); line-height: 1.1; }
.service-list i {
  font-style: normal; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--cocoa); font-size: 1.2rem;
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.service-list a:hover i, .service-list a:focus-visible i { background: var(--cocoa); color: var(--paper); transform: rotate(90deg); }
.services-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.services-cta p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--muted); max-width: 30ch; }

/* Secciones de detalle de cada servicio */
.split {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start;
  padding-block: clamp(80px, 10vw, 140px);
}
.split::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.split-flip { grid-template-columns: 7fr 5fr; }
.split-flip .split-head { order: 2; }
.split-head { position: sticky; top: 110px; }
.split-head .lead { margin: 1.6rem 0 0; }
.split-num { font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0; font-variant-numeric: lining-nums; color: var(--cocoa); margin-right: .7em; }
.body-text { color: var(--muted); margin: 1.2rem 0 0; max-width: 42ch; font-size: .98rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .7em; margin-top: 2.2rem; padding-bottom: .4em;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--cocoa);
  border-bottom: 1px solid var(--copper);
}
.link-arrow span { transition: transform .5s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }
.split-items { display: grid; gap: 0; }
.item { padding: 36px 0; border-top: 1px solid var(--line); }
.item:last-child { border-bottom: 1px solid var(--line); }
.item h3 { font-family: var(--serif); font-weight: 400; font-size: 1.85rem; margin: 0 0 .5rem; color: var(--cocoa); line-height: 1.15; }
.item p { margin: 0; color: var(--muted); }
.item-kicker { font-size: .72rem !important; letter-spacing: .26em; text-transform: uppercase; color: var(--copper) !important; margin-bottom: .5rem !important; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.3rem 0 0; padding: 0; }
.tags li {
  padding: .4em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font-size: .86rem; color: var(--cocoa);
}
.item.item-note {
  margin-top: 28px; padding: 32px; border: 0; border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(241,214,201,.75), transparent 70%), var(--sand);
}

/* Contacto */
.contact {
  text-align: center; max-width: none; overflow: hidden;
  background: linear-gradient(180deg, var(--cream), var(--sand) 40%, var(--sand) 60%, var(--cream));
}
.contact-glow {
  position: absolute; left: 50%; top: 55%; width: 900px; max-width: 120vw; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, rgba(233,185,161,.55), transparent 60%); filter: blur(40px);
  animation: breathe 10s var(--ease) infinite; pointer-events: none;
}
.contact > :not(.contact-glow):not(.thread-halo) { position: relative; }
.contact .lead { margin: 1.8rem auto 0; max-width: 46ch; }
.phone {
  display: inline-block; margin: 2.6rem 0 2rem; text-decoration: none;
  font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 10vw, 8.5rem); line-height: 1;
  letter-spacing: -.02em; font-variant-numeric: lining-nums;
  background: var(--rose-gold); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s linear infinite;
}
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.4rem; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.channels a {
  text-decoration: none; padding: 22px 18px; border-radius: 20px; background: rgba(255,253,250,.7);
  border: 1px solid var(--line); font-size: .95rem; overflow-wrap: anywhere;
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.channels a:hover { transform: translateY(-4px); background: var(--paper); }
.channels small { display: block; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--copper); margin-bottom: .3rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); }
.faq-head { position: sticky; top: 120px; align-self: start; }
.faq-head .display { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; color: var(--ink);
  transition: color .4s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .faq-list summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1px; background: var(--copper);
  transition: transform .5s var(--ease);
}
.faq-list summary::before { transform: rotate(90deg); }
.faq-list details[open] summary::before { transform: rotate(0); }
.faq-list summary:hover { color: var(--cocoa); }
.faq-list details > div { padding: 0 0 26px; color: var(--muted); }
.faq-list details > div p { margin: 0 0 .8em; }
.faq-list details[open] > div { animation: fade-down .6s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-8px); } }

/* Dónde estamos */
.where-card {
  text-align: center; padding: clamp(48px, 8vw, 96px) var(--gutter); border-radius: 36px;
  background: radial-gradient(80% 120% at 50% 0%, rgba(241,214,201,.7), transparent 70%), var(--paper);
  border: 1px solid var(--line);
}
.where-card address { font-style: normal; font-size: 1.15rem; color: var(--muted); margin: 1.6rem 0 1.8rem; }
.where-data { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0 0 2.4rem; }
.where-data div { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,253,250,.7); }
.where-data dt { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--copper); }
.where-data dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; color: var(--cocoa); font-variant-numeric: lining-nums; }

/* Pie */
.site-footer {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px 48px;
  padding: 64px var(--gutter) 32px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted);
  background: var(--paper);
}
.footer-brand .logo-full { width: 210px; }
.footer-brand p { margin: 1rem 0 0; line-height: 1.6; }
.footer-creds { display: flex; align-items: center; gap: 32px; }
.cred-sep { width: 1px; height: 64px; background: var(--line); }
.cred-cop { width: 118px; height: auto; }
/* Logo EMDR: PNG cuadrado con fondo blanco; se recorta el margen y se funde con el fondo */
.cred-emdr { position: relative; display: block; overflow: hidden; width: 86px; aspect-ratio: 1305 / 1385; }
.cred-emdr img { position: absolute; max-width: none; width: 140.54%; left: -20.31%; top: -15.16%; mix-blend-mode: multiply; }
.footer-bottom {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--line); font-size: .78rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cocoa); }

/* ============ Revelado al hacer scroll ============ */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.reveal.visible { opacity: 1; transform: none; filter: none; }
.cards .reveal:nth-child(2), .split-items .reveal:nth-child(2) { transition-delay: .12s; }
.cards .reveal:nth-child(3), .split-items .reveal:nth-child(3) { transition-delay: .24s; }
.split-items .reveal:nth-child(4) { transition-delay: .36s; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .menu-toggle { display: grid; }
  .header-cta { margin-left: auto; }
  /* El menú pasa a ser una capa a pantalla completa */
  .nav {
    position: fixed; inset: 0; z-index: 0; margin: 0;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav a:not(.btn) {
    font-family: var(--serif); font-size: clamp(2rem, 7vw, 2.8rem); letter-spacing: 0; text-transform: none;
    color: var(--ink); opacity: 0; transform: translateY(14px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), color .4s;
  }
  .nav-cta { display: inline-flex; margin-top: 1rem; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav a:not(.btn) { opacity: 1; transform: none; }
  .menu-open .nav a:nth-child(2) { transition-delay: .05s; }
  .menu-open .nav a:nth-child(3) { transition-delay: .1s; }
  .menu-open .nav a:nth-child(4) { transition-delay: .15s; }
  .menu-open .nav a:nth-child(5) { transition-delay: .2s; }
  /* backdrop-filter rompería la capa fija del menú */
  .site-header.menu-open { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 960px) {
  .site-footer { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .split, .split-flip, .faq { grid-template-columns: 1fr; }
  .split-flip .split-head { order: 0; }
  .split-head, .faq-head { position: static; }
  .split { gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo-full { width: 148px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .orb { width: 98vw; }
  .hero { padding-bottom: 140px; }
  .hero-cta .btn, .contact-actions .btn { flex: 1 1 100%; justify-content: center; }
  .channels { grid-template-columns: 1fr; }
  .service-list a { grid-template-columns: 34px 1fr auto; }
  .service-list a:hover, .service-list a:focus-visible { padding-left: 10px; }
  .service-list i { width: 42px; height: 42px; }
  .card { padding: 36px 26px 32px; }
  .item h3 { font-size: 1.6rem; }
  .item.item-note { padding: 26px 22px; }
  .faq-list summary { font-size: 1.35rem; }
  .services-cta p { font-size: 1.3rem; }
  .breath-bar { width: 60px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand .logo-full { margin-inline: auto; }
  .footer-creds { justify-content: center; }
  .where-data div { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: center; }
}
body.menu-locked { overflow: hidden; }

/* ============ Hilo dorado que acompaña el scroll ============ */
main { position: relative; }
.thread { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; overflow: visible; }
.thread .t-line, .thread .t-glow { fill: none; stroke: url(#thr-g); stroke-linecap: round; }
.thread .t-line { stroke-width: 1.3; opacity: .9; }
.thread .t-glow { stroke-width: 6; opacity: .14; filter: blur(3px); }
.thread .tip-halo, .thread .tip-orb, .thread .tip-ripple,
.thread-halo .halo, .thread-halo .ring-out { transform-box: fill-box; transform-origin: center; }
.thread .tip-halo, .thread .tip-orb { animation: breathe 10s var(--ease) infinite; }
.thread .tip-ripple { animation: tip-ripple 10s var(--ease) infinite; }
@keyframes tip-ripple { 0%, 50% { transform: scale(1.04); opacity: 0; } 55% { opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }
/* Resplandor del marco de Contacto: va detrás del contenido de la sección */
.thread-halo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 3.5s var(--ease); }
.thread-halo.arrived { opacity: 1; }
.thread-halo .halo { animation: breathe-soft 10s var(--ease) infinite; }
.thread-halo .ring-out { animation: ring-out 10s var(--ease) infinite; }
@keyframes breathe-soft { 0% { transform: scale(.985); opacity: .75; } 40%, 50% { transform: scale(1.01); opacity: 1; } 100% { transform: scale(.985); opacity: .75; } }
@keyframes ring-out { 0%, 50% { transform: scale(1); opacity: 0; } 56% { opacity: .55; } 100% { transform: scale(1.06); opacity: 0; } }

/* ============ Movimiento reducido ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .scroll-text .w { opacity: 1; }
  .breath { display: none; }
}

/* Móviles muy estrechos: el título escala con la pantalla para que "bienestar emocional" quepa en una línea */
@media (max-width: 380px) {
  .hero-title { font-size: 12.2vw; }
}

/* ============ Aviso de cookies ============ */
button.btn { cursor: pointer; }
.cookie-banner {
  position: fixed; z-index: 60; right: clamp(12px, 2.4vw, 32px); bottom: clamp(12px, 2.4vw, 32px);
  width: min(440px, calc(100vw - 24px));
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 26px 22px; border-radius: 28px;
  background: rgba(255, 253, 250, .86); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 30px 60px -30px rgba(124, 58, 43, .35), 0 2px 0 rgba(255,255,255,.6) inset;
  opacity: 0; transform: translateY(24px); filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.cookie-banner.in { opacity: 1; transform: none; filter: none; }
.cookie-orb {
  flex: none; width: 34px; height: 34px; border-radius: 50%; margin-top: 4px;
  background: radial-gradient(circle at 42% 38%, #fff6f1, #f4d3c3 55%, #e9b9a1);
  box-shadow: 0 0 0 1px rgba(181,101,74,.35), 0 0 22px 6px rgba(233,185,161,.45);
  animation: breathe 10s var(--ease) infinite;
}
.cookie-title, .cookie-prefs-title {
  font-family: var(--serif); font-weight: 300; font-size: 1.7rem; line-height: 1.1; margin: 0 0 .6rem; color: var(--ink);
}
.cookie-title em, .cookie-prefs-title em {
  background: var(--rose-gold); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .1em .08em .2em; margin: 0 -.08em;
}
.cookie-text { font-size: .9rem; line-height: 1.6; color: var(--muted); margin: 0 0 1.2rem; }
.cookie-text a { color: var(--cocoa); text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.cookie-actions .btn { justify-content: center; }
.cookie-banner .cookie-actions .btn { flex: 1 1 0; }
.cookie-link {
  flex-basis: 100%; background: none; border: 0; padding: .3rem 0 0; cursor: pointer;
  font: 400 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--copper);
  text-decoration: underline; text-underline-offset: 4px; text-align: left;
}
.cookie-link:hover { color: var(--cocoa); }

.cookie-prefs {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow: auto;
  padding: clamp(28px, 5vw, 44px); border: 1px solid var(--line); border-radius: 32px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(124, 58, 43, .4);
}
.cookie-prefs[open] { animation: fade-up .7s var(--ease); }
.cookie-prefs::backdrop { background: rgba(42, 36, 33, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } }
.cookie-prefs form { position: relative; }
.cookie-prefs .eyebrow { margin-bottom: .8rem; }
.cookie-prefs-title { font-size: clamp(2rem, 5vw, 2.6rem); margin-bottom: 1rem; }
.cookie-close {
  position: absolute; top: -8px; right: -8px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); color: var(--cocoa); font-size: 1.2rem; line-height: 1;
}
.cookie-cats { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.cookie-cats li { border-top: 1px solid var(--line); }
.cookie-cats li:last-child { border-bottom: 1px solid var(--line); }
.cookie-cat { display: flex; gap: 1.2rem; align-items: flex-start; justify-content: space-between; padding: 1.1rem 0; cursor: pointer; }
.cookie-cat b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--cocoa); }
.cookie-cat small { margin-left: .8em; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--copper); }
.cookie-cat-text { display: block; font-size: .88rem; line-height: 1.55; color: var(--muted); margin-top: .2rem; }
.cookie-switch {
  appearance: none; -webkit-appearance: none; flex: none; position: relative; cursor: pointer;
  width: 46px; height: 26px; margin: 4px 0 0; border-radius: 999px;
  background: var(--sand); border: 1px solid var(--line); transition: background .4s var(--ease);
}
.cookie-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 1px 3px rgba(124,58,43,.3); transition: transform .4s var(--ease);
}
.cookie-switch:checked { background: var(--copper); border-color: var(--copper); }
.cookie-switch:checked::after { transform: translateX(20px); }
.cookie-switch:disabled { opacity: .55; cursor: not-allowed; }
.cookie-prefs .cookie-actions .btn { flex: 1 1 auto; }

@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px 20px 18px; gap: 14px; }
  .cookie-orb { width: 26px; height: 26px; }
  .cookie-title { font-size: 1.45rem; }
  .cookie-prefs .cookie-actions .btn { flex-basis: 100%; }
}

/* ============ Páginas legales ============ */
.legal-page .site-header { background: rgba(251, 247, 242, .86); box-shadow: 0 1px 0 var(--line); }
.legal { max-width: calc(820px + 2 * var(--gutter)); margin: 0 auto; padding: 150px var(--gutter) 110px; }
.legal .display { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 1rem; }
.legal-updated { font-size: .85rem; color: var(--muted); margin: 0 0 3rem; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--cocoa); margin: 3rem 0 .8rem; line-height: 1.15; }
.legal h3 { font-family: var(--sans); font-weight: 500; font-size: 1rem; margin: 1.8rem 0 .4rem; }
.legal p, .legal li { color: #4a3f3a; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal li::marker { color: var(--peach); }
.legal a { color: var(--cocoa); text-underline-offset: 3px; }
.legal-table { width: 100%; overflow-x: auto; margin: 1.2rem 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .8rem .9rem; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 500; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); background: var(--sand); }
.legal-box { background: var(--sand); border-radius: 24px; padding: 1.4rem 1.6rem; margin: 1.2rem 0; }
.legal-box p { margin: .2rem 0; }
.legal .pending { background: #f7e1d5; color: var(--cocoa); padding: 0 .3em; border-radius: 4px; }
.footer-bottom nav button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.footer-bottom nav button:hover { color: var(--cocoa); }

/* ============ Página 404 ============ */
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 140px var(--gutter) 80px; position: relative; overflow: hidden; }
.lost .lead { margin: 1.4rem auto 2.4rem; max-width: 36ch; }
.lost-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.lost-orb { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(620px, 110vw); aspect-ratio: 1; translate: -50% -50%; }
.lost-orb span {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(255,246,241,.9), rgba(241,214,201,.55) 45%, rgba(233,185,161,0) 70%);
  box-shadow: inset 0 0 0 1px rgba(181,101,74,.18);
  animation: breathe 10s var(--ease) infinite;
}
