/* Psic. Deby Caro Bonilla — landing estática */
:root {
  --ivory: #faf7f2;
  --ivory-deep: #f3ede4;
  --lilac: #e9e0f0;
  --rose: #e9d5d3;
  --plum-dark: #443244;
  --plum: #6c496f;
  --plum-hover: #573a5a;
  --ink: #2f2430;
  --muted: #5e4f5f;
  --line: #d9cbd6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --radius: 18px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

/* Mapa del consultorio (iframe oficial de Google Maps) */
.consultorio-map {
  margin: 0.25rem 0 1.1rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.consultorio-map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 240px;
  border: 0;
}
@media (max-width: 640px) {
  .consultorio-map iframe { height: 220px; }
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--plum-dark);
  line-height: 1.15;
  margin: 0 0 .6em;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.01em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

a { color: var(--plum); text-underline-offset: .18em; }
a:hover { color: var(--plum-hover); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--plum-dark);
  color: #fff;
  padding: .75rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

main:focus { outline: none; }

.eyebrow {
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-hover); color: #fff; }
.btn-ghost { color: var(--plum-dark); border-color: transparent; text-decoration: underline; text-decoration-thickness: 1px; padding-left: .5rem; padding-right: .5rem; }
.btn-ghost:hover { color: var(--plum); }
.btn-outline { color: var(--plum-dark); border-color: var(--plum); background: transparent; }
.btn-outline:hover { background: var(--plum); color: #fff; }
.btn-small { min-height: 44px; padding: .55rem 1.2rem; font-size: .95rem; }
.btn-large { min-height: 54px; padding: 1rem 1.9rem; font-size: 1.05rem; }

@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover { transform: translateY(-1px); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .94);
  border-bottom: 1px solid rgba(68, 50, 68, .08);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(250, 247, 242, .85); backdrop-filter: blur(8px); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--plum-dark);
  min-height: 44px;
}
.brand-mark { width: 38px; height: 38px; color: var(--plum); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; }
.brand-role { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .8rem;
  color: var(--ink);
  text-decoration: none;
  font-size: .97rem;
}
.site-nav a:not(.btn):hover { color: var(--plum); text-decoration: underline; }
.nav-cta-item { margin-left: .6rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  min-width: 44px;
  padding: .5rem .9rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--plum-dark);
  font: 700 .95rem var(--sans);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(68, 50, 68, .35);
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: .75rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    gap: 0;
  }
  .js .site-nav a:not(.btn) { padding: .5rem 0; border-bottom: 1px solid rgba(68, 50, 68, .08); }
  .js .nav-cta-item { margin: 1rem 0 0; }
  .js .nav-cta-item .btn { width: 100%; }
  /* Sin JS: menú visible y envolvente */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2rem, 4.5vw, 3.75rem) 0 clamp(2.5rem, 5vw, 4.25rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
  background: var(--lilac);
  opacity: .55;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--plum); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 2rem 0 2.25rem; }
.mode-list {
  list-style: none;
  padding: 1.25rem 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 34rem;
  font-size: .95rem;
  color: var(--plum-dark);
}
.mode-list li { display: flex; align-items: center; gap: .55rem; }
.mode-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--plum); opacity: .6; }

.hero-visual {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 318px; /* marco del retrato ≈ 300px */
  padding: 18px 18px 0 0;
}
.hero-line {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 18px);
  height: auto;
  aspect-ratio: 300 / 460;
  color: var(--plum);
  opacity: .45;
  overflow: visible;
}
/* Encuadre del retrato (V3): solo la región derecha de la fotografía
   (x ≈ 490–853, y ≈ 196–740 del original 853×1280). Escala 235% ⇒ 0,8265;
   top −36% del alto del marco ≈ 162px ⇒ y₀ ≈ 196 (antes 120): menos fondo
   sobre el cabello. left −135% = −(ancho − 100%): borde derecho al ras, sin
   franja vacía. Oculta logotipo, textos, precio antiguo y teléfono. */
.portrait {
  position: relative;
  aspect-ratio: 2 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 999px 999px 22px 22px;
  background: var(--rose);
  box-shadow: 0 30px 60px -35px rgba(68, 50, 68, .55);
}
.portrait img {
  position: absolute;
  width: 235%;
  max-width: none;
  height: auto;
  left: -135%;
  top: -36%;
  pointer-events: none;
  user-select: none;
}
.portrait-caption {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--plum-dark);
}
.caption-rule { width: 48px; height: 1px; background: var(--plum); flex: none; }

/* Acompañamiento */
.about { padding: clamp(4rem, 9vw, 7.5rem) 0; background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
}
.about-intro h2 { position: sticky; top: 110px; }
.about-lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.45;
  color: var(--plum-dark);
  margin-bottom: 2rem;
}
.tcc {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}
.tcc h3 { font-size: 1.4rem; }
.tcc > p { max-width: 38rem; }
/* V3: módulo TCC interactivo */
.tcc-explorer {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: center;
  margin: 1.75rem 0 1rem;
}
.tcc-cue { margin: 0; color: var(--plum); }
.tcc-cue svg { width: 100%; height: auto; overflow: visible; }
.tcc-links { opacity: .45; }
.tcc-node circle { fill: #fff; stroke: currentColor; stroke-width: 1.4; transition: fill .2s ease; }
.tcc-node text { fill: var(--plum-dark); font-family: var(--serif); font-style: italic; font-size: 12.5px; text-anchor: middle; }
.tcc[data-active="pensamientos"] [data-node="pensamientos"] circle,
.tcc[data-active="emociones"] [data-node="emociones"] circle,
.tcc[data-active="conductas"] [data-node="conductas"] circle,
.tcc[data-active="como"] .tcc-node circle { fill: var(--plum); }
.tcc[data-active="como"] .tcc-links { opacity: .8; }
.tcc-cue figcaption { margin-top: .5rem; font-size: .85rem; line-height: 1.45; color: var(--muted); }
.tcc-hint { margin: 0 0 .6rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--plum); }
.tcc-buttons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: .5rem; }
.tcc-buttons[hidden] { display: none; }
.tcc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 48px;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
  color: var(--plum-dark);
  font: 400 1.02rem/1.2 var(--serif);
  text-align: left;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.tcc-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; border: 1.4px solid var(--plum); }
.tcc-btn--how { font-family: var(--sans); font-size: .93rem; font-weight: 700; }
.tcc-btn--how .tcc-dot { border-radius: 2px; transform: rotate(45deg); }
.tcc-btn:hover { border-color: var(--plum); background: #fff; }
.tcc-btn[aria-expanded="true"] { background: var(--plum-dark); border-color: var(--plum-dark); color: #fff; }
.tcc-btn[aria-expanded="true"] .tcc-dot { background: #fff; border-color: #fff; }
.tcc-panel {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.25rem 1.2rem 1.4rem;
  background: var(--ivory);
  border-left: 3px solid var(--plum);
  border-radius: 0 12px 12px 0;
}
.tcc-panel[hidden] { display: none; }
.tcc-panel.is-anim { animation: topicIn .28s ease-out 1; }
.tcc-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.tcc-panel-title { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--plum-dark); margin: .4rem 0 .4rem; }
.tcc-panel-text { margin: 0; max-width: 36rem; }
.tcc-close {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--plum-dark);
  cursor: pointer;
}
.tcc-close svg { width: 18px; height: 18px; }
.tcc-close:hover { background: #fff; }
.tcc-fallback[hidden] { display: none; }
.tcc-fallback { border-top: 1px solid var(--line); margin-bottom: 1.5rem; }
.tcc-fallback summary { font-size: 1.08rem; padding: .8rem 0; }
.tcc-fallback details p { padding: 0 0 .9rem; color: var(--ink); }
.tcc-outro { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
@media (max-width: 560px) {
  .tcc-explorer { grid-template-columns: 1fr; }
  .tcc-cue { max-width: 240px; }
}
@media (max-width: 400px) {
  .tcc-buttons { grid-template-columns: 1fr; }
}

/* V3: fila de WhatsApp y redes en el hero (visible sin abrir el menú) */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Mantiene los destinos de navegación por debajo del encabezado fijo. */
main section[id], #contenido { scroll-margin-top: 92px; }
.quick-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin: 0 0 1.4rem; }
.quick-contact-label { margin: 0; font-size: .9rem; color: var(--muted); }
.quick-social { list-style: none; margin: 0; padding: 0 0 0 .9rem; display: flex; gap: .4rem; border-left: 1px solid var(--line); }
.qs-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--plum);
  transition: border-color .2s ease, background-color .2s ease;
}
.qs-link svg { width: 21px; height: 21px; }
.qs-link:hover { border-color: var(--plum); color: var(--plum-hover); }
.qs-link:active { background: var(--lilac); }
@media (max-width: 360px) {
  /* En 320px la etiqueta no cabe junto a los tres iconos: se conserva la
     fila de iconos (nombres accesibles en cada enlace). */
  .quick-contact-label { display: none; }
  .quick-social { border-left: 0; padding-left: 0; }
}
.nav-cta-item .btn { white-space: nowrap; flex-shrink: 0; }
.nav-cta-item .btn .icon { width: 18px; height: 18px; }
@media (min-width: 901px) and (max-width: 1100px) {
  .site-nav a:not(.btn) { padding: 0 .5rem; font-size: .93rem; }
  .nav-cta-item { margin-left: .3rem; }
  .brand-name { font-size: 1.12rem; }
}

/* Sesiones */
.sessions { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { color: var(--muted); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}
.price-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price-panel--accent { background: var(--lilac); border-color: transparent; }
.price-panel h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: .9rem; }
.price {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 3.8rem);
  line-height: 1;
  color: var(--plum-dark);
  margin-bottom: .35rem;
}
.currency { font-family: var(--sans); font-size: 1rem; letter-spacing: .12em; color: var(--muted); }
.duration { color: var(--plum); font-weight: 700; margin-bottom: 1.4rem; }
.price-details {
  list-style: none;
  padding: 1.2rem 0 0;
  margin: 0 0 1.75rem;
  border-top: 1px solid var(--line);
  flex: 1;
}
.price-panel--accent .price-details { border-color: rgba(68, 50, 68, .18); }
.price-details li { padding: .3rem 0 .3rem 1.4rem; position: relative; }
.price-details li::before { content: ""; position: absolute; left: 0; top: .95em; width: 10px; height: 1px; background: var(--plum); }
.price-panel .btn { align-self: flex-start; }
.note { margin-top: 1.5rem; font-size: .97rem; color: var(--muted); max-width: 46rem; }

.themes {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 1rem 3rem;
  align-items: start;
}
.themes h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
/* Temas interactivos */
.topics-hint { color: var(--muted); font-size: .97rem; margin-bottom: 1rem; }
.topic-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.topic-list[hidden] { display: none; }
.topic-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem 1.1rem .5rem .85rem;
  border: 1px solid rgba(108, 73, 111, .45);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--plum-dark);
  font: 400 .98rem/1.2 var(--sans);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(68, 50, 68, .06);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.topic-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--plum);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.topic-btn:hover { border-color: var(--plum); background: #fff; box-shadow: 0 6px 14px -10px rgba(68, 50, 68, .45); }
.topic-btn:active { background: var(--lilac); }
.topic-btn[aria-expanded="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.topic-btn[aria-expanded="true"] .topic-icon { stroke: #fff; }
.topic-panel {
  margin-top: 1.1rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px -28px rgba(68, 50, 68, .45);
}
.topic-panel[hidden] { display: none; }
.topic-panel.is-anim { animation: topicIn .28s ease-out 1; }
@keyframes topicIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.topic-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.topic-panel-title { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: var(--plum-dark); margin: .35rem 0 .6rem; }
.topic-close {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--plum-dark);
  cursor: pointer;
}
.topic-close svg { width: 18px; height: 18px; }
.topic-close:hover { background: var(--lilac); }
.topic-def { color: var(--ink); }
.topic-how-label { margin: 0 0 .25rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--plum); }
.topic-how { color: var(--ink); }
.topic-foot { margin: 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
/* Respaldo sin JavaScript: definiciones legibles */
.topic-fallback[hidden] { display: none; }
.topic-fallback { border-top: 1px solid var(--line); }
.topic-fallback summary { font-size: 1.08rem; padding: .8rem 0; }
.topic-fallback details p { padding: 0 0 .8rem; }
.themes-note { grid-column: 2; color: var(--muted); font-size: .97rem; margin-top: .5rem; }

/* Proceso */
.process {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  background: var(--plum-dark);
  color: #f4ecf3;
}
.section-head--light h2 { color: #fff; }
.section-head--light .eyebrow { color: var(--rose); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 4rem);
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(233, 213, 211, .25);
}
.step:nth-child(even) { transform: translateY(2.5rem); }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--rose);
  min-width: 3.2rem;
}
.step h3 { color: #fff; font-size: 1.3rem; margin-bottom: .45rem; }
.step p { margin: 0; color: #e6d9e4; }

/* FAQ */
.faq { padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(4rem, 9vw, 7.5rem); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
}
.faq-intro p:last-child { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1.15rem 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--plum-dark);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 1.2rem;
  color: var(--plum);
}
details[open] summary::after { content: "−"; background: var(--lilac); border-color: transparent; }
summary:hover { color: var(--plum); }
details p { padding: 0 3rem 1.3rem 0; color: var(--muted); margin: 0; }

/* Contacto */
.contact { padding: clamp(4rem, 9vw, 7.5rem) 0; background: var(--rose); position: relative; overflow: hidden; }
.contact::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(68, 50, 68, .18);
  border-radius: 50%;
  pointer-events: none;
}
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.contact-main > p { color: var(--ink); max-width: 34rem; }
.contact .eyebrow { color: var(--plum-dark); }
.wa-number { margin-top: 1rem; font-size: .97rem; }
.nowrap { white-space: nowrap; }
.channel-note { margin-top: 1.75rem; max-width: 34rem; font-size: .94rem; color: var(--ink); }
.channel-line { margin: 0; }
.channel-details { border: 0; }
.channel-details summary {
  display: inline-flex;
  justify-content: flex-start;
  gap: .45rem;
  min-height: 44px;
  padding: 0;
  font-family: var(--sans);
  font-size: .94rem;
  color: var(--plum-dark);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.channel-details summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  border-radius: 0;
  transform: rotate(45deg) translateY(-2px);
  background: none;
}
.channel-details[open] summary::after { content: ""; background: none; transform: rotate(-135deg) translateY(-1px); }
.channel-details p { padding: 0 0 .5rem; color: var(--ink); font-size: .94rem; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  background: var(--ivory);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
}
.contact-card h3 { margin-bottom: .4rem; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .45rem 1.1rem .45rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  color: var(--plum-dark);
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.social a:hover { border-color: var(--plum); color: var(--plum); }
.social a:active { background: var(--lilac); }
.social-icon { width: 22px; height: 22px; flex: none; color: var(--plum); }

/* Footer */
.site-footer {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  font-size: .95rem;
  color: var(--muted);
}
.footer-main { padding: 2.25rem 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 2rem;
}
.footer-inner p { margin: 0; }
.footer-brand { font-family: var(--serif); color: var(--plum-dark); font-size: 1.1rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; }
.link-button {
  background: none;
  border: 0;
  padding: 0;
  min-height: 44px;
  font: inherit;
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}
.link-button:hover { color: var(--plum-hover); }
/* Crédito de estudio — Quiet Motion */
.studio-credit {
  background: #2a1d2b;
  color: #eadfe8;
  padding: clamp(2rem, 4vw, 2.75rem) 0 calc(clamp(2rem, 4vw, 2.75rem) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(233, 213, 211, .12);
}
.studio-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem clamp(1.5rem, 4vw, 3rem);
}
.studio-logo { width: clamp(200px, 22vw, 240px); height: auto; }
.studio-text p { margin: 0; }
.studio-line { font-family: var(--serif); font-size: 1.15rem; color: #fff; }
.studio-line strong { font-weight: 400; font-style: italic; }
.studio-small { margin-top: .3rem !important; font-size: .87rem; color: #cdbccb; }
.studio-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .55rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.studio-link:hover { background: #fff; color: #2a1d2b; border-color: #fff; }
.studio-link:focus-visible { outline-color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Diálogo de privacidad */
.privacy-dialog {
  width: min(560px, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(47, 36, 48, .5);
}
.privacy-dialog::backdrop { background: rgba(47, 36, 48, .55); }
.dialog-inner { padding: clamp(1.5rem, 4vw, 2.25rem); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.dialog-head h2 { font-size: 1.7rem; margin: .3rem 0 0; }
.dialog-close {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--plum-dark);
  cursor: pointer;
}
.dialog-close svg { width: 20px; height: 20px; }
.dialog-close:hover { background: var(--lilac); }
.dialog-small { font-size: .95rem; color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .hero::before { width: 100%; top: auto; height: 42%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 258px; } /* marco ≈ 240px */
  .about-grid, .faq-grid, .contact-grid, .themes { grid-template-columns: 1fr; }
  .about-intro h2 { position: static; }
  .themes-note { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { transform: none; }
  .faq { padding-top: clamp(4rem, 9vw, 7.5rem); }
}
@media (max-width: 640px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-panel .btn { align-self: stretch; }
  .hero-actions .btn-primary { width: 100%; }
  .brand-name { font-size: 1.1rem; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  details p { padding-right: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 1rem; }
  .btn { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* V2: progreso de lectura y sección activa */
.read-progress { display: none; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.js .read-progress { display: block; }
.read-progress-bar { display: block; height: 100%; background: var(--plum); opacity: .7; transform: scaleX(0); transform-origin: 0 50%; }
.site-nav a:not(.btn)[aria-current] { color: var(--plum); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .45em; }

/* V2: contacto fijo compacto (solo con JS, fuera del hero y antes de contacto) */
.sticky-wa[hidden] { display: none; }
.sticky-wa {
  position: fixed;
  z-index: 40;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 12px 26px -12px rgba(47, 36, 48, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.sticky-wa .icon { width: 20px; height: 20px; flex: none; }
.sticky-wa.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sticky-wa:hover { background: var(--plum-hover); color: #fff; }
.sticky-wa:focus-visible { outline-color: var(--plum-dark); }

/* V2: apariciones al desplazar. Solo ocultan si JS + IntersectionObserver
   activaron .reveal-ready y no hay movimiento reducido. */
.reveal-ready .reveal { opacity: 0; translate: 0 14px; transition: opacity .6s ease, translate .6s ease; }
.reveal-ready .reveal.is-revealed { opacity: 1; translate: none; }

@media (max-width: 900px) {
  .studio-inner { grid-template-columns: 1fr; justify-items: start; gap: 1rem; }
}
@media (max-width: 640px) {
  .sticky-wa { padding: 0; width: 52px; height: 52px; justify-content: center; }
  .sticky-wa .icon { width: 22px; height: 22px; }
  .sticky-wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topic-btn { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-ready .reveal { opacity: 1; translate: none; }
}
