/* Общие стили */
/* Gilroy */

@font-face {
    font-family: 'Gilroy';
    src: url('/wp-content/themes/smartgroup/assets/SmartGroup/Gilroy-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

/* Gilroy Extra Bold */
@font-face {
    font-family: 'Gilroy';
    src: url('/wp-content/themes/smartgroup/assets/SmartGroup/Gilroy-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

/* Conthrax Semi Bold */
@font-face {
    font-family: 'Conthrax';
    src: url('/wp-content/themes/smartgroup/assets/SmartGroup/conthrax-sb.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

h1, h2 {
    font-family: 'Conthrax', sans-serif;
}
h1 {
    font-size: 80px;
    line-height: 100%;
    font-weight: 600;
    margin: 0;
}
h2 {
    font-family: 'Gilroy', sans-serif;
    font-weight: 800;
    font-size: 35px;
    margin: 0;
}
h3 {
    font-family: 'Gilroy', sans-serif;
    font-weight: 300;
    font-size: 55px;
    margin: 0;
}
h4 {
    font-family: 'Gilroy', sans-serif;
    font-weight: 300;
    font-size: 35px;
    margin: 0;
}
p {
    font-family: 'Gilroy', sans-serif;
    font-weight: 300;
    font-size: 18px;
    margin: 0;
}

button {
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: white;
}

body {
    background: #0E1116;
    color: white;
    font-family: 'Gilroy', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1538px;
    padding: 0 191px;
    margin: 0 auto;
}


/* Шапка */
.site-header {
    max-width: 1920px;
    margin: 0 auto;
    padding-left: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    background: transparent;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
}

.site-header-container {
    background: rgba(0,0,0,0.25);
    margin-left: 100px;
    padding-left: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 0px 0px 0px 35px;
    width: 100%;
}

.header-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Гамбургер */
.hamburger {
    margin-right: 20px;
}

.site-header .phone {
    font-size: 25px;
    margin-left: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.site-header .phone .phone_spravka {
    margin-left: 50px;
    font-size: 18px;
}

.site-header-container .btn {
    padding: 15px 30px;
    border: 2px solid #FFFFFF;
    font-size: 18px;
    margin-left: 70px;
    border-radius: 100px;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    margin-left: 70px;
}

.logo img:first-child {
    margin-right: 10px;
}

.Geo {
    margin-left: 250px;
    font-size: 20px;
}

.Geo img {
    margin-right: 5px;
}

/* Главное меню */
.main-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu a {
    text-decoration: none;
    color: white;
    font-weight: 300;
    font-size: 18px;
}

.main-menu {
    color: white;
}

/* Кнопка */
#actionBtn {
    padding: 0.5rem 1rem;
    font-size: 16px;
    cursor: pointer;
}

/* МЕЙН КОНТЕЙНЕР */

.billboard-container {
    padding-top: 200px;
    height: 900px;
    background: linear-gradient(
                    to bottom,
                    rgba(14, 17, 22, 0) 0%,
                    rgba(14, 17, 22, 1) 100%
                ),
                url("img/billboard_main.png") no-repeat center center;
    background-size: cover;
}







.billboard-navigation ul {
    list-style: none;
    display: grid;
    gap: 50px;
    display: flex;
    padding-left: 0px;
}

.billboard-navigation ul li a {
    text-decoration: none;
    list-style: none;
    color: white;
    font-size: 18px;
    font-weight: 300;
}

.billboard-container .titles {
    margin-top: 90px;
}

.billboard-container .titles h1 {
    margin-top: 24px;
}
.billboard-container .titles h3 {
    margin-top: 6px;
}

.black-container {
    background: #0E1116;
    height: 75px;
}

.billboard-bottom-block {
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: flex-end;
    align-items: center;
}

.billboard-bottom-text {
    position: absolute;
    height: fit-content;
    font-size: 25px;
    width: 30px;
    left: -20px;
    bottom: 10px;
    transform: rotate(270deg);
}

.billboard-bottom-numbers {
    font-size: 40px;
    margin-bottom: 25px;
}

.billboard-bottom-bars {
    margin-left: 30px;
}

.billboard-bottom-icon {
    height: 60px;
    width: 87px;
}

.billboard-container-bottom .container {
    display: flex;
    gap: 90px;
    justify-content: flex-end;
    padding: 0px;
}

.billboard-right-container {
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: auto;
}

/* ВТОРОЙ БЛОК */

.background-first-form {
    padding-top: 100px;
    height: 900px;
    background: linear-gradient(
        to bottom,
        rgba(14, 17, 22, 1) 0%,      /* плотный черный сверху */
        rgba(14, 17, 22, 0.7) 15%,   /* плавный переход */
        rgba(14, 17, 22, 0) 30%,     /* полностью прозрачный в середине */
        rgba(14, 17, 22, 0) 70%,     /* сохраняем прозрачность */
        rgba(14, 17, 22, 0.7) 85%,   /* затемнение снизу */
        rgba(14, 17, 22, 1) 100%     /* плотный черный в самом низу */
    ),
    url("img/image14.png") no-repeat center center;
    background-size: cover;
}

.form-text {
    font-size: 25px;
    margin-bottom: 50px;
    margin-top: 40px;
}

.button-container {
    display: flex;
    gap: 30px;
    margin-top: 54px;
}

.button-container button {
    border: 2px solid #FFFFFF;
    font-size: 18px;
    border-radius: 100px;
    background: transparent;
    padding-right: 0px;
    cursor: pointer;
}

.button-container button.first-btn {
    height: 80px;
    display: flex;
    align-items: center;
    background: #B31312;
    border: 2px solid rgba(255,255,255,0.25);
    padding-left: 44px;
    transition: background 0.3s ease-in;
}

.button-container button.first-btn:hover {
    background: rgba(179, 19, 18, 0.6)
}

.button-container button.second-btn {
    height: 80px;
    display: flex;
    align-items: center;
    background: transparent;
    border: 2px solid white;
    padding-left: 44px;
    transition: background 0.3s ease-in;
}

.button-container button.second-btn:hover {
    background: rgba(255, 255, 255, 0.1)
}

.button-container button.first-btn img {
    width: 40px;
    height: 40px;
    display: block;
}

.button-container button.second-btn img {
    width: 40px;
    height: 40px;
    display: block;
}

.first-btn .icon-bg {
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    padding: 20px 20px;   /* твои отступы */
    display: inline-flex; /* чтобы содержимое центрировалось */
    align-items: center;
    justify-content: center;
    margin-left: 35px;
}

.second-btn .icon-bg {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 20px 20px;   /* твои отступы */
    display: inline-flex; /* чтобы содержимое центрировалось */
    align-items: center;
    justify-content: center;
    margin-left: 35px;
}

.form-h3 {
    font-size: 35px;
    margin-bottom: 13px;
}

.form-numbers {
    font-family: 'Conthrax', sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: #B31312;
    text-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}

/* ТРЕТИЙ БЛОК */

.header-svg {
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

.switcher-left-side h4 {
    display: flex;
}

.img_skats {
    width: 100%;
    margin: 0 auto;
    z-index: 1000;
    position: relative;
}

.img_skats_bottom {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0px;
}

.skats_photo_container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.switcher-colors {
    padding-top: 100px;
    height: 900px;
    background: linear-gradient(
        to bottom,
        rgba(14, 17, 22, 1) 0%,      /* плотный черный сверху */
        rgba(14, 17, 22, 0.8) 15%,   /* плавный переход */
        rgba(14, 17, 22, 0.6) 30%,     /* полностью прозрачный в середине */
        rgba(14, 17, 22, 0.6) 70%,     /* сохраняем прозрачность */
        rgba(14, 17, 22, 0.8) 85%,   /* затемнение снизу */
        rgba(14, 17, 22, 1) 100%     /* плотный черный в самом низу */
    ),
    url("/wp-content/themes/smartgroup/assets/SmartGroup/img/thirdbg.png") no-repeat center center;
    background-size: cover;
}

.switcher-all-sides {
    display: flex;
    flex-direction: row;
}

.switcher-colors {
    padding-top: 100px;
}

.switcher-left-side p {
    margin-top: 18px;
}

.switcher-left-side {
    width: 47%;
    display: flex;
    flex-direction: column;
}

.switcher-right-side {
    margin-left: auto;
    gap: 30px;
    display: grid;
    grid-template-columns: auto auto auto;
}

.switcher-right-side div {
    cursor: pointer;
    border-radius: 20px;
    padding: 30px 10px;
    font-size: 24px;
    font-weight: 800;
}

/* Четвёртый блок */

.background-second-form {
    padding-top: 100px;
    height: 900px;
    background: linear-gradient(
        to bottom,
        rgba(14, 17, 22, 1) 0%,      /* плотный черный сверху */
        rgba(14, 17, 22, 0.7) 15%,   /* плавный переход */
        rgba(14, 17, 22, 0.3) 30%,     /* полностью прозрачный в середине */
        rgba(14, 17, 22, 0.3) 70%,     /* сохраняем прозрачность */
        rgba(14, 17, 22, 0.7) 85%,   /* затемнение снизу */
        rgba(14, 17, 22, 1) 100%     /* плотный черный в самом низу */
    ),
    url("/wp-content/themes/smartgroup/assets/SmartGroup/img/1_12_11zon1.png") no-repeat center center;
    background-size: cover;
}

.form-container-second-type form {
    width: 50%;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-container-second-type form input {
    color: white;
    font-size: 25px;
    width: 362px;
    height: 46px;
    background: transparent;
    border: none;
    border-bottom: 1px solid white;
}
.form-container-second-type form input::placeholder {
    font-family: 'Gilroy', sans-serif;
    font-size: 25px;
    color: white;
}

.second-form .button-container {
    margin-top: 0px;
}

.second-form .checkbox {
    display: flex;
    flex-direction: row;
}

.second-form .checkbox p {
    width: 85%;
    margin-left: 10px;
}
.second-form .checkbox input {
    background-color: transparent;
    margin: 0;
    width: 30px;
    height: 30px;
}

.second-form .checkbox input[type="checkbox"] { 
    appearance: none; 
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid #fff;
    width: 30px;
    height: 30px;
    background: transparent;
    position: relative;
}

.second-form .checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 7px;   /* отступ сверху */
    left: 7px;  /* отступ слева */
    width: 14px;
    height: 14px;
    background: #B31312;
    border-radius: 4px; /* если нужен скруглённый квадрат */
}

/* Стили для слайдера цветов */
.color-slider-container {
    position: relative;
    width: 100%;
}

.color-slider-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.slider-btn {
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    background: transparent;
    border: 2px solid #B31312;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn.active,
.slider-btn:hover {
    background: #B31312;
    color: white;
}

.color-slides {
    position: relative;
}

.color-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.color-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* Пятый блок */

/* Сброс стилей для слайдера */
        /* Контейнер слайдера */
        .custom-slider-container {
            position: relative;
            width: 100%;
            height: 400px;
            margin: 50px auto;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        
        /* Дорожка слайдов */
        .custom-slider-track {
            display: flex;
            width: 600%;
			height: 100%;
            transition: transform 0.5s ease;
        }
        
        /* Отдельный слайд */
        .custom-slider-slide {
			justify-content: center;
    		display: flex;
            width: 33.333%;
            height: 100%;
        }
        
        /* Стили для изображений */
        .custom-slider-image {
            width: 100%;
			object-fit: cover;
        }
        
        /* Кнопки-стрелки */
        .custom-slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 24px;
            user-select: none;
        }
        
        .custom-slider-arrow-left {
            left: 15px;
        }
        
        .custom-slider-arrow-right {
            right: 15px;
        }
        
        .custom-slider-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .custom-slider-indicator.active {
            background-color: rgba(255, 255, 255, 0.9);
        }

.features-block {
    padding-top: 100px;
    height: 900px;
    background: linear-gradient(
        to bottom,
        rgba(14, 17, 22, 1) 0%,      /* плотный черный сверху */
        rgba(14, 17, 22, 0.7) 15%,   /* плавный переход */
        rgba(14, 17, 22, 0.3) 30%,     /* полностью прозрачный в середине */
        rgba(14, 17, 22, 0.3) 70%,     /* сохраняем прозрачность */
        rgba(14, 17, 22, 0.7) 85%,   /* затемнение снизу */
        rgba(14, 17, 22, 1) 100%     /* плотный черный в самом низу */
    ), no-repeat center center;
    background-size: cover;
}

.features-button {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background: white;
    z-index: 100000;
}

.features-container-block {
    display: flex;
    flex-direction: row;
}

.features-left-side {
    width: 47%;
    max-width: 694px;
}
.features-right-side {
    width: 47%;
    margin-left: auto;
}

.features-right-side h4 {
    display: flex;
}

.features-right-side p {
    margin-top: 10px;
}

.features-tabs {
    display: flex;
    flex-direction: row;
    gap: 22px;
}

.tab.active {
    background: rgba(179,19,18,0.8);
}

.features-tabs div {
    cursor: pointer;
    width: 40%;
    background: rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    padding: 30px 10px 38px 30px;
    border-radius: 20px;
}
.features-tabs div p {
    margin-top: 20px;
}

.features-texts {
     margin-top: 30px;
        backdrop-filter: blur(25px);
  color: #fff;
  padding: 30px;
  line-height: 1.5;
  position: relative;
  height: 100%;
  border-radius: 20px;
    background: #111827;
    clip-path: polygon(50% 0%, 100% 0, 100% 76%, 58% 76%, 58% 100%, 0 100%, 0 0);
    
}
.features-texts::after {
    clip-path: polygon(50% 0%, 100% 0, 100% 76%, 58% 76%, 58% 100%, 0 100%, 0 0);
    border-radius: 20px;
    z-index: -1;
    background: #111827; /* тёмно-серый фон */
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
}

.features-header {
    font-size: 25px;
}

.features-polygon {
      width: 694px;
      position: relative;
}

.photo_skats {
    position: relative;
}

.photo_skats .header-svg {
    width: 12px;
    height: 12px;
}
.photo_skats p {
    justify-content: center;
    font-size: 17px;
    display: flex;
        position: absolute;
    bottom: 0px;
    width: auto;
}

/* Шестой блок */

.background-first1-form {
    padding-top: 100px;
    height: 700px;
    background: linear-gradient(
        to bottom,
        rgba(14, 17, 22, 1) 0%,      /* плотный черный сверху */
        rgba(14, 17, 22, 0.7) 15%,   /* плавный переход */
        rgba(14, 17, 22, 0.5) 30%,     /* полностью прозрачный в середине */
        rgba(14, 17, 22, 0.5) 70%,     /* сохраняем прозрачность */
        rgba(14, 17, 22, 0.7) 85%,   /* затемнение снизу */
        rgba(14, 17, 22, 1) 100%     /* плотный черный в самом низу */
    ),
    url("/wp-content/themes/smartgroup/assets/SmartGroup/img/image23.png") no-repeat center center;
    background-size: cover;
}

.features-left-side h4 {
    display: flex;
}

.features-left-side p {
    margin-top: 30px;
}

.calculator .features-tabs div p {
    margin-top: 0px;
}

.calculator .features-tabs div {
    padding: 30px;
}

.calculator .box .rectangle {
    position: static;
    width: auto;
    height: auto;
}

.calculator .box .button-container button.first-btn {
    height: 100px;
}

.calculator .box .first-btn .icon-bg {
    height: 100%;
    border-radius: 50% 0px 0px 50%;
}

.calculator .first-btn .icon-bg {
    padding: 20px 28px;
}

.calculator .photo_skats {
    margin-top: 200px;
    margin-right: -100px;
}

.calculator .img_skats_bottom  {
    height: 40%;
}
.calculator .calculator-form-container {
    background: rgba(255,255,255,0.05);
    position: relative;
    height: 607px;
    margin-top: 30px;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 20px;
}

.calculator form {
    padding: 30px;
}
.calculator form label {
    font-size: 16px;
    margin-top: 5px;
}
.calculator form input {
    color: white;
    background: rgba(179, 19,18,0.24);
    border-radius: 4px;
    border: none;
    font-size: 20px;
    padding-left: 20px;
}

.calculator form select {
    color: white;
    background: rgba(179, 19,18,0.24);
    border-radius: 4px;
    border: none;
    font-size: 20px;
    padding: 10px 20px 10px 20px;
    width: 100%;
}
.calculator form input::placeholder {
    color: rgba(255,255,255,0.5);
}






/* ====== */

.calculator-form-container {
    position: relative;
    min-height: 300px;
}

.calc-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.calc-step.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 95%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.next-btn {
    background: #B31312;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
    margin-top: 20px;
}

.next-btn .icon-bg {
    border-radius: 50%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next-btn img {
    width: 24px;
    height: 24px;
}

.button-group {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.prev-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.submit-btn {
    background: #B31312;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.color-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.color-option {
    padding: 15px;
    border-radius: 6px;
    color: white;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.color-option:hover {
    transform: scale(1.05);
}

.color-option.selected {
    border-color: #B31312;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.3);
}

select option {
    background: black;
}

.summary-data {
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.summary-item span:first-child {
    font-weight: 600;
    min-width: 120px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.uslugi {
    padding-top: 100px;
    height: 900px;
    background: 
    radial-gradient(circle, 
        rgba(14, 17, 22, 1) 0%,      /* плотный черный сверху */
        rgba(14, 17, 22, 0.4) 15%,   /* плавный переход */
        rgba(14, 17, 22, 0.4) 30%,     /* полностью прозрачный в середине */
        rgba(14, 17, 22, 0.4) 70%,     /* сохраняем прозрачность */
        rgba(14, 17, 22, 0.4) 85%,   /* затемнение снизу */
        rgba(14, 17, 22, 1) 100%) /* плотный черный в самом низу */,
    url("/wp-content/themes/smartgroup/assets/SmartGroup/img/image45.png") no-repeat center center;
    background-size: cover;
}

.uslugi-titles h4 {
    display: flex;
}

.uslugi-titles h1 {
    margin-top: 13px;
}

.slider-wrapper {
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.uslugi-container {
    position: relative;
}

.slider-wrapper {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.slide {
    flex: 0 0 calc(20% - 0px);
    min-width: calc(21.5% - 30px);
    height: 320px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 30px 25px 30px;
    color: white;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.slide p {
    font-size: 23px;
    font-weight: 300;
    margin: 0 0 50px 0;
    position: relative;
    z-index: 2;
    line-height: 100%;
}

.slide a {
    font-size: 25px;
    color: white;
    text-decoration: none;
    font-weight: 300;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Стрелки навигации */
.slider-arrow {
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-prev {
    left: -75px;
}

.slider-next {
    right: -75px;
}

.slider-arrow svg {
    width: 30px;
    height: 30px;
}

.clients {
    padding-top: 100px;
    height: 900px;
    background: linear-gradient(
        to bottom,
        rgba(14, 17, 22, 1) 0%,      /* плотный черный сверху */
        rgba(14, 17, 22, 0.7) 15%,   /* плавный переход */
        rgba(14, 17, 22, 0.5) 30%,     /* полностью прозрачный в середине */
        rgba(14, 17, 22, 0.5) 70%,     /* сохраняем прозрачность */
        rgba(14, 17, 22, 0.7) 85%,   /* затемнение снизу */
        rgba(14, 17, 22, 1) 100%     /* плотный черный в самом низу */
    ),
    url("/wp-content/themes/smartgroup/assets/SmartGroup/img/image20.png") no-repeat center center;
    background-size: cover;
}

.clients .form-text {
    margin: 90px 0px;
}

.block-under-clients {
    margin-top: 100px;
}

.container-inner-clients {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.block-under-clients .button-container {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.block-under-clients .button-container button.first-btn {
    height: 62px;
    width: 140px;
    border-radius: 20px;
}

.clients-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    background: url("/wp-content/themes/smartgroup/assets/SmartGroup/img/firstclients.png");
    background-repeat: no-repeat;
    min-height: 380px;
    width: 33%;
}

.clients-block .button-container button.first-btn img {
    height: 17px;
    width: 21px;
}

.client-content {
    padding: 40px 40px 20px 40px;
}

.client-content p {
    font-size: 35px;
    margin-bottom: 80px;
}

.client-content a {
    font-size: 18px;
    margin-bottom: 130px;
}

.contacts-inner h4 {
    display: flex;
}

.contacts {
    padding-top: 100px;
    height: 900px;
    background: linear-gradient(
        to bottom,
        rgba(14, 17, 22, 1) 0%,      /* плотный черный сверху */
        rgba(14, 17, 22, 0.7) 15%,   /* плавный переход */
        rgba(14, 17, 22, 0.5) 30%,     /* полностью прозрачный в середине */
        rgba(14, 17, 22, 0.5) 70%,     /* сохраняем прозрачность */
        rgba(14, 17, 22, 0.7) 85%,   /* затемнение снизу */
        rgba(14, 17, 22, 1) 100%     /* плотный черный в самом низу */
    ),
    url("img/image21.png") no-repeat center center;
    background-size: cover;
}

.contacts-inner {
    display: flex;
}

.contacts-inner h1 {
    margin-top: 45px;
}

.contacts form {
    width: 50%;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contacts form input {
    font-size: 25px;
    color: white;
    width: 362px;
    height: 46px;
    background: transparent;
    border: none;
    border-bottom: 1px solid white;
}
.contacts form input::placeholder {
    font-family: 'Gilroy', sans-serif;
    font-size: 25px;
    color: white;
}

.footer-logo {
    background: #11161F;
    padding: 40px 0px;
    padding-left: 191px;
    border-radius: 0px 0px 35px 0px;
    width: 25%;
}

.footer-contact-container {
    width: 75%;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.footer-container {
    padding-right: 191px;
    display: flex;
    align-items: center;
}

.footer-text {
    margin-right: 90px;
}

.footer-phone {
    font-size: 36px;
}

.footer-contacts {
    align-items: center;
    display: flex;
}

footer {
    background: #0C0E11;
}

.messengers {
    margin-top: 15px;
    display: flex;
    gap: 20px;
}

.polygon-container {
    margin-top: 30px;
}

.group {
    height: 365px;
    position: relative;
}

.features-left-side .group p {
    margin-top: 10px;
}

.polygon-inner {
    padding: 30px;
}

.polygon-inner h4 {
    font-size: 25px;
}

.img_skats {
    transition: opacity 0.3s ease-in-out;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

.features-block .photo_skats.second .img_skats {
    margin: 75px 0px;
}

.group .button-container button.first-btn {
    border-radius: 20px;
    width: 271px;
}

.group .first-btn .icon-bg {
    margin-left: auto;
    border-radius: 50% 0px 0px 50%;
    padding: 30px 25px;
}

.group .button-container {
    position: absolute;
    bottom: 0px;
    right: 0px;
}







@media (min-width: 1470px) and (max-width: 1910px) {
    h1 {
        font-size: 50px;
    }
    h2 {
        font-family: 'Gilroy', sans-serif;
        font-weight: 800;
        font-size: 35px;
        margin: 0;
    }
    h3 {
        font-size: 35px;
    }
    h4 {
        font-size: 26px;
    }
    p {
        font-size: 16px;
    }

    button {
        font-size: 18px;
    }

    .site-header {
        max-width: 1280px;
    }
    .container {
        padding: 0 100px;
        max-width: 1250px;
    }
    .Geo {
        margin-left: auto;
        display: none;
    }
    .site-header-container .btn {
        margin-left: 40px;
        font-size: 16px;
        padding: 15px 20px;
        margin-right: 40px;
    }
    .site-header .phone .phone_spravka {
        margin-left: 40px;
    }
    .site-header .phone {
        margin-left: auto;
    }
    .main-menu ul {
        gap: 30px;
    }
    .site-header-container {
        margin-left: 40px;
    }
    .logo {
        margin-left: 40px;
    }
    .billboard-container-bottom .container {
        gap: 50px;
        margin-top: -70px;
    }
    .features-tabs div img {
        width: 40px;
        height: 40px;
    }
    .features-tabs div {
        padding: 20px;
    }
    .features-tabs {
        gap: 10px;
    }
    .features-left-side .group p {
        margin-top: 5px;
        font-size: 14px;
    }
    .group {
        height: 310px;
    }
    .group .first-btn .icon-bg {
        display: none;
    }
    .group .button-container button.first-btn {
        width: 231px;
        height: 69px;
        border-radius: 12px;
    }
    .calculator .photo_skats {
        margin-right: 0px;
        margin-top: 100px;
    }
    .billboard-container {
        height: 700px;
    }
    .background-first-form {
        height: 700px;
    }
    .switcher-colors {
        height: 700px;
    }
    .background-second-form {
        height: 700px;
    }
    .features-block {
        height: 700px;
    }
    .background-first1-form {
        height: 500px;
    }
    .uslugi {
        height: 700px;
    }
    .contacts {
        padding-top: 250px;
        height: 700px;
    }
    .clients-block {
        min-height: 300px;
    }
    .block-under-clients .button-container button.first-btn {
        height: 56px;
        width: 123px;
        border-radius: 12px;
    }
    .block-under-clients .first-btn .icon-bg {
        background: transparent;
        margin-left: 0px;
    }
     .block-under-clients .button-container button.first-btn {
        justify-content: flex-end;
    }
    .client-content p {
        margin-bottom: 70px;
    }
    .footer-logo {
        padding-left: 100px;
    }
    .footer-container {
        padding-right: 100px;
    }
}


@media (min-width: 1070px) and (max-width: 1470px) {
        h1 {
        font-size: 48px;
    }
    h2 {
        font-family: 'Gilroy', sans-serif;
        font-weight: 800;
        font-size: 28px;
        margin: 0;
    }
    h3 {
        font-size: 28px;
    }
    h4 {
        font-size: 22px;
    }
    p {
        font-size: 16px;
    }

    .slider-container .slide {
        padding: 20px;
        flex: 0 0 39%;
    }

    .slide p {
        font-size: 20px;
    }

    .photo_skats p {
        font-size: 18px;
    }
    .slider-container {
        gap: 20px;
    }

    .switcher-right-side {
        gap: 20px;
    }

    .footer-phone {
        font-size: 28px;
    }

.footer-logo {
    padding-left: 70px;
    width: 35%;
}
.footer-container {
    padding-right: 70px;
}

.features-block .photo_skats.second .img_skats {
    margin: 50px 0px;
}

    button {
        font-size: 16px;
    }

    .site-header {
        max-width: 1080px;
        padding-left: 70px;
    }
    .container {
        padding: 0 70px;
        max-width: 930px;
    }
    .Geo {
        margin-left: auto;
        display: none;
    }
    .site-header-container .btn {
        margin-left: 40px;
        font-size: 16px;
        padding: 15px 20px;
        margin-right: 40px;
    }
    .site-header .phone .phone_spravka {
        display: none;
    }
    .site-header .phone {
        margin-left: auto;
    }
    .main-menu ul {
        gap: 30px;
    }
    .site-header-container {
        margin-left: 40px;
    }
    .logo {
        margin-left: 40px;
    }
    .billboard-container-bottom .container {
        gap: 50px;
        margin-top: -70px;
    }
    .features-tabs div img {
        width: 40px;
        height: 40px;
    }
    .features-tabs div {
        padding: 20px;
    }
    .features-tabs {
        gap: 10px;
    }
    .features-left-side .group p {
        margin-top: 5px;
        font-size: 14px;
    }
    .group {
        height: 310px;
    }
    .group .first-btn .icon-bg {
        display: none;
    }
    .group .button-container button.first-btn {
        width: 172px;
        height: 50px;
        border-radius: 12px;
        justify-content: center;
        padding: 0px;
    }
    .polygon-container {
        margin-top: 20px;
    }
    .features-tabs div p {
        font-size: 16px;
    }
    .calculator .photo_skats {
        margin-right: 0px;
        margin-top: 70px;
        margin-bottom: 50px;
        display: flex;
        justify-content: center;
    }
    .group {
        height: 229px;
    }
    .polygon-inner h4 {
        font-size: 20px;
    }
    .client-content p {
        font-size: 22px;
    }
    .container-inner-clients {
        gap: 30px;
    }
    .client-content {
        padding: 25px 25px 20px 25px;
    }
    .polygon-inner {
        padding: 15px;
    }
    .calculator .calculator-form-container {
        height: auto;
    }
    .billboard-container {
        height: 550px;
    }
    .background-first-form {
        height: 550px;
    }
    .switcher-colors {
        height: 550px;
    }
    .background-second-form {
        height: 550px;
    }
    .features-block {
        height: auto;
    }
    .background-first1-form {
        height: 400px;
    }
    .uslugi {
        height: 550px;
    }
    .contacts {
        padding-top: 70px;
        height: 550px;
    }

    .calculator .img_skats {
        width: 80%;
    }
    .calculator .features-right-side {
        width: 100%;
        margin-left: 0px;
    }
    .calculator .features-container-block {
        flex-direction: column;
    }

    .calculator .features-left-side {
        width: 100%;
        max-width: 1070px;
    }
    .clients {
        height: 550px;
    }
    .clients-block {
        min-height: 225px;
    }
    .block-under-clients .button-container button.first-btn {
        height: 39px;
        width: 91px;
        border-radius: 12px;
    }
    .block-under-clients .first-btn .icon-bg {
        background: transparent;
        margin-left: 0px;
    }
     .block-under-clients .button-container button.first-btn {
        justify-content: flex-end;
    }
    .client-content p {
        margin-bottom: 40px;
    }
    .billboard-navigation ul li a {
        font-size: 16px;
    }
    .billboard-bottom-block {
        align-items: flex-end;
    }
    .billboard-bottom-bars {
        height: 200px;
        margin-left: 20px;
    }
    .billboard-bottom-numbers {
        font-size: 30px;
    }
    .billboard-bottom-text {
        font-size: 18px;
    }
    .billboard-bottom-icon {
        height: 40px;
        width: 60px;
    }
    .black-container {
        height: 30px;
    }
}

@media (min-width: 670px) and (max-width: 1070px) {
        h1 {
        font-size: 36px;
    }
    h2 {
        font-family: 'Gilroy', sans-serif;
        font-weight: 800;
        font-size: 28px;
        margin: 0;
    }
    h3 {
        font-size: 24px;
    }
    h4 {
        font-size: 24px;
    }
    p {
        font-size: 15px;
    }

    .slide {
        padding: 20px;
        flex: 0 0 27.6%;
    }

    .slider-next{
        right: -45px;
    }

    .clients .form-text {
        margin: 50px 0px;
        font-size: 20px;
    }

    .slider-prev {
        left: -45px;
    }

    .slide p {
        font-size: 20px;
    }

    .photo_skats p {
        font-size: 20px;
    }
    .slider-container {
        gap: 20px;
    }

    .switcher-right-side {
        margin-top: 50px;
        gap: 10px;
    }

    .first-btn .icon-bg {
        margin-left: 15px;
    }

    .form-container-second-type form input {
        width: 262px;
    }

    .contacts form input {
        width: 262px;
    }

    .contacts .button-container button.first-btn {
        height: 70px;
    }

    .footer-phone {
        font-size: 28px;
    }

.footer-logo {
    padding-left: 50px;
    width: 35%;
}
.footer-container {
    padding-right: 50px;
}

.features-block .photo_skats.second .img_skats {
    margin: 50px 0px;
}

.billboard-container .billboard-navigation {
    display: none;
}

    button {
        font-size: 16px;
    }

    .site-header {
        max-width: 670px;
        padding-left: 50px;
    }
    .container {
        padding: 0 50px;
        max-width: 570px;
    }
    .Geo {
        margin-left: auto;
        display: none;
    }
    .phone p {
        font-size: 16px;
    }

    .billboard-container .titles {
        margin-top: 80px;
    }

    .site-header-container .btn {
        margin-left: 40px;
        font-size: 16px;
        padding: 15px 20px;
        margin-right: 30px;
    }
    .site-header .phone .phone_spravka {
        display: none;
    }
    .site-header .phone {
        margin-left: auto;
    }
    .main-menu ul {
        gap: 30px;
    }
    .site-header-container {
        margin-left: 40px;
    }
    .logo {
        display: none;
    }
    .billboard-container-bottom .container {
        gap: 50px;
        margin-top: 50px;
    }
    .switcher-all-sides {
        flex-direction: column;
    }

    .switcher-left-side {
        width: 100%;
    }
    .switcher-right-side {
        width: 100%;
    }
    .button-container button.first-btn {
        padding-left: 25px;
        height: 80px;
    }
    .features-left-side {
        width: 100%;
    }
    .features-right-side {
        margin-left: 0px;
        width: 100%;
        margin-top: 40px;
    }
    .features-container-block {
        flex-direction: column;
    }
    
    .form-container-second-type .button-container button.first-btn {
        height: 70px;
    }

    .second-form .checkbox p {
        width: 100%;
    }
    
    .button-container button.second-btn {
        padding-left: 25px;
        height: 80px;
    }
    .button-container {
        gap: 20px;
    }
    .site-header-container {
        padding-left: 30px;
    }
    .form-numbers {
        font-size: 28px;
    }
    .features-tabs div img {
        width: 40px;
        height: 40px;
    }
    .features-tabs div {
        padding: 20px;
    }
    .features-tabs {
        gap: 10px;
    }
    .features-left-side .group p {
        margin-top: 5px;
        font-size: 16px;
    }
    .group {
        height: 310px;
    }
    .group .first-btn .icon-bg {
        display: none;
    }
    .group .button-container button.first-btn {
        width: 222px;
        height: 63px;
        border-radius: 12px;
        justify-content: center;
        padding: 0px;
    }
    .polygon-container {
        margin-top: 20px;
    }
    .features-tabs div p {
        font-size: 16px;
    }
    .calculator .photo_skats {
        margin-right: 0px;
        margin-top: 70px;
        margin-bottom: 50px;
        display: flex;
        justify-content: center;
    }
    .group {
        height: 300px;
    }
    .polygon-inner h4 {
        font-size: 20px;
    }
    .client-content p {
        font-size: 22px;
    }
    .container-inner-clients {
        gap: 30px;
        flex-direction: column;
    }
    .client-content {
        padding: 25px 25px 20px 25px;
    }
    .polygon-inner {
        padding: 15px;
    }
    .calculator .calculator-form-container {
        height: auto;
    }
    .billboard-container {
        height: 550px;
        padding-top: 100px;
    }
    .background-first-form {
        height: 550px;
    }
    .switcher-colors {
        height: auto;
    }
    .background-second-form {
        height: 400px;
    }
    .features-block {
        height: auto;
        padding-top: 50px;
    }
    .background-first1-form {
        height: 400px;
    }
    .uslugi {
        height: 550px;
    }
    .contacts {
        padding-top: 70px;
        height: 550px;
    }

    .calculator .img_skats {
        width: 80%;
    }
    .calculator .features-right-side {
        width: 100%;
        margin-left: 0px;
    }
    .calculator .features-container-block {
        flex-direction: column;
    }

    .calculator .features-left-side {
        width: 100%;
        max-width: 1070px;
    }
    .clients {
        height: auto;
        background: #0E1116;
    }
    .clients-block {
        min-height: 451px;
        width: 100%;
    }
    .block-under-clients .button-container button.first-btn {
        height: 87px;
        width: 181px;
        border-radius: 24px;
        justify-content: flex-end;
    }
    .clients-block .button-container button.first-btn img {
        height: 24px;
        width: 28px;
    }
    .block-under-clients .first-btn .icon-bg {
        background: transparent;
        margin-left: 0px;
    }
    .client-content p {
        margin-bottom: 140px;
        font-size: 26px;
    }
    .billboard-navigation ul li a {
        font-size: 16px;
    }
    .billboard-bottom-block {
        align-items: flex-end;
    }
    .billboard-bottom-bars {
        height: 200px;
        margin-left: 20px;
    }
    .billboard-bottom-numbers {
        font-size: 30px;
    }
    .billboard-bottom-text {
        font-size: 18px;
    }
    .billboard-bottom-icon {
        height: 40px;
        width: 60px;
    }
    .black-container {
        height: 30px;
    }
    .black-container.second {
        height: 100px !important;
    }
}

@media (max-width: 670px) {
        h1 {
        font-size: 36px;
    }
    h2 {
        font-family: 'Gilroy', sans-serif;
        font-weight: 800;
        font-size: 28px;
        margin: 0;
    }
    h3 {
        font-size: 24px;
    }
    h4 {
        font-size: 22px;
    }
    p {
        font-size: 15px;
    }

    .calculator form {
        padding: 15px;
    }
  .sgd-main-frame .firsteclipse{
    width: 100%;
    height: 100%;
  }

.form-group input {
    width: 90%;
}

    .main-menu {
        display: none;
    }

    .slide {
        padding: 20px;
        flex: 0 0 33%;
    }

    .slider-next{
        right: 75%;
    }

    .clients .form-text {
        margin-bottom: 20px;
        margin-top: 10px;
        font-size: 14px;
    }

    .clients .button-container {
        margin-top: 30px;
    }

    .slider-prev {
        left: 0px;
    }

    .slide p {
        font-size: 20px;
    }

    .photo_skats .header-svg {
        margin-right: 6px;
        height: 8px;
        width: 8px;
    }

    .header-svg {
        height: 10px;
        width: 10px;
        margin-right: 6px;
    }

    .photo_skats p {
        font-size: 10px;
        position: relative;
    }

    .custom-slider-container{
        height: auto;
    }
    .slider-container {
        gap: 20px;
    }

    .switcher-right-side {
        gap: 10px;
    }

    .first-btn .icon-bg {
        margin-left: auto;
    }

    .form-container-second-type form input {
        width: auto;
        font-size: 18px;
    }
    .form-container-second-type form input::placeholder {
        font-size: 18px;
    }

    .contacts form input {
        width: auto;
        font-size: 18px;
    }

    .contacts form input::placeholder {
        font-size: 18px;
    }

    .contacts .button-container button.first-btn {
        height: 60px;
    }

    .footer-phone {
        font-size: 20px;
    }

.footer-logo {
    padding-left: 20px;
    width: 35%;
}
.footer-logo img {
    width: 80%;
}

.footer-text {
    margin-right: 20px;
    display: none;
}

.footer-container {
    padding-right: 20px;
}

.features-block .photo_skats.second .img_skats {
    margin: 50px 0px;
}

.billboard-navigation {
    display: none;
}

    button {
        font-size: 16px;
    }

    .site-header {
        max-width: 670px;
        padding-left: 20px;
        height: 70px;
    }
    .container {
        padding: 0 20px;
        max-width: 400px;
    }
    .switcher-right-side div {
        font-size: 20px;
        padding: 30px 0px;
    }
    .slider-btn {
        width: 45%;
        padding: 12px 18px;
        font-size: 15px;
    }
    .color-slider-container{
        width: 105%;
    }
    .polygon-container{
        border-radius: 11px;
        background-size: 100% 100% !important;
    }
    .group .button-container{
        width: 37%;
    }
    .form-container-second-type form {
        grid-template-columns: auto;
        width: 100%;
    }
    .Geo {
        margin-left: auto;
        display: none;
    }
    .phone p {
        font-size: 16px;
    }

    .billboard-container .titles {
        margin-top: 80px;
    }

    .site-header-container .btn {
        display: none;
    }
    .site-header .phone .phone_spravka {
        display: none;
    }
    .site-header .phone {
        margin-left: auto;
        margin-right: 20px;
    }
    .main-menu ul {
        gap: 30px;
    }
    .site-header-container {
        margin-left: 40px;
    }
    .logo {
        display: none;
    }
    .background-first-form {
        padding-top: 60px;
        background: linear-gradient(to bottom, rgba(14, 17, 22, 1) 0%, rgba(14, 17, 22, 0.7) 15%, rgba(14, 17, 22, 0.5) 30%, rgba(14, 17, 22, 0.5) 70%, rgba(14, 17, 22, 0.7) 85%, rgba(14, 17, 22, 1) 100%), url(/wp-content/themes/smartgroup/assets/SmartGroup/img/image14.png) no-repeat center center;
    }
    .billboard-container-bottom .container {
        gap: 36px;
        margin-top: 50px;
    }
    .switcher-all-sides {
        flex-direction: column;
    }

    .switcher-left-side {
        width: 100%;
    }
    .switcher-right-side {
        width: 100%;
    }
    .button-container button.first-btn {
        padding-left: 25px;
        height: 60px;
    }
    .features-left-side {
        width: 100%;
    }
    .features-right-side {
        margin-left: 0px;
        width: 100%;
        margin-top: 40px;
    }
    .features-container-block {
        flex-direction: column;
    }
    
    .form-container-second-type .button-container button.first-btn {
        height: 60px;
    }

    .second-form .checkbox p {
        width: 100%;
    }

    .button-container button.first-btn img {
        height: 30px;
        width: 30px;
    }

    .button-container button.second-btn img {
        height: 30px;
        width: 30px;
    }
    
    .button-container button.second-btn {
        padding-left: 25px;
        height: 60px;
    }
    .button-container {
        gap: 20px;
        flex-direction: column;
    }
    .site-header-container {
        padding-left: 30px;
    }
    .form-text {
        margin-top: 10px;
        font-size: 20px;
    }
    .form-numbers {
        font-size: 24px;
    }
    .features-tabs div img {
        width: 30px;
        height: 30px;
    }
    .features-tabs div {
        padding: 14px;
        width: 25%;
    }
    .features-tabs {
        gap: 8px;
    }
    .custom-slider-slide {
        padding: 14px;
        justify-content: center;
        display: grid;
        align-content: center;
    }

    .features-left-side .group p {
        margin-top: 5px;
        font-size: 10px;
    }
    .second-btn .icon-bg {
        margin-left: auto;
        padding: 15px 20px;
    }
    .group {
        height: 221px;
    }
    .group .first-btn .icon-bg {
        display: none;
    }
    .group .button-container button.first-btn {
        width: 100%;
        height: 45px;
        border-radius: 8px;
        justify-content: center;
        padding: 0px;
        font-size: 16px;
    }
    .polygon-container {
        margin-top: 10px;
    }
    .features-tabs div p {
        font-size: 10px;
    }
    .form-container-first-type h1 {
        word-wrap: break-word;
    }

    .contacts form {
        grid-template-columns: auto;
        gap: 25px;
        width: 100%;
        margin-top: 30px;
    }
    .calculator .photo_skats {
        margin-right: 0px;
        margin-top: 70px;
        margin-bottom: 50px;
        display: flex;
        justify-content: center;
    }
    .polygon-inner h4 {
        font-size: 20px;
    }
    .client-content p {
        font-size: 22px;
    }
    .container-inner-clients {
        gap: 30px;
        flex-direction: column;
    }
    .client-content {
        padding: 155px 25px 20px 25px;
    }
    .block-under-clients .button-container{
        width: 30%;
    }
    .polygon-inner {
        padding: 15px;
    }
    .calculator .calculator-form-container {
        height: auto;
        margin-top: 20px;
    }
    .billboard-right-container {
        margin-left: 10px;
    }
    .billboard-container {
        height: 550px;
        padding-top: 100px;
    }
    .background-first-form {
        height: auto;
    }
    .switcher-colors {
        height: auto;
        padding-top: 60px;
    }
    .background-second-form {
        height: auto;
    }
    .features-block {
        height: auto;
        padding-top: 50px;
    }
    .background-first1-form {
        height: auto;
        padding-top: 60px;
    }
    .uslugi {
        height: auto;
        padding-top: 60px;
        margin-bottom: 40px;
    }

    .form-h3 {
        font-size: 24px;
    }
    .contacts {
        padding-top: 70px;
        height: auto;
        margin-bottom: 70px;
    }

    .slider-arrow {
        top: 105%;
    }

    .calculator .features-tabs div {
        width: 45%;
        padding: 14px;
        font-size: 14px;
        border-radius: 8px;
    }

    .calculator .img_skats {
        width: 80%;
    }
    .calculator .features-right-side {
        width: 100%;
        margin-left: 0px;
    }
    .calculator .features-container-block {
        flex-direction: column;
    }

    .calculator .features-left-side {
        width: 100%;
        max-width: 1070px;
    }
    .clients {
        height: auto;
        background: #0E1116;
    }
    .clients-block {
        background-size: 100% 100% !important;
        min-height: 100%;
        width: 100%;
    }
    .block-under-clients .button-container button.first-btn {
        height: 45px;
        width: 100%;
        border-radius: 16px;
        justify-content: flex-end;
    }
    .clients-block .button-container button.first-btn img {
        height: 24px;
        width: 28px;
    }
    .block-under-clients .first-btn .icon-bg {
        background: transparent;
        margin-left: 0px;
    }
    .client-content p {
        margin-bottom: 30px;
        font-size: 20px;
    }
    .billboard-navigation ul li a {
        font-size: 16px;
    }
    .billboard-bottom-block {
        align-items: flex-end;
    }
    .billboard-bottom-bars {
        height: 200px;
        margin-left: 14px;
    }
    .billboard-bottom-numbers {
        font-size: 24px;
    }
    .billboard-bottom-text {
        font-size: 18px;
    }
    .billboard-bottom-icon {
        height: 27px;
        width: 40px;
    }
    .black-container {
        height: 30px;
    }
    .black-container.second {
        height: 50px !important;
    }
}


    .company-second-block {
        padding: 60px 0px;
    }
    .mission-block h1 {
        display: flex;
        font-size: 50px;
    }
    .mission-block {
        margin-bottom: 80px;
    }
    .mission {
        margin-top: 42px;
        padding: 70px 200px 70px 50px;
        border-radius: 20px;
        border: 2px solid #FFFFFF;
        display: flex;
        align-items: center;
    }
    .mission p {
        font-size: 25px;
        margin-left: 41px;
    }
 .stage{
    width:100%;
    max-width:var(--container-max);
    position:relative;
  }

  .sgd-root.second .sgd-row {
    margin-top: 100px;
  }

  .sgd-root.second .sgd-right {
    margin-left: 0px;
  }

  .pagination{
    width: 100%;
    padding:0 120px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:8px 0 18px 0;
    position:relative;
    z-index:3;
    user-select:none;
  }

  .page-num{
    background: transparent;
    font-size:25px;
    padding:8px 10px;
    cursor:pointer;
    letter-spacing:0.06em;
    border: none;
  }

  .page-num:hover{ color:var(--accent); }

  /* Active tab (the raised '2') */
  .page-num.active{
    position:relative;
    padding:28px 40px 18px;
    margin-top:-18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius:18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
    font-size:75px;
    color:var(--accent);
    border:1px solid rgba(255,255,255,0.04);
    transform:translateY(-6px);
    z-index:4;
  }

  /* Left arrow / right arrow small icons */
  .arrow{
    position:absolute;
    top:4px;
    width:22px;
    height:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:4px;
    cursor:pointer;
    color:var(--muted);
    font-size:22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.02));
    padding:6px;
  }
  .arrow:hover{ color:var(--accent); }

  .arrow.left{ left:0; top: 50%; transform:translateY(-50%); }
  .arrow.right{ right:0; top: 50%; transform:translateY(-50%); }

  /* Main card */
  .card{
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
    border-radius:20px;
    padding:90px;
    border:1px solid rgba(255,255,255,0.03);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    position:relative;
    overflow:hidden;
    display:flex;
    gap:var(--gap);
    align-items:flex-start;
    min-height:320px;
  }

  /* thin inner border line like in screenshot */
  .card::before{
    content:"";
    position:absolute;
    inset:8px;
    border-radius:14px;
    pointer-events:none;
    border:1px solid rgba(255,255,255,0.02);
  }

  /* Left image area */
  .media{
    flex:0 0 46%;
    min-width:280px;
    max-width:520px;
  }
  .media .img{
    width:100%;
    border-radius:12px;
    overflow:hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
    border:1px solid rgba(255,255,255,0.02);
  }
  .media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    aspect-ratio: 16/10;
  }

  /* Right content */
  .content{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-left: 60px;
  }
  .title{
    font-family: 'Conthrax', sans-serif;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.05em;
    font-size:30px;
    color:var(--accent);
  }
  .descr{
    color:var(--muted);
    line-height:1.45;
    max-width:620px;
  }

  /* big faint watermark number */
  .watermark{
    position:absolute;
    right:28px;
    bottom:18px;
    font-size:220px;
    font-weight:900;
    color:rgba(255,255,255,0.03);
    pointer-events:none;
    user-select:none;
    transform:translateY(4px);
  }

  /* responsive */
  @media (max-width:900px){
    .card{ flex-direction:column; align-items:stretch; padding:24px; min-height: auto; }
    .media{ width:100%; flex-basis:auto; order:0; }
    .content{ order:1; }
    .watermark{ display:none; }
    .page-num.active{ font-size:34px; padding:20px 30px 12px; }
  }

  @media (max-width:520px){
    .page-num{ display:none; } /* hide numbers on narrow */
    .arrow{ transform:translateX(0); }
  }

  /* small aesthetic for numbers row wrapper */
  .top-row{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  /* animate fade */
  .fade-enter{ opacity:0; transform:translateY(6px); }
  .fade-enter.fade-enter-active{ opacity:1; transform:none; transition: all 360ms cubic-bezier(.2,.9,.3,1); }
  .fade-exit{ opacity:1; }
  .fade-exit.fade-exit-active{ opacity:0; transition: all 260ms cubic-bezier(.2,.9,.3,1); transform:translateY(6px); }














/* ===== полностью namespaced, НЕ влияет на глобальные классы ===== */
.sgd-root { --sgd-accent:#ef2b2b; --sgd-text:#e6eaee; --sgd-muted:#9fa6ab; margin:48px 0; }
.sgd-root .sgd-row { display:flex; gap:28px; align-items:flex-start; justify-content:space-between; margin-top: 150px; }
.sgd-root .sgd-left { flex: 0 0 48%; min-width:300px; }
.sgd-root .sgd-right { flex: 0 0 48%; min-width:320px; margin-left: 100px; border: 2px solid rgba(255, 255, 255, 0.25); border-radius: 20px;}

.sgd-root.second .sgd-left {
    order: 2;
}

/* main image frame */
.sgd-main-frame {
  width:100%;
  border-radius:12px;
  padding:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:300px;
  overflow:hidden;
}
.sgd-main-frame img { width:100%; height:100%; object-fit:contain; display:block; border-radius:6px; }

/* right card */
.sgd-card{
  position:relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  border-radius:12px;
  padding: 29px 61px 29px 61px;
  border:1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

/* small top tab (decorative) */
.sgd-card::after{
  content:"";
  position:absolute;
  right:14px;
  top:-8px;
  width:140px;
  height:56px;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  border-radius:0 0 12px 12px;
  border:1px solid rgba(255,255,255,0.02);
  z-index:1;
  pointer-events:none;
}

/* header */
.sgd-header{ display:flex; align-items:flex-start; gap:10px; margin-bottom:35px; z-index:2; position:relative; }
.sgd-header h3 {display: flex}
.sgd-marker{ width:8px; height:8px; background:var(--sgd-accent); border-radius:2px; margin-top:6px; }
.sgd-title{ margin:0; font-size:35px; text-transform:uppercase; }

/* thumbs: 3 per page */
.sgd-thumbs{ display:flex; gap:12px; z-index:2; margin-top:8px; }
.sgd-thumb{
  flex: 1 1 calc((100% - 24px)/3);
  min-height:118px;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  border-radius:8px;
  padding:8px;
  border:1px solid rgba(255,255,255,0.02);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,0.45);
  overflow:hidden;
  transition:transform .18s cubic-bezier(.2,.9,.3,1), box-shadow .18s;
}
.sgd-thumb img{ max-width:100%; max-height:100%; object-fit:contain; display:block; }
.sgd-thumb:hover{ transform:translateY(-6px); box-shadow:0 18px 36px rgba(0,0,0,0.6); }

#sgd-current {
    font-size: 35px;
}

/* controls bottom */
.sgd-controls{ display:flex; align-items:center; gap:12px; justify-content:space-between; margin-top:14px; z-index:2; }
.sgd-controls-left{ display:flex; align-items:center; gap:10px; }
.sgd-mini-arrow{ width:36px; height:36px; display:inline-grid; place-items:center; border-radius:6px; border:1px solid rgba(255,255,255,0.03); background:transparent; color:var(--sgd-muted); cursor:pointer; }
.sgd-counter{ color:white; font-size:25px; min-width:78px; text-align:left; }

/* progress area + scale dots */
.sgd-progress-wrap{ flex:1; display:flex; flex-direction:column; gap:8px; align-items:center; justify-content:center; padding:0 8px; }
.sgd-progress{ width:100%; height:6px; background:rgba(255,255,255,0.03); border-radius:6px; overflow:hidden; }
.sgd-progress-bar{ width:0%; height:100%; background:linear-gradient(90deg,var(--sgd-accent), #ff6b6b); border-radius:6px; transition:width .32s cubic-bezier(.2,.9,.3,1); }

/* scale dots */
.sgd-scale{ display: none;}
.sgd-scale .sgd-dot{
  width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.02); cursor:pointer;
}
.sgd-scale .sgd-dot.sgd-dot-active{ background:var(--sgd-accent); box-shadow:0 0 6px rgba(239,43,43,0.18); }

/* arrows right */
.sgd-controls-right{ display:flex; gap:10px; align-items:center; }
.sgd-arrow{ width:40px; height:40px; display:inline-grid; place-items:center; border-radius:8px; border:1px solid rgba(255,255,255,0.03); background:transparent; color:var(--sgd-muted); cursor:pointer; }

#sgd-next {
    transform: rotate(180deg);
}

/* responsive */
@media (max-width:940px){
  .sgd-root .sgd-row{ flex-direction:column; }
  .sgd-root .sgd-left, .sgd-root .sgd-right { flex-basis:100%; width:100%; }
  .sgd-main-frame{ min-height:260px; padding:20px; }
  .sgd-thumb{ min-height:90px; }
}
@media (max-width:520px){
  .sgd-root{
    margin-top: 80px !important;
  }
  .sgd-thumb{ min-height:70px; }
  .sgd-scale{ display:none; }
  .mission{
      display: grid;
      padding: 20px;
      justify-items: center;
    }
  .mission p{
    margin-left: 0px;
    font-size: 16px;
  }
  .mission-block h1{
    font-size: 35px;
  }
  .card .content{
    margin-left: 0px;
  }
  .card .title{
    font-size: 20px;
  }
  .documents-blocks{
    display:grid !important;
  }
  .sgd-root .sgd-left, .sgd-root .sgd-right{
    margin-left: 0px;
  }
  .sgd-main-frame{
    padding: 0;
  }
  .sgd-card{
    padding: 19px 31px 19px 31px;
  }
  .documents-blocks img{
    width: 100%;
  }
}

    .sgd-root {
        margin-top: 280px;
    }
    .sgd-root h1 {
        margin-bottom: 105px;
    }
    .sgd-main-frame img {
        width: 355px;
    }
    .firsteclipse {
        position: absolute;
        width: 755px;
        height: 755px;
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 50%;
        padding: 91px;
        box-sizing: border-box;
    }
    .secondeclipse {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.2);
        padding: 63px;
        box-sizing: border-box;
    }
    .thirdeclipse {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.2);
        background: linear-gradient(#B31312, #431E21);
        position: relative;
        z-index: -10;
        box-shadow: 0px 0px 200px 20px #450A0A;
    }

  .documents {
    margin-top: 150px;
  }
  .documents {
    padding: 100px 0px;
    background: #13171E;
  }
  .documents .container h3 {
    display: flex;
  }
  .documents-blocks {
    margin-top: 45px;
    display: flex;
    justify-content: space-between;
  }

        .billboard-container-contact {
            padding-top: 200px;
            height: 900px;
            background: url('https://smartgroupkst.kz/wp-content/themes/smartgroup/assets/img/contact-sect1.png') center center / cover no-repeat;
            background-size: cover;
        }
        .titles-contact{
            padding-top: 89px;
        }

        @media (max-width: 1280px) {
            .billboard-container-contact{
                height: 550px;
            }
        }
        @media (max-width: 768px) {
            .billboard-container-contact{
                height: 300px;
            }
            .titles-contact{
                padding-top: 29px;
            }
        }



    .main-map-container {
        display: none;
        position: relative;
        width: 100%;
        height: 588px;
        padding: 77px 0px;
    }
    
    .main-map-container::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        pointer-events: none;
    }
    
    #main-map {
        width: 100%;
        height: 100%;
    }

    @media (max-width: 1280px) {
        .main-map-container{
            height: 388px;
        }
    }
    @media (max-width: 768px) {
        .main-map-container{
            height: 288px;
        }
    }





 .container-contact-3{
            padding: 0px 191px;
        }
        .name-cart{
            font-size: 50px;
        }





        
        .dual-slider{
            padding-top: 140px;
        }
        /* Стили контролов */
        .navigation-controls {
            display: flex;
            margin-bottom: 30px;    
            justify-content: space-between;
        }

        .nav-button {
            flex: 0 0 49%;
            height: 233px;
            background: #1A1D22;
            color: white;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 20px;
        }

        .nav-button.current {
            background: #B31312;
        }

        .button-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 15px;
            font-size: 35px;
            text-transform: uppercase;
        }

        .button-icon {
            object-fit: cover;
            width: 40%;
            height: 100px;
        }

        /* Стили контента */
        .content-wrapper {
            position: relative;
            height: 600px;
        }

        .content-panel {
            display: none;
            gap: 46px;
            align-items: center;
            height: 100%;
        }

        .content-panel.visible {
            display: flex;
        }

        .media-column {
            width: 35%;
            background: #1A1D22;
            border-radius: 25px;
            height: 82%;
            padding: 52px 30px;
        }

        .media-column img {
            width: 100%;
            height: auto;
            margin-bottom: 20px;
        }

        .main-visual {
            width: 65%;
            background: #1A1D22;
            border-radius: 25px;
            height: 100%;
        }

        .map-container {
            width: 100%;
            height: 100%;
        }
        .map-container .ymaps-2-1-79-map{
            border-radius: 25px;
        }
        .map-container .ymaps-2-1-79-inner-panes{
            border-radius: 25px;
        }
        @media (max-width: 1280px) {
    .container-contact-3 {
        padding: 0px 100px;
    }
    
    .name-cart {
        font-size: 42px;
    }
    
    .dual-slider {
        padding-top: 100px;
    }
    
    .nav-button {
        height: 200px;
    }
    
    .button-wrapper {
        font-size: 30px;
        gap: 12px;
    }
    
    .content-wrapper {
        height: 500px;
    }
    
    .media-column {
        padding: 40px 25px;
    }
    
    .novo-zag-slider {
        font-size: 30px !important;
        padding-bottom: 20px !important;
    }
    
    .contact-block {
        padding: 40px 200px;
    }
    
    .phone-number {
        font-size: 60px;
        margin-bottom: 40px;
    }
    
    .social-icon {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 768px) {
    .container-contact-3 {
        padding: 0px 40px;
    }
    
    .name-cart {
        font-size: 36px;
        text-align: center;
    }
    
    .dual-slider {
        padding-top: 60px;
    }
    
    .navigation-controls {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .nav-button {
        flex: 0 0 auto;
        height: 120px;
        border-radius: 20px;
    }
    
    .button-wrapper {
        font-size: 24px;
        gap: 10px;
        flex-direction: row;
    }
    
    .button-icon {
        width: 50px;
        height: 50px;
    }
    
    .content-wrapper {
        height: auto;
    }
    
    .content-panel {
        flex-direction: column;
        gap: 20px;
    }
    
    .media-column,
    .main-visual {
        width: 100%;
        height: 300px;
    }
    
    .media-column {
        padding: 30px 20px !important;
        height: auto !important;
    }
    
    .novo-zag-slider {
        font-size: 26px !important;
        padding-bottom: 15px !important;
    }
    
    .contact-block {
        padding: 30px 40px;
        margin-top: 40px;
    }
    
    .phone-number {
        font-size: 40px;
        margin-bottom: 30px;
    }
    
    .social-icons {
        gap: 30px;
    }
    
    .social-icon {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .container-contact-3 {
        padding: 0px 20px;
    }
    
    .name-cart {
        font-size: 28px;
    }
    
    .dual-slider {
        padding-top: 40px;
    }
    
    .navigation-controls {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .nav-button {
        height: 100px;
        border-radius: 15px;
        padding: 15px;
    }
    
    .button-wrapper {
        font-size: 18px;
        gap: 8px;
        flex-direction: column;
    }
    
    .button-icon {
        width: 100px;
        height: 40px;
    }
    
    .content-panel {
        gap: 15px;
    }
    
    .media-column,
    .main-visual {
        height: 250px;
    }
    
    .media-column {
        padding: 20px 15px;
    }
    
    .novo-zag-slider {
        font-size: 22px !important;
        padding-bottom: 10px !important;
    }
    
    .contact-block {
        padding: 25px 20px;
        margin-top: 30px;
        border-radius: 20px;
    }
    
    .phone-number {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .social-icons {
        gap: 20px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
}



                    .contact-block {
                        margin-top: 50px;
                        width: 100%;
                        border-radius: 25px;
                        border: 2px solid white;
                        padding: 50px 320px;
                        background-color: #1A1D22;
                        text-align: center;
                        box-sizing: border-box;
                    }

                    .phone-number {
                        font-family: 'Conthrax', sans-serif;
                        font-weight: 600;
                        font-size: 75px;
                        color: white;
                        margin-bottom: 50px;
                    }

                    .social-icons {
                        display: flex;
                        justify-content: center;
                        gap: 53px;
                    }

                    .social-icon {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 77px;
                        height: 77px;
                        border-radius: 50%;
                        background-color: #858688;
                        text-decoration: none;
                    }
                    .social-icon img{
                        width: 60%;
                    }
                    @media (max-width: 1280px) {
                        .contact-block {
                            padding: 40px 200px;
                        }
                        .phone-number {
                            font-size: 60px;
                            margin-bottom: 40px;
                        }
                        .social-icon {
                            width: 65px;
                            height: 65px;
                        }
                    }

                    @media (max-width: 768px) {
                        .contact-block {
                            padding: 30px 40px;
                            margin-top: 40px;
                        }
                        .phone-number {
                            font-size: 40px;
                            margin-bottom: 30px;
                        }
                        .social-icon {
                            width: 55px;
                            height: 55px;
                        }
                    }

                    @media (max-width: 480px) {
                        .contact-block {
                            padding: 25px 20px;
                            margin-top: 30px;
                            border-radius: 20px;
                        }
                            .phone-number {
                            font-size: 32px;
                            margin-bottom: 25px;
                        }
                            .social-icons {
                            gap: 20px;
                        }
                            .social-icon {
                            width: 45px;
                            height: 45px;
                        }
                    }



.requisites {
        max-width: 1920px;
        padding: 150px 191px;
        margin: 0 auto;
        }

        .requisites__title {
        font-family: 'Conthrax', sans-serif;
        font-size: 50px;
        font-weight: 600;
        margin-bottom: 56px;
        text-transform: uppercase;
        }

        .requisites__content {
        display: flex;
        flex-direction: column;
        gap: 32px;
        }

        .requisites__item {
            background-color: #1A1D22;
            padding: 57px 60px;
        display: flex;
        gap: 8px;
        border: 2px outset rgb(49, 49, 49);
        border-radius: 25px;
        }

        .requisites__item2 {
            padding: 57px 60px;
        display: flex;
        gap: 8px;
        border-radius: 25px;
        }

        .requisites__value {
        font-size: 22px;
        color: #a0a0a0;
        width: 50%;
        }

        /* Адаптация для 1280px */
        @media (max-width: 1280px) {
            .requisites {
                padding: 120px 100px;
            }
            
            .requisites__title {
                font-size: 42px;
                margin-bottom: 48px;
            }
            
            .requisites__item,
            .requisites__item2 {
                padding: 45px 50px;
            }
            
            .requisites__value {
                font-size: 22px;
            }
        }

        /* Адаптация для 768px */
        @media (max-width: 768px) {
            .requisites {
                padding: 80px 40px;
            }
            
            .requisites__title {
                font-size: 36px;
                margin-bottom: 40px;
            }
            
            .requisites__content {
                gap: 24px;
            }
            
            .requisites__item,
            .requisites__item2 {
                padding: 35px 30px;
                flex-direction: column;
                gap: 16px;
            }
            
            .requisites__value {
                font-size: 18px;
                width: 100%;
            }
        }

        /* Адаптация для 480px */
        @media (max-width: 480px) {
            .requisites {
                padding: 60px 20px;
            }
            
            .requisites__title {
                font-size: 28px;
                margin-bottom: 32px;
            }
            
            .requisites__content {
                text-align: center;
                gap: 20px;
            }
            
            .requisites__item,
            .requisites__item2 {
                padding: 25px 20px;
                border-radius: 20px;
            }
            
            .requisites__value {
                font-size: 16px;
            }
        }
    

.gallery-section {
            max-width: 1920px;
            margin: 0 auto;
            padding: 0 191px;
        }

        .gallery-title {
            font-family: 'Conthrax', sans-serif;
            font-size: 80px;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 50px;
            color: #ffffff;
            text-align: center;
        }

        .carousel-container {
            position: relative;
            overflow: hidden;
            width: 100%;
        }

        .carousel-track {
            gap: 15px;
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .carousel-slide {
            flex: 0 0 33.333%;
        }

        .image-container {
            width: 100%;
            aspect-ratio: 1 / 1;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .carousel-nav {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }

        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #ccc;
            margin: 0 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .carousel-dot.active {
            background-color: #333;
        }

        .carousel-arrows {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .carousel-arrow {
            background-color: rgba(252, 160, 160, 0.7);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: all;
            transition: background-color 0.3s;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .carousel-arrow:hover {
            background-color: rgba(255, 255, 255, 0.9);
        }

        @media (max-width: 1200px) {
            .gallery-section {
                padding: 0 100px;
            }
        }

        @media (max-width: 768px) {
            .gallery-section {
                padding: 0 50px;
            }
            
            .gallery-title {
                font-size: 50px;
            }
            
            .carousel-slide {
                flex: 0 0 100%;
            }
        }

        @media (max-width: 480px) {
            .gallery-title {
                font-size: 25px;
            }
        }














.page-item-500 a,
.page-item-503 a {
    font-size: 0;
    text-align: center;
    display: block;
}

.page-item-500 a::after {
    content: "Контакты";
    font-size: 16px;
}

.page-item-503 a::after {
    content: "О компании";
    font-size: 16px;
}
/* Основные стили для меню на десктопе */
.menu {
    color: white !important;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.menu li {
    position: relative;
}

.menu a {
    color: white !important;
    text-decoration: none !important;
    display: block;
    padding: 10px 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Скрываем все элементы меню по умолчанию */
.menu .page_item {
    display: none;
}

/* Показываем только нужные элементы */
.page-item-503,
.page-item-67,
.page-item-29,
.page-item-106,
.page-item-160,
.page-item-500 {
    display: block !important;
}

/* Выпадающие меню на десктопе */
.menu .children {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.menu .page_item_has_children:hover .children {
    display: block;
}

.menu .children li {
    display: block !important;
}

.menu .children a {
    white-space: nowrap;
    padding: 8px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Бургер-кнопка */
.menu-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.menu-burger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-burger.active span:nth-child(2) {
    opacity: 0;
}

.menu-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Мобильное меню */
@media (max-width: 1070px) {
    /* Скрываем десктопное меню */
    .page-item-500 a,
    .page-item-503 a {
        font-size: 0 !important;
        text-align: left;
        display: block;
    }

    .page-item-500 a::after {
        content: "Контакты";
        font-size: 16px;
    }

    .page-item-503 a::after {
        content: "О компании";
        font-size: 16px;
    }
    .hamburger{
        display: none;
    }
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #1a1a1a;
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 70px 20px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .menu.active {
        right: 0;
    }
    
    /* Вертикальное расположение для мобильных */
    .menu ul {
        flex-direction: column;
        gap: 0;
    }
    
    .menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu a {
        padding: 15px 10px;
        font-size: 16px;
    }
    
    /* Выпадающие меню для мобильных */
    .menu .children {
        position: static;
        background-color: rgba(255, 255, 255, 0.05);
        min-width: auto;
        display: none;
        margin-top: 0;
        box-shadow: none;
    }
    
    .menu .children.active {
        display: block;
    }
    
    .menu .children a {
        padding-left: 25px;
        font-size: 14px;
    }
    
    /* Показываем бургер-кнопку */
    .menu-burger {
        display: flex;
    }
    
    /* Оверлей */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

@media (min-width: 1071px) {
    .menu {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        padding: 0 !important;
    }
    
    .menu-burger {
        display: none !important;
    }
    
    .menu-overlay {
        display: none !important;
    }
}