@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-thin.woff');
        font-weight: 100;
        font-style: normal;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-thinitalic.woff');
        font-weight: 100;
        font-style: italic;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-light.woff');
        font-weight: 300;
        font-style: normal;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-lightitalic.woff');
        font-weight: 300;
        font-style: italic;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-regular.ttf');
        font-weight: 400;
        font-style: normal;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-regularitalic.woff');
        font-weight: 400;
        font-style: italic;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-medium.woff');
        font-weight: 500;
        font-style: normal;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-mediumitalic.woff');
        font-weight: 500;
        font-style: italic;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-semibold.woff');
        font-weight: 600;
        font-style: normal;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-semibolditalic.woff');
        font-weight: 600;
        font-style: italic;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-bold.woff');
        font-weight: 700;
        font-style: normal;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-bolditalic.woff');
        font-weight: 700;
        font-style: italic;
}
@font-face {
    font-family: 'Gilroy';
    src:url('../fonts/gilroy-extrabold.woff2');
        font-weight: 800;
        font-style: normal;
}


body {
    font-family: 'Gilroy' !important;
}
.html-visible .catalog-page,
.html-visible .main-content,
.html-visible body,
html.html-visible {
    overflow: visible !important;
}


/* ========== HEADER ========== */
h1.pagetitle {
    font-size: 26px;
    color: #000;
    line-height: 115%;
    font-weight: 600;
    margin-bottom: 30px;
}
.base-template {
    margin-top: 130px;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
}

header.header.mobile-fixed {
    background: rgba(255, 255, 255, 0.3); /* Белый фон, 30 % непрозрачности */
  backdrop-filter: blur(10px); /* Размытие фона за элементом */
  -webkit-backdrop-filter: blur(10px); /* Поддержка Safari */
}

.header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Логотип */
.header__logo-wrap {
    flex-shrink: 0;
    min-width: 200px;
}

.header__logo img {
    display: block;
    max-width: 202px;
    height: auto;
}

.header__logo-sub {
    font-size: 11px;
    color: #7a7a7a;
    line-height: 1.35;
    margin-top: 4px;
    max-width: 180px;
}

/* Навигация */
.header__nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}

.header__nav ul {
    display: flex;
    align-items: center;
    gap: 78px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #15191E;
    border-radius: 80px;
    padding: 0 24px;
}

.header__nav ul li a {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.header__nav ul li a:hover,
.header__nav ul li.active > a {
    color: #4E91D9;
}

/* Контакты */
.header__contacts {
    display: flex;
    gap: 50px;
    flex-shrink: 0;
}

.header__contacts-col {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.header__contacts-label {
    padding-left: 21px;
    font-size: 14px;
    color: #47515C;
    margin-bottom: 2px;
}

.header__contacts-phone {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header__contacts-phone svg {
    color: #4E91D9;
    flex-shrink: 0;
}

.header__contacts-phone a {
    font-size: 16px;
    font-weight: 700;
    color: #171B21;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.header__contacts-phone a:hover {
    color: #4E91D9;
}


.header__messengers {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
}

.messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.messenger-btn:hover {
    opacity: 0.8;
}

.header__contacts-mail {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header__contacts-mail svg {
    color: #4E91D9;
    flex-shrink: 0;
}

.header__contacts-mail a {
    font-size: 13px;
    color: #2F353C;
    text-decoration: underline;
    transition: color 0.2s;
    font-weight: 500;
}

.header__contacts-mail a:hover {
    color: #4E91D9;
}

.header__callback {
    font-size: 13px;
    color: #2F353C;
    text-decoration: underline;
    cursor: pointer;
    padding-left: 21px;
    font-weight: 500;
}

.header__callback:hover {
    text-decoration: none;
}


  
  .header__nav ul li a{
    color: #fff;
    font-size: 15px;
    font-weight: 400;
}
 
  .header__nav ul .active {
    position: relative;
}
 


  .header__nav li{
    position: relative;
    padding: 10px 0; 
}
.header__nav li ul li{
    padding:  0; 
}
 
  .header__nav > ul > li{
    margin: 0 2px;
}
  .header__nav > ul > li > a{
    display: flex;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: none;
}
  
  .header__nav > ul > li.down:hover > a{
    border-radius: 20px 20px 0 0;
}
  .header__nav ul ul{
    display: none;
    width: 710px;
    background: #1B232E;
    border-radius: 12px;
    padding: 10px;
    position: absolute;
    left: calc(50% - 355px);
    top: 54px;
    z-index: 500;
    margin: 0;
    
    
}
  .header__nav li:hover > ul{
    display: block;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    align-content: start;
    align-items: start;
}
  .header__nav ul ul a{
    display: inline-flex;
    flex-wrap: wrap;
    padding: 6px 12px;
    line-height: 1.2;
    border-radius: 20px;
}
  /* .header__nav ul ul li + li{
    margin-top: 10px;
  } */
  /* .header__nav ul ul .active > a,
  .header__nav ul ul li:hover > a{
    background: #434343;
  } */








/* Бургер (мобилка) */
.menu-button {
    display: none;
    cursor: pointer;
    margin-left: auto;
}

.icon-menu-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.icon-menu-burger__line,
.icon-menu-burger::before,
.icon-menu-burger::after {
    display: block;
    width: 26px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
}

/* ========== HERO ========== */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    /* padding-top: 130px; */
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 12, 18, 0.3) 0%,
        rgba(10, 12, 18, 0.15) 40%,
        rgba(10, 12, 18, 0.65) 100%
    );
    z-index: 1;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero__inner {
    display: flex;
    align-items: flex-end;
    padding: 160px 0 120px;
}

.hero__content {
    max-width: 500px;
}

.hero__title {
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    line-height: 29px;
}

.hero__title span {
    font-weight: 400;
    font-size: 20px;
    line-height: 29px;
}

.hero__subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

/* Бейджи внизу hero */
.hero__badges {
    position: relative;
    z-index: 2;
    padding-bottom: 56px;
}

.hero__badges-inner {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.hero__badge-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 30px;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.hero__badge-item:last-child {
    border-right: none;
}

.hero__badge-icon {
    margin-bottom: 15px;
}

.hero__badge-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.hero__badge-text {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    line-height: 115%;
    margin-bottom: 10px;
}
.hero__badge-line {
    width: 220px;
    max-width: 100%;
    margin: auto;
    height: 1px;
    background: #3C72AC;
}

.hero__badge-standard {
    margin-top: 10px;
    font-size: 15px;
    color: #fff;
    font-weight: 400;
    line-height: 115%;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero__slider {
    position: relative;
}

.hero__slide {
    position: relative;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 750px;
    padding-top: 130px;
    overflow: hidden;
}

.hero__slide > .container {
    position: relative;
    z-index: 2;
}

.hero__bg,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero__overlay {
    z-index: 1;
}

.hero__slider .slick-dots {
    bottom: 140px;
    z-index: 10;
}

.hero__slider .slick-dots li button:before {
    color: #fff;
    opacity: .5;
    font-size: 12px;
}

.hero__slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #3C72AC;
}



/* ========== MEDIA ========== */
@media (max-width: 1400px) {
    
    .header__nav ul {
    gap: 30px;
    }
}
@media (max-width: 1200px) {
    .mobile-menu-contacts .item{
        margin-bottom: 15px;
    }
    .mobile-menu-contacts .item-mail a,
    .mobile-menu-contacts .phone-item a{
        color: #fff;
    }
    .mobile-menu-contacts .phone-item{
        position: relative;
        bottom: -2px;
    }
   .menu-button-header.active {
       display: none;
   }
    .header__contacts {
        gap: 30px;
    }
    .header__nav ul {
        gap: 4px;
        padding: 8px 16px;
    }
    .header__nav ul li a {
        font-size: 14px;
    }
}

@media (max-width: 1040px) {
    .header__nav {
        display: none;
    }
    .header__contacts {
        display: none;
    }
    .menu-button {
        display: flex;
    }

    .hero__title {
        font-size: 28px;
    }
    .hero__title span {
        font-size: 20px;
    }

    .hero__badges-inner {
        flex-direction: column;
        gap: 20px;
            align-items: center;
    }
    .hero__inner {
        padding: 80px 0 60px;
    }
    .hero__badge-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        padding: 0 0 20px;
    }
    .hero__badge-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    .hero > .container {
        padding-bottom: 20px;
    }
    .hero__title {
        font-size: 24px;
    }
}




/* ========== STATS SECTION ========== */

.stats-section {
    padding: 50px 0 70px;
}

.stats__inner {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.stats__item {
    width: 20%;
    padding: 0 20px;
}



.stats__item:last-child {
    border-right: none;
}

.stats__item-top {
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

/* .stats__item-arrow {
    font-size: 22px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1;
} */

.stats__item-arrow {
    margin-right: 5px;
}

.stats__item-num {
    font-size: 55px;
    font-weight: 500;
    color: #4E91D9;
    line-height: 55px;
}
.stats__item-line {
    width: 103px;
    max-width: 100%;
    margin: auto;
    height: 0.5px;
    background: #000;
}
.stats__item-unit {
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

.stats__item-text {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #000;
    line-height: 18px;
}

/* ========== ABOUT SECTION ========== */

.about-section {
    padding: 0px 0 40px; 
}

.about__title {
    font-size: 40px;
    font-weight: 44px;
    font-weight: 500;
    color: #313A45;
    margin-bottom: 45px;
}

.about__inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.about__card {
    flex: 1;
    border-radius: 12px;
    
}

.about__card--light {
    background: #F5F5F5;
    border: 1px solid #E8E8E8;
    padding: 20px 20px 45px 20px; 
}

.about__card--dark {
    background: #2B2D33;
    padding: 20px 20px 20px 32px; 
}

.about__card-text {
    font-size: 17px;
    line-height: 27px;
    color: #000;
    font-weight: 300;
}
.about__card-text p{
    margin: 0;
}

.about__card--dark .about__card-text {
    color: #fff;
}

.about__arrow {
    flex-shrink: 0;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== MEDIA ========== */

@media (max-width: 1350px) {
    .stats__inner {
        flex-wrap: wrap;
        gap: 30px;
    }
    .stats__item {
        flex: 1 1 40%;
        border-right: none;
        padding: 0;
    }

    .about__inner {
        flex-direction: column;
        gap: 16px;
    }
    .about__arrow {
        transform: rotate(90deg);
        width: auto;
    }
    .about__card {
        width: 100%;
        padding: 28px 24px;
    }
}

@media (max-width: 576px) {
    .stats__item {
        flex: 1 1 100%;
    }
    .stats__item-num {
        font-size: 40px;
    }
    .about__title {
        font-size: 26px;
    }
}


/* ========== DIRECTOR SECTION ========== */

.director-section {
    background: #030B0E;
}

.director__inner {
    display: flex;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
    padding: 30px 0;
}

.director__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    /* max-width: 670px; */
}

.director__quote {
    display: flex;
    position: relative;
    align-items: baseline;
}

.director__quote-mark {
    font-size: 36px;
    font-weight: 700;
    color: #4A6CF7;
    line-height: 1;
    font-style: normal;
}

.director__quote-mark--open {
    margin-bottom: 6px;
    vertical-align: top;
    margin-right: 6px;
}

.director__quote-mark--close {
    margin-top: auto;
    margin-left: 8px;
    vertical-align: bottom;
}

.director__quote p {
    font-size: 18px;
    color: #fff;
    line-height: 26px;
    font-style: normal;
    margin: 0;
}
.director__quote p svg {
    margin-left: 8px;
}
.director__sign {
    text-align: right;
    padding-left: 20px;
}

.director__sign-role {
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}

.director__sign-name {
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    color: #fff;
}

/* Фото */
.director__photo {
    flex-shrink: 0;
    width: 300px;
    position: relative;
    overflow: hidden;
    margin-left: 30px;
}

.director__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
    scale: 1;
}

/* ========== MEDIA ========== */

@media (max-width: 1100px) {
    .director__content {
        padding: 50px 40px;
    }
    .director__photo {
        width: 340px;
    }
}

@media (max-width: 768px) {
    .director__inner {
        flex-direction: column;
    }
    .director__photo {
        width: 100%;
        height: 340px;
    }
    .director__content {
        padding: 40px 24px;
    }
    .director__quote-text {
        font-size: 15px;
    }
}




.contacts-section {
    margin-bottom: 60px;
}

.contacts-section h1 {
    margin-bottom: 0;
}


.contacts-item {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}
.contacts-item svg{
    margin-bottom: 3px;
}
.contacts-item-title {
    color: #333333;
    font-size: 18px;
    font-weight: 400;
    line-height: 24.30px;
    margin-top: 15px;
}

.contacts-title {
    margin-top: 15px;
    margin-left: 32px;
    color: #333333;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
}

.contacts-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contacts-left {
    margin-top: 15px;
}

.contacts-row .entity {
    color: #060C0D;
    font-size: 24px;
    line-height: 115%;
    font-weight: 700;
    margin-bottom: 21px;
}
.contacts-requisites .item {
    display: flex;
    gap: 35px;
    margin-bottom: 5px;
}
.contacts-requisites .item .left{
    color: #181416;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    width: 125px;
}
.contacts-requisites.requisites-long .item .left{
    color: #181416;
    font-size: 18px;
    line-height: 26px;
    width: 125px;
}
.contacts-requisites .item .right{
    color: #181416;
    font-size: 18px;
    line-height: 26px;
    display: flex;
    gap: 9px;
    align-items: center;
    max-width: 670px;
    width: calc(100% - 125px);
}
.contacts-requisites .item .right .messengers {
        display: flex;
    gap: 9px;
    align-items: center;
}
.contacts-requisites .item .right a {
    display: flex;
    align-items: center;
}
.contacts-requisites .item .right.small {
    font-weight: 400;
}
.contacts-requisites .item .right a {
    color: #C62220;
    font-size: 18px;
    font-weight: 400;
    text-decoration-line: underline;
}
.contacts-requisites .item .right a:hover {
    color: #333;
}
.contacts-requisites{
    margin-bottom: 0px;
}
.contacts-object-title {
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 200.7%; /* 32.112px */
    margin-bottom: 10px;
}
.contacts-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.contacts-row .contacts-object {
    width: calc(50% - 25px);
}

.contacts-bottom {
    display: flex;
    gap: 34px;
    margin: 40px 0 20px;
}
.contacts-bottom > div {
    width: calc(50% - 17px);
}

.contacts-section-row {
    display: flex;
    gap: 28px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.contacts-section-row .right span {
    font-weight: 600;
}

.contacts-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: 20px 0;
    border-radius: 12px;
}
.contacts-section-row > div {
    width: calc(50% - 14px);
}
.map-wrapper {
    object-fit: cover;
    max-height: 425px;
    border-radius: 12px;
}

.scheme-href {
   color: #DA0005;
   font-size: 16px;
}

.footer-address, .footer-schedule {
    color: #fff;
   font-size: 13px;
   line-height: 20px;
   margin-bottom: 10px;
}
.footer__phone-email {
    margin-bottom: 10px;
}

@media (max-width: 1200px) {
    .contacts-section-row > div {
        width: 100%;
    }
}

/* ========== SERVICES SECTION ========== */

 .services-section {
    padding-top: 70px;
} 

.base-template .services-section {
    padding-top: 0;
}

.services__title {
    font-size: 25px;
    font-weight: 600;
    color: #000;
    line-height: 115%;
    margin-bottom: 15px;
}

.services__desc {
    font-size: 17px;
    color: #000;
    line-height: 27px;
    margin-bottom: 20px;
}

/* Сетка: 3 колонки */
.services__grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Карточка */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 17px 7px ;
    background: #f1f1f1;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.25s, box-shadow 0.25s;
    cursor: pointer;
    width: calc(33% - 10px);
}

.service-card:hover {
    background: #313A45;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}


.service-card:hover .service-card__title {
    color: #fff;
}

.service-card:hover .service-card__text {
    color: #fff;
}

.service-card:hover .service-card__icon img {
    filter: brightness(0) invert(1) opacity(0.85);
}

/* Иконка */
.service-card__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.service-card:hover .service-card__icon img {
    opacity: 1;
}

/* Заголовок */
.service-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 18px 0 10px;
}

/* Описание */
.service-card__text {
    font-size: 15px;
    font-weight: 400;
    color: #000;
}

/* Последние 2 карточки (8-я строка) центрируем */
.services__grid .service-card:nth-last-child(-n+2):nth-child(3n+1) {
    grid-column: 1 / 2;
}

/* Если последних 2 — сдвигаем в центр */
.services__grid:has(.service-card:nth-child(8)):not(:has(.service-card:nth-child(9))) .service-card:nth-child(7),
.services__grid:has(.service-card:nth-child(8)):not(:has(.service-card:nth-child(9))) .service-card:nth-child(8) {
    /* Центрирование последних двух через подсетку */
}

/* Универсальное центрирование последней неполной строки */
.services__grid::after {
    content: '';
    display: block;
}

.services-page {
    margin-bottom: 40px;
}
.services-page__title {
    font-size: 20px;
    color: #000;
    line-height: 115%;
    font-weight: 600;
    margin-bottom: 25px;
}
.services-page__img {
    display: flex;
    margin: auto;
    margin-bottom: 25px;
}
.services-page__zakaz {
    display: flex;
    justify-content: center;
}
.services-page__zakaz-btn {
    font-size: 20px;
    color: #fff;
    padding: 15px 32px;
    background: #4E91D9;
    border-radius: 40px;
}
.content, .content-text {
    font-size: 17px;
    line-height: 27px;
    color: #000;
}
.content ul {
    list-style: none;
    max-width: 750px;
    border-radius: 12px;
    padding: 10px 25px 17px;
    background: #313A45 url(../images/form-bg.svg) 100% 100% no-repeat;
}
.content ul li {
    font-size: 15px;
    color: #fff;
    margin: 10px 0;
    
}
.content ul li:before {
  content: "✓"; 
  color: #4E91D9; 
  font-size: 15px; 
  font-weight: 600; 
  padding-right: 10px;
  
}
/* ========== MEDIA ========== */

@media (max-width: 1100px) {
    .service-card {
        padding: 28px 20px 24px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services__title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
}

.license-page {
    margin-bottom: 120px;
}

.license-page__list-item {
    font-size: 17px;
    font-weight: 400;
    color: #000;
    line-height: 27px;
    margin-bottom: 18px;
    gap: 15px;
    display: flex;
    align-items: center;
}
.license-page__list-item:hover {
    color: #4E91D9;
}

/* ========== PROJECTS SECTION ========== */

.projects-section {
    padding: 60px 0 60px;
}

.projects__title {
    font-size: 25px;
    font-weight: 600;
    color: #000;
    line-height: 115%;
    margin-bottom: 15px;
}

.projects__desc {
    font-size: 17px;
    color: #000;
    line-height: 27px;
    margin-bottom: 40px;
}


.projects__grid-row {
    display: flex;
    gap: 30px;
}

/* Сетка: 2 колонки, 2 строки */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
    width: 66%;
}

.projects__grid-big {
    display: flex;
    width: 33%;
}
/* Карточка */
.project-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 4 / 3;
    background: #ddd;
}
.projects-general__list .project-card {
    width: calc(33% - 9px);
}
.projects__grid-big .project-card {
    aspect-ratio: unset;
    width: 100%;
}
.project-card__img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.project-card__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-card__img img {
    transform: scale(1.04);
}

/* Градиент + подпись снизу */
.project-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px 20px 22px;
    background: linear-gradient(
        to top,
        rgba(15, 17, 24, 0.75) 0%,
        rgba(15, 17, 24, 0.2) 50%,
        rgba(15, 17, 24, 0) 100%
    );
    border-radius: 12px;
}

.project-card__title {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    line-height: 1.45;
}

/* Кнопка "Все проекты" */
.projects__more {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.projects__more-link {
    font-size: 17px;
    color: #000;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.projects__more-link:hover {
    color: #4E91D9;
}



.projects-general__list {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.projects-general h1{
    margin-bottom: 12px;
}

.project-page__text {
    font-size: 17px;
    color: #000;
    font-weight: 400;
    line-height: 27px;
    margin-bottom: 25px;
}

.project-page__top-row {
    display: flex;
    align-items: stretch;
    gap: 17px;
    margin-bottom: 25px;
}
.project-page__table {
    width: 40%;
    background: #313A45 url(../images/form-bg.svg) 100% 100% no-repeat;
    padding: 37px 15px 15px 15px;
    border-radius: 12px;
    
}
.project-page__table .item {
    display: flex;
    align-items: flex-start;
}
.project-page__table .item .left {
    font-size: 15px;
    color: #ADADAD;
    font-weight: 400;
    line-height: 30px;
    width: 180px;
}
.project-page__table .item .right {
    font-size: 15px;
    color: #fff;
    font-weight: 400;
    line-height: 22px;
    width: calc(100% - 180px);
}
.project-page__table-text {
    margin-top: 15px;
    font-size: 15px;
    color: #fff;
    font-weight: 400;
    line-height: 21px;
    background: #232B34;
    border-radius: 12px;
    padding: 12px;
    padding-bottom: 23px;
}
.project-page__img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
}
.team-section__photo-wrapper {
    width: 60%;
}
.team-section__photo {
    margin-bottom: 15px;
}
.team-section__thumb .slick-slide {
    margin: 0 5px;
}
.mb50 {
    margin-bottom: 50px;
}



/* ========== MEDIA ========== */

@media (min-width: 991px) {
   .team-section__thumb .slick-slide {
        height: 90px;
    }
    .team-section__thumb .item {
        width: 100%;
        height: 100%;
    }
    .team-section__thumb .item img{
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 1200px) {
.projects-general__list .project-card {
    width: calc(50% - 13px);
}
}
@media (max-width: 900px) {
    .projects__grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    .projects__grid-big {
    display: flex;
    width: 100%;
    height: 280px;
}
    .projects__grid-row {
    flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .projects__grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    .project-card {
        aspect-ratio: 16 / 9;
        
    }
    .projects-general__list .project-card {
        width: 100%;
    }
    .projects__title {
        font-size: 26px;
    }
}


/* ========== CALLBACK SECTION ========== */

.callback-section {
    padding-bottom: 80px;
    position: relative;
}

.callback-section-svg {
    z-index: 2;
    position: absolute;
    left: 0;
    bottom: -30px;
}
.callback-section .container {
    position: relative;
    z-index: 3;
}
.callback__wrap {
    position: relative;
    max-width: 840px;
    margin: 0 auto;
    background: #2B2D38;
    border-radius: 20px;
    overflow: hidden;
    padding: 25px 95px 15px;
}

/* Фоновый узор */
.callback__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.callback__bg img {
    width: 100%;
    height: 100%;
}

.callback__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Заголовок */
.callback__title {
    font-size: 30px;
    font-weight: 400;
    color: #fff;
    line-height: 30px;
    margin-bottom: 10px;
}
.callback__title span {
    font-size: 26px;
}

.callback__subtitle {
    font-size: 16px;
    color: #fff;
    line-height: 133%;
    margin-bottom: 15px;
}

/* Форма */
.callback__form-wrap {
    width: 100%;
}

.callback__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* Строка из 3 полей */
.callback__form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.callback__field {
    width: 100%;
}

.callback__field--full {
    width: 100%;
}

/* Инпут */
.callback__input {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.29);
    border-radius: 40px;
    padding: 7px 17px;
    font-size: 14px;
    color: #656565;
    line-height: 150%;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.callback__input::placeholder {
    color: #656565;
    line-height: 150%;
}



.callback__input.is-error {
    border-color: #e05a1a;
}

/* Согласие */
.callback__agree {
    font-size: 11px;
    color: #fff;
    line-height: 140%;
    text-align: center;
}

/* Кнопка */
.callback__submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.callback__btn {
    background: #4E91D9;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    border: none;
    border-radius: 46px;
    padding: 9px 36px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.callback__btn:hover {
    background: #3a7de8;
    transform: translateY(-1px);
}

.callback__btn:active {
    transform: translateY(0);
}

/* AjaxForm сообщения */
.af-response {
    margin-bottom: 16px;
    font-size: 14px;
    text-align: center;
    min-height: 0;
}

.af-response.success {
    color: #6fcf97;
}

.af-response.error {
    color: #e05a1a;
}

/* ========== MEDIA ========== */

@media (max-width: 768px) {
    .callback__wrap {
        padding: 40px 24px 40px;
        border-radius: 16px;
    }

    .callback__form-row {
        grid-template-columns: 1fr;
    }

    .callback__title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .callback__title {
        font-size: 20px;
    }
    .callback__subtitle {
        font-size: 13px;
    }
}












/* Cookie Dialog */
#gdpr-cookie-message {
    position: fixed;
    z-index: 9999;
    right: 30px;
    bottom: 30px;
    max-width: 400px;
    padding: 20px 15px;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0px 4px 18.9px -3px rgba(0, 0, 0, 0.25);
    margin-left: 30px;
    font-family: system-ui;
}
#gdpr-cookie-message h4 {
    color: #606060;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 18px;
}
#gdpr-cookie-message h5 {
    color: #606060;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 18px;
}

#gdpr-cookie-message p, #gdpr-cookie-message ul {
    color: #909090;
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 13px;
}
#gdpr-cookie-message p:last-child {
    margin-bottom: 0;
    text-align: right;
}
#gdpr-cookie-message li {
    width: 49%;
    display: inline-block;
}
#gdpr-cookie-message a {
    color: #4E91D9;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    border-bottom: none;
    transition: all 0.3s ease-in;
}

#gdpr-cookie-message button,
button#ihavecookiesBtn {
    border: none;
    background: #4E91D9;
    color: white;
    font-size: 15px;
    font-weight: 400;
    padding: 7px 24px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in;
}
#gdpr-cookie-message button:hover {
    background: #3a7de8;
    transition: all 0.3s ease-in;
}
button#gdpr-cookie-advanced {
    border: 1px solid #0ECCDD;
    display:none;
    background: white;
    color: #0ECCDD;
}
#gdpr-cookie-message button:disabled {
    opacity: 0.3;
}
#gdpr-cookie-message input[type="checkbox"] {
    float: none;
    margin-top: 0;
    margin-right: 5px;
}




.development{
    display: flex;
    justify-content: flex-end;
    width: 150px;
}
.development a {
    display: flex;
    gap: 8px;
    align-items: center;
}
.dev-text {
    color: #fff;
    text-align: right;
    font-size: 10px;
    font-weight: 400;
    line-height: 140.625%; /* 14.063px */
    letter-spacing: 0.1px;
}



.catalog-page {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 60px;
}



.catalog-page .main-content {
    flex: 1;
}
.sidebar-catalog {
    width: 290px;
    position: sticky;
    align-self: flex-start;
    top: 130px; 
}
.sidebar-catalog .main-tabs__inner{
    gap: 8px;
    margin: 0;
    
    background: #313A45 url(../images/form-bg.svg) 100% 100% no-repeat;
    padding: 27px 15px 27px 35px;
    border-radius: 10px;
    
}
.sidebar-catalog .main-tabs__item{
    width: 250px;
    margin: 5px 0;
    margin-bottom: 20px;
}
.sidebar-catalog a:last-child .main-tabs__item{
    margin-bottom: 0px;
}

.sidebar-catalog .active .main-tabs__item {
    /* background: #FD8108; */
}
.sidebar-catalog .main-tabs__item .main-tabs__item-title {
    color: #fff;
    font-size: 16px;
    lone-height: 32px;
    display: flex;
    align-items: center;
}
.sidebar-catalog .main-tabs__item .main-tabs__item-title:before {
  content: "●"; 
  color: #838B94;  
  padding-right: 14px;
  
}
.sidebar-catalog .active .main-tabs__item .main-tabs__item-title, .sidebar-catalog .main-tabs__item .main-tabs__item-title:hover {
    color: #4E91D9;
}


/* ========== FOOTER ========== */

.footer {
    width: 100%;
    color: #fff;
    padding: 22px 0;
    position: relative;
    background: #313A45;
    z-index: 1;
}
.footer-requisites {
    margin: 25px 0;
    font-size: 13px;
    line-height: 115%;
    color: #Fff;
}
.footer-text {
    font-size: 12px;
    margin-bottom: 28px;
}

.footer-text a {
    color: #fff;
    line-height: 17px;
    text-decoration: underline;
}
.footer-text a:hover {
    color: #4E91D9;
}
.copyright {
    font-size: 13px;
}
.footer-requisites .item {
    font-size: 13px;
    line-height: 115%;
    color: #Fff;
}

.footer__inner {
    display: flex;
        flex-direction: column;
}

.footer__logo-text {
    font-size: 13px;
    line-height: 115%;
    color: #F2F2F2;
}

/* Левая часть */
.footer__left {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 35px;
    align-items: flex-start;
    /* justify-content: space-between; */
}

.footer__first {
    max-width: 370px;
}

.footer__second {
    /* width: 50%; */
    display: flex;
    gap: 60px;
    margin-left: auto;
}
.footer__menu-title {
    font-size: 16px;
    line-height: 30px;
    color: #fff;
    font-weight: 600;
}
.footer__second-list {
    display: flex;
        gap: 25px;
}
.footer__second-nav {
    max-width: 290px;
}
.footer__second-nav:nth-child(1) {
    margin-bottom: 30px;
}
.footer__second-nav ul li {
    margin: 7px 0;
}
.footer__second-nav ul li a {
    font-size: 14px;
    color: #fff;
    font-weight: 400;
    
}
.footer__second-nav ul li a:hover {
    color: #4E91D9;
}
.footer__second-list .header__address-accent, .footer__second-list .header__contacts-address-flex span {
    color: #fff;
    font-size: 14px;
    line-height: 18px;
}

.footer__second-time {
    margin-top: 5px;
    color: #E1E1E2;
    font-size: 12px;
    line-height: 18px;
}

.footer__second-btn {
     color: #fff;
    font-size: 13px;
    
    padding: 9px 18px;
    background: #F85B18;
    border-radius: 50px;
    margin-top: 40px;
    display: flex;
    width: fit-content;
}
.footer__second-btn:hover {
        background: #F4F4F5;
    color: #313440;
}

/* Контейнер */
.container {
    max-width: 1415px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

.footer__top {
    margin-bottom: 20px;
}

.footer__logo {
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 400;
}

.footer__desc {
    font-size: 16px;
    opacity: 0.9;
}

.footer__info p {
    margin-bottom: 18px;
    line-height: 1.5;
}

/* Контакты */
.footer__contacts {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer__address-title {
    font-weight: 400;
    margin-bottom: 8px;
}
.footer__bottom {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer__btn {
    margin-top: 14px;
    background: #ff8c39;
    color: #fff;
    padding: 12px 26px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 400;
}


.footer__phones .footer__phone-item {
        position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-direction: row;
    margin-bottom: 7px;
}

.footer__phone-title {
    color: #9F9F9F;
    font-weight: 400;
    margin-bottom: 1px;
    font-size: 14px;
    margin-bottom: 7px;
}
.footer-schedule {
    margin-top: 15px;
}
.footer-schedule-title {
    color: #fff;
    /* font-weight: 400; */
    line-height: 160%;
    font-size: 14px;
}
.footer-schedule-value {
    color: #fff;
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
}
.footer__phone {
    font-size: 16px;
    display: inline-block;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
}

.footer-payments-inner {
    margin-top: 15px;
    margin-right: 100px;
    display: flex;
    justify-content: flex-end;
}
.footer-col-title {
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 5px;
}
.footer__email {
    color: #fff;
    text-decoration: underline;
    font-size: 16px;
}

.main-content .footer__phone, .main-content .footer__email {
     color: #000;
     font-size: 20px;
}
.main-content .footer__phone-title {
    margin-bottom: 0;
}
.main-content  .footer__phone-email {
    margin-bottom: 15px;
}
.main-content .footer__phones .main-text {
    margin: 10px 0;
}
.main-content  .footer__second-list-item {
    margin-bottom: 20px;
}


/* AjaxForm.callback custom fields */
.ajax_form .form-group {
    margin-bottom: 15px;
    padding: 0 60px;
}
.ajax_form .form-control {
    width: 100%;
    height: 44px;
    background: #F4F5F6;
    border-radius: 50px;
    border: 1px solid #D7DADD;
    padding: 8px 16px;
    font-size: 14px;
    color: #656565;
}
/* #callback form {
        padding: 0 60px;
} */
.simple-agreement {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 15px;
    text-align: center;
}
#callback form .simple-agreement {
    color: #a7a7a7;
}
#callback form .simple-agreement a{
    color: #a7a7a7;
    text-decoration: underline;
}

.ajax_form .form-group.btn-group {
    margin-bottom: 0px;
    text-align: center;
    margin-top: 20px;
}
.btn-group .btn, .fancyClose {
    background: #F85B18;
    border: none;
    color: #fff;
    border-radius: 50px;
    padding: 9px 50px;
    font-size: 13px;
}
.btn-group .btn:hover, .fancyClose:hover {
    background: #F4F4F5;
    color:  #313440;
}

 .agree {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 20px 1fr;
  grid-template-columns: 20px 1fr;
  -webkit-box-align: start;
  -moz-box-align: start;
  -ms-flex-align: start;
  -webkit-align-items: start;
  align-items: start;
  -webkit-box-pack: start;
  -moz-box-pack: start;
  -ms-flex-pack: start;
  -webkit-justify-content: center;
  justify-content: center;
  margin: 10px auto;
  padding: 0 46px;
}
 .agree .text, .agree .text * {
  color: #A7A7A7;
  font-size: 9px;
  font-weight: 400;
  line-height: 11px;
      text-align: center;
}
.agree .text a {
  display: inline;
  text-decoration: underline;
}
 .agree .text a:before {
  display: none;
}
 .agree .text a:hover {
  color: rgb(0, 0, 0);
}

.fancybox-can-pan .fancybox-content, .fancybox-can-swipe .fancybox-content {
    cursor: unset;
}
.fancybox_modal .title-h3, #msOrder .title-h3{
    color: #fff;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    line-height: 30px; /* 116.667% */
    margin-bottom: 10px;
}
.fancybox_modal > p, #msOrder > p {
    color: #000;
    font-size: 18px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
}
.fancybox_modal .form-group .btn {
    padding: 12px 46px;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    border-radius: 50px;
    background: #4E91D9;
    border: none;
    transition: all .3s linear;
}
.fancybox_modal .form-group .btn:hover {
    background: #F4F4F5;
    color:  #313440;
}

.fancybox_modal {
    background: #313A45 url(../images/form-bg.svg) 100% 100% no-repeat;
    padding: 27px 58px 23px;
    border-radius: 21px;
    width: 460px;
}
.fancybox-slide--html .fancybox-close-small {
    background: #4E91D9;
    color: #fff;
    border-radius: 50px;
    right: 10px;
    top: 10px;
    padding: 4px;
    width: auto;
    height: auto;
}
.fancybox-slide--html .fancybox-close-small svg {
    height: 18px;
    width: 18px;
}
.feedback-section__right-socials{
   gap: 10px;
    display: flex;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 15px;
    align-items: center;
    justify-content: center;
}
.feedback-section__right-socials .messengers a {
    display: flex;
}
.feedback-section__right-socials .messengers {
    display: flex;
    align-items: center;
    gap: 5px;
}
.feedback-section__right-socials .messengers a {
    position: relative;
    /* width: 38px;
    height: 38px; */
    color: #ffffff;
    text-align: center;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
}
.feedback-section__right-socials .messengers a.telegram-btn{
    background-color: #00BBF0;
}
.feedback-section__right-socials .messengers a.whatsapp-btn{
    background-color: #2CC54E;
}
.feedback-section__right-socials .messengers a.callback-btn{
    background: #154F85;
}


.feedback-section__right-socials .messengers a:hover{
    transform: scale(1.03);
    filter: brightness(110%);
}
.feedback-section__right-socials .messengers a.telegram-btn:hover {
  animation: radial-pulse-telegram 1.4s infinite;
}
.feedback-section__right-socials .messengers a.whatsapp-btn:hover {
  animation: radial-pulse-whatsapp 1.4s infinite;
}
@keyframes radial-pulse-telegram {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 136, 204, 0.5);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
}
@keyframes radial-pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0px rgba(76,175,80, 0.5);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
}

/* Breadcrumbs */
.breadcrumbs-section{
    font-size: 14px;
    font-weight: normal;
    color: #fff;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 25px;
}
.breadcrumbs-inner{
    display: flex;
    flex-wrap: wrap;
    overflow: auto;
    align-items: center;
}
.breadcrumbs-inner .item-icon{
    display: flex;
    position: relative;
    gap: 3px;
    /* top: -2px; */
    align-items: center;
}
.breadcrumbs-inner .item-icon:after{
    content: '';
    background: url(../images/breadcrumbs-arrow.svg) 0 0 no-repeat;
    width: 6px;
    height: 10px;
    display: inline-block;
    margin-left: 6px;
    position: relative;
    top: 2px;
}
.breadcrumb{
    padding-left: 10px;
}
.breadcrumb > li {
    display: inline;
    margin-right: 5px;
    color: #515050;
    font-size: 12px;
}
.breadcrumb > li > a{
    text-decoration: none;
    color: #515050;
}
.breadcrumb > li > a:after {
    content: '';
    background: url(../images/breadcrumbs-arrow.svg) 0 0 no-repeat;
    width: 6px;
    height: 10px;
    display: inline-block;
    margin-left: 10px;
        position: relative;
    top: 2px;
}
.breadcrumb a:hover{
    color: #4E91D9;
}
@media(max-width: 767px){
    .breadcrumbs-inner {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    .breadcrumb > li {
        white-space: nowrap;
    }
    .breadcrumbs-inner .item-icon{
        margin-right: 5px;
        width: 45px;
    }
    .breadcrumbs-inner .item-icon:after{
        margin-left: 10px;
        width: 17px;
    }
    .breadcrumbs-inner ul {
        padding-left: 0 !important;
    }
    .breadcrumb > li {
        font-size: 14px;
    }
    .breadcrumbs-section {
        padding-top: 20px;
    }
}
/* /. Breadcrumbs */


/* Partners section */
.partners-section {
    overflow: hidden;
    background: #fff;
}

.partners-section h2 {
    margin-bottom: 36px;
}

.partners-slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.partners-slider {
    margin-left: -10px;
    margin-right: -10px;
}

.partners-slider .slick-list {
    overflow: visible;
}

.partners-slider .slick-slide {
    padding: 0 10px;
}

.partner-item {
    text-align: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 74px;
    margin-bottom: 14px;
}

.partner-logo img {
    display: block;
    max-width: 105px;
    max-height: 70px;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.partner-title {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 400;
}
/* /. Partners section */


/* Team section */
.team-section {
    background: #fff;
}

.team-section-title {
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 42px 52px;
    margin-bottom: 38px;
}

.team-item {
    display: block;
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
}

.team-item:hover {
    color: var(--text-color);
}

.team-img {
    display: block;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 10px;
}

.team-img img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.3;
    object-fit: cover;
    transition: transform 300ms ease-out, filter 300ms ease-out;
}

.team-item:hover .team-img img {
    transform: scale(1.04);
    filter: brightness(1.04);
}

.team-name {
    display: block;
    max-width: 230px;
    margin: 0 auto 10px;
    color: var(--text-color);
    font-size: 20px;
    line-height: 1.15;
    font-weight: 500;
}

.team-text {
    display: block;
    max-width: 275px;
    margin: 0 auto;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
}
/* /. Team section */


/* Team modal */
.team-modal {
    width: 970px;
}

.team-modal-row {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    column-gap: 32px;
    align-items: start;
}

.team-modal-img {
    overflow: hidden;
    border-radius: 10px;
}

.team-modal-img img {
    display: block;
    width: 100%;
    height: auto;
}

.team-modal-title {
    margin-bottom: 12px;
    color: var(--text-color);
}

.team-modal-subtitle {
    margin-bottom: 14px;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.team-modal-text {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.55;
}

.team-modal-text ul {
    margin: 0;
    padding-left: 18px;
}

.team-modal-text li {
    margin-bottom: 5px;
}

.team-modal-text li:last-child {
    margin-bottom: 0;
}

.team-modal .fancybox-close-small {
    color: #fff;
}

/* Team adaptive */
@media(max-width: 1359px){
    .team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media(max-width: 1229px) {
    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 38px 40px;
    }
}

@media(max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-modal-row {
        grid-template-columns: 220px minmax(0, 1fr);
        column-gap: 25px;
    }
}

@media(max-width: 767px) {
    .team-section-title {
        margin-bottom: 24px;
    }

    .team-grid {
        gap: 30px 20px;
    }

    .team-name {
        font-size: 18px;
    }

    .team-text {
        font-size: 14px;
    }

    .team-modal-row {
        grid-template-columns: 1fr;
        row-gap: 22px;
    }

    .team-modal-img {
        max-width: 260px;
    }
}

@media(max-width: 479px) {
    .team-grid {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }
}
/* /. Team adaptive */
/* /. Team modal */

/* ================ Адаптив ================ */

@media (max-width: 1200px) {
    .footer__inner {
        flex-direction: column;
    }

    .footer__left,
    .footer__map {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .footer__map-img {
        height: 350px;
    }
}

@media (max-width: 990px) {
    .project-page__top-row {
        flex-wrap: wrap;
    }
    .project-page__img {
        width: 100%;
    }
    .project-page__table, .team-section__photo-wrapper {
        width: 100%;
    }
    .contacts-section-row {
    flex-wrap: wrap;
    }
    .contacts-requisites .item .right {
        flex-wrap: wrap;
        gap: 0;
    }
}

@media (max-width: 900px) {
    .footer__contacts {
        flex-direction: column;
        gap: 25px;
    }
    .footer__bottom {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .sidebar-catalog {
        display: none;
    }
     .catalog-page .main-content {
        margin-left: 0;
    }
    .main-content {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .footer {
        padding: 30px 0;
    }

    .footer__desc {
        font-size: 14px;
    }

    .footer__phone {
        font-size: 16px;
    }

    .footer__btn {
        width: 100%;
        text-align: center;
    }
}


