/* Общие вещи для страницы About */

.about-page-hero,
.about-page-story,
.about-page-principles,
.about-page-audience,
.about-page-team,
.about-page-cta {
  padding: 60px 0;
}

/* HERO */

.about-page-hero {
  background: linear-gradient(120deg, #dff9fb, #c8f7c5);
}

.about-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.about-page-hero-text h1 {
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #1a3d2d;
  font-family: "Segoe UI", sans-serif;
  font-weight: 800;
}

.about-page-hero-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #2c3e50;
  margin-bottom: 24px;
}

.about-page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* вторичная кнопка на фоне hero */
.about-page-hero .btn.btn-secondary {
  background-color: transparent !important;
  color: #27ae60 !important;
  border: 1px solid #27ae60;
  padding-inline: 22px;
}

.about-page-hero .btn.btn-secondary:hover {
  background-color: #27ae60 !important;
  color: #ffffff !important;
}

.about-page-hero-image img {
  width: 100%;
  max-width: 420px;
  display: block;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

/* STORY / MISSION */

.about-page-story {
  background-color: #f9fff9;
}

.about-page-story-inner {
  max-width: 760px;
}

.about-page-story h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #1a3d2d;
  font-weight: 700;
}

.about-page-story p {
  font-size: 16px;
  line-height: 1.7;
  color: #2c3e50;
  margin-bottom: 14px;
}

/* PRINCIPLES */

.about-page-principles {
  background-color: #ffffff;
}

.about-page-principles h2 {
  font-size: 26px;
  margin-bottom: 24px;
  color: #1a3d2d;
  text-align: left;
}

.about-page-principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.about-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(39, 174, 96, 0.05);
}

.about-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #1a3d2d;
}

.about-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #34495e;
}

/* AUDIENCE */

.about-page-audience {
  background-color: #f5fff8;
}

.about-page-audience h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #1a3d2d;
}

.about-page-audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-tag {
  background-color: #ffffff;
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(39, 174, 96, 0.08);
}

.audience-tag span {
  font-size: 14px;
  color: #2c3e50;
}

/* TEAM */

.about-page-team {
  background-color: #ffffff;
}

.about-page-team h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #1a3d2d;
}

.about-page-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* CTA */

.about-page-cta {
  background: linear-gradient(120deg, #c8f7c5, #dff9fb);
}

.about-page-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-page-cta-text h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #1a3d2d;
}

.about-page-cta-text p {
  font-size: 16px;
  color: #2c3e50;
  max-width: 520px;
}

/* Адаптив */

@media (max-width: 900px) {
  .about-page-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-page-hero-image {
    order: -1;
    text-align: center;
  }

  .about-page-hero-image img {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .about-page-hero,
  .about-page-story,
  .about-page-principles,
  .about-page-audience,
  .about-page-team,
  .about-page-cta {
    padding: 40px 0;
  }

  .about-page-hero-text h1 {
    font-size: 30px;
  }

  .about-page-hero-text p {
    font-size: 16px;
  }

  .about-page-hero-actions {
    flex-direction: column;
  }

  .about-page-cta-inner {
    align-items: flex-start;
  }
}

/* HOW IT WORKS SECTION */

.about-page-how {
  background-color: #f9fff9;
  padding: 60px 0;
}

.about-page-how-inner {
  max-width: 900px;
}

.about-page-how h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #1a3d2d;
  font-weight: 700;
}

.about-page-how p {
  font-size: 16px;
  line-height: 1.7;
  color: #2c3e50;
  margin-bottom: 24px;
}

.about-page-how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Якори, чтобы их не съедал sticky-header */
#how-it-works,
#mission,
#team {
  scroll-margin-top: 160px;
}
