/* BlueDAG estimate request form — simplified public quote flow */
:root {
  --bd-navy: #112F4B;
  --bd-blue: #5BA3E0;
  --bd-blue-light: #e8f4fd;
  --bd-gray-border: #dbe5ef;
  --bd-text: #2d3748;
  --bd-text-light: #66788a;
  --bd-white: #fff;
  --bd-shadow: 0 8px 28px rgba(17,47,75,.10);
  --bd-radius: 14px;
}

.estimate-request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  font-family: 'Lato', 'PT Sans', system-ui, sans-serif;
  color: var(--bd-text);
}
.estimate-request--no-summary { grid-template-columns: minmax(0, 860px); justify-content: center; }
.estimate-reveal { animation: estimateDissolve .34s ease-out both; }
@keyframes estimateDissolve {
  from { opacity: 0; }
  to { opacity: 1; }
}

.estimate-request__main { min-width: 0; }
.quote-form-section .container { overflow: visible !important; }
.quote-form-section--standalone { padding-top: 32px !important; }
.quote-page-intro { max-width: 860px; margin: 0 0 22px; }
.quote-page-intro h1 { margin: 0; color: var(--bd-navy); font-size: clamp(2.2rem, 4.6vw, 3.75rem); line-height: 1.02; }
.estimate-request__aside { position: sticky !important; top: 81px; align-self: start; z-index: 10; transform: translateY(-49px); }
.estimate-request__aside.is-floating { position: fixed !important; transform: none; }

.estimate-card,
.estimate-summary {
  background: var(--bd-white);
  border: 1px solid var(--bd-gray-border);
  border-radius: var(--bd-radius);
  box-shadow: var(--bd-shadow);
  padding: 26px;
  margin-bottom: 18px;
}

.estimate-card--intro {
  background: linear-gradient(135deg, #fff 0%, #f3f9fe 100%);
  border-color: rgba(91,163,224,.35);
}

.estimate-card--pending { opacity: .82; }

.estimate-card__head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; position:relative; }
.estimate-card__head h3 { margin-bottom: 8px; }
.estimate-card__head p { margin-bottom: 0; }
.suite-help {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--bd-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  cursor: help;
  box-shadow: 0 8px 20px rgba(17,47,75,.18);
}
.suite-help__bubble {
  position: absolute;
  top: 42px;
  right: 0;
  width: min(430px, 78vw);
  background: #fff;
  border: 1px solid var(--bd-gray-border);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(17,47,75,.22);
  color: var(--bd-text);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 30;
}
.suite-help:hover .suite-help__bubble,
.suite-help:focus .suite-help__bubble { opacity: 1; visibility: visible; transform: translateY(0); }
.suite-help__bubble strong { display:block; color: var(--bd-navy); margin: 2px 0 4px; }
.suite-help__bubble span { display:block; color: var(--bd-text-light); font-weight:600; line-height:1.45; margin-bottom: 12px; }
.suite-help__bubble span:last-child { margin-bottom: 0; }

.suite-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.suite-choice {
  position: relative;
  appearance: none;
  border: 2px solid var(--bd-gray-border);
  border-radius: 14px;
  background: #fff;
  padding: 20px 54px 20px 20px;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s, background .18s;
  font: inherit;
  overflow: visible;
}
.suite-choice:hover { border-color: var(--bd-blue); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(17,47,75,.10); }
.suite-choice.selected { border-color: var(--bd-blue); background: var(--bd-blue-light); box-shadow: 0 0 0 3px rgba(91,163,224,.18); }
.suite-choice > span:first-child { display:inline-block; color: var(--bd-navy); background: var(--bd-blue); border-radius:999px; padding:4px 10px; font-size:.72rem; font-weight:900; letter-spacing:.05em; text-transform:uppercase; margin-bottom:10px; }
.suite-choice strong { display:block; color: var(--bd-navy); font-size:1.2rem; margin-bottom:8px; }
.suite-choice em { display:block; color: var(--bd-text-light); font-style:normal; line-height:1.45; }
.suite-choice__help {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bd-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 900;
  line-height: 1;
  z-index: 4;
}
.suite-choice__bubble {
  position: absolute;
  top: 38px;
  right: 0;
  width: min(410px, 78vw);
  background: #fff;
  border: 1px solid var(--bd-gray-border);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(17,47,75,.22);
  color: var(--bd-text);
  padding: 16px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 40;
  text-align: left;
  pointer-events: none;
}
.suite-choice__help:hover .suite-choice__bubble,
.suite-choice__help:focus .suite-choice__bubble { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.suite-choice__bubble b { display:block; color: var(--bd-navy); font-size: 1rem; margin-bottom: 6px; }
.suite-choice__bubble i { display:block; color: var(--bd-text-light); font-style: normal; font-weight: 600; line-height: 1.45; margin-bottom: 10px; }
.suite-choice__bubble ul { margin: 0; padding-left: 18px; color: var(--bd-text); font-weight: 650; line-height: 1.45; }
.suite-choice__bubble li { margin: 4px 0; }

.estimate-eyebrow,
.estimate-step,
.estimate-summary__label {
  display: inline-block;
  color: var(--bd-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.estimate-card h3,
.estimate-summary h3 {
  margin: 0 0 12px;
  color: var(--bd-navy);
  font-size: 1.35rem;
  line-height: 1.2;
}

.estimate-card p { margin: 0 0 16px; color: var(--bd-text-light); line-height: 1.55; }

.estimate-options,
.estimate-plan-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.estimate-options--org { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.estimate-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.estimate-option,
.estimate-plan {
  appearance: none;
  border: 2px solid var(--bd-gray-border);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s, background .18s;
  font: inherit;
}

.estimate-option:hover,
.estimate-plan:hover {
  border-color: var(--bd-blue);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17,47,75,.08);
}

.estimate-option.selected,
.estimate-plan.selected {
  border-color: var(--bd-blue);
  background: var(--bd-blue-light);
  box-shadow: 0 0 0 3px rgba(91,163,224,.18);
}

.estimate-option strong,
.estimate-plan strong {
  display: block;
  color: var(--bd-navy);
  font-weight: 800;
  margin-bottom: 4px;
}

.estimate-option span,
.estimate-plan span,
.estimate-plan em {
  display: block;
  color: var(--bd-text-light);
  font-size: .92rem;
  line-height: 1.4;
}

.estimate-plan em {
  color: var(--bd-blue);
  font-style: normal;
  font-weight: 800;
  margin-bottom: 6px;
}

.estimate-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.estimate-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.estimate-card label {
  display: block;
  color: var(--bd-navy);
  font-weight: 800;
  font-size: .92rem;
  margin: 12px 0;
}

.estimate-card input,
.estimate-card select,
.estimate-card textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 6px;
  border: 1px solid var(--bd-gray-border);
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
  color: var(--bd-text);
  background: #fff;
}

.estimate-card textarea { resize: vertical; }
.estimate-card select { text-overflow: ellipsis; }
.estimate-card label { min-width: 0; }
.estimate-card input:focus,
.estimate-card select:focus,
.estimate-card textarea:focus {
  outline: none;
  border-color: var(--bd-blue);
  box-shadow: 0 0 0 3px rgba(91,163,224,.18);
}

.estimate-addons {
  border: 1px solid var(--bd-gray-border);
  border-radius: 12px;
  padding: 14px;
  margin: 18px 0 0;
}

.estimate-addons legend {
  color: var(--bd-navy);
  font-weight: 800;
  padding: 0 8px;
}

.estimate-check {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin: 8px 0 !important;
  font-weight: 600 !important;
  color: var(--bd-text) !important;
}
.estimate-check input { width: auto; margin: 0; }

.estimate-summary {
  background: var(--bd-navy);
  color: #fff;
}
.estimate-summary h3,
.estimate-summary dt,
.estimate-summary dd { color: #fff; }
.estimate-summary__price-card {
  background: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  color: var(--bd-navy);
  padding: 18px 18px 16px;
  margin: 4px 0 18px;
  box-shadow: 0 16px 34px rgba(0,0,0,.20);
}
.estimate-summary__price-card span {
  display: block;
  color: #5d7285;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.estimate-summary__price-card strong {
  display: block;
  color: var(--bd-navy);
  font-size: clamp(1.38rem, 2.25vw, 2rem);
  line-height: 1.03;
  letter-spacing: -.035em;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.estimate-summary__price-card small {
  display: block;
  color: #6f8191;
  font-size: .82rem;
  font-weight: 800;
  margin-top: 8px;
}
.estimate-summary ol { margin: 16px 0 0; padding-left: 20px; line-height: 1.65; }
.estimate-summary__range {
  background: rgba(91,163,224,.16);
  border: 1px solid rgba(91,163,224,.36);
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0 16px;
}
.estimate-summary__range span,
.estimate-summary__range small { display: block; color: rgba(255,255,255,.76); }
.estimate-summary__range strong { display: block; color: #fff; font-size: 1.55rem; line-height: 1.15; margin: 4px 0 6px; }
.estimate-summary__range small { font-size: .78rem; line-height: 1.35; }
.estimate-summary__divider { height: 1px; background: rgba(255,255,255,.18); margin: 18px 0; }
.estimate-summary dl { margin: 0; }
.estimate-summary dl div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
.estimate-summary dt { opacity: .72; }
.estimate-summary dd { margin: 0; font-weight: 800; text-align: right; }
.estimate-summary__note { color: rgba(255,255,255,.76); font-size: .88rem; margin: 16px 0 0; line-height: 1.5; }

.estimate-turnstile { margin: 16px 0 10px; }
.estimate-submit {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  background: var(--bd-blue);
  color: var(--bd-navy);
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
}
.estimate-submit:hover { filter: brightness(.96); }
.estimate-submit:disabled { opacity: .6; cursor: wait; }

.estimate-status {
  margin: 10px 0;
  border-radius: 10px;
  padding: 11px 13px;
  font-weight: 800;
}
.estimate-status.error { background: #fff0f0; color: #9f1d1d; border: 1px solid #f3b7b7; }
.estimate-status.info { background: #eef7ff; color: #112F4B; border: 1px solid #b9d9f2; }
.estimate-disclaimer { font-size: .86rem; margin-top: 12px !important; }

.estimate-success { text-align: center; padding: 34px 14px; }
.estimate-success__mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dff5e6;
  color: #116b2d;
  font-size: 30px;
  font-weight: 900;
}
.estimate-success a { color: var(--bd-blue); font-weight: 800; }

@media (max-width: 900px) {
  .estimate-request { grid-template-columns: 1fr; }
  .estimate-request__aside { position: static; max-height: none; overflow: visible; margin-top: 0; transform: none; }
  .suite-choice-grid,
  .estimate-options--org,
  .estimate-plan-grid,
  .estimate-grid--two { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .estimate-card,
  .estimate-summary { padding: 20px 16px; }
}

.quote-range-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.quote-range-card {
  background: #fff;
  border: 1px solid var(--bd-gray-border);
  border-radius: 14px;
  box-shadow: var(--bd-shadow);
  padding: 22px;
  position: relative;
}
.quote-range-card--featured {
  border-color: var(--bd-blue);
  box-shadow: 0 12px 32px rgba(17,47,75,.14);
}
.quote-range-card span {
  display: inline-block;
  color: var(--bd-navy);
  background: var(--bd-blue);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.quote-range-card h3 { color: var(--bd-navy); margin: 0 0 8px; }
.quote-range-card strong { display:block; color: var(--bd-navy); font-size: 1.55rem; margin-bottom: 8px; }
.quote-range-card p { color: var(--bd-text-light); margin: 0; line-height: 1.45; }
.quote-range-note { text-align: center; color: var(--bd-text-light); font-size: .9rem; margin: 18px 0 0; }

@media (max-width: 820px) {
  .quote-range-grid { grid-template-columns: 1fr; }
}
