/* ============================================================
   SPRINGBOK PROPERTIES — REVIEW PAGE
   Materialised CSS matching springbokproperties.co.uk design
   Design tokens derived from live site analysis
   ============================================================ */

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Brand colours */
  --yellow:          #fdee18;
  --yellow-light:    rgba(253, 238, 24, 0.08);
  --yellow-mid:      rgba(253, 238, 24, 0.15);
  --yellow-border:   rgba(253, 238, 24, 0.40);
  --teal:            #418181;
  --teal-light:      #32beb8;
  --teal-hover:      #356b6b;

  /* Surfaces */
  --bg:              #f7f7f9;
  --surface:         #ffffff;
  --surface-offset:  #f7f7f9;

  /* Text */
  --title:           #595959;
  --text:            #7e7e7e;
  --text-dark:       #2d2d2d;
  --text-inverse:    #ffffff;

  /* State colours */
  --green:           #4caf50;
  --green-bg:        linear-gradient(135deg, #eefaf6, #f5fcf9);
  --green-border:    rgba(76, 175, 80, 0.15);
  --red:             #f44336;
  --red-bg:          linear-gradient(135deg, #fef5f5, #fefafa);
  --red-border:      rgba(244, 67, 54, 0.15);

  /* Borders & shadows */
  --border:          #eeeeee;
  --border-table:    #f0f0f0;
  --shadow-card:     0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-sm:       0 1px 6px rgba(0, 0, 0, 0.06);

  /* Radius */
  --radius-sm:       8px;
  --radius-md:       12px;
  --radius-lg:       14px;
  --radius-pill:     20px;
  --radius-full:     9999px;

  /* Typography */
  --font-heading:    'Fira Sans', 'Poppins', system-ui, sans-serif;
  --font-body:       'Inter', 'Open Sans', system-ui, sans-serif;
  --font-ui:         'Poppins', system-ui, sans-serif;

  /* Spacing (4px base) */
  --sp-1:  0.25rem;   /*  4px */
  --sp-2:  0.5rem;    /*  8px */
  --sp-3:  0.75rem;   /* 12px */
  --sp-4:  1rem;      /* 16px */
  --sp-5:  1.25rem;   /* 20px */
  --sp-6:  1.5rem;    /* 24px */
  --sp-8:  2rem;      /* 32px */
  --sp-10: 2.5rem;    /* 40px */
  --sp-12: 3rem;      /* 48px */

  /* Layout */
  --content-max:     1440px;
  --transition:      180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
}

img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-hover); }
table { border-collapse: collapse; width: 100%; }
p { max-width: 72ch; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--title);
  line-height: 1.3;
  font-weight: 700;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

/* ── SITE HEADER ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--sp-3) var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  color: var(--text-dark);
  text-decoration: none;
}

.logo-tagline {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--text);
  display: none;
}

@media (min-width: 1200px) {
  .logo-tagline { display: block; }
}

.site-nav {
  flex: 1;
  display: none;
}

@media (min-width: 992px) {
  .site-nav { display: block; }
}

.site-nav ul {
  display: flex;
  gap: var(--sp-1);
  list-style: none;
}

.site-nav a {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--title);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.site-nav a:hover {
  background: var(--yellow-light);
  color: var(--text-dark);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  margin-left: auto;
}

.header-phone {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  display: none;
}

@media (min-width: 1100px) {
  .header-phone { display: flex; }
}

.header-phone .material-icons-round {
  font-size: 1rem;
  color: var(--teal);
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--sp-2) !important;
  font-family: var(--font-ui) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  padding: var(--sp-2) var(--sp-4) !important;
  border-radius: var(--radius-pill) !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition) !important;
  white-space: nowrap !important;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn:active { transform: translateY(0); }

.btn-teal {
  background: var(--teal);
  color: var(--text-inverse);
}
.btn-teal:hover { background: var(--teal-hover); color: var(--text-inverse); }

.btn-yellow {
  background: var(--yellow);
  color: #000;
}
.btn-yellow:hover { background: #e8d800; color: #000; }

.btn-cta-primary {
  width: 100%;
  justify-content: center;
  background: var(--teal) !important;
  color: var(--text-inverse);
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: var(--sp-4) var(--sp-6) !important;
  border-radius: var(--radius-md) !important;
  margin-top: var(--sp-4);
}
.btn-cta-primary:hover { background: var(--teal-hover); color: var(--text-inverse); }

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-10) var(--sp-6) var(--sp-8);
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--title);
  line-height: 1.25;
  margin-bottom: var(--sp-8);
}

.company-identity {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-6);
}

.company-logo-area {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── AUTHOR BYLINE ────────────────────────────────────────── */
.author-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.author-name {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--title);
}

.author-role {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text);
}

.byline-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.byline-item {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text);
}

.byline-item .material-icons-round { font-size: 1rem; }

.byline-updated {
  background: #fefce8;
  color: #9a8c00;
  font-weight: 600;
  padding: 3px var(--sp-3);
  border-radius: var(--radius-pill);
}

.byline-updated .material-icons-round { color: #9a8c00; }

/* ── CONTENT WRAPPER ──────────────────────────────────────── */
.content-wrapper {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-6);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: start;
}

@media (min-width: 992px) {
  .content-grid {
    grid-template-columns: 250px 1fr 290px;
    gap: var(--sp-8);
  }
}

/* ── TOC SIDEBAR ──────────────────────────────────────────── */
.toc-sidebar {
  display: none;
}

@media (min-width: 992px) {
  .toc-sidebar {
    display: block;
    order: -1;
  }
}

.toc-sticky {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.toc-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-link {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  line-height: 1.4;
}

.toc-link:hover {
  background: var(--yellow-light);
  color: var(--title);
}

.toc-link--active {
  font-weight: 600;
  color: var(--title);
  background: var(--yellow-light);
  border-left-color: var(--yellow);
}

/* ── ARTICLE CONTENT ──────────────────────────────────────── */
.article-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  min-width: 0; /* prevent overflow in grid */
}

@media (max-width: 640px) {
  .article-content {
    padding: var(--sp-5);
  }
}

.content-section {
  margin-bottom: var(--sp-10);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--border);
}

.content-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.content-section h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-2);
}

.content-section h3 {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

.content-section p {
  margin-bottom: var(--sp-4);
  color: var(--text);
}

.content-section p:last-child { margin-bottom: 0; }

/* ── FEATURED SNIPPET ─────────────────────────────────────── */
.featured-snippet-box {
  position: relative;
  background: linear-gradient(135deg, #fefce8, #fffef0);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
  margin-bottom: var(--sp-8);
}

.snippet-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--yellow);
  color: #000;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-3);
}

.featured-snippet-box p {
  font-size: 1.02rem;
  color: var(--title);
  line-height: 1.65;
  margin: 0;
}

/* ── INFO / CALLOUT BOXES ─────────────────────────────────── */
.info-box {
  display: flex;
  gap: var(--sp-4);
  background: #e8f5fe;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-8);
}

.info-box-icon {
  flex-shrink: 0;
  color: var(--teal);
}

.info-box-icon .material-icons-round { font-size: 1.5rem; }

.info-box-title {
  font-size: 1rem !important;
  margin-bottom: var(--sp-2) !important;
  margin-top: 0 !important;
  color: var(--teal) !important;
}

.info-box p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--title);
}

.callout-box {
  display: flex;
  gap: var(--sp-4);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-6);
  margin-top: var(--sp-6);
}

.callout-info {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
}

.callout-balanced {
  background: #f0faf0;
  border-left: 4px solid var(--green);
}

.callout-icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1.3rem !important;
}

.callout-info .callout-icon { color: #2196f3; }
.callout-balanced .callout-icon { color: var(--green); }

.callout-box strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--title);
  margin-bottom: var(--sp-2);
}

.callout-box p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
}

/* ── FACT LIST ────────────────────────────────────────────── */
.fact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin: var(--sp-4) 0;
}

.fact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.95rem;
  color: var(--text);
}

.fact-icon {
  font-size: 1.1rem !important;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── STEP LIST ────────────────────────────────────────────── */
.step-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin: var(--sp-5) 0;
}

.step-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--yellow);
  color: #000;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-content { flex: 1; min-width: 0; }

.step-title {
  font-size: 1rem !important;
  margin-top: 0 !important;
  margin-bottom: var(--sp-1) !important;
  color: var(--title);
}

.step-content p {
  margin: 0;
  font-size: 0.94rem;
}

/* ── DETAIL LIST ──────────────────────────────────────────── */
.detail-list {
  margin: var(--sp-3) 0 var(--sp-4) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.detail-list li {
  font-size: 0.95rem;
  color: var(--text);
  list-style: disc;
  list-style-position: outside;
}

/* ── RATINGS GRID ─────────────────────────────────────────── */
.ratings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-5) 0;
}

.rating-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
}

.rating-card--wide {
  background: linear-gradient(135deg, #fefce8, #fffef0);
  border-color: var(--yellow-border);
}

.rating-platform {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: var(--sp-3);
}

.rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
}

.stars {
  display: flex;
  gap: 2px;
  font-size: 1.25rem;
}

.star { color: #ddd; }
.star-full { color: #f4c542; }
.star-half {
  color: #f4c542;
  opacity: 0.5;
}

.rating-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--title);
  line-height: 1;
}

.rating-number--large {
  font-size: 2.4rem;
  color: #9a8c00;
}

.rating-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text);
}

/* ── REVIEW QUOTES ────────────────────────────────────────── */
.review-quotes {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin: var(--sp-4) 0;
}

.review-quote {
  background: var(--surface-offset);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--sp-3) var(--sp-4);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--title);
}

.review-quote--negative {
  border-left-color: var(--red);
}

/* ── SCENARIOS GRID ───────────────────────────────────────── */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-5) 0;
}

.scenario-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  border-top: 4px solid var(--yellow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.scenario-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.scenario-number {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--yellow);
  color: #000;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
}

.scenario-title {
  font-size: 0.95rem !important;
  margin-top: 0 !important;
  margin-bottom: var(--sp-2) !important;
}

.scenario-card p {
  font-size: 0.88rem;
  margin: 0;
}

/* ── COMPARISON TABLE ─────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  margin: var(--sp-5) 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  font-size: 0.88rem;
}

.comparison-table thead tr {
  background: var(--yellow);
}

.comparison-table thead th {
  font-family: var(--font-ui);
  font-size: 0.83rem;
  font-weight: 600;
  color: #000;
  padding: 14px 12px;
  text-align: left;
  white-space: nowrap;
}

.comparison-table thead th:first-child {
  border-radius: var(--radius-md) 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 var(--radius-md) 0 0;
}

.comparison-table tbody td {
  padding: 12px;
  border-bottom: 1px solid var(--border-table);
  color: var(--title);
  vertical-align: middle;
}

.comparison-table tbody tr:nth-child(even) td {
  background: var(--bg);
}

.comparison-table tbody tr:hover td {
  background: var(--yellow-light);
}

.table-row--highlight td {
  background: var(--yellow-mid) !important;
  font-weight: 600;
  border-left: none;
}

.table-row--highlight td:first-child {
  color: var(--teal);
  border-left: 3px solid var(--teal);
}

/* Risk badges */
.risk-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.risk-high   { background: #fde8e8; color: #c62828; }
.risk-medium { background: #fff3e0; color: #e65100; }
.risk-none   { background: #e8f5e9; color: #2e7d32; }

/* ── PROS & CONS ──────────────────────────────────────────── */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin: var(--sp-5) 0;
}

@media (min-width: 640px) {
  .pros-cons-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pros-box, .cons-box {
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}

.pros-box {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
}

.cons-box {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
}

.pros-cons-title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 1.1rem !important;
  margin-top: 0 !important;
  margin-bottom: var(--sp-4) !important;
}

.pros-title { color: #2e7d32; }
.cons-title { color: #c62828; }

.pros-title .material-icons-round { color: var(--green); }
.cons-title .material-icons-round { color: var(--red); }

.pros-cons-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.pros-cons-list li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--title);
}

.pro-icon {
  font-size: 1.2rem !important;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}

.con-icon {
  font-size: 1.2rem !important;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── VERDICT BOX ──────────────────────────────────────────── */
.verdict-box {
  background: linear-gradient(135deg, #fefce8, #fffef0);
  border: 1px solid var(--yellow-border);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-top: var(--sp-6);
}

.verdict-title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 1.1rem !important;
  margin-top: 0 !important;
  margin-bottom: var(--sp-3) !important;
  color: var(--title);
}

.verdict-title .material-icons-round {
  color: var(--teal);
  font-size: 1.3rem !important;
}

.verdict-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--title);
  line-height: 1.7;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  text-align: left;
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--title);
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
}

.faq-question:hover {
  background: var(--bg);
  border-color: var(--yellow);
}

.faq-question[aria-expanded="true"] {
  border-color: var(--yellow);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.faq-icon {
  font-size: 1.4rem !important;
  color: #e6d816;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: var(--sp-5) var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--yellow);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.faq-answer p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.7;
}

/* ── CTA SIDEBAR ──────────────────────────────────────────── */
.cta-sidebar {
  display: none;
}

@media (min-width: 992px) {
  .cta-sidebar {
    display: block;
    min-width: 0;
    align-self: stretch;
  }
}

.cta-sticky {
  position: sticky;
  top: 90px;
}

.cta-widget {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: var(--sp-4);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 1.2rem !important;
  color: #000 !important;
  margin: 0 !important;
  line-height: 1.3;
}

.cta-subtitle {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(0,0,0,0.7);
  margin-top: var(--sp-1);
  margin-bottom: 0;
}

/* Yellow header on CTA widget */
.cta-widget .cta-title,
.cta-widget .cta-subtitle {
  display: block;
}

.cta-widget > .cta-title,
.cta-widget > .cta-subtitle {
  /* handled inside widget via padding below */
}

/* Widget layout fix: header area is yellow, form area is white */
.cta-form {
  padding: 0;
}

/* Rewrite CTA widget internal layout */
.cta-widget {
  display: flex;
  flex-direction: column;
}

.cta-widget-header {
  background: var(--yellow);
  padding: var(--sp-5) var(--sp-6);
  text-align: center;
}

.cta-widget-body {
  padding: var(--sp-5) var(--sp-6);
}

.form-progress {
  margin-bottom: var(--sp-4);
}

.progress-bar {
  height: 6px !important;
  background: #eee !important;
  position: inherit !important;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--sp-2);
}

.progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: var(--radius-full);
}

.progress-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.progress-label .material-icons-round {
  font-size: 0.9rem;
  color: var(--teal);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--title);
}

.form-input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--title);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(65, 129, 129, 0.12);
}

.form-input::placeholder { color: #bbb; }

.cta-trust-list {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.cta-trust-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text);
}

.cta-trust-list .material-icons-round {
  font-size: 1rem;
  color: var(--green);
}

/* ── TRUST BADGES ─────────────────────────────────────────── */
.trust-badges {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.trust-badges-title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.trust-badge-list {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.trust-badge {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--teal);
  letter-spacing: 0.04em;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: #2d2d2d;
  color: #aaa;
  margin-top: var(--sp-12);
  padding: var(--sp-8) var(--sp-6);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer-disclaimer p {
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: var(--sp-3);
  max-width: 80ch;
  color: #aaa;
}

.footer-disclaimer a {
  color: var(--teal-light);
}

.footer-disclaimer a:hover {
  color: var(--yellow);
}

/* ── MOBILE: INLINE CTA ───────────────────────────────────── */
.mobile-cta {
  display: block;
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  margin: var(--sp-8) 0;
  text-align: center;
}

@media (min-width: 992px) {
  .mobile-cta { display: none; }
}

.mobile-cta h3 {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: var(--sp-2);
}

.mobile-cta p {
  font-size: 0.88rem;
  color: rgba(0,0,0,0.7);
  margin-bottom: var(--sp-4);
  max-width: none;
}

/* ── UTILITY ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Smooth active TOC highlight */
.toc-link {
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}


#sidebarForm .form-step {
    display: none;
}

#sidebarForm .form-step.active {
    display: block;
}
#sidebarForm .back-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-family: var(--poppins);
    font-size: 0.75rem;
    color: var(--green);
    cursor: pointer;
    margin-bottom: 14px;
    border: none;
    background: none;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}
nav {
    background-color:#fff !important;
}