/* ============================================================
   Pintu Clic — Asesoría guiada
   Estilos del frame "asesoria" de Figma
   ============================================================ */

:root {
  --ac2-mint: #52de9f;      /* verde del botón/progreso */
  --ac2-mint-ink: #00301d;
  --ac2-sel: #d6e3ff;       /* tarjeta seleccionada */
  --ac2-surface: #f8f9fa;   /* tarjeta de opción */
  --ac2-bubble: #f3f4f5;    /* burbuja de pregunta */
}

/* ---------- Hero ---------- */
.ac2-hero {
  background: var(--navy-800);
  color: var(--white);
  text-align: center;
  padding: 48px 24px 88px;
}
.ac2-hero h1 {
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.2;
  max-width: 680px;
  margin: 0 auto;
}
.ac2-hero p {
  color: #aac7fd;
  font-size: 15px;
  max-width: 620px;
  margin: 14px auto 0;
}

/* ---------- Contenedor / tarjeta ---------- */
.ac2-wrap {
  max-width: 720px;
  margin: -52px auto 64px;
  padding: 0 24px;
}
.ac2-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* ---------- Barra de progreso ---------- */
.ac2-progress { height: 8px; background: #e1e3e4; }
.ac2-progress__bar {
  height: 100%;
  background: var(--ac2-mint);
  border-radius: 0 8px 8px 0;
  transition: width .35s ease;
}

.ac2-body { padding: 32px; }

/* ---------- Pregunta ---------- */
.ac2-question {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.ac2-question__badge {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
}
.ac2-question__bubble {
  background: var(--ac2-bubble);
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 17px;
  font-weight: 600;
  color: #001430;
}

/* ---------- Opciones ---------- */
.ac2-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ac2-option {
  position: relative;
  min-height: 104px;
  background: var(--ac2-surface);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font);
  text-align: center;
  transition: background .15s, border-color .15s, transform .1s;
}
.ac2-option:hover { background: #eef2f7; }
.ac2-option:active { transform: scale(.99); }
.ac2-option.is-selected {
  background: var(--ac2-sel);
  border-color: var(--blue-500);
}
.ac2-option__ico { font-size: 28px; color: #43474f; line-height: 0; }
.ac2-option.is-selected .ac2-option__ico { color: var(--navy-800); }
.ac2-option__label { font-size: 16px; font-weight: 600; color: #191c1d; }
.ac2-option__check {
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: none;
  place-items: center;
  font-size: 13px;
}
.ac2-option.is-selected .ac2-option__check { display: grid; }

/* ---------- Botones de acción ---------- */
.ac2-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 28px;
}
.ac2-btn {
  border: 0;
  border-radius: 9999px;
  padding: 11px 22px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: filter .15s, background .15s, color .15s;
}
.ac2-btn--ghost { background: var(--ac2-surface); color: var(--ink-700); }
.ac2-btn--ghost:hover { background: #eceef1; }
.ac2-btn--next { background: var(--ac2-mint); color: var(--ac2-mint-ink); }
.ac2-btn--next:hover:not(:disabled) { filter: brightness(.95); }
.ac2-btn--next:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Resultado ---------- */
.ac2-result { text-align: center; }
.ac2-result__icon {
  width: 72px; height: 72px;
  margin: 4px auto 18px;
  border-radius: 50%;
  background: #e7f9f0;
  color: var(--green-500);
  display: grid; place-items: center;
  font-size: 34px;
}
.ac2-result__title { font-family: var(--font-alt); font-size: 26px; font-weight: 700; color: var(--navy-800); }
.ac2-result__lead { color: var(--ink-500); font-size: 15px; max-width: 520px; margin: 10px auto 0; }

.ac2-summary {
  text-align: left;
  margin: 28px 0 8px;
  display: grid;
  gap: 10px;
}
.ac2-summary__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--ac2-surface);
  border-radius: 10px;
  padding: 14px 18px;
}
.ac2-summary__q { color: var(--ink-500); font-size: 14px; }
.ac2-summary__a {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--navy-800); font-size: 14px;
  text-align: right;
}
.ac2-summary__a svg.lucide { color: var(--green-500); }

.ac2-result__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.ac2-btn--wa { background: #25d366; color: #fff; text-decoration: none; }
.ac2-btn--wa:hover { filter: brightness(.95); }
.ac2-btn--outline { background: #fff; color: var(--blue-500); border: 1px solid var(--blue-500); text-decoration: none; }
.ac2-btn--outline:hover { background: var(--blue-500); color: #fff; }
.ac2-restart {
  margin: 20px auto 0;
  background: none; border: 0;
  color: var(--ink-500);
  font-family: var(--font);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.ac2-restart:hover { color: var(--ink-900); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .ac2-body { padding: 24px; }
  .ac2-options { grid-template-columns: 1fr; }
  .ac2-question__bubble { font-size: 17px; padding: 14px 18px; }
  .ac2-actions { flex-direction: row; }
  .ac2-btn { padding: 12px 20px; font-size: 15px; }
}
