/* Plan quote landing + 5-step overlay */

body.quote-page-body {
  background: #f4f7fb;
}

body.quote-page-body::before {
  opacity: 0.45;
}

.quote-hero {
  padding: 28px 0 64px;
}

.quote-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 420px);
  gap: 40px;
  align-items: center;
}

.quote-plan-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
}

.quote-plan-icon svg {
  width: 36px;
  height: 36px;
}

.quote-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.quote-copy h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.quote-sub {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 42ch;
  font-weight: 500;
}

.quote-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.quote-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.quote-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.quote-card {
  background: #fff;
  border: 1px solid #e4ebf3;
  border-radius: 20px;
  padding: 22px 22px 18px;
  display: grid;
  gap: 12px;
  box-shadow: 0 18px 50px rgba(11, 31, 58, 0.1);
}

.quote-card label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #3d4d63;
}

.quote-card input[type="text"],
.quote-card input[type="date"],
.quote-card input[type="tel"] {
  width: 100%;
  height: 48px;
  border: 1px solid #d5deea;
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
}

.quote-card input:focus {
  outline: 2px solid rgba(11, 31, 58, 0.18);
  border-color: var(--brand);
}

.quote-gender {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  background: #f3f6fa;
  border-radius: 14px;
}

.quote-gender-btn {
  height: 42px;
  border: 0;
  border-radius: 10px !important;
  background: transparent;
  color: #5a6b80;
  font-weight: 700;
  box-shadow: none;
  transform: none !important;
}

.quote-gender-btn.is-active {
  background: var(--brand);
  color: #fff;
}

.quote-dob-wrap,
.quote-mobile {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.quote-mobile {
  grid-template-columns: auto 1fr;
  border: 1px solid #d5deea;
  border-radius: 12px;
  padding-left: 12px;
  background: #fff;
}

.quote-mobile span {
  font-size: 13px;
  font-weight: 700;
  color: #5a6b80;
  white-space: nowrap;
}

.quote-mobile input {
  border: 0 !important;
  height: 46px !important;
}

.quote-age {
  min-width: 78px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef2f7;
  font-size: 13px;
  font-weight: 700;
  color: #3d4d63;
}

.quote-submit {
  width: 100%;
  height: 50px;
  margin-top: 4px;
  border-radius: 12px !important;
  justify-self: stretch;
}

.quote-wa {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ink);
}

.quote-wa input {
  width: 15px;
  height: 15px;
  accent-color: var(--brand);
}

.quote-legal {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: #7a8798;
  font-weight: 500;
}

.quote-legal a {
  color: var(--brand);
  font-weight: 700;
}

.quote-card .lead-status {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.quote-card .lead-status.is-error {
  color: #9b1c1c;
}

.quote-card .lead-status.is-ok {
  color: #1a6b5c;
}

.quote-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(11, 31, 58, 0.55);
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.quote-overlay[hidden],
.quote-step[hidden],
.quote-modal-foot[hidden],
.quote-progress-copy[hidden],
.quote-age[hidden],
.quote-close[hidden] {
  display: none !important;
}

.quote-choice-btn.is-picked,
.quote-list-btn.is-picked,
.quote-city-btn.is-picked {
  border-color: var(--brand);
  background: #eef3f9;
}

.quote-modal {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 22px;
  box-shadow: 0 24px 64px rgba(11, 31, 58, 0.28);
  position: relative;
}

.quote-progress-copy {
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #d5deea;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #5a6b80;
}

.quote-step h2 {
  margin: 8px 0 22px;
  text-align: center;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.03em;
}

.quote-choice-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.quote-choice-btn,
.quote-list-btn,
.quote-city-btn,
.quote-prev {
  border-radius: 10px !important;
  transform: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.quote-choice-btn {
  min-width: 168px;
  height: 56px;
  padding: 0 22px;
  border: 1px solid #cfd8e6;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.quote-choice-btn:hover,
.quote-list-btn:hover,
.quote-city-btn:hover {
  border-color: var(--brand);
  background: #f5f8fc;
}

.quote-list {
  border: 1px solid #e4ebf3;
  border-radius: 12px;
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
}

.quote-list-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid #e4ebf3;
  border-radius: 0 !important;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.quote-list-btn:last-child {
  border-bottom: 0;
}

.quote-list-btn::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  border: 2px solid #4a90d9;
  box-sizing: border-box;
}

.quote-hint {
  margin: -8px auto 20px;
  max-width: 420px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #eef6ff;
  color: #2c5a8c;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.quote-city-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto 16px;
  padding: 0 14px;
  border: 1px solid #cfd8e6;
  border-radius: 12px;
  color: #7a8798;
}

.quote-city-search {
  flex: 1;
  height: 48px;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
}

.quote-city-search:focus {
  outline: none;
}

.quote-popular {
  max-width: 420px;
  margin: 0 auto 8px;
  font-size: 12px;
  font-weight: 700;
  color: #7a8798;
}

.quote-city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.quote-city-btn {
  height: 44px;
  border: 1px solid #cfd8e6;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}

.quote-done {
  text-align: center;
}

.quote-done .lead-success-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a6b5c;
}

.quote-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px !important;
  background: #f3f6fa;
  color: #3d4d63;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  transform: none !important;
  box-shadow: none !important;
}

.quote-close:hover {
  background: #e8eef6;
}

.quote-done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.quote-done .btn-gold {
  display: inline-flex;
  margin-top: 0;
  min-width: 168px;
  height: 44px;
}

.quote-done-close {
  min-width: 120px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid #cfd8e6;
  border-radius: 10px !important;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  transform: none !important;
  box-shadow: none !important;
}

.quote-modal-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 28px;
  position: relative;
}

.quote-prev {
  position: absolute;
  left: 0;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #cfd8e6;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.quote-dots {
  display: flex;
  gap: 8px;
}

.quote-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5deea;
}

.quote-dots span.is-on {
  background: #2f80ed;
}

body.quote-lock {
  overflow: hidden;
}

@media (max-width: 960px) {
  .quote-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .quote-card {
    order: -1;
  }

  .quote-copy h1 {
    max-width: none;
  }

  .quote-modal {
    padding: 22px 16px 16px;
  }

  .quote-choice-btn {
    min-width: calc(50% - 8px);
    flex: 1;
  }
}
