/* Get a Quote (/get-a-quote) — Quote Options flow, styled on the site system.
   Loaded only by get-a-quote.html, on top of /css/styles.css. */

/* Sticky-header clearance: sections we scroll to must never sit under the
   sticky site header (the global [id] rule is 92px; give these more room). */
.gaq-anchor { scroll-margin-top: 120px; }
.gaq-days-field { scroll-margin-top: 120px; }

/* ---------- hero points ---------- */
.gaq-hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.8rem; max-width: 760px; }
.gaq-hero-point {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px; padding: 1.1rem 1.2rem; text-align: left;
}
.gaq-hero-point h2 { margin: 0 0 0.45rem; font-size: 1.15rem; color: #fff; }
.gaq-hero-point ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.gaq-hero-point li, .gaq-hero-point p { margin: 0; color: #d9e6d9; font-size: 0.95rem; }

/* ---------- trust strip ---------- */
.gaq-trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.4rem; margin-top: 1.6rem;
  font-weight: 700; color: var(--green-900); font-size: 0.98rem;
}
.gaq-trust .stars { color: var(--earth-500); letter-spacing: 0.1em; }
.gaq-trust .yelp-mark {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px;
  background: #d32323; color: #fff; font-weight: 800; font-size: 0.8rem; margin-right: 0.35rem;
  vertical-align: -3px;
}

/* ---------- progress ---------- */
.gaq-progress { margin: 0 0 1.6rem; }
.gaq-progress-label { font-weight: 800; color: var(--green-900); margin: 0 0 0.45rem; }
.gaq-progress-track { height: 10px; border-radius: 999px; background: var(--green-100); overflow: hidden; }
.gaq-progress-fill { height: 100%; width: 25%; background: var(--green-600); border-radius: 999px; transition: width 0.3s ease; }

/* ---------- step 1 choice cards ---------- */
.gaq-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.gaq-choice {
  position: relative; text-align: left; width: 100%; cursor: pointer;
  background: #fff; border: 2px solid var(--line); border-radius: 18px;
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow); font: inherit; color: inherit;
  min-height: 44px;
}
.gaq-choice:hover { border-color: var(--green-600); }
.gaq-choice .icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.gaq-choice h3 { margin: 0 0 0.8rem; color: var(--green-900); font-size: 1.3rem; padding-right: 6.5rem; }
.gaq-choice ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; color: var(--muted); }
.gaq-choice ul li { display: flex; gap: 0.55rem; align-items: flex-start; }
.gaq-choice ul li::before { content: "✓"; color: var(--green-700); font-weight: 800; flex: none; }
.gaq-choice .pill {
  display: inline-block; margin-top: 1.1rem; background: var(--green-50);
  border: 1px solid var(--green-100); color: var(--green-800); font-weight: 700;
  font-size: 0.88rem; border-radius: 10px; padding: 0.55rem 0.8rem;
}
/* Selected state is driven ONLY by .is-selected, which renderPath() sets from
   the single active-path value — badge and highlight can never disagree. */
.gaq-choice .sel-badge {
  position: absolute; top: 1.1rem; right: 1.1rem; display: none;
  background: var(--green-700); color: #fff; font-weight: 800; font-size: 0.82rem;
  border-radius: 999px; padding: 0.35rem 0.8rem;
}
.gaq-choice.is-selected { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.18), var(--shadow); }
.gaq-choice.is-selected .sel-badge { display: inline-block; }

/* ---------- comparison panels ---------- */
.gaq-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.6rem; }
.gaq-compare .card h3 { font-size: 1.1rem; }
.gaq-compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; color: var(--muted); }
.gaq-compare ul li { display: flex; gap: 0.55rem; align-items: flex-start; }
.gaq-compare ul li::before { content: "✓"; color: var(--green-700); font-weight: 800; flex: none; }

/* ---------- chips ---------- */
.gaq-cats, .gaq-chips, .gaq-days { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.gaq-chip {
  font: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer;
  min-height: 44px; padding: 0.6rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fbfdfb; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.gaq-chip:hover { border-color: var(--green-600); }
.gaq-chip.is-on { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.gaq-group-label { font-weight: 800; color: var(--green-900); font-size: 0.9rem; margin: 0.9rem 0 0.45rem; text-transform: uppercase; letter-spacing: 0.04em; }
.gaq-subs { margin-top: 0.9rem; }
.gaq-subs:empty { margin-top: 0; }

/* ---------- project cards ---------- */
.gaq-project { border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; margin-bottom: 1.2rem; background: #fff; }
.gaq-project-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.9rem; }
.gaq-project-head h3 { margin: 0; color: var(--green-900); font-size: 1.08rem; }
.gaq-remove {
  font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer; min-height: 44px;
  background: none; border: none; color: #b3261e; padding: 0.4rem 0.6rem;
}
.gaq-dims { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0.9rem; align-items: end; margin-top: 1.1rem; }
.gaq-dims .field input { font-size: 16px; }
.gaq-sqft { font-weight: 800; color: var(--green-800); padding-bottom: 0.75rem; white-space: nowrap; }
.gaq-dims-toggle {
  font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; margin-top: 1rem;
  background: var(--green-50); color: var(--green-800); border: 1.5px solid var(--green-100);
  border-radius: 10px; padding: 0.6rem 1rem;
}
.gaq-add-project {
  font: inherit; font-weight: 800; cursor: pointer; min-height: 48px; width: 100%;
  background: #fff; color: var(--green-800); border: 2px dashed var(--green-600);
  border-radius: 12px; padding: 0.8rem 1rem; font-size: 1rem;
}
.gaq-add-project:hover { background: var(--green-50); }

/* ---------- forms on this page ---------- */
.gaq-form input, .gaq-form select, .gaq-form textarea { font-size: 16px; }
.gaq-form .form-card { margin-bottom: 1.6rem; }
.gaq-step-head { display: flex; align-items: center; gap: 0.9rem; margin: 0 0 1.1rem; }
.gaq-step-head .step-num { margin: 0; width: 38px; height: 38px; font-size: 1.05rem; }
.gaq-step-head h2 { margin: 0; color: var(--green-900); font-size: 1.35rem; }
.gaq-step-head p { margin: 0; color: var(--muted); }
.gaq-file-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
.gaq-prefill-note {
  display: none; background: var(--green-50); border: 1px solid var(--green-100);
  color: var(--green-800); font-weight: 600; border-radius: 10px;
  padding: 0.7rem 1rem; margin-bottom: 1.2rem; font-size: 0.95rem;
}
.gaq-prefill-note.show { display: block; }

/* ---------- confirmation ---------- */
/* Deep-pine panel in the Phase 1 style (same treatment as .home-panel):
   lime check medallion, serif headline, lime reference pill, three numbered
   step cards, and the branded trust strip along the bottom. */
.gaq-done {
  display: none; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--pine) 0%, var(--pine-deep) 100%);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 2.8rem 2.4rem 2.2rem; margin-top: 1.8rem; scroll-margin-top: 120px;
}
.gaq-done.show { display: block; }
.gaq-done .check {
  width: 92px; height: 92px; margin: 0 auto 1.5rem; border-radius: 50%;
  background: var(--lime); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  display: flex; align-items: center; justify-content: center;
}
.gaq-done h2 {
  font-family: var(--font-display); font-weight: 400; color: #fff;
  font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 0.35rem;
}
.gaq-done-soon { font-size: 1.3rem; font-weight: 800; color: var(--lime); margin: 0 0 1.15rem; }
.gaq-done .ref {
  display: inline-block; background: var(--lime); color: var(--pine-deep);
  font-weight: 800; font-size: 1.05rem; border-radius: 999px;
  padding: 0.55rem 1.35rem; margin: 0 0 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.gaq-done .done-line { color: #d9e6d9; margin: 0.35rem 0; }
.gaq-done .done-line strong { color: #fff; }
.gaq-done .next {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  text-align: left; margin: 1.9rem auto 0;
}
.gaq-done .next .row {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px; padding: 1.15rem 1.2rem;
}
.gaq-done .next .n {
  font-family: var(--font-display); font-size: 1.75rem; line-height: 1;
  color: var(--lime); margin-bottom: 0.55rem;
}
.gaq-done .next p { margin: 0; color: #d9e6d9; font-size: 0.95rem; }
.gaq-done .next strong { color: #fff; }
.gaq-done-actions {
  margin-top: 2.2rem; display: flex; gap: 0.8rem;
  justify-content: center; flex-wrap: wrap;
}
/* Branded trust strip — reuses the topbar's badge / G / stars classes from
   styles.css so the branding matches the topbar exactly. */
.gaq-done-trust {
  margin-top: 2.2rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.95rem;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.92rem; color: #fff;
}
@media (max-width: 900px) {
  .gaq-done { padding: 2.2rem 1.3rem 1.8rem; border-radius: 22px; }
  .gaq-done .next { grid-template-columns: 1fr; }
  .gaq-done-trust .topbar-divider { display: none; }
}

/* ---------- sticky mobile call/text bar ---------- */
.gaq-callbar { display: none; }
@media (max-width: 900px) {
  .gaq-hero-points, .gaq-choices, .gaq-compare { grid-template-columns: 1fr; }
  .gaq-dims { grid-template-columns: 1fr 1fr; }
  .gaq-sqft { grid-column: 1 / -1; padding-bottom: 0; }
  body.gaq-page { padding-bottom: 76px; }
  body.gaq-page .g-badge { bottom: 84px; }
  .gaq-callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--line);
    padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(18, 53, 31, 0.12);
  }
  .gaq-callbar a {
    display: flex; align-items: center; justify-content: center; min-height: 48px;
    border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 1rem;
  }
  .gaq-callbar .call { background: var(--green-700); color: #fff; }
  .gaq-callbar .text { background: #fff; color: var(--green-800); border: 2px solid var(--green-700); }
}
