/* =========================================================
QUOTE PAGE (quote.html)
Clean + centered card. Minimal “bubble” vibes.
========================================================= */

/* ---------- Page background + text ---------- */
.quote-page {
  min-height: 100vh;
  min-height: 100svh;
  background: #070a10; /* simple + fast */
  color: rgba(255, 255, 255, 0.92);
}

/* Optional: subtle glow (NOT bubbles). Remove if you want totally flat. */
.quote-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      900px 520px at 18% 0%,
      rgba(205, 154, 38, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 88% 10%,
      rgba(138, 211, 255, 0.08),
      transparent 60%
    );
  opacity: 0.9;
}

/* ---------- Layout shell (keeps card centered) ---------- */
.quote-shell {
  /* leaves space for sticky header */
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  padding: 18px 0 22px;
}

.quote-wrap {
  width: min(900px, calc(100% - 32px));
}

/* ---------- The card ---------- */
.quote-card {
  /* quick tweak knobs */
  --card-pad: 18px;
  --radius: 18px;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  padding: var(--card-pad);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---------- Heading ---------- */
.quote-head h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
}

.quote-head p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
}

/* (Optional) “trust badges” – you said you’re over bubbles.
If you want them gone, delete this whole block + the HTML. */
.quote-badges {
  display: none; /* hide badges */
}

/* ---------- Form layout ---------- */
.quote-form {
  display: grid;
  gap: 10px;
}

/* First/Last name 2-col */
.form__grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Generic 2-col blocks (if used) */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Labels */
.field label {
  display: block;
  margin: 0 0 5px;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}

.req {
  color: #ff6b6b;
}

/* Inputs + textarea */
.quote-form input,
.quote-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.92);
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}

.quote-form input {
  height: 40px;
}

.quote-form textarea {
  min-height: 84px; /* tight but usable */
  resize: none;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: rgba(205, 154, 38, 0.7);
  box-shadow: 0 0 0 4px rgba(205, 154, 38, 0.14);
}

/* Error text */
.err {
  min-height: 12px;
  margin-top: 3px;
  font-size: 11px;
  color: #ffb4b4;
}

/* ---------- CTA button ---------- */
.quote-btn {
  width: 100%;
  border: 1px solid rgba(205, 154, 38, 0.28);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;

  background: linear-gradient(
    140deg,
    rgba(205, 154, 38, 0.98),
    rgba(205, 154, 38, 0.78)
  );
  color: #111;
  box-shadow: 0 16px 36px rgba(205, 154, 38, 0.12);
}

.quote-btn:hover {
  filter: brightness(1.03);
}
.quote-btn:active {
  transform: translateY(1px);
}

/* Fine print */
.quote-fine {
  max-inline-size: 75ch;
  margin: 6px auto 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .form__grid2,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .quote-card {
    --card-pad: 14px;
    --radius: 16px;
  }

  .quote-form input {
    height: 38px;
  }
  .quote-form textarea {
    min-height: 74px;
  }
}

/* Short screens: allow the CARD to scroll, not the page */
@media (max-height: 760px) {
  .quote-shell {
    place-items: start center;
  }
  .quote-card {
    max-height: calc(100vh - 110px);
    max-height: calc(100svh - 110px);
    overflow: auto;
  }
}

/* =========================================================
   LIGHT THEME OVERRIDE (appended — wins by source order)
   Recolors the quote page to match the rest of the site:
   white background, dark text, light inputs.
========================================================= */
.quote-page {
  background: #fff !important;
  color: var(--text, rgba(0,0,0,0.92));
}
.quote-page::before {
  background: radial-gradient(900px 520px at 18% 0%, rgba(205,154,38,0.10), transparent 60%),
              radial-gradient(900px 520px at 90% 10%, rgba(44,58,80,0.06), transparent 60%);
}
.quote-page .quote-card {
  background: #fff;
  border: 1px solid rgba(44,58,80,0.14);
  box-shadow: 0 22px 60px rgba(11,15,23,0.12);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.quote-page .quote-head h1 { color: var(--text, #111); }
.quote-page .quote-head p { color: rgba(0,0,0,0.66); }
.quote-page .field label { color: rgba(0,0,0,0.72); }
.quote-page .req { color: #b00020; }

.quote-page .quote-form input,
.quote-page .quote-form textarea {
  border: 1px solid rgba(44,58,80,0.20);
  background: #fff;
  color: var(--text, #111);
}
.quote-page .quote-form input::placeholder,
.quote-page .quote-form textarea::placeholder {
  color: rgba(11,15,23,0.45);
}
.quote-page .quote-form input:focus,
.quote-page .quote-form textarea:focus {
  border-color: rgba(205,154,38,0.85);
  box-shadow: 0 0 0 4px rgba(205,154,38,0.18);
}
.quote-page .err { color: #b00020; }

/* Service checkbox chips → light */
.quote-page .svc {
  border: 1px solid rgba(44,58,80,0.20);
  background: rgba(44,58,80,0.03);
  color: var(--text, #111);
}
.quote-page .svc:hover { background: rgba(205,154,38,0.10); }
.quote-page .svc input[type="checkbox"] {
  /* Paint the brand color directly instead of using the native checkbox tint. */
  -webkit-appearance: none;
  appearance: none;
  display: inline-grid;
  place-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0 4px 0 0;
  padding: 0;
  vertical-align: middle;
  border: 1px solid rgba(44, 58, 80, 0.5);
  border-radius: 3px;
  background: #fff;
  accent-color: var(--navy, #2c3a50);
  cursor: pointer;
}
.quote-page .svc input[type="checkbox"]::before {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
  visibility: hidden;
}
.quote-page .svc input[type="checkbox"]:checked {
  background: var(--navy, #2c3a50);
  border-color: var(--navy, #2c3a50);
}
.quote-page .svc input[type="checkbox"]:checked::before {
  visibility: visible;
}
.quote-page .svc input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--navy, #2c3a50);
  outline-offset: 3px;
}
@media (forced-colors: active) {
  .quote-page .svc input[type="checkbox"]:checked {
    background: Highlight;
    border-color: Highlight;
  }
  .quote-page .svc input[type="checkbox"]::before {
    border-color: HighlightText;
  }
}

/* CTA stays gold, but white text to match site buttons */
.quote-page .quote-btn {
  color: #fff;
  border-color: rgba(205,154,38,0.9);
  box-shadow: 0 10px 30px rgba(205,154,38,0.35);
}
.quote-page .quote-fine { color: rgba(0,0,0,0.55); }

/* Optional prequal selects match the light-theme inputs */
.quote-form select {
  width: 100%;
  height: 40px;
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  border: 1px solid rgba(44, 58, 80, 0.2);
  background: #fff;
  color: var(--text, #111);
}
.quote-form select:focus {
  border-color: rgba(205, 154, 38, 0.85);
  box-shadow: 0 0 0 4px rgba(205, 154, 38, 0.18);
  outline: none;
}

/* What-happens-next mini list in the quote header */
.quote-next { margin-top: 14px; }
.quote-next__title {
  font-weight: 700;
  color: var(--text, #111);
  margin: 0 0 6px;
}
.quote-next__list {
  margin: 0;
  padding-left: 20px;
  color: rgba(0, 0, 0, 0.66);
  display: grid;
  gap: 4px;
}

/* SMS consent checkbox (10DLC carrier compliance). Selector depth matters:
   .field label / .quote-page .field label set block + 800 weight + label
   color, so this must outrank both to read as fine print. */
.quote-page .field label.quote-sms-consent,
.quote-page .field p.quote-sms-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 2px;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.66);
}
.quote-page .field label.quote-sms-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--navy, #2c3a50);
}
.quote-page .field label.quote-sms-consent a,
.quote-page .field p.quote-sms-consent a {
  color: inherit;
  text-decoration: underline;
}

/* The disclosure <p> shares the fine-print type but must flow as prose —
   the flex layout above is for the checkbox/radio label rows only. */
.quote-page .field p.quote-sms-consent {
  display: block;
  margin: 4px 0 6px;
  font-size: 6px;
}
