/* ============ DESIGN TOKENS ============ */
:root {
  --bg: #f1f4f9;
  --bg-alt: #e2e8f2;
  --paper: #fafbfd;
  --ink: #0a1430;
  --ink-soft: #2b3a5a;
  --ink-muted: #6a7898;
  --line: #d2dbe8;
  --line-soft: #e4eaf2;

  --brand: #1746e0;
  --brand-deep: #0a1f7a;
  --brand-2: #3d6bff;
  --brand-soft: #c9d6ff;
  --brand-tint: #e8eeff;
  --accent: #ff7a45;
  --accent-soft: #ffd9c8;
  --mint: #a9d9c4;
  --sky: #b8d3e6;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20,37,46,0.04), 0 2px 8px rgba(20,37,46,0.04);
  --shadow-md: 0 4px 12px rgba(20,37,46,0.06), 0 16px 48px rgba(20,37,46,0.08);
  --shadow-lg: 0 8px 24px rgba(20,37,46,0.08), 0 32px 80px rgba(20,37,46,0.12);

  --font-display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --font-text: 'Onest', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ============ DISPLAY TYPE ============ */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.h-xl { font-size: clamp(48px, 8.5vw, 132px); }
.h-lg { font-size: clamp(36px, 5vw, 72px); }
.h-md { font-size: clamp(28px, 3.4vw, 48px); }
.h-sm { font-size: clamp(22px, 2vw, 30px); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: currentColor;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 20px;
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  max-width: calc(100% - 32px);
  position: relative;
  z-index: 1;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav a:hover {
  background: rgba(20,37,46,0.06);
  color: var(--ink);
}
.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 10px 18px !important;
  font-weight: 500;
}
.nav-cta:hover { background: var(--brand) !important; color: white !important; }

.header-mobile { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-mobile { display: flex; align-items: center; gap: 6px; }
  .header-inner > .nav-cta { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.hero h1 .accent-word {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero h1 .accent-word::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 6px;
  background: var(--accent-soft);
  border-radius: 4px;
  z-index: -1;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-meta p {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--brand); }
.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover { background: #e8552a; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--ink-soft); }
.btn-icon {
  width: 18px; height: 18px;
  transition: transform 0.2s;
}
.btn:hover .btn-icon { transform: translateX(3px); }

.hero-stats {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
@media (max-width: 720px) {
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand);
}
.stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/* Floating glyphs in hero */
.hero-orbit {
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  pointer-events: none;
  opacity: 0.25;
}
.glyph {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.glyph-1 { width: 280px; height: 280px; background: var(--brand-soft); top: 6%; right: 8%; }
.glyph-2 { width: 200px; height: 200px; background: var(--accent-soft); top: 50%; right: -10%; }
.glyph-3 { width: 180px; height: 180px; background: var(--sky); bottom: 8%; right: 35%; }

/* ============ TICKER ============ */
.ticker {
  background: var(--ink);
  color: var(--bg);
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 50s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 48px;
}
.ticker-item::after {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTION ============ */
section {
  padding: 100px 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: end;
}
@media (max-width: 920px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}
.section-head h2 {
  margin-top: 16px;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 460px;
}

/* ============ SERVICES ============ */
.services {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 920px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service {
  background: var(--paper);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
  overflow: hidden;
}
.service:hover {
  background: var(--bg);
}
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  color: var(--brand);
  margin-top: auto;
  transition: all 0.3s;
}
.service:hover .service-icon {
  background: var(--brand);
  color: var(--paper);
  transform: rotate(-6deg);
}
.service h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 12px;
}
.service p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.service-arrow {
  position: absolute;
  top: 32px; right: 32px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  transition: all 0.3s;
}
.service:hover .service-arrow {
  background: var(--accent);
  color: white;
  transform: rotate(-45deg);
}

/* ============ FORMS OF SERVICE ============ */
.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) { .forms-grid { grid-template-columns: 1fr; } }
.form-card {
  background: var(--brand);
  color: var(--paper);
  padding: 48px 40px;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.form-card.alt { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.form-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 20px;
}
.form-card p { opacity: 0.85; font-size: 17px; line-height: 1.5; }
.form-card-foot { margin-top: auto; padding-top: 36px; display: flex; align-items: center; justify-content: space-between; }
.form-card-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.6;
}
.form-card.alt .form-card-num { color: var(--accent); opacity: 1; }
.form-decor {
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,107,61,0.15);
  top: -80px; right: -60px;
  filter: blur(20px);
}
.form-card.alt .form-decor { background: rgba(168,217,196,0.4); }

/* ============ IPPSU ============ */
.ippsu {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-xl);
  padding: 72px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) { .ippsu { padding: 40px 28px; border-radius: var(--r-lg); } }
.ippsu-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}
@media (max-width: 920px) { .ippsu-grid { grid-template-columns: 1fr; gap: 36px; } }
.ippsu h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.ippsu .accent-word {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.ippsu-eyebrow { color: rgba(245,241,234,0.6) !important; margin-bottom: 24px; }
.ippsu-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ippsu-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.ippsu-tab {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  background: rgba(245,241,234,0.08);
  color: var(--bg);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.ippsu-tab.active {
  background: var(--accent);
  border-color: var(--accent);
}
.ippsu-step {
  display: flex;
  gap: 18px;
  padding: 20px;
  border-radius: var(--r-md);
  background: rgba(245,241,234,0.04);
  transition: all 0.2s;
}
.ippsu-step:hover { background: rgba(245,241,234,0.08); }
.ippsu-step-num {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
}
.ippsu-step p { font-size: 15px; color: rgba(245,241,234,0.85); line-height: 1.45; }
.ippsu-step p strong { color: var(--bg); font-weight: 600; }
.ippsu-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,107,61,0.25), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(26,92,110,0.4), transparent 50%);
  z-index: 1;
}

/* ============ HELP ============ */
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
@media (max-width: 920px) { .help-grid { grid-template-columns: 1fr; } }
.help-card {
  padding: 36px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  position: relative;
  transition: all 0.3s;
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.help-card.featured {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.help-card.featured:hover { background: #e8552a; }
.help-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--brand);
}
.help-card.featured .help-num { color: white; }
.help-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.help-card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: auto;
}
.help-card.featured p { color: rgba(255,255,255,0.9); }
.help-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}
.help-link svg { transition: transform 0.2s; }
.help-card:hover .help-link svg { transform: translate(3px, -3px); }

/* ============ FAQ ============ */
.faq {
  background: var(--bg-alt);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: var(--paper);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: all 0.2s;
}
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq-toggle {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: all 0.3s;
}
.faq-item.open .faq-toggle { background: var(--accent); color: white; transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a {
  max-height: 2000px;
  padding: 0 28px 28px;
}
.faq-a-inner {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.faq-a-inner strong { color: var(--ink); display: block; margin-top: 16px; margin-bottom: 8px; font-family: var(--font-display); font-size: 16px; }
.faq-a-inner ol { margin-left: 20px; }
.faq-a-inner li { margin-bottom: 6px; }

/* ============ CONTACT ============ */
.contact {
  padding: 120px 0;
}
/* ============ QR INDEPENDENT ASSESSMENT ============ */

/* ============ FREE HERO (prices page) ============ */
.free-hero {
  background: var(--ink);
  color: white;
  border-radius: var(--r-xl);
  padding: 72px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 720px) { .free-hero { padding: 40px 28px; border-radius: var(--r-lg); } }
.free-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,122,69,0.25), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(23,70,224,0.4), transparent 50%);
  z-index: -1;
}
.free-hero-content { position: relative; z-index: 1; }

/* ============ STEPS GRID ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 920px) { .steps-grid { grid-template-columns: 1fr; } }
.step-item {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all 0.2s;
}
.step-item:hover { border-color: var(--brand); }
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 16px;
}
.step-item h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.step-item p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.qr-section {
  padding: 60px 0 40px;
}
.qr-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 920px) {
  .qr-card { grid-template-columns: 1fr; gap: 40px; padding: 40px 28px; border-radius: var(--r-lg); }
}
.qr-content {
  display: flex;
  flex-direction: column;
}
.qr-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 22px;
  background: var(--brand-tint);
  color: var(--brand);
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-mono);
  transition: all 0.2s;
  align-self: flex-start;
  word-break: break-all;
}
.qr-link:hover { background: var(--brand); color: white; }
.qr-link svg { transition: transform 0.2s; }
.qr-link:hover svg { transform: translate(2px, -2px); }
.qr-image-wrap {
  display: block;
  background: white;
  padding: 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  max-width: 280px;
  justify-self: end;
  transition: all 0.2s;
}
@media (max-width: 920px) {
  .qr-image-wrap { justify-self: center; }
}
.qr-image-wrap:hover { border-color: var(--brand); transform: scale(1.02); }
.qr-image {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: pixelated;
}
.contact-card {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 72px;
  border: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 720px) { .contact-card { padding: 40px 28px; border-radius: var(--r-lg); } }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.contact .accent-word { color: var(--accent); font-style: italic; font-weight: 500; }
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-row {
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}
.contact-row:last-child { border: none; }
.contact-row-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.contact-row-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.contact-row-value.small { font-size: 18px; }
.contact-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.social-chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 32px;
}
.footer-ministries {
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245,241,234,0.12);
}
.footer-ministries-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.5);
  margin-bottom: 14px;
}
.footer-ministries-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-ministries-row a {
  font-size: 14px;
  color: rgba(245,241,234,0.85);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-ministries-row a:hover { color: var(--accent); }
.footer-ministries-row a::after {
  content: '↗';
  font-size: 11px;
  opacity: 0.5;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245,241,234,0.12);
}
@media (max-width: 920px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-brand .logo { color: var(--bg); }
.footer-brand .logo-mark { background: var(--accent); }
.footer-tag { font-size: 14px; color: rgba(245,241,234,0.6); max-width: 280px; line-height: 1.55; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.5);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(245,241,234,0.85); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bot {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(245,241,234,0.5);
}
.giant-logo { display: none; }

.footer { overflow: hidden; }

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,37,46,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  max-height: 90vh;
  overflow-y: auto;
}
@media (max-width: 600px) { .modal { padding: 32px 24px; } }
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--accent); color: white; transform: rotate(90deg); }
.modal h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.modal-sub { color: var(--ink-soft); margin-bottom: 28px; font-size: 15px; }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input, .field select, .field textarea {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 8px 0 20px;
}
.consent input { margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; }

/* ============ FLOATING CTA ============ */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: all 0.2s;
}
.float-btn:hover { transform: scale(1.08); background: var(--accent); }
.float-btn.whatsapp { background: #25D366; color: white; }
.float-btn.whatsapp:hover { background: #1da851; }

/* ============ MOBILE MENU ============ */
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
}
@media (max-width: 1080px) { .menu-btn { display: grid; } }
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 150;
  padding: 80px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: visibility 0s linear 0.4s, opacity 0.4s, transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: visibility 0s linear 0s, opacity 0.4s, transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--bg);
  padding: 12px 0;
  border-bottom: 1px solid rgba(245,241,234,0.1);
  letter-spacing: -0.02em;
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============ PAGE LAYOUT ============ */
.page {
  padding-top: 140px;
  padding-bottom: 60px;
  min-height: 60vh;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.crumb a { color: inherit; transition: color 0.2s; }
.crumb a:hover { color: var(--brand); }
.crumb-sep { color: var(--ink-muted); }
.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.page-title .accent-word {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.page-lede {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.5;
  margin-bottom: 60px;
}

/* ============ TABLE ============ */
.table-wrap {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.t-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 100px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  gap: 16px;
  font-size: 15px;
  transition: background 0.15s;
}
.t-row:last-child { border-bottom: none; }
.t-row:hover { background: var(--bg); }
.t-head {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.t-head:hover { background: var(--ink); }
.t-num { color: var(--ink-muted); font-family: var(--font-mono); font-size: 13px; }
.t-cat { color: var(--ink-muted); font-size: 13px; }
.t-role { font-weight: 500; }
.t-count {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--brand);
  text-align: right;
}
@media (max-width: 720px) {
  .t-row { grid-template-columns: 1fr 60px; gap: 4px 16px; padding: 16px 20px; }
  .t-row > :nth-child(1), .t-row > :nth-child(2) { display: none; }
  .t-head > :nth-child(3) { grid-column: 1; }
  .t-head > :nth-child(4) { grid-column: 2; }
}

/* Prices table — different layout */
.price-row {
  display: grid;
  grid-template-columns: 60px 1.6fr 1fr 1fr;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  gap: 16px;
  font-size: 16px;
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--bg); }
.price-row.head {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.price-row.head:hover { background: var(--ink); }
.price-num { color: var(--ink-muted); font-family: var(--font-mono); font-size: 13px; }
.price-name { font-weight: 500; }
.price-dur { color: var(--ink-muted); font-size: 14px; }
.price-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--brand);
  text-align: right;
}
@media (max-width: 720px) {
  .price-row { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 20px; }
  .price-row > :nth-child(1), .price-row > :nth-child(3) { display: none; }
  .price-row.head > :nth-child(2) { grid-column: 1; }
  .price-row.head > :nth-child(4) { grid-column: 2; }
}

/* ============ SERVICES DETAIL ============ */
.service-block {
  padding: 60px 0;
  border-top: 1px solid var(--line-soft);
}
.service-block:first-child { border-top: none; padding-top: 0; }
.service-block-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}
@media (max-width: 720px) { .service-block-head { grid-template-columns: 1fr; gap: 20px; } }
.service-block-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.service-block h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.service-block-intro {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 720px;
}
.service-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .service-items { grid-template-columns: 1fr; } }
.service-item {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: all 0.2s;
}
.service-item:hover { background: var(--bg); border-color: var(--line); }
.service-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--brand);
}
.service-item p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* ============ SERVICE NAV (TOC) ============ */
.svc-nav {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.svc-nav a {
  padding: 10px 14px;
  font-size: 14px;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  transition: all 0.2s;
  cursor: pointer;
}
.svc-nav a:hover { background: var(--bg); color: var(--ink); }
.svc-nav a.active { background: var(--brand); color: white; }
.svc-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 920px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .svc-nav a { padding: 8px 12px; font-size: 13px; }
}

/* ============ DOC LIST ============ */
.doc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 720px) { .doc-list { grid-template-columns: 1fr; } }
.doc-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: all 0.2s;
}
.doc-item:hover { border-color: var(--brand); background: var(--brand-tint); }
.doc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.doc-item:hover .doc-icon { background: var(--brand); color: white; }
.doc-title { font-size: 14px; font-weight: 500; flex: 1; line-height: 1.4; }
.doc-arrow { color: var(--ink-muted); transition: transform 0.2s; }
.doc-item:hover .doc-arrow { color: var(--brand); transform: translate(2px, -2px); }

/* ============ INFO GRID ============ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
@media (max-width: 720px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 28px 24px;
}
.info-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.info-card-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1.1;
}
.info-card-value.small { font-size: 18px; }
.info-card-sub { margin-top: 8px; font-size: 13px; color: var(--ink-muted); }
.info-card.dark { background: var(--ink); color: var(--bg); border: none; }
.info-card.dark .info-card-label { color: rgba(255,255,255,0.5); }
.info-card.dark .info-card-value { color: var(--accent); }

/* ============ TAG LIST ============ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.tag.solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tag.brand { background: var(--brand-tint); color: var(--brand); border-color: var(--brand-tint); }

/* ============ DONATE ============ */
.donate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 920px) { .donate-layout { grid-template-columns: 1fr; } }
.donate-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 36px;
}
.donate-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg);
  padding: 6px;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
  width: fit-content;
}
.donate-tab {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.donate-tab.active { background: var(--ink); color: var(--bg); }
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.donate-amount {
  padding: 18px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: white;
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--ink);
}
.donate-amount:hover { border-color: var(--brand); }
.donate-amount.active { border-color: var(--brand); background: var(--brand); color: white; }
.donate-amount.custom { font-size: 14px; font-family: var(--font-text); font-weight: 500; }
.donate-custom {
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  width: 100%;
  font-family: var(--font-display);
  font-size: 20px;
  background: white;
  outline: none;
  margin-bottom: 16px;
}
.donate-custom:focus { border-color: var(--brand); }
.donate-submit {
  width: 100%;
  justify-content: center;
}
.bank-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px 32px;
}
.bank-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--brand);
}
.bank-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13px;
}
.bank-row:last-child { border: none; }
.bank-row-label { color: var(--ink-muted); }
.bank-row-value { font-family: var(--font-mono); }
@media (max-width: 600px) { .bank-row { grid-template-columns: 1fr; gap: 2px; } }

/* ============ PHOTO GALLERY ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 920px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.photo-slot {
  aspect-ratio: 1;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(135deg, var(--paper) 0%, var(--bg-alt) 100%);
}
.photo-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, var(--brand-soft) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, var(--accent-soft) 0%, transparent 40%);
  opacity: 0.4;
}
.photo-slot span { position: relative; z-index: 1; }
.photo-slot.large { grid-column: span 2; grid-row: span 2; }
.photo-slot.wide { grid-column: span 2; }
@media (max-width: 600px) {
  .photo-slot.large, .photo-slot.wide { grid-column: span 2; grid-row: auto; }
}

/* ============ EQUIPMENT LIST ============ */
.eq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 720px) { .eq-grid { grid-template-columns: 1fr; } }
.eq-item {
  background: var(--paper);
  padding: 28px;
  transition: background 0.2s;
}
.eq-item:hover { background: var(--bg); }
.eq-item h5 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--brand);
}
.eq-item p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* ============ ROUTE TRANSITION ============ */
.page-enter {
  /* animation removed — relying on instant render */
}

/* ============ MAP PREVIEW (placeholder) ============ */
.map-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 380px;
  position: relative;
  background:
    linear-gradient(135deg, #e8eeff 0%, #dde6f7 100%);
  display: grid;
  place-items: center;
}

/* ============ SVEDENIYA HUB ============ */
.svedeniya-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 920px) { .svedeniya-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svedeniya-grid { grid-template-columns: 1fr; } }

.svedeniya-card {
  position: relative;
  display: block;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 28px 24px 56px;
  min-height: 200px;
  transition: all 0.2s;
  color: inherit;
}
.svedeniya-card:hover {
  border-color: var(--brand);
  background: var(--brand-tint);
  transform: translateY(-2px);
}
.svedeniya-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.svedeniya-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--brand);
}
.svedeniya-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.svedeniya-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.svedeniya-card:hover .svedeniya-arrow {
  background: var(--brand);
  color: white;
  transform: rotate(-45deg);
}

.svedeniya-sub-head {
  display: flex;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 12px;
}
.svedeniya-sub-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--brand-soft);
  line-height: 0.85;
}
.svedeniya-body {
  margin-top: 24px;
}

/* ============ SUB-PAGER ============ */
.sub-pager {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .sub-pager { grid-template-columns: 1fr; } }
.sub-pager-link {
  display: block;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  color: inherit;
  transition: all 0.2s;
}
.sub-pager-link:hover {
  background: var(--brand-tint);
  border-color: var(--brand);
}
.sub-pager-link.right { text-align: right; }
.sub-pager-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.sub-pager-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ============ LEADERSHIP ============ */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .leader-grid { grid-template-columns: 1fr; } }
.leader-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition: all 0.2s;
}
.leader-card:hover { box-shadow: var(--shadow-sm); border-color: var(--line); }
.leader-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.leader-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.leader-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.leader-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.leader-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.leader-contacts a:hover { color: var(--brand); }

/* ============ ACCESSIBILITY MODE ============ */
.a11y-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.a11y-btn:hover { background: rgba(20,37,46,0.06); color: var(--ink); }
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.a11y-btn:hover { background: rgba(20,37,46,0.06); color: var(--ink); }

.a11y-panel {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #ffffff;
  border-bottom: 2px solid #000;
  padding: 12px 20px;
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'Arial', sans-serif;
}
.a11y-on .a11y-panel { display: flex; }
.a11y-panel-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.a11y-panel-label {
  font-size: 13px;
  font-weight: 600;
  color: #000;
}
.a11y-panel button {
  padding: 8px 14px;
  font-size: 13px;
  border: 2px solid #000;
  background: white;
  cursor: pointer;
  font-family: inherit;
  color: #000;
  font-weight: 500;
}
.a11y-panel button:hover { background: #000; color: white; }
.a11y-panel button.on { background: #000; color: white; }
.a11y-panel-close {
  margin-left: auto;
  padding: 8px 16px !important;
  background: #000 !important;
  color: white !important;
}

/* Accessibility theme states */
html.a11y-on body {
  font-family: 'Arial', 'Verdana', sans-serif !important;
  padding-top: 0 !important;
}
html.a11y-on .a11y-zoom-wrap { padding-top: 64px; }
html.a11y-on .header { display: none !important; }
html.a11y-on .float-cta { display: none !important; }
html.a11y-on .hero-orbit,
html.a11y-on .form-decor,
html.a11y-on .ippsu-bg,
html.a11y-on .map-pin::before,
html.a11y-on .giant-logo,
html.a11y-on .ticker { display: none !important; }
html.a11y-on .display,
html.a11y-on .page-title,
html.a11y-on .hero h1,
html.a11y-on h1, html.a11y-on h2, html.a11y-on h3, html.a11y-on h4, html.a11y-on h5 {
  font-family: inherit !important;
  font-weight: bold !important;
  font-style: normal !important;
}
html.a11y-on .accent-word {
  color: inherit !important;
  font-style: normal !important;
}
html.a11y-on .accent-word::after { display: none !important; }
html.a11y-on .photo-slot { background: white !important; border: 1px solid !important; }
html.a11y-on .photo-slot::before { display: none !important; }

/* In a11y mode override all hardcoded white/light text and dark fills so they follow the scheme */
html.a11y-on .form-card,
html.a11y-on .form-card.alt,
html.a11y-on .ippsu,
html.a11y-on .help-card.featured,
html.a11y-on .contact-card,
html.a11y-on .footer,
html.a11y-on .footer *,
html.a11y-on .ticker,
html.a11y-on .modal,
html.a11y-on .nav-cta,
html.a11y-on .btn,
html.a11y-on .btn-primary,
html.a11y-on .btn-accent,
html.a11y-on .btn-ghost,
html.a11y-on .social-chip,
html.a11y-on .info-card,
html.a11y-on .info-card.dark,
html.a11y-on .info-card.dark *,
html.a11y-on .logo-mark,
html.a11y-on .stat-num,
html.a11y-on .page-title,
html.a11y-on .accent-word,
html.a11y-on .service-block-icon,
html.a11y-on .leader-avatar,
html.a11y-on .ippsu-step-num {
  background: var(--bg) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
html.a11y-on .footer { background: var(--bg) !important; }
html.a11y-on .footer-bot,
html.a11y-on .footer-tag,
html.a11y-on .footer-col h4,
html.a11y-on .footer-ministries-label,
html.a11y-on .footer-col a,
html.a11y-on .footer-ministries-row a { color: var(--ink) !important; }
html.a11y-on .btn-primary,
html.a11y-on .btn-accent,
html.a11y-on .nav-cta {
  border: 2px solid var(--ink) !important;
}
html.a11y-on .logo-mark,
html.a11y-on .leader-avatar,
html.a11y-on .service-block-icon,
html.a11y-on .ippsu-step-num,
html.a11y-on .doc-icon {
  background: var(--ink) !important;
  color: var(--bg) !important;
  border: 2px solid var(--ink) !important;
}
html.a11y-on a { color: var(--ink) !important; text-decoration: underline !important; }
html.a11y-on .form-decor,
html.a11y-on .glyph,
html.a11y-on .ippsu-bg { display: none !important; }
html.a11y-on .accent-word { color: var(--ink) !important; font-style: normal !important; text-decoration: underline !important; }

/* Font size scales — zoom only the content wrapper, not the a11y panel */
html.a11y-size-lg .a11y-zoom-wrap { zoom: 1.25; }
html.a11y-size-xl .a11y-zoom-wrap { zoom: 1.5; }

/* Color schemes */
html.a11y-scheme-bw {
  --bg: #ffffff;
  --bg-alt: #f0f0f0;
  --paper: #ffffff;
  --ink: #000000;
  --ink-soft: #000000;
  --ink-muted: #333333;
  --line: #000000;
  --line-soft: #888888;
  --brand: #000000;
  --brand-deep: #000000;
  --brand-2: #000000;
  --brand-soft: #cccccc;
  --brand-tint: #f0f0f0;
  --accent: #000000;
  --accent-soft: #cccccc;
}
html.a11y-scheme-by {
  --bg: #000000;
  --bg-alt: #1a1a1a;
  --paper: #000000;
  --ink: #ffeb3b;
  --ink-soft: #ffeb3b;
  --ink-muted: #ffd700;
  --line: #ffeb3b;
  --line-soft: #443300;
  --brand: #ffeb3b;
  --brand-deep: #ffeb3b;
  --brand-2: #ffeb3b;
  --brand-soft: #443300;
  --brand-tint: #1a1a00;
  --accent: #ffeb3b;
  --accent-soft: #443300;
}
html.a11y-scheme-bb {
  --bg: #c5e3f6;
  --bg-alt: #a8d3eb;
  --paper: #ffffff;
  --ink: #003366;
  --ink-soft: #003366;
  --ink-muted: #2c5078;
  --line: #5a8ab5;
  --line-soft: #a8d3eb;
  --brand: #003366;
  --brand-deep: #001a33;
  --brand-2: #003366;
  --brand-soft: #5a8ab5;
  --brand-tint: #d9eaf7;
  --accent: #003366;
  --accent-soft: #b5d6ed;
}

/* ============================================ */
/* ============ MOBILE ADAPTATIONS ============ */
/* ============================================ */
@media (max-width: 720px) {
  body { font-size: 16px; overflow-x: hidden; }
  html { overflow-x: hidden; }

  /* Ensure no large text causes horizontal scroll */
  h1, h2, h3, h4, .page-title, .hero h1, .display, .accent-word {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
  .accent-word { display: inline; max-width: 100%; }

  /* HEADER — compact pill, only essential controls */
  .header { top: 12px; }
  .header-inner {
    gap: 8px;
    padding: 8px 10px 8px 14px;
    border-radius: var(--r-pill);
  }
  .logo { font-size: 15px; gap: 8px; }
  .logo-mark { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
  .nav-cta { display: none !important; }
  .header-mobile { gap: 4px; }
  .menu-btn { width: 38px; height: 38px; }
  .a11y-btn { padding: 8px 10px !important; }
  .a11y-btn svg { width: 14px; height: 14px; }

  /* HERO */
  .hero { padding: 110px 0 56px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: clamp(28px, 8.5vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
  .hero-meta p { font-size: 16px; }
  .eyebrow { font-size: 11px; gap: 8px; }
  .eyebrow::before { width: 18px; }
  .hero-actions .btn { padding: 14px 20px; font-size: 15px; flex: 1; justify-content: center; }
  .hero-stats { margin-top: 56px; }
  .stat { padding: 20px 16px 20px 0; }
  .stat-num { font-size: 36px; }
  .stat-label { font-size: 12px; }
  .hero-orbit { opacity: 0.15; }

  /* TICKER */
  .ticker { padding: 12px 0; }
  .ticker-item { font-size: 22px; gap: 32px; }
  .ticker-track { gap: 32px; }

  /* SECTIONS */
  section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; gap: 16px; }
  .section-head p { font-size: 15px; }
  .h-lg { font-size: clamp(24px, 7vw, 36px) !important; }
  .h-md { font-size: clamp(22px, 5.5vw, 30px) !important; }
  /* Keep line breaks inside headings — they provide spacing between words */

  /* SERVICES grid */
  .service { padding: 24px 20px; min-height: 220px; gap: 12px; }
  .service h3 { font-size: 20px; }
  .service p { font-size: 13px; }
  .service-icon { width: 44px; height: 44px; border-radius: 12px; }
  .service-icon svg { width: 22px; height: 22px; }
  .service-arrow { top: 20px; right: 20px; width: 28px; height: 28px; }

  /* FORMS cards */
  .form-card { padding: 28px 22px; min-height: auto; }
  .form-card h3 { font-size: 28px; }
  .form-card p { font-size: 15px; }
  .form-card-foot { padding-top: 24px; }
  .form-card-num { font-size: 44px; }

  /* IPPSU block */
  .ippsu { padding: 28px 20px !important; border-radius: var(--r-lg) !important; }
  .ippsu h2 { font-size: 26px; line-height: 1.05; }
  .ippsu-grid { gap: 28px; }
  .ippsu-tabs { flex-direction: column; gap: 6px; }
  .ippsu-tab { width: 100%; padding: 10px 14px; text-align: left; font-size: 13px; }
  .ippsu-step { padding: 16px; gap: 12px; }
  .ippsu-step-num { width: 28px; height: 28px; font-size: 13px; }
  .ippsu-step p { font-size: 14px; }

  /* HELP */
  .help-card { padding: 28px 22px; min-height: 240px; }
  .help-num { font-size: 56px; }
  .help-card h3 { font-size: 20px; }
  .help-card p { font-size: 14px; }

  /* FAQ */
  .faq-q { padding: 18px 20px; font-size: 17px; gap: 14px; }
  .faq-toggle { width: 28px; height: 28px; }
  .faq-item.open .faq-a { padding: 0 20px 20px; }
  .faq-a-inner { font-size: 14px; }

  /* CONTACT card */
  .contact { padding: 60px 0; }
  .contact-card { padding: 28px 20px !important; border-radius: var(--r-lg) !important; }
  .contact h2 { font-size: clamp(28px, 8vw, 40px) !important; line-height: 1.05; }
  .contact-row-value { font-size: 18px; word-break: break-word; }
  .contact-row-value.small { font-size: 15px; word-break: break-word; }

  /* QR section */
  .qr-section { padding: 40px 0 24px; }
  .qr-card { padding: 24px 20px !important; gap: 24px; }
  .qr-image-wrap { padding: 14px; max-width: 200px; }
  .qr-link { font-size: 11px; padding: 10px 14px; word-break: break-all; }

  /* FOOTER */
  .footer { padding: 56px 0 24px; }
  .footer-top { padding-bottom: 36px; gap: 28px; }
  .footer-tag { font-size: 13px; }
  .footer-col a { font-size: 13px; }
  .footer-ministries { padding: 24px 0; }
  .footer-ministries-row { gap: 16px; }
  .footer-ministries-row a { font-size: 13px; }
  .footer-bot { padding-top: 24px; font-size: 11px; }

  /* PAGE LAYOUT */
  .page { padding-top: 100px; padding-bottom: 40px; }
  .page-title { font-size: clamp(26px, 7vw, 36px) !important; margin-bottom: 16px; line-height: 1.1; letter-spacing: -0.02em; }
  /* Keep line breaks inside page titles — they provide spacing between words */
  .page-lede { font-size: 16px; margin-bottom: 36px; }
  .crumb { font-size: 11px; margin-bottom: 20px; flex-wrap: wrap; }

  /* SERVICES DETAIL */
  .svc-layout { gap: 24px; }
  .svc-nav { padding: 12px; gap: 4px; max-height: 140px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .svc-nav a { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  .service-block { padding: 36px 0; }
  .service-block-head { gap: 16px; margin-bottom: 20px; }
  .service-block-icon { width: 56px; height: 56px; border-radius: 14px; }
  .service-block-icon svg { width: 26px; height: 26px; }
  .service-block h2 { font-size: 28px !important; }
  .service-block-intro { font-size: 15px; }
  .service-item { padding: 22px 20px; }
  .service-item h4 { font-size: 16px; }
  .service-item p { font-size: 13px; }

  /* TABLE / SPECIALISTS */
  .t-row { padding: 14px 18px; font-size: 14px; }
  .t-head { font-size: 10px; }
  .t-role { font-weight: 500; }
  .t-count { font-size: 18px; }

  /* INFO GRID — already responsive, but tighten */
  .info-card { padding: 22px 20px; }
  .info-card-value { font-size: 22px; }
  .info-card-value.small { font-size: 15px; }
  .info-card-sub { font-size: 12px; }

  /* DOC LIST */
  .doc-item { padding: 16px 18px; gap: 12px; }
  .doc-icon { width: 38px; height: 38px; font-size: 10px; }
  .doc-title { font-size: 13px; }

  /* SVEDENIYA */
  .svedeniya-card { padding: 22px 18px 48px; min-height: 180px; }
  .svedeniya-card h3 { font-size: 16px; }
  .svedeniya-card p { font-size: 12px; }
  .svedeniya-arrow { width: 28px; height: 28px; bottom: 16px; right: 16px; }
  .svedeniya-sub-head { gap: 16px; flex-direction: column; }
  .svedeniya-sub-num { font-size: 48px; }

  /* LEADERSHIP */
  .leader-card { padding: 28px 22px; }
  .leader-avatar { width: 52px; height: 52px; font-size: 20px; margin-bottom: 18px; }
  .leader-name { font-size: 19px; }

  /* FREE HERO (prices page) */
  .free-hero { padding: 32px 22px !important; border-radius: var(--r-lg) !important; }
  .free-hero h2 { font-size: clamp(48px, 14vw, 80px) !important; }

  /* STEPS */
  .step-item { padding: 24px 20px; }
  .step-num { font-size: 36px; margin-bottom: 12px; }
  .step-item h4 { font-size: 17px; }
  .step-item p { font-size: 13px; }

  /* BANK CARDS */
  .bank-card { padding: 22px 22px; }
  .bank-card h4 { font-size: 16px; margin-bottom: 12px; }
  .bank-row { padding: 6px 0; font-size: 12px; }

  /* DONATE */
  .donate-card { padding: 28px 22px; }
  .donate-tabs { width: 100%; }
  .donate-tab { flex: 1; text-align: center; padding: 10px 14px; font-size: 13px; }
  .donate-amounts { grid-template-columns: 1fr 1fr; gap: 6px; }
  .donate-amount { padding: 14px 12px; font-size: 17px; }

  /* TAGS */
  .tag { padding: 8px 14px; font-size: 13px; }

  /* SUB PAGER */
  .sub-pager { margin-top: 48px; padding-top: 24px; }
  .sub-pager-link { padding: 18px 20px; }
  .sub-pager-title { font-size: 15px; }

  /* MODAL */
  .modal { padding: 28px 22px; max-height: 88vh; }
  .modal h3 { font-size: 22px; }
  .modal-sub { font-size: 13px; margin-bottom: 20px; }
  .field { margin-bottom: 12px; }
  .field input, .field select, .field textarea { padding: 12px 16px; font-size: 15px; }

  /* MOBILE MENU */
  .mobile-menu { padding: 64px 22px 22px; }
  .mobile-menu a { font-size: 24px; padding: 10px 0; }
  .mobile-menu-close { top: 16px; right: 16px; width: 40px; height: 40px; }

  /* FLOAT CTA */
  .float-cta { bottom: 16px; right: 16px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; }

  /* MAP */
  .map-card { height: 280px; }
  .map-tip { font-size: 12px; padding: 10px 14px; top: 16px; left: 16px; max-width: 220px; }

  /* CONTACTS page two-column grid → stack */
  .contacts-grid { grid-template-columns: 1fr !important; gap: 24px; }

  /* MAP-CARD overrides for height */
  .map-card { height: 240px; }

  /* A11Y panel — vertical stacking */
  .a11y-panel { padding: 8px 12px; gap: 8px; font-size: 12px; }
  .a11y-panel-label { font-size: 11px; }
  .a11y-panel button { padding: 6px 10px; font-size: 11px; }
  .a11y-panel-close { padding: 6px 12px !important; font-size: 11px; }
  html.a11y-on .a11y-zoom-wrap { padding-top: 110px; }

  /* GALLERY */
  .gallery { gap: 8px; }

  /* EQ ITEMS */
  .eq-item { padding: 22px 20px; }
  .eq-item h5 { font-size: 15px; }
  .eq-item p { font-size: 13px; }

  /* BTN */
  .btn { padding: 14px 20px; font-size: 14px; }

  /* CONTACT SOCIALS */
  .social-chip { padding: 8px 14px; font-size: 13px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; line-height: 1.1; }
  .page-title { font-size: 24px !important; }
  .h-lg { font-size: 22px !important; }
  .h-md { font-size: 20px !important; }
  .stat-num { font-size: 26px; }
  .stat { padding: 16px 12px 16px 0; }
  .svedeniya-sub-num { font-size: 32px; }
  .form-card h3 { font-size: 20px; }
  .help-num { font-size: 40px; }
  .ippsu h2 { font-size: 22px; }
  .contact h2 { font-size: 24px !important; }
  .free-hero h2 { font-size: 56px !important; }
}
.map-pin {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(255,122,69,0.4);
  position: relative;
}
.map-pin::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(255,122,69,0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.map-tip {
  position: absolute;
  top: 24px;
  left: 24px;
  background: white;
  padding: 14px 20px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.4;
}
.map-tip strong { display: block; font-family: var(--font-display); font-weight: 500; margin-bottom: 4px; }
