:root {
  --hc-green: #146957;
  --hc-green-dark: #0b4339;
  --hc-green-light: #eaf5f1;
  --hc-red: #df281b;
  --hc-yellow: #f4ce54;
  --hc-ink: #17231f;
  --hc-muted: #64716d;
  --hc-white: #ffffff;
  --hc-bg: #f7faf9;
  --hc-shadow: 0 18px 55px rgba(11, 67, 57, .12);
}

html { scroll-behavior: smooth; }

body {
  color: var(--hc-ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  background: var(--hc-bg);
}

a { text-decoration: none; }
img { max-width: 100%; }

.navbar {
  min-height: 82px;
  border-bottom: 1px solid rgba(20, 105, 87, .09);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(15px);
}

.navbar-brand img {
  width: 142px;
  height: 50px;
  object-fit: contain;
  object-position: left center;
}

.navbar .nav-link {
  position: relative;
  margin-inline: .18rem;
  padding: .7rem .8rem !important;
  color: #34433e;
  font-size: .94rem;
  font-weight: 600;
}

.navbar .nav-link::after {
  position: absolute;
  right: .8rem;
  bottom: .28rem;
  left: .8rem;
  height: 2px;
  border-radius: 99px;
  background: var(--hc-red);
  content: "";
  transform: scaleX(0);
  transition: transform .22s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--hc-green); }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }

.btn-honai {
  padding: .82rem 1.2rem;
  border: 1px solid var(--hc-green);
  border-radius: 999px;
  color: #fff;
  background: var(--hc-green);
  font-weight: 700;
  transition: .22s ease;
}

.btn-honai:hover {
  border-color: var(--hc-green-dark);
  color: #fff;
  background: var(--hc-green-dark);
  transform: translateY(-2px);
}

.btn-outline-honai {
  padding: .82rem 1.2rem;
  border: 1px solid rgba(20, 105, 87, .28);
  border-radius: 999px;
  color: var(--hc-green);
  background: #fff;
  font-weight: 700;
}

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

.hero {
  position: relative;
  display: flex;
  min-height: calc(100vh - 82px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(244, 206, 84, .25), transparent 24rem),
    linear-gradient(140deg, #f9fcfb 0%, #eaf5f1 100%);
}

.hero::after {
  position: absolute;
  right: -13rem;
  bottom: -15rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(20, 105, 87, .18);
  border-radius: 50%;
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--hc-green);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 3px;
  border-radius: 99px;
  background: var(--hc-yellow);
  content: "";
}

.display-title {
  max-width: 760px;
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
}

.display-title .accent { color: var(--hc-green); }

.hero-copy,
.page-copy {
  color: var(--hc-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-visual {
  position: relative;
  z-index: 1;
  padding: 1rem 0 2.2rem 2.2rem;
}

.hero-visual::before {
  position: absolute;
  top: 0;
  right: -1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: -1;
  border-radius: 2rem;
  background: var(--hc-green);
  content: "";
  transform: rotate(3deg);
}

.hero-visual img {
  width: 100%;
  min-height: 480px;
  border-radius: 2rem;
  box-shadow: var(--hc-shadow);
  object-fit: cover;
}

.floating-note {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 250px;
  padding: 1rem 1.2rem;
  border-left: 5px solid var(--hc-yellow);
  border-radius: 0 1rem 1rem 0;
  color: #fff;
  background: var(--hc-green-dark);
  box-shadow: var(--hc-shadow);
  font-size: .92rem;
  font-weight: 600;
}

.section { padding: 6rem 0; }
.section-sm { padding: 4.5rem 0; }

.section-title {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.section-title span { color: var(--hc-green); }

.feature-card,
.value-card,
.contact-card,
.leader-card {
  height: 100%;
  padding: 1.65rem;
  border: 1px solid rgba(20, 105, 87, .1);
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 8px 28px rgba(11, 67, 57, .06);
  transition: transform .22s ease, box-shadow .22s ease;
}

.feature-card:hover,
.value-card:hover,
.contact-card:hover {
  box-shadow: var(--hc-shadow);
  transform: translateY(-5px);
}

.icon-box {
  display: inline-grid;
  width: 3.15rem;
  height: 3.15rem;
  place-items: center;
  margin-bottom: 1.15rem;
  border-radius: 1rem;
  color: #fff;
  background: var(--hc-green);
  font-size: 1.25rem;
}

.feature-card:nth-child(even) .icon-box { background: var(--hc-red); }
.card-title-small { font-size: 1.12rem; font-weight: 800; }
.muted { color: var(--hc-muted); }

.image-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 2rem;
  box-shadow: var(--hc-shadow);
}

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

.image-panel .caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  color: #fff;
  background: rgba(11, 67, 57, .9);
  backdrop-filter: blur(10px);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(11, 67, 57, .98), rgba(20, 105, 87, .9)),
    url("../images/team-meeting.jpg") center/cover;
}

.page-hero::after {
  position: absolute;
  top: -7rem;
  right: -6rem;
  width: 19rem;
  height: 19rem;
  border: 28px solid rgba(244, 206, 84, .22);
  border-radius: 50%;
  content: "";
}

.breadcrumb-item,
.breadcrumb-item a { color: rgba(255,255,255,.76); }
.breadcrumb-item.active { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.55); }

.stat-strip {
  position: relative;
  z-index: 2;
  margin-top: -2.3rem;
}

.stat-wrap {
  overflow: hidden;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: var(--hc-shadow);
}

.stat-item { padding: 1.45rem; border-right: 1px solid #edf2f0; }
.stat-item:last-child { border-right: 0; }
.stat-number { color: var(--hc-green); font-size: 1.8rem; font-weight: 800; }

.vision-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 2rem;
  color: #fff;
  background: var(--hc-green-dark);
  box-shadow: var(--hc-shadow);
}

.vision-card::after {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 17rem;
  height: 17rem;
  border: 2rem solid rgba(244, 206, 84, .18);
  border-radius: 50%;
  content: "";
}

.mission-list { counter-reset: mission; }

.mission-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(20, 105, 87, .12);
  counter-increment: mission;
}

.mission-item::before {
  display: grid;
  flex: 0 0 2.7rem;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: .9rem;
  color: #fff;
  background: var(--hc-green);
  content: counter(mission, decimal-leading-zero);
  font-size: .82rem;
  font-weight: 800;
}

.value-card { border-top: 4px solid var(--hc-yellow); }
.value-card.red { border-top-color: var(--hc-red); }

.leader-card { overflow: hidden; padding: 0; }
.leader-photo { overflow: hidden; height: 320px; background: linear-gradient(135deg, #eef6f3, #dcece7); }
.leader-photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.leader-info { padding: 1.5rem; }
.leader-role { color: var(--hc-red); font-size: .82rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.org-line {
  position: relative;
  height: 3rem;
}

.org-line::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(20, 105, 87, .25);
  content: "";
}

.business-card ul { margin: 0; padding-left: 1.15rem; color: var(--hc-muted); }
.business-card li { margin-bottom: .45rem; }

.contact-card a { color: var(--hc-ink); font-weight: 700; }
.contact-card a:hover { color: var(--hc-green); }

.map-placeholder {
  display: grid;
  min-height: 390px;
  place-items: center;
  padding: 2rem;
  border-radius: 2rem;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(11, 67, 57, .88), rgba(11, 67, 57, .88)),
    url("../images/community-action.jpg") center/cover;
  box-shadow: var(--hc-shadow);
}

.footer {
  padding: 4.2rem 0 1.5rem;
  color: rgba(255,255,255,.78);
  background: #092f29;
}

.footer-logo { width: 150px; filter: brightness(0) invert(1); }
.footer-title { color: #fff; font-size: .95rem; font-weight: 800; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: var(--hc-yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }

.reveal { opacity: 0; transform: translateY(18px); transition: .65s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0; }
  .navbar .nav-link { padding-inline: 0 !important; }
  .navbar .nav-link::after { right: auto; left: 0; width: 2rem; }
  .hero { padding: 5rem 0; }
  .hero-visual { margin-top: 2.5rem; padding-left: 1rem; }
  .hero-visual img { min-height: 380px; }
  .stat-item { border-right: 0; border-bottom: 1px solid #edf2f0; }
  .stat-item:last-child { border-bottom: 0; }
}

@media (max-width: 575.98px) {
  .section { padding: 4.5rem 0; }
  .page-hero { padding: 4.5rem 0; }
  .hero-visual img { min-height: 310px; }
  .floating-note { max-width: 215px; }
  .image-panel { min-height: 350px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
