/* Quote wizard — Agentes de Confianza */
:root {
  --adc-green: #7AC70C;
}

.adc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 0;
  border-radius: 999px;
  background: var(--adc-green);
  color: #fff;
  font-weight: 700;
  padding: .9rem 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(122, 199, 12, .35);
}
.adc-btn-primary:hover { filter: brightness(1.05); }

.adc-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,.45);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
}
@media (min-width: 640px) {
  .adc-overlay { align-items: center; padding: 1rem; }
}

.adc-modal {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
@media (min-width: 640px) {
  .adc-modal { border-radius: 1.25rem; }
}

.adc-modal-head {
  padding: 1.25rem 1.25rem 1rem;
  background: linear-gradient(180deg, #F5FAE8, #fff);
  border-bottom: 1px solid #f1f1f1;
  position: sticky; top: 0; background-clip: padding-box;
}
.adc-modal-head h3 { margin: 0; font-size: 1.25rem; }
.adc-modal-head p { margin: .35rem 0 0; color: #666; font-size: .9rem; }
.adc-close {
  position: absolute; right: .75rem; top: .75rem;
  border: 0; background: #f3f3f3; width: 36px; height: 36px;
  border-radius: 999px; cursor: pointer; font-size: 1.1rem;
}

.adc-progress { height: 8px; background: #eee; border-radius: 999px; margin-top: 1rem; overflow: hidden; }
.adc-progress > span { display: block; height: 100%; background: var(--adc-green); transition: width .25s; }

.adc-modal-body { padding: 1.25rem; }
.adc-field { margin-bottom: 1rem; }
.adc-field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .92rem; }
.adc-field input, .adc-field select, .adc-field textarea {
  width: 100%; border: 1px solid #e5e5e5; border-radius: .75rem;
  padding: .7rem .85rem; font: inherit; box-sizing: border-box;
}
.adc-req { color: #e11; font-weight: 800; }
.adc-req-pulse { color: #dc2626; font-size: 1.05rem; animation: adcPulse 1s infinite; }
@keyframes adcPulse { 50% { opacity: .45; } }
.adc-note { font-size: .78rem; color: #777; margin-top: .25rem; }
.adc-section {
  background: #F5FAE8; border-radius: 1rem; padding: .85rem 1rem; margin-bottom: 1rem;
}
.adc-section strong { display: block; }
.adc-section span { font-size: .8rem; color: #555; }

.adc-grid-2 { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.adc-types { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.adc-type-btn {
  border: 2px solid transparent; border-radius: 1rem; padding: 1rem .75rem;
  background: #f7f7f7; cursor: pointer; font-weight: 700;
}
.adc-type-btn.is-active { border-color: var(--adc-green); box-shadow: 0 4px 16px rgba(0,0,0,.06); }

.adc-radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.adc-radio {
  display: flex; align-items: center; gap: .6rem;
  border: 2px solid #e5e5e5; border-radius: 1rem; padding: .8rem .9rem;
  cursor: pointer; font-weight: 600; background: #fff;
}
.adc-radio.is-active { border-color: var(--adc-green); background: #F5FAE8; }
.adc-radio i {
  width: 18px; height: 18px; border-radius: 999px; border: 2px solid #bbb; display: inline-flex;
  align-items: center; justify-content: center;
}
.adc-radio.is-active i { border-color: var(--adc-green); }
.adc-radio.is-active i::after {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--adc-green);
}

.adc-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #f0f0f0; }
.adc-btn-outline {
  border: 1px solid #ddd; background: #fff; border-radius: 999px; padding: .7rem 1.1rem; cursor: pointer; font-weight: 600;
}
.adc-success { text-align: center; padding: 2rem 1rem; }
.adc-success h4 { margin: .5rem 0; font-size: 1.25rem; }
.adc-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.adc-insurance-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .85rem;
}
@media (min-width: 900px) {
  .adc-insurance-grid { grid-template-columns: repeat(4, 1fr); }
}
.adc-insurance-card {
  aspect-ratio: 1; border: 0; border-radius: 1.25rem; padding: 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; cursor: pointer; box-shadow: 0 4px 24px rgba(0,0,0,.06);
  font-weight: 700;
}
.adc-insurance-card:hover { transform: translateY(-2px); }
.adc-insurance-icon {
  width: 52px; height: 52px; border-radius: 1rem; background: rgba(255,255,255,.85);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
