/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Noto Serif', serif;
  font-weight: 400;
  line-height: 1.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* === Section spacing === */
.section {
  padding: 120px 0;
}

.section--tight {
  padding: 30px 0;
}

.section--bg-gray {
  background-color: #eeeeee;
}

.section--bg-dark {
  background-color: #2b2b2b;
  color: #fff;
}

.section__title {
  font-family: 'Noto Serif', serif;
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 60px;
  text-align: center;
}

.section__subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  opacity: 0.8;
}

/* === Hero Section === */
.hero {
  min-height: 100vh;
  background-color: #2b2b2b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hero__content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  padding: 0 40px;
  width: 100%;
}

.hero__logo-wrapper {
  flex-shrink: 0;
}

.hero__logo {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.hero__text {
  color: #fff;
}

.hero__title {
  font-family: 'Noto Serif', serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 18px;
  opacity: 0.85;
  line-height: 1.7;
  max-width: 600px;
}

/* === Mission Section === */
.mission {
  padding: 180px 0;
  text-align: center;
}

.mission__title {
  font-family: 'Noto Serif', serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 40px;
}

.mission__text {
  font-size: 20px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  color: #444;
}

/* === Team Section === */
.team {
  padding: 120px 0;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.team__member {
  text-align: center;
}

.team__photo-wrapper {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background: #eee;
}

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

.team__name {
  font-family: 'Noto Serif', serif;
  font-size: 16px;
  font-weight: 500;
}

/* === About Section === */
.about {
  padding: 120px 0;
  overflow: hidden;
}

.about__header {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
}

.about__header-text {
  flex: 1;
}

.about__label {
  font-family: 'Noto Serif', serif;
  font-size: 40px;
  margin-bottom: 10px;
}

.about__sublabel {
  font-size: 24px;
  color: #888;
  margin-bottom: 30px;
}

.about__desc {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  max-width: 700px;
}

.about__image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.about__image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

/* === Goals Section === */
.goals {
  padding: 150px 0;
  background: #fafafa;
}

.goals__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.goals__card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goals__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.goals__card-number {
  font-family: 'Noto Serif', serif;
  font-size: 48px;
  font-weight: 300;
  color: #ccc;
  margin-bottom: 16px;
  line-height: 1;
}

.goals__card-title {
  font-family: 'Noto Serif', serif;
  font-size: 22px;
  margin-bottom: 16px;
}

.goals__card-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

.goals__card-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.goals__card-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.goals__card-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  font-size: 20px;
  line-height: 1.4;
}

/* === Partners Section === */
.partners {
  padding: 120px 0;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.partners__logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.partners__logo {
  max-height: 80px;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.partners__logo:hover {
  filter: grayscale(0%);
}

.partners__note {
  text-align: center;
  font-size: 16px;
  color: #888;
  font-style: italic;
}

/* === Highlight/Quote Section === */
.highlight {
  padding: 80px 0;
  background: #2b2b2b;
  color: #fff;
}

.highlight__text {
  font-family: 'Noto Serif', serif;
  font-size: 22px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 300;
}

/* === Timeline/Steps Section === */
.steps {
  padding: 150px 0;
}

.steps__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.steps__timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ddd;
}

.steps__item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.steps__number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #2b2b2b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif', serif;
  font-size: 18px;
  z-index: 1;
}

.steps__text {
  font-size: 17px;
  line-height: 1.6;
  padding-top: 12px;
}

/* === Info Banner === */
.info-banner {
  padding: 120px 0 90px;
  text-align: center;
}

.info-banner__uptitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
}

.info-banner__text {
  font-size: 20px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}

/* === Target Groups === */
.targets {
  padding: 150px 0;
}

.targets__grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.targets__divider {
  background: #d1d1d1;
  width: 1px;
}

.targets__group {
  text-align: center;
}

.targets__group-label {
  font-size: 14px;
  text-transform: lowercase;
  color: #999;
  margin-bottom: 8px;
}

.targets__group-age {
  font-family: 'Noto Serif', serif;
  font-size: 36px;
  margin-bottom: 16px;
}

.targets__group-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

/* === Footer / Contacts === */
.footer {
  background: #2b2b2b;
  color: #fff;
  padding: 80px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer__contacts h3 {
  font-family: 'Noto Serif', serif;
  font-size: 28px;
  margin-bottom: 24px;
  font-weight: 400;
}

.footer__contact-item {
  margin-bottom: 12px;
  font-size: 16px;
}

.footer__contact-item a {
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer__contact-item a:hover {
  opacity: 1;
}

.footer__contact-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 4px;
}

.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.footer__social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.footer__social-link:hover {
  background: rgba(255,255,255,0.25);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* === HTMX transitions === */
.htmx-settling {
  opacity: 0;
}

[hx-swap-oob] {
  transition: opacity 0.3s ease-in;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero__content {
    flex-direction: column;
    text-align: center;
  }

  .hero__logo {
    width: 200px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__desc {
    margin: 0 auto;
  }

  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__header {
    flex-direction: column;
  }

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

  .partners__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 80px 0;
  }

  .section__title {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .mission {
    padding: 100px 0;
  }

  .mission__title {
    font-size: 28px;
  }

  .mission__text {
    font-size: 17px;
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .team__photo-wrapper {
    width: 120px;
    height: 120px;
  }

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

  .about__image {
    height: 250px;
  }

  .about__label {
    font-size: 30px;
  }

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

  .highlight__text {
    font-size: 18px;
  }

  .targets__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .targets__divider {
    display: none;
  }

  .targets__group-age {
    font-size: 28px;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding: 80px 0;
  }

  .hero__logo {
    width: 160px;
  }

  .hero__title {
    font-size: 28px;
  }

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

  .goals__card {
    padding: 28px;
  }

  .steps__text {
    font-size: 15px;
  }
}
