@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Thin.woff") format("woff2"), 
    url("../fonts/Gilroy-Thin.woff") format("woff");
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Light.woff2") format("woff2"), url("../fonts/fonts/Gilroy-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Regular.woff2") format("woff2"), url("../fonts/Gilroy-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Medium.woff2") format("woff2"), url("../fonts/Gilroy-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Semibold.woff2") format("woff2"), url("../fonts/Gilroy-Semibold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Bold.woff2") format("woff2"), url("../fonts/Gilroy-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Extrabold.woff2") format("woff2"), url("../fonts/Gilroy-Extrabold.woff") format("woff");
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Black.woff2") format("woff2"), url("../fonts/Gilroy-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
}
/* Reset and base styles  */
* {
    padding: 0px;
    margin: 0px;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: inherit;
}

ul,
ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button,
input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

input[type="file"] {
    max-width: 100%;
}
body {
    font-family: "Gilroy";
}
.editor-visual-editor__post-title-wrapper h1{
	color: #000;
    font-size: 40px;
    line-height: 1.4;
    text-transform: math-auto;
    text-shadow: none;
    font-weight: 500;
}
.container {
    max-width: 1440px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}
.info-header {
    margin-top: 6px;
    margin-bottom: 6px;
}
.info-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.info-menu {
    display: flex;
    gap: 30px;
	position: relative;
}

.info-menu li{
	list-style-type:none;
}
.info-menu--mobile li{
	list-style-type:none;	
}
.info-menu a {
    position: relative;
    text-decoration: none;
    color: #000000;
    font-size: clamp(16px, 1vw, 20px);
    font-weight: 400;
    transition: transform 0.3s;
}

.info-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px; /* немного отступа снизу */
    width: 0%;
    height: 2px;
    background-color: #f6d23c;
    transition: width 0.3s ease;
}

.info-menu a:hover {
    transform: scale(1.03); /* чуть увеличивает визуально, не дёргает */
}

.info-menu a:hover::after {
    width: 100%;
}
/* Скрываем вложенное меню */
.info-menu .sub-menu {
    display: none;
    position: absolute;
    top: 29px;
    right: 12px;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    z-index: 100;
}

.info-menu .sub-menu li {
  padding: 0;
}

.info-menu .sub-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  white-space: nowrap;
}

.info-menu .sub-menu li a:hover {
  background: #f6d23c;
  color: #000;
  transform: none;
}

/* Показываем при наведении */
.info-menu .menu-item-has-children:hover > .sub-menu {
  display: block;
}
.callback-header {
    display: flex;
    align-items: center;
    gap: 35px;
}
.callback-header_number {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}
.callback-header_number a {
    font-size: clamp(22px, 1.1vw, 21px);
    color: #000;
    text-decoration: none;
    font-weight: 500;
}
.callback-header_number .work-time {
    display: block;
    font-size: clamp(14px, 1vw, 14px);
    color: #555;
}
.callback-btn {
    background: #000;
    color: #fff;
    padding: 14px 23px;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-size: clamp(14px, 1vw, 18px);
    transition: 0.3s;
}
.callback-btn img {
    width: 15px;
    transition: 0.3s;
}
.callback-btn:hover {
    background: #303030;
}
.callback-btn:hover img {
    rotate: 90deg;
}
/* Бургер */
.burger {
    display: none; /* по умолчанию скрыт (для десктопа) */
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 200; /* выше меню */
}
.burger span {
    height: 2px;
    width: 100%;
    background: #000;
    border-radius: 2px;
    transition: 0.3s;
}

/* крестик */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-h, 107px);
    left: 0;
    width: 100%;
    height: calc(100% - var(--header-h, 107px));
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    gap: 30px;
    padding: 20px;
    z-index: 99;
}
.mobile-menu.active {
    display: flex;
}
.hero-secrion {
    background-color: #3e3e3e;
    position: relative;
}
.hero-secrion__container {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
}
.hero-section__container_image-block {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-top: 80px;
}

/* Вертикальный текст */
.hero-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: white;
    letter-spacing: 8px;
    font-weight: 500;
    margin-right: 35px;
    z-index: 2;
    margin-bottom: 15px;
    font-size: clamp(16px, 1vw, 24px);
}

/* Жёлтый квадрат */
.square {
    width: clamp(150px, 30vw, 400px);
    height: clamp(150px, 30vw, 400px);
    background-color: #f7d33d;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Картинка */
.image {
    width: 100%;
    max-width: 520px;
    height: auto;
    aspect-ratio: 1 / 1.2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    margin-left: -25px;
    z-index: 1;
}
.hero-section__container_content-block {
    padding-top: 80px;
    padding-bottom: 80px;
}
.subheader {
    font-size: clamp(16px, 1vw, 24px);
    text-transform: uppercase;
    color: #f6d23c;
    font-weight: 500;
}
h1 {
    color: #fff;
    font-size: clamp(25px, 5vw, 72px);
    font-weight: 900;
    line-height: 113%;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.small-h1 {
    display: block;
    font-size: clamp(20px, 3vw, 48px);
    line-height: 113%;
    max-width: 700px;
    font-weight: 800;
    text-shadow: none;
}
.hero-advantages {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 35px;
}
.hero-advantages li {
    font-size: clamp(15px, 1vw, 18px);
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}
.hero-advantages li img {
    margin-top: 5px;
}
.btn {
    position: relative;
    overflow: hidden;
    padding: 15px 38px;
    font-size: clamp(16px, 1vw, 20px);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
/* БЛИК */
.btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 20%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.1) 100%);
    transform: skewX(-25deg);
    animation: shine 2s infinite;
}
/* АНИМАЦИЯ */
@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 130%;
    }
}
.orange-btn {
    background-color: #f7d33d;
    color: #3e3e3e;
    font-weight: 600;
}
.orange-btn:hover {
    background-color: #ffffff;
    color: #000000;
}
.number-section {
    background: #f6f6f6;
    padding: 28px 0;
}

/* сетка */
.stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(12px, 2.5vw, 28px);
}

/* карточка */
.stat-item {
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 0.8vw, 8px);
    text-align: left;
}

/* заголовок-число */
.stat-title {
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.02em;
    /* адаптивный размер: от 18 до 36–40px */
    font-size: clamp(25px, 2.8vw, 38px);
    color: #333;
}

/* подпись */
.stat-desc {
    color: #666;
    line-height: 1.25;
    font-size: clamp(16px, 1.2vw, 20px);
    max-width: 24ch;
    max-width: 89%;
}
.header-container {
    max-width: 1250px;
    width: 100%;
}
h2 {
    font-size: clamp(20px, 3vw, 40px);
    text-transform: uppercase;
    color: #000;
    font-weight: 500;
}
.content-section {
    margin-top: 85px;
}
.line-text {
    --mark: #f7d33d; /* цвет подложки */
    --h: 0.42em; /* высота полосы */
    background: linear-gradient(transparent calc(100% - var(--h)), var(--mark) 0);
    box-decoration-break: clone; /* чтобы подсветка дублировалась на каждую строку */
    -webkit-box-decoration-break: clone; /* для WebKit */
    padding: 0 0.04em; /* чтобы «желтое» выходило чуть за текст */
}
.content-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.header-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.trunsform-text p {
    text-transform: uppercase;
    line-height: 150%;
    font-weight: 400;
}
p {
    font-size: clamp(14px, 1vw, 18px);
}
.servise-block {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.servise-block__item {
    background-color: #434343;
    display: flex;
    padding-bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    justify-content: space-between;
}
.servise-block__item p {
    color: #fff;
    font-size: clamp(16px, 1.2vw, 21px);
    padding: 0 20px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 120%;
}
.video-block {
    height: 450px;
}
.video-block {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* видео как фон */
    pointer-events: none; /* клики не проходят по видео */
}
.advantages-block {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.advantages-block__item {
    position: relative;
    overflow: hidden;
    background: #e6e6e6;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    line-height: 145%;
    transition: color 0.3s ease;
    z-index: 0; /* создать контекст для ::before */
}

.advantages-block__item::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -60%; /* уводим ниже блока, чтобы точно не светился */
    width: 300%;
    height: 300%;
    background: #434343;
    border-radius: 50%;
    transform: translateX(-50%) scale(0.1);
    opacity: 0; /* в нуле полностью прозрачный */
    transition: transform 0.6s ease, bottom 0.6s ease, opacity 0.2s ease; /* быстрый фейд-ин */
    pointer-events: none; /* не перехватывает события */
    z-index: -1;
    will-change: transform, bottom, opacity;
}

/* наведение/фокус — полная заливка */
.advantages-block__item:hover::before,
.advantages-block__item:focus-within::before {
    bottom: 0;
    transform: translateX(-50%) scale(2); /* увеличили масштаб */
    opacity: 1;
}

.advantages-block__item:hover,
.advantages-block__item:focus-within {
    color: #fff;
}
.advantages-block__item:hover .advantages-block__item_header {
    color: #f6d23c;
}

.advantages-block__item_header {
    font-size: clamp(18px, 1.2vw, 20px);
    font-weight: 500;
    text-transform: uppercase;
    padding-bottom: 15px;
    border-bottom: 1px solid #c5c5c5;
}
.advantages-block__item_text {
    font-size: clamp(16px, 1vw, 18px);
    font-weight: 400;
}
.form-container {
    background-color: #434343;
    padding: 30px;
    display: grid;
    grid-template-columns: 9fr 3fr;
    gap: 10px;
}
.form-container h2 {
    color: #fff;
    font-weight: 400;
}
.white-btn {
    background-color: #fff;
}
.full-wdth-btn {
    width: 100%;
    height: 60px;
    padding: initial;
}
.button-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px; /* отступы между картинками */
}

.gallery__item {
    width: 100%;
    aspect-ratio: 4 / 4;
    overflow: hidden;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* REVIEWS */
.gray-section {
    background-color: #f5f5f5;
    padding: 85px 0;
}

.reviews .swiper {
    width: 100%;
    overflow: hidden;
}
.reviews .swiper-wrapper {
    display: flex;
}

.reviews .swiper {
    margin-top: 40px;
    padding-bottom: 40px;
}

.reviews .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto !important; /* карточки могут быть разные по высоте */
}

.reviews .card {
    max-width: 340px;
    width: 100%;
    height: auto !important;
    min-height: 260px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reviews .card header {
    display: flex;
    justify-content: space-between;
}
.reviews .card__title {
    font-weight: 700;
    font-size: clamp(14px, 1vw, 19px);
    color: #404040;
}
.reviews .card__source {
    color: #b7b7b7;
    font-size: clamp(14px, 1vw, 15px);
    font-weight: 700;
}
.reviews .card__text {
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.5;
    color: #444;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    margin-top: 20px;
}
.reviews .card__more {
    margin-top: auto;
    border: none;
    background: none;
    color: #8d8d8d;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    padding: 0;
}
/* при раскрытии */
.reviews .card[data-expanded="true"] .card__text {
    -webkit-line-clamp: unset;
}
.swiper-button-next,
.swiper-button-prev {
    color: #000000 !important;
}
.swiper-pagination-bullet-active {
    background: #f7d33d !important;
}

.fabric-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.fabric-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    height: 250px;
}

.fabric-info {
    grid-column: span 2;
    background: #333;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 25px;
}

.fabric-info p {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
    font-size: clamp(18px, 1.4vw, 30px);
    text-transform: uppercase;
}

.three-column-container {
    display: grid;
    grid-template-columns: 5fr 3.5fr 3.5fr;
    gap: 20px;
    align-items: center;
}
.prise-block {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    text-align: center;
    gap: 20px;
}
.prise-block__name {
    font-size: clamp(24px, 1.8vw, 28px);
    font-weight: 600;
    color: #404040;
    text-transform: uppercase;
}
.prise-block__prise {
    font-size: clamp(24px, 1.8vw, 28px);
    font-weight: 500;
    color: #404040;
    text-transform: uppercase;
}
.blog-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* скрыть полосу Firefox */
}
.blog-wrapper::-webkit-scrollbar {
    display: none; /* скрыть полосу Chrome/Safari */
}

/* --- карточка по умолчанию --- */
.blog-item {
    flex: 0 0 calc((100% - 40px) / 3);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.blog-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 15px;
}
.blog-item a{
	color:#000;
}
.blog-content h3 {
    font-size: clamp(20px, 1.5vw, 24px);
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* ограничение строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-content p {
    font-size: clamp(16px, 1vw, 18px);
    color: #555;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* ограничение строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.show-more {
    margin-top: 30px;
    text-align: center;
}
.show-more a {
    font-size: clamp(18px, 1vw, 20px);
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
    transition: 0.4s;
}
.show-more a:hover {
    color: #5c5c5c;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.contacts-block {
    background-color: #434343;
    padding: 20px;
    color: #fff;
}
.contacts-block__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}
.contacts-block__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.contats-min-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 10px;
}
.contats-min-block__header {
    color: #bfbfbf;
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
}
.footer-container h2 {
    color: #fff;
}
.footer-tel {
    font-size: clamp(18px, 1vw, 20px);
    color: #ffffff;
    font-weight: 600;
}
.callback {
    font-size: 16px;
    font-weight: 600;
    color: #646464;
    cursor: pointer;
}
.border-right {
    padding-right: 20px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
.border-bottom {
    border-bottom: 1px solid #fff;
    padding-left: 20px;
}
.border-bottom p {
    font-weight: 500;
}
.border-right-2 {
    padding-right: 20px;
    border-right: 1px solid #fff;
}
.border-none {
    padding-left: 20px;
}
.social-block {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.footer-text {
    font-size: 12px;
    font-weight: 400;
    color: #999999;
}
.bottom-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}
.map-block {
    filter: contrast(0.5) brightness(1.35) grayscale(1);
}
.map-block:hover {
    filter: none;
}
.info-footer{
    margin-top: 85px;
    background-color: #F5F5F5;
    padding:40px 0px;
}
.footer-top-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.menu-footer{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.menu-footer a{
    color: #000;
    font-size: clamp(16px, 1vw, 18px);
}
.black-btn{
    background: #000;
    color: #fff;
}
.footer-cosial{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.footer-cosial__icon{
    display: flex;
    flex-direction: row;
    gap: 8px;
}
.phone-footer{
    font-size: clamp(16px, 1vw, 18px);
    color: #000;
    font-weight: 500;
}
.breadcamps{
    background-color: #434343;
    padding: 20px 0px;
}
.breadcamps a{
    color: #c7c7c7;
}
.breadcamps span{
    color: #c7c7c7;
}
.active-page{
    color: #F6D23D!important;
    font-weight: 500;
}

/* Page Servises */
.after-header-text{
    margin-top: 20px;
    color: #fff;
    text-transform: uppercase;
}
.text-servise-header{
    color: #fff;
    text-transform: uppercase;
    margin-top: 35px;
}
.a-btn{
    display: block;
    width: fit-content;
}
.servise-container h3 {
    font-size: clamp(18px, 3vw, 35px);
    text-transform: uppercase;
    color: rgb(0, 0, 0);
    font-weight: 500;
    max-width: 1200px;
}
.servise-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.servise-container__image {
    height: 380px;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.servise-container__image h2{
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
}
.servise-container p{
    font-size: clamp(16px, 1.2vw, 21px);
    font-weight: 400;
    max-width: 1200px;
    line-height: 1.2;
}
.servise-container:not(:last-child) {
  margin-bottom: 50px;
}
.post-content-section h1{
	color: #404040;
    font-size: clamp(25px, 4.5vw, 64px);
    font-weight: 700;
    line-height: 113%;
    text-transform: none;
    text-shadow: none;
    text-align: center;
    margin-top: 50px;
	margin-bottom:35px;
}
.post-content{
	display: flex;
    flex-direction: column;
    gap: 30px;	
}
.post-content img{
	width:100%;
}
.post-content p {
    font-size: clamp(14px, 1vw, 18px);
	line-height:1.4;
}
.post-content-section h3{
	color: #404040;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
    line-height: 113%;
    text-transform: none;
    text-shadow: none;
    margin-top: 20px;
}
.post-content ul{
	padding-left:25px;
	display: flex;
    flex-direction: column;
    gap: 10px;
	font-size: clamp(14px, 1vw, 18px);
}
.post-content ul li{
	list-style-type:circle;
}
.post-content ol{
	padding-left:25px;
	display: flex;
    flex-direction: column;
    gap: 10px;
	font-size: clamp(14px, 1vw, 18px);
}
.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup.active { display: flex; }

.popup__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1;
}

.popup__content {
  position: relative;
  background: #fff;
  padding: 30px 20px;
  max-width: 500px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,.3);
  z-index: 2;

  /* ограничение по экрану и скролл внутри */
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
}

.popup__close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.popup-form .form-group,
.popup-form .form-check {
  margin-bottom: 15px;
}

.btn-submit {
  background: #f6d23c;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition: background .3s;
}
.btn-submit:hover:not(:disabled) {
  background: #e0ad00;
}
.btn-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.thanks {
  font-size: 18px;
  font-weight: 600;
  color: green;
  text-align: center;
}

.popup__content h2{
	text-align:center;
}
.form-subheader {
    text-align: center;
    margin-bottom: 35px;
    font-weight: 500;
    margin-top: 15px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 5px;
  font-size: clamp(14px, 1.2vw, 16px);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: none;
  border-bottom: 1px solid #333; /* нижний бордер */
  padding: 10px 5px;
  font-size: clamp(14px, 1.2vw, 16px);
  background: transparent;
  outline: none;
}
textarea {
    min-height: 50px;
    resize: vertical;
}

/* Чекбокс */
.form-check {
  display: flex;
  gap: 10px;
  font-size: clamp(12px, 1vw, 14px);
  align-items: flex-start;
}
.form-check input {
  margin-top: 4px;
}

/* Кнопка */
.btn-submit {
  background: #f7d33d;
  border: none;
  padding: 14px 30px;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.3s;
  align-self: flex-start;
}
.btn-submit:hover {
  background: #e6c42e;
}
.header-section-blog {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
form a{
	color:#000;
	padding-bottom:1px;
	border-bottom:1px solid #000;
}
@media (max-width: 1120px) {
    .logo img {
        width: 150px;
    }
    .callback-header {
        gap: 15px;
    }
    .footer-container {
        grid-template-columns: 1.5fr 1fr;
    }
}
@media (max-width: 1024px) {
    .burger {
        display: flex;
    }
    .info-menu,
    .callback-header {
        display: none;
    }
    /* Клоны внутри мобильного меню показываем */
    .mobile-menu .info-menu--mobile,
    .mobile-menu .callback-header--mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .info-menu--mobile a {
        color: #000000;
        font-size: 20px;
    }
    .callback-header_number {
        align-items: center;
    }
    .stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .servise-block {
        grid-template-columns: repeat(3, 1fr);
    }
    .video-block {
        height: 300px;
    }
    .form-container {
        grid-template-columns: 8fr 4fr;
    }
    .advantages-block {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .fabric-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fabric-info {
        grid-row: auto;
        grid-column: 1 / -1; /* занимает всю ширину */
        align-items: center;
        text-align: center;
    }
    .footer-top-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .menu-footer {
        justify-content: flex-end;
    }
    .black-btn {
        max-width: 250px;
    }
	.servise-container__image {
        height: 300px;
    }  
	.menu-item-has-children{
		display: flex;
    	flex-direction: column;
    	align-items: center;
    	align-content: center;
    	justify-content: center;
    	gap: 10px;
	}
	.sub-menu{
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
	}
}
@media (max-width: 980px) {
    .image {
        aspect-ratio: 1 / 1.8;
    }
    .three-column-container {
        grid-template-columns: repeat(2, 1fr); /* 2 равных колонки */
        grid-template-rows: auto auto;
    }

    .three-column-container > :nth-child(1) {
        grid-column: 1 / -1; /* занимает обе колонки */
        order: 1;
    }

    .three-column-container > :nth-child(2) {
        grid-column: 1 / 2; /* левая половина */
        order: 2;
    }

    .three-column-container > :nth-child(3) {
        grid-column: 2 / 3; /* правая половина */
        order: 3;
    }
    .three-column-container h2 {
        text-align: center;
        margin-bottom: 40px;
    }
    .prise-block__name {
        font-size: clamp(18px, 1.8vw, 28px);
    }
    .prise-block__prise {
        font-size: clamp(18px, 1.8vw, 28px);
    }
    /* --- блог --- */
    .blog-wrapper {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 20px; /* чтобы карточки не обрезались */
    }
    .blog-wrapper::-webkit-scrollbar {
        display: none;
    }

    .blog-item {
        flex: 0 0 380px; /* фикс ширина карточки */
        scroll-snap-align: start; /* фиксируем при свайпе */
    }
}
@media (max-width: 820px) {
    .hero-secrion__container {
        display: flex;
        gap: 40px;
        flex-direction: column-reverse;
    }
    .image {
        aspect-ratio: 1 / 0.5;
    }
    .square {
        width: clamp(150px, 20vw, 400px);
        height: clamp(150px, 20vw, 400px);
        right: 0;
    }
    .hero-title {
        margin-bottom: 8px;
    }
    .hero-section__container_image-block {
        padding-top: 20px;
    }
    .image {
        max-width: 100%;
    }
    .hero-section__container_content-block {
        padding-top: 30px;
        padding-bottom: 0px;
    }
    .small-h1 {
        max-width: 70%;
    }
    .hero-advantages {
        padding-left: 5px;
    }
    h1 {
        font-size: clamp(25px, 7vw, 72px);
    }
    .small-h1 {
        font-size: clamp(20px, 5vw, 48px);
    }
    .hero-advantages {
        margin-top: 20px;
        margin-bottom: 20px;
        padding-left: 5px;
    }
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: clamp(14px, 4vw, 22px);
    }
    .stat-item {
        text-align: center;
    }
    .stat-desc {
        margin: 0 auto;
    }
    /* последний элемент занимает две колонки */
    .stat-item:last-child {
        grid-column: 1 / -1; /* растянуть от первой до последней */
        justify-self: center; /* выравнивание по центру */
        max-width: 280px; /* чтобы текст не растягивался на всю ширину */
    }
    .video-block {
        height: 200px;
    }
    .form-container {
        display: flex;
        gap: 20px;
        flex-direction: column;
        text-align: center;
    }
    h2 {
        font-size: clamp(20px, 4vw, 40px);
    }
    p {
        font-size: clamp(17px, 1vw, 18px);
    }
    .button-block {
        flex-direction: row;
        gap: 20px;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-top-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
	.servise-container__image {
        height: 220px;
    }  
}
@media (max-width: 640px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .servise-block {
        grid-template-columns: repeat(2, 1fr);
    }
    .three-column-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 20px;
        justify-items: center;
        width: 100%;
    }

    .three-column-container > :nth-child(1),
    .three-column-container > :nth-child(2),
    .three-column-container > :nth-child(3) {
        grid-column: 1 / -1 !important;
        order: unset !important;
        width: 100%;
    }
    .contacts-block__header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0px;
    }
    .btn-block {
        justify-content: flex-start;
        margin-top: 20px;
    }
    .contacts-block__container {
        grid-template-columns: 1fr;
    }
    .contats-min-block {
        border-bottom: 1px solid #fff;
    }
    .border-right-2 {
        padding-right: 0;
        border-right: 0;
        padding-bottom: 10px;
    }
    .border-none {
        padding-left: 0;
        padding-bottom: 10px;
    }
    .border-bottom {
        border-bottom: 10px;
        padding-left: 0;
    }
    .border-right {
        padding-right: 0px;
        border-right: 0;
        border-bottom: 10px;
    }
    .bottom-footer {
        display: flex;
        margin-top: 25px;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .contats-min-block {
        border-bottom: 0;
    }
    .content-section {
        margin-top: 50px;
    }
    .gray-section {
        padding: 50px 0;
    }
    .show-more {
        margin-top: 0;
    }
    .three-column-container h2 {
        margin-bottom: 20px;
    }
	.servise-container:not(:last-child) {
  		margin-bottom: 35px;
     }
}
@media (max-width: 490px) {
    p {
        font-size: clamp(15px, 1vw, 18px);
    }
    h2 {
        font-size: clamp(25px, 4vw, 40px);
        line-height: 1.4;
    }
    h2 br {
        display: none;
    }
    .advantages-block {
        grid-template-columns: repeat(1, 1fr);
    }
    .button-block {
        flex-direction: column;
        gap: 15px;
    }
    .blog-wrapper {
        padding: 0; /* убираем боковые паддинги */
    }

    .blog-item {
        flex: 0 0 100%; /* каждая карточка занимает весь экран */
        max-width: 100%; /* чтобы точно не вылезала */
        scroll-snap-align: start;
    }
    .menu-footer {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .blog-content h3 {
        font-size: clamp(18px, 1.5vw, 24px);
    }
    .blog-content p {
        font-size: clamp(14px, 1vw, 18px);
    }
	.servise-container__image {
        height: 180px;
    }
}
@media (max-width: 380px) {
    .image {
        aspect-ratio: 1 / 0.7;
    }
    .orange-btn {
        width: 100%;
    }
    .subheader {
        font-size: clamp(13px, 1vw, 24px);
    }
    .hero-advantages li {
        font-size: clamp(14px, 1vw, 18px);
    }
    .small-h1 {
        max-width: 90%;
    }
    .small-h1 {
        font-size: clamp(20px, 5vw, 48px);
    }
    h1 {
        font-size: clamp(26px, 7vw, 72px);
    }
    .stats {
        grid-template-columns: 1fr;
    }
    .servise-block__item img {
        max-width: 95px;
        width: 100%;
    }
    .servise-block__item p {
        padding: 0 10px;
    }
    .servise-block__item {
        gap: 15px;
    }
    .video-block {
        height: 200px;
    }
}
