:root { --baq-bg:#f8f8f8; --baq-card:#ffffff; --baq-ink:#1f2933; --baq-muted:#64748b; --baq-line:#e2e8f0; --baq-accent:#00c6c6; --baq-accent-dark:#008686; --baq-soft:#e8e8e8; --baq-warn:#fff7df; }
* { box-sizing:border-box; }
body { margin:0; background:radial-gradient(circle at top left, #ffffff, var(--baq-bg)); color:var(--baq-ink); font-family:Arial, Helvetica, sans-serif; }
.demo-wrap { max-width:1160px; margin:0 auto; padding:30px 18px; }
.baq { font-size:16px; line-height:1.45; }
.baq-topbar { display:flex; justify-content:space-between; gap:20px; align-items:center; background:#fff; border:1px solid var(--baq-line); border-radius:24px; padding:28px; box-shadow:0 16px 45px rgba(16,24,40,.08); }
.baq-eyebrow { color:var(--baq-accent); text-transform:uppercase; letter-spacing:.09em; font-weight:800; font-size:.78rem; margin:0 0 8px; }
.baq h1 { margin:0 0 6px; font-size:clamp(2rem, 4vw, 3.1rem); }
.baq h2 { margin:0 0 18px; }
.baq-mini-total { min-width:220px; background:var(--baq-accent); color:#fff; border-radius:18px; padding:18px; text-align:center; }
.baq-mini-total span { display:block; font-size:.85rem; opacity:.85; }
.baq-mini-total strong { display:block; font-size:2rem; }
.baq-step-nav { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:18px 0; }
.baq-step-nav button { border:1px solid var(--baq-line); background:#fff; color:var(--baq-muted); padding:13px 10px; border-radius:999px; font-weight:700; cursor:pointer; }
.baq-step-nav button.is-active { background:var(--baq-accent); color:#fff; border-color:var(--baq-accent); }
.baq-wizard-grid { display:grid; grid-template-columns:minmax(0, 1fr) 350px; gap:20px; align-items:start; }
.baq-step-panels, .baq-review { background:#fff; border:1px solid var(--baq-line); border-radius:22px; box-shadow:0 16px 45px rgba(16,24,40,.08); padding:24px; }
.baq-review { position:sticky; top:18px; max-height:calc(100vh - 36px); overflow-y:auto; scrollbar-gutter:stable; }
.baq-step { display:none; min-height:430px; }
.baq-step.is-active { display:block; }
.baq-pill { display:flex; align-items:center; gap:13px; padding:15px; border:1px solid var(--baq-line); border-radius:16px; margin:10px 0; cursor:pointer; background:linear-gradient(180deg,#fff,#fafcff); }
.baq-pill input, .baq-inline-list input { width:18px; height:18px; accent-color:var(--baq-accent); }
.baq-pill span { display:flex; justify-content:space-between; gap:18px; align-items:center; width:100%; font-weight:700; }
.baq-pill small { color:var(--baq-muted); font-weight:500; text-align:right; }
.baq-inline-list { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; margin:12px 0; }
.baq-inline-list label, .baq-fields label { border:1px solid var(--baq-line); border-radius:14px; padding:13px; background:#fff; }
.baq-inline-list label { display:flex; gap:10px; align-items:center; }
.baq-inline-list b { margin-left:auto; color:var(--baq-accent-dark); }
.baq-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:12px 0; }
.baq-fields label { display:grid; gap:8px; font-weight:700; }
.baq-fields input { width:100%; padding:9px; border:1px solid var(--baq-line); border-radius:10px; }
.baq-fields span, .baq-muted, .baq-note { color:var(--baq-muted); font-size:.9rem; font-weight:400; }
.baq-large-text { display:grid; gap:8px; font-weight:700; }
.baq-large-text textarea { width:100%; border:1px solid var(--baq-line); border-radius:14px; padding:12px; resize:vertical; font:inherit; }
.baq-controls { display:flex; justify-content:space-between; gap:12px; border-top:1px solid var(--baq-line); padding-top:18px; margin-top:18px; }
.baq-controls button, .baq-button { border:0; border-radius:999px; padding:13px 22px; font-weight:800; cursor:pointer; }
.baq-controls button { background:var(--baq-soft); color:var(--baq-accent-dark); }
.baq-controls button:disabled { opacity:.45; cursor:not-allowed; }
.baq-button { background:var(--baq-accent); color:#fff; width:100%; margin-top:16px; }
.baq-total { font-size:2.6rem; font-weight:900; margin-bottom:14px; color:var(--baq-accent-dark); }
.baq-summary-section { border-top:1px solid var(--baq-line); padding-top:12px; margin-top:12px; }
.baq-summary-section h3 { display:flex; justify-content:space-between; margin:0 0 8px; font-size:1rem; }
.baq-summary-section ul, .baq-tbd ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.baq-summary-section li { display:flex; justify-content:space-between; gap:12px; font-size:.75rem; margin: 0 .2em .05em 10px; }
.baq-summary-section li > b { white-space:nowrap; flex-shrink:0; }
.baq-summary-section em { display:block; color:var(--baq-muted); font-size:.82rem; font-style:normal; }
.baq-tbd { background:var(--baq-warn); border:1px solid #eedcae; border-radius:15px; padding:14px; margin-top:16px; }
.baq-mobile-review { display:none; }
@media (max-width: 920px) { .baq-topbar, .baq-wizard-grid { grid-template-columns:1fr; display:block; } .baq-mini-total { margin-top:14px; } .baq-review { display:none; } .baq-mobile-review { display:block; } .baq-step-nav { grid-template-columns:repeat(2,1fr); } .baq-fields, .baq-inline-list { grid-template-columns:1fr; } }


/* Refinements: estimate note and TBD list cleanup */
.baq-estimate-note {
  display: block;
  margin: 4px 0 12px;
  color: var(--baq-muted);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.3;
}

.baq-mini-total .baq-estimate-note {
  color: rgba(255,255,255,.88);
  margin: 6px 0 0;
}

.baq-website-requirement {
  margin-top: -6px;
  margin-bottom: 16px;
}

.baq-tbd ul,
.baq-tbd li {
  list-style: none !important;
  background-image: none !important;
}

.baq-tbd li {
  margin: 0 !important;
  padding-left: 0 !important;
}


.baq-contact-section {
  border: 1px solid var(--baq-line);
  border-radius: 16px;
  background: #fafcff;
  padding: 16px;
  margin-top: 18px;
}

/* Contact section field grid */

.baq-contact-section .grid-container {
  width: 100%;
 }
 .baq-contact-section .grid-container .full-width-row {
  grid-column: 1/-1;
}
.baq-contact-section .form-group {
  margin-bottom: 5px;
  margin-right: 20px;
}

/* Contact section fields */

.baq-contact-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.baq-contact-fields label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.baq-contact-fields input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--baq-line);
  border-radius: 10px;
  font: inherit;
}

.baq-contact-fields input:focus,
.baq-large-text textarea:focus,
.baq-fields input:focus {
  outline: 2px solid rgba(0, 198, 198, .28);
  border-color: var(--baq-accent);
}

/* Contact section - honeypot technique hiding the fake phone and email fields */
#contactPhone1, label[for="contactPhone1"], #contactEmail1, label[for="contactEmail1"] {
  display: none;
}

@media (max-width: 920px) {
  .baq-contact-fields {
    grid-template-columns: 1fr;
  }
}

/* Modal warning popup - matches Option 1 behavior */
.baq-warning-popup[hidden] {
  display: none;
}

.baq-warning-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.baq-warning-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .45);
}

.baq-warning-box {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--baq-line);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
  padding: 24px;
  text-align: center;
  outline: none;
}

.baq-warning-box h2 {
  margin: 0 0 8px;
}

.baq-warning-box p {
  color: var(--baq-muted);
  margin: 0 0 18px;
}

.baq-warning-button {
  max-width: 180px;
  margin: 0 auto;
}

/* Client content update refinements */
.baq-subheading {
  margin: 20px 0 8px;
  font-size: 1.05rem;
}

.baq-feature-text {
  color: var(--baq-muted);
  font-size: .92rem;
  margin: -4px 0 14px;
}

.baq-pill-feature + .baq-feature-text {
  margin-left: 31px;
}

.baq-includes {
  border: 1px solid var(--baq-line);
  border-radius: 14px;
  background: #fafcff;
  padding: 13px 15px;
  margin: 8px 0 16px 31px;
  color: var(--baq-muted);
  font-size: .9rem;
}

.baq-includes strong {
  color: var(--baq-ink);
}

.baq-includes ul {
  margin: 8px 0 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
  list-style: none !important;
  background-image: none !important;
}

.baq-includes li {
  position: relative;
  list-style: none !important;
  background-image: none !important;
  padding-left: 1em !important;
}

.baq-includes li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--baq-muted);
}

.baq-required-service {
  border: 1px solid var(--baq-line);
  border-radius: 16px;
  background: #fbfdff;
  padding: 15px;
  margin-top: 12px;
}

.baq-required-service > strong {
  display: inline-block;
  margin-right: 8px;
}

.baq-required-service > span {
  color: var(--baq-accent-dark);
  font-weight: 800;
}

.baq-required-service p {
  color: var(--baq-muted);
  font-size: .9rem;
  margin: 8px 0 0;
}

.baq-rfq-link {
  color: var(--baq-accent-dark);
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 920px) {
  .baq-includes,
  .baq-pill-feature + .baq-feature-text {
    margin-left: 0;
  }

  .baq-includes ul {
    grid-template-columns: 1fr;
  }
}


.baq-pricing-error {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #d43d3d;
  border-radius: 12px;
  background: #fff2f2;
  color: #8a1f1f;
  font-weight: 700;
}


/* Enhancement 1 UI polish */
.baq-mobile-step-status {
  display: none;
  position: sticky;
  top: 0;
  z-index: 30;
  margin: -6px 0 14px;
  padding: 10px 14px;
  border: 1px solid var(--baq-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 25px rgba(16, 24, 40, .08);
  color: var(--baq-accent-dark);
  font-weight: 800;
  text-align: center;
}

.baq-pill.is-selected,
.baq-inline-list label.is-selected,
.baq-fields label.is-selected {
  border-color: var(--baq-accent);
  background: linear-gradient(180deg, #f0ffff, #ffffff);
  box-shadow: 0 0 0 3px rgba(0, 198, 198, .10);
}

.baq-selected-count {
  margin: 0 0 12px;
  color: var(--baq-accent-dark);
  font-size: .88rem;
  font-weight: 800;
}

.baq-summary-toggle {
  width: 100%;
  margin: 0 0 10px;
  padding: 9px 12px;
  border: 1px solid var(--baq-line);
  border-radius: 999px;
  background: #fff;
  color: var(--baq-accent-dark);
  font-weight: 800;
  cursor: pointer;
}

.baq-summary-toggle:hover,
.baq-summary-toggle:focus {
  border-color: var(--baq-accent);
  outline: none;
}

.baq-summary-collapsed .baq-review .baq-summary-section ul,
.baq-summary-collapsed .baq-review .baq-summary-section em,
.baq-summary-collapsed .baq-review .baq-tbd {
  display: none;
}

.baq-includes li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-left: 1em !important;
}

.baq-includes li em {
  flex: 0 0 auto;
  display: inline-block;
  border: 1px solid rgba(0, 134, 134, .18);
  border-radius: 999px;
  background: #effefe;
  color: var(--baq-accent-dark);
  padding: 2px 7px;
  font-size: .72rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
}

.baq-review-intro {
  margin: -8px 0 18px;
  color: var(--baq-muted);
}

.baq-submit-panel {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--baq-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #f5ffff, #ffffff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.baq-submit-panel h3 {
  margin: 0 0 6px;
}

.baq-submit-panel p {
  margin: 0 0 12px;
  color: var(--baq-muted);
  font-size: .92rem;
}

.baq-submit-panel .baq-button {
  margin-top: 0;
}

@media (max-width: 920px) {
  .baq-mobile-step-status {
    display: block;
  }
}


/* Veterans discount option */
.baq-veteran-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 18px 0 20px;
  padding: 18px;
  border: 1px solid rgba(0, 134, 134, .25);
  border-radius: 18px;
  background: linear-gradient(135deg, #effefe, #ffffff);
}
.baq-veteran-card h3 {
  margin: 6px 0 4px;
}
.baq-veteran-card p {
  margin: 0;
  color: var(--baq-muted);
  font-size: .9rem;
}
.baq-veteran-badge {
  display: inline-block;
  border-radius: 999px;
  background: var(--baq-accent-dark);
  color: #fff;
  padding: 3px 9px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.baq-veteran-card-action {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid var(--baq-line);
  border-radius: 14px;
  background: #fff;
  color: var(--baq-accent-dark);
  font-weight: 800;
  cursor: pointer;
}
.baq-veteran-card-action input {
  width: 18px;
  height: 18px;
  accent-color: var(--baq-accent);
}
@media (max-width: 700px) {
  .baq-veteran-card {
    grid-template-columns: 1fr;
  }
  .baq-veteran-card-action {
    min-width: 0;
  }
}

/* Keep the dynamically shown veterans-discount phrase visually consistent
   with the surrounding Hosting and Maintenance note. */
.baq-note [data-baq-veteran-hosting-note] {
  font: inherit;
  color: inherit;
  line-height: inherit;
}
