/* =========================================
   Bright Decorating — Quote Tool Styles
   ========================================= */

:root {
  --bone: #F7F5F0;
  --bone-mid: #EEE9E0;
  --bone-dark: #E4DED4;
  --charcoal: #1A1915;
  --charcoal-soft: #2C2A25;
  --charcoal-mid: #4A4840;
  --warm-grey: #8A8478;
  --warm-grey-light: #B5B0A6;
  --accent: #C4A26A;
  --accent-dark: #9E7E44;
  --accent-bg: rgba(196, 162, 106, 0.08);
  --border: rgba(26, 25, 21, 0.1);
  --border-strong: rgba(26, 25, 21, 0.18);
  --green: #4A7C59;
  --green-bg: rgba(74, 124, 89, 0.08);
  --amber: #C47A2A;
  --amber-bg: rgba(196, 122, 42, 0.08);
  --red-bg: rgba(180, 60, 40, 0.06);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --easing: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--bone); color: var(--charcoal); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }

/* ===== NAV ===== */
.q-nav {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(247, 245, 240, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.q-nav-logo img { height: 36px; width: auto; }
.q-nav-back {
  font-size: 13px; font-weight: 500; color: var(--warm-grey);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.q-nav-back:hover { color: var(--charcoal); }

/* ===== APP WRAPPER ===== */
#q-app {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== PROGRESS BAR ===== */
#q-progress {
  position: fixed; top: var(--nav-h); left: 0; width: 100%; height: 3px;
  background: var(--bone-dark); z-index: 99;
}
#q-progress-fill {
  height: 100%; width: 0%;
  background: var(--accent);
  transition: width 0.5s var(--easing);
}

/* ===== BACK BUTTON ===== */
#q-back {
  position: fixed; top: calc(var(--nav-h) + 20px); left: clamp(16px, 4vw, 40px);
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--warm-grey);
  z-index: 98; transition: color 0.2s;
  padding: 6px 0;
}
#q-back:hover { color: var(--charcoal); }

/* ===== SCREEN WRAPPER & TRANSITIONS ===== */
#q-screen-wrap {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(48px, 8vh, 80px) clamp(20px, 5vw, 48px) 120px;
  transition: opacity 0.28s ease, transform 0.28s var(--easing);
}
#q-screen-wrap.exit-left  { opacity: 0; transform: translateX(-40px); }
#q-screen-wrap.exit-right { opacity: 0; transform: translateX(40px); }
#q-screen-wrap.enter-right { opacity: 0; transform: translateX(40px); }
#q-screen-wrap.enter-left  { opacity: 0; transform: translateX(-40px); }

/* ===== SCREEN INNER ===== */
.q-screen {
  width: 100%;
  max-width: 640px;
  animation: fadeUp 0.35s var(--easing) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== EYEBROW / STEP LABEL ===== */
.q-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--warm-grey);
  margin-bottom: 1.25rem;
}
.q-eyebrow::before {
  content: ''; display: block; width: 20px; height: 1px; background: var(--accent);
}

/* ===== QUESTION HEADING ===== */
.q-question {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.q-question em { font-style: italic; color: var(--charcoal-soft); }

.q-sub {
  font-size: 15px; color: var(--warm-grey); line-height: 1.6;
  margin-bottom: 2rem;
}

/* ===== CARD GRID ===== */
.q-cards {
  display: grid;
  gap: 12px;
  margin-top: 1.75rem;
}
.q-cards-2 { grid-template-columns: 1fr 1fr; }
.q-cards-3 { grid-template-columns: 1fr 1fr 1fr; }
.q-cards-1 { grid-template-columns: 1fr; }

@media (max-width: 480px) {
  .q-cards-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 360px) {
  .q-cards-2, .q-cards-3 { grid-template-columns: 1fr; }
}

/* ===== CARD ===== */
.q-card {
  padding: 18px 20px;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.15s;
  user-select: none;
  position: relative;
  text-align: left;
}
.q-card:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
  transform: translateY(-1px);
}
.q-card.selected {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: #fff;
}
.q-card.selected .q-card-sub { color: var(--warm-grey-light); }
.q-card.selected .q-card-icon svg path,
.q-card.selected .q-card-icon svg rect,
.q-card.selected .q-card-icon svg circle,
.q-card.selected .q-card-icon svg polyline,
.q-card.selected .q-card-icon svg line { stroke: #fff; }

.q-card-icon {
  margin-bottom: 10px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.q-card-label {
  font-size: 15px; font-weight: 500; line-height: 1.3;
  margin-bottom: 3px;
}
.q-card-sub {
  font-size: 12.5px; color: var(--warm-grey); line-height: 1.4;
}
.q-card-badge {
  position: absolute; top: 10px; right: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 2px 7px;
  border-radius: 20px; background: var(--accent-bg);
  color: var(--accent-dark);
}
.q-card.selected .q-card-badge { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); }

/* Checkmark for multi-select selected state */
.q-card.multi::after {
  content: '';
  position: absolute; top: 14px; right: 14px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: transparent;
  transition: all 0.18s;
}
.q-card.multi.selected::after {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='8' viewBox='0 0 11 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4 7L10 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.q-card.multi { padding-right: 44px; }

/* ===== CONTINUE BUTTON ===== */
.q-continue-wrap { margin-top: 1.75rem; }
.q-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--charcoal); color: #fff;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 6px;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.q-btn-primary:hover { background: var(--charcoal-soft); transform: translateY(-1px); }
.q-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.q-btn-primary.full { width: 100%; justify-content: center; }
.q-btn-accent {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--accent); color: var(--charcoal);
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 6px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.q-btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.q-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  background: transparent; color: var(--charcoal-mid);
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--border-strong);
  border-radius: 6px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.q-btn-ghost:hover { border-color: var(--charcoal); color: var(--charcoal); }

.q-btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.75rem; }

/* ===== INPUT GROUPS ===== */
.q-input-group { margin-top: 1.75rem; }
.q-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.q-input-row.three { grid-template-columns: 1fr 1fr 1fr; }
.q-input-row.one { grid-template-columns: 1fr; }
.q-field { display: flex; flex-direction: column; gap: 6px; }
.q-label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--warm-grey);
}
.q-input {
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  font-family: var(--font-sans); font-size: 15px; color: var(--charcoal);
  transition: border-color 0.18s;
  -webkit-appearance: none;
}
.q-input:focus { outline: none; border-color: var(--charcoal); }
.q-input::placeholder { color: var(--warm-grey-light); }
.q-input-hint {
  font-size: 12.5px; color: var(--warm-grey); margin-top: 4px; line-height: 1.5;
}
.q-input-live {
  margin-top: 12px; padding: 12px 14px;
  background: var(--accent-bg); border-radius: 6px;
  font-size: 13.5px; color: var(--charcoal-mid);
}
.q-input-live strong { color: var(--charcoal); }

/* Tab switcher for room size */
.q-tabs {
  display: flex; gap: 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px; overflow: hidden;
  margin-bottom: 1.5rem;
}
.q-tab {
  flex: 1; padding: 11px 16px;
  font-size: 13.5px; font-weight: 500; color: var(--warm-grey);
  background: #fff; border: none; cursor: pointer;
  transition: background 0.18s, color 0.18s;
  text-align: center;
}
.q-tab:first-child { border-right: 1px solid var(--border-strong); }
.q-tab.active { background: var(--charcoal); color: #fff; }

/* ===== INSIGHT / INFO SCREEN ===== */
.q-insight {
  padding: 28px; border-radius: 12px;
  background: var(--charcoal); color: #fff;
  margin-top: 1.75rem;
}
.q-insight-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.q-insight p {
  font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.85);
}
.q-insight-amber {
  background: var(--amber-bg); border: 1px solid rgba(196,122,42,0.2);
  color: var(--charcoal);
}
.q-insight-amber .q-insight-label { color: var(--amber); }
.q-insight-amber p { color: var(--charcoal-mid); }
.q-insight-green {
  background: var(--green-bg); border: 1px solid rgba(74,124,89,0.2);
  color: var(--charcoal);
}
.q-insight-green .q-insight-label { color: var(--green); }
.q-insight-green p { color: var(--charcoal-mid); }

/* ===== ROOM COMPLETE CARD ===== */
.q-room-complete {
  margin-top: 1.75rem;
}
.q-room-card {
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 10px;
}
.q-room-card-header {
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--bone);
}
.q-room-card-name {
  font-size: 15px; font-weight: 500; color: var(--charcoal);
}
.q-room-card-range {
  font-size: 14px; font-weight: 600; color: var(--accent-dark);
}
.q-room-card-body { padding: 16px 20px; }
.q-room-card-items { list-style: none; }
.q-room-card-items li {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: var(--charcoal-mid);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.q-room-card-items li:last-child { border-bottom: none; }
.q-room-card-items li span:last-child { color: var(--charcoal); font-weight: 500; }

/* Room list in add-room screen */
.q-rooms-added { margin-top: 1.5rem; }
.q-rooms-added-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 8px;
}
.q-rooms-added-item-name { font-size: 14px; font-weight: 500; }
.q-rooms-added-item-price { font-size: 13px; color: var(--warm-grey); }

/* ===== WELCOME SCREEN ===== */
.q-welcome { max-width: 560px; }
.q-welcome-logo { margin-bottom: 2.5rem; }
.q-welcome-logo img { height: 40px; width: auto; }
.q-welcome-h {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 400; letter-spacing: -0.025em; line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.q-welcome-h em { font-style: italic; color: var(--charcoal-soft); }
.q-welcome-p {
  font-size: 16px; color: var(--warm-grey); line-height: 1.65;
  max-width: 440px; margin-bottom: 2.5rem;
}
.q-welcome-meta {
  margin-top: 1.25rem;
  font-size: 12.5px; color: var(--warm-grey-light);
  letter-spacing: 0.04em;
}
.q-welcome-features {
  display: flex; flex-wrap: wrap; gap: 16px 28px;
  margin-bottom: 2.5rem;
}
.q-welcome-feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--charcoal-mid);
}
.q-welcome-feature::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ===== STEPPER INPUT ===== */
.q-stepper {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--border-strong); border-radius: 8px;
  overflow: hidden; width: fit-content; background: #fff;
}
.q-stepper-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 300; color: var(--charcoal-mid);
  background: none; border: none; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.q-stepper-btn:hover { background: var(--bone-mid); color: var(--charcoal); }
.q-stepper-val {
  min-width: 48px; text-align: center;
  font-size: 16px; font-weight: 500; color: var(--charcoal);
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  height: 44px; line-height: 44px;
}

/* ===== QUOTE SUMMARY ===== */
.q-summary { max-width: 640px; }
.q-summary-reveal {
  text-align: center; padding: 32px 24px;
  background: var(--charcoal); border-radius: 12px;
  margin-bottom: 2rem; color: #fff;
}
.q-summary-reveal-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.q-summary-range {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  letter-spacing: -0.02em; line-height: 1;
  color: #fff; margin-bottom: 10px;
}
.q-summary-disclaimer {
  font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5;
}
.q-summary-breakdown { margin-bottom: 2rem; }
.q-summary-section {
  border: 1px solid var(--border); border-radius: 10px;
  background: #fff; margin-bottom: 12px; overflow: hidden;
}
.q-summary-section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  font-size: 14px; font-weight: 500; color: var(--charcoal);
  cursor: pointer; background: var(--bone);
  border-bottom: 1px solid var(--border);
}
.q-summary-section-header .q-sum-range { color: var(--accent-dark); font-size: 13px; }
.q-summary-section-body { padding: 4px 0; }
.q-summary-line {
  display: flex; justify-content: space-between;
  padding: 10px 18px;
  font-size: 13.5px; color: var(--charcoal-mid);
  border-bottom: 1px solid var(--border);
}
.q-summary-line:last-child { border-bottom: none; }
.q-summary-line span:last-child { color: var(--charcoal); font-weight: 500; }
.q-summary-line.indent { padding-left: 30px; color: var(--warm-grey); font-size: 13px; }
.q-summary-line.indent span:last-child { color: var(--charcoal-mid); }

.q-summary-subtotals {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 1.5rem;
}
.q-summary-subtotal {
  padding: 16px; background: #fff;
  border: 1px solid var(--border); border-radius: 8px;
}
.q-summary-subtotal-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--warm-grey); margin-bottom: 4px; }
.q-summary-subtotal-val { font-size: 18px; font-weight: 500; color: var(--charcoal); }

.q-summary-trust {
  padding: 16px 20px;
  background: var(--green-bg); border: 1px solid rgba(74,124,89,0.2);
  border-radius: 8px; font-size: 13.5px; color: var(--charcoal-mid);
  line-height: 1.6; margin-bottom: 2rem;
}

/* ===== CONTACT FORM ===== */
.q-contact { max-width: 560px; }
.q-contact .q-input-row { margin-bottom: 14px; }
.q-contact-note {
  font-size: 13px; color: var(--warm-grey); line-height: 1.6;
  margin-bottom: 1.5rem;
}
.q-select {
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong); border-radius: 6px;
  background: #fff; font-family: var(--font-sans);
  font-size: 15px; color: var(--charcoal);
  width: 100%; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%238A8478' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  cursor: pointer;
}
.q-select:focus { outline: none; border-color: var(--charcoal); }

/* ===== CONFIRMATION ===== */
.q-confirm {
  text-align: center; max-width: 480px;
  margin: 0 auto;
}
.q-confirm-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.q-confirm-h {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem; color: var(--charcoal);
}
.q-confirm-p {
  font-size: 15px; color: var(--warm-grey); line-height: 1.65;
  margin-bottom: 2rem;
}
.q-confirm-detail {
  padding: 16px 20px; background: #fff;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 13.5px; color: var(--charcoal-mid); line-height: 1.6;
  margin-bottom: 2rem; text-align: left;
}

/* ===== RUNNING TOTAL FOOTER ===== */
#q-footer {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--charcoal);
  padding: 14px clamp(20px, 5vw, 48px);
  display: none;
  align-items: center; justify-content: space-between;
  gap: 16px; z-index: 90;
  border-top: 1px solid rgba(255,255,255,0.08);
}
#q-footer.visible { display: flex; }
#q-footer-rooms {
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.q-footer-right {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
#q-footer-total {
  font-size: 14px; color: rgba(255,255,255,0.8);
}
#q-footer-total strong { color: var(--accent); font-size: 16px; }
#q-footer-add {
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-size: 13px; font-weight: 500; color: #fff;
  cursor: pointer; font-family: var(--font-sans);
  transition: background 0.15s;
}
#q-footer-add:hover { background: rgba(255,255,255,0.15); }

/* ===== EXTERNAL SECTION ===== */
.q-ext-note {
  padding: 12px 16px;
  background: var(--amber-bg); border-radius: 6px;
  font-size: 13px; color: var(--charcoal-mid); line-height: 1.5;
  margin-top: 1rem;
}

/* ===== MISC ===== */
.q-divider {
  height: 1px; background: var(--border);
  margin: 1.75rem 0;
}
.q-note {
  font-size: 13px; color: var(--warm-grey); line-height: 1.55;
  padding: 12px 14px;
  background: var(--bone-mid); border-radius: 6px;
  margin-top: 1rem;
}
.q-flag-warn {
  padding: 14px 16px; border-radius: 8px;
  background: var(--amber-bg); border: 1px solid rgba(196,122,42,0.25);
  font-size: 13.5px; color: var(--charcoal-mid); line-height: 1.6;
  margin-top: 1rem;
}
.q-flag-warn strong { color: var(--amber); }
.q-tag {
  display: inline-block;
  padding: 2px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-bg); color: var(--accent-dark);
}

/* ===== WELCOME SCREEN TRUST + CALL SECTION ===== */
.q-welcome-trust {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; color: var(--warm-grey); letter-spacing: 0.04em;
  margin-bottom: 2rem;
}
.q-trust-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--warm-grey-light); flex-shrink: 0;
}
.q-welcome-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 2rem 0;
  color: var(--warm-grey-light); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.q-welcome-divider::before,
.q-welcome-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.q-welcome-call {
  padding: 20px 0;
}
.q-welcome-call-label {
  font-size: 13.5px; font-weight: 500; color: var(--charcoal-mid);
  margin-bottom: 1rem;
}
.q-welcome-call-numbers {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 1rem;
}
.q-call-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  font-size: 14px; font-weight: 500; color: var(--charcoal);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
.q-call-link:hover {
  border-color: var(--charcoal);
  background: var(--bone-mid);
}
.q-callback-btn {
  font-size: 13.5px;
}

/* ===== TEXTAREA ===== */
.q-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

/* ===== LABEL OPTIONAL TEXT ===== */
.q-label-opt {
  font-size: 10.5px; text-transform: none; letter-spacing: 0;
  color: var(--warm-grey-light); font-weight: 400;
}

/* ===== CONTACT REASSURE ===== */
.q-contact-reassure {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  font-size: 12px; color: var(--warm-grey);
  margin-top: 1rem;
}

/* ===== QUOTE REVEAL - NEXT STEPS ===== */
.q-next-steps {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--border); border-radius: 10px;
  background: #fff; overflow: hidden;
  margin-bottom: 1.5rem;
}
.q-next-step {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.q-next-step:last-child { border-bottom: none; }
.q-next-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--accent-dark);
  flex-shrink: 0;
}
.q-next-step-body {
  font-size: 13.5px; color: var(--charcoal-mid); line-height: 1.5;
}
.q-next-step-body strong { color: var(--charcoal); display: block; font-size: 14px; }

/* ===== TESTIMONIAL ===== */
.q-testimonial {
  padding: 20px 22px;
  background: var(--bone-mid);
  border-radius: 10px;
  margin-bottom: 1.5rem;
}
.q-testimonial-stars {
  color: var(--accent);
  font-size: 16px; letter-spacing: 2px;
  margin-bottom: 10px;
}
.q-testimonial-text {
  font-size: 14px; color: var(--charcoal-mid);
  line-height: 1.65; font-style: italic;
  margin-bottom: 8px;
}
.q-testimonial-name {
  font-size: 12.5px; color: var(--warm-grey);
  font-weight: 500;
}

/* ===== REVEAL CALL LINK ===== */
.q-reveal-call {
  text-align: center;
  font-size: 13px; color: var(--warm-grey);
  margin-top: 1rem; line-height: 1.6;
}
.q-reveal-call a {
  color: var(--accent-dark); font-weight: 500;
  text-decoration: underline; text-decoration-color: transparent;
  transition: text-decoration-color 0.18s;
}
.q-reveal-call a:hover { text-decoration-color: var(--accent-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  #q-screen-wrap { padding-top: 40px; padding-bottom: 100px; }
  .q-summary-subtotals { grid-template-columns: 1fr; }
  #q-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .q-footer-right { width: 100%; justify-content: space-between; }
  .q-btn-row { flex-direction: column; }
  .q-btn-row .q-btn-primary,
  .q-btn-row .q-btn-accent,
  .q-btn-row .q-btn-ghost { width: 100%; justify-content: center; }
  .q-input-row.three { grid-template-columns: 1fr 1fr; }
}
