:root {
  --brand: #363760;
  --brand-2: #23263D;
  --accent: #e6b136;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 27, 42, .08);
  --btn-font: "Montserrat", system-ui, sans-serif;
  --btn-radius: 999px;
  --btn-transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

* {
  box-sizing: border-box
}
a{color: var(--accent);}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
  min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: none; }
/* ─── Topbar ─────────────────────────────────────────────────── */
.topbar {
  background: var(--brand-2);
  color: #fff;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  padding-block: 10px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.topbar a:hover,
.topbar a:focus-visible {
  color: #fff;
  opacity: 1;
}

.topbar__contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar__contact a:hover { color: var(--accent); }
.topbar__socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.topbar__socials a {
  position: relative;
  padding-block: 2px;
  font-size: 24px;
  line-height: 1;
}
.topbar__socials a i{ display: block; }
.topbar__socials a img { height: 24px; width: auto; }
.topbar__socials a:hover { color: var(--accent); }
.topbar__socials a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  display: none;
}

.topbar__socials a:hover::after,
.topbar__socials a:focus-visible::after {
  transform: scaleX(1);
}

.topbar .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.topbar .icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: var(--accent);
}

/* ─── Header ─────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255);
  border-bottom: 1px solid rgba(35, 38, 61, 0.08);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.header.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 27, 42, 0.08);
  border-bottom-color: transparent;
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: clamp(16px, 3vw, 32px);
  min-height: 72px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  z-index: 2;
}

.brand__logo {
  display: block;
  height: clamp(32px, 4vw, 40px);
  width: auto;
  max-width: min(220px, 42vw);
}

.header__actions {
  display: none;
  align-items: center;
  gap: 12px;
  justify-self: end;
  z-index: 2;
}

.header__bbb {
  display: none;
  align-items: center;
  justify-self: end;
  flex-shrink: 0;
}

.nav {
  justify-self: center;
  width: 100%;
}

.nav__backdrop {
  display: none;
}

.nav__panel {
  width: 100%;
}
 
.nav__panel-head,
.nav__close {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list > li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav__list > li > a,
.nav__list > li > button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--brand-2);
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav__list > li > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav__list > li > a:hover,
.nav__list > li > a:focus-visible,
.nav__list > li.current-menu-item > a,
.nav__list > li.current-menu-ancestor > a {
  color: var(--brand);
}

.nav__list > li > a:hover::after,
.nav__list > li > a:focus-visible::after,
.nav__list > li.current-menu-item > a::after,
.nav__list > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* Submenu (WordPress .sub-menu) */
.nav__list > li.menu-item-has-children {
  position: relative;
}

.nav__list > li.menu-item-has-children > a {
  padding-right: 28px;
}

.nav__submenu-toggle .nav__chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav__list > li.menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.nav__submenu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(35, 38, 61, 0.12);
  border-radius: 10px;
  background: #fff;
  color: var(--brand-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.nav__submenu-toggle:hover,
.nav__submenu-toggle:focus-visible {
  border-color: rgba(35, 38, 61, 0.24);
  background: var(--bg-alt);
  color: var(--brand);
}

.nav__submenu-toggle .nav__chevron {
  margin-left: 0;
}

.nav__list > li.is-submenu-open > .nav__submenu-toggle .nav__chevron {
  transform: rotate(-135deg) translateY(-1px);
}

.nav__list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list .sub-menu a {
  display: block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--brand-2);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav__list .sub-menu a:hover,
.nav__list .sub-menu a:focus-visible,
.nav__list .sub-menu .current-menu-item > a {
  color: var(--brand);
}

/* Desktop dropdown */
@media (min-width: 1024px) {
  .nav__submenu-toggle{display: none !important;}
  .nav__list > li.menu-item-has-children:hover > a::before,
  .nav__list > li.menu-item-has-children:focus-within > a::before {
    transform: translateY(-30%) rotate(-135deg);
  }

  .nav__list .sub-menu {
    position: absolute;
    top: calc(100% - 4px);
    left: 50%;
    z-index: 120;
    min-width: 220px;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(35, 38, 61, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 27, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav__list > li.menu-item-has-children:hover > .sub-menu,
  .nav__list > li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav__list .sub-menu li {
    margin: 0;
    padding: 0;
  }

  .nav__list .sub-menu a {
    padding: 10px 14px;
    border-radius: 8px;
    white-space: nowrap;
  }

  .nav__list .sub-menu a:hover,
  .nav__list .sub-menu a:focus-visible,
  .nav__list .sub-menu .current-menu-item > a {
    background: var(--bg-alt);
  }
}

.nav__cta {
  margin-left: 4px;
}

.nav__cta .btn {
  white-space: nowrap;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(35, 38, 61, 0.12);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav__toggle:hover,
.nav__toggle:focus-visible {
  border-color: rgba(35, 38, 61, 0.24);
  background: var(--bg-alt);
}

.nav__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-2);
  transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Header BBB badge */
.bbb--header .bbb__logo {
  width: auto;
  height: 38px;
  max-width: 110px;
}

.bbb--header .bbb__line1 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.8125rem;
}

.bbb--header .bbb__line2 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.75rem;
}

.bbb--mini {
  display: none;
}

.bbb--mini .bbb__logo--mini {
  width: auto;
  height: 32px;
  max-width: 72px;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .header {
  z-index: 101;
}

/* ─── Buttons (unified) ──────────────────────────────────────── */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--btn-radius);
  background: var(--brand);
  color: #fff;
  font-family: var(--btn-font);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(35, 38, 61, 0.18);
  transition: var(--btn-transition);
}

.btn:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(35, 38, 61, 0.24);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(35, 38, 61, 0.18);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
  box-shadow: 0 2px 8px rgba(35, 38, 61, 0.12);
}

.btn--sm:hover {
  box-shadow: 0 6px 16px rgba(35, 38, 61, 0.18);
}

.btn--gold {
  background: var(--accent);
  border-color: var(--accent);
  color: #111827;
  box-shadow: 0 4px 14px rgba(181, 152, 78, 0.28);
}

.btn--gold:hover {
  background: #c9aa52;
  border-color: #c9aa52;
  color: #111827;
  box-shadow: 0 8px 22px rgba(181, 152, 78, 0.38);
}

.btn--gold:active {
  background: #e6b136;
  border-color: #e6b136;
  box-shadow: 0 4px 12px rgba(181, 152, 78, 0.24);
}

.btn--gold:focus-visible {
  outline-color: var(--brand-2);
}

.btn--outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(35, 38, 61, 0.2);
}

.btn--ghost {
  background: transparent;
  border-color: #cbd5e1;
  color: var(--brand-2);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(54, 55, 96, 0.05);
  border-color: var(--accent);
  color: var(--brand);
  box-shadow: 0 0 0 3px rgba(181, 152, 78, 0.14);
  transform: translateY(-2px);
}

.btn--ghost:active {
  transform: translateY(0);
  box-shadow: 0 0 0 2px rgba(181, 152, 78, 0.12);
}

.btn--ghost.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(35, 38, 61, 0.18);
  transform: none;
}

.btn--ghost.active:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(35, 38, 61, 0.22);
}

/* Hero: ghost on dark overlay */
.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(17, 24, 39, 0.22);
  backdrop-filter: saturate(160%) blur(6px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.hero .btn--ghost:active {
  background: rgba(255, 255, 255, 0.12);
}

/* Hero */
.hero {
  position: relative;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 50%)
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: flex-start;
  padding-block: clamp(64px, 10vw, 96px);
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e9eaf3;
  color: var(--brand-2);
  font-weight: 700;
  font-size: .8rem;
  margin: 0 0 12px;
  line-height: 1.25;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 12px;
  color: #fff
}

.accent {
  color: #fff
}

.lead {
  color: #f1f5f9;
  font-size: 1.125rem;
  max-width: 48ch
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px
}

.hero__facts {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #e2e8f0;
  padding: 0;
  margin: 20px 0 0;
  list-style: none
}
ul.hero__facts li { width: calc(50% - 9px); }
.hero__facts li>a { padding-left: 15px; position: relative; } 
.hero__facts li>a:before { content: ''; height: 6px; width: 6px; background: #fff; position: absolute; border-radius: 50%; left: 0; top: 7px; }
/* Form card */
.card {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px
}

.card h2 {
  margin: 0 0 4px
}

.form .muted {
  margin: 0 0 14px
}

.form .grid {
  display: grid;
  gap: 12px
}

.grid--two {
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit
}

input::placeholder {
  color: #9aa5b1
}

.tiny {
  font-size: .8rem
}

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

/* Trust row */
.trust {
  border-top: 1px solid #eef2f7;
  background: #fff
}

.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
  padding-block: 24px;
  color: var(--muted);
  text-align: center;
}

.trust__logo {
  height: 38px;
  margin: 0 auto;
  opacity: .9;
  filter: grayscale(.1)
}

/* Sections */
.section {
  padding-block: clamp(48px, 8vw, 72px);
}
section.section.hero--sub + section.section { padding-top: 0; }
.section--alt {
  background: var(--bg-alt)
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
  color: var(--brand-2)
}

/* Tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px
}

.tile {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px
}

.tile h3 {
  margin: 0 0 8px;
  color: var(--brand-2)
}

.tile ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted)
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px
}

.step {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 20px;
  background: #fff
}

.step__num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800
}

.step h3 {
  margin: 10px 0 6px;
  color: var(--brand-2)
}

.step p {
  margin: 0;
  color: var(--muted)
}

/* Cards — upgraded look */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(293px, 1fr));
  gap: 20px;
  margin-top: 24px
}

.card {
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 27, 42, .12);
}

.card__media {
  position: relative;
  height: auto;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #eef2f7;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .45) 100%);
  pointer-events: none;
  z-index: 1;
}

.card__chips {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
  backdrop-filter: saturate(140%) blur(6px);
}

.chip--gold {
  background: #B5984E;
  color: #111827;
}

.chip--dark {
  background: rgba(17, 24, 39, .65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
}

.card__body {
  padding: 14px 16px 16px;
}

.card__body h3 {
  margin: 0 0 6px;
  color: var(--brand-2);
  font-weight: 700;
}

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

/* Quotes — base grid (styled in #reviews) */
.review__footer { padding-top: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.quotes {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

/* FAQ — base (styled in #faq) */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  text-align: center;
  padding-block: clamp(48px, 8vw, 72px);
}

.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 8px;
}

.cta__inner p {
  color: #e2e8f0
}
.cta__inner .tiny a{
  color: var(--accent);
  text-decoration: none;
}
.cta__inner .tiny a:hover { text-decoration: underline; }
.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  margin-top: 18px
}
.cta__form form .box-field { width: calc(50% - 110px); } 
.cta__form form  .box-field.submit { width: 196px;position: relative;} 
.cta__form form .wpcf7-response-output { width: 100%; }
.cta input {
  border: none;
  border-radius: 12px;
  padding: 12px 14px
}
.cta__form form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; } 
section#quote .cta__form { display: block; margin: 0; } 
.cta__form form p { margin: 0; } 
.cta__form form input { height: 48px; } 
.cta__form span.wpcf7-spinner { position: absolute; }
/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center
}

.about__media {
  height: 260px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e9efff, #eef2f7);
  box-shadow: var(--shadow);
  background-size: cover;
}
.about .bullets { grid-template-columns: repeat(1, 1fr); padding-left: 10px; }
.bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none
}

.bullets li {
  padding-left: 15px;
  position: relative
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9.4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--brand-2);
  color: rgba(255, 255, 255, 0.88);
  border-top: 3px solid var(--accent);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(48px, 6vw, 72px) 0 clamp(36px, 4vw, 48px);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: clamp(0px, 2vw, 24px);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: fit-content;
}

.footer__logo-img {
  display: block;
  height: clamp(34px, 4vw, 42px);
  width: auto;
  max-width: 220px;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  margin: 0;
  max-width: 28ch;
  font-family: var(--btn-font);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.footer__heading {
  margin: 0 0 18px;
  font-family: var(--btn-font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--btn-font);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: #fff;
}

.footer__address {
  font-family: var(--btn-font);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

.footer__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer__licensing {
  font-family: var(--btn-font);
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}
.footer__licensing .footlist{
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer__licensing p {
  margin: 0 0 10px;
}

.footer__licensing p:last-child {
  margin-bottom: 0;
}

.footer__licensing a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__licensing a:hover,
.footer__licensing a:focus-visible {
  color: #fff;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__socials a {
  position: relative;
  padding-block: 2px;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer__socials a img{height: 24px; width: auto;}
.footer__socials a:hover,
.footer__socials a:focus-visible {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 24px;
}

.footer__copyright {
  margin: 0;
  text-align: center;
  font-family: var(--btn-font);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
section#quote>.cta__inner>.wpcf7 { max-width: 600px; margin: 0 auto; }
/* Card title row: compact location + asset type */
.card__body {
  padding: 12px 14px 14px;
}

.card__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.card__place {
  font-weight: 800;
  color: var(--brand-2);
  font-size: 1.02rem;
}

.card__type {
  font-weight: 600;
  color: var(--muted);
  font-size: .95rem;
}

.card__title .dot {
  color: #cbd5e1;
}

/* Hover effect parity for Steps */
.step {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 27, 42, .12);
  border-color: #e2e8f0;
}

/* BBB badge */
.bbb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.bbb__logo {
  width: 34px;
  height: 34px;
  display: inline-block
}

.bbb__text {
  display: flex;
  flex-direction: column;
  line-height: 1
}

.bbb__line1 {
  font-weight: 800;
  color: var(--brand-2);
  font-size: .95rem
}

.bbb__line2 {
  font-weight: 600;
  color: var(--muted);
  font-size: .85rem
}

.bbb__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e9eaf3;
  color: var(--brand-2);
  font-weight: 800;
  font-size: .82rem
}

.trust__inner .bbb {
  justify-self: center
}

/* ===============================
     Programs section: full-bleed on desktop with auto-fit tiles
     =============================== */

/* Sticky mobile CTA — matches .btn--gold */
.sticky-quote {
  position: fixed;
  right: clamp(12px, 4vw, 24px);
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid var(--accent);
  border-radius: var(--btn-radius);
  background: var(--accent);
  color: #111827;
  font-family: var(--btn-font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(181, 152, 78, 0.38);
  transition: var(--btn-transition);
}

.sticky-quote:hover {
  background: #c9aa52;
  border-color: #c9aa52;
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(181, 152, 78, 0.42);
}

.sticky-quote:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(181, 152, 78, 0.3);
}

.sticky-quote:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}

.sticky-quote__icon {
  width: 18px;
  height: 18px;
  display: inline-block
}

.sticky-quote__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: #111827
}

/* Programs grid tuned for four canonical products */


/* Financing Programs tiles: match card hover animation */
.tile {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Programs tiles: tighter spacing without buttons */
#programs .tile {
  padding-bottom: 18px;
}

#programs .tile ul {
  margin-bottom: 0;
}

#programs .programs__head {
  display: block;
  align-items: unset;
  margin-bottom: clamp(28px, 4vw, 44px);
}

#programs .programs__intro {
  max-width: 42rem;
}

#programs .programs__sub {
  margin: 12px 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
}

#programs .programs__tiles {
  margin-top: 0;
}

#programs .programs__footer {
  padding-top: clamp(28px, 3vw, 40px);
  display: flex;
  justify-content: center;
}


/* ─── Reviews (#reviews) ─────────────────────────────────────── */
#reviews {
  padding-block: clamp(48px, 8vw, 72px);
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}

#reviews .reviews__head {
  margin-bottom: clamp(28px, 4vw, 44px);display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
#reviews .reviews__head img{height: 20px; width: auto;}
#reviews .reviews__head h2 {
  margin: 0;
}

#reviews .reviews__grid {
  margin-top: 0;
  gap: clamp(20px, 2.5vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(293px, 1fr));
}

#reviews .review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  padding: clamp(24px, 3vw, 28px);
  border: 1px solid rgba(35, 38, 61, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 27, 42, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#reviews .review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(181, 152, 78, 0.35));
}

#reviews .review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(181, 152, 78, 0.28);
  box-shadow: 0 18px 36px rgba(15, 27, 42, 0.1);
}

#reviews .review-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(181, 152, 78, 0.12);
  color: var(--accent);
}

#reviews .review-card__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

#reviews .review-card__text {
  flex: 1;
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}

#reviews .review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(35, 38, 61, 0.08);
}

#reviews .review-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(181, 152, 78, 0.95), rgba(212, 158, 45, 0.88));
  color: #111827;
  font-family: var(--btn-font);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

#reviews .review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
  min-width: 0;
}

#reviews .review-card__name {
  font-family: var(--btn-font);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-2);
  line-height: 1.3;
}

#reviews .review-card__role {
  font-family: var(--btn-font);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}


/* ─── FAQ (#faq) ─────────────────────────────────────────────── */
#faq {
  padding-block: clamp(48px, 8vw, 72px);
  background: #fff;
}

#faq .faq__head {
  max-width: 42rem;
  margin: 0 auto clamp(28px, 4vw, 40px);
  text-align: center;
}

#faq .faq__head h2 {
  margin: 0;
}

#faq .faq__list {
  max-width: 52rem;
  margin-inline: auto;
  gap: clamp(10px, 1.5vw, 14px);
}

#faq .faq {
  position: relative;
  margin: 0;
  border: 1px solid rgba(35, 38, 61, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 27, 42, 0.04);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#faq .faq:hover {
  border-color: rgba(181, 152, 78, 0.22);
}

#faq .faq.is-open {
  border-color: rgba(181, 152, 78, 0.35);
  box-shadow: 0 10px 28px rgba(15, 27, 42, 0.08);
}


#faq .faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: clamp(18px, 2.5vw, 22px) clamp(18px, 2.5vw, 24px);
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.25s ease;
}

#faq .faq__summary:hover {
  background: rgba(54, 55, 96, 0.03);
}

#faq .faq.is-open .faq__summary {
  background: rgba(181, 152, 78, 0.06);
}

#faq .faq__question {
  font-family: var(--btn-font);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--brand-2);
  transition: color 0.25s ease;
}

#faq .faq.is-open .faq__question {
  color: var(--brand);
}

#faq .faq__toggle {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(181, 152, 78, 0.12);
  transition: background-color 0.25s ease;
}

#faq .faq__toggle::before,
#faq .faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.25s ease;
}

#faq .faq__toggle::before {
  width: 12px;
  height: 2px;
}

#faq .faq__toggle::after {
  width: 2px;
  height: 12px;
}

#faq .faq.is-open .faq__toggle {
  background: rgba(181, 152, 78, 0.18);
}

#faq .faq.is-open .faq__toggle::before {
  opacity: 1;
}

#faq .faq.is-open .faq__toggle::after {
  opacity: 0;
  height: 14px;
  background: var(--accent);
}

#faq .faq__content {
  height: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#faq .faq__content-inner{
  padding: 22px clamp(18px, 2.5vw, 24px) clamp(18px, 2.5vw, 22px);
}
#faq .faq__content-inner p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--muted);
}


/* Utilities */
.mt-8 {
  margin-top: 8px
}

.mt-14 {
  margin-top: 14px
}

.mt-18 {
  margin-top: 18px
}

.mt-24 {
  margin-top: 1.5rem
}

.form__iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}
.hero__media-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 4px);
}

.hero__video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
}

.hero__video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ─── About page sections (Story, Values) ────────────────────── */
.about-section {
  padding-block: clamp(48px, 8vw, 72px);
}

.about-section:not(.story-hero) {
  background: #fff;
}

#values.about-section {
  background: var(--bg-alt);
}

.about-head {
  max-width: 42rem;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.about-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--brand-2);
}

.about-head .muted {
  margin: 12px 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Story hero */
.story-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 72px);
  background-color: var(--brand-2);
  background-image: url('../images/story-hero-bg.png');
  background-size: cover;
  background-position: center;
}

.story-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(35, 38, 61, 0.92) 0%, rgba(54, 55, 96, 0.78) 45%, rgba(35, 38, 61, 0.88) 100%);
  pointer-events: none;
}

.story-hero__inner {
  position: relative;
  z-index: 1;
}

.story-hero__head {
  max-width: 44rem;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.story-hero__head h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  color: #fff;
}


.story-hero__head p {
  margin: 0;
  font-family: var(--btn-font);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}


.story-hero__content p {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.0625rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
}

.story-hero__content p + p {
  padding-top: clamp(14px, 2vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Values */
.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 2vw, 16px);
}

.values-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 16px;
  padding: clamp(18px, 2.5vw, 22px);
  border: 1px solid rgba(35, 38, 61, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 27, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.values-item:hover {
  transform: translateY(-3px);
  border-color: rgba(181, 152, 78, 0.24);
  box-shadow: 0 12px 28px rgba(15, 27, 42, 0.08);
}

.values-item:last-child {
  border-bottom: none;
}

.values-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(181, 152, 78, 0.14);
  color: var(--accent);
  box-shadow: none;
}

.values-item .icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.values-item h3 {
  margin: 0;
  font-family: var(--btn-font);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand-2);
}

.values-item p {
  margin: 6px 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Compact buttons: filters, cards, team */
.team__filters .btn,
#programs-catalog .filters .btn,
.person__actions .btn {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

/* Team: filters + card grid */
.team__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.team__grid {
  display: flex;
  flex-flow: column;
  gap: 20px;
  margin-top: 24px;
}

.person {
  display: flex;
  flex-direction: column;
  padding: 20px;
  width: 100%;
}

.person__head {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.person__head .meta { width: calc(100% - 275px); }
.person__head .meta h3 {
  margin: 0;
  color: var(--brand-2);
  font-size: 1.05rem;
}

.person__head .role {
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  margin-top: 2px;
}

.person__head .loc {
  font-size: .82rem;
  margin-top: 2px;
}

.person .blurb {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.person__actions {
  margin-top: 16px;
}

/* Team minor helpers—kept unique to avoid conflicts */
.person .avatar-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.person .avatar.initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: radial-gradient(60% 60% at 30% 30%, rgba(255, 215, 128, 1), rgba(212, 158, 45, .92));
  color: #111;
}
.person-modal__initials[hidden] { display: none; }
.person.card.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}

.person.card.reveal.in {
  opacity: 1;
  transform: none;
}

/* Person bio modal */
.modal--person .modal__dialog {
  max-width: 640px;
  width: min(96%, 640px);
}

.person-modal__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1rem;
}

.person-modal__media {
  flex-shrink: 0;
}

.person-modal__image {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.person-modal__initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  background: radial-gradient(60% 60% at 30% 30%, rgba(255, 215, 128, 1), rgba(212, 158, 45, .92));
  color: #111;
}

.person-modal__meta h3 {
  margin: 0 0 4px;
  color: var(--brand-2);
}

.person-modal__intro {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 500;
}

.person-modal__bio {
  margin: 0;
  line-height: 1.65;
  color: var(--ink);
}

/* Full Program Guide hero tweaks and hierarchy */
.section.hero--sub .lead {
  font-weight: 500;
  max-width: 100%;
  color: var(--ink);
  opacity: .9;
}

@supports (color: color-mix(in srgb, red, white)) {
  .section.hero--sub .lead {
    color: color-mix(in srgb, var(--ink) 85%, white 15%);
    opacity: 1;
  }
}

.section.hero--sub h1 {
  color: var(--ink);
}

/* Programs catalog grid */
#programs-catalog .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

#programs-catalog .filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Program card padding (cards had no inner spacing) */
#programs-catalog .program.card {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

#programs-catalog .program.card h3 {
  margin: 0 0 8px;
  color: var(--brand-2);
}

#programs-catalog .program.card p {
  margin: 0;
}
.section section#about { padding: 0; } .section section#about .container { padding: 0; }
/* ─── Recently Funded (#funded) ──────────────────────────────── */
#funded {
  padding-block: clamp(48px, 8vw, 72px);
}

#funded .funded__head {
  display: block;
  align-items: unset;
  margin-bottom: clamp(28px, 4vw, 44px);
}

#funded .funded__intro {
  max-width: 42rem;
}

#funded .funded__sub {
  margin: 12px 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
}

#funded .funded__cards {
  margin-top: 0;
  gap: clamp(20px, 2.5vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(293px, 1fr));
}

#funded .card {
  border: 1px solid rgba(35, 38, 61, 0.08);
  box-shadow: 0 4px 18px rgba(15, 27, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#funded .card:hover {
  transform: translateY(-4px);
  border-color: rgba(181, 152, 78, 0.28);
  box-shadow: 0 18px 36px rgba(15, 27, 42, 0.12);
}

#funded .card__media {
  aspect-ratio: 4 / 3;
}

#funded .card__media img {
  transition: transform 0.4s ease;
}

#funded .card:hover .card__media img {
  transform: scale(1.04);
}

#funded .card__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(17, 24, 39, 0.55) 100%);
}

#funded .card__chips {
  left: 14px;
  bottom: 14px;
  gap: 6px;
}

#funded .chip {
  font-family: var(--btn-font);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  padding: 5px 10px;
}

#funded .card__body {
  padding: 16px 18px 18px;
}

#funded .card__title {
  gap: 10px;
  align-items: center;
}

#funded .card__place {
  font-family: var(--btn-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#funded .card__type {
  font-family: var(--btn-font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}

#funded .card__title .dot {
  color: #d1d5db;
  font-size: 0.75rem;
  line-height: 1;
}

#funded .funded__footer {
  padding-top: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#funded .funded__more {
  display: flex;
  justify-content: center;
}

#funded .funded__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cta__inner form label { text-align: left; margin-bottom: 5px; }
.inncap_footer_text p{font-size: 14px;text-align: justify;}
/* ─── Responsive ─────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .nav__list {
    gap: 4px 10px;
  }

  .nav__cta {
    margin-left: 8px;
  }
}

@media (min-width: 1024px) {
  .header__actions {
    display: none !important;
  }

  .header__bbb {
    display: flex;
  }

  .nav__list {
    gap: 4px 4px;
  }

  .sticky-quote {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1140px) {
  .bbb--header .bbb__text {
    display: none;
  }

  .bbb--header .bbb__logo {
    max-width: 96px;
  }
}

@media (min-width: 900px) {
  .values-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1023.98px) {
  .header__inner {
    grid-template-columns: 1fr auto;
    column-gap: 16px;
    min-height: 64px;
    padding-block: 10px;
  }

  .header__actions {
    display: flex;
  }

  .bbb--mini {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 27, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 98;
  }

  .nav__backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .nav__panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100dvh;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: -12px 0 40px rgba(15, 27, 42, 0.12);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 99;
  }

  .nav__panel-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
  }

  .nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(35, 38, 61, 0.12);
    border-radius: 12px;
    background: #fff;
    color: var(--brand-2);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  }

  .nav__close:hover,
  .nav__close:focus-visible {
    border-color: rgba(35, 38, 61, 0.24);
    background: var(--bg-alt);
    color: var(--brand);
  }

  .nav__close svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    fill: none;
  }

  .nav__panel.is-open {
    transform: translateX(0);
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
  }

  .nav__list > li > a,
  .nav__list > li > button {
    width: 100%;
    padding: 14px 12px;
    font-size: 0.9375rem;
    border-radius: 10px;
  }

  .nav__list > li > a::after {
    display: none;
  }

  .nav__list > li > a:hover,
  .nav__list > li > a:focus-visible {
    background: var(--bg-alt);
  }

  /* Mobile submenu accordion */
  .nav__list > li.menu-item-has-children {
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
  }

  .nav__list > li.menu-item-has-children > a {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding-right: 12px;
  }

  .nav__list > li.menu-item-has-children > a::before {
    display: none;
  }

  .nav__submenu-toggle {
    display: inline-flex;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    flex: 0 0 auto;
  }

  .nav__list .sub-menu {
    display: none;
    flex: 1 1 100%;
    width: 100%;
    margin: 0 0 4px;
    padding: 4px 0 4px 12px;
    border-left: 2px solid rgba(230, 177, 54, 0.45);
  }

  .nav__list > li.is-submenu-open > .sub-menu {
    display: block;
  }

  .nav__list .sub-menu a {
    padding: 12px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
  }

  .nav__list .sub-menu a:hover,
  .nav__list .sub-menu a:focus-visible,
  .nav__list .sub-menu .current-menu-item > a {
    background: var(--bg-alt);
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
  }

  .nav__cta .btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  .footer {
    padding-bottom: 0px;
  }
}

@media (max-width: 992px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: clamp(48px, 8vw, 64px);
  }

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

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

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

  .about__media {
    min-height: 220px;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .trust__inner {
    grid-template-columns: repeat(1, 1fr);
  }
  .trust__inner p{margin: 0;}
  .trust__inner .bbb__logo {
    width: 30px;
    height: 30px;
  }

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

  .cta__form .btn {
    width: 100%;
  }

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

  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px){
  .cta__form form .box-field { width: 100%; } .cta__form form .box-field.submit { width: 100%; }
  .person__head { flex-flow: column; align-items: center; } .person__head .meta { width: 100%; text-align: center; }
}
@media (max-width: 640px) {
  .topbar__inner {
    flex-direction: column;
    gap: 8px;
    padding-block: 10px 12px;
  }


  .topbar__socials {
    gap: 4px 12px;
  }


  .hero__facts {
    gap: 8px 18px;
  }

  .hero .card.form {
    padding: 16px;
  }

  .form__iframe {
    height: min(560px, 68vh) !important;
  }

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

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

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

  .trust__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust__logo {
    height: 32px;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #about .btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  .lead {
    font-size: 1rem;
  }


  #programs .programs__footer {
    justify-content: stretch;
  }


  #reviews .reviews__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #reviews .review-card__text {
    font-size: 0.975rem;
  }

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

  #funded .funded__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #funded .funded__footer {
    align-items: stretch;
  }

}

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

  .footer__tagline {
    max-width: none;
  }

  .card__place {
    font-size: 1rem;
  }

  .card__type {
    font-size: 0.9rem;
  }
  .btn-hero-link.btn.btn--gold { padding: 10px 12px; }
  ul.hero__facts li { width: 100%; }
  .footer__socials{border-top: 0px;padding-top: 0px;}
}

@media (prefers-reduced-motion: reduce) {
  #faq .faq,
  #faq .faq__summary,
  #faq .faq__question,
  #faq .faq__toggle,
  #faq .faq__toggle::before,
  #faq .faq__toggle::after,
  #faq .faq__content {
    transition: none;
  }
}

/* Shared modal system — used by the team bio modal and every block's
   quote/call CTA modal. Modal ids are generated per block instance
   (e.g. "cards-grid-1-quote"), not fixed like the original static
   markup's #quote-modal/#call-modal, so width variants are done with
   .modal--call / .modal--quote modifier classes instead of ids. */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(3px) saturate(120%);
}

.modal__dialog {
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, .12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .40), 0 8px 24px rgba(0, 0, 0, .18);
  max-width: 720px;
  width: min(96%, 720px);
  transform: scale(.96);
  opacity: 0;
  transition: transform .18s ease-out, opacity .18s ease-out;
}

.modal--call .modal__dialog {
  max-width: 480px;
  width: min(92%, 480px);
}

.modal--quote .modal__dialog {
  max-width: 740px;
  width: min(96%, 740px);
}

.modal.open .modal__dialog {
  transform: scale(1);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 0;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
}

.modal__actions {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Quote form embed styling inside any modal */
.modal .card {
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, .08);
}

.modal form label {
  display: block;
  margin: .5rem 0;
}

.modal form input,
.modal form select,
.modal form textarea {
  width: 100%;
  padding: .6rem .7rem;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 10px;
}

.modal .btn[type="submit"] {
  margin-top: .5rem;
}
