@font-face {
  font-family: "Helvetica";
  src: url("/fonts/Helvetica-Light.woff") format("woff"),
    url("/fonts/helvetica_cyr_oblique.ttf") format("ttf");
}

body {
  max-width: 1600px;
  margin: 0 auto;
  font-family: "Helvetica";
}

h1,
h2,
h3 {
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
}

.callBackVoid:hover {
  cursor: pointer;
}

:hover {
  transition-duration: 0.3s;
}

.modalMain {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1001;
  display: none;
}

.modalMain__bg {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1002;
}

.modalMain__inner {
  position: absolute;
  width: 450px;
  padding: 24px;
  border-radius: 10px;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-image: url(/img/form_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  z-index: 1005;
}

.modalMain__title {
  color: #000;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%; 
  text-transform: uppercase;
}

.modalMain__row {
  width: 100%;
}

.modalMain__input {
  padding: 12px 0;
  border: none;
  outline-style: none;
  border-bottom: 1px solid #000;
  width: 100%;
  background-color: inherit;
}

.modalMain__input::placeholder {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 125%;
  text-transform: uppercase;
}

.modalMain__button {
  text-align: center;
}

@media (max-width: 768px) {
  .modalMain__inner {
    width: 98%;
  }
}

.modalYesright {
  color: #fff;
}

.modalYesright a {
  color: #fff;
}

.modalMain__btn {
  background-color: #fc6701;
  padding: 8px;
  white-space: nowrap;
  border-radius: 5px;
  text-transform: uppercase;
  outline-style: none;
  font-weight: 600;
  color: #fff;
}

.modalMain__btn:hover {
  background-color: #be4f03;
  color: #fff;
}

.stick-menu {
  display: none;
  text-align: center;
}

.is-sticky .stick-menu {
  width: 100%;
  z-index: 1000;
  display: block;
  position: fixed;
  background-color: #fff;
  padding: 12px 0;
}

.stickMenu__list {
  display: flex;
  justify-content: space-around;
}

.line-top {
  display: none;
  z-index: 1001;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
}

@media (max-width: 992px) {
  .line-top {
    display: block;
  }
}

.line-top__inner {
  padding: 40px 32px;
  background-color: inherit;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: inherit;
  transition-duration: 0.3s;
}

.sticky .line-top__inner {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 20px 32px;
  transition-duration: 0.3s;
}

.line-stati .line-top__inner {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 20px 32px;
  transition-duration: 0.3s;
}

.line-top__logo img,
.mobile-menu__logo img {
  height: 32px;
}

.line-top__phone {
  text-align: left;
}

.line-top__phone-link {
  color: #000;
  text-decoration: none;
}

.line-top__icon {
  text-decoration: none;
  color: #000;
  font-size: 1.8em;
}

.shapka__logo-img {
  width: 100px;
}

.mobile-menu {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: #000;
  z-index: 1001;
}

.mobile-menu__line-top {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 32px;
}

.mobile-menu__closed img {
  transform: rotate(90deg);
}

.mobile-menu__menu {
  padding: 32px;
  height: 100%;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 45px;
  margin: 40px 0 70px;
}

.mobile-menu__item {
  padding: 8px 0;
}

.mobile-menu__menu a {
  color: #ededed;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  text-transform: uppercase;
}

.mobile-menu__phone {
  margin: 16px 0;
  color: #000;
}

.mobile-menu__phone-text {
  text-transform: uppercase;
  color: #000;
  font-weight: 600;
  text-align: center;
  padding: 8px 0;
  font-size: 0.875em;
}

.mobile-menu__phone-list {
  list-style: none;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0;
  margin: 0;
}

.mobile-menu__phone-item {
  padding: 8px 0;
}

.mobile-menu__phone-link {
  text-transform: uppercase;
  font-size: 0.875em;
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.category-mobile {
  margin: 8px 0;
}

.category-mobile select {
  width: 100%;
  border: 2px solid #000;
  border-radius: 8px;
  padding: 8px 16px;
}

.sticky {
  position: fixed;
}

.line-top__callback {
  background-color: #000;
  color: #ffffff;
  border: none;
  margin-top: 4px;
  text-transform: lowercase;
  padding: 4px 8px;
}

.modal-exit {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1001;
  top: 0;
  left: 0;
}

.modal-exit__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-exit__inner {
  font-size: 1.2em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 350px;
  background-color: #ffffff;
  box-shadow: 0 0 8px #666666;
  padding: 16px;
  text-align: center;
}

@media (max-width: 768px) {
  .modal-exit__inner {
    width: 98%;
  }
}

.modal-exit__header {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 8px;
}

.header {
}

.shapka-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 810px;
  color: #000;
}

.shapka-left {
  /* grid-column: 1 / 10; */
}

.shapka-left {
  padding: 50px;
  height: 100%;
  background: #e0e0e0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header-nav a {
  color: #000;
  font-family: Helvetica;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  position: relative;
}

.header-nav a:hover::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #9b001f;
  content: " ";
}

.slide-title {
  font-size: 65px;
  font-style: normal;
  font-weight: 400;
  line-height: 115%;
  text-transform: uppercase;
}

.slide-sub {
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  text-transform: uppercase;
}

.shapka-center {
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.slide-btn a {
  color: #000;
  text-align: center;
  font-family: Helvetica;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 20px 32px;
  border: 1px solid #000;
  display: flex;
  width: fit-content;
}

.shapka-bot {
  padding-top: 55px;
  border-top: 1px solid #000;
  display: flex;
  gap: 30px;
  font-size: 21px;
  font-style: normal;
  font-weight: 300;
  line-height: 125%;
}

.shapka-bot span {
  font-weight: 600;
}

.black-block {
  padding: 50px 50px 60px;
  background-color: #000;
  color: #ededed;
}

.title1 img {
  width: 100%;
}

.black-bord {
  border-top: 1px solid #515151;
  padding: 0;
  border-bottom: 1px solid #515151;
  margin: 80px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.title48 {
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 115%;
  text-transform: uppercase;
}

.black-bord__item {
  padding: 60px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.black-bord__item:last-child {
  border-left: 1px solid #515151;
}

.text21 {
  font-size: 21px;
  font-style: normal;
  font-weight: 300;
  line-height: 125%;
}

.black-plitka {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 80px 0 60px;
  border: 1px solid #515151;
}

.plitka-img {
  overflow: hidden;
}

.plitka-img img {
  width: 100%;
}

.black-plitka__item:nth-child(2) {
  border-left: 1px solid #515151;
  border-right: 1px solid #515151;
}

.plitka-img img {
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
}

.plitka-img img:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.plitka-info {
  padding: 112px 30px 40px;
}

.plitka-title {
  color: #ededed;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.zadacha {
  background-image: url(/img/zadacha.jpg);
  background-position: left top;
  background-size: cover;
  background-attachment: fixed;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  color: #000;
}

.zadacha-info {
  grid-column: 2 / 3;
  padding: 60px;
}

.title32 {
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  text-transform: uppercase;
}

.zadacha-info .title32 {
  margin: 70px 0 50px;
}

.zadacha-fl {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 125%;
}

.shapka-right {
  /* grid-column: 10 / 17; */
  position: relative;
}

.video-background {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1000;
  overflow: hidden;
}

#myVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1000;
  transform: translateX(-50%) translateY(-50%);
}

.gallery1 {
  margin-top: 30px;
}

.kto-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  color: #ededed;
}

.kto-item {
  min-height: 1120px;
  background-position: center;
  background-size: cover;
  padding: 100px 50px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kto-item1 {
  background-image: url(/img/kto/1.jpg);
}

.kto-item2 {
  background-image: url(/img/kto/2.jpg);
}

.kto-bot .title32 {
  margin-bottom: 20px;
}

.kto-bot .text21 {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.kto-bot .text21 p {
  margin: 0;
}

.kto-title {
  font-size: 52px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.faq-block {
  padding: 100px 50px;
  background: #e0e0e0;
}

.faq-title {
  color: #000;
  text-align: center;
  font-size: 170px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  text-transform: uppercase;
  margin-bottom: 120px;
}

summary {
  color: #000;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: relative;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: url(/img/down.svg);
  position: absolute;
  right: 0;
  top: 0;
}

details[open] summary:after {
  transform: rotate(45deg);
}

details[open] {
  animation: slide 0.5s ease-in-out;
  animation-duration: 1s;
}

.faq-inner details:first-child {
  border-top: 1px solid #000;
}

.faq-inner details {
  border-bottom: 1px solid #000;
  padding: 31px 80px;
}

summary:hover:after {
  content: url(/img/down-r.svg);
}

.det-inner {
  color: #000;
  font-size: 21px;
  font-style: normal;
  font-weight: 300;
  line-height: 125%;
  margin-top: 31px;
}

.det-inner ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-inline-start: 20px;
}

.format-block {
  padding: 80px 50px;
  background: #000;
  color: #ededed;
}

.format-fl {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #ededed;
}

.format-title {
  font-size: 52px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.format-sub a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  text-transform: uppercase;
  color: #ededed;
}

.format-inner {
  position: relative;
  margin-top: 78px;
}

.format-list {
  display: flex;
  justify-content: space-between;
  gap: 132px;
}

.format-line {
  position: absolute;
  left: 0;
  top: 90px;
  width: 100%;
  height: 1px;
  background-color: #515151;
  content: " ";
}

.format-numb {
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  text-transform: uppercase;
  margin-bottom: 77px;
}

.format-item {
  position: relative;
}

.format-item .title32 {
  margin-bottom: 30px;
}

.format-item::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 83px;
  background-color: #9b001f;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.uslugi-block {
  background: #e0e0e0;
  padding: 80px 50px;
  color: #000;
}

.uslugi-fl {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 105px;
}

.uslugi-r {
  width: 513px;
  max-width: 100%;
}

.uslugi-inner {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.uslugi-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 114px;
}

.uslugi-item:nth-child(2) {
  flex-direction: row-reverse;
}

.uslugi-li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 23px 0 51px;
  width: 686px;
  max-width: 100%;
}

.uslugi-li:nth-child(2) {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.red-btn a {
  border: 1px solid #000;
  padding: 20px 32px;
  color: #050505;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  width: fit-content;
}

.red-btn a:hover {
  color: #fff;
  background: #9b001f;
  border-color: #9b001f;
}

.red-block {
  padding: 80px 50px;
  background-color: #9b001f;
  color: #ededed;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.red-left {
  width: 475px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.red-item {
  padding: 20px 0;
  border-bottom: 1px solid #fff;
}

.red-right {
  width: 572px;
  margin-left: auto;
}

.white-btn a {
  border: 1px solid #fff;
  padding: 20px 32px;
  color: #ededed;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  width: fit-content;
}

.red-right {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.klient-block {
  padding: 80px 50px 100px;
  background: #e0e0e0;
  color: #000;
}

.klient-title {
  text-align: center;
  font-size: 142px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 100px;
}

.klient-slider {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.map-area__sl {
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  -ms-flex-align: center;
  align-items: center;
  gap: 95px;
}

.marquee__wrapper {
  display: -ms-flexbox;
  display: flex;
  white-space: nowrap;
  animation: marquee-moving linear 20s infinite;
  gap: 95px;
}

@keyframes marquee-moving {
  0% {
    transform: translateZ(0) translateX(0);
  }

  to {
    transform: translateZ(0) translateX(-100%);
  }
}

.audit-block {
  padding: 80px 50px 60px;
  background-color: #000;
  color: #ededed;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.lekcii-block {
  background: #e0e0e0;
  padding: 80px 50px;
  color: #000;
}

.lekcii-fl {
  margin-bottom: 83px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.likcii-title {
  font-size: 52px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.lekcii-plitka {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: -1px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}

.lekcii-item {
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}

.lekcii-img {
  overflow: hidden;
}

.lekcii-img img {
  width: 100%;
  filter: grayscale(100);
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
}

.lekcii-img img:hover {
  filter: grayscale(0);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.lekcii-name {
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  text-transform: uppercase;
  padding: 35px;
}

footer {
  padding: 80px 50px 78px;
  background-color: #515151;
  color: #fff;
}

footer .lekcii-fl {
  margin-bottom: 29px;
}

.footer-bord {
  padding: 57px 0;
  border-top: 1px solid #515151;
  border-bottom: 1px solid #515151;
  margin-bottom: 79px;
}

.footer-bot {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-soc {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 33px;
}

.footer-link a {
  color: #ededed;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 125%;
  margin-bottom: 27px;
  display: inline-block;
}

.footer-list {
  display: flex;
  gap: 42px;
  margin-bottom: 50px;
}

.footer-item:nth-child(2) {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.footer-list a {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer-list a:hover::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  content: " ";
  background-color: #9b001f;
}

.uslugi-mobl {
  display: none;
}

.modalPop {
  width: calc(100% - 100px);
  background: #e0e0e0;
}

.modal-top {
  display: flex;
  justify-content: space-between;
}

.modal-center {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin: 90px 0;
}

.modal-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.modal-bot .red-btn a {
  white-space: nowrap;
}

.video-line {
  margin: 16px 0;
}

.video-line__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Одна колонка */
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.video-line__item video {
  width: 100%;
  aspect-ratio: 9 / 16; /* Соотношение сторон 9:16 для вертикального видео */
  object-fit: cover; /* Обеспечивает заполнение всего пространства */
}

.video-line__item .title32 {
  color: #ededed;
}

.play-video {
  position: relative;
  overflow: hidden;
}

.play-video::after {
  content: url(/img/play.svg);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 1000;
}

.play-video:hover::after {
  content: none;
}

.contant-block {
  padding: 50px 0;
}

.mb4 {
  margin-bottom: 40px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin: 30px 0;
}

.gallery-item img {
  width: 100%;
}

.shapka-stati {
  padding: 50px;
  background: #e0e0e0;
}

@media (max-width: 992px) {
  .video-line__list {
    grid-template-columns: repeat(2, 1fr); /* Одна колонка */
  }

  .shapka-stati {
    display: none;
  }

  .contant-block {
    padding: 100px 0 50px;
  }
}

@media (max-width: 1400px) {
  .faq-title,
  .klient-title {
    font-size: 120px;
  }

  .uslugi-item {
    gap: 50px;
  }

  .uslugi-img,
  .uslugi-list,
  .uslugi-img img {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .slide-title {
    font-size: 50px;
  }
  .black-plitka {
    grid-template-columns: repeat(1, 1fr);
  }

  .black-plitka__item {
    display: flex;
    align-items: center;
  }

  .plitka-info {
    padding: 50px;
  }

  .black-plitka__item:nth-child(2) {
    border-top: 1px solid #515151;
    border-bottom: 1px solid #515151;
    border-left: none;
    border-right: none;
  }

  .faq-title,
  .klient-title {
    font-size: 90px;
  }

  .red-block,
  .audit-block {
    display: flex;
    flex-direction: column;
    gap: 45px;
  }

  .red-left,
  .red-right {
    width: 100%;
  }

  .gallery {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 992px) {
  .shapka-inner {
    grid-template-columns: repeat(1, 1fr);
    position: relative;
    min-height: 100vh;
  }

  .shapka-right {
    grid-column: 1 / -1;
  }

  .shapka-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 149px 32px 45px;
    height: -WEBKIT-FILL-AVAILABLE;
    min-height: 100vh;
  }

  .header-nav {
    display: none;
  }

  .shapka-center .slide-btn,
  .shapka-bot img {
    filter: invert(1);
  }

  .shapka-bot {
    border-color: #fff;
  }

  .format-list {
    flex-direction: column;
    gap: 36px;
  }

  .format-line {
    width: 1px;
    height: 100%;
    top: 0;
  }

  .format-item {
    padding-left: 24px;
  }

  .format-item::before {
    top: 0;
    left: -7px;
  }

  .format-numb {
    margin-bottom: 25px;
    font-size: 24px;
  }

  .format-item .title32 {
    margin-bottom: 25px;
  }

  .title32 {
    font-size: 18px;
  }

  .text21 {
    font-size: 14px;
  }

  .format-fl {
    flex-direction: column;
    gap: 25px;
  }

  .format-sub a {
    text-decoration: underline;
  }

  .format-list .white-btn {
    display: none;
  }

  .format-title,
  .kto-title {
    font-size: 24px;
  }

  .faq-title {
    font-size: 40px;
  }

  .zadacha {
    background: #ededed;
    background-image: none;
    display: block;
  }

  .uslugi-img {
    display: none;
  }

  .uslugi-inner {
    gap: 0;
  }

  .uslugi-item:first-child {
    border-bottom: 1px solid #000;
  }

  .uslugi-li {
    width: 100%;
    padding: 21px 0;
  }

  .red-btn a {
    font-size: 9px;
    padding: 9px 18px;
  }

  .uslugi-fl {
    margin-bottom: 24px;
    flex-direction: column;
    gap: 25px;
  }

  .uslugi-mobl {
    display: block;
    padding: 20px 10px;
  }

  .uslugi-mobl img {
    width: 100%;
  }

  .format-block,
  .uslugi-block,
  .red-block,
  .lekcii-block,
  .faq-block,
  .black-block,
  .zadacha-info,
  .klient-block,
  footer {
    padding: 45px 30px;
  }

  .black-bord__item {
    padding: 30px;
  }

  .title48 {
    font-size: 18px;
  }

  .faq-inner details {
    padding: 18px 0;
  }

  summary {
    font-size: 18px;
  }

  summary:after {
    content: url(/img/plus-s.svg);
  }

  .klient-title {
    font-size: 33px;
  }

  .lekcii-fl {
    flex-direction: column;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .slide-title {
    font-size: 32px;
  }

  .slide-sub {
    font-size: 16px;
  }

  .shapka-center .slide-btn a,
  .white-btn a,
  .slide-btn a {
    font-size: 12px;
    padding: 12px 24px;
  }

  .shapka-bot {
    font-size: 12px;
  }

  .shapka-bot img {
    width: 37px;
  }

  .black-bord {
    grid-template-columns: repeat(1, 1fr);
    padding: 30px 0;
    gap: 25px;
    margin: 30px 0 45px;
  }

  .black-bord__item:last-child {
    border-left: none;
  }

  .black-bord__item {
    padding: 0;
  }

  .title48 {
    text-align: left !important;
  }

  .black-plitka {
    margin: 33px 0 38px;
    border: none;
    gap: 30px;
  }

  .black-plitka__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .plitka-img {
    width: 50%;
    text-align: left;
  }

  .black-plitka__item:nth-child(2) {
    border: none;
  }

  .plitka-info {
    padding: 0;
  }

  .zadacha-info .title32 {
    margin: 0;
    margin-bottom: 25px;
  }

  .zadacha-info {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .zadacha-fl {
    grid-row: 3;
    margin-top: 45px;
  }

  .red-right,
  .red-left {
    gap: 25px;
  }

  .klient-title {
    margin-bottom: 45px;
  }

  .likcii-title {
    font-size: 24px;
  }

  .lekcii-fl {
    margin-bottom: 45px;
  }

  /* .lekcii-plitka {
    display: flex;
    overflow: auto;
  }

  .lekcii-item {
    min-width: 100%;
  } */

  .lekcii-item,
  .lekcii-plitka {
    border: none;
  }

  .lekcii-name {
    padding: 25px 0;
    margin-top: 25px;
    border-top: 1px solid #000;
  }

  .lekcii-mobl {
    display: block;
  }

  .footer-bot {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 45px;
    position: relative;
  }

  .footer-item:nth-child(2) {
    justify-content: flex-start;
  }

  .footer-item:nth-child(3) {
    padding-top: 45px;
    border-top: 1px solid #fff;
  }

  .det-inner {
    font-size: 14px;
  }

  .gallery {
    grid-template-columns: repeat(2,1fr);
  }

  .footer-list {
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .footer-bot .footer-soc {
    top: -50px;
  }

  .gallery {
    grid-template-columns: repeat(1,1fr);
  }
}
