:root {
    --bg: #050505;
    --txt: #FFFFFF;
    --line: rgba(255,255,255,0.08);
    --line-strong: rgba(255,255,255,0.18);
  }
  html, body {
    background: var(--bg); color: var(--txt);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding-bottom: 110px;
  }
  body {
    background-color: var(--bg);
    background-image: url('./assets/labyrinth.svg');
    background-size: 200px 200px;
    background-repeat: repeat;
    background-attachment: fixed;
  }
  .font-display { font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
  ::selection { background: #FFF; color: #000; }

  /* Eyebrow */
  .eyebrow { color: #FFF; opacity: 0.6; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px; }
  .eyebrow-line { display: inline-flex; align-items: center; gap: 12px; }
  .eyebrow-line::before { content: ''; width: 24px; height: 1px; background: rgba(255,255,255,0.4); }

  /* Card de pregunta */
  .question-card {
    background: linear-gradient(180deg, #0F0F0F 0%, #0A0A0A 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
  }
  .question-body { padding: 32px 28px; min-height: 380px; }
  @media (min-width: 640px) { .question-body { padding: 48px 44px; min-height: 440px; } }

  /* Inputs */
  .input, .textarea {
    background: #0F0F0F;
    border: 1px solid #1F1F1F;
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    width: 100%;
    font-size: 16px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    font-family: inherit;
  }
  .textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
  .input:focus, .textarea:focus {
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
  }
  .input::placeholder, .textarea::placeholder { color: #5C5C5C; }

  /* Radio cards */
  .radio-card {
    display: block;
    background: #0F0F0F;
    border: 1px solid #1F1F1F;
    border-radius: 12px;
    padding: 15px 18px 15px 50px;
    cursor: pointer;
    transition: all .15s ease;
    position: relative;
    user-select: none;
  }
  .radio-card:hover { border-color: rgba(255,255,255,0.28); background: #131313; }
  .radio-card input { position: absolute; opacity: 0; pointer-events: none; }
  .radio-card .dot {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; border-radius: 999px;
    border: 2px solid #444;
    transition: all .15s ease;
  }
  .radio-card.selected {
    border-color: rgba(255,255,255,0.7);
    background: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
  }
  .radio-card.selected .dot {
    border-color: #FFF;
    background: #FFF;
    box-shadow: inset 0 0 0 4px #0A0A0A;
  }

  /* Bottom bar */
  .bottom-bar {
    background: #FFF; color: #000;
    border-radius: 0 0 18px 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
  }
  .bottom-btn {
    padding: 18px 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 14px;
    background: transparent;
    border: 0;
    color: #000;
    cursor: pointer;
    transition: background .15s ease;
    font-family: inherit;
  }
  .bottom-btn:hover { background: rgba(0,0,0,0.06); }
  .bottom-btn:disabled { opacity: 0.28; cursor: not-allowed; }
  .bottom-btn.prev { text-align: left; border-right: 1px solid rgba(0,0,0,0.1); }
  .bottom-btn.next { text-align: right; }
  .bottom-btn.full { grid-column: 1 / -1; text-align: center; padding: 22px 24px; font-size: 16px; }

  /* Progress */
  .progress { height: 3px; background: #1A1A1A; border-radius: 999px; overflow: hidden; }
  .progress-bar { height: 100%; background: #FFF; width: 0%; transition: width .3s ease; }

  /* Steps */
  .step { display: none; }
  .step.active { display: block; animation: fadeIn .22s ease; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

  .err { color: rgba(255,255,255,0.8); font-size: 13px; margin-top: 8px; }

  /* CTA Instagram flotante */
  .ig-cta {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
    z-index: 50;
    background: linear-gradient(90deg, #833AB4, #E1306C, #F77737);
    color: #fff;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 14px 40px rgba(225,48,108,0.30);
    display: flex; align-items: center; gap: 9px;
    max-width: 92vw;
    transition: transform .2s ease;
  }
  .ig-cta:hover { transform: translateX(-50%) translateY(-2px); }

  html { scroll-behavior: smooth; }
