:root {
  --blue: #1e36b8;
  --red: #e10600;
  --yellow: #ffc107;
  --navy: #0d1b2a;
  --muted: #5c6675;
  --line: #dce2ed;
  --soft: #f2f4f7;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(13, 27, 42, 0.12);
  --radius: 8px;
  --section-max: 1440px;
  --section-gutter: clamp(20px, 5vw, 72px);
  --section-pad: max(var(--section-gutter), calc((100vw - var(--section-max)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: Poppins, Inter, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--section-pad);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand span span,
.footer-brand span {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
}

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

.nav-action,
.search-row button,
.join-section a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(30, 54, 184, 0.2);
}

.nav-action {
  padding: 0 18px;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
  min-height: 720px;
  padding: clamp(40px, 5vw, 72px) var(--section-pad) 48px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -170px;
  width: 46vw;
  max-width: 680px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 30px solid rgba(30, 54, 184, 0.08);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2.55rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero p {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  font-weight: 700;
}

.search-panel {
  max-width: 640px;
  margin-top: 34px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-panel label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 10px;
}

.search-row input {
  min-width: 0;
  height: 50px;
  border: 0;
  padding: 0 18px;
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  outline: none;
}

.search-row button {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}

.hero-photo {
  position: relative;
  width: min(86%, 620px);
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 28px 72px rgba(13, 27, 42, 0.17);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.18) 45%, rgba(30, 54, 184, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
}

.hero-photo > img:first-child {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.hero-logo-badge {
  position: absolute;
  z-index: 2;
  left: 40px;
  bottom: 36px;
  width: min(42%, 230px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(13, 27, 42, 0.16);
}

.sun-rays {
  position: absolute;
  top: 18px;
  width: 280px;
  height: 130px;
  background: conic-gradient(from 252deg at 50% 100%, transparent 0 5deg, var(--yellow) 5deg 13deg, transparent 13deg 25deg, var(--yellow) 25deg 34deg, transparent 34deg 48deg, var(--yellow) 48deg 58deg, transparent 58deg 72deg, var(--yellow) 72deg 82deg, transparent 82deg 95deg);
  opacity: 0.2;
}

.hero-card {
  position: absolute;
  display: grid;
  gap: 4px;
  width: 220px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card strong {
  color: var(--blue);
  font-size: 1.2rem;
}

.hero-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-card-blue {
  left: -58px;
  bottom: 104px;
  border-left: 6px solid var(--blue);
  z-index: 3;
}

.hero-card-red {
  right: 0;
  top: 142px;
  border-left: 6px solid var(--red);
}

.category-band,
.listings-section,
.join-section {
  padding: 72px var(--section-pad);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading h2,
.mission-panel h2,
.purpose-panel h2,
.join-section h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.section-heading p,
.join-section p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  display: grid;
  justify-items: start;
  gap: 10px;
  min-height: 198px;
  padding: 26px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.category-card.is-active {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 16px 34px rgba(13, 27, 42, 0.1);
}

.icon-wrap {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 2.25rem;
  box-shadow: 0 14px 28px rgba(30, 54, 184, 0.18);
}

.category-card:nth-child(3n) .icon-wrap {
  background: var(--red);
}

.category-card:nth-child(4n) .icon-wrap {
  background: var(--yellow);
  color: var(--navy);
}

.category-card strong {
  color: var(--blue);
  font-size: 1.3rem;
}

.category-card small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr;
  gap: 18px;
  padding: 28px var(--section-pad) 72px;
}

.mission-panel,
.purpose-panel {
  min-height: 360px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--soft);
}

.mission-panel.yellow {
  background: #fff9e7;
}

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

.purpose-panel h2 {
  color: var(--white);
}

.mission-panel p,
.purpose-panel p {
  margin: 22px 0 0;
  line-height: 1.75;
  font-weight: 750;
}

.purpose-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.7rem;
}

.yellow .panel-icon {
  background: var(--yellow);
  color: var(--navy);
}

.listing-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.listing-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  font-weight: 800;
}

.listing-toolbar a {
  color: var(--blue);
}

.business-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--white);
}

.business-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.business-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.business-card.is-hidden {
  display: none;
}

.business-photo {
  grid-column: 1 / -1;
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
}

.business-avatar {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.business-avatar.red {
  background: var(--red);
}

.business-avatar.yellow {
  background: var(--yellow);
  color: var(--navy);
}

.business-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.18rem;
}

.business-card p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.94rem;
  font-weight: 600;
}

.business-card a {
  color: var(--blue);
  font-weight: 900;
}

.values-section {
  position: relative;
  padding: 78px var(--section-pad) 92px;
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
}

.values-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background: linear-gradient(90deg, var(--blue) 0 34%, var(--red) 34% 66%, var(--yellow) 66% 100%);
}

.inverse h2,
.inverse p {
  color: var(--white);
}

.values-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.values-grid article {
  position: relative;
  min-height: 220px;
  padding: 94px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.values-grid article::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--yellow);
  font-size: 1.9rem;
  line-height: 1;
}

.values-grid article:nth-child(1)::before {
  content: "◎";
}

.values-grid article:nth-child(2)::before {
  content: "▣";
}

.values-grid article:nth-child(3)::before {
  content: "♡";
}

.values-grid article:nth-child(4)::before {
  content: "✦";
}

.values-grid article:nth-child(5)::before {
  content: "★";
}

.values-grid span {
  color: var(--yellow);
  font-size: 0.84rem;
  font-weight: 900;
}

.values-grid h3 {
  margin: 18px 0 10px;
  font-size: 1.28rem;
}

.values-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  font-size: 0.92rem;
  font-weight: 600;
}

.join-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(90deg, #ffffff 0 65%, #fff4d0 65% 100%);
}

.join-section p {
  margin-top: 16px;
}

.join-section a {
  min-width: 180px;
  padding: 0 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--section-pad);
  background: var(--navy);
  color: var(--white);
}

.site-footer p {
  margin: 0 0 6px;
  font-weight: 800;
}

.site-footer a {
  color: var(--yellow);
  font-weight: 800;
}

.site-footer small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .hero,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 16px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-action {
    order: 4;
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.3rem);
    line-height: 1.02;
  }

  .search-panel {
    border-radius: var(--radius);
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .search-row input {
    height: 48px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-card {
    position: static;
    width: min(100%, 320px);
    margin-top: -4px;
  }

  .hero-visual {
    gap: 12px;
  }

  .hero-photo {
    width: min(100%, 360px);
    min-height: 320px;
  }

  .hero-photo > img:first-child {
    min-height: 320px;
  }

  .hero-logo-badge {
    left: 22px;
    bottom: 22px;
    width: 150px;
  }

  .section-heading,
  .join-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .values-grid,
  .business-list {
    grid-template-columns: 1fr;
  }

  .business-card:nth-child(odd) {
    border-right: 0;
  }

  .business-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .business-card a {
    grid-column: 2;
  }

  .business-photo {
    height: 180px;
  }

  .category-card {
    min-height: 160px;
  }
}

@media (max-width: 430px) {
  .brand span {
    font-size: 0.9rem;
  }

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

  .nav-action {
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .nav-links {
    font-size: 0.86rem;
    gap: 20px;
  }

  .trust-row {
    display: grid;
  }

  .mission-panel,
  .purpose-panel {
    min-height: auto;
  }
}
