/* ============================================================
   PROLANDSCAPE — «Про нас»
   Шапка й CTA спільні зі сторінкою послуги (service.css),
   тут лише блоки, яких більше ніде немає.
   ============================================================ */

/* ═══════════════════════════════ МІСІЯ ТА ПОЗИЦІЯ ═══════════════════════════════ */
#about-mission {
  padding: 30px 0 70px;
}

.about-two {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 22px;
  align-items: stretch;
}

.about-card {
  padding: 38px 40px;
}

.about-card h2 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin-bottom: 16px;
}

.about-card p {
  font-size: 15px;
  color: var(--m);
  line-height: 1.85;
}

.about-card p + p {
  margin-top: 14px;
}

.about-card .mission-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-l);
  margin-bottom: 18px;
  /* картка місії — флекс-колонка, без цього капсула тягнеться на всю ширину */
  align-self: flex-start;
}

/* картка з місією — акцентна, текст більший */
.about-card-accent {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* .about-card p задає 15px і перебиває за специфічністю — тому
   селектор тут теж із батьком */
.about-card .about-mission-text {
  font-family: var(--font-head);
  font-size: clamp(19px, 2.1vw, 25px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.5px;
  color: var(--ink) !important;
}

.about-card .about-mission-text em {
  font-style: normal;
  color: var(--accent);
}

/* ═══════════════════════════════ ЧОМУ ОБИРАЮТЬ ═══════════════════════════════ */
#about-why {
  padding: 20px 0 70px;
}

.about-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-why {
  padding: 32px 30px;
  transition:
    transform 0.22s,
    background 0.22s;
}

.about-why:hover {
  transform: translateY(-4px);
  background: var(--glass-hover);
}

.about-why-n {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  color: rgba(23, 51, 37, 0.16);
  margin-bottom: 16px;
}

.about-why h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 12px;
}

.about-why p {
  font-size: 13.5px;
  color: var(--m);
  line-height: 1.8;
}

/* ═══════════════════════════════ КОМАНДА ═══════════════════════════════ */
#about-team {
  padding: 20px 0 80px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s,
    background 0.22s;
}

.team-card:hover {
  transform: translateY(-4px);
  background: var(--glass-hover);
}

.team-photo {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 16px;
  background: rgba(23, 51, 37, 0.06);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* картка без фото — щоб сітка не «провалювалась» */
.team-card-nophoto figcaption {
  padding-top: 10px;
}

.team-card-nophoto::before {
  content: "";
  display: block;
  aspect-ratio: 3 / 4;
  margin-bottom: 16px;
  border-radius: var(--r);
  border: 1px dashed rgba(23, 51, 37, 0.18);
  background:
    radial-gradient(circle at 50% 42%, rgba(23, 51, 37, 0.07), transparent 58%);
}

.team-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 4px 6px;
  line-height: 1.25;
}

.team-role {
  margin: 0 4px 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.35;
}

.team-desc {
  font-size: 13px;
  color: var(--m);
  line-height: 1.65;
  margin: 0 4px 4px;
  flex-grow: 1;
}

/* ═══════════════════════════════ АДАПТИВ ═══════════════════════════════ */
@media (max-width: 1024px) {
  .about-two {
    grid-template-columns: 1fr;
  }

  .about-why-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-card {
    padding: 28px 24px;
  }

  .about-why {
    padding: 26px 24px;
  }
}

@media (max-width: 460px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
