/* =========================================================
   Cost Calculator — Figma layout
   ========================================================= */

.page-cost-calculator {
  background: #fff;
  --calc-band-pad: 72px;
  --calc-card-radius: 16px;
}

.page-cost-calculator .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Hero / calculator —— */
.page-cost-calculator .calc-hero {
  position: relative;
  padding-top: var(--header-clearance);
  padding-bottom: 56px;
  background: #fff;
}

.page-cost-calculator .calc-hero-inner {
  max-width: 1180px;
}

.page-cost-calculator .calc-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.page-cost-calculator .calc-intro {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 820px;
  margin: 0 0 28px;
}

.page-cost-calculator .calc-title .accent,
.page-cost-calculator .calc-step-title .accent,
.page-cost-calculator .calc-estimate-title .accent,
.page-cost-calculator .section-h2 .accent {
  color: var(--blue-400);
}

.page-cost-calculator .calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 40px;
  align-items: start;
}

/* Step circles indicator */
.page-cost-calculator .calc-steps-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  max-width: 120px;
}

.page-cost-calculator .calc-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #c8d4e4;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.page-cost-calculator .calc-step-circle span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  line-height: 1;
}

.page-cost-calculator .calc-step-circle.is-active,
.page-cost-calculator .calc-step-circle.is-complete {
  background: var(--blue-400);
  border-color: var(--blue-400);
}

.page-cost-calculator .calc-step-circle.is-active span,
.page-cost-calculator .calc-step-circle.is-complete span {
  color: #fff;
}

.page-cost-calculator .calc-step-line {
  flex: 1;
  height: 2px;
  background: #dce6f2;
  position: relative;
  margin: 0 -2px;
}

.page-cost-calculator .calc-step-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--blue-400);
  transition: width 0.35s ease;
}

/* Steps */
.page-cost-calculator .calc-step-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.page-cost-calculator .calc-step-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.page-cost-calculator .calc-step-hint em {
  font-style: italic;
}

.page-cost-calculator .calc-option-grid {
  display: grid;
  gap: 16px;
}

.page-cost-calculator .calc-option-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-cost-calculator .calc-option-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.page-cost-calculator .calc-option {
  appearance: none;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  border-radius: var(--calc-card-radius);
  padding: 24px 12px 18px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  font-family: inherit;
}

.page-cost-calculator .calc-option:hover {
  border-color: #9fd4f7;
  background: #f8fcff;
}

.page-cost-calculator .calc-option.is-selected {
  border-color: var(--blue-400);
  background: #e8f6fe;
  box-shadow: 0 0 0 1px rgba(63, 182, 247, 0.2);
}

.page-cost-calculator .calc-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-cost-calculator .calc-option-icon.build-service-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 0;
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 32, 66, 0.14);
}

.page-cost-calculator .calc-option-icon.build-service-badge .lucide {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  color: #fff;
}

.page-cost-calculator .calc-option.is-selected .calc-option-icon.build-service-badge {
  box-shadow: 0 10px 28px rgba(63, 182, 247, 0.28);
}

.page-cost-calculator .build-service-badge.badge-orange {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.page-cost-calculator .build-service-badge.badge-cyan {
  background: linear-gradient(135deg, #22c7d1 0%, #0ea5b7 100%);
}

.page-cost-calculator .build-service-badge.badge-navy {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.page-cost-calculator .calc-info-icon.build-service-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 32, 66, 0.12);
  flex-shrink: 0;
}

.page-cost-calculator .calc-info-icon.build-service-badge .lucide {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
  color: #fff;
}

.page-cost-calculator .calc-option-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

/* Nav buttons */
.page-cost-calculator .calc-nav {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 36px;
}

.page-cost-calculator .calc-nav[hidden] {
  display: none;
}

.page-cost-calculator .calc-nav .btn {
  min-width: 160px;
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
}

.page-cost-calculator .calc-btn-prev {
  background: var(--blue-400);
  color: #fff;
  border: none;
}

.page-cost-calculator .calc-btn-prev:hover {
  background: var(--blue-500);
}

/* Estimate sidebar — visible; numeric values stay blurred (never revealed) */
.page-cost-calculator .calc-estimate {
  background: #eef8ff;
  border: 1px solid #c8e5fa;
  border-radius: 20px;
  padding: 28px 24px;
  position: sticky;
  top: calc(var(--header-clearance) + 16px);
}

.page-cost-calculator .calc-estimate-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.2;
}

.page-cost-calculator .calc-estimate-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-cost-calculator .calc-estimate-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 8px;
}

.page-cost-calculator .calc-estimate-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #dce6f2;
  border-radius: 10px;
  padding: 14px 16px;
  min-height: 52px;
}

.page-cost-calculator .calc-estimate-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  flex: 1;
  min-width: 0;
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
  -webkit-user-select: none;
}

.page-cost-calculator .calc-estimate-suffix {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
}

.page-cost-calculator .calc-estimate-note {
  margin: 20px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #5a6d85;
}

.page-cost-calculator .calc-estimate.is-submitted .calc-estimate-num {
  filter: blur(9px);
  opacity: 0.72;
}

.page-cost-calculator .calc-estimate.is-submitted .calc-estimate-note--pending {
  display: none;
}

.page-cost-calculator .calc-estimate-note--submitted {
  display: none;
  color: var(--blue-500);
  font-weight: 600;
}

.page-cost-calculator .calc-estimate.is-submitted .calc-estimate-note--submitted {
  display: block;
}

/* —— Bands —— */
.page-cost-calculator .calc-band {
  padding: var(--calc-band-pad) 0;
}

.page-cost-calculator .calc-band--white {
  background: #fff;
}

.page-cost-calculator .calc-band--alt {
  background: #f6f9fc;
}

.page-cost-calculator .calc-band--grey {
  background: var(--bg-grey, #f4f7fb);
}

.page-cost-calculator .calc-band--dark {
  background: linear-gradient(165deg, #0b1b40 0%, #0f2454 48%, #122d66 100%);
  position: relative;
  overflow: hidden;
}

.page-cost-calculator .calc-band--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(63, 182, 247, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-cost-calculator .calc-band--dark .calc-band__block {
  position: relative;
  z-index: 1;
}

/* —— Info sections (premium layout) —— */
.page-cost-calculator .calc-info .section-head {
  margin-bottom: 40px;
}

.page-cost-calculator .calc-info .section-head .pill {
  margin-bottom: 12px;
}

.page-cost-calculator .calc-info .section-h2 .accent {
  color: var(--blue-400);
}

.page-cost-calculator .section-head--light .section-h2,
.page-cost-calculator .section-head--light .section-sub {
  color: #fff;
}

.page-cost-calculator .section-head--light .section-sub {
  opacity: 0.78;
}

/* Process steps */
.page-cost-calculator .calc-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.page-cost-calculator .calc-process-step {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--calc-card-radius);
  padding: 28px 22px 24px;
  box-shadow: 0 4px 24px rgba(15, 32, 66, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-cost-calculator .calc-process-step:hover {
  border-color: #c8e5fa;
  box-shadow: 0 12px 36px rgba(15, 32, 66, 0.08);
  transform: translateY(-2px);
}

.page-cost-calculator .calc-process-num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #c8d4e4;
}

.page-cost-calculator .calc-process-icon {
  margin-bottom: 16px;
}

.page-cost-calculator .calc-process-step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.page-cost-calculator .calc-process-step p {
  font-size: 13px;
  line-height: 1.68;
  color: var(--text-body);
  margin: 0;
}

/* Callout panel */
.page-cost-calculator .calc-callout-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 24px;
  background: #fff;
  border: 1px solid #c8e5fa;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(63, 182, 247, 0.08);
}

.page-cost-calculator .calc-callout-copy p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-body);
  margin: 0 0 14px;
}

.page-cost-calculator .calc-callout-copy p:last-child {
  margin-bottom: 0;
}

.page-cost-calculator .calc-callout-aside {
  background: linear-gradient(160deg, #0f2454 0%, #0b1b40 100%);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.page-cost-calculator .calc-callout-badge {
  margin-bottom: 16px;
}

.page-cost-calculator .calc-callout-aside h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-cost-calculator .calc-callout-aside p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 auto;
  flex: 1;
}

.page-cost-calculator .calc-callout-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-400);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.page-cost-calculator .calc-callout-link:hover {
  gap: 12px;
}

.page-cost-calculator .calc-callout-link .lucide {
  width: 16px;
  height: 16px;
}

/* Benefits grid */
.page-cost-calculator .calc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-cost-calculator .calc-benefit-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--calc-card-radius);
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(15, 32, 66, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-cost-calculator .calc-benefit-card:hover {
  border-color: #c8e5fa;
  box-shadow: 0 12px 36px rgba(15, 32, 66, 0.08);
  transform: translateY(-2px);
}

.page-cost-calculator .calc-benefit-icon {
  margin-bottom: 16px;
}

.page-cost-calculator .calc-benefit-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.page-cost-calculator .calc-benefit-card p {
  font-size: 13px;
  line-height: 1.68;
  color: var(--text-body);
  margin: 0;
}

/* Cost factors grid */
.page-cost-calculator .calc-factors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-cost-calculator .calc-factor-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--calc-card-radius);
  padding: 28px 26px;
  box-shadow: 0 4px 24px rgba(15, 32, 66, 0.05);
}

.page-cost-calculator .calc-factor-card--wide {
  grid-column: 1 / -1;
}

.page-cost-calculator .calc-factor-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #c8d4e4;
  letter-spacing: 0.06em;
}

.page-cost-calculator .calc-factor-icon {
  margin-bottom: 14px;
}

.page-cost-calculator .calc-factor-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
  padding-right: 36px;
}

.page-cost-calculator .calc-factor-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: #eef8ff;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.page-cost-calculator .calc-factor-card > p:last-child,
.page-cost-calculator .calc-factor-card > p:not(.calc-factor-tag) {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-body);
  margin: 0;
}

.page-cost-calculator .calc-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.page-cost-calculator .calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
  min-width: 480px;
}

.page-cost-calculator .calc-table th,
.page-cost-calculator .calc-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #e8eef5;
}

.page-cost-calculator .calc-table thead th {
  background: #eef8ff;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 13px;
}

.page-cost-calculator .calc-table tbody tr:last-child td {
  border-bottom: none;
}

.page-cost-calculator .calc-effort {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.page-cost-calculator .calc-effort--low {
  background: #e6f9f0;
  color: #1a9e6a;
}

.page-cost-calculator .calc-effort--mid {
  background: #fff4e8;
  color: #e07b2e;
}

.page-cost-calculator .calc-effort--high {
  background: #fdecea;
  color: #c0392b;
}

.page-cost-calculator .calc-integration-grid-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.page-cost-calculator .calc-integration-item {
  background: #f8fbff;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  padding: 16px 18px;
}

.page-cost-calculator .calc-integration-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.page-cost-calculator .calc-integration-item p {
  font-size: 13px;
  line-height: 1.62;
  color: var(--text-body);
  margin: 0;
}

/* Compare cards */
.page-cost-calculator .calc-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.page-cost-calculator .calc-compare-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 26px 28px;
  box-shadow: 0 4px 24px rgba(15, 32, 66, 0.05);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-cost-calculator .calc-compare-card:hover {
  border-color: #c8e5fa;
  box-shadow: 0 12px 36px rgba(15, 32, 66, 0.08);
}

.page-cost-calculator .calc-compare-card--featured {
  border-color: var(--blue-400);
  box-shadow: 0 8px 32px rgba(63, 182, 247, 0.14);
}

.page-cost-calculator .calc-compare-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue-400);
  border-radius: 999px;
  padding: 5px 14px;
}

.page-cost-calculator .calc-compare-icon {
  margin-bottom: 18px;
}

.page-cost-calculator .calc-compare-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.page-cost-calculator .calc-compare-effort {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-500);
  background: #eef8ff;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.page-cost-calculator .calc-compare-card > p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-body);
  margin: 0 0 18px;
}

.page-cost-calculator .calc-compare-list {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #e8eef5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-cost-calculator .calc-compare-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-body);
}

.page-cost-calculator .calc-compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-400);
}

/* Tips section (dark band) */
.page-cost-calculator .calc-tips-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.page-cost-calculator .calc-tip-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--calc-card-radius);
  padding: 26px 22px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-cost-calculator .calc-tip-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(63, 182, 247, 0.35);
}

.page-cost-calculator .calc-tip-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-400);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-cost-calculator .calc-tip-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.page-cost-calculator .calc-tip-card p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.page-cost-calculator .calc-tips-cta {
  text-align: center;
  padding-top: 8px;
}

.page-cost-calculator .calc-tips-cta p {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
}

.page-cost-calculator .calc-tips-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-cost-calculator .calc-tips-cta .btn .lucide {
  width: 18px;
  height: 18px;
}

.page-cost-calculator .calc-band__block .section-head {
  margin-bottom: 40px;
}

.page-cost-calculator .calc-band__block .section-h2 {
  margin-bottom: 14px;
}

/* Why choose — dark 2-col cards */
.page-cost-calculator .calc-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-cost-calculator .calc-why-card {
  background: linear-gradient(180deg, #0f2454 0%, #0b1b40 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--calc-card-radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.page-cost-calculator .calc-why-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.35;
}

.page-cost-calculator .calc-why-card p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 auto;
  flex: 1;
}

.page-cost-calculator .calc-why-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-cost-calculator .calc-why-link:hover {
  color: var(--blue-400);
}

/* Trusted panel */
.page-cost-calculator .calc-trust-panel {
  border: 1px solid #c8e5fa;
  border-radius: 20px;
  padding: 48px 40px;
  background: #fff;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.page-cost-calculator .calc-trust-panel .section-h2 {
  margin-bottom: 16px;
}

.page-cost-calculator .calc-trust-intro {
  font-size: 15px;
  line-height: 1.82;
  color: var(--text-body);
  margin: 0 auto 36px;
  max-width: 680px;
}

.page-cost-calculator .calc-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-cost-calculator .calc-stat-box {
  background: #fff;
  border: 1px solid #c8e5fa;
  border-radius: var(--calc-card-radius);
  padding: 28px 20px;
  text-align: center;
}

.page-cost-calculator .calc-stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--blue-500);
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.page-cost-calculator .calc-stat-box p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* FAQ — left-aligned, chevron */
.page-cost-calculator .calc-faq-head {
  text-align: left;
  max-width: 900px;
  margin: 0 auto 32px;
}

.page-cost-calculator .calc-faq-head .section-h2 {
  text-align: left;
  font-size: clamp(24px, 3vw, 32px);
}

.page-cost-calculator .calc-faq-head .section-sub {
  text-align: left;
  margin: 0;
  max-width: none;
}

.page-cost-calculator .calc-faq-grid {
  max-width: 900px;
}

.page-cost-calculator .calc-faq-grid .faq-item summary {
  font-size: 14px;
  font-weight: 600;
  padding: 18px 20px;
}

.page-cost-calculator .calc-faq-chevron {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.page-cost-calculator .calc-faq-chevron .lucide {
  width: 18px;
  height: 18px;
}

.page-cost-calculator .calc-faq-grid .faq-item[open] .calc-faq-chevron {
  transform: rotate(180deg);
}

.page-cost-calculator .calc-faq-grid .faq-item .plus {
  display: none;
}

/* Lead capture modal — matches project-card / project-form pattern */
.page-cost-calculator .calc-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.page-cost-calculator .calc-modal[hidden] {
  display: none;
}

.page-cost-calculator .calc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 39, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.page-cost-calculator .calc-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.page-cost-calculator .calc-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-cost-calculator .calc-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.page-cost-calculator .calc-modal-close .lucide {
  width: 18px;
  height: 18px;
}

.page-cost-calculator .calc-modal-card.project-card {
  margin: 0;
  padding: 36px 32px 32px;
  background: radial-gradient(circle at top left, rgba(15, 141, 235, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.page-cost-calculator .calc-modal-card .project-card-top h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 18px 0 10px;
  line-height: 1.25;
}

.page-cost-calculator .calc-modal-card .project-card-top p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin: 0;
}

.page-cost-calculator .calc-modal-card .project-form .input-grid {
  margin-bottom: 20px;
}

.page-cost-calculator .calc-modal-card .panel-note a {
  color: var(--blue-400);
}

body.calc-modal-open {
  overflow: hidden;
}

/* Final CTA — uses shared project-section styles from services.css */
.page-cost-calculator .calc-final-cta.project-section {
  margin-top: 0;
  padding: var(--calc-band-pad) 24px;
}

.page-cost-calculator .calc-final-cta .project-copy h2 .accent {
  color: var(--blue-400);
}

.page-cost-calculator .calc-final-cta .panel-note a {
  color: var(--blue-400);
  text-decoration: underline;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .page-cost-calculator .calc-layout {
    grid-template-columns: 1fr;
  }

  .page-cost-calculator .calc-estimate {
    position: static;
  }

  .page-cost-calculator .calc-option-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-cost-calculator .calc-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-cost-calculator .calc-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-cost-calculator .calc-tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cost-calculator {
    --calc-band-pad: 48px;
  }

  .page-cost-calculator .calc-hero {
    padding-bottom: 40px;
  }

  .page-cost-calculator .calc-title {
    margin-bottom: 12px;
  }

  .page-cost-calculator .calc-intro {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .page-cost-calculator .calc-callout-panel {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .page-cost-calculator .calc-process-grid,
  .page-cost-calculator .calc-benefits-grid,
  .page-cost-calculator .calc-factors-grid,
  .page-cost-calculator .calc-compare-grid,
  .page-cost-calculator .calc-tips-grid {
    grid-template-columns: 1fr;
  }

  .page-cost-calculator .calc-factor-card--wide {
    grid-column: auto;
  }

  .page-cost-calculator .calc-integration-grid-cols {
    grid-template-columns: 1fr;
  }

  .page-cost-calculator .calc-compare-card--featured {
    margin-top: 12px;
  }

  .page-cost-calculator .calc-option-grid--2,
  .page-cost-calculator .calc-option-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-cost-calculator .calc-why-grid,
  .page-cost-calculator .calc-stats-row {
    grid-template-columns: 1fr;
  }

  .page-cost-calculator .calc-trust-panel {
    padding: 32px 20px;
  }

  .page-cost-calculator .calc-nav {
    flex-direction: column;
  }

  .page-cost-calculator .calc-nav .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-cost-calculator .calc-modal-dialog {
    max-width: 100%;
  }

  .page-cost-calculator .calc-modal-card.project-card {
    padding: 32px 22px 24px;
    border-radius: 24px;
  }

  .page-cost-calculator .calc-modal-card .project-form .input-grid {
    grid-template-columns: 1fr;
  }
}
