    :root {
      --color-bg:             #B5E8F5;
      --color-text-primary:   #1B1346;
      --color-text-secondary: #5A1A8A;
      --color-text-muted:     #7209B7;
      --color-pink:           #FF006E;
      --color-violet:         #7209B7;
      --color-yellow:         #FFD600;
      --color-green:          #06D6A0;
      --color-white:          #FFFFFF;
      --gradient-logo:        linear-gradient(135deg, #FF006E 0%, #7209B7 100%);
      --gradient-progress:    linear-gradient(135deg, #06D6A0 0%, #FFD600 33%, #7209B7 66%, #FF006E 100%);
    }

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

    html, body {
      margin: 0; padding: 0;
      background: var(--color-bg);
      color: var(--color-text-primary);
      font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
    }

    body {
      min-height: 100vh; min-height: 100svh;
      display: grid; grid-template-rows: auto 1fr auto;
      padding: clamp(20px, 4vw, 40px);
      position: relative;
    }

    /* ============== CIELO ============== */
    #sky-stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
    .star { position: absolute; border-radius: 50%; pointer-events: none; }
    .shooting-star {
      position: absolute; width: 120px; height: 2px;
      background: linear-gradient(90deg, rgba(255, 0, 110, 0) 0%, rgba(255, 0, 110, 0.6) 55%, rgba(255, 214, 0, 0.9) 100%);
      border-radius: 2px; transform-origin: 0 50%; pointer-events: none;
      opacity: 0; filter: blur(0.4px);
      animation: shoot 0.95s ease-out forwards;
    }
    @keyframes shoot {
      0%   { opacity: 0; transform: translate3d(0, 0, 0) rotate(20deg); }
      15%  { opacity: 1; }
      85%  { opacity: 1; }
      100% { opacity: 0; transform: translate3d(130vw, 35vh, 0) rotate(20deg); }
    }

    header, main, footer, #astral-audio, #end-overlay { position: relative; z-index: 1; }
    #end-overlay { z-index: 100; }

    /* ============== HEADER / LOGO ============== */
    header { text-align: center; padding-top: clamp(8px, 2vw, 24px); }
    .logo { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; }
    .logo-text {
      font-family: 'Manrope', sans-serif;
      font-size: clamp(56px, 8vw, 72px);
      font-weight: 800;
      letter-spacing: -0.06em;
      line-height: 1;
      margin: 0;
      background: var(--gradient-logo);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
    }
    .logo-tagline {
      font-family: 'Manrope', sans-serif;
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 0.15em;
      color: var(--color-text-secondary);
      margin: 0;
      text-transform: lowercase;
    }

    /* ============== MAIN ============== */
    main {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: clamp(20px, 3.5vh, 44px);
      padding: clamp(24px, 5vh, 56px) 0;
    }
    /* Cambio 5: empujar el botón hacia abajo en conversación */
    body.conversation-active main {
      padding-top: clamp(60px, 10vh, 100px);
    }

    .loading-msg, .hint-volumen {
      font-family: 'Manrope', sans-serif;
      text-align: center; margin: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      min-height: 1.5em;
    }
    .loading-msg {
      font-size: clamp(24px, 3.2vw, 36px);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.25;
      max-width: 18ch;
      margin: 0 auto;
      background: var(--gradient-logo);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
      opacity: 0;
    }
    .loading-msg.visible { opacity: 1; }
    .loading-msg[hidden], .hint-volumen[hidden] { display: none; }
    .hint-volumen {
      font-size: clamp(18px, 2.4vw, 24px);
      font-weight: 700;
      letter-spacing: -0.01em;
      line-height: 1.3;
      max-width: 24ch;
      margin: 0 auto;
      background: var(--gradient-logo);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
      opacity: 0;
    }
    .hint-volumen.visible { opacity: 1; }

    /* ============== BOTÓN + ANILLOS + PROGRESS RING ============== */
    .button-wrap {
      position: relative;
      width: 220px; height: 220px;
      display: inline-flex;
      align-items: center; justify-content: center;
    }

    .progress-ring {
      position: absolute;
      width: 300px; height: 300px;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%) rotate(-90deg);
      pointer-events: none;
      z-index: 0;
      opacity: 0;
      transition: opacity 0.6s ease;
      filter: drop-shadow(0 0 8px rgba(255, 214, 0, 0.5));
    }
    body.conversation-active .progress-ring { opacity: 1; }
    .progress-ring-fg { transition: stroke-dashoffset 0.8s linear; }
    .progress-ring.urgent {
      filter: drop-shadow(0 0 14px rgba(255, 0, 110, 0.7));
      animation: ring-urgent 0.8s ease-in-out infinite;
    }
    @keyframes ring-urgent {
      0%, 100% { transform: translate(-50%, -50%) rotate(-90deg) scale(1); }
      50%      { transform: translate(-50%, -50%) rotate(-90deg) scale(1.02); }
    }

    .ring { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 1; }
    .ring--a {
      background: radial-gradient(circle, transparent 58%, rgba(6, 214, 160, 0.55) 68%, rgba(6, 214, 160, 0.15) 80%, transparent 100%);
      animation: ringPulseA 2s ease-in-out infinite;
    }
    .ring--b {
      background: radial-gradient(circle, transparent 58%, rgba(114, 9, 183, 0.5) 68%, rgba(114, 9, 183, 0.12) 80%, transparent 100%);
      animation: ringPulseB 2s 0.25s ease-in-out infinite;
    }
    .ring--c {
      background: radial-gradient(circle, transparent 58%, rgba(255, 214, 0, 0.65) 68%, rgba(255, 214, 0, 0.18) 80%, transparent 100%);
      animation: ringPulseC 2s 0.5s ease-in-out infinite;
    }
    .ring--d {
      background: radial-gradient(circle, transparent 58%, rgba(255, 0, 110, 0.4) 68%, rgba(255, 0, 110, 0.1) 80%, transparent 100%);
      animation: ringPulseD 2s 0.75s ease-in-out infinite;
    }
    @keyframes ringPulseA { 0%, 100% { transform: scale(1);    opacity: 0.7;  } 50% { transform: scale(1.18); opacity: 0.20; } }
    @keyframes ringPulseB { 0%, 100% { transform: scale(1.06); opacity: 0.6;  } 50% { transform: scale(1.26); opacity: 0.15; } }
    @keyframes ringPulseC { 0%, 100% { transform: scale(1.12); opacity: 0.55; } 50% { transform: scale(1.38); opacity: 0.08; } }
    @keyframes ringPulseD { 0%, 100% { transform: scale(1.2);  opacity: 0.4;  } 50% { transform: scale(1.55); opacity: 0.0;  } }

    .button {
      position: relative;
      z-index: 2;
      width: 220px; height: 220px;
      border-radius: 50%;
      background: var(--gradient-logo);
      border: 0;
      color: var(--color-white);
      font-family: 'Manrope', sans-serif;
      font-size: 24px;
      font-weight: 700;
      cursor: pointer;
      padding: 0;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 8px;
      animation: breath 3s ease-in-out infinite;
      transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.05s ease;
      box-shadow: 0 0 60px rgba(255, 0, 110, 0.35), 0 12px 32px rgba(114, 9, 183, 0.35);
      letter-spacing: -0.01em;
      overflow: hidden;
    }
    .button-text {
      font-weight: 700; line-height: 1;
      color: var(--color-white);
      transition: opacity 0.2s ease;
    }
    /* Cambio 3: sacar "¿Seguimos?" durante conversación */
    body.conversation-active .button-text { display: none; }
    .button-wrap.is-speaking .button-text { opacity: 0; }

    /* Cambio 2: notice dentro del botón (70% / 90%) */
    .in-button-notice {
      font-family: 'Manrope', sans-serif;
      font-style: italic;
      font-size: 13px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.96);
      text-align: center;
      padding: 0 12px;
      opacity: 0;
      max-width: 180px;
      line-height: 1.3;
      transition: opacity 0.3s ease;
    }
    .in-button-notice[hidden] { display: none; }
    .in-button-notice.visible { opacity: 1; }

    /* Cambio 8: rombos dotPiano amarillos más grandes */
    .button-dots {
      display: flex;
      gap: 14px;
      align-items: center;
      justify-content: center;
    }
    .button-dots .dot {
      opacity: 0;
      display: inline-block;
      font-size: clamp(32px, 4vw, 40px);
      color: #FFD600;
      line-height: 1;
      animation: dotPiano 2.4s ease-in-out infinite;
    }
    .button-dots .dot:nth-child(1) { animation-delay: 0s;   }
    .button-dots .dot:nth-child(2) { animation-delay: 0.2s; }
    .button-dots .dot:nth-child(3) { animation-delay: 0.4s; }
    @keyframes dotPiano {
      0%, 100% { opacity: 0; transform: scale(0.5); filter: blur(2px); }
      15%, 50% { opacity: 1; transform: scale(1);   filter: blur(0);   }
      65%, 99% { opacity: 0; transform: scale(0.5); filter: blur(2px); }
    }

    .button:focus-visible { outline: 3px solid var(--color-yellow); outline-offset: 6px; }
    .button:active { transform: scale(0.97); }
    @keyframes breath {
      0%, 100% { transform: scale(1.00); }
      50%      { transform: scale(1.04); }
    }
    body.conversation-active .button {
      animation: none;
      transform: scale(var(--pulse-scale, 1));
    }

    body.loading-active .button {
      background: var(--color-violet);
      box-shadow: 0 0 60px rgba(114, 9, 183, 0.45), 0 12px 32px rgba(114, 9, 183, 0.4);
    }
    body.loading-active .ring--a { background: radial-gradient(circle, transparent 58%, rgba(167, 139, 250, 0.55) 68%, transparent 100%); }
    body.loading-active .ring--b { background: radial-gradient(circle, transparent 58%, rgba(139, 92, 246, 0.55) 68%, transparent 100%); }
    body.loading-active .ring--c { background: radial-gradient(circle, transparent 58%, rgba(114, 9, 183, 0.55) 68%, transparent 100%); }
    body.loading-active .ring--d { background: radial-gradient(circle, transparent 58%, rgba(180, 130, 230, 0.4) 68%, transparent 100%); }

    .button-wrap.is-speaking .button {
      background: linear-gradient(135deg, #8B5CF6 0%, #7209B7 100%);
      box-shadow: 0 0 80px rgba(139, 92, 246, 0.5), 0 12px 32px rgba(114, 9, 183, 0.5);
    }
    .button-wrap.is-speaking .ring--a,
    .button-wrap.is-speaking .ring--b,
    .button-wrap.is-speaking .ring--c,
    .button-wrap.is-speaking .ring--d { animation-duration: 1.2s; }

    /* Intensificar amarillo del ring--c cuando Astral habla (Chunk 19) */
    .button-wrap.is-speaking .ring--c {
  background: radial-gradient(
    circle,
    transparent 50%,
    rgba(255, 214, 0, 1) 60%,
    rgba(255, 214, 0, 0.7) 75%,
    rgba(255, 214, 0, 0.3) 90%,
    transparent 100%
  );
  filter: drop-shadow(0 0 30px rgba(255, 214, 0, 1));
}

    /* Halo amarillo sutil en todo el wrap cuando Astral habla (Chunk 19) */
    .button-wrap.is-speaking {
  filter: drop-shadow(0 0 50px rgba(255, 214, 0, 0.7));
}

    .button-wrap.is-listening .button {
      background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
      box-shadow: 0 0 60px rgba(59, 130, 246, 0.4), 0 12px 32px rgba(6, 182, 212, 0.4);
    }
    .button-wrap.is-listening .ring--a { background: radial-gradient(circle, transparent 58%, rgba(6, 214, 160, 0.5) 68%, transparent 100%); }
    .button-wrap.is-listening .ring--b { background: radial-gradient(circle, transparent 58%, rgba(6, 182, 212, 0.6) 68%, transparent 100%); }
    .button-wrap.is-listening .ring--c { background: radial-gradient(circle, transparent 58%, rgba(96, 165, 250, 0.6) 68%, transparent 100%); }
    .button-wrap.is-listening .ring--d { background: radial-gradient(circle, transparent 58%, rgba(59, 130, 246, 0.35) 68%, transparent 100%); }

    /* ============== QUOTE ============== */
    .quote {
      font-family: 'Manrope', sans-serif;
      font-size: 18px; font-weight: 500;
      color: var(--color-text-primary);
      text-align: center;
      max-width: 32ch; line-height: 1.55;
      margin: 0; padding: 0 16px;
    }
    .quote .accent {
      display: inline-block;
      font-weight: 700;
      background: var(--gradient-logo);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent; color: transparent;
    }
    body.session-active .quote { display: none; }

    /* ============== FORMULARIO ============== */
    .form-datos[hidden] { display: none; }
    .form-datos {
      width: min(420px, 92vw);
      margin: 0 auto;
      background: rgba(255, 255, 255, 0.85);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(114, 9, 183, 0.18);
      border-radius: 16px;
      padding: 24px;
      display: flex; flex-direction: column; gap: 14px;
      opacity: 0;
      transform: translateY(12px);
      transition: opacity 0.6s ease, transform 0.6s ease;
      pointer-events: none;
      position: relative;
      box-shadow: 0 8px 24px rgba(114, 9, 183, 0.08);
    }
    .form-datos.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
    /* Cambio 4: ocultar form completamente durante conversación */
    body.conversation-active .form-datos { display: none !important; }

    .form-datos h2 {
      font-family: 'Manrope', sans-serif;
      font-size: 18px; font-weight: 700;
      color: var(--color-text-primary);
      text-align: center; margin: 0;
    }
    .form-datos .form-subtitle {
      font-family: 'Manrope', sans-serif;
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--color-violet);
      text-align: center;
      margin: -4px 0 8px;
      line-height: 1.4;
    }
    .form-group { display: flex; flex-direction: column; gap: 6px; }
    .form-group > label {
      font-family: 'Manrope', sans-serif;
      font-size: 12px; font-weight: 600;
      color: var(--color-text-muted);
      letter-spacing: 0.02em;
    }
    .form-datos input[type="text"],
    .form-datos input[type="date"],
    .form-datos input[type="time"],
    .form-datos input[type="email"],
    .form-datos select {
      width: 100%;
      background: var(--color-white);
      border: 1.5px solid rgba(114, 9, 183, 0.25);
      color: var(--color-text-primary);
      padding: 12px 14px;
      border-radius: 10px;
      font-family: 'Manrope', sans-serif;
      font-size: 15px; font-weight: 500;
      outline: 0;
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
      -webkit-appearance: none; appearance: none;
    }
    .form-datos input::placeholder { color: rgba(114, 9, 183, 0.4); font-weight: 500; }
    .form-datos input:focus, .form-datos select:focus {
      border-color: var(--color-violet);
      box-shadow: 0 0 0 3px rgba(114, 9, 183, 0.15);
    }
    .form-datos input:disabled, .form-datos select:disabled { opacity: 0.5; cursor: not-allowed; }
    .form-datos input.invalid, .form-datos select.invalid {
      border-color: var(--color-pink);
      box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.15);
    }
    .form-datos select {
      cursor: pointer;
      padding-right: 40px;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%237209B7' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
      background-repeat: no-repeat;
      background-position: right 16px center;
    }

    .row-fecha-hora { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .form-hora-wrap { display: flex; flex-direction: column; gap: 8px; }
    .checkbox-wrap {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: 'Manrope', sans-serif;
      color: var(--color-text-muted);
      font-size: 12px; font-weight: 500;
      cursor: pointer; user-select: none;
    }
    .checkbox-wrap input[type="checkbox"] {
      accent-color: var(--color-violet);
      width: 16px; height: 16px;
      cursor: pointer;
    }

    .row-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
    .field-help {
      font-family: 'Manrope', sans-serif;
      font-size: 11px; font-weight: 500;
      color: var(--color-text-muted);
      opacity: 0.75; margin-top: 2px;
    }
    .hp-wrapper { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }

    #form-submit {
      width: 100%;
      background: var(--gradient-logo);
      border: 0;
      color: var(--color-white);
      padding: 14px 28px;
      font-family: 'Manrope', sans-serif;
      font-weight: 700; font-size: 15px;
      cursor: pointer;
      border-radius: 12px;
      box-shadow: 0 6px 16px rgba(114, 9, 183, 0.35);
      transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.3s ease;
      letter-spacing: 0.01em;
      margin-top: 4px;
    }
    #form-submit:hover:not(:disabled) {
      transform: translateY(-1px);
      box-shadow: 0 10px 20px rgba(114, 9, 183, 0.45);
    }
    #form-submit:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }
    .form-loader {
      font-family: 'Manrope', sans-serif;
      font-style: italic;
      color: var(--color-violet);
      text-align: center;
      margin: 4px 0 0;
      font-size: 14px;
      font-weight: 500;
      animation: loader-pulse 1.5s ease-in-out infinite;
    }
    .form-loader[hidden] { display: none; }
    .form-loader.error { color: var(--color-pink); animation: none; font-weight: 600; }
    @keyframes loader-pulse {
      0%, 100% { opacity: 1; }
      50%      { opacity: 0.5; }
    }

    /* ============== NUBE DE PALABRAS (Cambio 7) ============== */
    .word-cloud {
      display: none;
      width: 100%;
      max-width: 540px;
      height: clamp(300px, 50vh, 500px);
      margin: 0 auto;
      position: relative;
      overflow: hidden;
    }
    body.conversation-active .word-cloud { display: block; }
    .cloud-word {
      position: absolute;
      font-family: 'Manrope', sans-serif;
      font-weight: 600;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.6s ease, transform 0.6s ease, font-size 0.4s ease;
      will-change: transform, opacity;
    }
    @keyframes cloud-float {
      0%, 100% { transform: translateY(0)   rotate(var(--cloud-rot, 0deg)); }
      50%      { transform: translateY(-5px) rotate(var(--cloud-rot, 0deg)); }
    }

    /* ============== POPUP CONFIRMACIÓN ============== */
    .confirm-popup {
      position: fixed; inset: 0;
      background: rgba(20, 10, 40, 0.6);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none;
      transition: opacity 0.4s ease;
      z-index: 200; padding: 20px;
    }
    .confirm-popup[hidden] { display: none; }
    .confirm-popup.visible { opacity: 1; pointer-events: auto; }
    .confirm-box {
      width: 100%; max-width: 420px;
      background: var(--color-white);
      border: 1px solid rgba(114, 9, 183, 0.2);
      border-radius: 16px;
      padding: 28px;
      display: flex; flex-direction: column; gap: 18px;
      box-shadow: 0 20px 60px rgba(114, 9, 183, 0.25);
      transform: translateY(20px);
      transition: transform 0.4s ease;
      max-height: 90vh; overflow-y: auto;
    }
    .confirm-popup.visible .confirm-box { transform: translateY(0); }
    .confirm-box h2 {
      font-family: 'Manrope', sans-serif;
      font-size: 20px; font-weight: 700;
      color: var(--color-text-primary);
      text-align: center; margin: 0;
    }
    .confirm-content { display: flex; flex-direction: column; gap: 0; }
    .confirm-content > div {
      display: flex; justify-content: space-between; align-items: baseline;
      gap: 12px; padding: 10px 0;
      border-bottom: 1px solid rgba(114, 9, 183, 0.1);
    }
    .confirm-content > div:last-child { border-bottom: 0; }
    .confirm-content .label {
      font-family: 'Manrope', sans-serif;
      font-size: 12px; font-weight: 600;
      color: var(--color-text-muted);
      flex-shrink: 0;
    }
    .confirm-content strong {
      font-family: 'Manrope', sans-serif;
      font-weight: 700; font-size: 15px;
      color: var(--color-text-primary);
      text-align: right; word-break: break-word;
    }
    .confirm-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
    #confirm-yes {
      background: var(--gradient-logo);
      border: 0;
      color: var(--color-white);
      padding: 14px 20px;
      font-family: 'Manrope', sans-serif;
      font-size: 15px; font-weight: 700;
      cursor: pointer; border-radius: 999px;
      box-shadow: 0 6px 14px rgba(114, 9, 183, 0.35);
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }
    #confirm-yes:hover { transform: translateY(-1px); box-shadow: 0 10px 18px rgba(114, 9, 183, 0.45); }
    #confirm-modify {
      background: var(--color-white);
      border: 1.5px solid rgba(114, 9, 183, 0.3);
      color: var(--color-text-muted);
      padding: 12px 20px;
      font-family: 'Manrope', sans-serif;
      font-size: 13px; font-weight: 600;
      cursor: pointer; border-radius: 999px;
      transition: background 0.25s ease;
    }
    #confirm-modify:hover { background: rgba(114, 9, 183, 0.06); }

    /* ============== PAYWALL OVERLAY ============== */
    .paywall-overlay { width: 100%; display: flex; align-items: center; justify-content: center; }
    .paywall-overlay[hidden] { display: none; }
    .paywall-box {
      width: 100%; max-width: 480px;
      background: var(--color-white);
      border: 1px solid rgba(114, 9, 183, 0.2);
      border-radius: 16px;
      padding: 32px;
      display: flex; flex-direction: column; gap: 20px; align-items: center;
      text-align: center;
      box-shadow: 0 20px 60px rgba(114, 9, 183, 0.2);
    }
    .paywall-title {
      font-family: 'Manrope', sans-serif;
      font-size: clamp(22px, 2.5vw, 28px);
      font-weight: 700;
      color: var(--color-text-primary);
      margin: 0; line-height: 1.25;
      letter-spacing: -0.01em;
    }
    .paywall-subtitle {
      font-family: 'Manrope', sans-serif;
      font-size: clamp(14px, 1.5vw, 16px);
      font-weight: 500;
      color: var(--color-text-muted);
      margin: 0; line-height: 1.5;
    }
    .paywall-precio { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 8px 0; }
    .paywall-precio-num {
      font-family: 'Manrope', sans-serif;
      font-size: clamp(46px, 5vw, 56px);
      font-weight: 800;
      line-height: 1; letter-spacing: -0.03em;
      background: var(--gradient-logo);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent; color: transparent;
    }
    .paywall-precio-detalle {
      font-family: 'Manrope', sans-serif;
      font-size: 14px; font-weight: 500;
      color: var(--color-text-muted);
    }
    .btn-mercado-pago {
      background: linear-gradient(135deg, #00A8E0 0%, #009EE3 100%);
      color: white;
      font-family: 'Manrope', sans-serif;
      font-size: 18px; font-weight: 700;
      padding: 16px 32px;
      border: 0;
      border-radius: 12px;
      box-shadow: 0 4px 14px rgba(0, 168, 224, 0.4);
      cursor: pointer; width: 100%;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      display: flex; align-items: center; justify-content: center; gap: 10px;
      letter-spacing: 0.01em;
    }
    .btn-mercado-pago:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 168, 224, 0.55);
    }
    .btn-mercado-pago:active { transform: translateY(0); }
    .mp-icon { font-size: 22px; line-height: 1; }
    .paywall-disclaimer {
      font-family: 'Manrope', sans-serif;
      font-size: 11px; font-weight: 500;
      color: var(--color-text-muted);
      opacity: 0.75; margin: 0;
    }

    /* ============== POST-PAGO OVERLAY ============== */
    .post-pago-overlay { width: 100%; display: flex; align-items: center; justify-content: center; }
    .post-pago-overlay[hidden] { display: none; }
    .post-pago-box {
      width: 100%; max-width: 540px;
      background: var(--color-white);
      border: 1px solid rgba(114, 9, 183, 0.2);
      border-radius: 16px;
      padding: 32px;
      display: flex; flex-direction: column; gap: 18px;
      max-height: 90vh; overflow-y: auto;
      box-shadow: 0 20px 60px rgba(114, 9, 183, 0.2);
    }
    .post-pago-title {
      font-family: 'Manrope', sans-serif;
      font-size: clamp(20px, 2.4vw, 24px);
      font-weight: 700;
      color: var(--color-text-primary);
      text-align: center; margin: 0;
    }
    .privacy-notice {
      font-family: 'Manrope', sans-serif;
      font-size: 13px; font-weight: 500;
      color: var(--color-text-primary);
      background: rgba(255, 214, 0, 0.18);
      border-left: 3px solid var(--color-yellow);
      padding: 10px 14px; border-radius: 8px;
      margin: 0; line-height: 1.5;
    }
    .conversacion-scroll {
      max-height: 50vh; overflow-y: auto;
      padding: 12px;
      background: rgba(181, 232, 245, 0.35);
      border-radius: 12px;
      display: flex; flex-direction: column; gap: 8px;
    }
    .turno { padding: 10px 14px; border-radius: 12px; }
    .turno-usuario { background: rgba(255, 0, 110, 0.12); text-align: right; margin-left: 15%; }
    .turno-astral  { background: rgba(114, 9, 183, 0.12); text-align: left;  margin-right: 15%; }
    .turno .rol {
      font-family: 'Manrope', sans-serif;
      font-size: 11px; text-transform: uppercase;
      font-weight: 700; letter-spacing: 0.1em;
      color: var(--color-text-muted);
      display: block; margin-bottom: 4px;
    }
    .turno .texto {
      font-family: 'Manrope', sans-serif;
      font-size: 14px; font-weight: 500;
      color: var(--color-text-primary);
      line-height: 1.5; margin: 0; white-space: pre-wrap;
    }
    .acciones-conversacion { display: flex; justify-content: center; }
    .btn-secundario {
      background: var(--gradient-logo);
      border: 0;
      color: var(--color-white);
      padding: 12px 22px;
      font-family: 'Manrope', sans-serif;
      font-size: 14px; font-weight: 700;
      letter-spacing: 0.02em;
      cursor: pointer; border-radius: 999px;
      box-shadow: 0 4px 12px rgba(114, 9, 183, 0.3);
      transition: transform 0.18s ease, box-shadow 0.18s ease;
      display: inline-flex; align-items: center; gap: 8px;
    }
    .btn-secundario:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(114, 9, 183, 0.4); }
    .btn-secundario .icon { font-size: 16px; line-height: 1; }
    .email-form { display: flex; flex-direction: column; gap: 6px; }
    .email-label {
      font-family: 'Manrope', sans-serif;
      font-size: 14px; font-weight: 700;
      color: var(--color-text-primary); margin: 0;
    }
    .email-sublabel {
      font-family: 'Manrope', sans-serif;
      font-size: 12px; font-weight: 500;
      color: var(--color-text-muted); margin: 0;
    }
    .email-input-wrap { display: flex; gap: 8px; margin-top: 6px; }
    .email-input-wrap input {
      flex: 1; min-width: 0;
      background: var(--color-white);
      border: 1.5px solid rgba(114, 9, 183, 0.25);
      color: var(--color-text-primary);
      padding: 12px 14px;
      border-radius: 10px;
      font-family: 'Manrope', sans-serif;
      font-size: 15px; font-weight: 500;
      outline: 0;
      -webkit-appearance: none; appearance: none;
    }
    .email-input-wrap input:focus {
      border-color: var(--color-violet);
      box-shadow: 0 0 0 3px rgba(114, 9, 183, 0.15);
    }
    .email-input-wrap input:disabled { opacity: 0.5; }
    #btn-enviar-email {
      background: var(--gradient-logo);
      border: 0;
      color: var(--color-white);
      padding: 12px 18px;
      font-family: 'Manrope', sans-serif;
      font-size: 14px; font-weight: 700;
      cursor: pointer; border-radius: 10px;
      box-shadow: 0 4px 12px rgba(114, 9, 183, 0.3);
      transition: transform 0.18s ease;
      white-space: nowrap;
      display: inline-flex; align-items: center; gap: 6px;
    }
    #btn-enviar-email:hover:not(:disabled) { transform: translateY(-1px); }
    #btn-enviar-email:disabled { opacity: 0.5; cursor: not-allowed; }
    #btn-enviar-email .icon { font-size: 17px; line-height: 1; }
    .email-status {
      font-family: 'Manrope', sans-serif;
      font-size: 13px; font-weight: 500;
      text-align: center; margin: 6px 0 0;
    }
    .email-status[hidden] { display: none; }
    .email-status.success { color: var(--color-green); font-weight: 600; }
    .email-status.error   { color: var(--color-pink); font-weight: 600; }
    .post-pago-footer {
      font-family: 'Manrope', sans-serif;
      font-size: 13px; font-weight: 500;
      color: var(--color-text-muted);
      text-align: center; margin: 4px 0 0;
      line-height: 1.6;
    }

    /* ============== OVERLAY FIN ============== */
    .end-overlay {
      position: fixed; inset: 0;
      background: rgba(181, 232, 245, 0.95);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none;
      transition: opacity 0.8s ease;
    }
    .end-overlay.visible { opacity: 1; pointer-events: auto; }
    .end-overlay p {
      font-family: 'Manrope', sans-serif;
      font-size: clamp(18px, 2vw, 24px);
      font-weight: 600;
      color: var(--color-text-primary);
      max-width: 30ch; line-height: 1.55;
      text-align: center; padding: 0 24px; margin: 0;
    }

    #astral-audio { display: none; }

    /* ============== TEST MODE BADGE ============== */
    .test-mode-badge {
      position: fixed; top: 12px; right: 16px;
      font-family: 'Manrope', sans-serif;
      font-size: 11px; font-weight: 600;
      letter-spacing: 0.08em;
      color: var(--color-violet);
      opacity: 0.6;
      z-index: 50; pointer-events: none;
    }
    .test-mode-badge[hidden] { display: none; }

    /* ============== FOOTER ============== */
    footer {
      text-align: center;
      font-family: 'Manrope', sans-serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--color-text-secondary);
      letter-spacing: 0.15em;
      text-transform: lowercase;
      padding-bottom: clamp(8px, 1.5vw, 16px);
      line-height: 1.6;
    }

    /* ============== ESTADOS DE BODY ============== */
    body.loading-active .form-datos { display: none; }
    body.loading-active .quote      { display: none; }

    body.paywall-active .button-wrap,
    body.paywall-active .quote,
    body.paywall-active .form-datos,
    body.paywall-active .word-cloud,
    body.paywall-active .hint-volumen,
    body.paywall-active .loading-msg,
    body.paywall-active .confirm-popup,
    body.paywall-active .end-overlay { display: none !important; }

    body.post-pago-active .button-wrap,
    body.post-pago-active .quote,
    body.post-pago-active .form-datos,
    body.post-pago-active .word-cloud,
    body.post-pago-active .hint-volumen,
    body.post-pago-active .loading-msg,
    body.post-pago-active .confirm-popup,
    body.post-pago-active .end-overlay { display: none !important; }

    /* ============== ACCESIBILIDAD ============== */
    @media (prefers-reduced-motion: reduce) {
      .button, .ring, .button-dots .dot, .shooting-star, .form-loader, .progress-ring.urgent, .cloud-word {
        animation: none;
      }
    }

    /* ============== MOBILE ============== */
    @media (max-width: 420px) {
      .logo-text { font-size: 52px; }
      .logo-tagline { font-size: 14px; letter-spacing: 0.12em; }
      footer { font-size: 14px; letter-spacing: 0.12em; }
      main { gap: 18px; }
      .button-wrap { width: 200px; height: 200px; }
      .button { width: 200px; height: 200px; font-size: 22px; }
      .progress-ring { width: 280px; height: 280px; }
      .form-datos { padding: 20px; gap: 12px; }
      .confirm-box { padding: 22px; }
      .paywall-box { padding: 24px; gap: 16px; }
      .post-pago-box { padding: 22px; gap: 14px; }
      .turno-usuario { margin-left: 8%; }
      .turno-astral { margin-right: 8%; }
      .word-cloud { height: clamp(260px, 45vh, 420px); }
    }
