/* === HOMEPAGE SPECIFIC === */
.page-hero { padding: var(--section-padding) 0; padding-top: calc(64px + var(--section-padding)); }

/* === SAVINGS ESTIMATOR (comparison tool v2) === */
.est-wrapper {
  max-width: 680px;
  margin: 0 auto;
}
.est-inner {
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* --- Progress indicator --- */
.est-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.est-progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.est-progress-step--active {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(0, 106, 212, 0.12);
}
.est-progress-step--done {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: white;
}
.est-progress-line {
  width: 48px;
  height: 2px;
  background: var(--border-medium);
  margin: 0 6px;
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.est-progress-line--done {
  background: var(--accent-blue);
}

/* --- Step header --- */
.est-step-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.est-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 106, 212, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-blue);
  flex-shrink: 0;
}
.est-step-num--done {
  background: var(--accent-blue);
  color: white;
}
.est-step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.3;
}
.est-step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* --- Step 1: Type grid --- */
.est-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.est-type-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  background: var(--bg-elevated);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  font-family: var(--font-family);
}
.est-type-btn:hover,
.est-type-btn:focus-visible {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 16px rgba(0, 106, 212, 0.12);
  transform: translateY(-2px);
}
.est-type-btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.est-type-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 106, 212, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.est-type-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-blue);
}
.est-type-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Step 2: Profile list --- */
.est-profile-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.est-profile-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  background: var(--bg-elevated);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  font-family: var(--font-family);
  width: 100%;
}
.est-profile-btn:hover,
.est-profile-btn:focus-visible {
  border-color: var(--accent-blue);
  background: rgba(0, 106, 212, 0.03);
  transform: translateX(4px);
}
.est-profile-btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.est-profile-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}
.est-profile-arrow {
  color: var(--text-secondary);
  transition: color 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
}
.est-profile-btn:hover .est-profile-arrow {
  color: var(--accent-blue);
  transform: translateX(3px);
}

/* --- Back link --- */
.est-back-link,
.est-restart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 0;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-family);
  transition: color 0.2s ease;
}
.est-back-link:hover,
.est-restart-link:hover {
  color: var(--accent-blue);
}

/* --- Step 3: Results --- */
.est-results-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 24px;
}
.est-savings-hero {
  text-align: center;
  margin-bottom: 28px;
}
.est-savings-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.est-savings-amount {
  font-size: clamp(40px, 7vw, 56px);
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.est-savings-period {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- Comparison bars --- */
.est-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.est-bar-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 12px;
}
.est-bar-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.est-bar-track {
  height: 12px;
  background: var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
}
.est-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.est-bar-fill--direct {
  background: rgba(0, 0, 0, 0.15);
}
.est-bar-fill--broker {
  background: var(--gradient-cta);
}
.est-bar-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  min-width: 80px;
  text-align: right;
}
.est-bar-value--accent {
  color: var(--accent-blue);
}

/* --- Savings badge --- */
.est-savings-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0, 106, 212, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(0, 106, 212, 0.12);
}
.est-badge-pct {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-blue);
  white-space: nowrap;
}
.est-badge-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --- Trust signals --- */
.est-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.est-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.est-trust-item svg {
  color: var(--accent-blue);
  flex-shrink: 0;
}

/* --- CTA area --- */
.est-cta-area {
  text-align: center;
  margin-bottom: 20px;
}
.est-cta-btn {
  width: 100%;
  max-width: 400px;
  font-size: 17px;
  padding: 16px 32px;
}
.est-cta-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 10px;
  line-height: 1.5;
}

/* --- Disclaimer --- */
.est-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 16px;
}

/* --- Actions row --- */
.est-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .est-type-grid {
    grid-template-columns: 1fr;
  }
  .est-bar-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .est-bar-label {
    font-size: 12px;
  }
  .est-bar-value {
    text-align: left;
    font-size: 14px;
  }
  .est-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .est-savings-badge {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .est-progress-line {
    width: 32px;
  }
}

/* === ABOUT LAYOUT === */
.about-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.about-photo img { border-radius: 16px; }
.about-text p { margin-bottom: 16px; color: var(--text-secondary); line-height: 1.7; }
.about-credentials { margin: 24px 0 16px; }
.cert-logos {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}
.cert-logo { height: 48px; width: auto; }

/* === TESTIMONIALS === */
.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.testimonial-card.placeholder {
  border-style: dashed;
  border-color: var(--border-medium);
  opacity: 0.85;
}
.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author { font-weight: 600; font-size: 15px; color: var(--text-primary); }
.testimonial-role { font-size: 13px; color: var(--text-secondary); }

/* === LEGAL PAGES === */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 24px; margin: 32px 0 16px; }
.legal-content h3 { font-size: 20px; margin: 24px 0 12px; }
.legal-content p { margin-bottom: 16px; color: var(--text-secondary); line-height: 1.7; }
.legal-content ul { margin: 0 0 16px 24px; color: var(--text-secondary); }
.legal-content li { margin-bottom: 8px; line-height: 1.6; }

/* === 404 === */
.error-page { text-align: center; min-height: 60vh; display: flex; align-items: center; justify-content: center; }

/* === SERVICE PAGES === */
.service-hero-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}
.service-hero-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent-blue);
  fill: none;
  stroke-width: 1.5;
}
.service-body { max-width: 800px; }
.service-body p { margin-bottom: 16px; color: var(--text-primary); line-height: 1.7; font-size: 19px; }
.service-body h3 { margin-top: 24px; margin-bottom: 12px; }
.related-services { margin-top: 48px; }

/* === SERVICE PAGE VISUAL VARIATION === */
.service-body h2 + p::first-letter {
  font-size: 1.2em;
  font-weight: 600;
}

/* === PHOTO PLACEHOLDERS === */
.photo-placeholder {
  background: linear-gradient(135deg, var(--bg-accent) 0%, rgba(0, 106, 212, 0.05) 100%);
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  border: 1px dashed var(--border-medium);
}
