/* SFV MAPA — the whole design system. Desktop mirrors the GoHighLevel site
   measured at 1280px; below 1025px and 768px the layout reflows. */
:root {
  --navy: #003049;
  --red: #b30000;
  --gray: #f0f3f4;
  --soft: #f7f7f7;
  --ink: #000;
  --muted: #8a8a8a;
  --wrap: 1170px;
  --gutter: 20px;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --roboto: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 10px; top: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1em; height: 1em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 31px; border-radius: 999px;
  background: var(--navy); color: #fff; border: 2px solid var(--navy);
  font: 500 15px/1.1 var(--roboto); text-align: center; cursor: pointer;
  transition: opacity .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { opacity: .88; }
.btn:focus-visible, .btn-join:focus-visible, .form-submit:focus-visible { outline: 3px solid #7fb3d5; outline-offset: 3px; }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--outline { background: transparent; color: var(--navy); font-weight: 700; padding: 9px 25px; }
.btn--outline:hover { background: var(--navy); color: #fff; opacity: 1; }

/* ---------- header ---------- */
.site-header { background: var(--navy); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 220px; padding-left: 75px; padding-right: 75px; max-width: none; }
.brand img { width: 180px; height: 180px; }
.nav { display: flex; align-items: center; gap: 50px; }
.nav-link { color: #fff; font: 400 16px/1 var(--sans); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-link[aria-current="page"] { border-bottom-color: rgba(255,255,255,.6); }
.btn-join {
  display: inline-block; margin-left: 15px; background: var(--red); color: #fff;
  font: 700 18px/1 var(--sans); padding: 13px 55px; border-radius: 999px;
}
.btn-join:hover { opacity: .9; }
.burger { display: none; }

/* ---------- section scaffolding ---------- */
.section { padding: 90px 0; }
.section-tight { padding: 40px 0 30px; }
.bg-gray { background: var(--gray); }
.bg-navy { background: var(--navy); }
.h-section { font: 700 30px/1.25 var(--sans); color: var(--navy); text-align: center; margin-bottom: 55px; }
.h-roboto { font-family: var(--roboto); }
.h-white { color: #fff; }

/* ---------- hero (home + memberships) ---------- */
.hero { padding: 50px 0 60px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 550px; gap: 20px; align-items: center; padding-left: 65px; padding-right: 75px; max-width: none; }
.hero h1 { font: 700 40px/1.33 var(--sans); color: var(--navy); margin-bottom: 22px; }
.hero-copy p { font: 400 18px/1.33 var(--sans); margin-bottom: 30px; }
.hero-media img { width: 100%; aspect-ratio: 550 / 364; object-fit: cover; }

/* ---------- photo + card rows ---------- */
.split { display: grid; align-items: center; }
.split-media img { width: 100%; object-fit: cover; }
.split--who { grid-template-columns: 451px minmax(0, 1fr); gap: 36px; padding-left: 75px; padding-right: 70px; max-width: none; }
.split--who .split-media img { aspect-ratio: 451 / 325; }
.card-soft { background: var(--soft); border-radius: 24px; padding: 64px 110px 60px 66px; }
.card-soft h2 { font: 700 32px/1.25 var(--sans); color: var(--navy); margin-bottom: 14px; }
.card-soft p { font: 400 18px/1.35 var(--sans); margin-bottom: 30px; }

.split--voices { grid-template-columns: 444px minmax(0, 1fr); gap: 35px; padding-left: 75px; padding-right: 70px; max-width: none; }
.split--voices .split-media img { aspect-ratio: 444 / 333; }
.card-navy { background: var(--navy); color: #fff; border-radius: 16px; padding: 56px 120px 52px 66px; }
.card-navy h2 { font: 700 32px/1.25 var(--sans); margin-bottom: 14px; }
.card-navy .h-roboto { font-family: var(--roboto); }
.card-navy p { font: 400 18px/1.35 var(--sans); margin-bottom: 30px; }

/* ---------- slider ---------- */
.slider-section { background: var(--gray); padding: 46px 0; }
.slider { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 1000 / 523; overflow: hidden; background: #111; }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline: 3px solid #7fb3d5; outline-offset: -3px; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; background: transparent; color: rgba(255,255,255,.55);
  font-size: 26px; cursor: pointer; padding: 0;
}
.slider-arrow:hover, .slider-arrow:focus-visible { color: #fff; }
.slider-prev { left: 4px; }
.slider-next { right: 4px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 9px; }
.slider-dots button { width: 14px; height: 14px; border-radius: 3px; border: 0; padding: 0; background: rgba(255,255,255,.92); cursor: pointer; }
.slider-dots button[aria-current="true"] { background: var(--navy); }
html:not(.js) .slider-arrow, html:not(.js) .slider-dots { display: none; }

/* ---------- three-card rows ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 321px); justify-content: center; gap: 30px; }
.commit { padding: 88px 0 116px; }
.commit .h-section { margin-bottom: 44px; }
.photo-card { background: #fff; border-radius: 12px; padding: 6px 6px 34px; }
.photo-card img { width: 100%; aspect-ratio: 309 / 232; object-fit: cover; border-radius: 6px 6px 0 0; }
.photo-card h3 { font: 700 18px/1.4 var(--sans); color: var(--navy); text-align: center; margin: 18px 34px 14px; }
.photo-card p { font: 400 15px/1.38 var(--sans); padding: 0 19px; }

.cards3--icons { row-gap: 50px; }
.gi-card { position: relative; background: #fff; border-radius: 24px; padding: 72px 30px 34px; text-align: center; }
.gi-card .tile { position: absolute; top: -18px; left: 52px; width: 57px; height: 57px; }
.gi-card h3 { font: 700 19px/1.37 var(--sans); color: var(--navy); margin-bottom: 10px; min-height: 52px; }
.gi-card p { font: 400 18px/1.36 var(--sans); margin-bottom: 30px; min-height: 50px; }
.gi-card--left { padding: 72px 35px 56px; }
.gi-card--left .tile { left: 38px; width: 64px; height: 64px; border-radius: 6px; }
.gi-card--left h3 { margin-bottom: 8px; }
.gi-card--left p { font-size: 15px; line-height: 1.37; text-align: left; margin-bottom: 0; min-height: 0; }

/* icon tiles: a white Lucide glyph on a colored rounded square */
.tile { display: inline-grid; place-items: center; color: #fff; border-radius: 4px; font-size: 32px; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.tile .ico { stroke-width: 1.7; }
.tile--red { background: var(--red); }
.tile--yellow { background: #fbbf47; }
.tile--orange { background: #f88000; }
.tile--crimson { background: #d72827; }
.tile--stat { width: 67px; height: 69px; font-size: 40px; }

/* ---------- why this matters ---------- */
.why { padding: 70px 0 130px; }
.why .h-section { margin-bottom: 50px; }
.stats { display: grid; grid-template-columns: 1fr 4px 1fr 4px 1fr; align-items: center; max-width: 1100px; margin: 0 auto; }
.stat { display: flex; align-items: center; justify-content: center; gap: 48px; }
.stat p { font: 400 18px/1.4 var(--sans); max-width: 150px; }
.stat strong { display: block; font-weight: 700; }
.vbar { display: block; width: 4px; height: 80px; background: var(--navy); border-radius: 2px; }

/* ---------- inner-page hero ---------- */
.page-hero { padding: 125px 0 125px; }
.page-hero .wrap { padding-left: 60px; max-width: none; }
.page-hero h1 { font: 700 44px/1.23 var(--sans); color: var(--navy); margin-bottom: 14px; }
.page-hero p { font: 400 18px/1.35 var(--sans); max-width: 620px; }
.notfound { text-align: left; }
.notfound-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- about ---------- */
.about-rows { padding: 50px 0 80px; }
.about-rows > .wrap { max-width: none; padding: 0 70px 0 75px; }
.split--story { grid-template-columns: 537px minmax(0, 1fr); gap: 35px; padding: 0 0 80px; }
.split--flip { grid-template-columns: minmax(0, 1fr) 537px; margin-left: -5px; }
.split--story .split-media img { aspect-ratio: 537 / 402; }
.card-navy--story { border-radius: 24px; padding: 104px 70px 110px 66px; min-height: 422px; display: flex; flex-direction: column; justify-content: center; }
.card-navy--story p { margin-bottom: 0; }
.civic-title { font-size: 32px; margin: 10px 0 70px; }

.board { padding: 70px 0 60px; }
.board-intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 0 90px; margin-bottom: 80px; }
.board-intro h2 { font: 800 60px/1.33 var(--sans); color: var(--navy); }
.board-intro p { font: 400 18px/1.55 var(--sans); max-width: 520px; }
.board-grid { list-style: none; margin: 0; padding: 0 40px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 20px; }
.member { text-align: center; font-family: "Lato", var(--sans); }
/* the headshots already carry their gradient ring (it's part of each photo) */
.ring { display: block; width: 168px; height: 168px; margin: 0 auto 30px; border-radius: 50%; overflow: hidden; }
.ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.member h3 { font: 700 20px/1.2 "Lato", var(--sans); color: var(--navy); }
.member p { font: 400 16px/1.4 "Lato", var(--sans); color: var(--muted); margin-bottom: 26px; }
.member-mail { display: inline-grid; place-items: center; color: var(--navy); font-size: 20px; padding: 6px; }
.member-mail .ico { stroke-width: 1.5; }

/* ---------- contact ---------- */
.contact-hero {
  position: relative; padding: 41px 0 60px; color: #fff;
  background: linear-gradient(rgba(0, 48, 73, .78), rgba(0, 48, 73, .78)), url("/assets/img/contact-backdrop.webp") center / cover no-repeat #2b4f68;
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 594px; gap: 100px; align-items: center; padding-left: 75px; padding-right: 91px; max-width: none; }
.contact-copy h1 { font: 700 25px/1.32 var(--sans); margin-bottom: 55px; max-width: 420px; }
.contact-copy h2 { font: 700 22px/1.36 var(--sans); margin-bottom: 38px; }
.contact-lede { font: 400 16px/1.32 var(--sans); max-width: 420px; margin-bottom: 36px; }
.contact-line { font: 400 14px/1.45 var(--sans); margin-bottom: 16px; }
.contact-line a:hover { text-decoration: underline; }
.contact-copy hr { border: 0; border-top: 1px solid rgba(255,255,255,.85); margin: 22px 0 28px; max-width: 420px; }
.contact-copy .follow { margin-bottom: 20px; }
.follow-links { display: flex; gap: 32px; padding-left: 28px; }
.follow-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #1d2b36; font-size: 30px; }
.follow-link:hover { color: var(--navy); }

.form-card { background: #fff; color: #111827; padding: 60px 42px 38px; font-family: "Inter", var(--sans); }
.field { margin-bottom: 26px; }
.field label { display: block; font: 500 14px/1.3 "Inter", var(--sans); margin-bottom: 11px; color: #1f2937; }
.req { color: #1f2937; }
.field input, .field textarea {
  width: 100%; border: 1px solid #c9ced6; border-radius: 4px; background: #fff;
  font: 400 13px/1.3 "Inter", var(--sans); color: #111827; padding: 9px 14px;
}
.field input { height: 36px; }
.field textarea { height: 107px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7280; }
.field input:focus, .field textarea:focus { outline: 2px solid #7fb3d5; outline-offset: 0; border-color: #7fb3d5; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c81e1e; }
.input-icon { position: relative; display: block; }
.input-icon .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #6b7280; font-size: 15px; }
.input-icon input { padding-left: 36px; }
.consent { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 20px; align-items: start; font: 600 14px/1.43 "Inter", var(--sans); color: #1f2937; margin: 4px 0 40px; cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; }
.form-error { color: #b91c1c; font-size: 14px; margin: -20px 0 16px; }
.form-submit {
  display: block; width: 100%; height: 45px; border: 0; border-radius: 3px; background: var(--navy); color: #fff;
  font: 500 16px/1 "Inter", var(--sans); cursor: pointer;
}
.form-submit:hover { opacity: .92; }
.form-submit[disabled] { opacity: .7; cursor: default; }
.form-legal { text-align: center; font: 400 14px/1.4 "Inter", var(--sans); margin-top: 32px; color: #111827; }
.form-legal a { text-decoration: underline; }
.form-thanks { text-align: center; padding: 60px 10px; }
.form-thanks h2 { font: 700 26px/1.3 var(--sans); color: var(--navy); margin-bottom: 12px; }
.form-thanks p { font-size: 17px; line-height: 1.5; }

/* ---------- legal ---------- */
.legal { padding: 45px 0 90px; font-family: "Open Sans", var(--sans); }
.legal .wrap { max-width: 1200px; padding: 0 60px; }
.legal h1, .legal h2 { font: 700 32px/1.3 "Open Sans", var(--sans); color: #16365c; }
.legal h1 { margin-bottom: 4px; }
.legal h2 { margin: 52px 0 6px; }
.legal p { font: 400 18px/1.3 "Open Sans", var(--sans); margin-bottom: 23px; }
.legal a { color: #16365c; text-decoration: underline; word-break: break-word; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 58px 0 20px; }
.site-footer .wrap { max-width: none; padding: 0 55px; }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 20px; margin-bottom: 36px; }
.f-tagline { font: 700 19px/1.3 var(--sans); }
.f-legal { font: 400 13px/1.4 var(--sans); }
.f-legal a:hover, .f-credit a:hover, .f-item:hover span { text-decoration: underline; }
.f-nav { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #fff; padding: 0 25px 20px; }
.f-nav nav { display: flex; gap: 120px; }
.f-nav nav a { font: 700 15px/1.2 var(--roboto); }
.f-nav nav a:hover { text-decoration: underline; }
.f-social { display: flex; gap: 62px; padding-right: 32px; }
.f-social-link { font-size: 21px; display: grid; place-items: center; }
.f-contact { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; align-items: center; padding: 35px 15px 25px; }
.f-logo img { width: 120px; height: 120px; }
.f-item { display: flex; align-items: flex-start; gap: 7px; font: 400 15px/1.3 var(--roboto); justify-self: center; }
.f-item .ico { font-size: 16px; margin-top: 1px; }
.f-contact .f-item:last-child { justify-self: end; margin-right: 80px; }
.f-credit { text-align: center; font: 400 13px/1.4 var(--sans); margin-top: 22px; }

/* ================= tablet ================= */
@media (max-width: 1180px) {
  .site-header .wrap, .hero-grid, .split--who, .split--voices, .contact-grid { padding-left: 40px; padding-right: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 30px; }
  .split--who { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
  .split--voices { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
  .card-soft { padding: 50px 50px 50px 50px; }
  .card-navy { padding: 48px 50px; }
  .cards3 { grid-template-columns: repeat(3, minmax(0, 321px)); padding: 0 20px; }
  .about-rows > .wrap { padding: 0 30px; }
  .split--story, .split--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0 0 60px; margin-left: 0; }
  .card-navy--story { padding: 60px 50px; min-height: 0; }
  .board-intro { padding: 0 30px; }
  .board-intro h2 { font-size: 50px; }
  .board-grid { padding: 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 50px; }
  .f-nav nav { gap: 60px; }
  .f-contact .f-item:last-child { margin-right: 0; }
}

@media (max-width: 1024px) {
  .nav { gap: 28px; }
  .btn-join { padding: 12px 34px; margin-left: 0; }
  .brand img { width: 140px; height: 140px; }
  .site-header .wrap { min-height: 180px; }
  .stat { gap: 22px; }
  .stats { padding: 0 10px; }
  .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .ring { width: 150px; height: 150px; }
  .f-contact { grid-template-columns: 1fr 1fr; gap: 24px; }
  .f-contact .f-item { justify-self: start; }
  .f-contact .f-item:last-child { justify-self: start; }
  .f-logo { grid-row: span 3; }
}

/* ================= phone ================= */
@media (max-width: 860px) {
  .site-header .wrap { min-height: 0; padding: 12px 20px; }
  .brand img { width: 96px; height: 96px; }
  .burger { display: grid; place-items: center; width: 48px; height: 48px; cursor: pointer; margin-right: -8px; }
  .burger span, .burger span::before, .burger span::after { display: block; width: 28px; height: 3px; border-radius: 2px; background: #fff; position: relative; transition: transform .2s ease, background-color .2s ease; }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
  .burger span::before { top: -9px; }
  .burger span::after { top: 9px; }
  .nav-toggle:checked + .burger span { background: transparent; }
  .nav-toggle:checked + .burger span::before { transform: translateY(9px) rotate(45deg); }
  .nav-toggle:checked + .burger span::after { transform: translateY(-9px) rotate(-45deg); }
  .nav-toggle:focus-visible + .burger { outline: 3px solid #7fb3d5; outline-offset: 2px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--navy);
    padding: 6px 20px 24px; border-top: 1px solid rgba(255,255,255,.18); box-shadow: 0 12px 24px rgba(0,0,0,.25);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-link { font-size: 18px; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-link[aria-current="page"] { border-bottom-color: rgba(255,255,255,.15); font-weight: 700; }
  .btn-join { margin-top: 18px; text-align: center; padding: 15px; }

  .section { padding: 60px 0; }
  .h-section { font-size: 26px; margin-bottom: 38px; }

  .hero { padding: 26px 0 44px; }
  .hero-grid, .split--who, .split--voices, .contact-grid { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; gap: 26px; }
  .hero-media { order: -1; }
  .hero h1 { font-size: 30px; }
  .card-soft, .card-navy { padding: 38px 28px; }
  .card-soft h2, .card-navy h2 { font-size: 28px; }

  .slider-section { padding: 26px 0; }
  .slider { aspect-ratio: 4 / 3; }
  .slider-dots { bottom: 12px; }

  .cards3 { grid-template-columns: minmax(0, 420px); padding: 0; }
  .commit { padding: 60px 0; }
  .commit .h-section { font-size: 24px; }

  .why { padding: 56px 0 70px; }
  .stats { grid-template-columns: 1fr; row-gap: 30px; justify-items: center; }
  .stats .vbar { width: 80px; height: 4px; }
  .stat { justify-content: flex-start; width: 100%; max-width: 330px; gap: 26px; }
  .stat p { max-width: none; }

  .page-hero { padding: 60px 0; }
  .page-hero .wrap { padding-left: 20px; }
  .page-hero h1 { font-size: 34px; }
  .about-rows { padding: 30px 0 60px; }
  .about-rows > .wrap { padding: 0 20px; }
  .split--story, .split--flip { grid-template-columns: 1fr; padding: 0 0 36px; gap: 0; }
  .split--story .split-media img { border-radius: 16px 16px 0 0; }
  .split--story .card-navy--story { border-radius: 0 0 16px 16px; padding: 38px 28px; }
  .split--flip .split-media { order: -1; }
  .civic-title { font-size: 26px; margin: 10px 0 50px; }
  .board-intro { grid-template-columns: 1fr; padding: 0; margin-bottom: 44px; }
  .board-intro h2 { font-size: 40px; line-height: 1.2; }
  .board-intro h2 br { display: none; }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 10px; }
  .ring { width: 136px; height: 136px; margin-bottom: 18px; }
  .member h3 { font-size: 18px; }

  .contact-hero { padding: 40px 0; }
  .contact-copy h1 { margin-bottom: 30px; }
  .contact-copy h2 { margin-bottom: 22px; }
  .form-card { padding: 34px 22px 28px; }


  .legal .wrap { padding: 0 20px; }
  .legal h1, .legal h2 { font-size: 26px; }
  .legal p { font-size: 16px; line-height: 1.45; }

  .site-footer { padding-top: 44px; }
  .site-footer .wrap { padding: 0 20px; }
  .f-top { flex-direction: column; align-items: flex-start; padding: 0; gap: 10px; }
  .f-nav { flex-direction: column; align-items: flex-start; gap: 18px; padding: 0 0 20px; }
  .f-nav nav { gap: 28px; }
  .f-social { padding-right: 0; gap: 28px; }
  .f-contact { grid-template-columns: 1fr; padding: 28px 0 10px; gap: 16px; }
  .f-logo { grid-row: auto; }
}
