/* =============================================================
   Klevr Technologies — Main Stylesheet
   Plain CSS, no framework dependencies
   ============================================================= */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Condensed:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --color-navy:       #023047;
  --color-teal:       #219EBC;
  --color-near-black: #0E0C19;
  --color-white:      #FFFFFF;
  --color-off-white:  #F4F7F9;
  --color-light-gray: #E8EDF2;
  --color-footer-dark:#222222;
  --color-text-muted: #4A5568;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  96px;
  --space-2xl: 128px;

  --font-heading: 'IBM Plex Sans Condensed', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --max-width:    1100px;
  --gutter:       32px;
  --nav-height:   72px;
  --radius-card:  8px;
  --transition:   all 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; height: auto; display: block; }
ul   { list-style: none; }
a    { color: var(--color-teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-navy); }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section          { padding: 80px 0; }
.section--alt     { background: var(--color-off-white); }
.section--navy    { background: var(--color-navy); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 600;
}

h2 { font-size: 36px; line-height: 1.2; }
h3 { font-size: 26px; line-height: 1.3; }
h4 { font-size: 18px; line-height: 1.4; }

.eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-teal);
  margin-bottom: var(--space-sm);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}
.section-header h2  { margin-bottom: 16px; }
.section-header p   { font-size: 17px; line-height: 1.7; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary            { background: var(--color-teal); color: var(--color-white); }
.btn-primary:hover      { background: var(--color-navy); color: var(--color-white); }

.btn-secondary          { background: transparent; color: var(--color-teal); border: 2px solid var(--color-teal); }
.btn-secondary:hover    { background: var(--color-teal); color: var(--color-white); }

.btn-white              { background: var(--color-white); color: var(--color-navy); }
.btn-white:hover        { background: var(--color-teal); color: var(--color-white); }

.btn-sm  { padding: 10px 20px; font-size: 13px; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray);
  height: var(--nav-height);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 36px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--color-teal);
  border-bottom-color: var(--color-teal);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--color-navy); transition: var(--transition); }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Page wrapper (push content below fixed nav) ──────────── */
.page-wrapper { padding-top: var(--nav-height); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--color-footer-dark);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #444;
}

.footer-logo img {
  height: 32px;
  margin-bottom: 16px;
}

.footer-tagline { color: #aaa; font-size: 14px; line-height: 1.6; max-width: 260px; }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-links       { display: flex; flex-direction: column; gap: 10px; }
.footer-links a     { color: #aaa; font-size: 14px; }
.footer-links a:hover { color: var(--color-teal); }

.footer-contact-item { margin-bottom: 12px; }
.footer-contact-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  margin-bottom: 2px;
}
.footer-contact-value { font-size: 14px; color: #aaa; }
.footer-contact-value a { color: #aaa; }
.footer-contact-value a:hover { color: var(--color-teal); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-text     { font-size: 13px; color: #999; }
.footer-bottom-text a   { color: #999; }
.footer-bottom-text a:hover { color: var(--color-teal); }

.footer-social { display: flex; gap: 10px; align-items: center; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 4px;
  background: #333;
  color: #aaa;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--color-teal); color: white; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ── CTA Section (shared across all pages) ────────────────── */
.cta-section {
  background: var(--color-navy);
  padding: 96px 0;
  text-align: center;
}
.cta-section .eyebrow { color: var(--color-teal); }
.cta-section h2       { color: var(--color-white); font-size: 36px; margin-bottom: 20px; }
.cta-section p {
  color: rgba(255,255,255,0.80);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.10); transform: translateY(-2px); }

.card-icon {
  width: 48px; height: 48px;
  background: rgba(33,158,188,0.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; fill: var(--color-teal); }
.card h3, .card h4 { margin-bottom: 12px; }

/* ── Stat Bars ────────────────────────────────────────────── */
.stat-bar {
  background: var(--color-off-white);
  border-left: 4px solid var(--color-teal);
  padding: 20px 24px;
  border-radius: 0 4px 4px 0;
}
.stat-bar .stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-bar .stat-label { font-size: 14px; color: var(--color-text-muted); }

/* ── Numbered Steps ───────────────────────────────────────── */
.step { padding: var(--space-md) 0; }
.step-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 8px;
}
.step h4 { font-size: 18px; margin-bottom: 8px; }

/* ── Hero (homepage) ──────────────────────────────────────── */
.hero {
  background: var(--color-navy);
  padding: 96px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 55% 43%;
  gap: var(--gutter);
  align-items: center;
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-teal);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--color-white);
}

.hero-body {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  line-height: 1.7;
  margin: 24px 0 32px;
}

.hero-trust {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-style: italic;
}

.hero-image img {
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.30);
  width: 100%;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--color-navy);
  padding: 64px 0;
  text-align: center;
}
.page-hero .eyebrow { color: var(--color-teal); }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-white);
  max-width: 720px;
  margin: 0 auto 20px;
}
.page-hero p {
  color: rgba(255,255,255,0.80);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a   { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--color-teal); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ── Social Proof Strip ───────────────────────────────────── */
.proof-strip {
  background: var(--color-off-white);
  padding: 28px 0;
  border-bottom: 1px solid var(--color-light-gray);
}
.proof-strip-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.proof-strip-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.proof-divider { width: 1px; height: 20px; background: var(--color-light-gray); }

.proof-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.proof-dot {
  width: 6px; height: 6px;
  background: var(--color-teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Problem Items ────────────────────────────────────────── */
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--color-off-white);
  border-radius: 6px;
  border-left: 4px solid #C62828;
}
.problem-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.problem-item h4 { font-size: 16px; margin-bottom: 4px; }
.problem-item p  { font-size: 14px; margin: 0; }

/* ── Service card top accent ──────────────────────────────── */
.card--accent-top { border-top: 4px solid var(--color-teal); }

/* ── Check list ───────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text-muted);
}
.check-item::before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23219EBC'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-category-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-light-gray);
}

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--color-light-gray); }
.faq-item:first-child { border-top: 1px solid var(--color-light-gray); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
  gap: 16px;
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--color-teal); }

.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-teal);
  line-height: 1;
  transition: var(--transition);
}
.faq-icon::after { content: '+'; }
.faq-item.open .faq-icon::after { content: '−'; }
.faq-item.open .faq-icon { border-color: var(--color-teal); background: rgba(33,158,188,0.08); }

.faq-answer {
  display: none;
  padding: 0 32px 20px 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 840px;
}
.faq-item.open .faq-answer { display: block; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 42px; height: 42px;
  background: rgba(33,158,188,0.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; fill: var(--color-teal); }
.contact-detail-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #888;
  margin-bottom: 2px;
}
.contact-detail-value { font-size: 15px; color: var(--color-navy); font-weight: 500; }
.contact-detail-value a { color: var(--color-navy); }
.contact-detail-value a:hover { color: var(--color-teal); }

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-form h3 { margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-light-gray);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-near-black);
  background: var(--color-white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(33,158,188,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note { font-size: 13px; color: var(--color-text-muted); margin-top: 12px; }

.form-success {
  display: none;
  background: rgba(33,158,188,0.08);
  border: 1px solid var(--color-teal);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  color: var(--color-navy);
  font-weight: 500;
  margin-top: 20px;
}

/* ── Booking ──────────────────────────────────────────────── */
.booking-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}

.expect-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.expect-item { display: flex; gap: 16px; align-items: flex-start; }
.expect-num {
  width: 32px; height: 32px;
  background: var(--color-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.expect-item h4 { font-size: 15px; margin-bottom: 4px; }
.expect-item p  { font-size: 14px; margin: 0; }

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--color-off-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-light-gray);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-navy);
  font-weight: 500;
}
.trust-badge svg { width: 18px; height: 18px; fill: var(--color-teal); flex-shrink: 0; }

/* ── About ────────────────────────────────────────────────── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-intro-grid img {
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  width: 100%;
}

.value-card { text-align: center; }
.value-card .card-icon { margin: 0 auto 20px; }

/* ── Highlight Banner ─────────────────────────────────────── */
.highlight-banner {
  background: var(--color-navy);
  color: white;
  border-radius: var(--radius-card);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 48px 0;
}
.highlight-banner svg { width: 40px; height: 40px; fill: var(--color-teal); flex-shrink: 0; }
.highlight-banner h4  { color: white; margin-bottom: 6px; }
.highlight-banner p   { color: rgba(255,255,255,0.75); font-size: 15px; margin: 0; }

/* ── Utilities ────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-teal    { color: var(--color-teal); }
.text-navy    { color: var(--color-navy); }
.text-white   { color: var(--color-white); }
.text-muted   { color: var(--color-text-muted); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.divider { height: 1px; background: var(--color-light-gray); margin: 48px 0; }
.gap-sm { gap: var(--space-sm); }

/* ── Responsive: Tablet (≤ 768px) ────────────────────────── */
@media (max-width: 768px) {
  .section   { padding: 48px 0; }
  .hero      { padding: 60px 0 48px; }
  .cta-section { padding: 64px 0; }

  .hero-grid         { grid-template-columns: 1fr; }
  .hero-image        { display: none; }
  .hero-title        { font-size: 34px; }
  h2                 { font-size: 28px; }
  h3                 { font-size: 22px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .booking-grid  { grid-template-columns: 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }

  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-light-gray);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px var(--gutter) 24px;
    gap: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  .nav-menu.open { display: flex; }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-light-gray);
    border-left: none;
  }
  .nav-hamburger { display: flex; }
  .nav-cta { margin-top: 16px; }

  .cta-section h2 { font-size: 28px; }
  .page-hero h1   { font-size: 30px; }
  .contact-form   { padding: 24px; }
  .highlight-banner { flex-direction: column; text-align: center; }

  .proof-strip-inner { gap: 18px; }
  .proof-divider     { display: none; }
}

/* ── Responsive: Mobile (≤ 480px) ────────────────────────── */
@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .hero-title { font-size: 28px; }
  h2  { font-size: 24px; }
  .btn { padding: 12px 22px; font-size: 13px; }
  .cta-section h2 { font-size: 22px; }
  .stat-bar .stat-number { font-size: 28px; }
  .step-number { font-size: 36px; }
}

/* ── Hide reCAPTCHA floating badge (disclosure text shown inline in forms) ── */
.grecaptcha-badge { visibility: hidden !important; }

/* =============================================================
   Legal Pages (privacy-policy.html, terms-and-conditions.html)
   ============================================================= */

/* ── Legal page hero (navy, centered, no image) ───────────── */
.legal-hero {
  background: var(--color-navy);
  padding: 72px 0;
  text-align: center;
}
.legal-hero h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}
.legal-hero .legal-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* ── Legal content body ───────────────────────────────────── */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

/* Scoped typography — only inside .legal-content */
.legal-content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 40px;
  margin-bottom: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-light-gray);
  /* Reset global h2 sizing for this scope */
  line-height: 1.3;
}

.legal-content h2 + p,
.legal-content h2 + h3,
.legal-content h2 + ul,
.legal-content h2 + ol {
  margin-top: 16px;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 28px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.legal-content ul,
.legal-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
}

.legal-content ul { list-style-type: disc; }
.legal-content ol { list-style-type: decimal; }

.legal-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.legal-content ul li::marker { color: var(--color-teal); }
.legal-content ol li::marker { color: var(--color-teal); font-weight: 600; }

.legal-content a {
  color: var(--color-teal);
  text-decoration: none;
}
.legal-content a:hover {
  text-decoration: underline;
  color: var(--color-navy);
}

.legal-content strong {
  font-weight: 600;
  color: var(--color-navy);
}

/* Table of contents box */
.legal-toc {
  background: var(--color-off-white);
  border: 1px solid var(--color-light-gray);
  border-left: 4px solid var(--color-teal);
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
  margin: 32px 0 8px;
}
.legal-toc-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.legal-toc ol {
  margin-bottom: 0;
  padding-left: 18px;
}
.legal-toc li {
  font-size: 14px;
  margin-bottom: 6px;
}
.legal-toc a {
  color: var(--color-navy);
  font-weight: 500;
}
.legal-toc a:hover {
  color: var(--color-teal);
  text-decoration: underline;
}

/* Responsive: legal pages */
@media (max-width: 768px) {
  .legal-hero { padding: 48px 0; }
  .legal-hero h1 { font-size: 32px; }
  .legal-content { padding: 40px 20px 56px; }
  .legal-content h2 { font-size: 19px; }
  .legal-content h3 { font-size: 16px; }
}

@media (max-width: 480px) {
  .legal-hero h1 { font-size: 26px; }
  .legal-content { padding: 32px 16px 48px; }
}
