@font-face {
  font-family: 'Gilroy Regular';
  src: url('/fonts/Gilroy-Regular.eot');
  src: url('/fonts/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Gilroy-Regular.woff') format('woff'),
    url('/fonts/Gilroy-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy Bold';
  src: url('/fonts/Gilroy-Bold.eot');
  src: url('/fonts/Gilroy-Bold.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Gilroy-Bold.woff') format('woff'),
    url('/fonts/Gilroy-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy Medium';
  src: url('/fonts/Gilroy-Medium.eot');
  src: url('/fonts/Gilroy-Medium.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Gilroy-Medium.woff') format('woff'),
    url('/fonts/Gilroy-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy Black';
  src: url('/fonts/Gilroy-Black.eot');
  src: url('/fonts/Gilroy-Black.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Gilroy-Black.woff') format('woff'),
    url('/fonts/Gilroy-Black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy ExtraBold';
  src: url('/fonts/Gilroy-ExtraBold.eot');
  src: url('/fonts/Gilroy-ExtraBold.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Gilroy-ExtraBold.woff') format('woff'),
    url('/fonts/Gilroy-ExtraBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy Heavy';
  src: url('/fonts/Gilroy-Heavy.eot');
  src: url('/fonts/Gilroy-Heavy.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Gilroy-Heavy.woff') format('woff'),
    url('/fonts/Gilroy-Heavy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
    font-family: 'Gilroy Regular';
    background-color: #fff;
    margin: 0;
    padding: 0;
    color: #000;
}
i.colred {
    color: #ef0000;
}
#btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 1030; /* поверх всего */
  }
.topbar {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: #fff;
    border-radius: 50px;
    padding: 20px 30px;
    max-width: 95%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
}

.logo {
    height: 110px;
    position: absolute;
    top: -16px;
    z-index: 1100;
    background: #fff;
    padding: 10px;
    border-radius: 60px;
}

.topbar .nav {
  margin-left: 120px; /* подгони значение под ширину логотипа */
}

.topbar .nav a {
    margin: 0 10px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.btn-yellow {
    background: #ef0000;
    color: #fff;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    border: none;
}

.main-section {
    display: flex;
    height: 100vh;
    gap: 10px;
    padding: 10px;
}

.block {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
}

.block-left video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-right {
    background: #ededed;
    padding-top: 130px;
    padding-bottom: 80px;
    padding-left: 50px;
    padding-right: 85px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1.mainzag {
    font-size: 4vw;
    font-family: 'Gilroy Bold';
}
h1.mainzag span {
    color: #ef0000;
}

.features {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 30px; /* промежутки между преимуществами */
}

.feature-item {
  display: flex;
  align-items: center;
  flex: 1; /* равная ширина у всех */
}

.feature-number {
font-size: 60px;
    font-weight: 700;
    position: relative;
    margin-right: 10px;
    z-index: 1;
    font-family: 'Gilroy Bold';
}

.feature-number::after {
    content: "";
    width: 80px;
    height: 80px;
    background: #ef0000;
    border-radius: 50%;
    position: absolute;
    left: -22px;
    top: 3px;
    z-index: -1;
}

.feature-border {
    width: 2px;
    height: 40px;
    background: #e0e0e0;
    margin-right: 10px;
}

.offcanvas.w-90 {
  width: 90% !important;
}

.topbar i.bi, .social-links i.bi {
    color: #fff;
    font-size: 20px;
    padding: 10px 12px;
    border-radius: 66px;
}

.topbar i.bi.bi-list {
    color: inherit;
}

a.phonenum {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.bi-whatsapp {
  background-color: #0CC243;
}
.bi-telegram {
  background-color: #34ACE8;
}
.bi-telephone {
  background-color: #675DA9;
}


.custom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-btn .btn-icon {
position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 1;
    width: 40px;
    height: 40px;
    right: -11px;
        color: #fff;
}

.custom-btn .btn-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 15px);  /* круг больше самой иконки */
  height: calc(100% + 15px);
  border-radius: 50%;
  background: #ef0000;
  z-index: -1;
}

.custom-btn:hover {
  background: #000;
  color: #fff;
}


/* SERV */
.services {
  padding: 60px 0;
}

.services-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 40px;
      font-family: 'Gilroy Bold';
}
.services-title span {
    color: #ef0000;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  padding: 40px 30px;
  border-radius: 30px 30px 0 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card.yellow {
  justify-content: flex-start;
}

/* Вырез под кнопку */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 64px;  /* размер выреза */
  height: 64px;
  background: #fff; /* цвет фона страницы */
  border-top-left-radius: 44px;
}


.service-card.dark {
  background: #111;
  color: #fff;
}

.service-card.yellow {
  background: #ef0000;
  color: #fff;
}

.service-card.yellow .service-btn {
  color: #fff;
}

.service-card.image {
  background: #333 url("/img/services-2.webp") center/cover no-repeat;
  color: #fff;
}

.service-number {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ef0000;
  position: relative;
}

.service-card.yellow .service-number {
  color: #000;
}

.service-number::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #fff;
  margin-top: 5px;
}

.service-card.yellow .service-number::after {
  background: #000;
}

.service-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
    font-family: 'Gilroy Bold';
}

.service-text {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 20px;
    position: relative;
}

.service-link {
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
    position: relative;
    color: #fff;
        font-family: 'Gilroy Bold';
}

.service-card.yellow .service-link {
    color: #000;
}

.service-img {
    margin-top: auto;
    border-radius: 12px;
    max-width: 100%;
    position: relative;
    bottom: -50px;
    left: -50px;
    width: 300px;
        transition: 0.3s;

}
.service-card:hover .service-img {
    transition: 0.3s;
    bottom: -36px;
    left: -28px;
}

.service-card.image:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(0 0 0 / 50%);
}

.service-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ef0000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2; /* кнопка поверх выреза */
}

.service-card:hover .service-btn {
    background: #000;
    transition: 0.3s;
}

.service-card:hover .service-btn i {
    color: #fff;
    transition: 0.3s;
}

.service-card .service-btn i {
    transition: 0.3s;
}


/* SERV */



/* Бегущая строка */

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
    background: #ef0000;
  padding: 24px 0;
  white-space: nowrap;
}

.marquee {
  display: flex;
  animation: scroll 10s linear infinite;
}

.marquee span {
  font-size: 30px;
  font-weight: 600;
    color: #fff;
    font-style: italic;
  white-space: nowrap;
  text-transform: uppercase;
}

.dot {
  margin: 0 20px; /* 👈 увеличиваем отступы слева и справа от точки */
  font-weight: bold;
}

@keyframes scroll {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}


/* Бегущая строка */


/* ---------- #about-us ----------- */
section .container {
    z-index: 10;
    position: relative;
}
section#about-us {
    position: relative;
}
  .leftimgmin {
    float: right;
}

.dvizhcurs {
    perspective: 1000px; /* создаёт глубину для 3D-эффекта */
}
 
  .dvizhcurs img {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
  }


.rightimgmin {
    float: left;
    margin: -70px 0 0;
}

.rightimgmin img {
    border: 12px solid #fff;
    border-radius: 34px;
}

section#about-us img {
    border-radius: 20px;
}
section#about-us .sub-img-box {
position: absolute;
    right: 0;
    bottom: 140px;
    transform: translate(-50%, -50%);
    border-radius: 60px;
    animation: floatX 1s linear infinite alternate;
    box-shadow: 0 0 10px #00000038;
}
@keyframes floatX {
  from {
    transform: translateX(-8px);
  }

  to {
    transform: translateX(8px);
  }
}
section#about-us .sub-img-box h4 span {
    font-size: 50px;
    display: block;
    font-weight: bold;
}
section#about-us .sub-img-box h4 {
    color: #fff;
    line-height: 36px;
    font-size: 16px;
}
section#about-us p {
    font-size: 18px;
}
section#about-us .about-vhar {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    margin-bottom: 15px;
}
section#about-us .one-vhar {
    background: #171733;
    padding: 15px;
    text-align: center;
    border: 1px solid #31305F;
    border-radius: 16px;
}
section#about-us .one-vhar span {
    color: #aaaac1;
}
.one-vhar p {
    background-position: center center;
    background-image: url(/img/ai3-mask.webp);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    margin: 0;
    font-size: 32px;
    line-height: 34px;
    font-weight: bold;
    text-transform: uppercase;
}

.onesert {
    max-width: 23%;
    flex: 0 0 23%;
}
.allsert {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.onesert img {
    max-width: 100%;
    width: 100%;
}

/* ---------- крутящийся круг ----------- */
.krug {
    width: 220px;
    height: 220px;
    color: #ef0000;
    display: flex;
    font-weight: bold;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 30%;
    top: 90px;
    z-index: 10;
        text-transform: uppercase;
}
.text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    animation: spin 15s linear infinite;
    font-weight: bold;
    font-size: 16px;
    font-family: 'Gilroy Bold';
  }
  
  .char-container {
    position: absolute;
  }
  
  .char {
    margin-bottom: 12rem;
  }
  
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
/* ---------- крутящийся круг ----------- */


/* ---------- до после ----------- */
section.works-section, section#partners {
    background: #ededed;
    border-radius: 50px;
}
/* небольшая корректировка: картинка внутри before-positioned абсолютна */
.before-after-slider {
  position: relative;
  width: 100%;
  height: 439px;
  overflow: hidden;
  border: 3px solid white;
      border-radius: 30px;

}

.before-after-slider img {
  height: 100%;
  width: auto;          /* пусть ширина управляется JS, не width:100% */
  object-fit: cover;
  position: absolute;   /* важно — изображение позиционируется поверх всего контейнера */
  left: 0;
  top: 0;
}

.after-image {         /* сам контейнер \"после\" */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.before-image {        /* контейнер \"до\" — его ширина будет меняться */
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.resizer {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  z-index: 5;
  cursor: ew-resize;
}

/* иконка в кружке */
.resizer:after {
  background: #ef0000;
  font-family: "bootstrap-icons";
  content: "\F6A2";
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: absolute;
  margin-left: -19px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid white;
}
#worksCarousel .carousel-control-prev,
#worksCarousel .carousel-control-next {
  position: absolute;
  top: -70px;        /* поднимаем над каруселью */
  bottom: auto;      /* сбрасываем выравнивание по центру */
  margin: 0;         /* убираем auto-margin */
  width: auto;
  height: auto;
      background: #ef0000;
    padding: 8px;
    border-radius: 50px;
}

#worksCarousel .carousel-control-prev {
  right: 60px;
  left: auto;
}

#worksCarousel .carousel-control-next {
  right: 10px;
}

/* ---------- до после ----------- */

/* ---------- #double-feuters ----------- */



section#double-feuters .df-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px; 
}

section#double-feuters .df-item:last-child {
    margin-bottom: 0;
}


section#double-feuters .row.align-items-stretch {
    align-items: stretch;
}

section#double-feuters .col-lg-7 {
    display: flex;
    flex-direction: column;
}

section#double-feuters video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

section#double-feuters .df-item {
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 20px;
    background: #ededed;
    position: relative;
    z-index: 0;
    margin-bottom: 20px;
}

section#double-feuters .df-num {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    position: relative;
    margin: 0 20px 0 20px;
    flex-shrink: 0; /* Чтобы иконка не сжималась */
}

.df-num:after {
    content: "";
    width: 80px;
    height: 80px;
    background: #ef0000;
    border-radius: 50%;
    position: absolute;
    left: -14px;
    top: 0;
    z-index: -1;
}

section#double-feuters .df-content {
    flex-grow: 1;
}

section#double-feuters .df-item p {
    margin-bottom: 0;
}

section#double-feuters .df-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 0;
}

/* ---------- #double-feuters ----------- */


/* ---------- подвал с картой ----------- */

.map-container {
    position: relative;
    width: 100%;
    height: 600px;
}
.logo-section img.logo-img {
    max-height: max-content;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 30px 30px 0 0;
}

.footer-content {
    position: absolute;
    bottom: 30px; /* Отступ снизу */
    left: 0;
    right: 0;
    padding: 0 20px; /* Отступы по бокам */
}

.footer-white-block {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-width: 100%;
    margin: 0 auto;
}

.logo-img {
    max-height: 60px;
    width: auto;
}

.logo-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.phone-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.phone-link:hover {
    color: #ef0000;
}

.social-links {
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    color: #333;
    font-size: 24px;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #ef0000;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 14px;
}

.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.contact-form .btn-primary {
    background: #007bff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s;
}

.contact-form .btn-primary:hover {
    background: #0056b3;
}

/* Адаптивность */
@media (max-width: 768px) {
    .map-container {
        padding: 15px;
        height: 700px;
    }
    
    .footer-content {
        bottom: 15px;
        padding: 0 15px;
    }
    
    .footer-white-block {
        padding: 30px 25px;
        border-radius: 25px;
    }
    
    .logo-img {
        max-height: 50px;
    }
    
    .phone-link {
        font-size: 14px;
    }
    
    .social-link {
        font-size: 20px;
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .map-container {
        height: 800px;
        padding: 10px;
    }
    
    .footer-content {
        bottom: 10px;
        padding: 0 10px;
    }
    
    .footer-white-block {
        padding: 20px;
        border-radius: 20px;
    }
    
    .footer-white-block .row > div {
        margin-bottom: 20px;
    }
    
    .footer-white-block .row > div:last-child {
        margin-bottom: 0;
    }
}
/* ---------- подвал с картой ----------- */


/* ---------- отзывы ----------- */
section#partners .write-us {
  display: inline-block;
}
section#partners .owl-dots {
  width: max-content;
  margin: 30px auto 0px;
  z-index: 9999;
  position: relative;
}
section#partners .owl-carousel button.owl-dot {
  background: 0 0;
  color: inherit;
  border: none;
  padding: 0!important;
  font: 20px;
  width: 30px;
  height: 4px;
  background: #ccc;
  margin: 0px 4px;
}
section#partners button.owl-dot.active {
  background: #1ca8cb;
}
section#partners .owl-carousel button.owl-dot span {
  display: none;
}
section#partners img {
  border-radius: 16px;
}
section#partners div#partners-owl {
  margin-left: 17%;
}
section#partners {
  overflow-x: hidden;
  position: relative;
}
.yanotz {
    float: left;
    width: 190px;
    position: absolute;
    top: 31%;
    left: 9%;
    z-index: 100;
    border-radius: 16px;
    box-shadow: 0 0 16px #00000057;
}
.yanotz img {
    width: 100%;
}
/* ---------- отзывы ----------- */

/* ---------- GAL ----------- */
.colgal img {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin-bottom: 10px;
  break-inside: avoid;
}

figure > img {
  grid-row: 1 / -1;
  grid-column: 1;
}

figure a {
  color: black;
  text-decoration: none;
}

figcaption {
  grid-row: 2;
  grid-column: 1;
  background-color: rgba(255,255,255,.5);
  padding: .2em .5em;
  justify-self: start;
}

.colgal {
  column-count: 3;
  column-gap: 1px;
}
.colgal img {
    border-radius: 16px;
    opacity: 0.9;
    transition: 0.3s;
    transform: scale(0.9);
}
.colgal img:hover {
    opacity: 1;
    transition: 0.3s;
    transform: scale(1.0);
}
/* ---------- GAL ----------- */


/* ---------- FAQ ----------- */
/* Небольшая кастомизация внешнего вида аккордеона */
.accordion .accordion-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* Уменьшим отступы внутри body */
.accordion .accordion-body {
  padding: 16px 18px;
  font-size: 0.98rem;
  line-height: 1.45;
}

/* Сделать кнопку немного крупнее и с аккуратными радиусами */
.accordion-button {
  font-weight: 600;
  padding: 14px 18px;
}

/* Когда кнопка открыта — чуть другой фон */
.accordion-button:not(.collapsed) {
  background-color: rgba(0,123,255,0.04);
}

/* Убираем внутренний border между item'ами (если нужно ровное разделение) */
.accordion .accordion-item + .accordion-item {
  margin-top: 8px;
}
.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: rgb(246 243 236);
}
/* ---------- FAQ ----------- */

/* ---------- форма ----------- */
.modal-content {
  background-color: #ededed; /* светлый фон в стиле сайта */
}

.modal-title {
  font-size: 1.5rem;
  color: #000;
}

.btn-warning {
  background-color: #facc15; /* жёлтый */
  border: none;
  color: #000;
}

.btn-warning:hover {
  background-color: #eab308; /* чуть темнее при ховере */
  color: #000;
}
.form-control:focus {
    border-color: #facc15;
    box-shadow: 0 0 0 .25rem rgb(250 204 21 / 25%);
}

/* ---------- форма ----------- */

.mfp-bg {
    z-index: 10429;
}
.mfp-wrap {
    z-index: 10439;
}
.accordion-button:not(.collapsed) {
    color: #000000;
}



@media (max-width: 1440px) {
h1.mainzag {
    font-size: 60px;
}
.feature-number {
    font-size: 50px;
}
.feature-number::after {
    width: 70px;
    height: 70px;
}
}

/* до 1024 и до 768 */
@media (max-width: 1024px) {
  .topbar .nav { display: none !important; }   /* убираем меню */
}

/* меньше 768 – скрыть кнопку "Get In Touch" и иконки мессенджеров */
@media (max-width: 768px) {
  .topbar .btn-yellow,
  .topbar i.bi-whatsapp,
  .topbar i.bi-telegram,
  .topbar i.bi-telephone {
    display: none !important;
  }
    .topbar span.me-3 {
        margin-left: 58px;
        margin-right: 0 !important;
  }
    .topbar {
        width: 92%;
        padding: 10px;
        border-radius: 20px;
        top: 20px;
    }
.logo {
    height: 90px;
    top: -13px;
}
.block-right {
    padding: 30px;
}
    h1.mainzag {
        font-size: 28px;
    }
    .features {
    display: block;
    margin-top: 10px;
}
.feature-item {
    margin: 12px 0;
}
.main-section .block.block-right {
    height: auto;
}
 .services-grid {
    grid-template-columns: 1fr; /* одна колонка */
  }
      .feature-number::after {
        width: 60px;
        height: 60px;
        top: -1px;
        left: -16px;
    }
    .marquee span {
    font-size: 20px;
}
.leftimgmin img, .rightimgmin img {
    width: 80%;
}
.leftimgmin {
    text-align: right;
}

.krug {
    width: 160px;
    height: 160px;
    right: 2px;
    top: -50px;
}
.text-container {
    font-size: 12px;
}
.char {
    margin-bottom: 9rem;
}
.yanotz {
    width: 90px;
    top: 34%;
    left: 4%;
}
.services-title {
    font-size: 30px;
}
#worksCarousel .carousel-control-prev, #worksCarousel .carousel-control-next {
    top: -80px;
}
.onesert {
    max-width: 47%;
    flex: 0 0 47%;
}
section#double-feuters .df-item {
    flex-direction: column;
}
}

@media (max-width: 767px) {
  .main-section {
    flex-direction: column;   /* ставим блоки друг под другом */
    height: auto;        
  }

  .main-section .block {
    flex: none;
    height: 60vh;            /* каждый занимает половину экрана */
  }
}
