/* ==========================================================================
   Mutheki Sacco — main stylesheet
   Mobile-first. No gradients, no shadows. Depth via spacing, borders,
   colour blocks and type scale.
   ========================================================================== */

:root {
  /* Brand palette */
  --blue:      #0E89C9;  /* brand primary — fills, icons, large headings */
  --blue-d:    #0B6FA4;  /* links, buttons — AA on white (~6.1:1) */
  --blue-dd:   #084F74;  /* dark colour blocks, footer */
  --blue-t:    #E8F5FB;  /* tint blocks */
  --green:     #64B745;  /* brand accent — highlights, the arch mark */
  --green-d:   #3F7E2A;  /* green text on white — AA (~5.5:1) */
  --green-t:   #EFF8EA;  /* green tint blocks */
  --ink:       #182830;  /* body text */
  --muted:     #4E616B;  /* secondary text — AA on white (~5.7:1) */
  --line:      #D8E4EA;  /* borders */
  --paper:     #FFFFFF;
  --wash:      #F6FAFC;  /* light section background */
  --err:       #B3261E;  /* form errors (functional, not brand) */

  /* Image-slot aspect ratios — adjust here when real assets arrive */
  --ar-hero:   3 / 2;
  --ar-gal:    4 / 3;
  --ar-doc:    3 / 4;
  --ar-portrait: 1 / 1;
  --ar-og:     1200 / 630;

  --wrap:      70rem;    /* capped content width */
  --radius:    0.5rem;
  --tap:       2.75rem;  /* 44px touch target */
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: var(--blue-d); }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- type ---------- */
h1 { font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.35rem, 3.5vw, 1.9rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.075rem; font-weight: 600; line-height: 1.35; }
.lede { font-size: clamp(1.05rem, 2.5vw, 1.25rem); color: var(--muted); max-width: 38rem; }
.prose p { margin-bottom: 1rem; max-width: 65ch; }
.prose h2 { margin: 1.75rem 0 0.5rem; }
.prose h2:first-child { margin-top: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.narrow { max-width: 44rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem;
  border-radius: var(--radius); transition: top 0.15s;
}
.skip:focus { top: 1rem; color: #fff; }

/* ---------- signature mark ---------- */
.mark { width: 2.75rem; height: 2.75rem; }
.eyebrow {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green-d);
  margin-bottom: 0.75rem;
}
.eyebrow__mark { width: 1.4rem; height: 1.4rem; }
.eyebrow--light { color: var(--green); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); }
.brand__logo { height: 2.4rem; width: auto; }

.nav__toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: var(--tap); padding: 0 0.9rem;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius); color: var(--ink); font-weight: 600;
  cursor: pointer;
}
.nav__burger { position: relative; width: 1.1rem; height: 2px; background: var(--ink); }
.nav__burger::before, .nav__burger::after {
  content: ""; position: absolute; left: 0; width: 1.1rem; height: 2px; background: var(--ink);
}
.nav__burger::before { top: -6px; }
.nav__burger::after { top: 6px; }

.nav__list {
  display: none; flex-direction: column; gap: 0.15rem;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 0.75rem clamp(1rem, 4vw, 2rem) 1.25rem;
}
.nav__list.open { display: flex; }
.nav__list a {
  display: block; padding: 0.7rem 0.75rem; min-height: var(--tap);
  color: var(--ink); text-decoration: none; font-weight: 600;
  border-radius: var(--radius);
}
.nav__list a:hover { background: var(--blue-t); }
.nav__list a[aria-current="page"] { color: var(--blue-d); }
.nav__list a[aria-current="page"]::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.5rem; background: var(--green); border-radius: 50%; }
.nav__more a { color: var(--muted); font-weight: 500; }
.nav__more { border-top: 1px solid var(--line); margin-top: 0.5rem; padding-top: 0.5rem; }
.nav__cta { margin-top: 0.5rem; }
.nav__cta .btn { width: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 0.6rem 1.35rem;
  border-radius: var(--radius); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn--solid { background: var(--blue-d); color: #fff; }
.btn--solid:hover { background: var(--blue-dd); }
.btn--line { border-color: var(--blue-d); color: var(--blue-d); background: transparent; }
.btn--line:hover { background: var(--blue-t); }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: #55a438; color: var(--ink); }
.btn--full { width: 100%; }
.btn--sm { min-height: 2.25rem; padding: 0.3rem 0.9rem; font-size: 0.9rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- hero ---------- */
/* full-bleed photographic hero: light file first, JS swaps in the full-size one */
.hero {
  position: relative; color: #fff;
  background: var(--blue-dd) center 32% / cover no-repeat;
  border-bottom: 3px solid var(--green); padding: 3.5rem 0 3.75rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0; background: rgba(8, 79, 116, 0.8);
}
.hero > .wrap { position: relative; }
.hero__in { display: grid; gap: 2rem; align-items: center; }
.hero__copy { max-width: 36rem; }
.hero__copy .lede { margin-bottom: 1.5rem; color: #D9ECF5; }
.hero h1 { margin-bottom: 1rem; color: #fff; }
.hero .eyebrow { color: var(--green); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__actions .btn { flex: 1 1 12rem; }
.hero .btn--line { color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.hero .btn--line:hover { background: rgba(255, 255, 255, 0.14); }
.hero__note { margin-top: 1.25rem; font-size: 0.9rem; color: #BCDCEC; }

/* ---------- image slots ---------- */
.slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.6rem; width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.slot--blue { background: var(--blue-t); }
.slot--green { background: var(--green-t); }
.slot__mark { width: 22%; max-width: 5rem; height: auto; opacity: 0.55; }
.slot__label { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-align: center; padding: 0 0.75rem 0.25rem; }
.slot-inline {
  display: inline-block; font-size: 0.85rem; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 0.1rem 0.5rem; font-style: italic;
}
.media__note { margin-top: 0.75rem; font-size: 0.85rem; color: var(--muted); }

/* ---------- stat band ---------- */
.band { background: var(--blue-dd); color: #fff; }
.band__in { display: grid; gap: 1.25rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.band__item { border-left: 3px solid var(--green); padding-left: 1rem; }
.band__item strong { display: block; font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
.band__item span { font-size: 0.9rem; color: #CFE6F1; }

/* ---------- sections ---------- */
.section { padding: 3.25rem 0; }
.section--tint { background: var(--wash); border-block: 1px solid var(--line); }
.section--dark { background: var(--blue-dd); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p, .section--dark span { color: #CFE6F1; }
.section__head { margin-bottom: 2rem; }
.section__head h2 { margin-bottom: 0.5rem; }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.section__sub { color: var(--muted); max-width: 42rem; }
.section__foot { margin-top: 2rem; text-align: center; }

.pagehead { background: var(--blue-t); border-bottom: 3px solid var(--green); padding: 2.5rem 0; }
.pagehead h1 { margin-bottom: 0.75rem; }
.pagehead .lede { margin-bottom: 0; }

/* photographic page hero: real photo under a flat brand-colour veil */
.pagehead--img {
  position: relative; background-size: cover; background-position: center;
  color: #fff; border-bottom-color: var(--green);
}
.pagehead--img::before {
  content: ""; position: absolute; inset: 0; background: rgba(8, 79, 116, 0.84);
}
.pagehead--img > .wrap { position: relative; }
.pagehead--img h1 { color: #fff; }
.pagehead--img .lede { color: #D9ECF5; }
.pagehead--img .eyebrow { color: var(--green); }
.pagehead--img a { color: #fff; text-decoration-color: var(--green); }

/* photos inside content sections */
.photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--ar-photo, 3 / 2); }
.photo figcaption { font-size: 0.85rem; color: var(--muted); padding: 0.5rem 0.75rem; background: var(--paper); }
.photos { display: grid; gap: 1.25rem; }
.article__img { width: 100%; aspect-ratio: var(--ar-hero); object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); margin: 1.5rem 0; }
.gal__item img { width: 100%; aspect-ratio: var(--ar-gal); object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

.notebar { padding-top: 1.25rem; }
.notebar p { font-size: 0.9rem; color: var(--muted); border-left: 3px solid var(--green); padding-left: 1rem; }

/* ---------- split / grids ---------- */
.split { display: grid; gap: 2.25rem; }
.split__copy h2 { margin-bottom: 1rem; }
.split__copy p { margin-bottom: 1rem; }
.split__copy .btn { margin-top: 0.5rem; }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before { content: ""; position: absolute; left: 0.35rem; top: 0.4rem; bottom: 0.4rem; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: 1.75rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -1.5rem; top: 0.35rem;
  width: 0.72rem; height: 0.72rem; border-radius: 50%;
  background: var(--blue); border: 2px solid var(--paper);
}
.timeline__item--next::before { background: var(--green); }
.timeline__item--next { border: 1px dashed var(--green); border-radius: var(--radius); padding: 0.9rem; margin-left: 0.25rem; }
.timeline__year { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--blue-d); letter-spacing: 0.04em; text-transform: uppercase; }
.timeline__item h3 { margin: 0.2rem 0 0.35rem; }
.timeline__item p { font-size: 0.95rem; color: var(--muted); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.card__kind {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green-d);
}
.card p { font-size: 0.95rem; color: var(--muted); flex: 1; }
.card__link { font-weight: 600; text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; }
.card__link:hover { text-decoration: underline; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 1rem; }
.steps--vert { gap: 0; }
.steps__item {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 4px solid var(--green); border-radius: var(--radius);
  padding: 1.25rem;
}
.steps--vert .steps__item { border-radius: 0; border-top: 0; }
.steps--vert .steps__item:first-child { border-radius: var(--radius) var(--radius) 0 0; border-top: 1px solid var(--line); }
.steps--vert .steps__item:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.steps__item h3 { margin-bottom: 0.4rem; color: var(--blue-d); }
.steps__item h2 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.steps__item p { font-size: 0.95rem; color: var(--muted); }

/* ---------- governance ---------- */
.organs { display: grid; gap: 0.75rem; }
.organs__item { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius); padding: 1rem; }
.organs__item strong { display: block; color: #fff; margin-bottom: 0.25rem; }
.ticks { display: grid; gap: 0.55rem; margin: 0.75rem 0 1.25rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.42rem;
  width: 0.85rem; height: 0.85rem; border-radius: 50%;
  background: var(--green);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}
.organ { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.organ__head { background: var(--blue-t); padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.organ__head h2 { font-size: 1.15rem; }
.organ__head p { font-size: 0.9rem; color: var(--muted); }
.seats { display: grid; gap: 1rem; padding: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.seat { text-align: center; display: grid; gap: 0.35rem; justify-items: center; }
.seat .slot { border-radius: 50%; }
.seat strong { font-size: 0.95rem; }
.seat span { font-size: 0.85rem; color: var(--muted); font-style: italic; }
.organs--page { gap: 1.5rem; }

/* ---------- notices / news ---------- */
.notices { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.notice {
  display: grid; gap: 0.2rem; padding: 1rem 1.25rem;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.notice:last-child { border-bottom: 0; }
.notice:hover { background: var(--wash); }
.notice__cat {
  justify-self: start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green-d);
  background: var(--green-t); border-radius: 1rem; padding: 0.15rem 0.7rem;
}
.notice__title { font-weight: 600; font-size: 1.05rem; }
.notice__excerpt { font-size: 0.9rem; color: var(--muted); }
.notice time { font-size: 0.8rem; color: var(--muted); }
.article p { margin-bottom: 1.1rem; }
.article__foot { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- quotes ---------- */
.quotes { display: grid; gap: 1rem; align-content: start; }
.quote { border-left: 4px solid var(--green); padding-left: 1.25rem; }
.quote p { font-size: 1.15rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; }
.quote footer { font-size: 0.9rem; color: var(--muted); }

/* ---------- FAQs ---------- */
.faqs { display: grid; gap: 0; margin-bottom: 1.25rem; }
.faqs__item { border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
.faqs__item dt { font-weight: 600; margin-bottom: 0.25rem; }
.faqs__item dd { font-size: 0.95rem; color: var(--muted); }
.faqs--page { border-top: 1px solid var(--line); }
.faqs--page .faqs__item { padding: 1.15rem 0; }

/* ---------- services page ---------- */
.services { display: grid; gap: 1.5rem; }
.svc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc__head { padding: 1.5rem 1.5rem 1rem; }
.svc__summary { font-size: 1.05rem; color: var(--muted); }
.svc__body { padding: 0 1.5rem; display: grid; gap: 1.25rem; }
.svc__body h3 { color: var(--blue-d); margin-bottom: 0.3rem; }
.svc__body p { color: var(--muted); font-size: 0.95rem; }
.svc__figs { border: 1px solid var(--line); border-radius: var(--radius); }
.svc__figs div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--line); }
.svc__figs div:last-child { border-bottom: 0; }
.svc__figs dt { font-weight: 600; font-size: 0.9rem; }
.svc__figs dd { color: var(--muted); font-size: 0.9rem; text-align: right; }
.svc__foot { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 1.25rem 1.5rem; border-top: 1px solid var(--line); margin-top: 1.5rem; background: var(--wash); }

/* ---------- callouts / boxes ---------- */
.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-top: 1.25rem;
  background: var(--paper);
}
.callout--warn { border-left-color: var(--green); background: var(--green-t); }
.callout h3 { margin-bottom: 0.35rem; }
.callout p { font-size: 0.95rem; color: var(--muted); }
.notice-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; margin-top: 1.5rem; background: var(--paper);
}
.notice-box h2, .notice-box h3 { margin-bottom: 0.5rem; }
.notice-box p { color: var(--muted); }
.notice-box--ok { border-left: 4px solid var(--green); background: var(--green-t); }
.notice-box--ok p { color: var(--ink); }
.notice-box--err { border-left: 4px solid var(--err); }
.notice-box--err p { color: var(--err); }

/* ---------- facts / misc ---------- */
.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { display: grid; gap: 0.15rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.facts dd { font-weight: 500; }
.vmv { display: grid; gap: 1.25rem; }
.vmv__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; border-top: 4px solid var(--blue); }
.vmv__item:nth-child(2) { border-top-color: var(--green); }
.vmv__item h2 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.vmv__draft { font-size: 0.7rem; font-weight: 700; color: var(--muted); background: var(--wash); border: 1px solid var(--line); border-radius: 1rem; padding: 0.1rem 0.55rem; vertical-align: middle; letter-spacing: 0.06em; text-transform: uppercase; }
.vmv__note { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); font-style: italic; }

/* ---------- docs ---------- */
.docs { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.doc { display: grid; gap: 1rem; padding: 1.25rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.doc:last-child { border-bottom: 0; }
.doc__icon svg { width: 2rem; height: 2rem; fill: var(--blue); }
.doc__body h2 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.doc__body p { font-size: 0.95rem; color: var(--muted); }
.doc__meta { font-size: 0.8rem !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green-d) !important; margin-top: 0.35rem; }
.doc__act .btn { width: 100%; }

/* ---------- gallery ---------- */
.gal { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.gal__item figcaption { font-size: 0.85rem; color: var(--muted); padding-top: 0.4rem; }

/* ---------- contact ---------- */
.reach { display: grid; gap: 0.75rem; margin-bottom: 1.25rem; }
.reach__item {
  display: grid; gap: 0.1rem; padding: 1rem 1.25rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); background: var(--paper);
}
a.reach__item:hover { border-color: var(--blue); background: var(--blue-t); }
.reach__label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.reach__item strong { font-size: 1.15rem; color: var(--blue-d); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; }
.field__opt { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field input[type="password"], .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); outline: 3px solid var(--blue-t);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.field__error { color: var(--err); font-size: 0.88rem; margin-top: 0.3rem; font-weight: 600; }
.field--check { display: flex; gap: 0.65rem; align-items: flex-start; }
.field--check input { width: 1.3rem; height: 1.3rem; margin-top: 0.2rem; flex: none; accent-color: var(--blue-d); }
.field--check label { font-weight: 400; font-size: 0.9rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.form__alt { font-size: 0.9rem; color: var(--muted); text-align: center; }

/* ---------- closing CTA ---------- */
.cta { background: var(--blue-t); border-top: 4px solid var(--green); padding: 3.5rem 0; }
.cta__in { text-align: center; display: grid; gap: 0.9rem; justify-items: center; }
.cta__mark { width: 3.5rem; height: 3.5rem; }
.cta p { color: var(--muted); max-width: 34rem; }
.cta .hero__actions { justify-content: center; }

/* ---------- 404 ---------- */
.lost { text-align: center; padding-block: 2rem; display: grid; gap: 1rem; justify-items: center; }
.lost__mark { width: 4.5rem; height: 4.5rem; }
.lost__links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ---------- floating contact ---------- */
.floats { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: grid; gap: 0.6rem; }
.floats__btn {
  width: 3rem; height: 3rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--paper);
}
.floats__btn svg { width: 1.5rem; height: 1.5rem; fill: #fff; }
.floats__btn--wa { background: #25D366; }
.floats__btn--wa:hover { background: #1EBE5B; }
.floats__btn--call { background: var(--blue-d); }
.floats__btn:hover { transform: scale(1.06); }

/* ---------- footer ---------- */
.footer { background: var(--blue-dd); color: #fff; }
.footer__grid { display: grid; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
.brand--foot { color: #fff; }
/* white chip keeps any logo readable on the dark footer — on-brand white space */
.brand__logo--foot { background: #fff; border-radius: var(--radius); padding: 0.35rem 0.6rem; height: 2.9rem; }
.footer__tag { font-weight: 600; margin-top: 0.75rem; }
.footer__reg { font-size: 0.85rem; color: #CFE6F1; margin-top: 0.5rem; }
.footer__reg--slot { font-style: italic; }
.footer__col h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 0.75rem; }
.footer__col a { display: block; color: #fff; text-decoration: none; padding: 0.35rem 0; min-height: 2rem; }
.footer__col a:hover { text-decoration: underline; }
.footer__slot { font-size: 0.9rem; color: #CFE6F1; padding: 0.35rem 0; }
.footer__slot span { font-style: italic; }
.footer__warn { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.25rem; padding-bottom: 1.25rem; }
.footer__warn p { font-size: 0.9rem; color: #CFE6F1; max-width: 60ch; }
.footer__warn strong { color: #fff; }
.footer__base {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.25rem; padding-bottom: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
}
.footer__base p { font-size: 0.8rem; color: #CFE6F1; max-width: 62ch; }
.footer__credit { white-space: nowrap; }

/* ---------- admin ---------- */
.admin__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.subs { display: grid; gap: 1rem; }
.sub { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.sub--new { border-left: 4px solid var(--green); }
.sub__top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.sub__type { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-d); }
.sub__top time { font-size: 0.8rem; color: var(--muted); }
.sub__fields { display: grid; gap: 0.3rem; margin-bottom: 0.9rem; }
.sub__fields div { display: grid; grid-template-columns: 8rem 1fr; gap: 0.5rem; font-size: 0.95rem; }
.sub__fields dt { font-weight: 600; color: var(--muted); }
.sub code { background: var(--wash); padding: 0.1rem 0.35rem; border-radius: 0.25rem; }

/* ==========================================================================
   ≥600px — small tablets
   ========================================================================== */
@media (min-width: 37.5rem) {
  .band__in { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .vmv { grid-template-columns: repeat(3, 1fr); }
  .doc { grid-template-columns: auto 1fr auto; align-items: center; }
  .doc__act .btn { width: auto; }
}

/* ==========================================================================
   ≥768px — tablets / small laptops
   ========================================================================== */
@media (min-width: 48rem) {
  body { font-size: 1.0625rem; }
  .photos { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 0 1 auto; }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .split--lead { grid-template-columns: 1.1fr 0.9fr; }
  .svc__body { grid-template-columns: 1fr 1fr; }
  .svc__figs { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
  .steps--vert { gap: 0; }
}

/* ==========================================================================
   ≥900px — laptops: full nav
   ========================================================================== */
@media (min-width: 56.25rem) {
  .nav__toggle { display: none; }
  .nav__list {
    display: flex; flex-direction: row; align-items: center; gap: 0.25rem;
    position: static; padding: 0; border: 0;
  }
  .nav__list a { padding: 0.45rem 0.7rem; min-height: 0; }
  .nav__list a[aria-current="page"]::before { display: none; }
  .nav__list a[aria-current="page"] {
    text-decoration: underline; text-decoration-color: var(--green);
    text-decoration-thickness: 3px; text-underline-offset: 6px;
  }
  .nav__more { display: none; }
  .nav__cta { margin: 0 0 0 0.5rem; }
  .nav__cta .btn { width: auto; min-height: 2.5rem; }
  .section { padding: 4.5rem 0; }
  .hero { padding: 6rem 0; }
  .pagehead { padding: 3.5rem 0; }
}

/* ==========================================================================
   ≥1200px — desktops / wide
   ========================================================================== */
@media (min-width: 75rem) {
  .services { grid-template-columns: 1fr 1fr; }
  .svc__foot { margin-top: 1rem; }
  .floats { right: 2rem; bottom: 2rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
