/* ==========================================================================
   Trusted Trades — Site Styles
   ========================================================================== */

:root {
  --blue: #2165B7;
  --blue-dark: #184d8a;
  --navy: #1c2b3a;
  --ink: #1a1a1a;
  --gray-text: #5b6470;
  --gray-light: #f5f6f8;
  --border-light: #e7e9ec;
  --white: #ffffff;
  --red: #d6334a;
  --gold: #f5a623;
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1200px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

section {
  padding: 80px 0;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--blue);
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.topbar a {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}

.topbar a:hover {
  opacity: 0.85;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
  background: var(--white);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 112px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-weight: 500;
  color: var(--ink);
  font-size: 16px;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: var(--white);
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
}

.btn-white:hover {
  background: var(--gray-light);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero p.lede {
  color: var(--gray-text);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-stats div {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 11px;
  color: var(--ink);
  white-space: nowrap;
}

.hero-stats svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  color: var(--blue);
}

/* Popular Categories card — sits beside hero copy */
.categories-card {
  position: relative;
  z-index: 5;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(20, 30, 50, 0.18);
  padding: 32px 36px;
}

.categories-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.categories-card-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.categories-card-head a {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
}

.category-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.category-item .icon-circle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.category-item span {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.category-item:hover span {
  color: var(--blue);
}

/* ---------- Section headers ---------- */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.eyebrow {
  display: block;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 16px;
}

.section-head p {
  color: var(--gray-text);
  font-size: 16px;
  margin: 0;
}

/* ---------- Who We Are ---------- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.who-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 28px 0;
  text-align: center;
}

.who-card .icon-badge {
  width: 56px;
  height: 56px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--blue);
}

.who-card h3 {
  font-size: 19px;
  margin: 0 0 10px;
}

.who-card p {
  color: var(--gray-text);
  font-size: 15px;
  margin: 0 0 24px;
}

.who-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

/* ---------- Chapters ---------- */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.chapter-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.chapter-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.93) 100%);
  z-index: 0;
}

.chapter-card > * {
  position: relative;
  z-index: 1;
}

.chapter-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 11px 22px;
  border-radius: 30px;
  width: fit-content;
  margin-bottom: 22px;
}

.chapter-day {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.chapter-card h3 {
  font-size: 26px;
  margin: 0 0 12px;
}

.chapter-card p {
  font-size: 14.5px;
  opacity: 0.9;
  margin: 0 0 22px;
  max-width: 420px;
}

.chapter-card .btn-white {
  align-self: flex-start;
}

.networking-head {
  text-align: center;
  margin-bottom: 36px;
}

.networking-head h3 {
  font-size: 26px;
  margin: 0 0 10px;
}

.networking-head p {
  color: var(--gray-text);
  margin: 0;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}

.room-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
}

.room-day {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.room-icon {
  color: var(--blue);
  margin-bottom: 14px;
}

.room-card h4 {
  font-size: 19px;
  margin: 0 0 10px;
}

.room-card p {
  color: var(--gray-text);
  font-size: 15px;
  margin: 0 0 20px;
}

/* CTA banner */
.cta-banner {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
}

.cta-banner-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}

.cta-banner-left .icon-circle-white {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-banner h4 {
  margin: 0 0 4px;
  font-size: 18px;
}

.cta-banner p {
  margin: 0;
  font-size: 14.5px;
  opacity: 0.92;
}

.cta-banner .btn {
  flex-shrink: 0;
}

/* ---------- Services ---------- */
.services-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 36px;
  margin-top: 28px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
}

.service-item svg {
  color: var(--blue);
  flex-shrink: 0;
}

.service-item:hover {
  color: var(--blue);
  cursor: pointer;
}

.services-section img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.testimonial-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 26px;
}

.stars {
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.quote-icon {
  color: var(--blue);
  margin-bottom: 14px;
}

.testimonial-card p.quote {
  font-size: 14px;
  color: var(--gray-text);
  font-style: italic;
  margin: 0 0 20px;
}

.testimonial-card .name {
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 2px;
}

.testimonial-card .role {
  font-size: 13px;
  color: var(--gray-text);
}

.testimonial-card .loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 2px;
}

.testimonial-card .loc svg {
  color: var(--blue);
}

/* ---------- Little Warriors ---------- */
.warriors-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(20, 30, 50, 0.08);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.warriors-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.warriors-wrap h2 {
  font-size: 32px;
  margin: 0 0 18px;
  font-weight: 800;
}

.warriors-wrap p {
  color: var(--gray-text);
  font-size: 15.5px;
  margin: 0 0 18px;
}

.warriors-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
}

.warriors-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo img {
  height: 100px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-grid p.tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
  margin: 0 0 20px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.footer-social a:hover {
  background: var(--blue);
}

.footer-col h5 {
  color: var(--white);
  font-size: 15px;
  margin: 0 0 18px;
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  gap: 10px;
}

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

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  color: var(--gray-text);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero h1 { font-size: 38px; }
  .who-grid,
  .chapters-grid,
  .rooms-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .services-section .container { grid-template-columns: 1fr; }
  .services-section .services-visual { order: -1; }
  .warriors-wrap { grid-template-columns: 1fr; padding: 36px; }
  .warriors-img { height: 300px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 56px 0; }

  .logo img { height: 72px; }

  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 100;
    padding: 90px 28px 28px;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 24px;
  }

  .nav-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(15, 20, 30, 0.45);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .nav-overlay.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-bg {
    background-position: center top;
  }

  .hero-copy {
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: -20px -20px 0;
  }

  .hero h1 { font-size: 32px; }

  .categories-card {
    margin-top: 28px;
    padding: 24px 20px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }

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

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

  .services-list { grid-template-columns: 1fr; }

  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner-left { flex-direction: column; text-align: center; }

  .section-head h2 { font-size: 26px; }
  .hero h1 { line-height: 1.18; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .warriors-wrap { padding: 28px; }
  .warriors-wrap h2 { font-size: 26px; }
}

/* ==========================================================================
   Members Page
   ========================================================================== */

.members-hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.members-hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: url('images/members-hero-bg.png');
  background-size: 700px auto;
  background-position: right center;
  background-repeat: no-repeat;
  z-index: 0;
}

.members-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-left: 0;
  /* The background photo is a fixed 700px-wide block pinned to the right
     edge of the full-bleed section (the viewport), with its left ~310px
     staying solid white before fading in. The container's own left
     padding (24px, or 24px + half the leftover space once the 1200px
     container is centered) marks where this text box starts. Capping
     max-width at (white-zone right edge - text box left edge) means the
     box always reaches right up to — but never past — the safe white
     area, however wide or narrow that gap happens to be on a given
     screen. This grows the box on wider screens instead of leaving it
     stuck at a fixed width with empty space behind it. */
  max-width: calc(100vw - 700px + 310px - (24px + max(0px, (100vw - 1200px) / 2)));
}

.members-hero h1 {
  font-size: 46px;
  font-weight: 800;
  color: var(--blue);
  margin: 0 0 20px;
}

.members-hero p {
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 100%;
}

.members-hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
}

.members-hero-location svg {
  color: var(--ink);
  flex-shrink: 0;
}

.members-directory {
  padding-top: 60px;
}

/* ---------- Directory Controls ---------- */
.directory-controls {
  max-width: 900px;
  margin: 0 auto 44px;
}

.search-box {
  position: relative;
  margin-bottom: 22px;
}

.search-box svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-text);
}

.search-box input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
}

.search-box input:focus {
  outline: none;
  border-color: var(--blue);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-label {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  white-space: nowrap;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.filter-pill.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.filter-select {
  padding: 9px 16px;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: var(--blue);
}

.clear-filters {
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px 4px;
}

.clear-filters:hover {
  text-decoration: underline;
}

.results-count {
  font-size: 13.5px;
  color: var(--gray-text);
}

/* ---------- Accordion ---------- */
.member-results {
  max-width: 1200px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 16px;
}

.accordion-trigger {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--ink);
  font-weight: 700;
  font-size: 15.5px;
  padding: 16px 22px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
}

.accordion-trigger span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.accordion-icon {
  color: var(--blue);
  font-weight: 700;
  font-size: 18px;
  width: 16px;
  text-align: center;
}

.accordion-panel {
  display: none;
  padding-top: 24px;
}

.accordion-panel.open {
  display: block;
}

/* ---------- Member Cards ---------- */
.member-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.member-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.member-logo-wrap {
  height: 130px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.member-logo-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.member-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.member-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-body h4 {
  font-size: 19px;
  margin: 0 0 2px;
}

.member-tagline {
  font-size: 13px;
  color: var(--gray-text);
  margin: 0 0 6px;
}

.member-owner {
  color: var(--blue);
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 10px;
  display: inline-block;
}

.member-desc {
  font-size: 14px;
  color: var(--gray-text);
  margin: 0 0 16px;
  flex: 1;
}

.member-meta {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.member-meta a {
  color: var(--blue);
}

.member-meta a:hover {
  text-decoration: underline;
}

.member-meta .dot {
  margin: 0 8px;
  color: var(--border-light);
  font-weight: 400;
}

.chapter-badge {
  display: inline-block;
  background: #dce8f7;
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 6px;
  width: fit-content;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-text);
}

.no-results svg {
  color: var(--border-light);
  margin-bottom: 16px;
}

.no-results p {
  font-size: 15px;
  margin: 0;
}

/* ---------- Light CTA banner (Members page: "Can't find what you need" / "Not a member yet") ---------- */
.cta-banner-light {
  background: #eaf2fc;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
}

.cta-banner-light-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}

.icon-circle-blue {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-banner-light h4 {
  margin: 0 0 4px;
  font-size: 17px;
}

.cta-banner-light p {
  margin: 0;
  font-size: 14.5px;
  color: var(--gray-text);
}

.cta-banner-light .btn {
  flex-shrink: 0;
}

.not-a-member-section {
  padding-top: 0;
}

/* ---------- Chapter summary cards ("Meet Our Chapters & Their Members") ---------- */
.chapters-summary-section {
  background: var(--gray-light);
}

.chapter-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.chapter-summary-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 32px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.chapter-summary-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.94) 100%);
  z-index: 0;
}

.chapter-summary-card > * {
  position: relative;
  z-index: 1;
}

.chapter-summary-card h3 {
  font-size: 24px;
  margin: 0 0 6px;
}

.chapter-summary-established {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.85;
  margin: 0 0 16px;
}

.chapter-summary-desc {
  font-size: 14.5px;
  opacity: 0.92;
  margin: 0 0 20px;
  max-width: 460px;
}

.chapter-summary-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.75;
  margin-bottom: 10px;
}

.chapter-summary-list {
  margin: 0 0 24px;
  flex: 1;
}

.chapter-summary-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14.5px;
  padding: 7px 0;
}

.chapter-summary-list li svg {
  opacity: 0.7;
  flex-shrink: 0;
}

.chapter-summary-list li.chapter-summary-more {
  font-weight: 400;
  opacity: 0.8;
}

.chapter-summary-btn {
  align-self: flex-start;
}

/* ---------- Weekly meeting schedule ---------- */
.meeting-schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.meeting-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}

.meeting-card-filled {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.meeting-tag {
  display: inline-block;
  background: #dce8f7;
  color: var(--blue);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.4px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.meeting-card-filled .meeting-tag {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.meeting-day {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.meeting-time {
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.meeting-card-filled .meeting-time {
  color: var(--white);
}

.meeting-card h4 {
  font-size: 16px;
  margin: 0 0 4px;
}

.meeting-card p {
  font-size: 13px;
  opacity: 0.75;
  margin: 0 0 20px;
}

.meeting-card .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Networking Rooms section (Members page) ---------- */
.networking-rooms-section {
  background: var(--gray-light);
  padding: 70px 0;
}

/* Contact hero now shares the same fluid, white-zone-aware width as the
   Members hero (see .members-hero-content) — no override needed. */

/* ---------- Contact page: form + info layout ---------- */
.contact-section {
  padding-top: 70px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-form-card,
.contact-info-card > .contact-info-list {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form-card h2 {
  font-size: 24px;
  margin: 0 0 8px;
}

.contact-form-sub {
  color: var(--gray-text);
  font-size: 14.5px;
  margin: 0 0 28px;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 8px;
}

.form-field .required {
  color: var(--red);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9aa3ad;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

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

.contact-submit {
  width: 100%;
  justify-content: center;
  margin-bottom: 14px;
}

.contact-form-note {
  color: var(--gray-text);
  font-size: 13px;
  margin: 0;
  text-align: center;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-list > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-weight: 600;
  font-size: 15px;
}

.contact-info-list > li svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-list a {
  color: var(--ink);
}

.contact-info-list a:hover {
  color: var(--blue);
}

.contact-hours-item {
  align-items: flex-start;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.contact-hours-item h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.contact-hours {
  font-weight: 400;
  font-size: 14.5px;
  color: var(--ink);
}

.contact-hours li {
  margin-bottom: 4px;
}

.contact-browse-cta {
  margin-top: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact-browse-cta .cta-banner-light-left {
  gap: 0;
}

.contact-browse-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Contact page: location / map ---------- */
.location-section {
  padding-top: 50px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.location-copy h2 {
  font-size: 28px;
  margin: 0 0 14px;
}

.location-copy p {
  color: var(--gray-text);
  font-size: 15.5px;
  margin: 0 0 20px;
  max-width: 380px;
}

.location-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.location-address svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.location-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  border: 1px solid var(--border-light);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.location-map-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(20, 30, 50, 0.15);
}

/* ---------- Contact page: How to Become a Member steps ---------- */
.steps-section {
  background: var(--gray-light);
}

.steps-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(20, 30, 50, 0.08);
  padding: 44px 36px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  text-align: center;
}

.step-number {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.step-number-final {
  color: #1f9d55;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin: 0 auto 14px;
  height: 30px;
}

.step-icon-final {
  color: #1f9d55;
}

.step-item h4 {
  font-size: 14.5px;
  margin: 0 0 10px;
  min-height: 38px;
}

.step-item p {
  font-size: 13px;
  color: var(--gray-text);
  margin: 0;
}

/* ---------- Contact page: Ready to Get Started CTA ---------- */
.ready-cta-section {
  padding: 70px 0;
}

/* ---------- Contact page: FAQ accordion ---------- */
.faq-section {
  padding-top: 0;
  padding-bottom: 90px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: var(--white);
  border: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15.5px;
  padding: 18px 22px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-chevron {
  color: var(--ink);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-panel {
  display: none;
  padding: 0 22px 20px 48px;
}

.faq-item.open .faq-panel {
  display: block;
}

.faq-panel p {
  color: var(--gray-text);
  font-size: 14.5px;
  margin: 0;
}

.faq-panel a {
  color: var(--blue);
  font-weight: 600;
}

.faq-panel a:hover {
  text-decoration: underline;
}



/* Below this width, the right-anchored hero photo can reach far enough
   left to sit under the text column, so switch to a safer cover+center
   treatment with a white panel behind the text. Above this width the
   fixed-size background image (700px) stays clear of the text column on
   its own, so no panel is needed and the photo reads as a clean edge-to-
   edge image rather than a box floating on top of it. */
@media (max-width: 1240px) {
  .members-hero-bg { background-position: center top; background-size: cover; }
  .members-hero-content,
  .contact-hero .members-hero-content {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: none;
  }
  .contact-hero .members-hero-content p {
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .member-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .chapter-summary-grid { grid-template-columns: 1fr; }
  .meeting-schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .location-map { height: 320px; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .members-hero h1 { font-size: 34px; }
  .filter-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .clear-filters { margin-left: 0; }
  .member-grid-3 { grid-template-columns: 1fr; }
  .accordion-trigger { font-size: 14px; padding: 14px 18px; }
  .cta-banner-light { flex-direction: column; align-items: flex-start; }
  .cta-banner-light .btn { width: 100%; justify-content: center; }
  .meeting-schedule-grid { grid-template-columns: 1fr; }
  .contact-form-card,
  .contact-info-card > .contact-info-list { padding: 26px 22px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-card { padding: 30px 22px; }
  .faq-panel { padding-left: 22px; }
}


/* ---------- Legal pages (Privacy Policy) ---------- */
.legal-hero {
  background: var(--gray-light);
  padding: 60px 0 40px;
  text-align: center;
}

.legal-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 12px 0 10px;
}

.legal-updated {
  color: var(--gray-text);
  font-size: 14px;
  margin: 0;
}

.legal-content {
  padding: 60px 0 90px;
}

.legal-container {
  max-width: 760px;
}

.legal-intro {
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 36px;
}

.legal-container h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 40px 0 14px;
}

.legal-container h2:first-of-type {
  margin-top: 0;
}

.legal-container p {
  font-size: 15px;
  color: var(--gray-text);
  margin: 0 0 14px;
}

.legal-container ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-container li {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 8px;
}

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

.legal-container a {
  color: var(--blue);
  font-weight: 600;
}

.legal-container a:hover {
  text-decoration: underline;
}

.legal-contact-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 14px;
}

.legal-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.legal-contact-list svg {
  color: var(--blue);
  flex-shrink: 0;
}

.legal-disclaimer {
  margin-top: 44px;
  padding: 20px 22px;
  background: var(--gray-light);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  font-size: 14px;
  color: var(--gray-text);
}

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

@media (max-width: 760px) {
  .legal-hero h1 { font-size: 28px; }
  .legal-content { padding: 44px 0 64px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}


