body {
  background: #fff;
  font-family: 'TT Firs Neue', sans-serif;
  color: #111;
}
/* --- Hero Section --- */
.about-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 80vh;
  padding: 12rem 6vw 3rem;
  position: relative;
  gap: 2vw;
}
.about-hero__content {
  max-width: 800px;
}
.about-hero__content h1 {
  font-size: 3.8rem;
  font-weight: 400;
  margin-bottom: 2.2rem;
  line-height: 1.09;
  letter-spacing: -1px;
}
.about-hero__content p {
  font-size: 1.45rem;
  color: #444;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}
.about-btn {
  display: inline-block;
  cursor: pointer;
  padding: 1rem 5rem;
  background: #fff;
  border: 2px solid #111;
  border-radius: 2rem;
  font-size: 1.18rem;
  font-weight: 500;
  color: #111;
  transition: 0.2s;
  text-decoration: none;
}
.about-btn:hover {
  background: #333;
  color: #fff;
}

.about-hero__figures {
  flex: 1 1 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
  align-items: flex-end;
  justify-content: center;
  min-width: 320px;
  min-height: 300px;
}
.figure {
  width: 180px;
  height: 200px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 8px 40px rgba(60,60,60,0.10);
  background: #f4f4f6;
  margin-right: 12px;
  display: inline-block;
}


.figure-2 { width: 160px; height: 180px; }
.figure-3 { width: 180px; height: 200px; }

/* --- Mission --- */
.about-mission {
  padding: 4rem 6vw 3rem;
  background: #fff;
}
.about-mission__block h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}
.about-mission__block .accent {
  background: #111;
  color: #fff;
  padding: 0 0.8rem;
  border-radius: 8px;
  font-style: italic;
}
.about-mission__block p {
  font-size: 1.35rem;
  color: #444;
  max-width: 640px;
  margin-bottom: 2.8rem;
}
.about-mission__info {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.about-mission__card {
  background: #fafafa;
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.04);
  padding: 2rem 2.5rem;
  text-align: center;
  min-width: 130px;
}
.card-num {
  font-size: 2.3rem;
  font-weight: 600;
}
.card-desc {
  font-size: 1.05rem;
  color: #555;
  margin-top: 0.7rem;
}
.about-mission-row {
   display: flex;
  align-items: center;
  padding: 4rem 6vw 3rem;
  background: #fff;
  flex-wrap: wrap;
}
.about-mission__left {
  flex: 1 1 380px;
  min-width: 320px;
}
.about-mission__left h2 {
  font-size: 2.8rem;
  margin-bottom: 1.4rem;
}
.about-mission__left .accent {
  background: #111;
  color: #fff;
  padding: 0 0.7rem;
  border-radius: 8px;
  font-style: italic;
}
.about-mission__left p {
  font-size: 1.35rem;
  color: #444;
  margin-bottom: 0;
  line-height: 1.55;
}
.about-mission__right {
  flex: 1 1 350px;
  display: flex;
  justify-content: flex-end;
  min-width: 340px;
}
.about-mission__stats--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem 2.5rem;
  width: 100%;
  max-width: 600px;
  align-items: center;
}

.stat-item {
  background: #fafafa;
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.04);
  padding: 2rem 2.5rem;
  text-align: center;
  min-width: 130px;
  margin-bottom: 0; /* отключаем старое */
}
.stat-number {
  font-size: 2.3rem;
  font-weight: 600;
}
.stat-desc {
  font-size: 1.05rem;
  color: #555;
  margin-top: 0.7rem;
  line-height: 1.3;
}

/* Мобайл */
@media (max-width: 900px) {
  .about-mission-row {
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem 3vw 2rem 3vw;
    align-items: center;
  }
  .about-mission__right, .about-mission__stats {
    flex-direction: row;
    gap: 1.1rem;
    justify-content: flex-start;
    width: 100%;
  }
  .stat-item {
    padding: 1.2rem 0.9rem;
    min-width: 80px;
  }
}

/* --- Values --- */
.about-values {
  padding: 6rem 6vw;
}
.section-title {
  font-size: 2.7rem;
  margin-bottom: 3.2rem;
  font-weight: 500;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.5rem;
}
.value-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  padding: 2.2rem 2rem 2.2rem 2.3rem;
  min-height: 120px;
  transition: box-shadow .2s, transform .2s;
}
.value-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  transform: translateY(-7px) scale(1.03);
}
.value-icon {
  font-size: 2.3rem;
  margin-right: 0.8rem;
  flex-shrink: 0;
}
.value-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.value-desc {
  color: #555;
  font-size: 1.06rem;
  line-height: 1.48;
}

/* --- How We Work --- */

.section-abilities {
  padding: 0 5rem 12rem;
  background: #fff;
}
.container {
  width: 100%;
  max-width: 1750px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.section-title {
  font-family: 'TT Firs Neue', Arial, sans-serif;
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 64px;
  margin-left: 0;
  color: #181818;
  letter-spacing: 0;
}
.abilities-row {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}
.ability-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ability-head {
  font-size: 1rem;
  font-family: 'TT Firs Neue', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 24px;
  border-bottom: 2px solid #181818;
  padding-bottom: 16px;
}
.ability-desc {
  font-size: 1rem;
  font-family: 'TT Firs Neue', Arial, sans-serif;
  color: #232323;
  font-weight: 400;
  margin-top: 0;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 1300px) {
  .section-title { font-size: 44px; }
  .abilities-row { gap: 28px; }
  .ability-head { font-size: 18px; }
  .ability-desc { font-size: 17px; }
}
@media (max-width: 900px) {
  .abilities-row {
    flex-direction: column;
    gap: 32px;
  }
  .ability-col {
    gap: 18px;
  }
  .section-title { font-size: 28px; }
}



/* --- Achievements --- */
.achievements-tapir {
  width: 100%;
  margin: 8rem 0 ;
  background: #fff;
  overflow-x: auto;
  padding: 4rem 0;
}

.achievements-tapir__wrap {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: 100vw;
  padding: 0 7vw;
}

.achievements-tapir__left {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  max-width: 70%;
}

.achievements-tapir__row {
  display: flex;
  gap: 48px;
}

.achievement-cell {
  flex: 1 1 0;
  min-width: 0;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 120px;
}

.cell-num {
  font-size: 58px;
  font-weight: 400;
  width: 100%;
  border-bottom: 1px solid #111;
  line-height: 1.1;
  margin-bottom: 3rem;
  font-family: inherit;
}

.cell-desc {
  font-size: 1rem;
  color: #222;
  opacity: 0.7;
  height: 4rem;
  line-height: 1.2;
  max-width: 320px;
}

.achievements-tapir__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}
.big-num {
  font-size: 20rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -6px;
}
.big-desc {
  font-size: 1rem;
  color: #333;
  opacity: 0.85;
  text-align: left;
  margin-top: -20px;
  font-weight: 400;
}

@media (max-width: 1200px) {
  .achievements-tapir__wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .achievements-tapir__right {
    align-items: flex-start;
    margin-left: 0;
    margin-top: 48px;
  }
  .big-num {
    font-size: 96px;
  }
}

@media (max-width: 750px) {
  .achievements-tapir__row {
    flex-direction: column;
    gap: 18px;
  }
  .achievement-cell {
    min-height: 0;
    padding-bottom: 12px;
  }
  .achievements-tapir__left {
    gap: 20px;
  }
  .big-num {
    font-size: 54px;
  }
  .big-desc {
    font-size: 16px;
    margin-top: -8px;
  }
}


/* --- Footer --- */
.footer {
  padding: 2rem 6vw;
  background: #fafafa;
  border-top: 1px solid #eee;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-size: 1.6rem;
  font-weight: 600;
}
.footer-mobile {
  display: none;
}
.footer-services-popover {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  top: 0;
  z-index: 99999;
  background: rgba(30,30,30,0.13);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: flex-end;
}
@media (max-width: 850px) {
  .about-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    padding: 3rem 3vw;
  }
  .about-hero__figures { min-width: 100%; justify-content: flex-start;}
  .about-mission, .about-values, .about-how, .about-stats, .about-contact, .footer {padding-left: 3vw; padding-right: 3vw;}
}
@media (max-width: 600px) {
  .about-hero__content h1, .section-title, .about-mission__block h2 {font-size: 2rem;}
  .about-hero__content {max-width: 100%;}
}
.big-footer {
  background: #f8f8f8;
  padding: 0 2vw 0 2vw;
  margin-top: 0;
  font-family: 'TT Firs Neue', 'Arial', sans-serif;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8.5vw 0 2vw 0;
  border-top: 1px solid #222;
}

.footer-top-left {
  flex: 1.5;
}
.footer-title {
  font-size: 3vw;
  width: 50%;
  font-weight: 500;
  line-height: 1.14;
  margin: 0 0 3vw 0;
  letter-spacing: 0;
}
.footer-title span {
  font-style: italic;
}

.footer-top-right {
  display: flex;
  align-items: flex-start;
  margin-top: 1vw;
}

.footer-nav {
  display: flex;
  gap: 2vw;
  align-items: center;
}
.footer-nav a {
  font-size: 1vw;
  color: #111;
  border: none;
  background: none;
  padding: 0 0.6vw;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a.footer-nav-btn {
  border: 1px solid #222;
  border-radius: 2vw;
  padding: 0.6vw 1.6vw;
  font-size: 1vw;
  margin-left: 1.4vw;
}
.footer-nav a:hover, .footer-nav-btn:hover {
  color: #006bd2;
}

.footer-contacts-head {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  font-size: 1vw;
  color: #444;
  margin-bottom: 5vw;
  padding: 0 0 0 0.2vw;
}

.footer-contacts {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: start;
  gap: 1vw;
  margin-bottom: 3vw;
}

.join-btn {
  padding: 1vw 6vw;
  font-size: 1vw;
  border: 2px solid #111;
  border-radius: 3vw;
  background: #fff;
  cursor: pointer;
  margin-top: 0.2vw;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.join-btn:hover {
  background: #f0f2f8;
  color: #006bd2;
  border-color: #006bd2;
}

.footer-contact-line {
  width: 100%;
  border-top: 2px solid #111;
  margin-bottom: 0.6vw;
}
.footer-contact-value {
  font-size: 1.2vw;
  color: #111;
  text-decoration: none;
  line-height: 1.4;
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1vw;
  margin-top: 1vw;
  color: #bbb;
  padding-bottom: 1vw;
}

.footer-logo {
  font-size: 1.3vw;
  font-weight: 500;
  opacity: 0.5;
}
.footer-copyright {
  font-size: 0.8vw;
  color: #333;
}

@media (max-width: 1200px) {
  .footer-title { font-size: 4vw; }
  .footer-contact-value { font-size: 2.5vw; }
  .footer-nav a, .footer-nav .footer-nav-btn, .footer-contacts-head, .footer-bottom { font-size: 2vw; }
}
@media (max-width: 700px) {
  .footer-top,
  .footer-contacts-head,
  .footer-contacts {
    display: block;
  }
  .footer-title { font-size: 8vw; }
  .footer-contact-value { font-size: 4vw; }
  .footer-bottom { font-size: 3vw; }
  .footer-logo { font-size: 3.5vw; }
  .join-btn { font-size: 4vw; padding: 4vw 0; }
}
.team-popup {
  display: none;
  position: fixed; z-index: 2000; inset: 0;
  font-family: 'TT Firs Neue', sans-serif;
}
.team-popup.active { display: block; }

.team-popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.20);
  cursor: pointer;
  animation: popupFadeIn 0.4s;
}
@keyframes popupFadeIn { from { opacity: 0; } to { opacity: 1; } }

.team-popup__window {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 12px 56px rgba(0,0,0,0.16);
  padding: 2.8rem 2.5rem 2rem 2.5rem;
  min-width: 340px; max-width: 95vw;
  min-height: 80px;
  animation: popupPop 0.2s;
}
@keyframes popupPop { from { scale: 0.92; opacity: 0; } to { scale: 1; opacity: 1; } }

.team-popup__title {
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 2rem 0;
  text-align: left;
  letter-spacing: 0;
}

.team-popup__close {
  position: absolute; right: 1.5rem; top: 1.2rem;
  border: none; background: none; font-size: 2rem;
  color: #111; cursor: pointer; transition: color .2s;
}
.team-popup__close:hover { color: #006bd2; }

.team-popup__form input,
.team-popup__form select {
  width: 100%;
  margin-bottom: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid #e5e5e5;
  border-radius: 15px;
  font-size: 1.1rem;
  background: #fafafa;
  transition: border 0.2s;
  font-family: inherit;
}
.team-popup__form input:focus,
.team-popup__form select:focus {
  outline: none; border-color: #006bd2;
}
.team-popup__form button.about-btn {
  margin-top: 0.5rem;
}
#teamPopupMsg {
  margin-top: 1rem; min-height: 2.2rem; text-align: center; color: #006bd2;
  font-size: 1.05rem;
}
.mobile-menu {
  display: none;
}


@media (max-width: 1600px) {
  .figure-2 {
    width: 180px;
    height: 200px;
  }
  
}


@media (max-width: 700px) {
  .site-header {
    width: 100%;
  }
  .about-hero {
    padding: 12rem 2rem 5rem;
  }
  .about-hero__figures {
    display: none;
  }
  .achievements-tapir{
    display: none;
  }
  .about-mission  {
    padding: 0 2rem;
  }
  .container {
    padding: 6rem 2rem 0;
  }
  .container h2 {
    margin-bottom: 2rem;
  }
  .footer-title {
    font-size: 2rem;
    width: 100%;
  }
  .footer-nav a {
    font-size: 1.2rem;
  }
  .footer-contacts {
    border-color: #fff;
  }
  .footer-contacts-head {
   display: none;
  }
  .footer-contact-line{
    display: none;
  }
  .section-abilities{
    padding: 0 1rem 6rem;
  }
 .footer-contact-value {
  margin: 1rem 0;
  }
  .footer-top-right {
    margin: 2rem 0;
  }
  .big-footer {
    padding: 2rem 2rem 6rem;
  }

.mobile-bottom-nav {
  display: none;
}

.footer, .footer-bottom, .footer-container { display: none !important; }
  .footer-mobile {
    display: block;
    width: 100vw;
    background: #fff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -3px 24px rgba(40,40,40,0.07);
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9000;
    padding: 0.6rem 0 0.3rem 0;
  }
  .footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 0;
  }
  .footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 0;
    text-align: center;
    color: #111;
    font-size: 0.97rem;
    text-decoration: none;
    padding: 0.1rem 0;
    font-weight: 500;
    transition: color 0.15s;
  }
  .footer-nav-item:active,
  .footer-nav-item:hover {
    color: #007aff;
  }
  .footer-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    margin-bottom: 4px;
  }
  .footer-nav-label {
    font-size: 0.93rem;
    letter-spacing: 0.01em;
    margin-top: 0.1rem;
    font-weight: 500;
  }
  /* Акцент для svg (можно по классу, если надо) */
  .footer-nav-item:active svg,
  .footer-nav-item:hover svg {
    filter: drop-shadow(0 0 2px #007aff70);
    color: #007aff;
  }

.footer-services-popover.active {
  display: flex;
  animation: popoverIn 0.22s cubic-bezier(.71,-0.18,.28,1.12);
}
@keyframes popoverIn {
  from { opacity: 0; transform: translateY(80px);}
  to   { opacity: 1; transform: none;}
}
.popover-inner {
  position: relative;  /* Вот это добавь! */
  background: #fff;
  width: 100vw;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -3px 24px rgba(20,20,30,0.08);
  padding: 2rem 1.2rem 1.7rem 1.2rem;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  animation: popoverIn 0.22s;
}

.popover-inner h3 {
  font-size: 1.35rem;
  margin-bottom: 1.3rem;
  color: #111;
}
.popover-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.popover-inner li {
  margin: 0.8rem 0;
}
.popover-inner a {
  color: #111;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.16s;
}
.popover-inner a:hover {
  color: #007aff;
}
.popover-close {
  position: absolute;
  right: 1.3rem;
  top: 1.3rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  z-index: 10;
  font-weight: 300;
  line-height: 1;
}
.footer-services-popover.active .popover-inner {
  animation: popoverIn 0.22s;
}
}
