/* =========================================================
   GLOBAL ABOUT PAGE STRUCTURE
========================================================= */










/* ----- HERO PRIMARY ----- */
.about-hero {
  margin-top: 125px;
  padding: 120px 0 90px;
  background: #ffffff;
  border-bottom: 1px solid #eceff2;
}

.about-hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

/* Logo */
.about-hero__logo {
  font-size: 42px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  animation: logoFade .9s ease forwards;
  animation-delay: .3s;
}

@keyframes logoFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Kicker */
.about-hero__kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8A8F96;
  margin-top: 10px;
  margin-bottom: 14px;
}

/* Title + text */
.about-hero__title {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 700;
  color: #172833;
  margin-bottom: 18px;
}

.about-hero__lead {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  max-width: 520px;
}

/* Right chips */
.about-hero__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  max-width: 320px;
}

.about-chip {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  background: #f8f9fb;
}

.about-chip__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9aa1aa;
  margin-bottom: 2px;
}

.about-chip__value {
  font-size: 14px;
  color: #172833;
  font-weight: 500;
}

/* =========================================================
   ABOUT INFO BLOCK
========================================================= */

.about-info {
  padding: 110px 0;
  background: #ffffff;
}

.about-info__grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 60px;
}

.about-block-title {
  font-family: var(--font-main);
  font-size: 30px;
  font-weight: 700;
  color: #172833;
  margin-bottom: 18px;
}

.about-info__text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
}

.about-info__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-info-item {
  padding-bottom: 16px;
  border-bottom: 1px solid #eceff2;
}

.about-info-item:last-child {
  border-bottom: none;
}

.about-info-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: #172833;
  margin-bottom: 6px;
}

.about-info-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* =========================================================
   TEAM — CLEAN & COMPACT
========================================================= */

.about-team {
  padding: 110px 0 140px;
  background: #f6f7f9;
}

.about-team__head {
  max-width: 640px;
  margin-bottom: 40px;
}

/* Сетка: 2 карточки, прижаты к левому краю */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 360px));
    gap: 28px;
    justify-content: start;     /* ← ВЫРАВНИВАЕМ ПО ЛЕВОМУ КРАЮ */
    align-items: start;
}

/* Карточка */
.team-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.04);
  padding: 22px;
  transition: transform .22s ease, box-shadow .22s ease;
  max-width: 448px;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,22,28,0.08);
}

/* Фото */
.team-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}

/* Текст */
.team-name {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 700;
  color: #172833;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.team-meta {
  font-size: 12px;
  color: #8A8F96;
}

/* =========================================================
   ANIMATIONS
========================================================= */

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn .8s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .9s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   MEDIA QUERIES
========================================================= */

@media (max-width: 960px) {
  .about-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

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

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

@media (max-width: 600px) {
  .about-hero__title {
    font-size: 30px;
  }

  .about-hero__lead {
    font-size: 15px;
  }

  .about-team {
    padding: 80px 0 110px;
  }
}









/* ABOUT — сетка 2×2 для плашек от 480px до 1024px */
@media (min-width: 480px) and (max-width: 1024px) {

  .about-hero__right {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
    width: 100%;
    max-width: 100%;
  }

  .about-chip {
    width: 100% !important;
    border-radius: 12px;
    padding: 14px 16px !important;
    box-sizing: border-box;
  }

  .about-chip__label {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .about-chip__value {
    font-size: 14px;
    font-weight: 500;
  }
}



