/* ClearPro quote wizard — matches site cards: compact, navy/blue, less scroll */

.quote-hero {
  padding: 2rem 0 1rem;
  background: #fff;
}
.quote-hero h1 {
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  line-height: 1.15;
  margin: 0.25rem 0 0.5rem;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}
.quote-hero .lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}
.easy-help {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
}
.easy-help a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  background: var(--navy-deep);
  color: #fff !important;
  font-size: 0.85rem;
}
.easy-help a.wa { background: var(--whatsapp); }

.wizard-shell { max-width: 520px; margin: 0 auto; }
.wizard-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.75rem 0.8rem 0.85rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) {
  .wizard-card { padding: 0.9rem 1rem 1rem; }
}

.wizard-progress { margin-bottom: 0.55rem; }
.wizard-progress .q-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.3rem;
}
.wizard-progress .bar {
  height: 4px;
  background: var(--mist);
  border-radius: 99px;
  overflow: hidden;
}
.wizard-progress .bar > i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transition: width 0.3s ease;
}

.how-to {
  background: var(--ice);
  border: 1px solid #cfe4f8;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}
.how-to strong { color: var(--navy-deep); font-weight: 700; }

.answers-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}
.answers-chip-row:empty { display: none; }
.a-chip {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.05s ease;
}
.a-chip:hover,
.a-chip:focus-visible {
  background: var(--ice);
  border-color: var(--blue);
  color: var(--navy-deep);
  outline: none;
}
.a-chip:active { transform: scale(0.97); }

.wizard-step {
  display: none;
  flex: 1;
  flex-direction: column;
  animation: qwStepIn 0.18s ease;
}
.wizard-step.active { display: flex; }
@keyframes qwStepIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.wizard-step h2 {
  font-size: 1rem;
  margin: 0 0 0.1rem;
  color: var(--navy-deep);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.wizard-step .hint {
  color: var(--muted);
  font-size: 0.75rem;
  margin: 0 0 0.45rem;
  font-weight: 500;
}

.option-grid {
  display: grid;
  gap: 0.3rem;
  grid-template-columns: 1fr;
}
.option-grid.cols-2 { grid-template-columns: 1fr 1fr; }

.opt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-align: left;
  width: 100%;
  min-height: 34px;
    border: 1.5px solid var(--line); box-shadow: 0 1px 2px rgba(11, 44, 107, 0.06);
  background: #fff;
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.12s, background 0.12s, box-shadow 0.12s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.opt:hover,
.opt:focus-visible {
    border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(47, 149, 239, 0.15);
  background: var(--ice);
  outline: none;
}
.opt.selected {
  border-color: var(--blue); border-width: 2px;
      background: var(--ice);
        box-shadow: 0 0 0 4px rgba(26, 111, 212, 0.35);
          color: var(--ink);
}
.opt.selected .opt-label {
  color: var(--navy-deep);
}
.opt.selected .opt-sub {
  color: var(--muted);
  font-weight: 600;
}
.opt.selected .price {
  background: #fff;
  color: var(--blue);
}
.opt .icon {
  font-size: 0.85rem;
  width: 1.1rem;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
  opacity: 0.85;
}
.opt .txt { flex: 1; min-width: 0; }
.opt .opt-label {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--navy-deep);
  display: block;
  line-height: 1.2;
}
.opt .opt-sub {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 600;
  display: block;
  margin-top: 0;
  line-height: 1.25;
}
.opt .price {
  font-weight: 700;
  font-size: 0.65rem;
  color: var(--blue);
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--ice);
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
}
.opt .tick {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.55rem;
  font-weight: 900;
  color: transparent;
  background: #fff;
}
.opt.selected .tick {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.wizard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.55rem;
  position: relative;
  z-index: 45;
  background: #fff;
}
.wizard-nav .btn {
  min-height: 34px;
  font-weight: 700;
  font-size: 0.8rem;
  flex: 1;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wizard-nav .btn-secondary { flex: 0 0 auto; min-width: 72px; }

.out-of-zone {
  background: #fffaf5;
  border: 1px solid #f0d4b8;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  margin-top: 0.45rem;
}
.out-of-zone h3 { margin: 0 0 0.3rem; color: #9a3412; font-size: 0.95rem; }
.out-of-zone p { margin: 0 0 0.65rem; color: #9a3412; font-size: 0.82rem; font-weight: 500; }

.summary-box {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.65rem;
}
.summary-box h3 {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: var(--navy-deep);
  font-weight: 700;
}
.summary-box ul { margin: 0; padding: 0; list-style: none; }
.summary-box li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.8rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(215, 227, 240, 0.8);
}
.summary-box li:last-child { border-bottom: 0; }
.summary-box li span { color: var(--muted); font-weight: 600; }
.summary-box li strong { color: var(--navy-deep); text-align: right; font-weight: 700; }

.estimate-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.4rem;
  background: var(--ice);
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 0.85rem;
}
.estimate-pill .amt { font-size: 1.15rem; color: var(--blue); font-weight: 800; }
.estimate-pill small {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.72rem;
  width: 100%;
}

.form-grid-mini { display: grid; gap: 0.55rem; }
@media (min-width: 520px) {
  .form-grid-mini.two { grid-template-columns: 1fr 1fr; }
}
.form-grid-mini label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.form-grid-mini input,
.form-grid-mini textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
  min-height: 40px;
  background: #fff;
  color: var(--ink);
}
.form-grid-mini input:focus,
.form-grid-mini textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(47, 149, 239, 0.15);
}
.req { color: #c2410c; }
.consent-line {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.55rem;
  font-weight: 500;
}
.consent-line input {
  width: 16px;
  height: 16px;
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.status-msg {
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.82rem;
  display: none;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
}
.status-msg.show { display: block; }
.status-msg.ok { color: #0f4c2e; background: #eef9f2; }
.status-msg.err { color: #9a3412; background: #fff7ed; }

.photo-tip {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
  font-weight: 500;
}
.photo-tip strong { color: var(--navy-deep); }

.done-thanks {
  text-align: center;
  padding: 0.35rem 0 0.75rem;
}
.done-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8f8ef, #d4f0e0);
  color: #159a5a;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 0.75rem;
  border: 2px solid #b8e6c9;
  box-shadow: 0 6px 18px rgba(21, 154, 90, 0.15);
}
.done-thanks h2 {
  color: var(--navy-deep);
  font-size: 1.45rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}
.done-thanks .hint {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto;
}
.done-ref {
  display: inline-block;
  margin: 0.75rem auto 0;
  padding: 0.4rem 0.85rem;
  background: var(--ice);
  border: 1px solid #cfe4f8;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--navy-deep);
}

/* Address autocomplete + call-out */
.address-wrap { position: relative; margin-bottom: 0.35rem; }
.address-wrap input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
  min-height: 40px;
  background: #fff;
}
.address-wrap input:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(47, 149, 239, 0.15);
}
.address-hint {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-weight: 500;
}
.addr-mode-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
}
.addr-mode-btn {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.5rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-deep);
  cursor: pointer;
  line-height: 1.25;
}
.addr-mode-btn:hover {
  border-color: var(--blue-bright);
  background: var(--ice);
}
.addr-mode-btn.is-active {
  border-color: var(--blue);
  background: linear-gradient(180deg, #f0f7ff, #e8f4ff);
  color: var(--navy-deep);
    box-shadow: 0 0 0 3px rgba(26, 111, 212, 0.3);
}
.address-suggest {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 2px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 40;
  max-height: 220px;
  overflow-y: auto;
}
.address-suggest-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--mist);
  background: #fff;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.82rem;
  color: var(--ink);
  cursor: pointer;
}
.address-suggest-btn:hover { background: var(--ice); color: var(--navy-deep); }
.address-suggest-btn:last-child { border-bottom: 0; }

/* Live customer name search (app customers list / optional public) */
.name-search-field { position: relative; }
.name-search-wrap { position: relative; }
.name-suggest {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 2px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 50;
  max-height: 240px;
  overflow-y: auto;
}
.name-suggest-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.82rem;
  color: #111;
  cursor: pointer;
}
.name-suggest-btn:hover,
.name-suggest-btn.is-active { background: #f5f5f5; }
.name-suggest-btn:last-child { border-bottom: 0; }
.name-suggest-btn .ns-name { display: block; font-weight: 700; }
.name-suggest-btn .ns-meta { display: block; font-size: 0.75rem; color: #666; margin-top: 0.15rem; }
.name-match-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #555;
}
.name-match-hint.is-match { color: #1a6b2c; font-weight: 600; }
.name-match-hint.is-new { color: #666; }

.callout-preview {
  background: var(--ice);
  border: 1px solid #cfe4f8;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.callout-preview .muted { color: var(--muted); font-weight: 500; }

.estimate-breakdown h3 {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  color: var(--navy-deep);
  font-weight: 700;
}
.breakdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.breakdown-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.78rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(215, 227, 240, 0.8);
}
.breakdown-list li span { color: var(--muted); font-weight: 600; }
.breakdown-list li strong { color: var(--navy-deep); text-align: right; font-weight: 700; }
.breakdown-list .brk-note {
  display: block;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.9;
}
.breakdown-list .breakdown-total {
  border-bottom: 0;
  padding-top: 0.45rem;
  margin-top: 0.15rem;
  border-top: 1px solid var(--line);
}
.breakdown-list .breakdown-total span,
.breakdown-list .breakdown-total strong {
  color: var(--navy-deep);
  font-size: 0.88rem;
}
.breakdown-foot {
  margin: 0.45rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.side-stack { display: grid; gap: 0.85rem; }
.info-card-mini {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.info-card-mini .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ice);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.info-card-mini strong { display: block; color: var(--navy-deep); font-size: 0.9rem; }
.info-card-mini a { color: var(--blue); font-weight: 700; font-size: 0.9rem; }
.info-card-mini .sub { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

.sticky-mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 0.3rem 0.55rem;
  gap: 0.3rem;
  z-index: 1500;
  box-shadow: 0 -3px 12px rgba(11, 44, 107, 0.08);
}
.sticky-mobile-cta .btn {
  border-radius: 999px;
  min-height: 34px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
}
@media (max-width: 760px) {
  .sticky-mobile-cta { display: flex; }
  body { padding-bottom: 52px; }
}

/* Public site keeps ice/navy. App-only white text lives in quotes.php under .quote-wizard-app-wrap */
/* ==========================================================================
   Window type picker (step: Number Of Windows)
   Uses the same variables, radii and selected-state treatment as .opt above,
   so it reads as part of the existing wizard rather than a bolt-on.
   ========================================================================== */
.win-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.35rem;
  margin: 0 0 0.6rem;
}
.win-type-card {
  display: block;
  text-align: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.4rem 0.45rem;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, box-shadow 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.win-type-card:hover,
.win-type-card:focus-within {
  border-color: var(--blue-bright);
  background: var(--ice);
}
.win-type-card.is-picked {
  border-color: var(--blue);
  background: var(--ice);
    box-shadow: 0 0 0 4px rgba(26, 111, 212, 0.4);
}
.win-type-ico {
    width: 29px;
    height: 29px;
  display: block;
  margin: 0 auto 0.15rem;
}
.win-type-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.2;
}
.win-type-desc {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.25;
  margin: 0.1rem 0 0;
  min-height: 1.7em;
}
.win-type-qty {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  padding: 0.4rem;
  text-align: center;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.win-type-qty:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 111, 212, 0.15);
}
.win-type-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  background: var(--ice);
  font-size: 0.85rem;
  color: var(--muted);
}
.win-type-total strong {
  font-size: 1.25rem;
  color: var(--navy-deep);
}
.win-type-hint { margin: 0.45rem 0 0; }

@media (max-width: 600px) { .win-type-grid { grid-template-columns: 1fr; gap: 0.4rem; } .win-type-card { display: flex; align-items: center; gap: 0.6rem; text-align: left; padding: 0.5rem 0.6rem; cursor: pointer; } .win-type-ico { width: 35px; height: 35px; margin: 0; flex-shrink: 0; } .win-type-name, .win-type-desc { display: block; } .win-type-qty { width: 70px; flex-shrink: 0; margin-top: 0; margin-left: auto; } }

.win-type-card:active { transform: scale(0.96); } .win-type-card.tap-flash { animation: winTypeTapFlash 0.35s ease; } .win-type-tap-hint { color: var(--blue); font-weight: 700; }
@keyframes winTypeTapFlash { 0% { box-shadow: 0 0 0 0 rgba(26, 111, 212, 0.55); } 100% { box-shadow: 0 0 0 10px rgba(26, 111, 212, 0); } }
.win-type-card, .win-type-card * { user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -webkit-touch-callout: none; }