:root {
  --primary: #0B2A4A;
  --primary-deep: #081E37;
  --primary-soft: #14365F;
  --accent: #3C7DC4;
  --accent-light: #5B8FBF;
  --accent-pale: #E9F0F8;
  --bg: #FFFFFF;
  --surface: #F5F7FA;
  --surface-2: #ECEFF4;
  --border: #DDE3EB;
  --text: #14202F;
  --text-muted: #4A5868;
  --text-faint: #8995A4;
  --success: #2E7D32;

  --container: 1200px;
  --container-narrow: 920px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(11, 42, 74, 0.06);
  --shadow: 0 4px 18px rgba(11, 42, 74, 0.08);
  --shadow-lg: 0 14px 40px rgba(11, 42, 74, 0.12);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--primary);
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.015em; text-wrap: balance; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 var(--space-4); color: var(--text); }
.lede { font-size: 1.18rem; color: var(--text-muted); line-height: 1.55; }

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--primary); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.86); }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.section-dark .eyebrow { color: var(--accent-light); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--primary); background: var(--surface); color: var(--primary); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-light {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-light:hover { background: var(--accent-pale); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.logo-mark { color: var(--accent); flex-shrink: 0; }
.logo-text-sub { color: var(--accent); font-weight: 600; }

/* Image-based logo */
.logo.logo-img { gap: 0; }
.logo-img-file {
  display: block;
  height: 64px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}
.logo-img-file-footer {
  height: 56px;
  max-width: 260px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
@media (max-width: 640px) {
  .logo-img-file { height: 44px; max-width: 200px; }
  .logo-img-file-footer { height: 48px; max-width: 200px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-link:hover { background: var(--surface); color: var(--primary); }
.nav-link[aria-current="page"] { color: var(--accent); }
.nav-caret { width: 12px; height: 12px; stroke: currentColor; }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all .15s ease;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  border-radius: 6px;
  font-size: 0.94rem;
  line-height: 1.35;
}
.dropdown a small { display: block; color: var(--text-muted); font-size: 0.82rem; margin-top: 2px; }
.dropdown a:hover { background: var(--surface); color: var(--primary); }
.dropdown-wide { min-width: 560px; }
.dropdown-wide .dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.dropdown-wide .dropdown-all {
  margin-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.header-cta { margin-left: auto; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  color: var(--primary);
}

@media (max-width: 1000px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.open ~ .header-inner .menu-toggle,
  .mobile-nav.open { display: block; }
}

.mobile-nav {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.mobile-nav details summary {
  padding: 10px 0;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.mobile-nav details[open] summary { color: var(--accent); }
.mobile-nav details a { padding-left: 14px; font-weight: 400; font-size: 0.95rem; }
.mobile-nav .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 55%, var(--primary-soft) 100%);
  color: #fff;
  overflow: hidden;
  padding: 110px 0 100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,0.6) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 143, 191, 0.22), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); text-wrap: balance; max-width: 16ch; }
.hero .lede { color: rgba(255,255,255,0.86); font-size: 1.18rem; max-width: 600px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .hero { padding: 70px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
}

/* Hero (compact, for inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  color: #fff;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 80% 0%, rgba(0,0,0,0.5), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero .lede { color: rgba(255,255,255,0.86); max-width: 720px; }
.page-hero .container { position: relative; }
.crumbs {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.crumbs a { color: rgba(255,255,255,0.85); }
.crumbs a:hover { color: #fff; }

/* Standards bar */
.standards-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.standards-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: center;
}
.standards-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.standard-pill {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
}

/* ===== Cards ===== */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cards-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent-light); }
.card .icon {
  width: 44px;
  height: 44px;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card .more {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.92rem;
}
.card .more::after { content: ' →'; transition: transform .15s ease; display: inline-block; }
.card:hover .more::after { transform: translateX(3px); }

/* Link list card */
.linkcard {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .2s ease;
  color: inherit;
}
.linkcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent-light); color: inherit; }
.linkcard h3 { color: var(--primary); margin-bottom: 8px; }
.linkcard p { color: var(--text-muted); margin: 0; font-size: 0.96rem; }
.linkcard .arrow { color: var(--accent); font-weight: 600; margin-top: 16px; font-size: 0.9rem; }

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent-light));
  opacity: 0.3;
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  text-align: left;
}
.timeline-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.timeline-step h3 { margin-bottom: 8px; }
.timeline-step p { color: var(--text-muted); font-size: 0.96rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
}

/* KPI row */
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.section-dark .kpi { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.kpi-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.section-dark .kpi-num { color: var(--accent-light); }
.kpi-label { color: var(--text-muted); font-size: 0.95rem; }
.section-dark .kpi-label { color: rgba(255,255,255,0.75); }
@media (max-width: 700px) { .kpis { grid-template-columns: 1fr; } }

/* CTA block */
.cta-block {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4), transparent 70%);
}
.cta-block > * { position: relative; }
.cta-block h2 { color: #fff; margin-bottom: 12px; }
.cta-block p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.1rem; }
.cta-block .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 700px) { .cta-block { padding: 40px 24px; } }

/* Two column content */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

.aside-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.aside-card h3 { color: var(--primary); margin-bottom: 12px; }
.aside-card ul { margin: 0; padding-left: 20px; }
.aside-card li { margin-bottom: 8px; color: var(--text); font-size: 0.96rem; }

/* Bullet checklist */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.55;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background: var(--accent-pale);
  border-radius: 50%;
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 12px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Quote */
.quote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 28px;
  font-size: 1.18rem;
  color: var(--primary);
  font-style: normal;
  line-height: 1.5;
  margin: 0;
}
.quote-author {
  display: block;
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: normal;
}

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 16px 0 0; color: var(--text-muted); }

/* Tag */
.tag {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-neutral { background: var(--surface); color: var(--text-muted); }

/* Article card */
.article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all .2s ease;
  color: inherit;
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent-light); color: inherit; }
.article-card .date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.article-card h3 { color: var(--primary); margin-bottom: 10px; }
.article-card p { color: var(--text-muted); margin: 0; font-size: 0.96rem; flex: 1; }
.article-card .more { margin-top: 18px; font-weight: 600; color: var(--accent); font-size: 0.9rem; }

/* Article body */
.article-body { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.article-body h2 { margin-top: 48px; }
.article-body h3 { margin-top: 28px; }
.article-body p, .article-body li { color: var(--text); }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 0 0 0 24px;
  margin: 24px 0;
  color: var(--primary);
  font-size: 1.1rem;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(60, 125, 196, 0.15);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field .hint { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.checkbox-row input { margin-top: 4px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.toast-error { background: #b91c1c; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 560px;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 90;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.cookie-banner h4 { font-size: 1rem; margin-bottom: 6px; }
.cookie-banner .cookie-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 16px; font-size: 0.9rem; }

/* Footer */
.footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 24px;
  font-size: 0.94rem;
}
.footer a { color: rgba(255,255,255,0.78); }
.footer a:hover { color: #fff; }
.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-text-sub { color: var(--accent-light); }
.footer-brand p { color: rgba(255,255,255,0.65); margin-top: 16px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.social {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.78);
  margin-top: 14px;
}
.social:hover { background: rgba(255,255,255,0.08); color: #fff; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition: none !important; }
}

/* Utility */
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* Case study card */
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
}
.case-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.case-card h3 { margin-bottom: 16px; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; margin-top: 20px; }
.case-grid h4 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.case-grid p { font-size: 0.96rem; margin: 0; color: var(--text); }
@media (max-width: 800px) { .case-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Method grid */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.method {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.method h4 { color: var(--primary); margin-bottom: 8px; }
.method p { font-size: 0.94rem; color: var(--text-muted); margin: 0; }
@media (max-width: 800px) { .method-grid { grid-template-columns: 1fr; } }

.disclaimer-box {
  background: #FFF8E6;
  border: 1px solid #F0D88A;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
  color: #6B4F00;
  font-size: 0.94rem;
}

/* ===== Language Switcher ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  user-select: none;
}
.lang-switch-header {
  margin-left: auto;
  margin-right: 8px;
  color: var(--primary);
}
.lang-switch-header .lang-current {
  color: var(--primary);
  font-weight: 700;
}
.lang-switch-header .lang-sep {
  color: var(--text-muted);
  opacity: 0.5;
}
.lang-switch-header .lang-link {
  color: var(--accent);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background .15s ease;
}
.lang-switch-header .lang-link:hover {
  background: var(--surface);
  text-decoration: none;
}

/* Footer variant */
.lang-switch-footer .lang-current {
  color: #fff;
  font-weight: 700;
}
.lang-switch-footer .lang-sep {
  color: rgba(255,255,255,0.35);
}
.lang-switch-footer .lang-link {
  color: var(--accent-light, #5B8FBF);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 3px;
}
.lang-switch-footer .lang-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-bottom-right .footer-sep {
  color: rgba(255,255,255,0.3);
}

/* On narrow viewports the header lang-switch sits inline before CTA; hide on mobile (mobile nav has its own) */
@media (max-width: 1000px) {
  .lang-switch-header {
    margin-left: auto;
  }
}
@media (max-width: 640px) {
  .lang-switch-header {
    display: none;
  }
}

/* ============ Profile photo (home + about) ============ */
.profile-row {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 48px;
  align-items: start;
}
.profile-media {
  display: block;
}
.profile-photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(11, 42, 74, 0.15);
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
}
.profile-photo-home {
  max-width: 380px;
}
.profile-photo-about {
  max-width: 480px;
}
.profile-row .mt-0 {
  margin-top: 0;
}

@media (max-width: 760px) {
  .profile-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .profile-media {
    max-width: 320px;
    margin: 0 auto;
  }
}
