/* ==========================================================================
   VitSee Marketing Site — Shared Stylesheet
   Warm, human healthcare: Fraunces display + Figtree body, terracotta + sage.
   ========================================================================== */

:root {
  --primary-color: #C1552C;
  --primary-dark: #A0431F;
  --primary-light: #FBE6DA;
  --accent-green: #4C9A6A;
  --accent-green-dark: #2F7A4C;
  --accent-green-light: #E1F0E3;
  --text-primary: #2B2420;
  --text-secondary: #746A61;
  --text-muted: #A79A8E;
  --bg-color: #FBF6EF;
  --surface-color: #FFFEFB;
  --border-color: #E9DECE;
  --amber: #D89A3D;
  --red: #C0553F;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-height: 76px;
  --max-width: 1200px;

  --shadow-sm: 0 1px 3px rgba(43, 36, 32, 0.06);
  --shadow-md: 0 8px 20px -4px rgba(43, 36, 32, 0.10);
  --shadow-lg: 0 24px 48px -12px rgba(43, 36, 32, 0.18);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(251, 246, 239, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  height: 40px;
  width: 40px;
  border-radius: 11px;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-accent {
  color: var(--accent-green-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.15s ease;
  position: relative;
}

.main-nav a:hover {
  color: var(--text-primary);
}

.main-nav a.active {
  color: var(--text-primary);
  font-weight: 600;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
  height: 2px;
  background: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--text-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  background-color: #000;
}

.btn-accent {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(193, 85, 44, 0.45);
}

.btn-accent:hover {
  transform: translateY(-1px);
  background-color: var(--primary-dark);
  box-shadow: 0 14px 28px -6px rgba(193, 85, 44, 0.5);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-ghost:hover {
  border-color: var(--text-primary);
}

.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9375rem 2rem;
  font-size: 1rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -220px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 85, 44, 0.16) 0%, rgba(193, 85, 44, 0) 70%);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -280px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 154, 106, 0.14) 0%, rgba(76, 154, 106, 0) 70%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #F0C6AC;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 1.5rem;
  animation: fadeUp 0.6s ease 0.08s both;
}

.hero h1 .accent {
  color: var(--primary-color);
  font-style: italic;
}

.hero-sub {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 0 2.25rem;
  animation: fadeUp 0.6s ease 0.16s both;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
  animation: fadeUp 0.6s ease 0.24s both;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.32s both;
}

.hero-trust div {
  display: flex;
  flex-direction: column;
}

.hero-trust strong {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-trust span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Hero visual: mock savings card */

.hero-visual {
  position: relative;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: -28px;
  left: -28px;
  right: 28px;
  bottom: 28px;
  background: var(--accent-green-light);
  border-radius: 28px;
  transform: rotate(-3deg);
  z-index: 0;
}

.savings-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  position: relative;
  z-index: 2;
}

.savings-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.savings-card-header h3 {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.savings-pill {
  background: var(--accent-green-light);
  color: var(--accent-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-color);
}

.compare-row:last-of-type {
  border-bottom: none;
}

.compare-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.compare-meta {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.compare-price {
  font-weight: 700;
  font-size: 1.0625rem;
}

.compare-row.best .compare-price {
  color: var(--accent-green-dark);
}

.compare-row.best {
  background: linear-gradient(90deg, rgba(76,154,106,0.09), transparent);
  margin: 0 -1.75rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
}

.floating-chip {
  position: absolute;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  z-index: 3;
}

.floating-chip.chip-1 {
  top: -18px;
  right: 12px;
  animation: floatY 5s ease-in-out infinite;
}

.floating-chip.chip-2 {
  bottom: -22px;
  left: -18px;
  animation: floatY 6s ease-in-out infinite 0.4s;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
}

/* ---------- Section basics ---------- */

section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 3rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.875rem;
  font-weight: 600;
  line-height: 1.12;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin: 0;
}

/* ---------- Feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #DCCBAE;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #fff;
}

.feature-icon.blue { background: var(--primary-color); }
.feature-icon.green { background: var(--accent-green); }
.feature-icon.amber { background: var(--amber); }
.feature-icon.dark { background: var(--text-primary); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0;
}

/* ---------- Alternating feature rows (features.html) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-row.reverse .feature-row-media {
  order: 2;
}

.feature-row-media {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-row-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-green-dark);
  background: var(--accent-green-light);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.feature-row h3 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  font-weight: 600;
}

.feature-row p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin: 0 0 1.25rem;
}

.feature-row ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-row li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.feature-row li svg {
  flex-shrink: 0;
  color: var(--accent-green-dark);
  margin-top: 2px;
}

/* mock UI blocks used inside feature-row-media */

.mock-bar {
  height: 12px;
  border-radius: 6px;
  background: var(--border-color);
}

.mock-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.mock-pill-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mock-pill {
  padding: 0.4rem 0.875rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8125rem;
  font-weight: 600;
}

.mock-chat-bubble {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  max-width: 80%;
}

.mock-chat-bubble.user {
  align-self: flex-end;
  background: var(--primary-color);
  color: #fff;
  border-color: transparent;
}

/* ---------- About page ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-strip div {
  text-align: center;
}

.stat-strip strong {
  font-family: var(--font-display);
  display: block;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--primary-color);
}

.stat-strip span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 1.875rem;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 1rem;
  font-weight: 600;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1.25rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.value-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.value-card h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.value-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method h4 {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.contact-method p, .contact-method a {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  text-decoration: none;
}

.contact-method a:hover {
  color: var(--primary-color);
}

/* ---------- Insights listing ---------- */

.insights-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.5rem 1.125rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-pill.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #fff;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #DCCBAE;
}

.insight-card-media {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.insight-card-media svg {
  position: relative;
  z-index: 1;
}

.insight-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.insight-card-media.tone-blue::before { background: linear-gradient(135deg, #F0DCCB, #FBF6EF); }
.insight-card-media.tone-green::before { background: linear-gradient(135deg, #D9EADD, #F3F9F4); }
.insight-card-media.tone-amber::before { background: linear-gradient(135deg, #F5E3C4, #FBF6EF); }

.insight-card-media.tone-blue svg { color: var(--primary-color); }
.insight-card-media.tone-green svg { color: var(--accent-green-dark); }
.insight-card-media.tone-amber svg { color: var(--amber); }

.insight-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.insight-card-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.insight-card-body h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.insight-card-body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  flex: 1;
}

.insight-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  margin-top: 0.25rem;
}

.insight-card.featured {
  grid-column: span 2;
}

.insight-card.featured .insight-card-media {
  height: 220px;
}

.insight-card.featured .insight-card-body h3 {
  font-size: 1.625rem;
}

/* ---------- Article page ---------- */

.article-header {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border-color);
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 3.8vw, 3.125rem);
  letter-spacing: -0.015em;
  font-weight: 600;
  line-height: 1.1;
  max-width: 850px;
  margin: 0 0 1.25rem;
}

.article-dek {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 0;
}

.article-body p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2.75rem 0 1rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.stat-callout-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.stat-callout {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
}

.stat-callout strong {
  font-family: var(--font-display);
  display: block;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.stat-callout span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.chart-block {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0 2.5rem;
}

.chart-block-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 70px;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.bar-row-label {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-track {
  height: 10px;
  background: var(--bg-color);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--primary-color);
}

.bar-fill.accent {
  background: var(--accent-green);
}

.bar-row-value {
  text-align: right;
  font-weight: 700;
  color: var(--text-primary);
}

.callout-box {
  border-left: 3px solid var(--primary-color);
  background: var(--primary-light);
  border-radius: 0 14px 14px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.callout-box p {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1rem;
}

.methodology-box {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 2.5rem;
}

.methodology-box h4 {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.methodology-box p {
  font-size: 0.9375rem;
  margin: 0;
}

.article-footer-nav {
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--text-primary);
  border-radius: 28px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(193,85,44,0.4), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(76,154,106,0.32), transparent 55%);
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-display);
  color: #FBF6EF;
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.cta-banner p {
  color: #D8CBBB;
  font-size: 1.0625rem;
  margin: 0 0 2rem;
}

.cta-banner .btn-accent {
  box-shadow: 0 10px 28px -4px rgba(193,85,44,0.8);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer-brand .brand {
  margin-bottom: 0.875rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  max-width: 32ch;
  margin: 0;
}

.footer-cols {
  display: flex;
  gap: 4rem;
}

.footer-col h5 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* ---------- Animations ---------- */

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

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-row-media {
    order: 0;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

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

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

  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insight-card.featured {
    grid-column: span 2;
  }

  .stat-callout-row {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: 100px 1fr 60px;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 0.875rem 6%;
  }

  .main-nav a.active::after {
    display: none;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-trust {
    gap: 1.5rem;
  }

  section {
    padding: 3.5rem 0;
  }

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

  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .cta-banner {
    padding: 2.75rem 1.5rem;
  }

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

  .insight-card.featured {
    grid-column: span 1;
  }

  .article-body {
    padding: 2.5rem 0;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 0.375rem;
  }

  .bar-row-value {
    text-align: left;
  }

  .article-footer-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .footer-cols {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
