/* Sanación Pránica en la provincia de Marga Marga, sitio v3 "Aura clara".
   Paleta clara y aireada (dirección estilo globalpranichealing), acento violeta del logo
   (berenjena #4A004A, magenta #711D71), neutros lavanda + arena.
   Display: Marcellus. Cuerpo: Atkinson Hyperlegible (legibilidad para baja visión).
   Firma visual: halo de aura suave + anillos concéntricos como sello (el círculo es
   ornamento, nunca antepuesto a texto donde se lea como "O"). */

:root {
  --ground: #FBF8FB;
  --surface: #FFFFFF;
  --surface-alt: #F3ECF4;
  --arena: #F6F0E7;
  --ink: #2C2530;
  --ink-soft: #5C5566;
  --ink-faint: #8A8194;
  --rule: #E8E0EC;

  --berenjena: #4A004A;
  --magenta: #711D71;
  --magenta-suave: #F3E9F3;
  --oliva: #52763C;
  --oliva-suave: #EDF2E7;

  --noche: #33103A;
  --noche-borde: #532a59;
  --noche-texto: #F4ECF4;
  --noche-texto-suave: #CFBBD0;

  --display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --cuerpo: "Atkinson Hyperlegible", "Segoe UI", system-ui, Arial, sans-serif;

  --medida: 66ch;
  --radio: 14px;
  --pildora: 999px;
  --sombra: 0 1px 2px rgba(60, 40, 70, 0.05), 0 12px 34px -14px rgba(74, 0, 74, 0.13);
}

/* v3 "Aura clara" es claro-solo: no hay modo oscuro (se veía oscuro si el SO estaba en
   dark). Si algún día se quiere un dark mode, se diseña derivado del claro, no el viejo. */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--cuerpo);
  font-size: 18px;
  line-height: 1.65;
}

@media (min-width: 40rem) { body { font-size: 19px; } }

img, svg { max-width: 100%; height: auto; }

a { color: var(--magenta); text-underline-offset: 3px; }
a:hover { color: var(--berenjena); }

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

::selection { background: var(--magenta-suave); }

/* ---------- estructura ---------- */

.envoltura {
  width: 100%;
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.franja { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.franja--velo { background: var(--surface-alt); }
.franja--arena { background: var(--arena); }

.texto { max-width: var(--medida); }

/* ---------- tipografía ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
  letter-spacing: 0.005em;
  margin: 0 0 0.55em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.15rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.bajada {
  font-size: clamp(1.12rem, 2.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.rotulo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Marcador del rótulo: línea corta, no un círculo (evita leerse como "O" antes del texto). */
.rotulo::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  flex: none;
}

.menudo { font-size: 0.9rem; color: var(--ink-soft); }

.fuente {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* descargo del blog: quién escribe y a quién no representa (recuadro, 2026-10-26) */
.descargo {
  border-left: 4px solid var(--berenjena);
  background: var(--magenta-suave);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radio) var(--radio) 0;
  margin: 2rem 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.descargo strong { color: var(--ink); }
.portada .descargo { margin: 1.8rem auto 0; max-width: 62ch; text-align: left; }
/* el post va sobre fondo velo, casi del mismo tono: ahí el recuadro va en blanco */
.franja--velo .descargo { background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--berenjena); }

/* ---------- encabezado ---------- */

.encabezado {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}

.encabezado .envoltura {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.marca {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

/* El logo ya trae su propio disco blanco (versión para fondos oscuros).
   La moneda blanca CSS queda como marco sutil del emblema. */
.marca img {
  width: clamp(66px, 9vw, 96px);
  height: auto;
  flex: none;
  background: #FFFFFF;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 0 0 1px var(--rule);
}

.marca-texto { display: flex; flex-direction: column; line-height: 1.15; }
.marca-texto b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
}
.marca-texto span {
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--ink-faint);
}

.navegacion {
  display: flex;
  align-items: center;
  gap: 0.4rem 1.4rem;
  flex-wrap: wrap;
}
.navegacion a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 0.55rem 0;
}
.navegacion a:hover { color: var(--magenta); text-decoration: underline; }
.navegacion a[aria-current="page"] { color: var(--magenta); font-weight: 700; }
.navegacion a.boton { padding: 0.65rem 1.3rem; font-size: 0.95rem; color: #FFFFFF; }
.navegacion a.boton:hover { color: #FFFFFF; text-decoration: none; }

/* ---------- héroe con halo ---------- */

.portada {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
  text-align: center;
}

.portada .texto { margin-left: auto; margin-right: auto; }
.portada .bajada { margin-left: auto; margin-right: auto; max-width: 54ch; }

.aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(62rem, 130vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(113, 29, 113, 0.14), transparent 60%),
    radial-gradient(closest-side, rgba(82, 118, 60, 0.09), transparent 80%);
  animation: respira 9s ease-in-out infinite;
  pointer-events: none;
}

.aura::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(113, 29, 113, 0.22);
  border-radius: 50%;
}

@keyframes respira {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50% { transform: translate(-50%, -50%) scale(1.055); opacity: 1; }
}

.portada > .envoltura { position: relative; }

.acciones {
  display: flex;
  gap: 0.9rem 1.4rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ---------- router de tres caminos (home) ---------- */

.router {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
  text-align: left;
}

.router-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radio);
  padding: 2rem 1.7rem 1.8rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--sombra);
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.router-card:hover {
  transform: translateY(-3px);
  border-color: var(--magenta);
  box-shadow: 0 1px 2px rgba(60,40,70,0.05), 0 18px 40px -16px rgba(74,0,74,0.28);
}

/* Sello concéntrico: el círculo como ornamento (no como letra). */
.sello {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--magenta);
  border-radius: 50%;
  margin-bottom: 0.4rem;
  flex: none;
}
.sello::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--magenta);
}
.router-card:nth-child(2) .sello { border-color: var(--oliva); }
.router-card:nth-child(2) .sello::before { background: var(--oliva); }
.router-card:nth-child(3) .sello { border-color: var(--berenjena); }
.router-card:nth-child(3) .sello::before { background: var(--berenjena); }

.router-card h2 { font-size: 1.3rem; margin: 0; }
.router-card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.router-card .enlace-flecha { margin-top: auto; padding-top: 0.4rem; }

/* halo tenue de fondo en cada tarjeta */
.router-card::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  top: -3.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--magenta-suave), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

/* franja destacada de la sesión mensual (fuera del router) */
.destacado {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--magenta);
  border-radius: var(--radio);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--sombra);
}
.destacado .texto { max-width: 40ch; }
.destacado h3 { margin: 0 0 0.3rem; }
.destacado p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- botones ---------- */

.boton {
  display: inline-block;
  background: var(--berenjena);
  color: #FFFFFF;
  padding: 0.95rem 1.9rem;
  border: 2px solid var(--berenjena);
  border-radius: var(--pildora);
  text-decoration: none;
  font-family: var(--cuerpo);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.boton:hover {
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--sombra);
}
.boton:active { transform: translateY(0); }

.boton--linea {
  background: transparent;
  color: var(--berenjena);
}
.boton--linea:hover { color: var(--berenjena); }

.enlace-flecha {
  font-weight: 700;
  text-decoration: none;
}
.enlace-flecha::after { content: " →"; }
.enlace-flecha:hover { text-decoration: underline; }
.enlace-flecha--atras::after { content: none; }
.enlace-flecha--atras::before { content: "← "; }

/* navegación entre módulos del curso de meditación */
.modnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

/* ---------- la ruta (tres pasos, anillos hacia el centro) ---------- */

.ruta {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.5rem;
}

.ruta li {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radio);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--sombra);
}

.ruta .anillo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 1.1rem;
}

/* Paso 1: anillo abierto. Paso 2: anillo con centro. Paso 3: centro lleno.
   El camino va hacia adentro. */
.ruta li:nth-child(1) .anillo { border: 2.5px solid var(--magenta); }
.ruta li:nth-child(2) .anillo { border: 2.5px solid var(--magenta); }
.ruta li:nth-child(2) .anillo::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--magenta);
}
.ruta li:nth-child(3) .anillo { background: var(--berenjena); }

.ruta .paso {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}

.ruta h3 { margin-bottom: 0.4em; }
.ruta p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- tarjetas de personas (roles) ---------- */

.personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.persona {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radio);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--sombra);
}

.persona .cargo {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--oliva);
  margin-bottom: 0.3rem;
}

.persona h3 { margin-bottom: 0.5em; }
.persona p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- bloque instructor (foto + bio) ---------- */

.instructor {
  display: grid;
  grid-template-columns: minmax(0, 15rem) 1fr;
  gap: 2.25rem;
  align-items: start;
  margin-top: 2.25rem;
}
.instructor img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}
.instructor .cargo {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--oliva);
  margin-bottom: 0.3rem;
}
.instructor h3 { margin: 0 0 0.4em; }
@media (max-width: 640px) {
  .instructor { grid-template-columns: 1fr; gap: 1.5rem; }
  .instructor img { max-width: 14rem; }
}

/* ---------- video responsivo (16:9) ---------- */

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  margin-top: 1.75rem;
  background: var(--noche);
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  padding: 1.5rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--berenjena), var(--noche));
}
.video-poster .play {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.75);
  font-size: 1.5rem;
  padding-left: 5px;
  transition: background 0.2s ease;
}
.video-poster:hover .play,
.video-poster:focus-visible .play { background: rgba(255, 255, 255, 0.3); }
.video-poster .etq { font-size: 1.02rem; max-width: 24rem; line-height: 1.4; }
.rotulo--video { display: block; margin-top: 2.5rem; }

/* ---------- listas ---------- */

.lista-marcas { padding-left: 0; list-style: none; margin: 0 0 1.1em; }
.lista-marcas li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
}
.lista-marcas li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border: 2px solid var(--magenta);
  border-radius: 50%;
}

/* ---------- ficha de datos del curso ---------- */

.ficha {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radio);
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: var(--sombra);
}
.ficha > div { background: var(--surface); padding: 1.1rem 1.2rem; }
.ficha dt {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.ficha dd { margin: 0; font-size: 1.3rem; font-family: var(--display); }
.ficha dd small { font-size: 0.85rem; font-family: var(--cuerpo); color: var(--ink-soft); }

/* ---------- preguntas frecuentes ---------- */

.faq { margin-top: 1.5rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radio);
  margin-bottom: 0.8rem;
}
.faq summary {
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--magenta);
  flex: none;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* ---------- franja noche (inscripción) ---------- */

.franja--noche {
  position: relative;
  overflow: hidden;
  background: var(--noche);
  color: var(--noche-texto);
}

.franja--noche::before {
  content: "";
  position: absolute;
  right: -12rem;
  top: -12rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(113, 29, 113, 0.35), transparent 70%);
  pointer-events: none;
}

.franja--noche .envoltura { position: relative; }
.franja--noche h2, .franja--noche h3 { color: #FFFFFF; }
.franja--noche p { color: var(--noche-texto-suave); }
.franja--noche .rotulo { color: #DDB4DD; }
.franja--noche a { color: #E9C8E9; }
/* La ficha trae fondo claro propio, así que sus enlaces vuelven al magenta. */
.franja--noche .ficha-estudio a { color: var(--magenta); }

.dos-columnas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 2.5rem;
  align-items: start;
}

/* ---------- formulario ---------- */

.formulario {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radio);
  padding: clamp(1.4rem, 4vw, 2.1rem);
  max-width: 33rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  box-shadow: var(--sombra);
  color: var(--ink);
}

.formulario p { color: var(--ink-soft); }

.campo { display: flex; flex-direction: column; gap: 0.4rem; }
#beneficiario { display: flex; flex-direction: column; gap: 1.15rem; }
#beneficiario[hidden] { display: none; }
.campo label { font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.campo .ayuda { font-size: 0.84rem; color: var(--ink-faint); }

.campo--check .check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.campo--check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 0.15rem;
  flex: none;
  accent-color: var(--berenjena);
}

/* Grupos de elección múltiple como pastillas (minimizan texto libre). */
.campo fieldset { border: 0; padding: 0; margin: 0; }
.campo legend { font-weight: 700; font-size: 0.98rem; color: var(--ink); padding: 0; margin-bottom: 0.55rem; }
.opciones { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opcion { position: relative; display: inline-flex; cursor: pointer; }
.opcion input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.opcion span {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--pildora);
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--surface);
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.opcion input:checked + span {
  background: var(--berenjena);
  border-color: var(--berenjena);
  color: #FFFFFF;
}
.opcion input:focus-visible + span {
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--ground);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  width: 100%;
  min-height: 48px;
}
textarea { min-height: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--magenta); outline-offset: 1px; }

.formulario .boton { align-self: flex-start; }

/* Dos campos lado a lado que se apilan en el celular, y la ficha de inscripción del curso. */
.fila-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.15rem; }
.fila-campos > * { min-width: 0; }
.ficha-curso { display: flex; flex-direction: column; gap: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--rule); }
.ficha-curso[hidden] { display: none; }
.formulario .ficha-curso-titulo { font-weight: 700; font-size: 1.05rem; color: var(--ink); margin: 0; }

/* ---------- avisos (encuadre complementario) ---------- */

.aviso {
  border-left: 4px solid var(--oliva);
  background: var(--oliva-suave);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radio) var(--radio) 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 2rem 0;
}
.aviso strong { color: var(--ink); }

.franja--noche .aviso {
  background: rgba(255, 255, 255, 0.06);
  color: var(--noche-texto-suave);
  border-left-color: var(--oliva);
}
.franja--noche .aviso strong { color: var(--noche-texto); }

/* ---------- cita ancla de credibilidad ---------- */

.ancla {
  border: 1px solid var(--rule);
  border-radius: var(--radio);
  background: var(--magenta-suave);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  font-size: 1.05rem;
}
.ancla strong { color: var(--berenjena); }

/* ---------- pie ---------- */

.pie {
  background: var(--surface-alt);
  border-top: 1px solid var(--rule);
  padding: 3rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
/* Pie centrado bajo la tarjeta de logos (2026-11-05): todo comparte el mismo eje */
.pie .envoltura { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.pie p { margin: 0; }
/* Logos del IIS y de Pranic Healing como en el pie de sanacionpranicacursos.cl: tarjeta blanca */
.pie-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 3rem;
  width: 100%;
  max-width: 40rem;
  padding: 1.2rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
}
.pie-logos img { height: 52px; width: auto; }
.pie-logos .logo-iis { height: 36px; }
.pie h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
  color: var(--ink);
}
.pie-nav { display: flex; justify-content: center; gap: 0.5rem 1.2rem; flex-wrap: wrap; max-width: 40rem; }
.pie-nav a { color: var(--ink-soft); }
.pie-legal { font-size: 0.8rem; line-height: 1.6; color: var(--ink-faint); max-width: 40rem; }
.pie-legal + .pie-legal { margin-top: -0.5rem; }

/* ---------- blog ---------- */

.buscador {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 28rem;
  margin-top: 1.8rem;
}
.buscador input {
  flex: 1;
}

.chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}
.chip {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--pildora);
  padding: 0.5rem 1.15rem;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--berenjena);
  border-color: var(--berenjena);
  color: #FFFFFF;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tarjeta-blog {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radio);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--sombra);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.tarjeta-blog:hover { transform: translateY(-2px); border-color: var(--magenta); }
.tarjeta-blog svg { display: block; width: 100%; height: auto; }
.tarjeta-blog img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tarjeta-blog .cuerpo {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tarjeta-blog h3 { margin: 0; font-size: 1.22rem; }
.tarjeta-blog .cuerpo p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

.etiqueta-cat {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--oliva);
}
.etiqueta-cat--pranica { color: var(--magenta); }

.meta-post { font-size: 0.86rem; color: var(--ink-faint); }

.sin-resultados { display: none; color: var(--ink-soft); margin-top: 2rem; }

.arte-post {
  border-radius: var(--radio);
  overflow: hidden;
  margin: 2.25rem 0;
  box-shadow: var(--sombra);
}
.arte-post svg { display: block; width: 100%; height: auto; }
.arte-post img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.articulo h2 { margin-top: 1.9em; }
.articulo blockquote {
  margin: 1.7em 0;
  padding: 0.15em 0 0.15em 1.3em;
  border-left: 3px solid var(--magenta);
  color: var(--ink-soft);
}
.articulo blockquote p { font-style: italic; }
.articulo blockquote cite { font-style: normal; font-size: 0.9rem; color: var(--ink-faint); }

.cta-post {
  background: var(--magenta-suave);
  border: 1px solid var(--rule);
  border-radius: var(--radio);
  padding: 1.7rem 1.8rem;
  margin-top: 3rem;
}
.cta-post h2 { margin-top: 0; font-size: 1.4rem; }
.cta-post .boton { margin-top: 0.5rem; }

/* ---------- sigue leyendo (relacionados) ---------- */
.relacionados {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.relacionados h2 { font-size: 1.25rem; margin: 0 0 0.9rem; }
.relacionados ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.relacionados a { color: var(--magenta); font-weight: 700; text-decoration: none; }
.relacionados a:hover, .relacionados a:focus-visible { text-decoration: underline; }

/* ---------- ficha de estudio ----------
   Caja de especificaciones para cualquier artículo que reporte un estudio. Existe para que
   el rigor lo comunique la estructura y no una frase que lo reclame: diseño, n, cegamiento,
   financiamiento y, obligatorio, la fila "Alcance" (class="limite"), que dice para qué sirve
   el trabajo y qué preguntas deja abiertas. La fila se llama Alcance y NO "Qué no prueba":
   ver en CLAUDE.md las reglas de auto-aval preventivo y de nunca desmerecer trabajo ajeno. */
.ficha-estudio {
  /* Se usa dentro de franjas claras y de la franja--noche, así que fija su propio color
     de texto: sin esto los dd heredan el color claro de la noche y quedan invisibles. */
  color: var(--ink);
  margin: 2.2rem 0;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--oliva);
  border-radius: var(--radio);
  background: var(--oliva-suave);
  font-size: 0.97rem;
}
.ficha-estudio h3 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ficha-estudio dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(8.5rem, auto) 1fr;
  gap: 0.55rem 1.2rem;
}
.ficha-estudio dt {
  font-weight: 700;
  color: var(--ink-soft);
}
.ficha-estudio dd { margin: 0; }
.ficha-estudio dt.limite, .ficha-estudio dd.limite { color: var(--berenjena); }
.ficha-estudio dd.limite { font-weight: 700; }
@media (max-width: 34rem) {
  .ficha-estudio dl { grid-template-columns: 1fr; gap: 0.15rem; }
  .ficha-estudio dd { margin-bottom: 0.7rem; }
}

/* ---------- utilidades ---------- */

/* Oculta visualmente pero mantiene el texto para lectores de pantalla. */
.visualmente-oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.centrado { text-align: center; }
.centrado .texto, .centrado .rotulo { margin-left: auto; margin-right: auto; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* 2026-09-25: aviso del próximo curso en la portada y llamado destacado */
.anuncio {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem;
  margin: 1.5rem 0 0.5rem; padding: 0.85rem 1.2rem;
  background: var(--noche); color: var(--noche-texto);
  border-radius: var(--radio); text-decoration: none; font-size: 1.02rem;
}
.anuncio:hover { background: var(--berenjena); }
.anuncio u { text-underline-offset: 3px; }
.anuncio-rotulo {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #DDB4DD; font-weight: 700;
}
.llamado {
  font-family: var(--display); font-size: 1.55rem; line-height: 1.25;
  color: var(--magenta); margin: 1.5rem 0;
}

/* ---------- sesion.html: Meditación en Corazones Gemelos (2026-10-12) ---------- */

/* Firma de la página: dos anillos que se cruzan; el cruce es lo único con relleno. */
.corazones {
  display: block;
  width: min(19rem, 70vw);
  margin: 0 auto 1.4rem;
  overflow: visible;
}
.corazones .anillo-izq { animation: acerca-izq 9s ease-in-out infinite; }
.corazones .anillo-der { animation: acerca-der 9s ease-in-out infinite; }
@keyframes acerca-izq { 50% { transform: translateX(4px); } }
@keyframes acerca-der { 50% { transform: translateX(-4px); } }

/* El recorrido sí es una secuencia: una línea vertical une los cinco momentos. */
.recorrido {
  list-style: none;
  counter-reset: momento;
  margin: 2.2rem 0 0;
  padding: 0;
  position: relative;
}
.recorrido::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: linear-gradient(var(--magenta), var(--oliva));
  opacity: 0.35;
}
.recorrido li {
  counter-increment: momento;
  position: relative;
  padding: 0 0 1.9rem 4rem;
}
.recorrido li:last-child { padding-bottom: 0; }
.recorrido li::before {
  content: counter(momento);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--magenta);
  color: var(--magenta);
  font-family: var(--display);
  font-size: 1.15rem;
}
/* el momento central (bendecir) es el único lleno */
.recorrido li:nth-child(3)::before {
  background: var(--berenjena);
  border-color: var(--berenjena);
  color: #FFFFFF;
}
.recorrido h3 { margin: 0.35rem 0 0.3rem; }
.recorrido p { color: var(--ink-soft); margin: 0; }

.para-quien {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem 2.5rem;
  margin: 2.2rem 0;
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.para-quien h3 { margin-bottom: 0.35rem; }
.para-quien p { color: var(--ink-soft); margin: 0; }
.ficha--apilada dd small { display: block; margin-top: 0.25rem; line-height: 1.4; }
