/* ============================================================
   Primer Financial — assets/css/components.css
   Component styles: hero, cards, stats, forms, footer, etc.
   ============================================================ */

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(135deg, var(--primary) 0%, #0d3260 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  max-width: 100vw;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 100,0 60,100 0,100" fill="%23ffffff08"/></svg>') right bottom / cover no-repeat;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) 0;
  color: var(--white);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero p.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

/* Hero trust badges */
.hero-trust-badges {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 12px 16px;
  backdrop-filter: blur(4px);
}
.trust-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}
.trust-badge-text { line-height: 1.3; }
.trust-badge-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.trust-badge-sub {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.6);
}

/* ── Inline loan calculator (hero widget) ─────────────────── */
.calc-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-lg);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--accent);
}
.calc-widget-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border);
}

.calc-result {
  background: var(--bg);
  border-radius: var(--radius);
  padding: var(--space-sm);
  text-align: center;
  margin: var(--space-sm) 0;
  border-left: 4px solid var(--accent);
}
.calc-result-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.calc-result-amount {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  line-height: 1;
  margin: 2px 0;
}
.calc-result-sub { font-size: 13px; color: var(--text-light); }

/* ── Product Cards ──────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-card:hover::before { transform: scaleX(1); }

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--accent);
  font-size: 20px;
}
.product-card h3 { font-size: 20px; margin-bottom: 4px; }
.product-range {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  font-variant-numeric: tabular-nums;
}
.product-card p { font-size: 14px; color: var(--text-light); margin-bottom: var(--space-sm); flex: 1; }

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
}
.product-features li {
  font-size: 13px;
  color: var(--text-light);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Stats Section ──────────────────────────────────────────── */
.stats-section {
  background: var(--primary);
  padding: var(--space-3xl) 0;
}
.stat-item { text-align: center; padding: var(--space-md); }
.stat-number {
  display: block;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.15);
  margin: auto;
}

/* ── Why Us (3 columns with gold left bar) ─────────────────── */
.why-item {
  padding-left: var(--space-md);
  border-left: 4px solid var(--accent);
  margin-bottom: var(--space-xl);
}
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212,175,55,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  margin-bottom: var(--space-sm);
}
.why-item h3 { font-size: 22px; margin-bottom: 8px; }
.why-item p  { font-size: 15px; color: var(--text-light); margin: 0; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.testimonial-stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.testimonial-quote { font-size: 16px; line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-quote::before { content: '\201C'; color: var(--accent); font-size: 24px; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name  { font-size: 14px; font-weight: 700; color: var(--primary); }
.testimonial-meta  { font-size: 12px; color: var(--text-light); }
.badge-verified    {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: rgba(0,135,90,.08);
  padding: 2px 8px;
  border-radius: 20px;
}

/* Testimonial carousel */
.testimonial-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: var(--space-lg);
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.testimonial-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ── Full-width CTA ─────────────────────────────────────────── */
.cta-section {
  background: var(--primary);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '€';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 300px;
  font-weight: 900;
  color: rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
}
.cta-section h2  { color: var(--white); margin-bottom: var(--space-sm); }
.cta-section p   { color: rgba(255,255,255,.75); font-size: 18px; max-width: 560px; margin: 0 auto var(--space-xl); }
.cta-actions     { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

/* ── Newsletter section ─────────────────────────────────────── */
.newsletter-section {
  background: var(--bg);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
}
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: var(--space-md) auto 0;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
}
.newsletter-form input:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-md); }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: .2px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,37,64,.1);
}
.form-control.is-invalid { border-color: var(--danger); }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; display: none; }
.form-error.visible { display: block; }

select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea.form-control { min-height: 120px; resize: vertical; }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: var(--space-sm); }
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-check label { font-size: 14px; color: var(--text-light); cursor: pointer; }

/* Range slider */
input[type="range"].range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  cursor: pointer;
}
input[type="range"].range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  cursor: pointer;
}
input[type="range"].range-slider:focus { outline: none; }
input[type="range"].range-slider:focus::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(10,37,64,.2); }

/* Alert messages */
.alert {
  padding: var(--space-md);
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(0,135,90,.08); border-left: 4px solid var(--success); color: #005a3c; }
.alert-error   { background: rgba(220,38,38,.08); border-left: 4px solid var(--danger); color: var(--danger); }

/* ── Multi-step form progress ───────────────────────────────── */
.step-progress {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-2xl);
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-item.completed:not(:last-child)::after { background: var(--accent); }

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.step-item.active   .step-circle { border-color: var(--primary); background: var(--primary); color: var(--white); }
.step-item.completed .step-circle { border-color: var(--accent); background: var(--accent); color: var(--primary); }

.step-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
}
.step-item.active .step-label   { color: var(--primary); }
.step-item.completed .step-label{ color: var(--accent); }

.form-step   { display: none; }
.form-step.active { display: block; }

/* Summary table */
.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-md);
}
.summary-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.summary-table td:first-child { color: var(--text-light); font-weight: 500; }
.summary-table td:last-child   { font-weight: 700; color: var(--primary); text-align: right; }

/* ── Blog cards ─────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d3260 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,.15);
}
.blog-card-body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.blog-card h3 { font-size: 18px; margin-bottom: 8px; flex: 1; }
.blog-card p  { font-size: 14px; color: var(--text-light); margin-bottom: var(--space-sm); }
.blog-meta    { font-size: 12px; color: var(--text-light); display: flex; gap: 12px; }

/* ── Page header (inner pages) ──────────────────────────────── */
.page-header {
  background-image: linear-gradient(135deg, var(--primary) 0%, #0d3260 100%);
  background-size: cover;
  background-position: center;
  padding: var(--space-2xl) 0;
  color: var(--white);
}
.page-header h1 { color: var(--white); margin-bottom: var(--space-sm); }
.page-header p  { color: rgba(255,255,255,.75); font-size: 18px; max-width: 600px; }
.breadcrumb-swiss {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: var(--space-md);
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.breadcrumb-swiss a { color: rgba(255,255,255,.7); }
.breadcrumb-swiss a:hover { color: var(--accent); }
.breadcrumb-swiss .sep { color: rgba(255,255,255,.3); }

/* ── Team avatar ─────────────────────────────────────────────── */
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto var(--space-sm);
  border: 3px solid var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transition: transform .3s;
}
.team-avatar:hover { transform: scale(1.05); }

/* ── Accordion / FAQ ────────────────────────────────────────── */
.accordion-swiss { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-item  { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background var(--transition);
}
.accordion-header:hover  { background: var(--bg); }
.accordion-header.active { background: var(--bg); color: var(--accent); }
.accordion-icon {
  font-size: 14px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.accordion-header.active .accordion-icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.accordion-body-inner { padding: var(--space-md) var(--space-lg); font-size: 15px; color: var(--text-light); line-height: 1.75; }

/* ── Conditions table ───────────────────────────────────────── */
.conditions-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.conditions-table thead { background: var(--primary); color: var(--white); }
.conditions-table th { padding: 14px 20px; font-size: 13px; font-weight: 700; letter-spacing: .5px; text-align: left; }
.conditions-table td { padding: 14px 20px; font-size: 15px; border-bottom: 1px solid var(--border); }
.conditions-table tbody tr:hover { background: var(--bg); }
.conditions-table td:first-child { font-weight: 600; color: var(--primary); }

/* ── Cookie banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: var(--space-sm) 0;
  z-index: 9990;
  border-top: 3px solid var(--accent);
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.cookie-text { font-size: 14px; color: rgba(255,255,255,.85); margin: 0; flex: 1; }
.cookie-text a { color: var(--accent); text-decoration: underline; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); }

.legal-banner {
  background: var(--primary-dark);
  border-top: 3px solid var(--accent);
  padding: var(--space-sm) 0;
}
.legal-banner p {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin: 0;
  line-height: 1.5;
}
.legal-banner .fa-circle-info { color: var(--accent); margin-right: 6px; }

.footer-main { padding: var(--space-3xl) 0 var(--space-2xl); }

.footer-brand { margin-bottom: var(--space-md); }
.footer-logo-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
}
.footer-logo-link:hover .footer-logo-name { color: var(--accent); }
.footer-tagline { font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 4px; letter-spacing: .5px; }

.footer-contact { margin-top: var(--space-md); }
.footer-contact p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact .fas { color: var(--accent); width: 14px; flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.6); }
.footer-contact a:hover { color: var(--accent); }

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--accent); padding-left: 6px; }

.footer-trust { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: 8px; }
.trust-pill {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-links { display: flex; gap: 10px; margin-top: var(--space-md); }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 14px;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--space-md) 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.footer-copyright { font-size: 13px; color: rgba(255,255,255,.4); margin: 0; }
.footer-legal-links { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.footer-legal-links a { font-size: 12px; color: rgba(255,255,255,.4); }
.footer-legal-links a:hover { color: var(--accent); }

/* ── Comparison table ───────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table thead th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
.compare-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare-table tbody tr:nth-child(even) { background: var(--bg); }
.compare-table tbody tr:hover { background: rgba(212,175,55,.05); }
.compare-table td:first-child { font-weight: 700; color: var(--primary); }

/* ── Partner logos ──────────────────────────────────────────── */
.partners-bar {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-logos {
  display: flex;
  gap: var(--space-2xl);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.partner-logo {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .6;
  transition: opacity var(--transition);
}
.partner-logo:hover { opacity: 1; }
.partner-logo .fas  { color: var(--accent); font-size: 20px; }

/* ── Amortization table ─────────────────────────────────────── */
.amortization-wrapper {
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.amortization-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.amortization-table thead {
  background: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
}
.amortization-table th { padding: 10px 14px; font-weight: 700; text-align: right; }
.amortization-table th:first-child { text-align: left; }
.amortization-table td { padding: 8px 14px; border-bottom: 1px solid var(--border); text-align: right; font-variant-numeric: tabular-nums; }
.amortization-table td:first-child { text-align: left; }
.amortization-table tbody tr:nth-child(even) { background: var(--bg); }

/* ── Map placeholder ────────────────────────────────────────── */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 300px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
  color: var(--text-light);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Legal page content ─────────────────────────────────────── */
.legal-content h2 { font-size: 24px; margin: var(--space-xl) 0 var(--space-md); }
.legal-content h3 { font-size: 18px; margin: var(--space-lg) 0 var(--space-sm); }
.legal-content p  { font-size: 15px; color: var(--text-light); margin-bottom: var(--space-sm); }
.legal-content ul { padding-left: var(--space-lg); margin-bottom: var(--space-md); }
.legal-content li { font-size: 15px; color: var(--text-light); margin-bottom: 6px; }

/* WCAG warning box */
.warning-box {
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.3);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--space-md);
  font-size: 14px;
  color: var(--text);
  margin: var(--space-md) 0;
}
