/* ═══════════════════════════════════════════════════════════════════
   AUTOHIPNOSIS CON RESPIRACIÓN (autohipnosis.html) · 2026-10-24
   Fondo negro, letra grande, una pregunta por pantalla, mobile first.
   Sin itálicas, nada de letra pequeña, dorado solo sobre negro.
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --negro: #000;
  --carbon: #141210;
  --crema: #F2EDE4;
  --suave: #CFC7BA;
  --dorado: #C9A84C;
  --dorado-hi: #E3C988;
  --linea: rgba(201, 168, 76, 0.38);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ah { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--negro); color: var(--crema); font: 400 1.25rem/1.5 'DM Sans', system-ui, sans-serif; }
.ah-main { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; min-height: 100vh; min-height: 100dvh; padding: clamp(28px, 7vh, 72px) 20px calc(48px + env(safe-area-inset-bottom)); overflow-x: clip; }
.ah-pantalla { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 22px; width: min(100%, 36rem); animation: ah-entra 420ms var(--ease) both; }
[hidden] { display: none !important; }
@keyframes ah-entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.ah p { margin: 0; color: var(--suave); }
.ah b { color: var(--crema); font-weight: 700; }
.ah-t { margin: 0; padding: 0; font: 700 clamp(2.1rem, 5.5vw + 0.6rem, 3.1rem)/1.08 'Playfair Display', Georgia, serif; letter-spacing: -0.01em; color: var(--crema); text-wrap: balance; }
.ah-t:focus { outline: none; }
.ah p.ah-grande { font-size: clamp(1.45rem, 2vw + 1rem, 1.75rem); line-height: 1.3; font-weight: 700; color: var(--crema); }
.ah p.ah-etiqueta { font-weight: 700; color: var(--dorado-hi); }
.ah p.ah-nota { color: var(--suave); font-size: 1.125rem; }

/* Botón principal: dorado con letra negra. */
.ah-cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; margin-top: 6px; padding: 16px 24px; border: 0; border-radius: 999px; background: var(--dorado); color: #000; font: 700 1.25rem/1.2 'DM Sans', sans-serif; text-decoration: none; text-align: center; cursor: pointer; transition: transform 200ms var(--ease), background-color 200ms var(--ease); }
.ah-cta:hover { background: var(--dorado-hi); }
.ah-cta:active { transform: scale(0.98); }
.ah-cta:focus-visible, .ah-atras:focus-visible, .ah-op:has(input:focus-visible), .ah-num:focus-visible, .ah-sug:focus-visible, .ah-que summary:focus-visible { outline: 3px solid var(--crema); outline-offset: 3px; }
.ah-cta[disabled] { background: var(--carbon); color: var(--suave); border: 1px solid var(--linea); cursor: default; transform: none; }
.ah-cta--sec { background: transparent; color: var(--crema); border: 2px solid var(--dorado); }
.ah-cta--sec:hover { background: rgba(201, 168, 76, 0.12); }
.ah-atras { justify-self: center; min-height: 48px; padding: 10px 18px; border: 0; background: none; color: var(--suave); font: 500 1.125rem 'DM Sans', sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ah-atras:hover { color: var(--crema); }

/* ¿Qué es? */
.ah-que { border: 1px solid var(--linea); border-radius: 16px; padding: 4px 20px; }
.ah-que summary { min-height: 56px; display: flex; align-items: center; font-weight: 700; color: var(--crema); cursor: pointer; list-style: none; }
.ah-que summary::-webkit-details-marker { display: none; }
.ah-que summary::after { content: '+'; margin-left: auto; font-size: 1.6rem; color: var(--dorado-hi); }
.ah-que[open] summary::after { content: '−'; }
.ah-que p { padding-bottom: 16px; }

/* Progreso */
.ah-progreso { display: grid; gap: 10px; }
.ah-progreso__n { font-weight: 700; color: var(--suave); font-variant-numeric: tabular-nums; }
.ah-progreso__n b { color: var(--dorado-hi); }
.ah-progreso__barra { position: relative; height: 3px; border-radius: 3px; background: rgba(242, 237, 228, 0.14); overflow: hidden; }
.ah-progreso__barra span { position: absolute; inset: 0; background: var(--dorado); transform-origin: left; transform: scaleX(0.14); transition: transform 500ms var(--ease); }

/* Preguntas y opciones */
.ah-q { display: grid; gap: 18px; margin: 0; padding: 0; border: 0; min-width: 0; animation: ah-entra 420ms var(--ease) both; }
.ah-q legend { margin-bottom: 4px; }
.ah-ops { display: grid; gap: 12px; }
.ah-op { position: relative; display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 20px; border: 2px solid var(--linea); border-radius: 16px; color: var(--crema); font-weight: 700; font-size: 1.25rem; line-height: 1.3; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
.ah-op input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.ah-op::before { content: ''; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--dorado); transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.ah-ops--multi .ah-op::before { border-radius: 6px; }
.ah-op:has(input:checked) { border-color: var(--dorado); background: rgba(201, 168, 76, 0.12); }
.ah-op:has(input:checked)::before { background: var(--dorado); box-shadow: inset 0 0 0 4px #000; }
@media (hover: hover) { .ah-op:hover { border-color: var(--dorado); } }

/* Vaso 0–10 */
.ah-vaso.vaso-agua { justify-self: center; width: min(40vw, 160px); }
/* El vaso de todos (js/vaso/agua.js): mismas reglas que style-experiencias.css. */
.vaso-agua { position: relative; width: 100%; aspect-ratio: 3 / 4; }
.vaso-agua__svg, .vaso-agua__lienzo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vaso-agua__svg-agua { transition: y 1.6s var(--ease); }
.vaso-agua__lienzo { opacity: 0; transition: opacity 900ms var(--ease); }
.vaso-agua.is-gl .vaso-agua__lienzo { opacity: 1; }
.vaso-agua.is-gl .vaso-agua__svg { opacity: 0; transition: opacity 900ms var(--ease); }
.ah-numeros { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.ah-num { min-height: 56px; border: 2px solid var(--linea); border-radius: 14px; background: none; color: var(--crema); font: 700 1.35rem 'DM Sans', sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
.ah-num[aria-pressed="true"] { border-color: var(--dorado); background: var(--dorado); color: #000; }
@media (hover: hover) { .ah-num:hover { border-color: var(--dorado); } }

/* Palabra y frase */
.ah-campo { display: grid; gap: 8px; font-weight: 700; }
.ah-campo input { width: 100%; min-height: 60px; padding: 14px 18px; border: 2px solid var(--linea); border-radius: 14px; background: var(--carbon); color: var(--crema); font: 700 1.25rem 'DM Sans', sans-serif; }
.ah-campo input:focus { outline: none; border-color: var(--dorado); }
.ah-sugeridas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -6px; }
.ah-sug { min-height: 48px; padding: 10px 16px; border: 1px solid var(--linea); border-radius: 999px; background: none; color: var(--crema); font: 500 1.125rem 'DM Sans', sans-serif; text-align: left; cursor: pointer; }
.ah-sug:hover { border-color: var(--dorado); }

/* Resultado */
.ah-lista { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ah-lista li { position: relative; padding-left: 28px; color: var(--crema); font-weight: 700; }
.ah-lista li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 14px; height: 2px; background: var(--dorado); }
.ah-tuyas { display: grid; gap: 6px; padding: 18px 20px; border-left: 3px solid var(--dorado); background: var(--carbon); border-radius: 0 14px 14px 0; }
.ah-pago { display: grid; gap: 14px; margin-top: 12px; padding-top: 26px; border-top: 1px solid var(--linea); }
.ah p.ah-precio { font: 700 2.4rem/1 'DM Sans', sans-serif; color: var(--crema); }
.ah-precio s { margin-right: 12px; font-size: 1.5rem; color: var(--suave); text-decoration-thickness: 2px; }

@media (prefers-reduced-motion: reduce) {
  .ah-pantalla, .ah-q { animation: none; }
  .ah-progreso__barra span, .ah-cta, .ah-op { transition: opacity 120ms; }
}
