:root {
  --dark-color: #1c1c1c;
  --black-color: #3b3b3b;
  --text-brand: #2c9d62;
  --text-weak: #777;
  --text-base: #3b3b3b;
  --rem-125: 0.125rem; /* 2px */
  --rem-250: 0.25rem; /* 4px */
  --rem-500: 0.5rem; /* 8px */
  --rem-750: 0.75rem; /* 12px */
  --rem-1000: 1rem; /* 16px */
  --rem-1250: 1.25rem; /* 20px */
  --rem-1500: 1.5rem; /* 24px */
  --rem-1750: 1.75rem; /* 28px */
  --rem-2000: 2rem; /* 32px */
  --rem-2250: 2.25rem; /* 36px */
  --rem-2500: 2.5rem; /* 40px */
  --rem-2750: 2.75rem; /* 44px */
  --rem-3000: 3rem; /* 48px */
  --rem-3250: 3.25rem; /* 52px */
  --rem-3500: 3.5rem; /* 56px */
  --rem-4000: 4rem; /* 64px */
  --rem-4500: 4.5rem; /* 72px */
  --rem-5000: 5rem; /* 80px */
  --rem-5500: 5.5rem; /* 88px */
  --rem-6000: 6rem; /* 96px */
  --rem-6500: 6.5rem; /* 104px */
  --rem-7000: 7rem; /* 112px */
  --rem-7500: 7.5rem; /* 120px */
  --rem-8000: 8rem; /* 128px */
  --rem-8500: 8.5rem; /* 136px */
  --rem-9000: 9rem; /* 144px */
  --rem-9500: 9.5rem; /* 152px */
  --rem-10000: 10rem; /* 160px */
}

h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--dark-color);
}

.about-page {
  display: flex;
  flex-direction: column;
  gap: var(--rem-5000);
}

.banner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: var(--rem-2500) var(--rem-2500);
  margin-bottom: 0;
}

.banner .wrap {
  max-width: 633px;
  display: flex;
  flex-direction: column;
  gap: var(--rem-1500);
}

.banner .wrap span {
  color: var(--text-weak);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.banner .wrap h1 {
  color: var(--dark-color);
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -1.44px;
}

.banner .wrap p {
  color: var(--text-base);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.banner .img {
  flex: 1;
  padding: 40px 56px;
}

.second {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.second .mission {
  flex: 1;
}

.second .mission,
.second .goals {
  display: flex;
  flex-direction: column;
}

.second .mission .card,
.second .goals .card {
  flex: 1;
}

.second .mission .card {
  padding: var(--rem-2500) var(--rem-3000);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.second .mission .card img {
  max-width: 320px;
  width: 100%;
}

.second .mission .card p {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  color: var(--dark-color);
  text-align: center;
}

.second h1 {
  margin-bottom: 16px;
}

.second .goals {
  max-width: 474px;
  width: 100%;
}

.second .goals h1,
.results h1 {
  display: flex;
  align-items: center;
  gap: var(--rem-500);
}

.second .goals h1 .badge,
.results .badge {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  border-radius: var(--border-radius-full, 999px);
  border: 1px solid var(--surface-secondary-border, #e3e3e3);
  background: var(--surface-secondary-background, #f4f4f4);
  margin-bottom: 0;
}

.about-page .card .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-sm, 8px);
  border: 1px solid var(--surface-brand-border, #d8f3e0);
  background: var(--surface-brand-fade, #effaf3);
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.goals .card .info,
.results .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.goals .card .info div:not(.icon),
.results .info div:not(.icon) {
  flex: 1;
}

.goals .card {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.goals .card .info,
.results .info {
  flex: 1;
  padding: var(--rem-1000);
}

.goals .card .info:not(:first-child) {
  border-top: 1px solid var(--base-100, #f4f4f4);
}

.goals .card .info div h3,
.results .info div h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: var(--dark-color);
}

.goals .card .info div p,
.results .info div p {
  font-size: 15px;
  line-height: 21px;
  font-weight: 400;
  color: var(--text-base);
}

.results .cards {
  margin-top: 24px;
  display: flex;
  gap: var(--rem-1500);
}

.results .card {
  margin-bottom: 0;
}

.support__up {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--rem-1500);
}

.support__up h1 {
  width: 374px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rem-500);
  flex: 1;
  padding-left: 0;
  margin: 0;
}

.tabs li {
  border-radius: var(--border-radius-full, 999px);
  border: 1px solid var(--surface-primary-border, #e3e3e3);
  background: var(--surface-primary-background, #fff);
  padding: var(--rem-500) var(--rem-1000);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--dark-color);
  margin: 0 !important;
  cursor: pointer;
}

.tabs .active {
  background: var(--surface-brand-background, #2c9d62);
  color: white;
}

.support .wrap {
  margin-top: 24px;
}

.support .wrap .card {
  margin-bottom: 0;
  padding: var(--rem-1500);
  gap: var(--rem-1500);
  align-items: flex-start;
}

.support .wrap .card div:not(.img) {
  max-width: 350px;
  width: 100%;
}

.support .wrap .card {
  display: none;
}

.support .wrap .card.active {
  display: flex;
}

.support .wrap .card .img {
  flex: 1;
  width: 100%;
}

.support .wrap .card .img img {
  width: 100%;
}

.direction .cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rem-1500);
  margin-top: 24px;
}

.direction .card {
  max-width: calc(33.333% - 16px);
  width: 100%;
  margin-bottom: 0;
  padding: var(--rem-1500);
  display: flex;
  flex-direction: column;
  transition: 0.2s;
}

.direction .card:hover {
  box-shadow:
    0px 8px 16px 0px rgba(8, 40, 13, 0.07),
    0px 0px 8px 0px rgba(8, 40, 13, 0.02);
}

.direction .card:hover h2 {
  color: var(--text-brand) !important;
}

.direction .card > img {
  max-width: 240px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 24px;
  width: 100%;
}

.direction .card h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--dark-color);
  margin-bottom: 12px;
  transition: 0.2s;
}

.direction .card p {
  color: var(--text-base);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  flex: 1;
  margin-bottom: 12px;
}

.direction .card .text-btn {
  color: var(--text-brand);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.app {
  background-image: url('../img/about/phone-bg.png');
  border-radius: var(--border-radius-md, 12px);
  background-color: var(--text-brand);
  box-shadow:
    0px 0px 8px 0px rgba(8, 40, 13, 0.02),
    0px 8px 16px 0px rgba(8, 40, 13, 0.07);
  background-repeat: repeat;
  background-size: 230px;
}

.app {
  display: flex;
  justify-content: center;
}

.app__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.app__inner .img {
  width: 326px;
  margin-top: -22px;
}

.app__inner .wrap {
  width: 448px;
}

.app__inner .wrap span {
  font-size: 12px;
  font-weight: 500;
  color: #effaf3;
  line-height: 16px;
  display: block;
  margin-bottom: 8px;
}

.app__inner .wrap h1 {
  color: #effaf3;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

.app__inner .wrap div {
  display: flex;
  gap: 8px;
}

.current .tabs {
  margin-top: 12px;
  margin-bottom: 0;
}

.current__content {
  padding: var(--rem-1500) 0;
}

.current__content .service {
  display: flex;
  flex-wrap: wrap;
}

.current__content .wrap {
  display: none;
}

.current__content .wrap.active {
  display: flex;
}

.current__content .events {
  gap: var(--rem-1500);
  margin-bottom: 0;
  flex-wrap: wrap;
}

.current__content .events .card {
  margin-bottom: 0;
}

.current__content .vacancy {
  flex-direction: column;
}

.current__content .articles {
  flex-direction: column;
}

.current__content .tech_task {
  flex-direction: column;
}

.current_btn {
  width: max-content;
}

.current .vacancy .vacancy-views,
.current .vacancy .dots-list {
  display: none;
}

.current .vacancy .card,
.current .articles .card {
  padding: var(--rem-1500) 16px;
  margin-bottom: 8px;
}

.current .articles .card-inline-content .thumbnail {
  display: none;
}

.current .tech_task .techtask-card .left:before {
  display: none;
}

.current .service,
.current .events {
  gap: 24px;
}

.current .service .service-list-share-block,
.current .events .card {
  max-width: calc(33.333% - 16px);
  width: 100%;
}

.current .service .service--list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--rem-750);
}

.current .events .card .badge {
  border-radius: var(--border-radius-full, 999px);
  border: 1px solid var(--surface-primary-border, #e3e3e3);
  background: var(--surface-primary-background, #fff);
  padding: 4px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  color: var(--dark-color);
  font-size: 14px;
  color: var(--dark-color);
  font-weight: 400;
  line-height: 20px;
}

.current .events .event-list-content .badges {
  gap: 0;
}

.current .events .card .badge {
  gap: 8px;
}

.current .events .card .badge svg {
  width: 16px;
  height: 16px;
}

.current .events .card .event-list-content .badge p {
  font-size: 14px;
  color: var(--dark-color);
  font-weight: 400;
  line-height: 20px;
}

.current .events .card {
  padding: var(--rem-1000);
}

.current .events .card .event-list-content {
  padding: 12px 0 0 0;
}

.current .events .event-list-img {
  margin-top: 4px;
  overflow: hidden;
  border-radius: 8px;
}

.current .event-list-content p {
  font-size: 14px;
  color: var(--dark-color);
  font-weight: 400;
  line-height: 20px;
}

.current .events .card .badges {
  display: flex;
  align-items: center;
}

.current .events .event-list-content h4 {
  color: var(--dark-color);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: var(--rem-750);
}

.current .techtask-card {
  align-items: normal;
}

.current .service .program--list-block {
  height: 100%;
}

.current .service .service-list-share-block {
  min-height: 100%;
}

.current .service .service--list-block a {
  justify-content: flex-start;
}

.current .tech_task a.techtask-card .card-avatar-block {
  flex: none;
}

.current .tech_task .tech-list-item {
  flex: none;
}

.current .service .service-list-share-block::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  border-radius: 12px;
  /* background: linear-gradient(0deg, rgb(255 255 255) 0%, rgba(255, 255, 255, 1) 29%, rgb(255 255 255 / 35%) 100%); */
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .banner .wrap {
    max-width: 500px;
  }

  .banner .wrap h1 {
    font-size: 42px;
    line-height: 44px;
  }

  .banner .img {
    padding: 40px;
  }

  .second .mission .card p {
    font-size: 20px;
    line-height: 28px;
  }

  .second .mission .card {
    padding: var(--rem-2000);
  }
}

@media (min-width: 1000px) and (max-width: 1200px) {
  .direction .card {
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 1200px) {
  .about-page {
    overflow: hidden;
  }

  .support__up {
    flex-direction: column;
    align-items: flex-start;
  }

  .tabs {
    flex-wrap: nowrap;
    align-items: flex-start;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
  }

  .tabs li {
    white-space: nowrap;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .direction .card {
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 1000px) {
  .results .cards {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .results .card {
    width: 100%;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 28px;
    line-height: 32px;
  }

  .about-page {
    gap: 32px;
  }

  .banner {
    flex-wrap: wrap;
    flex-direction: column;
    padding: var(--rem-1000);
    gap: 16px;
  }

  .banner .wrap {
    gap: var(--rem-1000);
  }

  .banner .wrap h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .banner .img {
    padding: 0;
  }

  .second {
    padding: 0 16px;
  }

  .second .mission .card {
    padding: var(--rem-1000);
  }

  .second .mission .card p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
  }

  .second .mission .card img {
    max-width: 240px;
  }

  .about-page .card .icon {
    width: 48px;
    height: 48px;
  }

  .direction .card {
    max-width: 100%;
  }

  .results .cards {
    flex-wrap: wrap;
    gap: var(--rem-500);
    margin-top: var(--rem-1000);
  }

  .support__up {
    flex-wrap: wrap;
    gap: var(--rem-750);
  }

  .support .wrap {
    margin-top: var(--rem-1000);
  }

  .app__inner {
    flex-wrap: wrap-reverse;
  }

  .results,
  .support,
  .direction {
    padding: 0 var(--rem-1000);
  }

  .tabs {
    flex-wrap: nowrap;
    align-items: flex-start;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tabs li {
    white-space: nowrap;
  }

  .app__inner {
    justify-content: center;
    text-align: center;
    padding: var(--rem-1000) var(--rem-1000) 0 var(--rem-1000);
  }

  .app__inner .wrap {
    width: 100%;
  }

  .app__inner .wrap div {
    justify-content: center;
  }

  .support__up h1 {
    width: 100%;
  }

  .support .wrap .card {
    flex-wrap: wrap-reverse;
    padding: var(--rem-1000);
  }

  .support .wrap .card div:not(.img) {
    max-width: 100%;
  }

  .support .wrap .card div .btn {
    margin-bottom: 0;
    width: 100%;
  }

  .app {
    border-radius: 0;
  }

  .app__inner .wrap span {
    color: #effaf3;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
  }

  .app__inner .wrap h1 {
    font-size: 20px;
    line-height: 28px;
  }

  .app__inner .img {
    width: 100%;
    margin-top: 0;
    max-width: 326px;
  }

  .direction .cards {
    margin-top: var(--rem-1000);
    gap: var(--rem-500);
  }
}

@media (max-width: 767px) {
  .current {
    padding: 0 16px;
  }

  .current__content .service {
    flex-direction: column;
    gap: 16px;
  }

  .current .service .service-list-share-block {
    max-width: 100%;
  }

  .current .service .service--list-block.program--list-block a {
    margin-bottom: 0;
  }

  .current .tech_task .techtask-card .left {
    flex: none;
    padding-bottom: 8px;
  }

  .current .tech_task .techtask-card .left:before {
    display: block;
  }

  .current .events {
    flex-direction: column;
  }

  .current__content .events .card {
    width: 100%;
    max-width: 100%;
  }
}
