/* Terapias de sanación emocional y acompañamiento — estilos propios de /terapias/.
 *
 * 1-oct-2026. Diseño del director de arte (Gemini): "El Camino de los Orígenes": una sola
 * columna que se recorre de arriba abajo, mucho aire, filetes finos de oro y tarjetas de
 * borde suave. Aquí solo se construye lo que él midió: ancho máximo 1100 px, letra de
 * lectura de 18 px, títulos de 28 px en celular y 36 px en computador, tarjetas de 12 px
 * de radio y botones de 44 px de alto o más.
 *
 * Por qué un archivo aparte: tailwind.css va purgado y /assets se sirve inmutable a un
 * año; una hoja nueva tiene nombre nuevo y no toca nada de lo que ya funciona (mismo
 * criterio que proceso-privado.css y taller.css).
 *
 * Colores: los de la marca (custom.css :root), con su valor de respaldo al lado.
 * Leyes de la casa: nada de letra por debajo de 16 px; el rojo, solo en los botones.
 */

.pagina-terapias {
  --te-oro: var(--oro, #c9a96a);
  --te-oro-texto: var(--oro-deep, #6b5018);
  --te-tinta: var(--marron-deep, #2a1808);
  --te-texto: var(--marron-2, #5a3a22);
  --te-vino: var(--vinotinto, #6b1f2e);
  --te-papel: var(--crema-page, #fdfaf3);
}

.te-ancho { max-width: 1100px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.te-angosto { max-width: 760px; }
.te-seccion { padding-top: 3rem; padding-bottom: 3rem; }
.te-fondo-2 { background: var(--crema, #f7f1e3); border-top: 1px solid rgba(201, 169, 106, .35); border-bottom: 1px solid rgba(201, 169, 106, .35); }
.te-fondo-1 { background: var(--te-papel); }
@media (min-width: 768px) {
  .te-ancho { padding-left: 24px; padding-right: 24px; }
  .te-seccion { padding-top: 4.5rem; padding-bottom: 4.5rem; }
}

/* ── Antetítulo, título, filete y texto ──────────────────────────────────── */
.te-ante {
  display: block; text-align: center;
  font-size: 1rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--te-oro-texto); margin: 0 0 .9rem;
}
.te-titulo {
  font-family: Lora, Georgia, serif; font-weight: 700; color: var(--te-tinta);
  font-size: 1.75rem; line-height: 1.22; text-align: center; text-wrap: balance;
  margin: 0 auto 1rem; max-width: 22em;
}
.te-titulo em, .te-h1 em { font-style: italic; font-weight: 600; color: var(--te-vino); }
.te-filete { display: block; width: 56px; height: 1px; background: var(--te-oro); margin: 0 auto 1.4rem; border: 0; }
.te-texto { font-size: 1.125rem; line-height: 1.7; color: var(--te-texto); margin: 0 0 1rem; }
.te-centro { text-align: center; margin-left: auto; margin-right: auto; max-width: 40rem; }
@media (min-width: 768px) { .te-titulo { font-size: 2.25rem; } }

/* ── Cabecera ────────────────────────────────────────────────────────────── */
.te-cabecera { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.te-cabecera .te-ante { text-align: left; }
.te-h1 {
  font-family: Lora, Georgia, serif; font-weight: 700; color: var(--te-tinta);
  font-size: 2rem; line-height: 1.18; text-wrap: balance; margin: 0 0 1.1rem;
}
.te-retrato { max-width: 420px; margin: 0 auto; width: 100%; }
.te-retrato img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 12px; border: 1px solid rgba(201, 169, 106, .7);
  box-shadow: 0 18px 40px -22px rgba(58, 36, 16, .55);
}
.te-retrato figcaption { font-size: 1rem; line-height: 1.5; color: var(--te-texto); text-align: center; margin-top: .8rem; }
.te-ficha { list-style: none; margin: 1.4rem 0 1.6rem; padding: 0; border-top: 1px solid rgba(201, 169, 106, .5); }
.te-ficha li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .7rem 0; border-bottom: 1px solid rgba(201, 169, 106, .5);
  font-size: 1.125rem; line-height: 1.5; color: var(--te-texto);
}
.te-ficha li i { color: var(--te-oro-texto); width: 1.4rem; flex-shrink: 0; margin-top: .3rem; text-align: center; }
.te-ficha strong { color: var(--te-tinta); }
.te-acciones { display: flex; flex-direction: column; gap: .9rem; align-items: stretch; }
.te-enlace { color: var(--te-vino); font-weight: 600; font-size: 1.125rem; text-decoration: underline; text-underline-offset: 3px; }
.te-enlace:hover, .te-enlace:focus-visible { color: var(--te-tinta); }
@media (min-width: 768px) {
  .te-cabecera { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; }
  .te-h1 { font-size: 2.75rem; }
  .te-acciones { flex-direction: row; align-items: center; gap: 1.4rem; }
  .te-acciones .te-boton { white-space: nowrap; }
}

/* ── Botón (el rojo de la marca; aquí solo se le asegura el alto para el dedo) ─ */
.te-boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem; font-size: 1.0625rem; line-height: 1.25;
  text-align: center; border-radius: 10px; flex-wrap: wrap;
}
/* El precio viaja en su propia pieza: si en celular no cabe en el renglón, baja entero
   (antes bajaba con el punto separador por delante, suelto al empezar la línea). */
.te-boton-precio { font-weight: 800; white-space: nowrap; }

/* ── La puerta de entrada (asesoría) ─────────────────────────────────────── */
.te-puerta {
  background: var(--te-papel); border: 1px solid rgba(201, 169, 106, .7); border-radius: 12px;
  padding: 1.8rem 1.3rem; text-align: center;
}
.te-puerta .te-texto { max-width: 36rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .te-puerta { padding: 2.6rem 2.4rem; } }

/* ── Los ocho temas ──────────────────────────────────────────────────────── */
.te-temas { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin-top: 2.2rem; }
@media (min-width: 768px) { .te-temas { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
/* 2-oct-2026: la portada manda a cada tema por su ancla (#tema-…); que no quede pegado arriba. */
.te-tema[id], #acompanamiento, #temas, #empezar { scroll-margin-top: 16px; }
.te-tema:target { border-color: var(--te-vino); box-shadow: 0 0 0 2px var(--te-vino); }
.te-tema {
  display: flex; flex-direction: column;
  background: var(--te-papel); border: 1px solid rgba(201, 169, 106, .7); border-radius: 12px;
  overflow: hidden; box-shadow: 0 14px 34px -26px rgba(58, 36, 16, .6);
}
.te-tema-foto { margin: 0; position: relative; }
.te-tema-foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.te-tema-icono {
  position: absolute; left: 1.2rem; bottom: -1.4rem;
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--te-papel); border: 1px solid var(--te-oro); color: var(--te-oro-texto); font-size: 1.1rem;
}
.te-tema-cuerpo { display: flex; flex-direction: column; flex: 1; padding: 2.1rem 1.3rem 1.5rem; }
.te-tema-paso { font-size: 1rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--te-oro-texto); margin: 0 0 .35rem; }
.te-tema h3 {
  font-family: Lora, Georgia, serif; font-weight: 700; color: var(--te-tinta);
  font-size: 1.45rem; line-height: 1.25; margin: 0 0 .7rem; text-wrap: balance;
}
.te-tema h3 em { font-style: italic; font-weight: 600; color: var(--te-vino); }
.te-tema-pregunta { font-size: 1.125rem; line-height: 1.55; font-weight: 600; color: var(--te-tinta); margin: 0 0 .6rem; }
.te-tema-desc { font-size: 1.125rem; line-height: 1.65; color: var(--te-texto); margin: 0 0 1.3rem; }
.te-tema-datos { font-size: 1rem; line-height: 1.5; color: var(--te-oro-texto); font-weight: 600; margin: auto 0 .8rem; }
.te-tema .te-boton { width: 100%; }
.te-tema-leer { display: block; margin-top: .5rem; font-size: 1rem; }
@media (min-width: 768px) { .te-tema-cuerpo { padding: 2.2rem 1.7rem 1.8rem; } }

/* ── Acompañamiento ──────────────────────────────────────────────────────── */
.te-acomp { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.te-acomp .te-ante, .te-acomp .te-titulo { text-align: left; margin-left: 0; }
.te-acomp .te-filete { margin-left: 0; }
.te-acomp-foto { margin: 0; }
.te-acomp-foto img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 12px; border: 1px solid rgba(201, 169, 106, .7);
}
.te-precio { font-family: Lora, Georgia, serif; font-size: 1.3rem; font-weight: 700; color: var(--te-tinta); margin: 0 0 1rem; }
.te-ritmos { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2.2rem 0; }
.te-ritmo {
  background: var(--te-papel); border: 1px solid rgba(201, 169, 106, .7); border-radius: 12px;
  padding: 1.3rem 1.25rem;
}
.te-ritmo h3 { font-family: Lora, Georgia, serif; font-size: 1.25rem; font-weight: 700; color: var(--te-tinta); margin: 0 0 .4rem; }
.te-ritmo h3 i { color: var(--te-oro-texto); margin-right: .5rem; font-size: 1.05rem; }
.te-ritmo p { font-size: 1.125rem; line-height: 1.6; color: var(--te-texto); margin: 0; }
@media (min-width: 768px) {
  .te-acomp { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .te-ritmos { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
}

/* ── Cuál es para ti ─────────────────────────────────────────────────────── */
.te-elegir { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid rgba(201, 169, 106, .6); }
.te-elegir li { display: grid; grid-template-columns: 1fr; gap: .35rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(201, 169, 106, .6); }
.te-elegir .si { font-size: 1.125rem; line-height: 1.55; color: var(--te-texto); }
.te-elegir .si::before { content: "Si "; font-weight: 600; color: var(--te-oro-texto); }
.te-elegir .entonces { font-family: Lora, Georgia, serif; font-size: 1.2rem; line-height: 1.45; font-weight: 700; color: var(--te-tinta); }
.te-elegir .entonces a { color: var(--te-vino); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) { .te-elegir li { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; } }
.te-nota { font-size: 1.125rem; line-height: 1.7; color: var(--te-texto); text-align: center; margin: 2rem auto 0; max-width: 40rem; }

/* ── Preguntas ───────────────────────────────────────────────────────────── */
.te-preguntas { margin-top: 2rem; }
.te-pregunta { background: var(--te-papel); border: 1px solid rgba(201, 169, 106, .6); border-radius: 12px; padding: 1.1rem 1.25rem; margin-bottom: .9rem; }
.te-pregunta summary { font-family: Lora, Georgia, serif; font-size: 1.2rem; line-height: 1.4; font-weight: 700; color: var(--te-tinta); cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.te-pregunta p { font-size: 1.125rem; line-height: 1.7; color: var(--te-texto); margin: .7rem 0 .2rem; }

/* ── Avisos legales ──────────────────────────────────────────────────────── */
.te-legal { background: var(--crema, #f7f1e3); border: 1px solid rgba(90, 58, 34, .16); border-radius: 12px; padding: 1.2rem 1.3rem; margin-bottom: .8rem; }
.te-legal p { font-size: 1.0625rem; line-height: 1.65; color: var(--te-texto); margin: 0; }
.te-legal strong { color: var(--te-tinta); }
.te-legal a { color: var(--te-vino); text-decoration: underline; }
