/* ==========================================================================
   VDN Brands — pages/crea-tu-web.css
   Asistente «Crea tu web» (js/crea-tu-web.js). Los campos del formulario y
   las casillas con forma de chip vienen de pages/contacto.css.
   ========================================================================== */

/* ---------- Encabezado ---------- */
.ctw-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 56px;
}

.ctw-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 480px;
}

.ctw-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.ctw-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--text-2);
}

.ctw-steps__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}

/* ---------- Estructura del asistente ---------- */
.wizard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.wizard__noscript {
  grid-column: 1 / -1;
  padding: 20px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--text-2);
}

.wizard__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 50% at 0% 0%, rgba(206, 215, 34, 0.07), transparent 60%),
    var(--ink-2);
}

.wizard__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.wizard__bot {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wizard__orb {
  width: 38px;
  height: 38px;
}

.wizard__bot-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wizard__bot-name {
  font-weight: 600;
}

.wizard__bot-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.wizard__bot-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.wizard__meter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 180px;
}

.wizard__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.wizard__bar {
  position: relative;
  width: 180px;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(245, 243, 238, 0.1);
}

.wizard__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(206, 215, 34, 0.6);
  transition: width 0.6s var(--ease-out);
}

.wizard__screen {
  flex: 1;
}

.wizard__screen[hidden] {
  display: none;
}

/* ---------- Esfera pensando ---------- */
.ai-orb.is-thinking {
  animation: orb-think 1s ease-in-out infinite;
}

.ai-orb.is-thinking::before {
  animation-duration: 0.9s;
}

.ai-orb.is-thinking::after {
  animation-duration: 3s;
}

@keyframes orb-think {
  0%, 100% { transform: scale(1); box-shadow: 0 0 26px rgba(206, 215, 34, 0.45), inset -6px -8px 14px rgba(0, 0, 0, 0.35); }
  50% { transform: scale(1.08); box-shadow: 0 0 44px rgba(206, 215, 34, 0.75), inset -6px -8px 14px rgba(0, 0, 0, 0.35); }
}

/* ---------- Chat ---------- */
.wizard__screen--chat {
  display: flex;
  flex-direction: column;
}

.chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  max-height: min(52vh, 480px);
  min-height: 260px;
  padding: 26px clamp(20px, 3vw, 32px) 12px;
  overflow-y: auto;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 86%;
  animation: msg-in 0.45s var(--ease-out) both;
}

.msg--user {
  align-self: flex-end;
}

.msg__avatar {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #F6F9CF 0%, var(--accent) 38%, #6B7012 78%, #23250A 100%);
  box-shadow: 0 0 14px rgba(206, 215, 34, 0.35);
}

.msg__bubble {
  padding: 14px 18px;
  border-radius: 20px 20px 20px 6px;
  background: var(--ink-4);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  white-space: pre-line;
}

.msg--user .msg__bubble {
  border: 1px solid rgba(206, 215, 34, 0.5);
  border-radius: 20px 20px 6px 20px;
  background: rgba(206, 215, 34, 0.1);
}

@keyframes msg-in {
  from { opacity: 0; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}

/* Tres puntos de «escribiendo» */
.typing {
  display: inline-flex;
  gap: 5px;
  padding-block: 6px;
}

.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.1s ease-in-out infinite;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-5px); }
}

/* ---------- Respuestas ---------- */
.answers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 120px;
  padding: 20px clamp(20px, 3vw, 32px) 26px;
  border-top: 1px solid var(--line);
}

.answers:empty {
  border-top-color: transparent;
}

.answers.is-in > * {
  animation: msg-in 0.5s var(--ease-out) both;
}

.answers.is-in > *:nth-child(2) {
  animation-delay: 0.08s;
}

.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.opt {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-snap);
}

.opt:hover {
  border-color: var(--accent);
  background: rgba(206, 215, 34, 0.08);
}

.opt:active,
.opt.is-picked {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
  transform: scale(0.97);
}

.answers__set {
  min-width: 0;
  padding: 0;
  border: 0;
}

.answers__set.is-shake {
  animation: shake 0.45s ease;
}

@keyframes shake {
  0%, 100% { translate: 0 0; }
  25% { translate: -6px 0; }
  75% { translate: 6px 0; }
}

.answers__text {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.answers__text .field__input {
  flex: 1;
  min-width: 0;
}

.answers__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.answers__row:empty {
  display: none;
}

.answers__skip,
.answers__back {
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.answers__skip:hover,
.answers__back:hover {
  color: var(--paper);
}

.answers__back {
  margin-left: auto;
  text-decoration: none;
}

/* Tarjetas de estilo */
.style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.style-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: transparent;
  color: var(--paper);
  text-align: left;
  transition: border-color 0.2s ease, transform 0.3s var(--ease-snap);
}

.style-card:hover,
.style-card.is-picked {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.style-card__sample {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 84px;
  padding: 12px;
  border-radius: 12px;
}

.style-card__aa {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.style-card__dots {
  display: flex;
  gap: 4px;
}

.style-card__dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.style-card__name {
  padding-inline: 4px;
  font-size: 14px;
  font-weight: 600;
}

.style-card--minimal .style-card__sample { background: #FFFFFF; color: #111111; }
.style-card--minimal .style-card__dots i:nth-child(1) { background: #111111; }
.style-card--minimal .style-card__dots i:nth-child(2) { background: #BDBDBD; }
.style-card--minimal .style-card__dots i:nth-child(3) { background: #EDEDED; box-shadow: inset 0 0 0 1px #D0D0D0; }

.style-card--editorial .style-card__sample { background: #F3EEE4; color: #14223B; }
.style-card--editorial .style-card__aa { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.style-card--editorial .style-card__dots i:nth-child(1) { background: #14223B; }
.style-card--editorial .style-card__dots i:nth-child(2) { background: #B08D57; }
.style-card--editorial .style-card__dots i:nth-child(3) { background: #D9CFBE; }

.style-card--oscuro .style-card__sample { background: #0B0B0C; color: #F5F3EE; box-shadow: inset 0 0 0 1px rgba(245, 243, 238, 0.15); }
.style-card--oscuro .style-card__dots i:nth-child(1) { background: #F5F3EE; }
.style-card--oscuro .style-card__dots i:nth-child(2) { background: var(--accent); }
.style-card--oscuro .style-card__dots i:nth-child(3) { background: #7C5CFF; }

.style-card--calido .style-card__sample { background: #F4D9C6; color: #6A2E1E; }
.style-card--calido .style-card__dots i:nth-child(1) { background: #C8553D; }
.style-card--calido .style-card__dots i:nth-child(2) { background: #F28F3B; }
.style-card--calido .style-card__dots i:nth-child(3) { background: #FFF4E8; }

/* ---------- Brief ---------- */
.wizard__brief {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
}

.wizard__brief-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.brief {
  display: flex;
  flex-direction: column;
}

.brief__row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.brief__row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 2px;
}

.brief__row dd {
  margin: 0;
  color: var(--muted-2);
  overflow-wrap: anywhere;
}

.brief__row.is-filled dd {
  color: var(--paper);
}

.brief__row.is-new dd {
  animation: brief-flash 1.4s ease;
}

@keyframes brief-flash {
  0% { color: var(--accent); text-shadow: 0 0 14px rgba(206, 215, 34, 0.6); }
  100% { color: var(--paper); text-shadow: none; }
}

.wizard__brief-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Análisis ---------- */
.analysis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 48px clamp(20px, 3vw, 32px) 56px;
  text-align: center;
}

.analysis__visual {
  position: relative;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 300 / 240;
}

.net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.net__line {
  stroke: rgba(206, 215, 34, 0.45);
  stroke-width: 1;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: net-draw 1.4s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 0.12s);
}

.net__line--ring {
  stroke: rgba(245, 243, 238, 0.14);
  animation-delay: calc(0.6s + var(--i) * 0.1s);
}

.net__node {
  fill: var(--accent);
  opacity: 0;
  animation: net-node 2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.18s);
}

@keyframes net-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes net-node {
  0%, 100% { opacity: 0.25; r: 3; }
  50% { opacity: 1; r: 5; }
}

.analysis__orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  translate: -50% -50%;
  animation: orb-think 1.2s ease-in-out infinite;
}

.analysis__orb::before {
  inset: -10px;
  animation-duration: 1s;
}

.analysis__orb::after {
  inset: -22px;
  animation-duration: 4s;
}

.analysis__scan {
  position: absolute;
  inset: -6px 10%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 80%, rgba(206, 215, 34, 0.35) 92%, transparent 100%);
  mask-image: radial-gradient(circle, transparent 38%, #000 40%, #000 62%, transparent 64%);
  animation: spin 2.2s linear infinite;
}

.analysis__title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.analysis__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  text-align: left;
}

.analysis__steps li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--muted-2);
  transition: color 0.3s ease;
}

.analysis__steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
}

.analysis__steps li.is-active {
  color: var(--paper);
}

.analysis__steps li.is-active::before {
  border-color: var(--accent);
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}

.analysis__steps li.is-done {
  color: var(--text-2);
}

.analysis__steps li.is-done::before {
  border-color: var(--accent);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--accent);
}

/* ---------- Resultado ---------- */
.result {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 36px) 36px;
  animation: msg-in 0.6s var(--ease-out) both;
}

.result__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result__title {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.result__title:focus {
  outline: none;
}

.result__why {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
}

.result__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
}

.result-plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(206, 215, 34, 0.45);
  border-radius: var(--radius-md);
  background: radial-gradient(120% 80% at 100% 0%, rgba(206, 215, 34, 0.1), transparent 60%), var(--ink-3);
}

.result-plan__lines {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.result-plan__line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 15px;
}

.result-plan__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.result-plan__price {
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
}

.result-plan__total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.result-plan__label {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.result-plan__amount {
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.result-plan__unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.result-plan__fit {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(245, 243, 238, 0.05);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}

.result-plan__fit[data-tipo="ok"] {
  background: rgba(206, 215, 34, 0.1);
  color: var(--paper);
}

.result-plan__fit[data-tipo="alto"] {
  background: rgba(255, 170, 90, 0.1);
}

.result-plan__includes summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.result-plan__includes ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-2);
}

.result-plan__note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* Caso parecido */
.result-case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-3);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.3s ease;
}

.result-case:hover {
  border-color: var(--line-strong);
}

.result-case__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-4);
}

.result-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.result-case:hover .result-case__media img {
  transform: scale(1.04);
}

.result-case__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 22px;
}

.result-case__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.result-case__meta {
  font-size: 14px;
  color: var(--muted);
}

.result-case__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

/* Modelos */
.result__models {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.result__models-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.result__subtitle {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.result__hint {
  font-size: 14px;
  color: var(--muted);
}

.models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.model {
  position: relative;
  display: flex;
  flex-direction: column;
}

.model[hidden] {
  display: none;
}

.model__pick {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 10px 10px 54px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--ink-3);
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.35s var(--ease-snap);
}

.model__pick:hover {
  transform: translateY(-3px);
}

.model__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.model__pick:has(.model__radio:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(206, 215, 34, 0.18);
}

.model__pick:has(.model__radio:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.model__preview {
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

.model-svg {
  display: block;
  width: 100%;
  height: auto;
}

.model__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline: 6px;
}

.model__match {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.model__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.model__for {
  font-size: 13.5px;
  color: var(--muted);
}

.model__zoom {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.model__zoom:hover {
  color: var(--accent);
}

/* Marca de elegido */
.model__pick::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.model__pick:has(.model__radio:checked)::after {
  border-color: var(--accent);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--accent);
}

.result__more {
  align-self: flex-start;
}

.result__more[hidden] {
  display: none;
}

/* Formulario final */
.result-form {
  gap: 26px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-3);
}

.result-form .btn svg {
  flex-shrink: 0;
}

/* Enviado */
.sent {
  min-height: 0;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 40px);
}

.sent strong {
  color: var(--paper);
}

/* ---------- Vista grande de un modelo ---------- */
.modal--wide {
  width: min(1040px, calc(100% - 24px));
}

.model-view {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.model-view__preview {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.model-view__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.model-view__title {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.model-view__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
}

.model-view__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-2);
}

/* ---------- Qué pasa después ---------- */
.ctw-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.ctw-flow__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  border-top: 1px solid var(--line-strong);
}

.ctw-flow__item h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ctw-flow__item p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.ctw-flow__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

/* ---------- Pantallas medianas y celular ---------- */
@media (max-width: 1100px) {
  .wizard {
    grid-template-columns: minmax(0, 1fr);
  }

  .wizard__brief {
    position: static;
  }

  .brief {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .ctw-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .result__grid,
  .model-view {
    grid-template-columns: minmax(0, 1fr);
  }

  .models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .wizard__panel {
    min-height: 560px;
    border-radius: var(--radius-md);
  }

  .wizard__meter {
    align-items: flex-start;
    width: 100%;
  }

  .wizard__bar {
    width: 100%;
  }

  .chat {
    max-height: none;
    min-height: 220px;
  }

  .msg {
    max-width: 94%;
  }

  .answers__text {
    flex-direction: column;
    align-items: stretch;
  }

  .answers__back {
    margin-left: 0;
  }

  .models,
  .brief,
  .ctw-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .result-plan__line {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .result-plan__tag {
    grid-column: 1 / -1;
  }
}

/* El título ocupa lo que pueda: «en 2 minutos.» en una sola línea */
.ctw-hero__row > h1 {
  flex: 1 1 620px;
}

.ctw-hero__aside {
  flex: 0 1 440px;
}
