/* KCAU SACCO — public site styles. Brand colours live in :root so they can be tuned in one place. */
:root {
  /* Brand palette taken from kcausacco.co.ke (Kadence theme palette + logo) */
  --navy: #1f2933;
  /* charcoal — live site headings / dark sections (palette 3) */
  --navy-900: #141b22;
  /* deep charcoal for footer and top bar */
  --blue: #a85600;
  /* accessible deep orange for links & icons (live orange #e47b02 darkened for WCAG AA) */
  --blue-50: #fdf1e2;
  /* warm orange tint */
  --red: #b35c00;
  /* accent orange for highlights/badges with white text (AA) */
  --red-700: #8f4900;
  --orange: #e47b02;
  /* live site primary (palette 1) — decorative only */
  --gold: #dba600;
  /* logo gold / "Members Portal" button */
  --gold-600: #c29300;
  --gold-50: #fff8e1;
  --green: #13612e;
  /* palette 11 */
  --accent-navy: #002147;
  /* live site check icons */
  --ink: #1f2933;
  --text: #3e4c59;
  --muted: #52606d;
  --line: #e4e7eb;
  --bg: #ffffff;
  --tint: #f3f4f7;
  --page: #f9f9fb;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(31, 41, 51, .06), 0 8px 24px rgba(31, 41, 51, .07);
  --shadow-lg: 0 20px 50px rgba(20, 27, 34, .16);
  --container: 1200px;
  --font: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--gold);
}

html[data-text="lg"] {
  font-size: 112.5%;
}

html[data-text="xl"] {
  font-size: 125%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 750;
  letter-spacing: -.01em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.2em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

.mt {
  margin-top: 2rem;
}

.small {
  font-size: .9rem;
}

.muted {
  color: var(--muted);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -.2em;
}

.icon--sm {
  width: .95em;
  height: .95em;
}

.icon--lg {
  width: 2.2rem;
  height: 2.2rem;
}

.icon--xl {
  width: 3rem;
  height: 3rem;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* Typography helpers */
.h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.h3 {
  font-size: 1.35rem;
  margin-top: 1.6em;
}

.h4 {
  font-size: 1.15rem;
}

.h5 {
  font-size: 1rem;
  margin-top: 1.2em;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .6rem;
}

.eyebrow--light {
  color: var(--gold);
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 1.8em;
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.5em;
}

.prose li {
  margin-bottom: .35em;
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 1em 1.2em;
  border-left: 4px solid var(--gold);
  background: var(--gold-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: .6em .8em;
  text-align: left;
}

.prose img {
  border-radius: var(--radius-sm);
}

.prose--ticks ul {
  list-style: none;
  padding: 0;
}

.prose--ticks li {
  position: relative;
  padding-left: 1.8em;
}

.prose--ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/65% no-repeat;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 46px;
  padding: .7em 1.3em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 38px;
  padding: .45em 1em;
  font-size: .92rem;
}

.btn--lg {
  min-height: 54px;
  padding: .85em 1.6em;
  font-size: 1.05rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue);
  color: #fff;
}

.btn--accent {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 16px rgba(219, 166, 0, .35);
}

.btn--accent:hover {
  background: var(--red-700);
  color: #fff;
}

.btn--outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn--outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn--ghost {
  color: var(--navy);
  background: var(--blue-50);
}

.btn--ghost:hover {
  background: #d8e5f9;
  color: var(--navy);
}

.btn--light {
  background: #fff;
  color: var(--navy);
}

.btn--light:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn--portal {
  background: var(--gold);
  color: var(--ink);
}

.btn--portal:hover {
  background: #ffc933;
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.2rem;
}

.btn-row.center {
  justify-content: center;
}

.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--blue-50);
}

.icon-btn .icon {
  width: 22px;
  height: 22px;
}

/* Announcement & top bar */
.announce {
  background: var(--gold);
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
}

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  text-align: center;
}

.announce a {
  color: var(--ink);
  text-decoration: none;
}

.announce a:hover .announce__more {
  text-decoration: underline;
}

.announce__more {
  font-weight: 800;
  white-space: nowrap;
}

.topbar {
  background: var(--navy-900);
  color: #d7e1f3;
  font-size: .86rem;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
}

.topbar ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar li,
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: inherit;
  text-decoration: none;
}

.topbar a:hover {
  color: #fff;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.topbar__social {
  width: 32px;
  height: 32px;
  justify-content: center;
  border-radius: 50%;
}

.topbar__social:hover {
  background: rgba(255, 255, 255, .12);
}

.textsize {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, .25);
  color: inherit;
  font: inherit;
  border-radius: 999px;
  padding: .15rem .7rem;
  cursor: pointer;
}

.textsize:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

/* Header & nav */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header>.container {
  max-width: 1340px;
}

.nav__item--home {
  display: none;
}

.header.is-scrolled {
  box-shadow: 0 6px 20px rgba(10, 47, 102, .08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--navy);
  flex: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .02em;
}

.brand__text strong {
  color: var(--red);
  display: contents;
}

.brand__text small {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.brand--light {
  color: #fff;
}

.brand--light .brand__text small {
  color: #a9bbdb;
}

.brand--light .brand__text strong {
  color: var(--gold);
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  position: relative;
}

.nav__row {
  display: flex;
  align-items: center;
}

.nav__link {
  display: block;
  padding: .5rem .45rem;
  color: var(--ink);
  font-weight: 650;
  font-size: .93rem;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--blue);
  background: var(--blue-50);
}

.nav__link.is-active {
  color: var(--red);
}

.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 32px;
  margin-left: -6px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
}

.nav__toggle .icon {
  width: 16px;
  height: 16px;
  transition: transform .2s;
}

.nav__toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.nav__sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  list-style: none;
  margin: 0;
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .15s;
  z-index: 60;
}

.nav__sub a {
  display: block;
  padding: .5rem .75rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: .94rem;
}

.nav__sub a:hover {
  background: var(--blue-50);
  color: var(--blue);
}

.nav__item.is-open>.nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (hover: hover) and (min-width: 1341px) {
  .nav__item.has-sub:hover>.nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.nav__mobile-ctas {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: .25rem;
  flex: none;
}

.nav-toggle {
  display: none;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.search-panel {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: .9rem 0;
}

.search-panel__form {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.search-panel__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  font: inherit;
  font-size: 1.1rem;
  padding: .6rem;
  outline: none;
}

.search-panel__form .icon {
  color: var(--muted);
}

@media (max-width: 1340px) {
  .nav-toggle {
    display: inline-grid;
  }

  .nav__item--home {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    top: 0;
    width: min(380px, 88vw);
    background: #fff;
    padding: 84px 1.2rem 2rem;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
    z-index: 40;
  }

  .nav.is-open {
    transform: none;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item {
    border-bottom: 1px solid var(--line);
  }

  .nav__row {
    justify-content: space-between;
  }

  .nav__link {
    padding: .85rem .3rem;
    font-size: 1.05rem;
  }

  .nav__toggle {
    width: 44px;
    height: 44px;
  }

  .nav__sub {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 .6rem .6rem;
    min-width: 0;
  }

  .nav__item.is-open>.nav__sub {
    display: block;
  }

  .nav__mobile-ctas {
    display: grid;
    gap: .6rem;
    margin-top: 1.4rem;
  }

  .header__actions {
    margin-left: auto;
    position: relative;
    z-index: 45;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(6, 29, 66, .45);
    z-index: 30;
  }
}

@media (max-width: 640px) {
  .btn--portal span {
    display: none;
  }

  .btn--portal {
    width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
  }

  .brand__text small {
    display: none;
  }

  .topbar__contact li:nth-child(2) span,
  .hide-sm,
  .textsize span {
    display: none;
  }

  .header__inner {
    min-height: 66px;
  }
}

/* Hero */
.home-slider {
  padding: 1.5rem 0 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.home-slider__track {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #0f172a;
  box-shadow: var(--shadow-lg);
}

.home-slide {
  display: none;
  position: relative;
  min-height: 420px;
}

.home-slide.is-active {
  display: block;
}

.home-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.home-slide__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.78) 100%);
  color: #fff;
}

.home-slide__caption h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: .4rem;
}

.home-slide__caption p {
  color: rgba(255, 255, 255, .92);
  margin: 0 0 .9rem;
  max-width: 46ch;
}

.home-slider__controls {
  display: flex;
  justify-content: center;
  gap: .55rem;
  padding: 1rem 0 0;
}

.home-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(31, 41, 51, 0.28);
  cursor: pointer;
}

.home-slider__dot.is-active {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 123, 2, 0.15);
}

.hero {
  position: relative;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(244, 180, 0, .20), transparent 60%), linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, #0f47a0 100%);
  color: #e6eefb;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .05);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -.02em;
}

.hero__lead {
  font-size: 1.15rem;
  color: #cfdcf2;
  max-width: 56ch;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 1.8rem 0;
}

.hero__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  font-size: .95rem;
  color: #cfdcf2;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.hero__trust .icon {
  color: var(--gold);
}

.hero__panel {
  background: #fff;
  color: var(--text);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hero__panel-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.quick {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}

.quick a {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: .15s;
}

.quick a:hover {
  border-color: var(--blue);
  background: var(--blue-50);
  transform: translateX(2px);
}

.quick strong {
  display: block;
}

.quick small {
  display: block;
  color: var(--muted);
  font-size: .86rem;
}

.quick__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
  flex: none;
}

.quick__icon--red {
  background: var(--blue-50);
  color: var(--red);
}

.quick__icon--gold {
  background: var(--gold-50);
  color: #9a6b00;
}

.quick__icon--navy {
  background: var(--navy);
  color: #fff;
}

.quick__arrow {
  margin-left: auto;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .home-slider {
    padding-top: 1rem;
  }

  .home-slider__track {
    border-radius: 18px;
  }

  .home-slide,
  .home-slide img {
    min-height: 260px;
    height: 260px;
  }

  .home-slide__caption {
    padding: 1rem;
  }

  .home-slide__caption h2 {
    font-size: 1.45rem;
  }

  .home-slider__controls {
    padding-top: .75rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Stats */
.stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 1.6rem 1.2rem;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 1.9rem;
  color: var(--navy);
  line-height: 1.1;
}

.stat span {
  font-size: .9rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

/* Sections & layout */
.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section--tight {
  padding: 2rem 0;
}

.section--tint {
  background: var(--tint);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section__head .lead {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 1.4rem;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1000px) {

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

@media (max-width: 640px) {

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.split--center {
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.card--flat {
  box-shadow: none;
  background: var(--tint);
}

.section--tint .card--flat {
  background: #fff;
}

.card--brand {
  background: linear-gradient(145deg, var(--navy), #0f47a0);
  color: #dce7f8;
  border: 0;
}

.card--brand h2 {
  color: #fff;
}

.sticky {
  position: sticky;
  top: 100px;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, #0f47a0);
  color: #d4e0f4;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin-bottom: .4em;
}

.page-hero__lead {
  font-size: 1.12rem;
  max-width: 65ch;
  margin: 0;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.5rem;
}

.crumbs ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  font-size: .88rem;
}

.crumbs li+li::before {
  content: "›";
  margin-right: .3rem;
  opacity: .6;
}

.crumbs a {
  color: #b7c9e8;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs [aria-current] {
  color: #fff;
}

.subnav {
  position: sticky;
  top: 76px;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.subnav .container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav a {
  padding: .9rem 0;
  white-space: nowrap;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.subnav a:hover {
  border-color: var(--gold);
}

/* Product cards */
.pcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}

.pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.pcard__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue);
  margin-bottom: 1rem;
}

.pcard__icon .icon {
  width: 26px;
  height: 26px;
}

.pcard__title {
  font-size: 1.25rem;
  margin-bottom: .3rem;
}

.pcard__title a {
  color: var(--ink);
  text-decoration: none;
}

.pcard__title a:hover {
  color: var(--blue);
}

.pcard__tag {
  color: var(--muted);
  font-size: .95rem;
}

.pcard__facts {
  margin: 0 0 1.2rem;
  display: grid;
  gap: .45rem;
}

.pcard__facts div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: .6rem;
  font-size: .9rem;
  padding-top: .45rem;
  border-top: 1px dashed var(--line);
}

.pcard__facts dt {
  color: var(--muted);
  font-weight: 600;
}

.pcard__facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}

.pcard__actions {
  margin-top: auto;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.compare th,
.compare td {
  padding: .9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare thead th {
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  position: sticky;
  top: 0;
}

.compare tbody tr:nth-child(even) {
  background: #fafbfe;
}

.compare tbody tr:hover {
  background: var(--blue-50);
}

.compare tbody th a {
  color: var(--ink);
  font-weight: 750;
}

@media (max-width: 760px) {
  .table-wrap {
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .compare thead {
    display: none;
  }

  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: 100%;
  }

  .compare tr {
    background: #fff !important;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: .9rem;
    padding: .6rem 0;
    box-shadow: var(--shadow);
  }

  .compare th,
  .compare td {
    border: 0;
    padding: .35rem 1rem;
  }

  .compare td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    font-weight: 700;
  }
}

/* Calculator */
.calc {
  display: grid;
  gap: .2rem;
}

.calc input[type="range"] {
  width: 100%;
  accent-color: var(--red);
  height: 32px;
}

.calc__result {
  background: var(--navy);
  color: #cfdcf2;
  border-radius: 12px;
  padding: 1.2rem;
  margin: .5rem 0 1rem;
}

.calc__result strong {
  display: block;
  color: #fff;
  font-size: 2rem;
  line-height: 1.2;
}

.calc__row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: .5rem;
  margin-top: .5rem;
  font-size: .95rem;
}

.calc__row b {
  color: #fff;
}

.calc__note {
  margin: .6rem 0 0;
  font-size: .86rem;
  color: var(--gold);
}

.calc__note:empty {
  display: none;
}

/* Product detail */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (max-width: 960px) {
  .detail {
    grid-template-columns: 1fr;
  }

  .sticky {
    position: static;
  }
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .8rem;
  margin: 0 0 2rem;
}

.fact {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.fact .icon {
  color: var(--red);
  width: 22px;
  height: 22px;
}

.fact dt {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
  color: var(--muted);
  margin-top: .4rem;
}

.fact dd {
  margin: .15rem 0 0;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.35;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: .55rem;
}

.ticks li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
}

.ticks .icon {
  color: var(--green);
  margin-top: .2em;
}

.ticks--doc .icon {
  color: var(--blue);
}

.ticks--sm {
  font-size: .92rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.steps li>span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  flex: none;
}

.steps p {
  margin: .2rem 0 0;
  color: var(--muted);
}

.steps--compact li>span {
  width: 28px;
  height: 28px;
  font-size: .85rem;
  background: var(--navy);
}

.steps--compact p {
  margin-top: .15rem;
  color: var(--text);
}

.steps--inline {
  margin-top: 1.5rem;
}

.dl-mini {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: .4rem;
}

.dl-mini a {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
}

.dl-mini--row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
}

.detail__side .btn {
  margin-bottom: .6rem;
}

/* Values, elig, people */
.values {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;
}

.values li {
  display: flex;
  gap: .9rem;
}

.values .icon {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue);
}

.values strong {
  display: block;
  color: var(--ink);
}

.values span {
  color: var(--muted);
  font-size: .95rem;
}

.value .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--red);
  margin-bottom: .8rem;
}

.value h3 {
  font-size: 1.1rem;
}

.value p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.elig {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}

.elig li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem;
  background: var(--tint);
  border-radius: 10px;
  font-weight: 650;
  color: var(--ink);
}

.elig .icon {
  color: var(--red);
}

.committee {
  margin-top: 2rem;
}

.people {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}

.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
}

.person img,
.person__initials {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto .9rem;
  object-fit: cover;
}

.person__initials {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
}

.person strong {
  display: block;
  color: var(--ink);
}

.person span {
  font-size: .92rem;
  color: var(--red);
  font-weight: 650;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: t;
}

.timeline li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.timeline li>span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  margin-bottom: .8rem;
}

.timeline h3 {
  font-size: 1.1rem;
}

.timeline p {
  margin: 0;
  font-size: .95rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .timeline {
    grid-template-columns: 1fr;
  }

  .elig {
    grid-template-columns: 1fr;
  }
}

.form-dl {
  margin-top: 1rem;
}

/* Promotions, portal band, CTA band */
.promo {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.3rem;
  border-radius: var(--radius);
  background: var(--gold-50);
  border: 1px solid #f6dc8f;
  text-decoration: none;
  color: var(--ink);
  transition: .15s;
}

.promo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.promo__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--gold);
  flex: none;
}

.promo__icon .icon {
  width: 26px;
  height: 26px;
}

.promo strong {
  display: block;
  font-size: 1.05rem;
}

.promo small {
  color: var(--muted);
}

.promo__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
}

.portal-band {
  background: var(--navy);
  color: #cfdcf2;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background-image: radial-gradient(600px 300px at 90% 120%, rgba(244, 180, 0, .25), transparent 60%);
}

.portal-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.portal-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.portal-band p {
  margin: 0;
}

.portal-band__ctas {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.cta-band {
  background: linear-gradient(90deg, var(--red), #e0293f);
  color: #fff;
  padding: 2.5rem 0;
}

.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.cta-band__btns {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.cta-band .btn--accent {
  background: var(--navy-900);
  box-shadow: none;
}

.cta-band .btn--accent:hover {
  background: var(--navy);
}

.howto h3 {
  font-size: 1.3rem;
}

.paycard {
  background: linear-gradient(145deg, #0f8a3c, #0a6b2e);
  color: #d6f5e1;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 380px;
}

.paycard p {
  margin: 0;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.paycard strong {
  display: block;
  font-size: 2.6rem;
  color: #fff;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}

.paycard__small {
  font-size: 1.3rem !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.gallery-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-card a {
  display: block;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 1rem;
}

.gallery-card h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}

.gallery-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

/* News */
.ncard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ncard__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.ncard__img--ph {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-50), #dfe8f7);
  color: var(--blue);
}

.ncard__img--ph .icon {
  width: 48px;
  height: 48px;
  opacity: .6;
}

.ncard__body {
  padding: 1.3rem;
}

.ncard__body h3,
.ncard__body h2 {
  font-size: 1.12rem;
}

.ncard__body h3 a,
.ncard__body h2 a {
  color: var(--ink);
  text-decoration: none;
}

.ncard__body h3 a:hover,
.ncard__body h2 a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.ncard__body p:last-child {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

.ncard__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .6rem;
}

.tag {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--blue-50);
  color: var(--blue);
}

.tag--campaign {
  background: var(--gold-50);
  color: #8a5f00;
}

.tag--event {
  background: #e7f6ec;
  color: var(--green);
}

.tag--notice {
  background: var(--blue-50);
  color: var(--red-700);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.chip {
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.upcoming {
  margin-bottom: 2rem;
}

.upcoming ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .7rem;
}

.upcoming li {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 1rem;
  align-items: center;
}

.upcoming time {
  grid-row: span 2;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  padding: .3rem;
  text-transform: uppercase;
  font-size: .75rem;
  line-height: 1.1;
}

.upcoming time strong {
  font-size: 1.4rem;
}

.upcoming small {
  color: var(--muted);
}

.pager {
  display: flex;
  gap: .4rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.pager a {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}

.pager a.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
}

@media (max-width: 900px) {
  .article {
    grid-template-columns: 1fr;
  }
}

.article__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .92rem;
}

.article__img {
  border-radius: var(--radius);
  margin: 1rem 0 1.5rem;
}

.event-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  padding: 1.2rem;
  border-radius: 12px;
  background: #e7f6ec;
  margin-bottom: 1.5rem;
}

.event-box>div {
  display: flex;
  gap: .7rem;
}

.event-box .icon {
  color: var(--green);
  width: 24px;
  height: 24px;
}

.event-box strong {
  display: block;
}

.share {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.share span {
  font-weight: 700;
  margin-right: .3rem;
}

.share a,
.share__copy {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--navy);
}

.share__copy {
  width: auto;
  padding: 0 1rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.share a:hover,
.share__copy:hover {
  background: var(--navy);
  color: #fff;
}

.mini-news {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: .8rem;
}

.mini-news a {
  display: block;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.35;
}

.mini-news a:hover {
  color: var(--blue);
}

.mini-news small {
  color: var(--muted);
}

/* Downloads */
.dl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .6rem;
}

.dl-list a {
  display: flex;
  gap: .9rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  text-decoration: none;
  color: var(--ink);
  transition: .15s;
}

.dl-list a:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.dl-list a>.icon:first-child {
  color: var(--red);
  width: 28px;
  height: 28px;
}

.dl-list small {
  display: block;
  color: var(--muted);
}

.dl-list__dl {
  margin-left: auto;
  color: var(--blue);
}

.dl-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .dl-layout {
    grid-template-columns: 1fr;
  }
}

.dl-filter {
  position: sticky;
  top: 100px;
}

@media (max-width: 860px) {
  .dl-filter {
    position: static;
  }

  .dl-cats {
    display: flex;
    overflow-x: auto;
    gap: .5rem;
  }

  .dl-cats a {
    white-space: nowrap;
    border: 1px solid var(--line);
  }
}

.dl-search {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding-left: 1rem;
  margin-bottom: 1rem;
  background: #fff;
}

.dl-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  font: inherit;
  outline: none;
  background: transparent;
}

.dl-cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .2rem;
}

.dl-cats a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem .9rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.dl-cats a:hover {
  background: var(--blue-50);
}

.dl-cats a.is-active {
  background: var(--navy);
  color: #fff;
}

.dl-cats span {
  font-size: .8rem;
  background: rgba(10, 47, 102, .08);
  border-radius: 999px;
  padding: 0 .55rem;
  line-height: 1.7;
}

.dl-cats a.is-active span {
  background: rgba(255, 255, 255, .2);
}

.dl-results .h3:first-child {
  margin-top: 0;
}

.docs {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: .7rem;
}

.tender-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 1rem;
}

.tender-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.tender-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.tender-title {
  margin: 0;
}

.tender-no {
  display: inline-block;
  font-weight: 700;
  color: var(--navy);
  background: var(--tint);
  padding: .25rem .6rem;
  border-radius: 999px;
  margin-top: .6rem;
}

.tender-status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: .85rem;
  border-radius: 999px;
  padding: .45rem .7rem;
}

.tender-status__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  background: var(--green);
  box-shadow: 0 0 0 rgba(19, 97, 46, .2);
  animation: tender-blink 1.4s ease-in-out infinite alternate;
}

.tender-status--open {
  background: rgba(19, 97, 46, .08);
  color: var(--green);
}

.tender-status--open .tender-status__dot {
  background: var(--green);
}

.tender-status--expiring {
  background: rgba(227, 123, 2, .12);
  color: var(--red);
}

.tender-status--expiring .tender-status__dot {
  background: var(--red);
  animation-duration: .9s;
}

.tender-status--closed {
  background: rgba(109, 122, 133, .12);
  color: var(--muted);
}

.tender-status--closed .tender-status__dot {
  background: var(--muted);
  animation: none;
}

@keyframes tender-blink {
  from {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(227, 123, 2, .55);
  }

  to {
    opacity: .35;
    box-shadow: 0 0 0 8px rgba(227, 123, 2, 0);
  }
}

.tender-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: .92rem;
  margin: 1rem 0;
}

.tender-form {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.tender-form__full {
  grid-column: 1 / -1;
}

.tender-form input,
.tender-form button {
  font: inherit;
}

.tender-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .7rem .85rem;
  background: #fff;
}

.tender-form button {
  justify-self: start;
}

.tender-closed {
  padding: 1rem 1.1rem;
  background: rgba(109, 122, 133, .08);
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
}

.tender-section {
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .tender-form {
    grid-template-columns: 1fr;
  }
}

.doc {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.doc__type {
  display: grid;
  place-items: center;
  width: 48px;
  height: 56px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
  flex: none;
}

.doc__type--doc,
.doc__type--docx {
  background: var(--blue-50);
  color: var(--blue);
}

.doc__type--xls,
.doc__type--xlsx {
  background: #e7f6ec;
  color: var(--green);
}

.doc__info {
  flex: 1;
  min-width: 0;
}

.doc__info h3 {
  font-size: 1.02rem;
  margin: 0 0 .15rem;
}

.doc__info p {
  margin: 0;
  font-size: .92rem;
  color: var(--muted);
}

.doc__info small {
  color: var(--muted);
  font-size: .8rem;
}

@media (max-width: 560px) {
  .doc {
    flex-wrap: wrap;
  }

  .doc .btn {
    width: 100%;
  }
}

/* FAQs */
.faq-search {
  display: flex;
  align-items: center;
  gap: .6rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: .2rem 1.2rem;
  margin-bottom: .5rem;
  background: #fff;
}

.faq-search:focus-within {
  border-color: var(--blue);
}

.faq-search input {
  flex: 1;
  border: 0;
  font: inherit;
  font-size: 1.05rem;
  padding: .7rem 0;
  outline: none;
}

.faq-group {
  margin-top: 2rem;
}

.faq {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: .6rem;
  background: #fff;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  transition: transform .2s;
  color: var(--muted);
}

.faq[open] summary .icon {
  transform: rotate(180deg);
}

.faq[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.faq__a {
  padding: 0 1.2rem 1.1rem;
  color: var(--text);
}

/* Contact & map */
.contact {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.contact__cards {
  display: grid;
  gap: .8rem;
}

.ccard {
  display: flex;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: #fff;
}

a.ccard:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  color: var(--text);
}

.ccard .icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue);
}

.ccard strong {
  display: block;
  color: var(--ink);
}

.map__frame {
  position: relative;
  height: 420px;
  background: var(--tint) linear-gradient(135deg, #e8eef8 25%, transparent 25%, transparent 50%, #e8eef8 50%, #e8eef8 75%, transparent 75%) 0 0/40px 40px;
}

.map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  text-align: center;
  padding: 1rem;
}

.map__placeholder .icon--lg {
  color: var(--red);
}

/* Forms */
.form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1.8rem;
}

.form legend {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 1rem;
  padding: 0;
}

.form legend span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.2rem;
}

.field--wide {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 1.1rem;
}

.field label,
.field .label {
  display: block;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: .35rem;
}

.req {
  color: var(--red);
}

.opt {
  font-weight: 400;
  color: var(--muted);
  font-size: .88em;
}

.hint {
  font-size: .86rem;
  color: var(--muted);
  margin: -.15rem 0 .4rem;
}

.field input:not([type="checkbox"]):not([type="range"]),
.field select,
.field textarea,
.bigsearch input {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  border: 1.5px solid #c5cedd;
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.bigsearch input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 86, 184, .15);
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: var(--red) !important;
}

.error {
  color: var(--red-700);
  font-size: .88rem;
  font-weight: 600;
  margin: .35rem 0 0;
}

.check {
  display: flex !important;
  gap: .6rem;
  align-items: flex-start;
  font-weight: 400 !important;
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: .2rem;
  accent-color: var(--navy);
  flex: none;
}

.check--light {
  color: #cfdcf2;
  font-size: .88rem;
  margin-top: .7rem;
}

.check--light a {
  color: #fff;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}

.alert {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  border: 1px solid;
}

.alert ul {
  margin: .4rem 0 0;
}

.alert--error {
  background: #fdecef;
  border-color: #f3b6c0;
  color: #7a0a1c;
}

.alert--error a {
  color: #7a0a1c;
}

.alert--success {
  background: #e7f6ec;
  border-color: #a9dcbb;
  color: #0b5129;
}

.flash-wrap {
  padding-top: 1rem;
}

.bigsearch {
  display: flex;
  gap: .6rem;
  margin: 1.5rem 0;
}

.bigsearch input {
  flex: 1;
}

.result-group {
  margin-top: 2rem;
  color: var(--muted);
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .1em;
}

.result {
  display: block;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: .6rem;
  text-decoration: none;
  color: var(--text);
}

.result:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.result strong {
  display: block;
  color: var(--blue);
  font-size: 1.05rem;
}

.result span {
  font-size: .93rem;
  color: var(--muted);
}

.empty {
  padding: 2rem;
  text-align: center;
  background: var(--tint);
  border-radius: var(--radius);
  color: var(--muted);
}

.success-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #e7f6ec;
  color: var(--green);
  margin: 0 auto 1.5rem;
}

.success-icon .icon {
  width: 42px;
  height: 42px;
}

.refbox {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px dashed var(--line);
  border-radius: 12px;
  margin: 1rem 0;
  color: var(--muted);
}

.refbox strong {
  display: block;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: .06em;
}

.bigcode {
  font-size: 5rem;
  font-weight: 900;
  color: var(--blue-50);
  -webkit-text-stroke: 2px var(--navy);
  margin: 0;
  line-height: 1;
}

.portal-login {
  text-align: center;
}

.portal-login .icon--xl {
  color: var(--gold);
  margin: 0 auto 1rem;
}

.portal-login .small {
  color: #b7c9e8;
  margin: 1rem 0 0;
}

.security-tips {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.security-tips .icon--lg {
  color: var(--green);
}

.side-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.side-links a {
  display: block;
  padding: .45rem 0;
  font-weight: 600;
  text-decoration: none;
}

.side-links a[aria-current] {
  color: var(--red);
}

/* Newsletter & footer */
.newsletter {
  background: var(--navy-900);
  color: #cfdcf2;
  padding: 2.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 860px) {
  .newsletter__inner {
    grid-template-columns: 1fr;
  }
}

.newsletter h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: .3rem;
}

.newsletter p {
  margin: 0;
}

.newsletter__row {
  display: flex;
  gap: .6rem;
}

.newsletter__row input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  border-radius: 999px;
  border: 0;
  padding: 0 1.2rem;
  font: inherit;
}

.newsletter__msg {
  margin-top: .6rem !important;
  font-weight: 600;
  color: var(--gold);
}

@media (max-width: 480px) {
  .newsletter__row {
    flex-direction: column;
  }
}

.footer {
  background: #04152f;
  color: #a9bbdb;
  font-size: .95rem;
}

.footer a {
  color: #d7e1f3;
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__h {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}

.footer__brand p {
  margin: 1rem 0;
}

.footer__social {
  display: flex;
  gap: .4rem;
  margin-bottom: 1.2rem;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.footer__social a:hover {
  background: var(--gold);
  color: var(--ink);
}

.paybill {
  display: inline-flex;
  flex-direction: column;
  padding: .8rem 1.1rem;
  border-radius: 12px;
  background: rgba(19, 122, 63, .2);
  border: 1px solid rgba(19, 122, 63, .5);
}

.paybill span {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.paybill strong {
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: .08em;
}

.footer__contact li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}

.footer__contact .icon {
  color: var(--gold);
  margin-top: .25em;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .86rem;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.footer__bottom p {
  margin: 0;
  max-width: 70ch;
}

.footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer .linklike {
  color: #d7e1f3;
  text-decoration: none;
}

.footer .linklike:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* Floating WhatsApp & cookie banner */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.wa-float .icon {
  width: 28px;
  height: 28px;
}

.wa-float:hover {
  color: #fff;
  transform: scale(1.06);
}

.cookie {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.2rem;
  font-size: .92rem;
}

.cookie__btns {
  display: flex;
  gap: .5rem;
}

@media (max-width: 560px) {
  .cookie {
    left: 10px;
    right: 10px;
    bottom: 84px;
  }
}

@media print {

  .announce,
  .topbar,
  .header,
  .newsletter,
  .footer,
  .wa-float,
  .cookie,
  .cta-band,
  .portal-band,
  .share,
  .detail__side {
    display: none !important;
  }

  .page-hero {
    background: none;
    color: #000;
  }

  .page-hero h1 {
    color: #000;
  }

  a {
    color: #000;
  }

  .detail {
    display: block;
  }
}

/* Mobile refinements */
.topbar__contact span {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .topbar .hide-sm {
    display: none;
  }
}

@media (max-width: 1340px) {
  body.nav-open .header__actions> :not(.nav-toggle) {
    visibility: hidden;
  }

  body.nav-open .nav-toggle {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 46;
    background: var(--blue-50);
  }

  .nav {
    z-index: 45;
  }
}


/* ================= KCAU SACCO live-site theme (black & gold, Jost/Inter) ================= */
body {
  font-size: 1.06rem;
  background: var(--page);
}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2 {
  font-family: var(--font-head);
  letter-spacing: -.02em;
}

.hero h1,
.page-hero h1 {
  font-weight: 900;
}

.eyebrow {
  color: var(--red);
}

/* Logo */
.brand__logo {
  height: 58px;
  width: auto;
}

.header .brand img {
  width: auto;
  height: 58px;
}

.footer .brand__logo {
  height: 84px;
}

@media (max-width: 640px) {
  .header .brand img {
    height: 46px;
  }
}

/* Buttons: gold like the live "Members Portal" button, dark text for contrast */
.btn--accent {
  background: var(--gold);
  color: var(--ink);
}

.btn--accent:hover {
  background: var(--gold-600);
  color: var(--ink);
}

.btn--primary {
  background: var(--ink);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red);
  color: #fff;
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn--ghost {
  color: var(--red-700);
}

.btn--portal {
  background: var(--gold);
  color: var(--ink);
}

.btn--portal:hover {
  background: var(--gold-600);
  color: var(--ink);
}

.nav__link.is-active {
  color: var(--red);
  box-shadow: inset 0 -3px 0 var(--gold);
  border-radius: 0;
}

.nav__link:hover {
  color: var(--red-700);
}

/* Light, airy hero like kcausacco.co.ke (soft peach / lilac / sky glows) */
.hero,
.page-hero {
  background:
    radial-gradient(520px 380px at 12% 20%, rgba(237, 226, 245, .9), transparent 70%),
    radial-gradient(620px 420px at 88% 10%, rgba(255, 229, 196, .9), transparent 70%),
    radial-gradient(520px 380px at 60% 110%, rgba(214, 240, 248, .9), transparent 70%),
    var(--page);
  color: var(--text);
}

.hero::after {
  border-color: rgba(219, 166, 0, .12);
}

.hero h1,
.page-hero h1 {
  color: var(--ink);
}

.hero__lead,
.page-hero__lead {
  color: var(--text);
}

.hero__trust {
  color: var(--text);
}

.hero__trust .icon {
  color: var(--accent-navy);
}

.hero .eyebrow--light,
.page-hero .eyebrow--light {
  color: var(--red);
}

.hero .btn--light,
.page-hero .btn--light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.hero .btn--light:hover,
.page-hero .btn--light:hover {
  background: var(--ink);
  color: #fff;
}

.hero__panel {
  border: 1px solid var(--line);
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover,
.crumbs [aria-current] {
  color: var(--ink);
}

.page-hero {
  border-bottom: 1px solid var(--line);
}

/* Quick actions & stats */
.quick a:hover {
  border-color: var(--gold);
  background: var(--gold-50);
}

.quick__icon {
  background: var(--blue-50);
  color: var(--red);
}

.quick__icon--red {
  background: var(--gold);
  color: var(--ink);
}

.quick__icon--gold {
  background: var(--gold-50);
  color: #8a6a00;
}

.quick__icon--navy {
  background: var(--ink);
  color: var(--gold);
}

.stat strong {
  color: var(--ink);
}

.stat strong::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--gold);
  margin-top: .35rem;
  border-radius: 2px;
}

.stats {
  border-top: 1px solid var(--line);
}

/* Cards & icons */
.pcard__icon {
  background: var(--gold-50);
  color: #8a6a00;
}

.pcard:hover {
  border-color: var(--gold);
}

.values .icon {
  background: var(--gold-50);
  color: #8a6a00;
}

.ticks .icon {
  color: var(--green);
}

.ticks--doc .icon {
  color: var(--red);
}

.steps li>span,
.timeline li>span,
.upcoming time {
  background: var(--gold);
  color: var(--ink);
}

.steps--compact li>span {
  background: var(--ink);
  color: #fff;
}

.person__initials {
  background: linear-gradient(135deg, var(--ink), #3e4c59);
  color: var(--gold);
}

.ncard__img--ph {
  background: linear-gradient(135deg, var(--gold-50), #fdebd3);
  color: #8a6a00;
}

.tag {
  background: var(--blue-50);
  color: var(--red-700);
}

.chip.is-active,
.pager a.is-active,
.dl-cats a.is-active {
  background: var(--ink);
  border-color: var(--ink);
}

.compare thead th {
  background: var(--ink);
}

.compare tbody tr:hover {
  background: var(--gold-50);
}

.calc input[type="range"] {
  accent-color: var(--gold-600);
}

.calc__result {
  background: var(--ink);
}

.form legend span {
  background: var(--ink);
  color: var(--gold);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.bigsearch input:focus {
  border-color: var(--gold-600);
  box-shadow: 0 0 0 4px rgba(219, 166, 0, .22);
}

.check input {
  accent-color: var(--ink);
}

.card--brand {
  background: linear-gradient(145deg, var(--ink), #2d3a47);
}

.subnav a:hover {
  border-color: var(--gold);
}

/* Dark bands use the live site's charcoal + gold */
.announce {
  background: var(--ink);
  color: #fff;
}

.announce a {
  color: #fff;
}

.announce .icon,
.announce__more {
  color: var(--gold);
}

.topbar {
  background: #fff;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.topbar a:hover {
  color: var(--red-700);
}

.topbar .icon {
  color: var(--gold-600);
}

.textsize {
  border-color: var(--line);
}

.textsize:hover {
  background: var(--tint);
  color: var(--ink);
}

.topbar__social:hover {
  background: var(--tint);
}

.portal-band {
  background: var(--ink);
  background-image: radial-gradient(600px 300px at 90% 120%, rgba(219, 166, 0, .28), transparent 60%);
}

.cta-band {
  background: linear-gradient(90deg, var(--gold), #e8b420);
  color: var(--ink);
}

.cta-band h2 {
  color: var(--ink);
}

.cta-band .btn--accent {
  background: var(--ink);
  color: #fff;
}

.cta-band .btn--accent:hover {
  background: #000;
  color: #fff;
}

.cta-band .btn--light:hover {
  background: var(--ink);
  color: #fff;
}

.newsletter {
  background: var(--navy-900);
}

.footer {
  background: #0e1318;
}

.promo {
  background: var(--gold-50);
  border-color: #f2dc8e;
}

.promo__icon {
  background: var(--gold);
  color: var(--ink);
}

.brand img.brand__logo {
  width: auto;
}

.footer .brand img.brand__logo {
  height: 84px;
  width: auto;
}