/* BlueDAG Quote Calculator / Inline Guided Wizard */
.calc-wrap { max-width: 1200px; margin: 0 auto; font-family: 'Lato', sans-serif; }
.calc-eyebrow { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; color: #1F5867; margin-bottom: 0.45rem; }
.calc-shell { background: #fff; border: 1px solid #BED7EB; border-radius: 22px; box-shadow: 0 18px 45px rgba(17,47,75,0.10); overflow: hidden; }
.calc-shell__intro { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1.25rem; align-items: center; padding: 1.5rem 1.6rem 1.1rem; background: linear-gradient(135deg, #f8fcff 0%, #ffffff 55%, #eef7fc 100%); border-bottom: 1px solid #E1EEF6; }
.calc-shell__intro h2 { font-family: 'PT Sans Narrow', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.02; color: #112F4B; margin: 0 0 0.45rem; }
.calc-shell__intro p { color: #555; font-size: 1.04rem; line-height: 1.55; margin: 0; max-width: 650px; }
.calc-shell__audience { background: #112F4B; color: #fff; border-radius: 16px; padding: 1rem; font-weight: 700; line-height: 1.45; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10); }
.calc-body { padding: 1.75rem 2.2rem 2rem; min-height: 460px; }

/* Progress Bar */
.calc-progress { display: flex; align-items: center; justify-content: center; padding: 1rem 1.4rem 0.55rem; flex-wrap: nowrap; gap: 0; background:#fff; border-bottom: 1px solid #EEF5FA; }
.calc-step-dot { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 0 0 auto; }
.calc-step-dot span { width: 32px; height: 32px; border-radius: 50%; background: #BED7EB; color: #112F4B; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.calc-step-dot label { font-size: 0.68rem; color: #555; white-space: nowrap; }
.calc-step-dot.active span { background: #0071BC; color: #fff; box-shadow: 0 0 0 4px rgba(0,113,188,0.18); }
.calc-step-dot.done span { background: #112F4B; color: #fff; }
.calc-step-dot.done label, .calc-step-dot.active label { color: #112F4B; font-weight: 700; }
.calc-step-line { height: 2px; width: clamp(20px, 5vw, 58px); background: #BED7EB; margin: 0 5px 20px; }

/* Step container */
.calc-step h3 { font-family: 'PT Sans Narrow', sans-serif; font-size: clamp(1.55rem, 3vw, 2rem); color: #112F4B; margin: 0 0 0.5rem; }
.calc-hint { color: #555; margin-bottom: 1.2rem; font-size: 0.96rem; }

/* Org type buttons */
.calc-btn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.calc-org-btn { min-height: 54px; padding: 0.9rem 1rem; border: 2px solid #BED7EB; background: #fff; color: #112F4B; font-size: 0.95rem; font-weight: 700; border-radius: 12px; cursor: pointer; transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.18s; text-align: center; }
.calc-org-btn:hover, .calc-org-btn:focus-visible { border-color: #0071BC; background: #f0f8ff; outline: none; transform: translateY(-1px); }
.calc-org-btn.selected { border-color: #112F4B; background: #112F4B; color: #fff; }

/* Radio cards */
.calc-option-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.65rem; margin-bottom: 1.5rem; }
.calc-radio-card { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.1rem; border: 2px solid #BED7EB; border-radius: 12px; cursor: pointer; transition: border-color 0.18s, background 0.18s; background: #fff; min-height: 54px; }
.calc-radio-card:hover { border-color: #0071BC; }
.calc-radio-card.selected { border-color: #112F4B; background: #f5f9ff; }
.calc-radio-card input { accent-color: #112F4B; width: 18px; height: 18px; }
.calc-radio-card span { font-size: 1rem; color: #222; font-weight: 600; }
.calc-savings { font-size: 0.8rem; background: #1F5867; color: #fff; padding: 2px 8px; border-radius: 12px; margin-left: 8px; font-style: normal; white-space: nowrap; }

/* Checkbox cards */
.calc-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.calc-check-card { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem; border: 2px solid #BED7EB; border-radius: 12px; cursor: pointer; transition: border-color 0.18s, background 0.18s, box-shadow 0.18s; background: #fff; min-height: 110px; }
.calc-check-card:hover { border-color: #0071BC; }
.calc-check-card.selected { border-color: #0071BC; background: #f0f8ff; box-shadow: inset 0 0 0 1px rgba(0,113,188,0.12); }
.calc-check-card input { position: absolute; opacity: 0; pointer-events: none; }
.calc-check-card strong { font-size: 0.96rem; color: #112F4B; }
.calc-check-card span { font-size: 0.84rem; color: #555; line-height: 1.45; }

/* Plan cards */
.calc-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.calc-plan-card { position: relative; padding: 1.25rem; border: 2px solid #BED7EB; border-radius: 14px; cursor: pointer; transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s; background: #fff; }
.calc-plan-card:hover { border-color: #0071BC; box-shadow: 0 4px 16px rgba(0,113,188,0.15); transform: translateY(-1px); }
.calc-plan-card.selected { border-color: #112F4B; box-shadow: 0 4px 20px rgba(17,47,75,0.15); }
.calc-plan-card.popular { border-color: #0071BC; }
.calc-popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #0071BC; color: #fff; font-size: 0.75rem; font-weight: 800; padding: 3px 14px; border-radius: 12px; white-space: nowrap; }
.calc-plan-card h4 { font-family: 'PT Sans Narrow', sans-serif; font-size: 1.2rem; color: #112F4B; margin: 0 0 0.25rem; }
.calc-plan-best { font-size: 0.84rem; color: #1F5867; margin: 0 0 0.75rem; font-style: italic; }
.calc-plan-card ul { list-style: none; padding: 0; margin: 0; font-size: 0.86rem; color: #444; }
.calc-plan-card ul li { padding: 3px 0; }
.calc-plan-note { font-size: 0.8rem; color: #555; margin-top: 0.5rem; }

/* Add-ons */
.calc-addon-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.calc-addon-row { border: 2px solid #BED7EB; border-radius: 12px; padding: 0.9rem 1rem; background: #fff; transition: border-color 0.18s, background 0.18s; }
.calc-addon-row.active { border-color: #0071BC; background: #f5fbff; }
.calc-addon-main { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.calc-addon-main input[type="checkbox"] { accent-color: #112F4B; width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.calc-addon-main strong { font-size: 0.96rem; color: #112F4B; display: block; }
.calc-addon-price { font-size: 0.82rem; color: #1F5867; font-weight: 700; display: block; margin: 2px 0; }
.calc-addon-main p { font-size: 0.84rem; color: #555; margin: 2px 0 0; line-height: 1.45; }
.calc-qty-row { margin-top: 0.65rem; padding-left: 2.2rem; }
.calc-qty-row label { font-size: 0.9rem; color: #444; display: flex; align-items: center; gap: 0.5rem; }
.calc-qty-row input { width: 76px; padding: 6px 9px; border: 1px solid #BED7EB; border-radius: 6px; font-size: 0.95rem; }

/* Results */
.calc-result-hero { background: #112F4B; color: #fff; border-radius: 16px; padding: 2rem; text-align: center; margin-bottom: 1.5rem; }
.calc-result-annual { display: flex; flex-direction: column; gap: 0.25rem; }
.calc-result-label { font-size: 0.9rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; }
.calc-result-price { font-family: 'PT Sans Narrow', sans-serif; font-size: clamp(2.5rem, 7vw, 4rem); font-weight: 800; color: #BED7EB; line-height: 1; }
.calc-result-sub { font-size: 0.95rem; opacity: 0.85; margin-top: 0.25rem; }
.calc-breakdown { margin-bottom: 1.5rem; }
.calc-breakdown h4 { font-family: 'PT Sans Narrow', sans-serif; font-size: 1.2rem; color: #112F4B; margin-bottom: 0.5rem; }
.calc-breakdown table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.calc-breakdown td { padding: 9px 12px; border-bottom: 1px solid #BED7EB; }
.calc-breakdown td:last-child { text-align: right; font-weight: 700; }
.calc-total-row td { border-top: 2px solid #112F4B; border-bottom: none; padding-top: 12px; font-size: 1.05rem; }
.calc-disclaimer { font-size: 0.84rem; color: #555; margin-bottom: 1.5rem; line-height: 1.5; }
.calc-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.calc-cta-primary { flex: 1; min-width: 200px; display: block; padding: 1rem; background: #0071BC; color: #fff; text-align: center; text-decoration: none; border-radius: 10px; font-weight: 800; font-size: 1rem; transition: background 0.2s; }
.calc-cta-primary:hover { background: #112F4B; }
.calc-cta-secondary { flex: 1; min-width: 200px; display: block; padding: 1rem; background: #fff; color: #112F4B; text-align: center; text-decoration: none; border-radius: 10px; font-weight: 800; font-size: 1rem; border: 2px solid #112F4B; transition: all 0.2s; }
.calc-cta-secondary:hover { background: #112F4B; color: #fff; }

/* Nav */
.calc-nav { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #EEF5FA; }

/* Quote form (step 6) */
.calc-quote-form { margin-top: 32px; padding: 32px; background: #f8fafd; border-radius: 16px; border: 1px solid #e9f3fa; }
@media (min-width: 768px) {
  .calc-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .calc-results-grid > .calc-quote-form { margin-top: 0; }
}
.calc-next-btn { min-height: 46px; padding: 0.75rem 2rem; background: #0071BC; color: #fff; border: none; border-radius: 999px; font-size: 1rem; font-weight: 800; cursor: pointer; transition: background 0.2s, transform 0.18s; }
.calc-next-btn:hover, .calc-next-btn:focus-visible { background: #112F4B; transform: translateY(-1px); outline: none; }
.calc-back-btn { min-height: 46px; padding: 0.75rem 1.5rem; background: #fff; color: #112F4B; border: 2px solid #BED7EB; border-radius: 999px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.calc-back-btn:hover, .calc-back-btn:focus-visible { border-color: #112F4B; outline: none; }

/* Responsive */
@media (max-width: 780px) {
  .calc-shell__intro { grid-template-columns: 1fr; padding: 1.25rem 1rem 1rem; }
  .calc-shell__audience { font-size: 0.92rem; }
  .calc-body { padding: 1rem; min-height: auto; }
  .calc-progress { justify-content: flex-start; overflow-x: auto; padding: 0.85rem 1rem 0.4rem; }
  .calc-step-line { width: 18px; }
  .calc-step-dot label { display: none; }
  .calc-btn-grid, .calc-plan-grid, .calc-check-grid, .calc-addon-list, .calc-option-list { grid-template-columns: 1fr; }
  .calc-nav { justify-content: stretch; }
  .calc-nav button { flex: 1; padding-left: 1rem; padding-right: 1rem; }
  .calc-cta-row { flex-direction: column; }
}
