/* CalcRates — Main Stylesheet */

/* ================================================
   Google Fonts Import
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ================================================
   CSS Custom Properties
   ================================================ */
:root {
  --brand-primary: #0ea5e9;
  --brand-primary-dark: #0284c7;
  --brand-secondary: #10b981;
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-hero: #1e293b;
  --bg-dark: #0f172a;
  --text-primary: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 6px rgba(0,0,0,.07), 0 20px 40px rgba(0,0,0,.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

/* ================================================
   Base Styles
   ================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-primary-dark);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* ================================================
   Sticky Navbar
   ================================================ */
.navbar {
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  padding: 0.75rem 0;
  transition: box-shadow var(--transition);
  z-index: 1030;
}

.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

.navbar-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--brand-primary) !important;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar-brand .brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-primary) !important;
  font-size: 0.9375rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background: #f1f5f9;
  color: var(--brand-primary) !important;
}

.navbar-nav .nav-link.active {
  color: var(--brand-primary) !important;
  font-weight: 600;
}

.navbar-nav .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 220px;
  margin-top: 0.25rem;
}

.navbar-nav .dropdown-item {
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.navbar-nav .dropdown-item:hover {
  background: #f1f5f9;
  color: var(--brand-primary);
}

.navbar-nav .dropdown-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem 0.25rem;
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.375rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(14,165,233,0.25);
}

/* ================================================
   Hero Section
   ================================================ */
.hero-section {
  background: var(--bg-hero);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(14,165,233,0.08) 0%, rgba(16,185,129,0.05) 100%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  color: #ffffff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.hero-section .subtitle {
  color: #94a3b8;
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}

.hero-section .breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
}

.hero-section .breadcrumb-item {
  font-size: 0.875rem;
  color: #64748b;
}

.hero-section .breadcrumb-item a {
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition);
}

.hero-section .breadcrumb-item a:hover {
  color: var(--brand-primary);
}

.hero-section .breadcrumb-item.active {
  color: #cbd5e1;
}

.hero-section .breadcrumb-item + .breadcrumb-item::before {
  color: #475569;
}

/* ================================================
   Ad-Blocker Safe Promo Block Placeholders
   ================================================ */
.header-promo-block {
  height: 90px;
  max-width: 728px;
  margin: 0 auto;
}

.sidebar-featured-block {
  width: 300px;
  height: 250px;
}

.content-break-block {
  height: 90px;
  max-width: 728px;
  margin: 20px auto;
}

.footer-promo-block {
  height: 90px;
  max-width: 728px;
  margin: 0 auto;
}

.promo-placeholder {
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  width: 100%;
  height: 100%;
  text-transform: uppercase;
}

.promo-section {
  padding: 1rem 0;
  background: #f8fafc;
}

.promo-section-footer {
  padding: 1.5rem 0;
  background: #f1f5f9;
}

/* ================================================
   Calculator Card
   ================================================ */
.calc-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.calc-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-card-title .calc-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 0.875rem;
}

/* ================================================
   Result Cards
   ================================================ */
.result-card {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.result-card-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.result-card-dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.result-value {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.result-label {
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.result-sublabel {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.result-mini {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.result-mini .value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.result-mini .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* ================================================
   Slider + Input Pair Groups
   ================================================ */
.slider-group {
  margin-bottom: 1.25rem;
}

.slider-group label {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-value-display {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 0.95rem;
}

.slider-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.slider-input-row input[type="range"] {
  flex: 1;
  accent-color: var(--brand-primary);
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
  margin: 0;
}

.slider-input-row .slider-number-input {
  width: 95px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.slider-input-row .slider-number-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.2);
}

/* Custom range track for webkit */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(14,165,233,0.4);
  cursor: pointer;
  margin-top: -6px;
  transition: background var(--transition), transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--brand-primary-dark);
  transform: scale(1.15);
}

input[type="range"]::-moz-range-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(14,165,233,0.4);
  cursor: pointer;
}

/* ================================================
   Amortization Table
   ================================================ */
.amortization-section {
  margin-top: 2rem;
}

.amortization-section h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.table-amortization {
  font-size: 0.85rem;
  border-collapse: collapse;
  width: 100%;
}

.table-amortization thead th {
  background: #f8fafc;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 0.75rem;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.table-amortization tbody td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.table-amortization tbody tr:hover {
  background: #f8fafc;
}

.table-amortization tbody tr:last-child td {
  border-bottom: none;
}

.amortization-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.amortization-controls select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.7rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: white;
  cursor: pointer;
}

.amortization-controls select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.2);
}

/* ================================================
   FAQ Accordion
   ================================================ */
.faq-section {
  margin: 2.5rem 0;
}

.faq-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.accordion-button {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: white;
  padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  color: var(--brand-primary);
  background: #f0f9ff;
  box-shadow: none;
}

.accordion-button::after {
  filter: none;
}

.accordion-button:not(.collapsed)::after {
  filter: hue-rotate(200deg) saturate(2);
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(14,165,233,0.2);
}

.accordion-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.75rem 1.25rem 1rem;
  background: white;
  line-height: 1.7;
}

/* ================================================
   Trust Strip
   ================================================ */
.trust-strip {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-item .trust-icon {
  font-size: 1rem;
  color: var(--brand-secondary);
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-right: 0.5rem;
}

/* ================================================
   Footer
   ================================================ */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
}

.site-footer h5 {
  color: #e2e8f0;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: #94a3b8;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.4rem;
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--brand-primary);
}

.footer-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.6;
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #475569;
  margin-top: 0.5rem;
}

/* ================================================
   Sidebar
   ================================================ */
.sidebar-sticky {
  position: sticky;
  top: 80px;
}

.sidebar-widget {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.sidebar-widget h5 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-widget .related-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.sidebar-widget .related-link:last-child {
  border-bottom: none;
}

.sidebar-widget .related-link:hover {
  color: var(--brand-primary);
}

.sidebar-widget .related-link .link-icon {
  width: 24px;
  height: 24px;
  background: #f0f9ff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.rate-ref-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.rate-ref-item:last-child {
  border-bottom: none;
}

.rate-ref-item .rate-name {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.rate-ref-item .rate-val {
  font-weight: 700;
  color: var(--brand-primary);
}

/* ================================================
   Feature/Tool Cards (Hub Pages)
   ================================================ */
.tool-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
  color: inherit;
}

.tool-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.tool-card-icon.green {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: var(--brand-secondary);
}

.tool-card-icon.purple {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  color: #7c3aed;
}

.tool-card-icon.orange {
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  color: #ea580c;
}

.tool-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.tool-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.tool-card .card-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ================================================
   Buttons
   ================================================ */
.btn-brand {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity var(--transition), transform 0.1s ease;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: white;
}

.btn-brand-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-brand-outline:hover {
  background: var(--brand-primary);
  color: white;
}

/* ================================================
   Section Headings
   ================================================ */
.section-heading {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--text-primary);
}

.section-subheading {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ================================================
   Why Section / Feature Points
   ================================================ */
.why-item {
  text-align: center;
  padding: 1.5rem;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-primary);
  margin: 0 auto 1rem;
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.why-item p {
  font-size: 0.875rem;
}

/* ================================================
   Rate Reference Strip (Homepage)
   ================================================ */
.rate-strip {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0;
}

.rate-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rate-strip-item .rsi-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.rate-strip-item .rsi-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.rate-strip-item .rsi-src {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ================================================
   Animations
   ================================================ */
@keyframes resultPulse {
  0% { background-color: inherit; }
  30% { background-color: rgba(14, 165, 233, 0.12); }
  100% { background-color: inherit; }
}

.result-updated {
  animation: resultPulse 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.4s ease both;
}

/* ================================================
   Badges / Tags
   ================================================ */
.badge-brand {
  background: #e0f2fe;
  color: var(--brand-primary-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.badge-green {
  background: #d1fae5;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

/* ================================================
   Content Styles
   ================================================ */
.content-section {
  margin: 2rem 0;
}

.content-section h2 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.content-section h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.info-box {
  background: #f0f9ff;
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.info-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.info-box.green {
  background: #f0fdf4;
  border-left-color: var(--brand-secondary);
}

.info-box.yellow {
  background: #fefce8;
  border-left-color: #eab308;
}

/* ================================================
   Breadcrumb
   ================================================ */
nav.breadcrumb-nav .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
}

nav.breadcrumb-nav .breadcrumb-item {
  font-size: 0.8125rem;
}

/* ================================================
   Responsive
   ================================================ */
@media (max-width: 991.98px) {
  .sidebar-sticky {
    position: static;
    margin-top: 2rem;
  }

  .sidebar-featured-block {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 2rem 0 1.75rem;
  }

  .hero-section h1 {
    font-size: 1.5rem;
  }

  .calc-card {
    padding: 1.25rem;
  }

  .result-value {
    font-size: 2rem;
  }

  .rate-strip {
    gap: 0.75rem 1.25rem;
    justify-content: flex-start;
  }

  .header-promo-block,
  .content-break-block,
  .footer-promo-block {
    max-width: 100%;
  }

  .slider-input-row .slider-number-input {
    width: 80px;
  }
}

@media (max-width: 575.98px) {
  .trust-strip-inner {
    gap: 0.6rem 1rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .why-item {
    padding: 1rem 0.5rem;
  }
}

/* ================================================
   Utility overrides
   ================================================ */
.text-brand {
  color: var(--brand-primary) !important;
}

.text-brand-dark {
  color: var(--brand-primary-dark) !important;
}

.text-green {
  color: var(--brand-secondary) !important;
}

.bg-brand-light {
  background: #f0f9ff !important;
}

.border-brand {
  border-color: var(--brand-primary) !important;
}

.fw-700 {
  font-weight: 700;
}

.fw-600 {
  font-weight: 600;
}

.font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.rounded-md {
  border-radius: var(--radius-md) !important;
}

/* Override Bootstrap accordion borders */
.accordion {
  --bs-accordion-border-color: var(--border);
  --bs-accordion-bg: white;
  --bs-accordion-active-bg: #f0f9ff;
  --bs-accordion-active-color: var(--brand-primary);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(14,165,233,0.2);
}

/* Table responsive scrolling */
.table-responsive-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-top: 1rem;
}

/* Chart container */
.chart-container {
  position: relative;
  width: 100%;
  height: 280px;
  margin: 1rem 0;
}
