/* ============================================================
   PsicoMorales — Terapia psicológica online con valores cristianos
   Paleta y tipografía originales del PDF:
   crema #FFFBF6 · azul marino #2D3273 · lavanda #E2E8F4 · azul aciano #7EA1F7
   Poppins (sans) · Playfair Display (serif) · Allura (script)
   ============================================================ */

:root {
  --cream: #FFFBF6;
  --navy: #2D3273;
  --navy-dark: #23275B;
  --lavender: #E2E8F4;
  --periwinkle: #7EA1F7;
  --periwinkle-dark: #6A8DF0;
  --mauve: #C9C4D2;
  --ink: #111111;
  --ink-soft: #3D3D3D;
  --gray: #656462;
  --white: #FFFFFF;
  --line: rgba(17, 17, 17, .12);
  --shadow: 0 18px 50px -18px rgba(45, 50, 115, .3);
  --shadow-soft: 0 10px 30px -12px rgba(45, 50, 115, .2);
  --radius: 18px;
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Allura", "Segoe Script", cursive;
  --container: 1160px;
  --header-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
  padding: .8rem 1.4rem;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--periwinkle);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 2.2rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--black {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .5);
}
.btn--black:hover { background: #000; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); }
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  box-shadow: 0 12px 26px -14px rgba(45, 50, 115, .6);
}
.btn--navy:hover { background: var(--navy-dark); }
.btn--periwinkle {
  background: var(--periwinkle);
  color: var(--ink);
  box-shadow: 0 12px 26px -14px rgba(126, 161, 247, .7);
}
.btn--periwinkle:hover { background: var(--periwinkle-dark); color: var(--ink); }
.btn--card {
  background: var(--lavender);
  color: var(--ink);
  padding: .7rem 1.6rem;
  font-size: .9rem;
  border-radius: 8px;
}
.btn--card:hover { background: var(--white); transform: translateY(-3px); }
.btn--large { padding: 1.05rem 2.6rem; font-size: 1rem; }

/* ---------- Encabezados de sección ---------- */
.section-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-title--serif {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.25;
}
.title-dash {
  display: block;
  width: 130px;
  height: 3px;
  background: var(--periwinkle);
  margin: 1.1rem auto 0;
  border-radius: 2px;
}
.section-lead { color: var(--ink-soft); max-width: 64ch; margin-inline: auto; }
.section-head { margin-bottom: 3rem; }
.section-head--center { text-align: center; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 251, 246, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(45, 50, 115, .4);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: block;
  line-height: 0;
  transition: opacity .2s ease;
}
.logo:hover { opacity: .8; }
.logo img {
  height: 58px;
  width: auto;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__link {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--periwinkle);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--navy); font-weight: 600; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: .4rem; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
  z-index: 110;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 2.4rem) 0 3.6rem;
  background: var(--cream);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 2.4rem;
  align-items: center;
}
.hero__script {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: .6rem;
}
.hero__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 3.5rem);
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -.01em;
  margin-bottom: 1.1rem;
}
.hero__title span { display: inline-block; }
.hero__lead {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 1.4rem;
}

/* Barra de credenciales bajo el hero */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.5rem;
}
.trust-bar li {
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(45, 50, 115, .18);
  padding: .42rem .95rem .42rem .8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  box-shadow: 0 4px 12px -8px rgba(45, 50, 115, .25);
}
.trust-bar li::before {
  content: "✓";
  color: var(--periwinkle);
  font-weight: 700;
  font-size: .9rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0;
}

.hero__visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 82%;
  background: radial-gradient(closest-side, #D3E0F6 0%, rgba(211, 224, 246, .45) 55%, rgba(211, 224, 246, 0) 78%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__photo-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}
.hero__photo {
  display: block;
  width: 145%;
  max-width: none;
  margin-left: -52%;
  filter: drop-shadow(0 24px 40px rgba(45, 50, 115, .18));
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 88%, transparent 99%);
}
.hero__verse {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: .4rem;
  background: var(--white);
  border-left: 3px solid var(--periwinkle);
  padding: .85rem 1.2rem;
  max-width: 320px;
  box-shadow: var(--shadow-soft);
  border-radius: 0 12px 12px 0;
}
.hero__verse p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
}
.hero__verse span {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  margin-top: .4rem;
}

/* ---------- Intro ---------- */
.intro {
  padding: 4.5rem 0;
  background: var(--lavender);
}
.intro__inner {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}
.intro__questions p {
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  color: var(--ink);
}
.intro__answer p {
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.intro__answer strong { color: var(--ink); font-weight: 600; }

/* ---------- Sesión online ---------- */
.session { padding: 5.5rem 0; background: var(--lavender); }
.session__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.session__content p {
  color: var(--ink-soft);
  margin-bottom: 1.3rem;
}
.session__content strong { color: var(--ink); font-weight: 600; }
.session__perks {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.6rem;
}
.session__perks li {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  padding: .5rem 1.1rem;
  border-radius: 999px;
}
.session__media { position: relative; padding: 2.2rem 0 0 2.2rem; }
.session__panel {
  position: absolute;
  inset: 0 8% 8% 0;
  background: var(--mauve);
  border-radius: 14px;
}
.session__media img {
  position: relative;
  border-radius: 6px;
  box-shadow: var(--shadow);
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
}

/* ---------- Programas ---------- */
.programs {
  padding: 5.5rem 0;
  background: var(--cream);
}
.programs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.program-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 1.9rem 1.4rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.3rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 46px -22px rgba(45, 50, 115, .7);
}
.program-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--white);
}
.program-card__img {
  background: var(--cream);
  border-radius: 999px 999px 10px 10px;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.program-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}
.program-card:hover .program-card__img img { transform: scale(1.06); }
.program-card .btn { margin-top: auto; }

/* ---------- Sobre mí ---------- */
.about {
  padding: 5.5rem 0;
  background: var(--cream);
}
.about__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about__media { position: relative; }
.about__label {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--ink);
  text-align: right;
  margin-bottom: 1.2rem;
}
.about__frame {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 70px 18px rgba(201, 196, 210, .55), var(--shadow);
  aspect-ratio: 3/4;
}
.about__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about__script {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: .2rem;
}
.about__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: .7rem;
}
.about__credential {
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.about__approach {
  background: var(--lavender);
  border-left: 3px solid var(--periwinkle);
  padding: .9rem 1.2rem;
  border-radius: 0 10px 10px 0;
  font-size: .93rem;
  color: var(--ink-soft) !important;
  margin-bottom: 1.3rem !important;
  text-align: left !important;
}
.about__approach strong { color: var(--navy); font-weight: 700; }
.about__content > p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.about__content strong { color: var(--ink); font-weight: 600; }
.about__verse {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink) !important;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  padding-top: 1rem;
  margin: 1.4rem 0 1.8rem !important;
  text-align: left !important;
}
.about__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
}
.about__cta-info span {
  display: block;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: .2rem;
}
.about__phone {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
  display: inline-block;
  padding: .35rem 0;
}
.about__phone:hover { color: var(--navy); }

/* ---------- Sanación ---------- */
.healing {
  padding: 5.5rem 0;
  background: var(--lavender);
}
.healing__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4rem;
  align-items: center;
}
.healing__text .section-title { margin-bottom: 1.4rem; }
.healing__text p {
  color: var(--ink-soft);
  margin-bottom: 1.05rem;
}
.healing__text .btn { margin-top: 1.2rem; }

.healing__circles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1.4rem;
  justify-items: center;
}
.circle {
  text-align: center;
  width: min(100%, 200px);
}
.circle img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  border: 5px solid var(--cream);
  transition: transform .3s ease;
}
.circle:hover img { transform: scale(1.04); }
.circle figcaption {
  margin-top: .7rem;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.4;
}
.circle:last-child { grid-column: 1 / -1; }

/* ---------- Pasos ---------- */
.steps {
  padding: 5.5rem 0;
  background: var(--cream);
}
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-top: 1rem;
}
.step { text-align: center; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 24px -12px rgba(45, 50, 115, .6);
}
.step h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--ink);
  margin-bottom: .6rem;
}
.step p { font-size: .95rem; color: var(--ink-soft); max-width: 34ch; margin-inline: auto; }
.steps__cta { text-align: center; margin-top: 3rem; }

/* ---------- FAQ ---------- */
.faq {
  padding: 5.5rem 0;
  background: var(--cream);
}
.faq__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
.faq__intro p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.faq__list { display: flex; flex-direction: column; gap: 1.1rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.faq__item[open] { box-shadow: var(--shadow-soft); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3.2rem 1.15rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  position: relative;
  transition: color .2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--periwinkle);
  border-bottom: 2px solid var(--periwinkle);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq__item summary:hover { color: var(--navy-dark); }
.faq__item p {
  padding: 0 1.5rem 1.3rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.faq__item p a {
  color: var(--navy);
  font-weight: 600;
  display: inline-block;
  padding: .3rem 0;
}

/* ---------- Tarifas ---------- */
.tarifas {
  padding: 5.5rem 0;
  background: var(--lavender);
}
.tarifas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1.5px solid rgba(45, 50, 115, .16);
  border-radius: 16px;
  padding: 2rem 1.7rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.price-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.price-card__dur {
  font-size: .85rem;
  color: var(--gray);
}
.price-card__amount {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  margin: .5rem 0 .8rem;
}
.price-card__amount small {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--periwinkle-dark);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .25rem;
}
.price-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: scale(1.03);
  box-shadow: 0 24px 44px -22px rgba(45, 50, 115, .65);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-6px); }
.price-card--featured h3 { color: var(--white); }
.price-card--featured .price-card__dur { color: rgba(255, 255, 255, .75); }
.price-card--featured .price-card__amount { color: var(--gold-soft, #E8C77A); }
.price-card--featured .price-card__amount small { color: var(--periwinkle); }
.price-card__badge {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--periwinkle);
  color: var(--ink);
  padding: .3rem .9rem;
  border-radius: 999px;
  margin-bottom: .4rem;
}
.tarifas__note {
  text-align: center;
  color: var(--ink-soft);
  font-size: .95rem;
  margin-top: 2rem;
  max-width: 60ch;
  margin-inline: auto;
}

/* ---------- Barra fija de contacto (móvil) ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom));
  background: rgba(255, 251, 246, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(45, 50, 115, .4);
}
.mobile-cta .btn { width: 100%; }

/* ---------- CTA final ---------- */
.cta-final {
  padding: 5rem 0 0;
  background: var(--lavender);
  overflow: hidden;
}
.cta-final__inner {
  background:
    radial-gradient(520px 260px at 88% 18%, rgba(126, 161, 247, .3), transparent 60%),
    var(--navy);
  border-radius: 20px 20px 0 0;
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  gap: 2rem;
  align-items: end;
  padding: 3rem 3.5rem 0;
  color: var(--white);
  position: relative;
}
.cta-final__photo {
  width: min(300px, 100%);
  justify-self: center;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35));
}
.cta-final__content { padding-bottom: 3.2rem; }
.cta-final__content h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: .9rem;
}
.cta-final__content p {
  color: rgba(255, 255, 255, .85);
  max-width: 52ch;
  margin-bottom: 1.7rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--cream);
  padding: 2.6rem 0 2rem;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding-bottom: 1.6rem;
}
.footer__social { display: flex; gap: .8rem; }
.footer__social a {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--gray);
  border-radius: 50%;
  transition: transform .25s ease, background .25s ease;
}
.footer__social a:hover { transform: translateY(-3px); background: var(--navy); }
.footer__social img {
  width: 20px; height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer__logo {
  height: 74px;
  width: auto;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
.footer__nav a {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray);
  transition: color .2s ease;
}
.footer__nav a:hover { color: var(--navy); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  color: var(--gray);
  text-align: center;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, .35); }
  50% { box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .55), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ---------- Animaciones de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal--delay { transition-delay: .15s; }
.reveal--delay-2 { transition-delay: .3s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .programs__grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-inline: auto; }
}

/* Zona media: comprimir nav para que nunca choque con el logo (921–1100px) */
@media (min-width: 921px) and (max-width: 1100px) {
  .nav { gap: 1.05rem; }
  .nav__link { font-size: .86rem; }
  .nav__cta { padding: .5rem 1.15rem; font-size: .82rem; margin-left: .1rem; }
  .logo img { height: 50px; }
}

/* Pantallas de laptop cortas: título más compacto para que el CTA quede a la vista */
@media (min-width: 921px) and (max-width: 1250px) {
  .hero__title { font-size: clamp(2.3rem, 4.3vw, 3rem); }
  .hero__visual { min-height: 440px; }
}

/* Ventanas muy bajas (navegador con barras): asegurar el CTA sobre la línea de flotación */
@media (min-width: 921px) and (max-height: 650px) {
  .hero { padding-top: calc(var(--header-h) + 1rem); padding-bottom: 2.4rem; }
  .hero__script { font-size: 1.65rem; margin-bottom: .3rem; }
  .hero__title { font-size: clamp(2.2rem, 4vw, 2.7rem); margin-bottom: .8rem; }
  .hero__lead { font-size: .95rem; margin-bottom: 1rem; }
  .trust-bar { margin-bottom: 1.1rem; }
  .hero__actions { margin-bottom: 1.2rem; }
  .hero__visual { min-height: 360px; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }

  .logo img { height: 46px; }
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    height: 100dvh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 2.2rem 2rem;
    gap: 1.4rem;
    transform: translateX(105%);
    transition: transform .35s ease;
    box-shadow: -20px 0 50px -20px rgba(45, 50, 115, .35);
    z-index: 105;
  }
  .nav.is-open { transform: none; }
  .nav__link {
    font-size: 1.05rem;
    display: block;
    padding: .6rem 0;
    width: 100%;
  }
  .nav__cta { margin: .8rem 0 0; }
  .burger {
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
  }

  .hero__grid,
  .intro__inner,
  .session__grid,
  .about__grid,
  .healing__grid,
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .hero { padding-top: calc(var(--header-h) + 2.2rem); }
  .hero__visual {
    flex-direction: column;
    min-height: 0;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
    align-items: stretch;
  }
  .hero__photo { width: 165%; margin-left: -72%; }
  .hero__verse {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 1.2rem;
    max-width: none;
    width: 100%;
    border-radius: 0 12px 12px 0;
  }

  .about__media { max-width: 420px; margin-inline: auto; }
  .about__label { text-align: center; }
  .healing__circles { max-width: 480px; margin-inline: auto; }

  .steps__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 2.6rem; }

  .cta-final__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.6rem 1.8rem 0;
  }
  .cta-final__photo { order: 2; width: min(230px, 70%); }
  .cta-final__content { order: 1; padding-bottom: 0; }
  .cta-final__content p { margin-inline: auto; }

  .footer__nav { order: 3; }
}

@media (max-width: 720px) {
  /* La barra fija reemplaza al botón flotante en móvil */
  .wa-float { display: none; }
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
  .tarifas__grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .price-card--featured { transform: none; order: -1; }
  .price-card--featured:hover { transform: translateY(-6px); }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .programs__grid { grid-template-columns: 1fr; max-width: 360px; }
  .hero__actions .btn { width: 100%; }
  .healing__circles { gap: 1.2rem 1rem; }
  .circle { width: min(100%, 150px); }
  .about__cta { flex-direction: column; align-items: flex-start; }
}

/* ============ RESERVAR (formulario + pago) ============ */
.reservar { background: var(--lavender); padding: 5.5rem 0; }
.reservar__box {
  background: #fff; border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.6rem);
  box-shadow: 0 18px 50px rgba(45, 50, 115, 0.12); max-width: 780px; margin: 0 auto;
}
.reservar__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1.1rem; }
@media (max-width: 640px) { .reservar__row { grid-template-columns: minmax(0, 1fr); } }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.98rem; padding: 0.78rem 0.95rem;
  border: 1.5px solid var(--mauve); border-radius: 12px; background: #fff; color: var(--ink);
  min-height: 48px; transition: border-color 0.15s;
}
.field textarea { min-height: auto; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--periwinkle); box-shadow: 0 0 0 3px rgba(126, 161, 247, 0.25);
}
.reservar__dates { display: flex; gap: 0.55rem; overflow-x: auto; padding-bottom: 0.5rem; }
.reservar__date {
  flex: 0 0 auto; width: 78px; padding: 0.6rem 0.3rem; border-radius: 14px;
  border: 1.5px solid var(--mauve); background: #fff; cursor: pointer;
  font: inherit; text-align: center; min-height: 68px; transition: all 0.15s;
}
.reservar__date b { display: block; font-size: 1.15rem; color: var(--navy); }
.reservar__date span { font-size: 0.68rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; }
.reservar__date.is-on { background: var(--navy); border-color: var(--navy); }
.reservar__date.is-on b, .reservar__date.is-on span { color: #fff; }
.reservar__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.55rem; }
.reservar__slot {
  padding: 0.65rem 0.4rem; border-radius: 11px; border: 1.5px solid var(--periwinkle);
  background: #f4f7fe; color: var(--navy); font: inherit; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; min-height: 46px; transition: all 0.15s;
}
.reservar__slot.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.reservar__hint { font-size: 0.83rem; color: var(--gray); margin-top: 0.45rem; }
.reservar__terms { font-size: 0.8rem; color: var(--gray); margin: 0.4rem 0 1rem; }
.reservar__submit { width: 100%; }
.reservar__submit:disabled { opacity: 0.45; cursor: not-allowed; }
.reservar__pay .reservar__step { display: flex; gap: 0.9rem; align-items: flex-start; padding: 0.9rem 0; }
.reservar__step + .reservar__step { border-top: 1.5px dashed var(--mauve); }
.reservar__num, .reservar__check {
  flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 0.95rem;
}
.reservar__check { background: #1b7a43; }
.reservar__coupon {
  background: #fff9ec; border: 2px dashed #C9A24B; border-radius: 14px;
  padding: 1rem; text-align: center; margin: 0.8rem 0;
  display: flex; flex-direction: column; gap: 0.45rem; align-items: center;
}
.reservar__coupon-code { font-size: 1.55rem; letter-spacing: 0.18em; font-weight: 700; color: var(--navy); }
.reservar__coupon-desc { font-size: 0.83rem; color: var(--gray); }
.reservar__paybtn { width: 100%; margin-top: 0.6rem; }
.btn--ghost-small {
  background: transparent; color: var(--navy); border: 1.5px solid var(--navy);
  border-radius: 999px; padding: 0.5rem 1.2rem; font: inherit; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; min-height: 42px; transition: background 0.15s;
}
.btn--ghost-small:hover { background: var(--lavender); }
.btn--ghost-light {
  background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px; padding: 0.85rem 1.7rem; font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; transition: background 0.15s, transform 0.1s;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.cta-final__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
@media (max-width: 520px) { .cta-final__actions .btn { width: 100%; } }
.hidden { display: none !important; }
.reservar__slots > .reservar__hint { grid-column: 1 / -1; }

/* ============ RESERVAR v2: página dedicada con guía lateral ============ */
.reservar__eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--periwinkle-dark); background: var(--lavender);
  padding: .4rem 1rem; border-radius: 999px; margin-bottom: .9rem;
}
.rprog {
  list-style: none; display: flex; justify-content: center; gap: .5rem;
  margin: 1.6rem 0 0; padding: 0; flex-wrap: wrap;
}
.rprog__step {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; color: var(--gray);
  background: #fff; border: 1.5px solid var(--mauve);
  padding: .5rem 1rem; border-radius: 999px;
}
.rprog__step b {
  width: 22px; height: 22px; border-radius: 50%; background: var(--mauve);
  color: #fff; display: grid; place-items: center; font-size: .75rem;
}
.rprog__step.is-on { border-color: var(--navy); color: var(--navy); box-shadow: 0 4px 14px rgba(45,50,115,.12); }
.rprog__step.is-on b { background: var(--navy); }
.rprog__step.is-done { border-color: #1b7a43; color: #1b7a43; }
.rprog__step.is-done b { background: #1b7a43; }

.reservar__layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1.4rem; align-items: start; margin-top: 2rem;
}
.reservar__main, .reservar__side, .reservar__box, .reservar__form { min-width: 0; }
@media (max-width: 900px) { .reservar__layout { grid-template-columns: minmax(0, 1fr); } }
.reservar__main .reservar__box { max-width: none; margin: 0; }

.rfield {
  border: 0; padding: 0; margin: 0 0 1.4rem;
  min-inline-size: 0; /* fieldset: evitar desborde por min-content */
}
.rfield + .rfield { border-top: 1.5px dashed var(--mauve); padding-top: 1.3rem; }
.rfield__title {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1rem; font-weight: 700; color: var(--navy); padding: 0; margin-bottom: .3rem;
}
.rfield__num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: .82rem; flex: 0 0 auto;
}
.field__help { display: block; font-size: .78rem; color: var(--gray); margin-top: .35rem; }
.prog-info {
  display: flex; flex-direction: column; gap: .3rem; margin-top: .5rem;
  background: var(--lavender); border-radius: 10px; padding: .65rem .8rem;
}
.prog-info__desc { font-size: .8rem; color: var(--ink-soft); line-height: 1.45; }
.prog-info__price {
  font-size: .85rem; font-weight: 700; color: var(--navy);
}
.hidden { display: none !important; }

/* --- panel de pago mejorado --- */
.pay-hero {
  display: flex; gap: .9rem; align-items: center;
  background: #e9f7ef; border: 1.5px solid #b5e2c8; border-radius: 14px;
  padding: 1rem 1.1rem; margin-bottom: .9rem;
}
.pay-hero__check {
  flex: 0 0 42px; height: 42px; border-radius: 50%; background: #1b7a43; color: #fff;
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 700;
}
.pay-hero b { font-size: 1.05rem; color: #14603a; }
.pay-hold {
  background: #fff9ec; border: 1.5px dashed #c9a24b; border-radius: 12px;
  padding: .75rem .95rem; font-size: .87rem; color: var(--ink-soft); margin-bottom: 1.2rem;
}
.pay-steps { list-style: none; counter-reset: ps; margin: 0; padding: 0; }
.pay-steps > li {
  counter-increment: ps; position: relative; padding: 0 0 1.3rem 2.6rem;
}
.pay-steps > li::before {
  content: counter(ps); position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; background: var(--navy); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .92rem;
}
.pay-steps > li::after {
  content: ''; position: absolute; left: 14px; top: 32px; bottom: 6px;
  width: 2px; background: var(--lavender);
}
.pay-steps > li:last-child::after { display: none; }
.pay-steps > li > b { font-size: .98rem; color: var(--navy); }
.pay-steps .reservar__coupon { margin-top: .7rem; }
.pay-steps .reservar__paybtn { margin-top: .2rem; }
.next-box {
  background: var(--lavender); border-radius: 14px; padding: 1rem 1.15rem;
  font-size: .9rem; line-height: 1.55; margin-top: .4rem;
}
.next-box b { color: var(--navy); }
.next-box ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.next-box li { margin-bottom: .35rem; }
.reservar__payactions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }

/* --- tarjetas laterales --- */
.reservar__side { display: flex; flex-direction: column; gap: 1.1rem; position: sticky; top: calc(var(--header-h) + 14px); }
@media (max-width: 900px) { .reservar__side { position: static; } }
.side-card {
  background: #fff; border: 1px solid var(--lav); border-radius: 18px;
  padding: 1.25rem 1.3rem; box-shadow: var(--shadow-soft);
}
.side-card__title {
  font-size: .95rem; font-weight: 700; color: var(--navy); margin: 0 0 .9rem;
}
.side-card--help { background: var(--navy); border-color: var(--navy); }
.side-card--help .side-card__title { color: #fff; }
.side-card--help .reservar__hint { color: rgba(255,255,255,.85); }
.side-card--help .btn--ghost-small {
  color: #fff; border-color: rgba(255,255,255,.7); width: 100%; margin-top: .4rem;
}
.side-card--help .btn--ghost-small:hover { background: rgba(255,255,255,.12); }
.btn--block { width: 100%; }

.how-steps { list-style: none; counter-reset: how; margin: 0; padding: 0; }
.how-steps li {
  counter-increment: how; position: relative; padding: 0 0 1rem 2.3rem;
}
.how-steps li:last-child { padding-bottom: 0; }
.how-steps li::before {
  content: counter(how); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; background: var(--periwinkle); color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem;
}
.how-steps li::after {
  content: ''; position: absolute; left: 12px; top: 30px; bottom: 4px;
  width: 2px; background: var(--lavender);
}
.how-steps li:last-child::after { display: none; }
.how-steps b { display: block; font-size: .9rem; color: var(--ink); }
.how-steps span { display: block; font-size: .8rem; color: var(--gray); line-height: 1.45; margin-top: .1rem; }

.side-faq { border-bottom: 1px solid var(--lav); }
.side-faq:last-child { border-bottom: 0; }
.side-faq summary {
  cursor: pointer; font-size: .87rem; font-weight: 600; color: var(--navy);
  padding: .7rem 0; list-style: none; display: flex; justify-content: space-between; gap: .5rem;
}
.side-faq summary::-webkit-details-marker { display: none; }
.side-faq summary::after { content: '+'; font-weight: 400; color: var(--periwinkle-dark); font-size: 1.1rem; }
.side-faq[open] summary::after { content: '–'; }
.side-faq p { font-size: .84rem; color: var(--ink-soft); line-height: 1.5; margin: 0 0 .8rem; }

@media (max-width: 520px) {
  .rprog__step { font-size: .75rem; padding: .42rem .8rem; }
  .reservar__layout { margin-top: 1.4rem; }
}
