/* ==========================================================================
   Ficha de entrevista: formulario, selector de turno y pantallas de resultado
   ========================================================================== */

.phero--ficha { padding-bottom: clamp(32px, 4vw, 56px); }
.section--ficha { padding-top: clamp(40px, 5vw, 64px); }

.ficha__inner {
  display: grid; grid-template-columns: 1.6fr .8fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.ficha__aside { position: sticky; top: 130px; display: grid; gap: 20px; }

/* ---------- Bloques del formulario ---------- */
.ficha { display: grid; gap: clamp(24px, 3vw, 36px); }

.ficha__paso {
  margin: 0; padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--hair);
  background: linear-gradient(158deg, rgba(13, 50, 99, .3) 0%, rgba(0, 20, 45, .5) 100%);
}
.ficha__paso legend {
  display: flex; align-items: center; gap: 14px;
  padding: 0 0 22px;
  font-family: var(--f-display);
  font-size: clamp(21px, 1.8vw, 26px); font-weight: 400;
  color: var(--ivory);
}
.ficha__n {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(228, 177, 61, .4); border-radius: 50%;
  font-family: var(--f-caps); font-size: 11px; letter-spacing: .1em;
  color: var(--gold-300);
}

.ficha__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Campos ---------- */
.campo { display: block; margin-bottom: 18px; }
.ficha__fila .campo { margin-bottom: 0; }
.campo > label {
  display: block; margin-bottom: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ivory-50);
}
.campo__opt { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }

.campo input[type="text"],
.campo input[type="tel"],
.campo input[type="email"],
.campo select,
.campo textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--f-sans); font-size: 15px;
  color: var(--ivory);
  background: rgba(0, 12, 28, .55);
  border: 1px solid rgba(246, 240, 228, .16);
  border-radius: 0;
  appearance: none;
  transition: border-color .4s, background-color .4s;
}
.campo textarea { resize: vertical; line-height: 1.6; min-height: 96px; }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(246, 240, 228, .3); }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; border-color: var(--gold-400); background: rgba(0, 12, 28, .8);
}
.campo.is-error input, .campo.is-error select, .campo.is-error textarea { border-color: #e0704f; }
.campo__error { display: block; margin-top: 7px; font-size: 12.5px; color: #f0937a; }

.campo__select { position: relative; display: block; }
.campo__select .ico {
  position: absolute; right: 14px; top: 50%;
  width: 18px; height: 18px; transform: translateY(-50%);
  stroke: var(--gold-300); fill: none; stroke-width: 1.5;
  pointer-events: none;
}
.campo select option { background: #00142c; color: var(--ivory); }

/* ---------- Opciones (radio) ---------- */
.opciones { display: flex; flex-wrap: wrap; gap: 10px; }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; width: 0; height: 0; }
.opcion span {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 20px;
  border: 1px solid rgba(246, 240, 228, .18);
  font-size: 14px;
  color: var(--ivory-70);
  cursor: pointer;
  transition: color .35s, border-color .35s, background-color .35s;
}
.opcion span .ico { font-size: 17px; color: var(--gold-300); }
.opcion input:checked + span {
  color: var(--navy-900);
  background: linear-gradient(180deg, #f0cd6a, #c9942f);
  border-color: var(--gold-300);
}
.opcion input:checked + span .ico { color: var(--navy-900); }
.opcion input:focus-visible + span { outline: 1px solid var(--gold-300); outline-offset: 3px; }
.opcion span:hover { border-color: var(--gold-400); color: var(--ivory); }

/* ---------- Días y horarios ---------- */
.dias {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px; margin-bottom: 26px;
}
.dia {
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 16px;
  text-align: left;
  border: 1px solid rgba(246, 240, 228, .16);
  background: rgba(0, 12, 28, .4);
  transition: border-color .35s, background-color .35s, transform .35s var(--ease-out);
}
.dia__label { font-family: var(--f-display); font-size: 17px; color: var(--ivory); }
.dia__n { font-size: 11px; letter-spacing: .1em; color: var(--ivory-50); }
.dia:hover { border-color: var(--gold-400); transform: translateY(-2px); }
.dia.is-active {
  border-color: var(--gold-300);
  background: linear-gradient(158deg, rgba(228, 177, 61, .18), rgba(0, 20, 45, .6));
}
.dia.is-active .dia__n { color: var(--gold-200); }

.dias.is-colapsado .dia--extra { display: none; }
.dias__mas {
  display: inline-flex; align-items: center; gap: 9px;
  margin: -14px 0 26px;
  padding: 10px 0;
  font-family: var(--f-caps);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-300);
  border-bottom: 1px solid rgba(228, 177, 61, .3);
}
.dias__mas .ico { font-size: 15px; transform: rotate(90deg); }
.dias__mas:hover { color: var(--gold-100); }

.horas__label {
  display: block; margin-bottom: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ivory-50);
}
.horas { display: flex; flex-wrap: wrap; gap: 9px; min-height: 48px; }
.horas__hint { font-size: 14px; color: var(--ivory-50); }
.hora {
  padding: 12px 20px;
  border: 1px solid rgba(246, 240, 228, .18);
  font-family: var(--f-sans); font-size: 14.5px;
  color: var(--ivory-70);
  transition: color .35s, border-color .35s, background-color .35s;
}
.hora:hover { border-color: var(--gold-400); color: var(--ivory); }
.hora.is-active {
  color: var(--navy-900);
  background: linear-gradient(180deg, #f0cd6a, #c9942f);
  border-color: var(--gold-300);
}

.ficha__vacio {
  padding: 20px 22px;
  border: 1px solid rgba(228, 177, 61, .25);
  background: rgba(228, 177, 61, .06);
  font-size: 15px; color: var(--ivory-70);
}
.ficha__vacio a { color: var(--gold-200); border-bottom: 1px solid rgba(228, 177, 61, .4); }

/* ---------- Alertas, pago y envío ---------- */
.ficha__alerta {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border: 1px solid rgba(224, 112, 79, .5);
  background: rgba(224, 112, 79, .1);
  font-size: 14.5px; color: #f3b9a6;
}
.ficha__alerta .ico { font-size: 20px; color: #e0704f; flex: none; }

.ficha__pago {
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(228, 177, 61, .3);
  background: linear-gradient(120deg, rgba(228, 177, 61, .12), rgba(0, 20, 45, .5));
}
.ficha__pago-label {
  font-family: var(--f-caps);
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-300);
}
.ficha__pago-monto {
  margin-top: 6px;
  font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); font-weight: 400;
  color: var(--ivory);
}
.ficha__pago-nota { flex: 1; min-width: 240px; font-size: 13.5px; line-height: 1.7; color: var(--ivory-70); }

.ficha__enviar { display: grid; gap: 14px; justify-items: start; }
.ficha__enviar .btn { width: 100%; }
.ficha__legal { font-size: 12.5px; color: var(--ivory-50); }
.ficha button[disabled] { opacity: .45; pointer-events: none; }

.acard__list--pasos li { align-items: flex-start; }
.acard__list--pasos .ico { margin-top: 2px; }

/* ---------- Pantallas de resultado ---------- */
.resultado {
  max-width: 640px;
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid rgba(228, 177, 61, .25);
  background: linear-gradient(158deg, rgba(13, 50, 99, .4) 0%, rgba(0, 20, 45, .6) 100%);
}
.resultado__ico {
  width: 54px; height: 54px;
  margin-bottom: 22px;
  fill: none; stroke: var(--gold-300); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
}
.resultado__titulo {
  margin: 0 0 18px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  color: var(--ivory);
}
.resultado__texto p {
  margin-bottom: 14px;
  font-size: 15.5px; font-weight: 300; line-height: 1.75;
  color: var(--ivory-70);
}
.resultado__texto b { color: var(--gold-200); font-weight: 600; }
.resultado__acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.resultado--espera .resultado__ico { stroke: #f0b97a; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ficha__inner { grid-template-columns: 1fr; }
  .ficha__aside { position: static; }
}
@media (max-width: 640px) {
  .ficha__fila { grid-template-columns: 1fr; gap: 18px; }
  .ficha__paso { padding: 22px 18px; }
  .ficha__paso legend { font-size: 20px; gap: 11px; }
  .dias { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
  .opciones .opcion span { padding: 11px 16px; font-size: 13.5px; }
}
