/* ════════════════════════════════════════════════════════════
   ESTADO DE REPARACIÓN — /estado-reparacion
   ════════════════════════════════════════════════════════════ */

.rep-hero { padding-bottom: 72px; }

.rep { background: var(--dark); padding: 72px 64px 100px; }
.rep-layout {
  display: grid;
  grid-template-columns: minmax(300px, 400px) 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── FORMULARIO ── */
.rep-form {
  display: flex; flex-direction: column; gap: 20px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 3px solid var(--gold);
  padding: 40px 36px;
  position: sticky; top: 112px;
}
.rep-form .section-tag { margin-bottom: 4px; }
.rep-form .form-input { background: var(--dark); font-size: 16px; }
.rep-form .form-submit { margin-top: 4px; }
.rep-aviso, .rep-error {
  font-size: 14px; line-height: 1.5;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(255,193,7,0.08);
  color: rgba(255,255,255,0.85);
}
.rep-error { border-color: #ef5350; background: rgba(239,83,80,0.1); }
.rep-privacidad {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.5;
  color: rgba(255,255,255,0.45);
}
.rep-privacidad svg {
  flex: none; width: 16px; height: 16px; margin-top: 2px;
  fill: none; stroke: var(--gold); stroke-width: 2;
}

/* ── ESTADO INICIAL ── */
.rep-vacio {
  border: 1px dashed rgba(255,255,255,0.12);
  padding: 56px 48px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.rep-vacio svg { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.rep-vacio h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px; font-weight: 700; text-transform: uppercase;
}
.rep-vacio p { max-width: 440px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 8px; }

/* ── RESULTADOS ── */
.rep-saludo h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 44px); font-weight: 900; text-transform: uppercase;
  line-height: 1;
}
.rep-saludo p { margin-top: 10px; color: rgba(255,255,255,0.6); }
.rep-saludo strong { color: var(--gold); font-weight: 500; }
.rep-lista { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.rep-nueva { margin-top: 32px; background: none; border-top: none; border-left: none; border-right: none; cursor: pointer; font-family: inherit; }

.rep-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
.rep-card-lista { border-color: rgba(255,193,7,0.5); box-shadow: 0 0 0 1px rgba(255,193,7,0.2), 0 16px 40px rgba(255,193,7,0.06); }
.rep-card-fin { opacity: 0.75; }
.rep-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.rep-card-orden {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); font-weight: 500;
}
.rep-card-equipo {
  margin-top: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1.1;
}
.rep-estado {
  flex: none;
  background: var(--gold); color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px;
}
.rep-estado.neutro { background: rgba(255,255,255,0.12); color: var(--white); }

/* Línea de progreso */
.rep-pasos { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.rep-pasos li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.rep-pasos li::before {
  content: '';
  position: absolute; top: 7px; right: 50%; left: -50%;
  height: 2px; background: rgba(255,255,255,0.1);
}
.rep-pasos li:first-child::before { display: none; }
.rep-pasos li.hecho::before, .rep-pasos li.actual::before { background: var(--gold); }
.rep-paso-punto {
  position: relative; z-index: 1;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--dark2); border: 2px solid rgba(255,255,255,0.2);
}
.rep-pasos li.hecho .rep-paso-punto { background: var(--gold); border-color: var(--gold); }
.rep-pasos li.actual .rep-paso-punto {
  background: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(255,193,7,0.2);
}
.rep-paso-nombre { font-size: 12px; line-height: 1.3; color: rgba(255,255,255,0.4); }
.rep-pasos li.hecho .rep-paso-nombre { color: rgba(255,255,255,0.7); }
.rep-pasos li.actual .rep-paso-nombre { color: var(--gold); font-weight: 500; }

.rep-card-desc { color: rgba(255,255,255,0.75); line-height: 1.6; }
.rep-card-datos { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.rep-card-datos dt {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.rep-card-datos dd { margin-top: 4px; font-size: 15px; }
.rep-card-wa {
  align-self: flex-start;
  color: var(--gold); text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,193,7,0.4);
  padding-bottom: 2px;
}
.rep-card-wa:hover { border-color: var(--gold); }

@media (max-width: 900px) {
  .rep { padding: 48px 32px 80px; }
  .rep-layout { grid-template-columns: 1fr; gap: 48px; }
  .rep-form { position: static; }
}

@media (max-width: 600px) {
  .rep-hero { padding-bottom: 48px; }
  .rep { padding: 32px 16px 64px; }
  .rep-form { padding: 28px 20px; }
  .rep-vacio { padding: 40px 20px; }
  .rep-card { padding: 24px 20px; }
  .rep-card-head { flex-direction: column; }
  .rep-paso-nombre { font-size: 10px; }
}
