@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --forest-950: #082b24;
  --forest-900: #0c3b31;
  --forest-800: #135245;
  --forest-700: #196b59;
  --sage: #dbe9df;
  --sage-light: #eef5ef;
  --sun: #f2b84b;
  --sun-dark: #d89217;
  --coral: #dd6847;
  --sand: #f7f2e9;
  --cream: #fffdf8;
  --ink: #17211e;
  --muted: #65716d;
  --line: #dde4df;
  --white: #ffffff;
  --shadow-sm: 0 8px 30px rgba(8, 43, 36, 0.08);
  --shadow-lg: 0 24px 70px rgba(8, 43, 36, 0.16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--white);
  background: var(--forest-700);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest-950);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section-sm {
  padding: 72px 0;
}

.section-sage {
  background: var(--sage-light);
}

.section-sand {
  background: var(--sand);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--forest-700);
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: '';
  background: var(--sun-dark);
}

.eyebrow-light {
  color: #cce3d7;
}

.eyebrow-light::before {
  background: var(--sun);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--forest-950);
  font-family: 'Manrope', sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.75rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.65rem);
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.65rem);
}

p {
  margin: 0;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

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

.section-heading > div:first-child {
  max-width: 680px;
}

.section-heading .lead {
  max-width: 470px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest-800);
  font-weight: 700;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: var(--forest-950);
}

.btn-sun {
  color: var(--forest-950);
  background: var(--sun);
}

.btn-sun:hover {
  background: #ffc85d;
}

.btn-outline {
  color: var(--forest-900);
  border-color: #b9c8c0;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--forest-700);
  background: var(--white);
}

.btn-light-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-light-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

/* Header */
.topbar {
  color: #e2eee8;
  background: var(--forest-950);
  font-size: 0.84rem;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-dot {
  width: 7px;
  height: 7px;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.13);
}

.topbar a {
  color: var(--sun);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(8, 43, 36, 0.08);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  background: var(--white);
  border: 2px solid rgba(19, 82, 69, 0.14);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(8, 43, 36, 0.08);
}

.brand-text {
  display: grid;
  color: var(--forest-950);
  font-family: 'Manrope', sans-serif;
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.05;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  display: block;
  padding: 10px 13px;
  color: #3c4945;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a::after {
  position: absolute;
  right: 13px;
  bottom: 4px;
  left: 13px;
  height: 2px;
  content: '';
  background: var(--sun-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--forest-900);
}

.nav-links a:hover::after,
.nav-links a[aria-current='page']::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  border: 1px solid var(--line);
  color: var(--forest-900);
  background: var(--white);
  border-radius: 50%;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 20px;
  height: 2px;
  display: block;
  margin: 4px auto;
  content: '';
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span {
  opacity: 0;
}

.menu-toggle.active::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.hero::before {
  position: absolute;
  top: -170px;
  left: -110px;
  width: 450px;
  height: 450px;
  content: '';
  border: 1px solid rgba(19, 82, 69, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(19, 82, 69, 0.025), 0 0 0 140px rgba(19, 82, 69, 0.02);
}

.hero-grid {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 70px;
  padding-top: 64px;
  padding-bottom: 74px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 720px;
}

.hero-copy h1 em {
  position: relative;
  color: var(--forest-700);
  font-style: normal;
}

.hero-copy h1 em::after {
  position: absolute;
  right: 2px;
  bottom: 3px;
  left: 2px;
  height: 8px;
  z-index: -1;
  content: '';
  background: rgba(242, 184, 75, 0.65);
  border-radius: 999px;
  transform: rotate(-1deg);
}

.hero-copy .lead {
  max-width: 610px;
  margin: 26px 0 32px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

.avatar-stack {
  display: flex;
  padding-left: 8px;
}

.avatar-stack span {
  width: 34px;
  height: 34px;
  display: grid;
  margin-left: -8px;
  place-items: center;
  color: var(--white);
  border: 2px solid var(--sand);
  background: var(--forest-700);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
}

.avatar-stack .avatar-logo {
  overflow: hidden;
  padding: 0;
  background: var(--white);
}

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

.avatar-stack span:nth-child(2) {
  background: var(--coral);
}

.avatar-stack span:nth-child(3) {
  color: var(--forest-950);
  background: var(--sun);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-photo-main,
.hero-photo-small {
  position: absolute;
  overflow: hidden;
  background: var(--sage);
  box-shadow: var(--shadow-lg);
}

.hero-photo-main {
  top: 0;
  right: 0;
  width: 82%;
  height: 480px;
  border-radius: 190px 190px 28px 28px;
}

.hero-photo-small {
  bottom: 0;
  left: 0;
  width: 47%;
  height: 225px;
  border: 10px solid var(--sand);
  border-radius: 26px;
}

.hero-photo-main img,
.hero-photo-small img,
.image-panel img,
.story-photo img,
.program-card-image img,
.news-card-image img,
.team-photo img,
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-main img {
  object-position: center;
}

.hero-badge {
  position: absolute;
  right: -14px;
  bottom: 36px;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  color: var(--forest-950);
  background: var(--sun);
  border: 9px solid var(--sand);
  border-radius: 50%;
  transform: rotate(5deg);
}

.hero-badge strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-badge span {
  display: block;
  margin-top: 5px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Stats */
.impact-strip {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  color: var(--white);
  background: var(--forest-950);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 38px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--sun);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: #c8d8d2;
  font-size: 0.9rem;
}

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.story-visual {
  position: relative;
  padding: 0 0 42px 42px;
}

.story-visual::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 66%;
  height: 70%;
  content: '';
  background: var(--sun);
  border-radius: 24px;
}

.story-photo {
  position: relative;
  height: 550px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.story-note {
  position: absolute;
  right: -28px;
  bottom: 74px;
  max-width: 230px;
  padding: 22px;
  color: var(--white);
  background: var(--forest-800);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.story-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--sun);
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem;
}

.story-note span {
  font-size: 0.87rem;
  line-height: 1.45;
}

.story-copy .lead {
  margin: 22px 0;
}

.story-copy p:not(.eyebrow):not(.lead) {
  color: var(--muted);
}

.story-copy .button-row {
  margin-top: 30px;
}

/* Program cards */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 36px rgba(8, 43, 36, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.program-card-image {
  height: 210px;
  overflow: hidden;
  background: var(--sage);
}

.program-card-image img {
  transition: transform 0.5s ease;
}

.program-card:hover .program-card-image img {
  transform: scale(1.04);
}

.program-card-body {
  padding: 26px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: var(--forest-800);
  background: var(--sage-light);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.status::before {
  width: 6px;
  height: 6px;
  content: '';
  background: #28a779;
  border-radius: 50%;
}

.status-planned {
  color: #825812;
  background: #fff4d8;
}

.status-planned::before {
  background: var(--sun-dark);
}

.program-number {
  color: #a6b2ad;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

.program-card h3 {
  margin-bottom: 12px;
}

.program-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.program-card .text-link {
  margin-top: 20px;
  font-size: 0.9rem;
}

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

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

.news-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 36px rgba(8, 43, 36, 0.055);
  scroll-margin-top: 150px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card:focus {
  outline: 3px solid rgba(242, 184, 75, 0.7);
  outline-offset: 4px;
}

.news-card-image {
  height: 220px;
  overflow: hidden;
  background: var(--sage);
}

.news-card-image img {
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.04);
}

.news-card-body {
  padding: 26px;
}

.news-meta {
  align-items: flex-start;
  margin-bottom: 18px;
}

.news-date {
  color: #87928e;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.news-card h3 {
  margin-bottom: 12px;
}

.news-card p:not(.status) {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.news-card .text-link {
  margin-top: 20px;
  font-size: 0.9rem;
}

.news-card-empty {
  min-height: 240px;
}

.news-card-empty .news-card-body {
  display: grid;
  align-content: center;
  gap: 12px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

.filter-btn {
  min-height: 42px;
  padding: 9px 17px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  border-color: var(--forest-800);
  background: var(--forest-800);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  padding: 30px 26px;
  border: 1px solid rgba(19, 82, 69, 0.12);
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-md);
}

.value-icon {
  width: 50px;
  height: 50px;
  display: grid;
  margin-bottom: 26px;
  place-items: center;
  color: var(--forest-800);
  background: var(--sage);
  border-radius: 15px;
}

.value-card:nth-child(2) .value-icon,
.value-card:nth-child(4) .value-icon {
  color: #7b5105;
  background: #fff0cc;
}

.value-card h3 {
  margin-bottom: 11px;
  font-size: 1.2rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.91rem;
}

/* CTA */
.cta-section {
  padding: 44px 0;
  background: var(--cream);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  padding: 64px 68px;
  color: var(--white);
  background: var(--forest-900);
  border-radius: var(--radius-lg);
}

.cta-panel::before,
.cta-panel::after {
  position: absolute;
  content: '';
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.cta-panel::before {
  top: -150px;
  right: 130px;
  width: 350px;
  height: 350px;
}

.cta-panel::after {
  right: 280px;
  bottom: -190px;
  width: 300px;
  height: 300px;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 680px;
  color: var(--white);
}

.cta-panel p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 15px;
  color: #cbddd6;
}

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 90px;
  color: var(--white);
  background: var(--forest-950);
}

.page-hero::after {
  position: absolute;
  top: -200px;
  right: -120px;
  width: 620px;
  height: 620px;
  content: '';
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.018), 0 0 0 160px rgba(255, 255, 255, 0.012);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 80px;
}

.page-hero h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.25rem);
}

.page-hero .lead {
  color: #bfd2ca;
}

.page-hero-aside {
  padding-left: 28px;
  border-left: 2px solid var(--sun);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  color: #91aaa0;
  font-size: 0.84rem;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--sun);
}

/* About */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mission-card {
  min-height: 320px;
  padding: 42px;
  border-radius: var(--radius-md);
}

.mission-card:first-child {
  color: var(--white);
  background: var(--forest-800);
}

.mission-card:last-child {
  background: var(--sun);
}

.mission-card .number-label {
  display: block;
  margin-bottom: 70px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mission-card:first-child .number-label {
  color: #bad8cc;
}

.mission-card h3 {
  margin-bottom: 16px;
  font-size: 2rem;
}

.mission-card:first-child h3 {
  color: var(--white);
}

.mission-card:first-child p {
  color: #c8ded5;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 54px;
}

.timeline::before {
  position: absolute;
  top: 16px;
  right: 8%;
  left: 8%;
  height: 1px;
  content: '';
  background: #cbd8d2;
}

.timeline-item {
  position: relative;
  padding-top: 54px;
}

.timeline-item::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 17px;
  height: 17px;
  content: '';
  border: 5px solid var(--cream);
  background: var(--sun-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--sun-dark);
}

.timeline-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--forest-800);
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.team-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
}

.team-photo {
  min-height: 290px;
  background: var(--sage);
}

.team-photo img {
  object-position: center top;
}

.team-photo.placeholder-person {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--forest-800);
  background: linear-gradient(145deg, var(--sage), #c4d9cb);
}

.team-photo.placeholder-person::before {
  width: 100px;
  height: 100px;
  content: '';
  border: 20px solid rgba(19, 82, 69, 0.18);
  border-radius: 50%;
  box-shadow: 0 115px 0 45px rgba(19, 82, 69, 0.18);
}

.team-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.team-info .role {
  margin: 7px 0 18px;
  color: var(--sun-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-info p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Services page */
.services-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 80px;
}

.services-intro .image-panel {
  height: 480px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: #485650;
}

.check-list li::before {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  content: '✓';
  color: var(--white);
  background: var(--forest-700);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--forest-800);
  background: var(--sage-light);
  border-radius: 12px;
}

.contact-item small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item p {
  color: var(--forest-950);
  font-weight: 700;
}

.contact-item a:hover {
  color: var(--forest-700);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--forest-800);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.social-link:hover {
  color: var(--white);
  border-color: var(--forest-800);
  background: var(--forest-800);
}

.form-card {
  padding: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  margin-bottom: 9px;
  font-size: 2rem;
}

.form-intro {
  margin-bottom: 30px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: #34413d;
  font-size: 0.84rem;
  font-weight: 800;
}

.required {
  color: var(--coral);
}

.form-control {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid #ccd6d0;
  outline: none;
  background: var(--cream);
  border-radius: 11px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control {
  min-height: 135px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--forest-700);
  box-shadow: 0 0 0 4px rgba(25, 107, 89, 0.11);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--forest-700);
}

.checkbox-row label {
  color: var(--muted);
  font-size: 0.84rem;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-status {
  display: none;
  margin-bottom: 18px;
  padding: 13px 15px;
  color: var(--forest-800);
  border: 1px solid #bfddce;
  background: var(--sage-light);
  border-radius: 10px;
  font-size: 0.88rem;
}

.form-status.show {
  display: block;
}

.map-panel {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  margin-top: 70px;
  background: #dbe7df;
  border-radius: var(--radius-lg);
}

.map-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: linear-gradient(35deg, transparent 74%, rgba(19, 82, 69, 0.12) 75%, transparent 76%), linear-gradient(120deg, transparent 74%, rgba(19, 82, 69, 0.12) 75%, transparent 76%);
  background-size: 80px 80px;
}

.map-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90%, 370px);
  padding: 28px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
}

.map-pin {
  width: 56px;
  height: 56px;
  display: grid;
  margin: 0 auto 16px;
  place-items: center;
  color: var(--white);
  background: var(--forest-800);
  border-radius: 50% 50% 50% 10px;
  transform: rotate(-45deg);
}

.map-pin .icon {
  transform: rotate(45deg);
}

.map-card h3 {
  margin-bottom: 7px;
}

.map-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  overflow-y: auto;
  padding: 30px 20px;
  background: rgba(3, 24, 19, 0.74);
  backdrop-filter: blur(7px);
}

.modal.open {
  display: block;
}

.modal-dialog {
  width: min(100%, 790px);
  margin: 20px auto;
  overflow: hidden;
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.32);
  animation: modalIn 0.25s ease both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}

.modal-header {
  position: relative;
  padding: 35px 72px 28px 36px;
  color: var(--white);
  background: var(--forest-900);
}

.modal-header h2 {
  color: var(--white);
  font-size: 2rem;
}

.modal-header p {
  margin-top: 8px;
  color: #bed3cb;
  font-size: 0.93rem;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  border-radius: 50%;
  font-size: 1.35rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 34px 36px 38px;
}

.modal-body .button-row {
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.prototype-note {
  max-width: 430px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

/* Footer */
.site-footer {
  padding: 78px 0 25px;
  color: #bfd1ca;
  background: #061f1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 0.9fr 1fr;
  gap: 55px;
}

.site-footer .brand-text {
  color: var(--white);
}

.site-footer .brand-text small {
  color: #98afa6;
}

.footer-about {
  max-width: 340px;
  margin-top: 22px;
  color: #96ada4;
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 20px;
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--sun);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.footer-contact .icon {
  width: 16px;
  margin-top: 4px;
  color: var(--sun);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 23px;
  color: #789189;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1020px) {
  .section {
    padding: 84px 0;
  }

  .nav-menu {
    position: fixed;
    top: 120px;
    right: 0;
    left: 0;
    height: calc(100vh - 120px);
    display: none;
    overflow-y: auto;
    padding: 30px 20px;
    background: var(--cream);
  }

  .nav-menu.open {
    display: block;
  }

  .nav-links {
    display: grid;
    gap: 4px;
  }

  .nav-links a {
    padding: 15px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-menu .btn {
    width: 100%;
    margin-top: 24px;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .story-grid,
  .services-intro,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .story-visual {
    width: min(90%, 650px);
  }

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

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

  .team-card {
    grid-template-columns: 160px 1fr;
  }

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

  .footer-grid > div:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 36px;
  }

  .section-heading .lead {
    margin-top: 18px;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-inner > a {
    display: none;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .nav-menu {
    top: 112px;
    height: calc(100vh - 112px);
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .hero-grid {
    padding-top: 54px;
    padding-bottom: 58px;
  }

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

  .hero-photo-main {
    width: 90%;
    height: 375px;
  }

  .hero-photo-small {
    width: 46%;
    height: 170px;
  }

  .hero-badge {
    right: -5px;
    bottom: 15px;
    width: 125px;
    height: 125px;
    border-width: 7px;
  }

  .hero-badge strong {
    font-size: 1.65rem;
  }

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

  .stat {
    padding: 28px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(n + 3) {
    border-bottom: 0;
  }

  .story-visual {
    width: calc(100% - 16px);
    padding: 0 0 25px 25px;
  }

  .story-photo {
    height: 430px;
  }

  .story-note {
    right: -15px;
    bottom: 45px;
  }

  .program-grid,
  .news-grid,
  .mission-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .news-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .news-date {
    white-space: normal;
  }

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

  .cta-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 45px 28px;
  }

  .page-hero {
    padding: 80px 0 65px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .page-hero-aside {
    max-width: 620px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 8px;
    width: 1px;
    height: auto;
  }

  .timeline-item {
    padding: 3px 0 34px 42px;
  }

  .timeline-item::before {
    top: 1px;
  }

  .team-card {
    grid-template-columns: 145px 1fr;
  }

  .form-card {
    padding: 30px 22px;
  }

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

  .form-group.full {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 30px;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal {
    padding: 0;
  }

  .modal-dialog {
    min-height: 100%;
    margin: 0;
    border-radius: 0;
  }

  .modal-header {
    padding: 28px 65px 24px 22px;
  }

  .modal-body {
    padding: 28px 22px;
  }

  .modal-body .button-row {
    align-items: stretch;
    flex-direction: column-reverse;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.8rem;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .brand-text small {
    font-size: 0.57rem;
  }

  .hero-photo-small {
    border-width: 7px;
  }

  .hero-badge {
    width: 110px;
    height: 110px;
  }

  .story-note {
    max-width: 190px;
    padding: 17px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-photo {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
