/*
Theme Name: Sara López de Felipe
Theme URI: https://www.saralopezdefelipe.com
Author: Sara López de Felipe
Description: Tema a medida para la web de psicología de Sara López de Felipe. Minimalista, cercano y pensado para conseguir primeras sesiones. Los textos se editan en el menú "Contenido web".
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Todos los derechos reservados
Text Domain: sara-lopez-de-felipe
*/

/* =========================================================
   Sara López de Felipe · Psicóloga
   Minimalista · Cercano · Moderno · Elegante
   ========================================================= */

:root {
  /* Paleta */
  --cream:      #FAF8F3;   /* fondo principal */
  --cream-2:    #F4F1E8;   /* fondo alterno cálido */
  --sage-50:    #F0F4EA;
  --sage-100:   #E3ECD9;
  --sage-200:   #CFDEC0;   /* verde claro de marca */
  --sage-300:   #B4CB9F;
  --sage-500:   #7F9E71;
  --sage-700:   #4F6F4A;   /* verde énfasis */
  --forest:     #2B4336;   /* verde profundo (botón/CTA) */
  --forest-2:   #233829;
  --ink:        #22302A;   /* texto */
  --ink-soft:   #51604F;   /* texto secundario */
  --clay:       #D9A98B;   /* acento cálido, microdetalles */
  --line:       rgba(43, 67, 54, .14);

  /* Tipografía */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 28px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
::selection { background: var(--sage-200); color: var(--forest); }

:focus-visible { outline: 2px solid var(--sage-700); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 160px); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

/* ---------- Tipografía ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  font-variation-settings: "opsz" 120;
  text-wrap: balance;
}
em { font-style: italic; color: var(--sage-700); font-weight: 300; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-700); margin-bottom: 22px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker--light { color: var(--sage-200); }

/* ---------- Botones ---------- */
.btn {
  --_bg: var(--forest); --_fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--_bg); color: var(--_fg);
  font-weight: 500; font-size: .98rem; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease), color .3s, border-color .3s;
}
.btn--lg { padding: 18px 30px; font-size: 1.04rem; }
.btn__icon { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn__icon--lead { order: -1; }
.btn:hover .btn__icon:not(.btn__icon--lead) { transform: translateX(5px); }

.btn--primary { box-shadow: 0 10px 28px -14px rgba(43, 67, 54, .7); }
.btn--primary:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(43, 67, 54, .75); }

.btn--light { --_bg: var(--cream); --_fg: var(--forest); }
.btn--light:hover { transform: translateY(-2px); background: #fff; }

.btn--ghost-light { --_bg: transparent; --_fg: var(--cream); border-color: rgba(250, 248, 243, .4); }
.btn--ghost-light:hover { background: rgba(250, 248, 243, .1); border-color: var(--cream); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--forest);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .45s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .35s var(--ease); }
.link-arrow:hover { background-size: calc(100% - 26px) 1px; }
.link-arrow:hover svg { transform: rotate(90deg) translateX(4px); }

/* ---------- Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-block: 18px;
  transition: background .35s, box-shadow .35s, padding .35s var(--ease), backdrop-filter .35s;
}
.header.is-scrolled {
  background: rgba(250, 248, 243, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; white-space: nowrap; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage-100); color: var(--forest);
  transition: transform .6s var(--ease), background .3s;
  flex: none;
}
.brand__mark svg { width: 22px; height: 22px; }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); background: var(--sage-200); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--serif); font-size: 1.12rem; font-weight: 400; letter-spacing: -.01em; }
.brand__role { font-size: .74rem; color: var(--ink-soft); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); margin-left: auto; margin-right: 12px; }
.nav a:not(.btn) {
  position: relative; font-size: .96rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  padding-block: 6px; transition: color .25s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--sage-700); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover { color: var(--forest); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav__mobile-cta { display: none; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--sage-100); border: 0; cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--forest);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(130px, 17vh, 190px) 0 clamp(72px, 9vw, 130px);
}
.hero__blob {
  position: absolute; z-index: 0;
  width: min(900px, 90vw); aspect-ratio: 1; right: -18vw; top: -22vw;
  background: radial-gradient(closest-side, var(--sage-200) 0%, var(--sage-100) 50%, rgba(227, 236, 217, 0) 100%);
  opacity: .9;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: clamp(36px, 6vw, 100px); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 500; color: var(--forest);
  margin-bottom: 30px;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--sage-500);
  box-shadow: 0 0 0 0 rgba(127, 158, 113, .6); animation: pulse 2.6s infinite;
}

.hero__title {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(2.7rem, 5.9vw, 5.1rem);
  line-height: 1.04; letter-spacing: -.025em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 28px; max-width: 34em;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; font-size: .92rem; color: var(--ink-soft); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points svg { width: 18px; height: 18px; color: var(--sage-500); }

.hero__visual { position: relative; padding-bottom: 28px; }

/* Marco en arco para fotografía */
.arch {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius);
  background: linear-gradient(165deg, var(--sage-100) 0%, var(--sage-200) 100%);
  color: var(--sage-700);
}
.arch__art {
  position: absolute; left: 50%; bottom: -4%; width: 62%; height: 88%;
  transform: translateX(-50%); opacity: .5; z-index: 0;
  animation: sway 9s ease-in-out infinite; transform-origin: 50% 100%;
}
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.arch--hero { box-shadow: 0 40px 70px -40px rgba(43, 67, 54, .45); }
.arch--hero img { object-position: 56% 30%; }   /* encuadre sobre el rostro */
.arch--about img { object-position: 64% 50%; }

.badge {
  position: absolute; left: -44px; top: 14%;
  width: 118px; height: 118px; padding: 6px;
  background: var(--cream); border-radius: 50%;
  color: var(--forest); box-shadow: 0 14px 30px -16px rgba(43, 67, 54, .5);
}
.badge__ring { transform-origin: 60px 60px; animation: spin 26s linear infinite; }
.badge text { font-family: var(--sans); font-size: 9.6px; letter-spacing: .14em; text-transform: uppercase; fill: currentColor; }
.badge > g:last-child { color: var(--sage-700); }

.note {
  position: absolute; right: -14px; bottom: 0;
  display: flex; align-items: center; gap: 14px;
  max-width: 290px; padding: 16px 20px 16px 16px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 22px 40px -26px rgba(43, 67, 54, .5);
  font-size: .9rem; line-height: 1.45; color: var(--ink-soft);
  animation: float 7s ease-in-out infinite;
}
.note strong { color: var(--forest); font-weight: 600; }
.note__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--sage-100); color: var(--forest); display: grid; place-items: center; flex: none; }
.note__icon svg { width: 20px; height: 20px; }

/* ---------- Franja ---------- */
.marquee {
  background: var(--sage-100); color: var(--forest);
  border-block: 1px solid var(--line);
  overflow: hidden; padding-block: 20px;
}
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 42s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.25rem, 2.2vw, 1.7rem); white-space: nowrap; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-500); flex: none; }

/* ---------- Empatía ---------- */
.empathy { background: var(--cream); }
.empathy__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.empathy__intro { position: sticky; top: 120px; }
.empathy__sub { margin-top: 26px; color: var(--ink-soft); max-width: 28em; }

.thoughts { display: grid; gap: 18px; }
.thought {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, background .3s;
}
.thought:nth-child(even) { margin-left: clamp(0px, 5vw, 72px); background: var(--sage-50); }
.thought svg { width: 22px; height: 22px; flex: none; margin-top: 7px; color: var(--sage-500); transition: transform .6s var(--ease); }
.thought p { font-family: var(--serif); font-weight: 350; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.38; letter-spacing: -.01em; }
.thought:hover { transform: translateX(6px); border-color: var(--sage-300); box-shadow: 0 24px 40px -30px rgba(43, 67, 54, .5); }
.thought:hover svg { transform: rotate(20deg) scale(1.15); }

.empathy__close {
  margin-top: clamp(64px, 9vw, 120px);
  padding: clamp(36px, 6vw, 80px);
  border-radius: calc(var(--radius) + 12px);
  background: var(--sage-100);
  position: relative; overflow: hidden;
}
.empathy__close::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  border-radius: 50%; border: 1px solid rgba(79, 111, 74, .25);
  box-shadow: 0 0 0 40px rgba(79, 111, 74, .05), 0 0 0 80px rgba(79, 111, 74, .04);
}
.empathy__quote {
  position: relative; z-index: 1;
  font-family: var(--serif); font-weight: 330;
  font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.18; letter-spacing: -.02em;
  max-width: 20em; text-wrap: balance;
}
.empathy__cta {
  position: relative; z-index: 1;
  margin-top: 38px; padding-top: 32px; border-top: 1px solid rgba(43, 67, 54, .18);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px;
}
.empathy__cta p { color: var(--ink-soft); max-width: 30em; }

/* ---------- Sobre mí ---------- */
.about { background: var(--cream-2); }
.about__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__visual { position: relative; padding-bottom: 36px; }
.arch--about { border-radius: 50% 50% var(--radius) var(--radius) / 36% 36% var(--radius) var(--radius); }
.about__tag {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 26px; white-space: nowrap;
  box-shadow: 0 18px 30px -22px rgba(43, 67, 54, .5);
}
.about__tag span { font-family: var(--serif); font-size: 1.08rem; }
.about__tag small { font-size: .76rem; color: var(--ink-soft); }

.prose { margin-top: 30px; display: grid; gap: 18px; color: var(--ink-soft); max-width: 36em; }

.creds { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.creds__role { font-family: var(--sans); font-size: inherit; font-weight: 600; line-height: inherit; color: var(--ink-soft); }
.creds__num { font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--sage-700); background: var(--sage-100); padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.creds + .prose { margin-top: 22px; }

.pull {
  margin-top: 36px; padding-left: 26px; position: relative; max-width: 30em;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; color: var(--forest);
}
.pull::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--clay); border-radius: 2px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(36px, 5vw, 56px); }
.values li { padding: 24px 22px; background: rgba(255, 255, 255, .65); border: 1px solid var(--line); border-radius: 22px; transition: transform .45s var(--ease), background .3s; }
.values li:hover { transform: translateY(-4px); background: #fff; }
.values__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-100); color: var(--forest); display: grid; place-items: center; margin-bottom: 16px; }
.values__icon svg { width: 22px; height: 22px; }
.values h3 { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; line-height: 1.25; margin-bottom: 8px; }
.values p { font-size: .93rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Cómo trabajo ---------- */
.method { background: var(--sage-50); }
.method__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 100px); align-items: end; margin-bottom: clamp(44px, 7vw, 88px); }
.method__head .kicker { margin-bottom: 22px; }
.method__intro { color: var(--ink-soft); font-size: 1.1rem; max-width: 32em; }

.method__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: start; }

.phases { position: relative; display: grid; gap: 8px; }
.phases::before { content: ""; position: absolute; left: 25px; top: 28px; bottom: 28px; width: 1px; background: linear-gradient(var(--sage-300), var(--sage-200)); }
.phase { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 18px 0 26px; }
.phase__num {
  position: relative; z-index: 1;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); border: 1px solid var(--sage-300); color: var(--forest);
  font-family: var(--serif); font-style: italic; font-size: 1.35rem;
  transition: background .35s, color .35s, transform .5s var(--ease);
}
.phase:hover .phase__num { background: var(--forest); color: var(--cream); transform: scale(1.06); }
.phase h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -.01em; margin: 6px 0 10px; }
.phase p { color: var(--ink-soft); max-width: 34em; }

.team {
  position: sticky; top: 110px;
  padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--radius) + 8px);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 40px 60px -46px rgba(43, 67, 54, .5);
  color: var(--ink-soft);
}
.team__map { max-width: 360px; margin: 0 auto 26px; color: var(--sage-500); }
.team__map svg { width: 100%; height: auto; overflow: visible; }
.team__links path { animation: dash 14s linear infinite; }
.team__you { fill: var(--sage-100); stroke: var(--sage-300); stroke-width: 1; }
.team__you-text { font-family: var(--serif); font-style: italic; font-size: 24px; fill: var(--forest); }
.team__node circle { fill: var(--cream); stroke: var(--sage-300); stroke-width: 1; transition: fill .3s; }
.team__node text { font-family: var(--sans); font-size: 12.5px; font-weight: 500; fill: var(--forest); letter-spacing: .01em; }
.team__node--main circle { fill: var(--forest); stroke: var(--forest); }
.team__node--main text { fill: var(--cream); }
.team__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; color: var(--ink); margin-bottom: 14px; }
.team p + p { margin-top: 14px; }
.team strong { color: var(--forest); font-weight: 600; }
.team__consent { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .93rem; }
.team__consent svg { width: 20px; height: 20px; color: var(--clay); flex: none; }

.method__cta { margin-top: clamp(36px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.method__cta p { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 350; letter-spacing: -.01em; }

@keyframes dash { to { stroke-dashoffset: -110; } }

/* ---------- Cómo empezar ---------- */
.steps { background: var(--cream); }
.steps__head { max-width: 22em; margin-bottom: clamp(40px, 6vw, 80px); }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); counter-reset: s; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--sage-700); transition: width 1.2s var(--ease) .3s; }
.step.is-in::before { width: 64px; }
.step__num { display: block; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; color: var(--sage-300); margin-bottom: 18px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin-bottom: 10px; letter-spacing: -.01em; }
.step p { color: var(--ink-soft); max-width: 24em; }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: var(--cream-2); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__sub { margin-top: 26px; color: var(--ink-soft); max-width: 27em; }

.faq__list { display: grid; gap: 14px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 24px; transition: border-color .3s, box-shadow .45s var(--ease), background .3s; }
.qa:hover { border-color: var(--sage-300); }
.qa[open] { background: #fff; border-color: var(--sage-300); box-shadow: 0 26px 44px -34px rgba(43, 67, 54, .55); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 380; font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.3; letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--sage-100); transition: background .3s, transform .5s var(--ease);
}
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px;
  background: var(--forest); transform: translate(-50%, -50%); transition: transform .45s var(--ease);
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--forest); transform: rotate(180deg); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--cream); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { padding: 0 28px 26px; max-width: 40em; display: grid; gap: 14px; color: var(--ink-soft); animation: qa-in .5s var(--ease); }
.qa__body strong { color: var(--forest); font-weight: 600; }
@keyframes qa-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Duración de las sesiones */
.durations { display: grid; gap: 0; max-width: 28em; }
.durations li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.durations li:first-child { padding-top: 4px; }
.durations li:last-child { border-bottom: 0; padding-bottom: 0; }
.durations span { color: var(--ink); }
.durations b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -.01em; color: var(--sage-700); white-space: nowrap; }

/* Precios */
.rates { display: grid; border-top: 1px solid var(--line); }
.rates li { display: grid; grid-template-columns: 1fr auto 86px; align-items: center; gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rates__name { color: var(--ink); font-weight: 500; line-height: 1.35; }
.rates__name small { display: block; margin-top: 2px; font-size: .84rem; font-weight: 400; color: var(--ink-soft); }
.rates__time { font-size: .84rem; color: var(--sage-700); background: var(--sage-100); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.rates__price { text-align: right; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -.01em; color: var(--forest); white-space: nowrap; }
.rates li.is-bundle { padding: 14px 16px; margin: 0 -16px 6px; background: var(--sage-50); border-radius: 14px; border-bottom-color: transparent; }
.rates li:has(+ .is-bundle) { border-bottom-color: transparent; }   /* el bono cuelga de su sesión */
.rates__save {
  grid-column: 1 / -1; justify-self: start;
  font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: var(--cream); background: var(--forest); padding: 4px 12px; border-radius: 999px;
}
@media (max-width: 560px) {
  .rates li { grid-template-columns: 1fr auto; }
  .rates__time { grid-row: 2; grid-column: 1; justify-self: start; margin-top: 4px; }
  .rates__price { grid-row: 1 / span 2; grid-column: 2; }
}
.qa__note { font-size: .93rem; }

/* Dato pendiente de completar (se ve a propósito) */
.todo { background: #FBE9B8; color: #6B4E00; padding: 1px 8px; border-radius: 6px; font-weight: 600; }

/* ---------- Instagram ---------- */
.ig { background: var(--cream); }
.ig__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.ig__sub { margin-top: 24px; color: var(--ink-soft); max-width: 30em; }

.ig__profile {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 22px 10px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.ig__profile:hover { transform: translateY(-3px); border-color: var(--sage-300); box-shadow: 0 20px 34px -24px rgba(43, 67, 54, .55); }
.ig__avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--cream); flex: none; }
.ig__avatar svg { width: 24px; height: 24px; }
.ig__who { display: flex; flex-direction: column; line-height: 1.3; }
.ig__who b { font-weight: 600; color: var(--forest); }
.ig__who small { font-size: .82rem; color: var(--ink-soft); }
.ig__go { width: 20px; height: 20px; color: var(--sage-700); margin-left: 6px; transition: transform .35s var(--ease); }
.ig__profile:hover .ig__go { transform: translateX(5px); }

.ig__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.ig-tile {
  position: relative; display: block; overflow: hidden; aspect-ratio: 1;
  border-radius: 22px; background: var(--sage-100); isolation: isolate;
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ig-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(43, 67, 54, .55), rgba(43, 67, 54, 0) 60%);
  opacity: 0; transition: opacity .4s;
}
.ig-tile:hover img { transform: scale(1.07); }
.ig-tile:hover::after { opacity: 1; }
.ig-tile__badge {
  position: absolute; z-index: 2; right: 10px; top: 10px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(250, 248, 243, .88); color: var(--forest); font-size: .7rem;
}
.ig-tile--ph { display: grid; place-items: center; color: var(--sage-700); transition: transform .5s var(--ease), background .3s; }
.ig-tile--ph:nth-child(3n+1) { background: var(--sage-100); }
.ig-tile--ph:nth-child(3n+2) { background: var(--sage-200); }
.ig-tile--ph:nth-child(3n) { background: var(--cream-2); border: 1px solid var(--line); }
.ig-tile--ph svg { width: 34%; height: 34%; opacity: .55; transition: transform .6s var(--ease), opacity .3s; }
.ig-tile--ph:hover { transform: translateY(-4px); }
.ig-tile--ph:hover svg { transform: rotate(14deg) scale(1.1); opacity: .9; }
.ig-tile--ph::after { display: none; }

.ig__cta { margin-top: clamp(28px, 4vw, 44px); display: flex; justify-content: center; }

/* ---------- CTA final ---------- */
.final {
  position: relative; overflow: hidden;
  background: var(--forest); color: var(--cream);
  padding-block: clamp(88px, 12vw, 170px);
  text-align: center;
}
.final__rings i {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid rgba(207, 222, 192, .14); transform: translate(-50%, -50%);
}
.final__rings i:nth-child(1) { width: 560px; height: 560px; }
.final__rings i:nth-child(2) { width: 880px; height: 880px; }
.final__rings i:nth-child(3) { width: 1240px; height: 1240px; }
.final__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.final__title {
  font-family: var(--serif); font-weight: 330;
  font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.08; letter-spacing: -.022em;
  max-width: 17em; text-wrap: balance;
}
.final__title em { color: var(--sage-200); }
.final__lead { margin-top: 26px; max-width: 34em; color: rgba(250, 248, 243, .78); font-size: 1.12rem; }
.final__actions { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.final__ig {
  margin-top: 36px; display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; color: rgba(250, 248, 243, .78); transition: color .25s;
}
.final__ig svg { width: 20px; height: 20px; }
.final__ig b { color: var(--cream); font-weight: 500; border-bottom: 1px solid rgba(250, 248, 243, .4); transition: border-color .25s; }
.final__ig:hover { color: var(--cream); }
.final__ig:hover b { border-color: var(--cream); }

/* ---------- Pie ---------- */
.footer { background: var(--forest-2); color: rgba(250, 248, 243, .72); padding-block: 56px 36px; font-size: .94rem; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px 56px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand .brand__mark { background: rgba(207, 222, 192, .14); color: var(--sage-200); }
.footer__brand strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--cream); }
.footer__brand p { font-size: .85rem; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; align-self: center; }
.footer__nav a { transition: color .2s; }
.footer__nav a:hover { color: var(--cream); }
.footer__note { grid-column: 1 / -1; font-size: .85rem; max-width: 46em; padding-top: 28px; border-top: 1px solid rgba(250, 248, 243, .12); }
.footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .82rem; opacity: .75; }
.footer__legal a:hover { color: var(--cream); text-decoration: underline; }

/* ---------- Barra fija móvil ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--cream) 60%, rgba(250, 248, 243, 0));
  transform: translateY(110%); transition: transform .5s var(--ease);
  display: none; pointer-events: none;
}
.sticky-cta .btn { width: 100%; pointer-events: auto; }
.sticky-cta.is-visible { transform: none; }

/* ---------- Páginas legales ---------- */
.link-arrow--back::before { content: "←"; margin-right: 2px; }
.legal { padding: clamp(120px, 16vh, 170px) 0 clamp(64px, 9vw, 120px); }
.legal__inner { max-width: 780px; }
.legal h1 { margin-bottom: 32px; }
.legal p { margin-top: 16px; color: var(--ink-soft); }
.legal a:not(.btn) { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sage-300); }
.legal a:not(.btn):hover { text-decoration-color: var(--forest); }
.legal__lead { font-size: 1.15rem; color: var(--ink) !important; }
.legal h2 { margin: 56px 0 8px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; letter-spacing: -.01em; }
.legal h3 { margin: 36px 0 4px; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--forest); }
.legal__toc { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 8px; }
.legal__toc a { padding: 8px 18px; border-radius: 999px; background: var(--sage-100); font-size: .92rem; font-weight: 500; text-decoration: none !important; transition: background .25s; }
.legal__toc a:hover { background: var(--sage-200); }
.legal h2.legal__part { margin-top: 88px; padding: 36px 0 0; border-top: 2px solid var(--sage-300); font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--forest); }
.legal h2.legal__part + h2 { margin-top: 28px; border-top: 0; padding-top: 0; }
.legal__list { margin-top: 14px; display: grid; gap: 10px; color: var(--ink-soft); }
.legal__list li { position: relative; padding-left: 26px; }
.legal__list li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--sage-300); }
.legal__small { margin-top: 0 !important; font-size: .9rem; }
.legal__data { margin: 18px 0 0; border-top: 1px solid var(--line); }
.legal__data > div { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal__data dt { font-weight: 500; color: var(--ink); }
.legal__data dd { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.legal__back { margin-top: 56px; }
@media (max-width: 560px) { .legal__data > div { grid-template-columns: 1fr; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 45;
  right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px);
  display: flex; align-items: center; justify-content: center;
  height: 58px; min-width: 58px; padding: 0 14px; border-radius: 999px;
  background: #25D366; color: #fff;
  box-shadow: 0 16px 30px -12px rgba(14, 110, 55, .65);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), bottom .5s var(--ease), background .3s;
}
.wa-float svg { width: 30px; height: 30px; flex: none; position: relative; }
.wa-float span {
  position: relative; max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  transition: max-width .5s var(--ease), opacity .3s, margin .5s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible { transform: translateY(-3px); background: #1fbb59; box-shadow: 0 22px 34px -12px rgba(14, 110, 55, .7); }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 230px; opacity: 1; margin-left: 10px; margin-right: 4px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: wa-pulse 3.6s ease-out infinite;
}
.wa-float:focus-visible { outline-color: var(--forest); }
/* En móvil, sube el botón cuando aparece la barra fija de reserva */
.sticky-cta.is-visible ~ .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (max-width: 900px) { .wa-float span { display: none; } }

/* ---------- Animaciones ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes sway { 0%, 100% { transform: translateX(-50%) rotate(-1.6deg); } 50% { transform: translateX(-50%) rotate(1.6deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127, 158, 113, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(127, 158, 113, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .values { grid-template-columns: 1fr; }
  .values li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; }
  .values__icon { grid-row: span 2; margin: 0; }
}

@media (max-width: 1320px) { .brand__role { display: none; } }

/* Menú desplegable (hay 5 enlaces: necesita más espacio que el resto del diseño) */
@media (max-width: 1200px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .brand__role { display: none; }

  .nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 14px;
    background: var(--cream); border: 1px solid var(--line); border-radius: 26px;
    box-shadow: 0 30px 50px -30px rgba(43, 67, 54, .5);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; border-radius: 14px; }
  .nav a:not(.btn)::after { display: none; }
  .nav a:not(.btn):hover { background: var(--sage-50); }
  .nav__mobile-cta { display: inline-flex; margin-top: 8px; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .badge { left: -10px; width: 96px; height: 96px; }
  .note { right: 0; }

  .ig__grid { grid-template-columns: repeat(3, 1fr); }
  .method__head, .method__grid { grid-template-columns: 1fr; }
  .team { position: static; }
  .empathy__grid, .about__grid, .faq__grid { grid-template-columns: 1fr; }
  .empathy__intro, .faq__intro { position: static; }
  .about__visual { max-width: 420px; margin-inline: auto; width: 100%; }

  .steps__list { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 90px 1fr; column-gap: 12px; padding-top: 22px; }
  .step__num { grid-row: span 2; margin: 0; font-size: 3rem; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }

  .sticky-cta { display: block; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero { padding-top: 112px; }
  .hero__actions .btn { width: 100%; }
  .thought { padding: 20px 20px; }
  .ig__grid { grid-template-columns: repeat(2, 1fr); }
  .ig-tile { border-radius: 18px; }
  .ig__profile { width: 100%; }
  .ig__go { margin-left: auto; }
  .ig__cta .btn { width: 100%; }
  .phase { grid-template-columns: 44px 1fr; gap: 16px; }
  .phase__num { width: 44px; height: 44px; font-size: 1.15rem; }
  .phases::before { left: 21px; }
  .method__cta .btn { width: 100%; }
  .qa summary { padding: 20px 20px; }
  .qa__body { padding: 0 20px 22px; }
  .thought:nth-child(even) { margin-left: 0; }
  .final__actions .btn { width: 100%; }
  .final__rings i:nth-child(1) { width: 360px; height: 360px; }
  .final__rings i:nth-child(2) { width: 580px; height: 580px; }
  .final__rings i:nth-child(3) { width: 820px; height: 820px; }
  .about__tag { padding: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* ---------- Blog ---------- */
.blog { padding: clamp(120px, 16vh, 170px) 0 clamp(64px, 9vw, 120px); }
.blog__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.blog__head .kicker a { color: inherit; }
.blog__lead { margin-top: 22px; color: var(--ink-soft); font-size: 1.12rem; max-width: 36em; }

.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }

.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.post-card:hover { transform: translateY(-5px); border-color: var(--sage-300); box-shadow: 0 30px 44px -34px rgba(43, 67, 54, .55); }
.post-card__media {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(165deg, var(--sage-100), var(--sage-200)); color: var(--sage-700);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__media svg { position: absolute; left: 50%; top: 50%; width: 22%; height: auto; transform: translate(-50%, -50%); opacity: .5; }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; flex: 1; }
.post-card__cat {
  align-self: flex-start; display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage-700); background: var(--sage-100); padding: 4px 12px; border-radius: 999px;
}
.post-card__title { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.22; letter-spacing: -.01em; }
.post-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.post-card__title a:hover { background-size: 100% 1px; }
.post-card__excerpt { color: var(--ink-soft); font-size: .97rem; line-height: 1.6; }
.post-card__meta { margin-top: auto; padding-top: 8px; font-size: .84rem; color: var(--ink-soft); }

.blog__empty { padding: 48px; border-radius: var(--radius); background: var(--sage-50); border: 1px solid var(--line); text-align: center; display: grid; gap: 20px; justify-items: center; color: var(--ink-soft); }

/* Paginación */
.pagination { margin-top: clamp(36px, 5vw, 64px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 16px; display: inline-grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
}
.pagination a.page-numbers:hover { border-color: var(--sage-300); background: var(--sage-50); }
.pagination .page-numbers.current { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.pagination .page-numbers.dots { border: 0; background: transparent; }

/* Artículo */
.post__inner { max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 28px; font-size: .88rem; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28ch; }
.post__head { display: grid; gap: 18px; justify-items: start; margin-bottom: 32px; }
.post__title { font-family: var(--serif); font-weight: 340; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.post__meta { font-size: .92rem; color: var(--ink-soft); }
.post__cover { margin: 0 0 40px; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--sage-100); }
.post__cover img { width: 100%; height: auto; display: block; }

.post__content { font-size: 1.1rem; line-height: 1.75; color: var(--ink-soft); }
.post__content > * + * { margin-top: 1.2em; }
.post__content h2 { margin-top: 2.2em; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.post__content h3 { margin-top: 1.8em; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.25; color: var(--forest); }
.post__content a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sage-300); }
.post__content a:hover { text-decoration-color: var(--forest); }
.post__content strong { color: var(--ink); font-weight: 600; }
.post__content ul, .post__content ol { padding-left: 1.4em; display: grid; gap: .5em; }
.post__content ul { list-style: disc; }
.post__content ol { list-style: decimal; }
.post__content li::marker { color: var(--sage-500); }
.post__content blockquote { margin-inline: 0; padding: 4px 0 4px 26px; position: relative; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.35rem; line-height: 1.4; color: var(--forest); }
.post__content blockquote::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--clay); border-radius: 2px; }
.post__content img { height: auto; border-radius: 20px; }
.post__content figure { margin-inline: 0; }
.post__content figcaption { margin-top: 10px; font-size: .88rem; color: var(--ink-soft); text-align: center; }
.post__content hr { border: 0; height: 1px; background: var(--line); margin-block: 2.4em; }

.post__tags { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.post__tags a { padding: 5px 14px; border-radius: 999px; background: var(--sage-100); font-size: .85rem; color: var(--forest); transition: background .25s; }
.post__tags a:hover { background: var(--sage-200); }

.post__author { margin-top: 56px; padding: 26px; display: flex; align-items: flex-start; gap: 18px; border-radius: 24px; background: var(--sage-50); border: 1px solid var(--line); }
.post__author strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
.post__author p { margin-top: 4px; font-size: .95rem; line-height: 1.55; color: var(--ink-soft); }

.post__cta { margin-top: 28px; padding: clamp(28px, 5vw, 44px); border-radius: calc(var(--radius) + 6px); background: var(--forest); color: var(--cream); display: grid; gap: 12px; justify-items: start; }
.post__cta h2 { font-family: var(--serif); font-weight: 330; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -.015em; }
.post__cta p { color: rgba(250, 248, 243, .8); max-width: 30em; }
.post__cta .btn { margin-top: 8px; }

.post-navigation { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation a { display: grid; gap: 4px; font-family: var(--serif); font-size: 1.1rem; line-height: 1.3; color: var(--ink); }
.post-navigation a span { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-700); }
.post-navigation a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }

@media (max-width: 960px) { .blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .blog__grid { grid-template-columns: 1fr; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { grid-column: 1; text-align: left; }
  .post__author { flex-direction: column; }
  .post__cta .btn { width: 100%; }
}


/* ---------- Reservar (Amelia) ---------- */
.booking { padding: clamp(120px, 16vh, 170px) 0 clamp(64px, 9vw, 120px); }
.booking__inner { max-width: 1000px; }
.booking__head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.booking__lead { margin-top: 20px; color: var(--ink-soft); font-size: 1.1rem; }
.booking__widget { padding: clamp(14px, 3vw, 32px); border-radius: calc(var(--radius) + 8px); background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 60px -46px rgba(43, 67, 54, .5); min-height: 120px; }
.booking__soon { padding: 24px; border-radius: 20px; background: var(--sage-50); color: var(--ink-soft); text-align: center; }
.booking__alt { margin-top: clamp(32px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.booking__alt p { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 350; }
.booking__alt-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--outline { --_bg: transparent; --_fg: var(--forest); border-color: var(--sage-300); }
.btn--outline:hover { background: var(--sage-50); border-color: var(--forest); }
@media (max-width: 560px) { .booking__alt-actions .btn { width: 100%; } }


/* ---------- WordPress ---------- */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
.entry ul:not(.legal__list) { list-style: disc; padding-left: 1.4em; margin-top: 14px; display: grid; gap: 8px; color: var(--ink-soft); }
.entry ol { list-style: decimal; padding-left: 1.4em; margin-top: 14px; display: grid; gap: 8px; color: var(--ink-soft); }
.entry img { max-width: 100%; height: auto; border-radius: 18px; margin-top: 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
