:root {
  color-scheme: light;
  --eh-blue: #1268c9;
  --eh-cyan: #23c2d6;
  --eh-navy: #0a2e5c;
  --eh-orange: #f59a1e;
  --eh-yellow: #ffd21e;
  --eh-ink: #13202b;
  --eh-slate: #5a6470;
  --eh-border: #d5e3f0;
  --eh-mist: #eaf4fb;
  --eh-surface: #f4f7fa;
  --white: #ffffff;
  --success: #2ba84a;
  --shadow: 0 14px 36px rgba(10, 46, 92, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--eh-ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: var(--eh-blue);
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--eh-navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--eh-border);
  background: rgba(255, 255, 255, 0.97);
}

.nav-shell,
.section-shell,
.footer-shell,
.breadcrumb {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 150px;
  height: auto;
}

.main-nav,
.nav-actions,
.button-row,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a,
.footer-links a {
  color: var(--eh-ink);
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--eh-blue);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--white);
  background: var(--eh-blue);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #0b4fa0;
}

.button.secondary {
  color: var(--eh-navy);
  border-color: var(--eh-navy);
  background: var(--white);
}

.button.accent {
  color: var(--eh-navy);
  background: var(--eh-yellow);
}

.hero {
  position: relative;
  min-height: min(680px, calc(100vh - 72px));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: url("/assets/ehuru-social-banner.png") 70% center / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  content: "";
  background: var(--eh-navy);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 96px;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--eh-yellow);
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--eh-navy);
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5.2vw, 4.5rem);
}

.hero h1 {
  color: var(--white);
}

.hero .lead {
  max-width: 590px;
  margin: 0 0 30px;
  color: #edf7ff;
  font-size: 1.18rem;
}

.trust-strip {
  background: var(--eh-navy);
}

.trust-list {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 24px;
  color: var(--white);
  font-weight: 700;
}

.trust-list span::before {
  margin-right: 9px;
  color: var(--eh-cyan);
  content: "✓";
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--eh-surface);
}

.section-intro {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-intro p,
.prose p,
.card p,
.availability-note {
  color: var(--eh-slate);
}

.service-grid,
.location-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--eh-border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(10, 46, 92, 0.06);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.card a {
  font-weight: 750;
}

.service-mark {
  width: 40px;
  height: 5px;
  margin-bottom: 18px;
  border-radius: 3px;
  background: var(--eh-orange);
}

.step-number {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--eh-blue);
  font-weight: 800;
}

.provider-band {
  color: var(--white);
  background: var(--eh-navy);
}

.provider-band h2 {
  color: var(--white);
}

.provider-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.provider-layout p {
  max-width: 680px;
  color: #dceeff;
}

.breadcrumb {
  padding-top: 28px;
  color: var(--eh-slate);
  font-size: 0.94rem;
}

.breadcrumb a {
  color: var(--eh-blue);
  text-decoration: none;
}

.page-hero {
  padding: 54px 0 66px;
  border-bottom: 1px solid var(--eh-border);
  background: var(--eh-mist);
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--eh-slate);
  font-size: 1.14rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.8fr);
  gap: 46px;
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 38px;
}

.prose li {
  margin-bottom: 8px;
}

.side-panel {
  align-self: start;
  padding: 24px;
  border-top: 5px solid var(--eh-cyan);
  background: var(--eh-surface);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--eh-border);
  border-radius: 6px;
  background: var(--white);
}

.faq-list summary {
  color: var(--eh-navy);
  font-weight: 750;
  cursor: pointer;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--eh-slate);
}

.site-footer {
  padding: 48px 0 28px;
  color: #dceeff;
  background: #071f3e;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.site-footer .brand img {
  filter: brightness(0) invert(1);
}

.site-footer a {
  color: var(--white);
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.copyright {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b8cce2;
  font-size: 0.9rem;
}

.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero::before {
    width: 100%;
    background: rgba(10, 46, 92, 0.9);
  }

  .service-grid,
  .location-grid,
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-list {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0;
  }

  .content-layout,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .section-shell,
  .footer-shell,
  .breadcrumb,
  .hero-content,
  .trust-list,
  .copyright {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 64px;
    gap: 10px;
  }

  .brand img {
    width: 108px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .button {
    min-height: 40px;
    padding-inline: 10px;
  }

  .button {
    padding-inline: 14px;
  }

  .hero {
    min-height: calc(100vh - 64px);
  }

  .hero-content {
    padding: 56px 0 74px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .button-row,
  .provider-layout {
    align-items: stretch;
    flex-direction: column;
  }

  .service-grid,
  .location-grid,
  .step-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
