h1 {
  margin: 0;
  font-family: "Roboto Slab", serif;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #313f7c;
}
.pointer {
  cursor: pointer;
}
.cont-vn {
  padding: 40px 0 60px;
}
.b-krohki { display: flex; justify-content: flex-start; align-items: center; margin: 30px 0;}

.hlebn-krohki { color:var(--main-1); font-size: 14px;}
.hlebn-krohki a {color:#042a35}
.hlebn-krohki ul { list-style:none; padding:0; margin:0; display: flex; flex-wrap: wrap; align-items: center; }
.hlebn-krohki li { display:inline-block}
.hlebn-krohki-dev { padding:0 10px}

.roboto-slab {
  font-family: "Roboto Slab", serif;
}
.topcontrol { width:60px; height:60px; position: fixed; z-index: 9999; bottom: 50px; right: 50px; cursor: pointer; text-align:center; background:url(../images/up-arrow.png) no-repeat center #c0282b;opacity: 0.5;filter:alpha(opacity=50);border-radius:50%; webkit-border-radius:50%; moz-border-radius:50%;}
.topcontrol:hover {opacity: 1;filter:alpha(opacity=100);}
.text-center {
  margin: 1.5rem auto 0;
  max-width: 57rem;
  font-size: 1rem;
  line-height: 1.32;
  text-align: center;
  color: #111111;
}
.warnText {
  color: var(--color-accent);
  margin: 10px 0;
}
.captcha-box {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}
.captcha-box input {
    width: auto !important;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
#nc_captcha_refresh_button0 {
  background: url("../images/reload.svg") no-repeat center / contain;
  text-indent: -1000%;
  border: none;
  overflow: hidden;
  width: 40px;
  height: 40px;
}

.pagination {
  margin-top: 1.625rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
}

.pagination__page,
.pagination__ellipsis {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1;
  color: #111111;
}

.pagination__page:not(.pagination__page--arrow) {
  width: 2rem;
  height: 2rem;
  border: 2px solid transparent;
  border-radius: 0.1875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination__page:not(.pagination__page--active):not(.pagination__page--arrow):hover,
.pagination__page:not(.pagination__page--active):not(.pagination__page--arrow):focus-visible {
  border-color: #3da6de;
}

.pagination__page.pagination__page--active {
  width: 2rem;
  height: 2rem;
  border: 2px solid #3da6de;
  border-radius: 0.1875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination__ellipsis {
  margin-inline: 0.375rem;
  color: #8f8f8f;
}

.pagination__page--arrow {
  line-height: 0;
}

.pagination__page--arrow img {
  display: block;
}
.pagination-item-prev {
  transform: rotate(180deg);
}

.b-cookie {
  display: block;
  filter: drop-shadow(0 0 27px rgba(0,0,0,.12));
  left: 50%;
  padding: 12px 24px;
  position: fixed;
  transform: translate3d(-50%,-24px,0);
  width: 640px; bottom:10px; background:#fff; border:#eaeaea solid 1px;border-radius: 12px; z-index: 55;}
.main-cu { font-family: Arial, Helvetica, sans-serif; display:flex; justify-content: center; align-items:center;}
.b-cookie-text { margin:0 70px 0 0; font-size:14px}
.b-cookie-text a { color:#ff3e37; text-decoration: underline; }
.b-cookie-but button {
  border-radius: 5px;
  padding: 12px 30px;
  margin: 0;
  background: var(--color-nav);
  border: none;
  color:#fff;
}
@media only screen and (max-width: 750px){
  .b-cookie {
    width: 96%;
    box-sizing: border-box;
  }
}
@media only screen and (max-width: 400px){
  .b-cookie-text {
    margin: 0;
    text-align: center;
  }
  .main-cu {
    flex-direction: column;
    gap: 20px;
  }
}

.news-full {
  display: flex;
  gap: 60px;
  margin: 60px 0 0;
}
.news-full__img {
  width: 30%;
  flex-shrink: 0;
}
.news-full__img img {
  border-radius: 0.9375rem;
}
.news-full time {
  display: block;
  color: #666666;
  margin: 0 0 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap:20px;
    margin: 60px 0;
}
.gallery img {
    border-radius: 0.9375rem;
}
@media (max-width: 992px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 800px) {
    .news-full {
        flex-direction: column;
        gap: 20px;
        margin: 30px 0 0;
    }
    .news-full__img {
        width: 100%;
    }
    .gallery {
        margin: 30px 0;
    }
}
@media (max-width: 700px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 550px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
.nc-demo-modal-wrapper {
  display: none;
}
.site-header {
  background: var(--color-white);
}

.site-header__top {
  padding-top: 2.125rem;
  padding-bottom: 2rem;
}

.site-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  min-width: 0;
}

.brand__mark {
  width: 6.0625rem;
  height: auto;
  flex: 0 0 auto;
}

.brand__text {
  min-width: 0;
  width: 28rem;
}

.brand__subtitle {
  max-width: 100%;
  width: 100%;
  font-family: "Roboto Slab", serif;
  font-size: 0.9625rem;
  line-height: 1.26;
  text-align: center;
  color: #2f3e7f;
}

.brand__title {
  margin-top: 0.625rem;
  font-family: "Roboto Slab", serif;
  width: 100%;
  font-size: 2.625rem;
  line-height: 1.02;
  font-weight: 700;
  text-align: center;
  color: #2f3e7f;
  letter-spacing: 0.01em;
}

.site-header__contacts {
  display: flex;
  align-items: center;
  gap: 1.875rem;
  flex: 0 0 auto;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Roboto Slab", serif;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
  color: #0e1526;
  white-space: nowrap;
}

.contact-phone img {
  width: 1.5625rem;
  height: 1.5625rem;
}

.social-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  opacity: 0.85;
}

.social-link__bg {
  width: 3.125rem;
  height: 3.125rem;
}

.social-link__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.social-link__icon--vk {
  width: 1.6875rem;
  height: 1.0625rem;
}

.social-link__icon--chat {
  width: 1.5rem;
  height: 1.5rem;
}

.main-nav {
  background: var(--color-nav);
}

.main-nav__toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--color-white);
  padding: 0.5rem 0;
  cursor: pointer;
}

.main-nav__toggle-line,
.main-nav__toggle-line::before,
.main-nav__toggle-line::after {
  width: 1.5rem;
  height: 0.125rem;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.main-nav__toggle-line {
  position: relative;
  display: block;
}

.main-nav__toggle-line::before,
.main-nav__toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
}

.main-nav__toggle-line::before {
  top: -0.4375rem;
}

.main-nav__toggle-line::after {
  top: 0.4375rem;
}

.main-nav__list {
  list-style: none;
  min-height: 4.625rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
}

.main-nav__list li {
  display: flex;
  align-items: stretch;
}

.main-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  min-height: 4.625rem;
  font-size: 1.375rem;
  line-height: 1.15;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.1875rem;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.main-nav__list a:hover {
  color: var(--color-white);
}

.main-nav__list a:hover::after,
.main-nav__list a:focus-visible::after,
.main-nav__list a[aria-current="page"]::after {
  opacity: 1;
}

.main-nav__list a[aria-current="page"] {
  color: var(--color-white);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-hero-fallback);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero/hero-bg.png") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 20, 54, 0.26) 0%, rgba(2, 20, 54, 0.07) 43%, rgba(2, 20, 54, 0.18) 100%);
}

.hero__container {
  position: relative;
  z-index: 1;
  min-height: 44.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-top: 6rem;
  padding-bottom: 4.5rem;
}

.hero__content {
  max-width: 49rem;
  color: rgba(255, 255, 255, 0.95);
}

h1.hero__title {
  font-family: "Roboto Slab", serif;
  font-size: 2.125rem;
  line-height: 1.18;
  font-weight: 700;
    color:#fff !important;
    text-transform: none;
    text-align: left;
}

.hero__list {
  margin-top: 1.5rem;
  padding-left: 1.65rem;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1.5rem;
  line-height: 1.46;
  font-weight: 400;
}

.hero__cta {
  margin-top: 3.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.125rem;
  border-radius: 2.5rem;
  padding-inline: 2.375rem;
  font-size: 1.5625rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--color-white);
  background: linear-gradient(180deg, #22dbeb 0%, #1b7fcb 100%);
  box-shadow: 0 0.875rem 2rem rgba(0, 40, 120, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 1rem 2.25rem rgba(0, 40, 120, 0.4);
}

.hero__media {
  margin-top: 5.875rem;
  margin-right: 1.125rem;
  flex: 0 0 auto;
}

.hero__media img {
  width: 29rem;
  height: auto;
  filter: drop-shadow(0 0 1.75rem rgba(36, 217, 255, 0.45));
}

.activities {
  background: #efefef;
  padding-top: 4.625rem;
  padding-bottom: 4.75rem;
}

.activities__intro {
  max-width: 57rem;
  margin-inline: auto;
  text-align: center;
}

.activities__lead p,
.activities__goal-text p {
  font-size: 1rem;
  line-height: 1.32;
  font-weight: 400;
  color: #111111;
}

.activities__lead strong {
  font-weight: 700;
}

.activities__goal-text h3 {
  margin-top: 1.875rem;
  font-size: 1.125rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: #111111;
}

.activities__goal-text {
  margin-top: 0.5rem;
}

.activities__title {
  margin: 0;
  margin-top: 5.875rem;
  font-family: "Roboto Slab", serif;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 700;
  text-align: center;
  color: #313f7c;
}

.activities__list {
  margin-top: 2.5rem;
  list-style: none;
  display: flex;
  gap: 1.125rem;
}

.activities__item {
  flex: 1 1 calc((100% - 3.375rem) / 4);
  min-width: 0;
  min-height: 13.75rem;
  background: var(--color-white);
  border-radius: 1.125rem;
  box-shadow: 0 0.625rem 1.5rem rgba(28, 42, 72, 0.12);
  padding: 3.875rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.activities__item-title {
  margin: 0;
  max-width: 15rem;
  font-family: "Roboto Slab", serif;
  font-size: 1.3125rem;
  line-height: 1.24;
  font-weight: 700;
  text-transform: uppercase;
  color: #4aa2cf;
}

.activities__item-text {
  margin-top: 1.125rem;
  max-width: 16rem;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 400;
  color: #111111;
}

.news {
  background: var(--color-white);
  padding-top: 6rem;
  padding-bottom: 3.5rem;
}

.news__title {
  margin: 0;
  font-family: "Roboto Slab", serif;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 700;
  text-align: center;
  color: #313f7c;
  text-transform: uppercase;
}

.news__list {
  margin-top: 2rem;
  list-style: none;
  display: flex;
  gap: 1.125rem;
}

.news__item {
  flex: 1 1 calc((100% - 3.375rem) / 4);
  min-width: 0;
}

.news-card {
  min-height: 21.875rem;
  border: 1px solid #d1d1d1;
  border-radius: 1.125rem;
  background: var(--color-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card__media {
  height: 12.5625rem;
  background: #efefef;
  overflow: hidden;
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}
.news-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.3125rem 1.5rem;
}

.news-card__title {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.1;
  font-weight: 700;
  color: #111111;
}

.news-card__text {
  margin-top: 0.625rem;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 400;
  color: #111111;
}

.news-card__date {
  margin-top: auto;
  padding-top: 1.0625rem;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 400;
  color: #9a9a9a;
}
.news__item:hover .news-card__media img {
  transform: scale(1.1);
}

.thanks-partners {
  background: #ffffff;
  padding-top: 3.25rem;
  padding-bottom: 5.5rem;
}

.thanks-partners__title,
.thanks-partners__partners-title {
  margin: 0;
  font-family: "Roboto Slab", serif;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #313f7c;
}

.thanks-partners__thanks-list {
  margin-top: 2.5rem;
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 0;
}

.thanks-partners__thanks-item {
  flex: 0 0 auto;
}

.thanks-partners__thanks-item img {
  width: auto;
  height: 19.25rem;
}

.thanks-partners__thanks-link {
  display: inline-flex;
  cursor: zoom-in;
}

.thanks-partners__partners-title {
  margin-top: 8rem;
}

.thanks-partners__partners-list {
  margin-top: 2.5rem;
  margin-inline: auto;
  max-width: 58rem;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.thanks-partners__partner-item {
  flex: 1 1 calc((100% - 1.5rem) / 3);
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-partners__partner-item img {
  width: min(100%, 18.1875rem);
  max-height: none;
  height: auto;
  background: #ffffff;
  object-fit: contain;
}

body.thanks-partners-lightbox-open {
  overflow: hidden;
}

.thanks-partners-lightbox[hidden] {
  display: none;
}

.thanks-partners-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.thanks-partners-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 18, 38, 0.82);
}

.thanks-partners-lightbox__dialog {
  position: relative;
  z-index: 1;
  margin: 0;
  width: fit-content;
  max-width: min(90vw, 42rem);
  min-width: 14rem;
  min-height: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-partners-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 85vh;
  height: auto;
  border-radius: 0.5rem;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.thanks-partners-lightbox--loading .thanks-partners-lightbox__image {
  opacity: 0;
}

.thanks-partners-lightbox__loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: -1.25rem;
  margin-top: -1.25rem;
  border: 0.1875rem solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: thanks-partners-spin 0.9s linear infinite;
  opacity: 0;
  pointer-events: none;
}

.thanks-partners-lightbox--loading .thanks-partners-lightbox__loader {
  opacity: 1;
}

.thanks-partners-lightbox__close {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  z-index: 2;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 18, 38, 0.55);
  font-size: 1.25rem;
  line-height: 1;
  color: #ffffff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@keyframes thanks-partners-spin {
  to {
    transform: rotate(360deg);
  }
}

.site-footer {
  background: var(--color-nav);
}

.site-footer > .container {
  padding-top: 3.75rem;
  padding-bottom: 1.5rem;
}

.site-footer__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4.5rem;
}

.site-footer__brand-col {
  flex: 1 1 35rem;
  min-width: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  color: rgba(255, 255, 255, 0.94);
}

.footer-brand__mark {
  width: 6.0625rem;
  height: auto;
  flex: 0 0 auto;
  filter: brightness(0) invert(1) saturate(0) brightness(1.18);
  opacity: 0.94;
}

.footer-brand__text {
  width: 28rem;
}

.footer-brand__subtitle {
  font-family: "Roboto Slab", serif;
  font-size: 0.9625rem;
  line-height: 1.26;
  text-align: center;
}

.footer-brand__title {
  margin-top: 0.625rem;
  font-family: "Roboto Slab", serif;
  font-size: 2.625rem;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.footer-social {
  margin-top: 3.25rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-social__link {
  position: relative;
  width: 3.125rem;
  height: 3.125rem;
  border: 1px solid #6C819C;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  opacity: 0.92;
}

.footer-social__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.footer-social__icon--vk {
  width: 1.6875rem;
  height: 1.0625rem;
}

.footer-social__icon--chat {
  width: 1.5rem;
  height: 1.5rem;
}

.site-footer__nav {
  flex: 0 1 18.25rem;
}

.site-footer__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-footer__menu a {
  font-size: calc(1.375rem * 0.85);
  line-height: 1.15;
  font-weight: 400;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus-visible {
  color: var(--color-white);
}

.site-footer__contacts {
  margin: 0;
  flex: 0 1 17rem;
  font-style: normal;
}

.site-footer__contacts-title {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.15;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.site-footer__contact {
  margin: 1.5rem 0 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: calc(1.375rem * 0.85);
  line-height: 1.15;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__contact--phone {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.site-footer__contact--phone span:last-child {
  white-space: nowrap;
}

.site-footer__icon {
  margin-top: 0;
  width: 1.5625rem;
  height: 1.5625rem;
  flex: 0 0 auto;
}

.site-footer__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(123, 147, 174, 0.58);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__copy,
.site-footer__creator {
  font-size: 0.9rem;
  line-height: 1.2;
  color: rgba(149, 171, 198, 0.85);
}

.site-footer__creator a {
  transition: color 0.2s ease;
}

.site-footer__creator a:hover,
.site-footer__creator a:focus-visible {
  color: rgba(255, 255, 255, 0.95);
}

*:focus,
*:focus-visible {
  outline: none !important;
}



@media (min-width: 1200px) {
  .site-header__top-inner,
  .main-nav > .container,
  .hero__container,
  .activities > .container,
  .services-focus > .container,
  .services-catalog > .container,
  .contacts-connect > .container,
  .news > .container,
  .thanks-partners > .container,
  .site-footer > .container {
    width: min(100%, 100rem);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
    h1 {
        font-size: 2.5rem;
    }
  .footer-social__link {
    width: 2.8125rem;
    height: 2.8125rem;
  }

  .footer-social__icon--vk {
    width: 1.51875rem;
    height: 0.95625rem;
  }

  .footer-social__icon--chat {
    width: 1.35rem;
    height: 1.35rem;
  }
}

@media (max-width: 1199px) {
  .site-footer > .container {
    padding-top: 3.25rem;
    padding-bottom: 1.25rem;
  }

  .site-footer__main {
    gap: 3rem;
  }

  .site-footer__brand-col {
    flex-basis: 31rem;
  }

  .footer-brand {
    gap: 1.25rem;
  }

  .footer-brand__mark {
    width: 5.25rem;
  }

  .footer-brand__text {
    width: 22rem;
  }

  .footer-brand__subtitle {
    font-size: 0.9375rem;
  }

  .footer-brand__title {
    font-size: 2rem;
  }

  .footer-social {
    margin-top: 2.5rem;
  }

  .site-footer__menu {
    gap: 1.25rem;
  }

  .site-footer__menu a {
    font-size: calc(1.0625rem * 0.85);
  }

  .site-footer__contacts-title {
    font-size: 1.375rem;
  }

  .site-footer__contact {
    margin-top: 1.25rem;
    font-size: calc(1.0625rem * 0.85);
  }

  .site-footer__contact--phone {
    font-size: 1.5rem;
  }

  .site-footer__icon {
    width: 1.5625rem;
    height: 1.5625rem;
  }

  .site-footer__bottom {
    margin-top: 2.5rem;
    padding-top: 1rem;
  }

  .site-footer__copy,
  .site-footer__creator {
    font-size: 0.9rem;
  }
}

@media (max-width: 991px) {
    h1 {
        font-size: 2.125rem;
    }
  .site-footer > .container {
    padding-top: 2.75rem;
    padding-bottom: 1.25rem;
  }

  .site-footer__main {
    flex-wrap: wrap;
    gap: 2.25rem 2rem;
  }

  .site-footer__brand-col {
    order: 3;
    flex-basis: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
  }

  .footer-social {
    margin-top: 0;
    flex: 0 0 auto;
  }

  .footer-brand {
    max-width: none;
    min-width: 0;
  }

  .footer-brand__text {
    width: 22rem;
    max-width: 22rem;
  }

  .site-footer__nav {
    order: 1;
    flex: 1 1 18rem;
  }

  .site-footer__contacts {
    order: 2;
    flex: 0 1 17rem;
    max-width: 17rem;
  }

  .site-footer__bottom {
    margin-top: 2.25rem;
  }
}

@media (max-width: 677px) {
  .site-footer__nav {
    flex: 1 1 12rem;
  }
}

@media (max-width: 575px) {
  .site-footer__brand-col {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-footer__contacts {
    flex: 0 1 15rem;
    max-width: 15rem;
  }

  .site-footer__copy {
    width: 45%;
  }

  .footer-brand {
    width: auto;
  }

  .footer-brand__text {
    width: auto;
    max-width: none;
  }

  .footer-social {
    margin-top: 0.5rem;
    align-self: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-brand {
    flex-direction: column;
    align-items: center;
  }

  .footer-brand__title {
    font-size: 1.7rem;
  }

  .site-footer__menu li {
    text-align: center;
  }

  .site-footer__nav {
    flex: 1 1 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .site-footer__contacts {
    flex: 0 1 15rem;
    max-width: 15rem;
    margin-inline: auto;
    text-align: center;
  }

  .site-footer__contact {
    justify-content: center;
  }

  .site-footer__copy,
  .site-footer__creator {
    font-size: 0.8rem;
  }
}

@media (max-width: 1199px) {
  .news {
    padding-top: 5.25rem;
    padding-bottom: 3.25rem;
  }

  .news__title {
    font-size: 2.5rem;
  }

  .news__list {
    margin-top: 1.75rem;
    gap: 1rem;
  }

  .news__item {
    flex-basis: calc((100% - 3rem) / 4);
  }

  .news-card {
    min-height: 20.25rem;
  }

  .news-card__media {
    height: 11.5rem;
  }

  .news-card__body {
    padding: 1.125rem 1.125rem 1.375rem;
  }

  .news-card__title {
    font-size: 1.5rem;
  }

  .news-card__text,
  .news-card__date {
    font-size: 0.9375rem;
  }

  .thanks-partners {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }

  .thanks-partners__title,
  .thanks-partners__partners-title {
    font-size: 2.5rem;
  }

  .thanks-partners__thanks-list {
    margin-top: 2.25rem;
    gap: 1.25rem;
  }

  .thanks-partners__thanks-item img {
    height: 16.25rem;
  }

  .thanks-partners__partners-title {
    margin-top: 6.5rem;
  }

  .thanks-partners__partners-list {
    max-width: 52rem;
  }

  .activities {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  .activities__title {
    margin-top: 4.75rem;
    font-size: 2.5rem;
  }

  .activities__list {
    margin-top: 2.25rem;
    gap: 1rem;
  }

  .activities__item {
    flex-basis: calc((100% - 3rem) / 4);
    min-height: 12.5rem;
    padding-top: 3rem;
  }

  .activities__item-title {
    max-width: 13rem;
    font-size: 1.1875rem;
  }

  .activities__item-text {
    max-width: 13.5rem;
    font-size: 0.9375rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .site-header__top {
    padding-top: 1.75rem;
    padding-bottom: 1.5rem;
  }

  .brand {
    gap: 1.25rem;
  }

  .brand__mark {
    width: 5.25rem;
  }

  .brand__text {
    width: 22rem;
  }

  .brand__subtitle {
    max-width: 100%;
    font-size: 0.9375rem;
  }

  .brand__title {
    margin-top: 0.5rem;
    font-size: 2rem;
  }

  .site-header__contacts {
    gap: 1.25rem;
  }

  .contact-phone {
    font-size: 1.375rem;
  }

  .main-nav__list {
    gap: 1rem;
  }

  .main-nav__list a {
    min-height: 4rem;
    font-size: 1.0625rem;
  }

  .hero__container {
    min-height: 40rem;
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
  }

  .hero__content {
    max-width: 40rem;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__list {
    font-size: 1.1875rem;
  }

  .hero__cta {
    min-height: 3.75rem;
    font-size: 1.1875rem;
  }

  .hero__media {
    margin-top: 4.5rem;
    margin-right: 0;
  }

  .hero__media img {
    width: 22rem;
  }

  .social-link__bg {
    width: 2.8125rem;
    height: 2.8125rem;
  }

  .social-link__icon--vk {
    width: 1.51875rem;
    height: 0.95625rem;
  }

  .social-link__icon--chat {
    width: 1.35rem;
    height: 1.35rem;
  }
}

@media (max-width: 991px) {
  .activities {
    padding-top: 3.5rem;
    padding-bottom: 3.75rem;
  }

  .news {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  .news__title {
    font-size: 2.125rem;
  }

  .news__list {
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .news__item {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .news-card {
    min-height: 19.25rem;
  }

  .news-card__media {
    height: 10.75rem;
  }

  .activities__intro {
    max-width: 44rem;
  }

  .activities__title {
    margin-top: 3.75rem;
    font-size: 2.125rem;
  }

  .activities__list {
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .activities__item {
    flex-basis: calc((100% - 1rem) / 2);
    min-height: 11.5rem;
    padding: 2.625rem 1.25rem 1.75rem;
  }

  .site-header__top-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-header__contacts {
    width: 100%;
    justify-content: space-between;
  }

  .main-nav__list {
    min-height: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 1.5rem;
    padding-block: 0.5rem;
  }

  .main-nav__list a {
    min-height: 2.875rem;
  }

  .hero__container {
    min-height: 0;
    flex-direction: column;
    align-items: center;
    gap: 2.25rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__media {
    margin-top: 0;
  }

  .thanks-partners {
    padding-top: 2.75rem;
    padding-bottom: 4rem;
  }

  .thanks-partners__title,
  .thanks-partners__partners-title {
    font-size: 2.125rem;
  }

  .thanks-partners__thanks-list {
    margin-top: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .thanks-partners__thanks-item {
    flex: 0 0 calc((100% - 2rem) / 3);
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    justify-content: center;
  }

  .thanks-partners__thanks-item img {
    width: min(100%, 12rem);
    height: auto;
  }

  .thanks-partners__partners-title {
    margin-top: 4.75rem;
  }

  .thanks-partners__partners-list {
    margin-top: 1.75rem;
    max-width: 100%;
    gap: 0.875rem;
    flex-wrap: wrap;
  }

  .thanks-partners__partner-item {
    flex-basis: calc((100% - 1.75rem) / 3);
    min-height: 0;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
    h1 {
        font-size: 1.875rem;
        line-height: 1.12;
    }
  .site-header__top-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    flex-wrap: wrap;
  }

  .brand {
    align-items: flex-start;
  }

  .brand__text {
    width: 19.5rem;
  }

  .brand__subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .brand__title {
    font-size: 1.875rem;
  }

  .site-header__contacts {
    width: auto;
    justify-content: flex-start;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 0.75rem;
  }

  .contact-phone {
    font-size: 1.375rem;
  }

  .hero__title {
    font-size: 1.625rem;
  }

  .hero__list {
    margin-top: 1rem;
    font-size: 1.125rem;
    line-height: 1.5;
  }

  .hero__cta {
    margin-top: 2rem;
    min-height: 3.75rem;
    font-size: 1.125rem;
    width: 100%;
    max-width: 24rem;
  }

  .hero__media img {
    width: min(100%, 20rem);
  }

  .hero__media {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .site-header__top-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    flex-wrap: wrap;
  }

  .site-header__contacts {
    width: auto;
    justify-content: flex-start;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 0.75rem;
  }

  .hero__media {
    display: none;
  }
}

@media (max-width: 767px) {
  .activities {
    padding-top: 3rem;
    padding-bottom: 3.25rem;
  }

  .news {
    padding-top: 3.625rem;
    padding-bottom: 2.75rem;
  }

  .news__title {
    font-size: 1.875rem;
    line-height: 1.12;
  }

  .news__list {
    margin-top: 1.375rem;
    gap: 0.875rem;
  }

  .news__item {
    flex-basis: calc((100% - 0.875rem) / 2);
  }

  .news-card {
    min-height: 17.5rem;
  }

  .news-card__media {
    height: 9.5rem;
  }

  .news-card__title {
    font-size: 1.375rem;
  }

  .news-card__text,
  .news-card__date {
    font-size: 0.9375rem;
  }

  .activities__intro {
    max-width: 100%;
  }

  .activities__lead p,
  .activities__goal-text p {
    font-size: 0.9375rem;
    line-height: 1.36;
  }

  .activities__goal-text h3 {
    margin-top: 1.5rem;
    font-size: 1rem;
  }

  .activities__title {
    margin-top: 3rem;
    font-size: 1.875rem;
    line-height: 1.12;
  }

  .activities__list {
    margin-top: 1.5rem;
    gap: 0.875rem;
  }

  .activities__item {
    flex-basis: calc((100% - 0.875rem) / 2);
    min-height: 11rem;
    padding: 2.25rem 1rem 1.5rem;
  }

  .activities__item-title {
    font-size: 1.125rem;
  }

  .activities__item-text {
    margin-top: 0.875rem;
    font-size: 0.9375rem;
  }

  .thanks-partners {
    padding-top: 2.5rem;
    padding-bottom: 3.25rem;
  }

  .thanks-partners__title,
  .thanks-partners__partners-title {
    font-size: 1.875rem;
    line-height: 1.12;
  }

  .thanks-partners__thanks-list {
    margin-top: 0.5rem;
    gap: 0.875rem;
  }

  .thanks-partners__thanks-item {
    flex-basis: calc((100% - 0.875rem) / 2);
  }

  .thanks-partners__thanks-item img {
    width: min(100%, 11rem);
  }

  .thanks-partners__partners-title {
    margin-top: 3.25rem;
  }

  .thanks-partners__partners-list {
    margin-top: 1.5rem;
    gap: 0.75rem;
  }

  .thanks-partners__partner-item {
    flex-basis: 100%;
    min-height: 0;
    padding: 0;
  }

  .thanks-partners__partner-item img {
    width: min(100%, 18.1875rem);
  }
}

@media (min-width: 678px) and (max-width: 767px) {
  .thanks-partners__thanks-item {
    flex-basis: calc((100% - 2rem) / 3);
  }

  .thanks-partners__partner-item {
    flex-basis: calc((100% - 0.75rem) / 2);
  }
}

@media (max-width: 677px) {
  .thanks-partners__partner-item {
    flex-basis: calc((100% - 0.75rem) / 2);
  }
}

@media (max-width: 575px) {
    h1 {
        font-size: 1.625rem;
    }
  .activities {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .news {
    padding-top: 3.25rem;
    padding-bottom: 2.5rem;
  }

  .news__title {
    font-size: 1.625rem;
  }

  .news__list {
    margin-top: 1.25rem;
    gap: 0.75rem;
  }

  .news__item {
    flex-basis: 100%;
  }

  .news-card {
    min-height: 0;
  }

  .news-card__media {
    height: 10.5rem;
  }

  .news-card__body {
    padding: 1rem 1rem 1.25rem;
  }

  .news-card__title {
    font-size: 1.25rem;
  }

  .news-card__text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .news-card__date {
    padding-top: 0.875rem;
    font-size: 0.875rem;
  }

  .activities__title {
    margin-top: 2.5rem;
    font-size: 1.625rem;
  }

  .activities__list {
    margin-top: 1.25rem;
    gap: 0.75rem;
  }

  .activities__item {
    flex-basis: 100%;
    min-height: 0;
    padding: 2rem 1rem 1.75rem;
  }

  .activities__item-title,
  .activities__item-text {
    max-width: none;
  }

  .site-header__top {
    padding-top: 1.25rem;
    padding-bottom: 1rem;
  }

  .brand__text {
    width: 16.5rem;
  }

  .brand {
    gap: 0.875rem;
  }

  .brand__mark {
    width: 4rem;
  }

  .brand__title {
    font-size: 1.5rem;
  }

  .contact-phone {
    font-size: 1.125rem;
  }

  .main-nav__list {
    justify-content: flex-start;
    gap: 0;
  }

  .main-nav__list li {
    width: 50%;
  }

  .main-nav__list a {
    min-height: 2.5rem;
    font-size: 0.9375rem;
  }

  .hero__container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero__title {
    font-size: 1.625rem;
    line-height: 1.24;
  }

  .hero__list {
    font-size: 1rem;
    padding-left: 1.25rem;
  }

  .thanks-partners {
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }

  .thanks-partners__title,
  .thanks-partners__partners-title {
    font-size: 1.625rem;
  }

  .thanks-partners__thanks-list {
    margin-top: 0.25rem;
    gap: 0.75rem;
  }

  .thanks-partners__thanks-item {
    flex-basis: calc((100% - 0.75rem) / 2);
  }

  .thanks-partners__thanks-item img {
    width: min(100%, 14rem);
  }

  .thanks-partners__partners-title {
    margin-top: 2.5rem;
  }

  .thanks-partners__partners-list {
    margin-top: 1.25rem;
  }

  .thanks-partners__partner-item {
    min-height: 0;
  }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
  .activities {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .news {
    padding-top: 3rem;
    padding-bottom: 2.25rem;
  }

  .news__title {
    font-size: 1.5rem;
  }

  .activities__title {
    font-size: 1.5rem;
  }

  .main-nav__list li {
    width: 100%;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__cta {
    max-width: 100%;
    padding-inline: 1.5rem;
    text-align: center;
  }

  .thanks-partners {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .thanks-partners__title,
  .thanks-partners__partners-title {
    font-size: 1.5rem;
  }

  .thanks-partners__thanks-item,
  .thanks-partners__partner-item {
    flex-basis: 100%;
  }

  .thanks-partners__thanks-item img {
    width: min(100%, 12.75rem);
  }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.375rem;
    }
  .news__title {
    font-size: 1.375rem;
  }

  .news-card__title {
    font-size: 1.125rem;
  }

  .news-card__text,
  .news-card__date {
    font-size: 0.8125rem;
  }

  .activities__lead p,
  .activities__goal-text p {
    font-size: 0.875rem;
  }

  .activities__goal-text h3 {
    font-size: 1.375rem;
  }

  .activities__item-title {
    font-size: 1rem;
  }

  .activities__item-text {
    font-size: 0.875rem;
  }

  .hero__title {
    font-size: 1.375rem;
  }

  .hero__list {
    font-size: 0.9375rem;
  }

  .thanks-partners__title,
  .thanks-partners__partners-title {
    font-size: 1.375rem;
  }

  .thanks-partners__partner-item img {
    width: min(100%, 16.5rem);
  }
}

@media (max-width: 991px) {
  .site-header__top {
    padding-top: 1.75rem;
    padding-bottom: 1.5rem;
  }

  .brand {
    gap: 1.25rem;
  }

  .brand__mark {
    width: 5.25rem;
  }

  .brand__text {
    width: 22rem;
  }

  .brand__subtitle {
    max-width: 100%;
    font-size: 0.9375rem;
  }

  .brand__title {
    margin-top: 0.5rem;
    font-size: 2rem;
  }

  .site-header__contacts {
    gap: 1.25rem;
  }

  .contact-phone {
    font-size: 1.375rem;
  }

  .main-nav__list {
    gap: 1rem;
  }

  .main-nav__list a {
    min-height: 4rem;
    font-size: 1.0625rem;
  }

  .hero__container {
    min-height: 40rem;
    gap: 2rem;
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
  }

  .hero__content {
    max-width: 40rem;
  }

  .hero__title {
    font-size: 1.75rem;
    line-height: 1.18;
  }

  .hero__list {
    margin-top: 1.5rem;
    padding-left: 1.65rem;
    font-size: 1.1875rem;
    line-height: 1.46;
  }

  .hero__cta {
    margin-top: 3.875rem;
    min-height: 3.75rem;
    padding-inline: 2.375rem;
    font-size: 1.1875rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .main-nav__list {
    padding-block: 0;
    gap: 1.5rem;
  }

  .hero__container {
    min-height: auto;
    padding-bottom: 4.5rem;
  }

  .hero__content {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .site-header {
    display: flex;
    flex-direction: column;
  }

  .main-nav__list a::after {
    height: 0.125rem;
  }

  .main-nav {
    order: -1;
  }

  .brand {
    align-items: center;
  }

  .hero__container {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero__content {
    max-width: none;
  }

  .hero__media {
    display: none;
  }

  .hero__cta {
    width: auto;
    max-width: none;
  }

  .main-nav > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
  }

  .main-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    min-height: 3rem;
    min-width: 3rem;
  }

  .main-nav__list {
    width: 100%;
    min-height: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    padding-block: 0;
    gap: 0;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .main-nav__list li {
    width: 100%;
  }

  .main-nav__list a {
    width: 100%;
    min-height: 3rem;
  }

  .main-nav--open .main-nav__list {
    max-height: 24rem;
    opacity: 1;
    pointer-events: auto;
    padding-block: 0.5rem;
  }

  .main-nav--open .main-nav__toggle-line {
    background-color: transparent;
  }

  .main-nav--open .main-nav__toggle-line::before {
    top: 0;
    transform: rotate(45deg);
  }

  .main-nav--open .main-nav__toggle-line::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

@media (min-width: 1200px) {
  .activities__lead p {
    font-size: 1.4rem;
  }

  .activities__goal-text h3 {
    font-size: 1.625rem;
  }

  .activities__goal-text p {
    font-size: 1.4rem;
  }

  .activities__item-title {
    font-size: 1.7125rem;
  }

  .activities__item-text {
    font-size: 1.4rem;
  }

  .activities__item {
    padding-bottom: 4rem;
  }

  .news-card__text,
  .news-card__date {
    font-size: 1.4rem;
  }
}

@media (max-width: 677px) {
  .brand {
    width: auto;
  }

  .brand__text {
    width: auto;
  }

  .site-header__contacts {
    width: auto;
    margin-left: auto;
    align-self: flex-end;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
  }
}

@media (max-width: 575px) {
  .brand__text {
    width: auto;
  }
}

@media (max-width: 479px) {
  .brand {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .brand__mark {
    margin-inline: auto;
  }

  .brand__title {
    font-size: 1.7rem;
  }

  .site-header__contacts {
    margin-left: 0;
    align-self: center;
    justify-content: center;
  }

  .hero__title {
    font-size: 1.6rem;
  }
}
