

/* Start:/bitrix/templates/pro1/styles.min.css?1753321788455*/
img{border:0 none}h1,h2,h3,h4,h5,h6{font-family:Arial,Helvetica,sans-serif;margin:1.3em 0 1em;font-weight:normal;line-height:1.2}h1{font-size:200%;margin:0 0 1em}h2{font-size:160%}h3{font-size:140%}h4{font-size:140%}h5{font-size:120%}h6{font-size:100%}hr,.hr{border-top:1px solid;display:block;font-size:1px;height:1px;line-height:1px;margin:12px 0;overflow:hidden;padding:0}#workarea ol li,#workarea ul li{margin:.6em 0}#workarea ul{list-style-type:disc}
/* End */


/* Start:/bitrix/templates/pro1/template_styles.css?175444555579086*/
body {
    /* Используем CSS Grid для создания сеточной структуры */
    display: grid;
    /* Определяем 12 колонок равной ширины, 1fr означает одну долю доступного пространства */
    grid-template-columns: repeat(12, 1fr);
    /* Задаем расстояние (gutter) между колонками */
    gap: 10px;
    /* Задаем отступ от краев для крайних колонок (сверху/снизу 0, слева/справа 100px) */
    padding: 0 100px;
    /* Устанавливаем минимальную высоту 100vh для первого экрана */
    min-height: 10vh;
    /* Убираем стандартный отступ body */
    margin: 0;
    /* Включаем padding в общую ширину элемента */
    box-sizing: border-box;
    /* Отключаем горизонтальную прокрутку */
    overflow-x: hidden;


}

@font-face {
    font-family: 'TTHoves-Regular';
    src: 
        url('/bitrix/templates/pro1/TTHoves-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Оптимизация загрузки */
}

#workarea {
    align-self: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}


.company-info-container {
    display: grid;
    grid-template-columns:  40% 10% 50%;
    align-items: center;
    grid-template-rows:     350px 350px 150px;
    width: 1720px;
}

.grid-background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  padding: 0 100px;
  pointer-events: none;
  z-index: 999;
  opacity: 0.1;
}


.grid-col-viz {
  background-color: rgba(0, 255, 0, 0.1);
  /* border-left: 1px dashed rgba(0, 0, 0, 0.2); */
  /* border-right: 1px dashed rgba(0, 0, 0, 0.2); */
}

/* 
#header {
    display: grid;
    grid-template-columns: 33% 33% 33%;
} */

/* Убедимся, что header не мешает фиксированной сетке */
.header {
    grid-column: 1 / span 12;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
    align-items: center;
    /* Базовая высота, может быть изменена медиа-запросами */
    min-height: 80px;
    border-bottom: 1px solid #d2d2d2;
    position: relative;
    z-index: 1000;
    /* Распределяем элементы равномерно по ширине хедера */
    justify-content: space-between;
    background-color: #FFFFFF;;
    
}

.company-info-shurup{
    grid-column: 1;
    grid-row: 2 / span 2;
    z-index: -1;
    width: 900px;
    margin-left: -100px;
}

.logo {
    grid-column: 1 / span 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Здесь будет сам логотип. Необходимо вставить изображение или SVG. */
}

.logo img {
    display: block;
    max-width: 95%;
    height: auto;
}

.nav-menu {
    grid-column: 2 / span 5;
    display: flex;
    gap: 25px;
    justify-content: flex-start;
    padding-left: 33px;
  }

.nav-menu a {
    text-decoration: none;
    color: #1d1d1d;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.nav-menu a:visited {
    text-decoration: none;
    color: #1d1d1d;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 16px;
    font-weight: 500;
}


.phone-number {
    grid-column: 10 / span 2;
    color: #1d1d1d;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    padding-right: 65px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-number img {
    display: block;
    width: 25px;
    height: auto;
    object-fit: contain;
}

.request-button {
    grid-column: 12 / span 1;
    background-color: #c41120;
    color: #ffffff;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Стили для временной визуализации колонок body */
.grid-item {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
}

/* Медиа-запрос для экранов шириной от 1200px */
@media (min-width: 1200px) {
    .header {
        min-height: 102px;
         /* На больших экранах можем использовать space-between для распределения */
        justify-content: space-between;
    }
}

/* Стили для первой секции под хедером */
.main-content {
    grid-column: 1 / span 12;
    /* Возможно, нужно добавить отступ сверху */
    margin-top: 50px;
}


.main-title-container {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: 50% 50%;
    width: 1720px;
    margin-top: 90px;
    /* margin-bottom: 50px; */
}

.main-title {
    grid-column: 1 / span 3;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 96px;
    font-weight: 600;
    color: #313131;
    letter-spacing: -0.96px;
    line-height: 1.2;
    margin: 0;
    /* Разрешаем переносы строк для длинного текста */
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-top: -35px;
}

.main-title .n {
    color: #02045E;
}

.main-title .one {
    color: #C41120;
}

.subtitle {
    grid-column: 2;
    grid-row: 3;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #474747;
    line-height: 1.2;
    margin-top: -80px;
    /* margin-left: 577px; */
    top: auto;
    text-align: left;
}

/* Стили для временной визуализации колонок body */
.grid-item {
    background-color: #bd2f2f;
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
}

.afterhero-image {
    display: block;
    margin-left: -100px;
    margin-top: 73px;
    width: 100vw;
    height: auto;
}

.after-hero-text {
    grid-column: 5 / span 8;
    margin-top: -50px;
}

.after-hero-title {
    grid-column: 2 / span 2;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 58px;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
    margin: 0 0 20px 0;
    /* margin-top: 119px;
    margin-left: 60px; */
}
.after-hero-prom {
    font-weight: 600;
    color: #02045E;
}
.after-hero-description {
    grid-column: 3;
    grid-row: 2;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #1d1d1d;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    margin-left: 150px;
    /* margin-top: 80px;
    margin-left: 370px; */
}
.info-company {
    grid-column: 1;
    grid-row: 1;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #1d1d1d;
    line-height: 1.2;
    margin: 0;
    text-align: left;
}
.prem-company {
    grid-column: 1;
    grid-row: 3;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #1d1d1d;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    /* margin-top: 575px; */
    /* transform: translateX(-570px); */
}

/* Styles for the main icon */
.main-icon {
    grid-column: 2;
    grid-row: 2;
    /* margin-left: 59px; */
    width: 67px;
    align-self: start;
    /* transform: translateY(-143px); */
}
.hr-v1 {
    border: none;
    background-color: #D2D2D2;
    width: 1px;
    height: 760px;
    margin: 0 auto;
    transform: translateX(-570px);
    margin-top: -129px;
}
.hr-h1 {
    border: none;
    background-color: #D2D2D2;
    width: 670px;
    height: 1px;
    margin: 0 auto;
    transform: translateX(-905px);
    margin-top: -620px;
}
.hr-h2 {
    border: none;
    background-color: #D2D2D2;
    width: 670px;
    height: 1px;
    margin: 0 auto;
    transform: translateX(-905px);
    margin-top: 12px;
}

/* Styles for the four cards section */
.cards-section {
    grid-column: 1 / span 12;
    margin-top: 50px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
}

.card {
    height: 372px;
    width: 423px;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    transition: background-color 0.3s ease, border-radius 0.3s ease;
    border-radius: 0;
}

.card-1 {
    grid-column: 1 / span 3;
    background-color: #c41120;
}

.card-2 {
    grid-column: 4 / span 3;
    background-color: #ffffff;
    border: 1px solid #d2d2d2;
}

.card-3 {
    grid-column: 7 / span 3;
    background-color: #a4b0b2;
    border: 1px solid #d2d2d2;
}

.card-4 {
     grid-column: 10 / span 3;
     background-color: #ffffff;
     border: 1px solid #d2d2d2;
}

/* Hover states for background color and border-radius */
.card:hover {
    border-radius: 60px;
}

.card-1:hover {
    background-color: #a4b0b2;
}

.card-3:hover {
     background-color: #02045e;
}

/* Styles for the card icons */
.card-icon {
    position: absolute;
    top: 35px;
    right: 35px;
    width: 65px;
    height: 65px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Hover states for icon rotation */
.card-1:hover .card-icon,
.card-2:hover .card-icon,
.card-3:hover .card-icon {
    transform: rotate(-90deg);
}

.card-4:hover .card-icon {
    transform: rotate(-45deg);
}

.card-text {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    position: absolute;
    bottom: 35px;
    left: 20px;
    right: 20px;
    transition: bottom 0.3s ease, color 0.3s ease;
}

/* Styles for the description text */
.card-description {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    position: absolute;
    bottom: 35px;
    left: 20px;
    right: 20px;
    opacity: 0;
    visibility: hidden;
    transition: bottom 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, color 0.3s ease;
}

/* Text colors for specific cards based on Figma */
.card-1 .card-text,
.card-3 .card-text {
    color: #ffffff;
}

.card-2 .card-text,
.card-4 .card-text {
    color: #1d1d1d;
}

.card-1 .card-description,
.card-3 .card-description {
    color: #e5e5e5;
}

.card-2 .card-description,
.card-4 .card-description {
     color: #4b4b4b;
}

/* Hover states for text */
.card:hover .card-text {
    bottom: 100px;
}

/* Увеличиваем подъем текста для первой и второй карточек при наведении */
.card-1:hover .card-text,
.card-2:hover .card-text {
    bottom: 130px;
}

/* Увеличиваем подъем текста еще больше для первой карточки при наведении */
.card-1:hover .card-text {
    bottom: 180px;
}

.card:hover .card-description {
    bottom: 35px;
    opacity: 1;
    visibility: visible;
}

/* Specific text color changes on hover based on Figma */
.card-3:hover .card-text {
    color: #ffffff;
}

.product-section-title-container {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    width: 1720px;
}


/* Styles for the Product section title */
.product-section-title {
    grid-column: 1;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #1d1d1d;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    margin-top: 285px;
    transform: translateY(0px);
}


/* ------------------------------ */
/* Кнопки манипуляции с товарами*/
/* ------------------------------ */

.product-manupulation-buttons-container {
    display: grid;
    grid-template-columns: 430px 430px 430px 430px;
}

.product-manip-button {
    border: none;
    border-radius: 5px;
    height: 60px;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin-top: 25px;
    margin-left: 5px;
    margin-right: 5px;
}

.product-download-catalogue-button {
    grid-column: 1;
    background-color: #a4b0b2;
}

.product-request-price-button {
    grid-column: 3;
    background-color: #a40b15;
}

.product-observe-catalogue-button {
    grid-column: 4;
    background-color: #02045e;
}


.product-download-catalogue-button:hover {
    transition: background-color 0.3s ease;
    background-color: #899597;
}

.product-request-price-button:hover {
    background-color: #7c0810;
    transition: background-color 0.3s ease;
}

.product-observe-catalogue-button:hover {
    transition: background-color 0.3s ease;
    background-color: #01023d;
}

.product-manip-button:active {
    transition: box-shadow 0.3s ease;
    box-shadow: inset 0px 0px 10px 2px rgba(0, 0, 0, 0.25);
}





.hr-h3 {
    border: none;
    background-color: #D2D2D2;
    width: 670px;
    height: 1px;
    margin: 0 auto;
    /* Adjust positioning to be below the Product section title */
    transform: translateX(-905px);
    margin-top: 12px;
}

/* Styles for the Products section */
.products-section {
    grid-column: 1 / span 12;
    margin-top: 50px;
}

.product-cards-container {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.product-card {
    /* Базовые стили для всех карточек продукции */
    height: 579px;
    width: 423px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    /* Добавляем плавный переход для всех свойств при наведении */
    transition: all 0.3s ease-in-out;
}

/* Grid spans for the 8 product cards */
/* .product-card:nth-child(1) { grid-column: 1 / span 3; }
.product-card:nth-child(2) { grid-column: 4 / span 3; }
.product-card:nth-child(3) { grid-column: 7 / span 3; }
.product-card:nth-child(4) { grid-column: 10 / span 3; }
.product-card:nth-child(5) { grid-column: 1 / span 3; margin-top: 20px;}
.product-card:nth-child(6) { grid-column: 4 / span 3; margin-top: 20px;}
.product-card:nth-child(7) { grid-column: 7 / span 3; margin-top: 20px;}
.product-card:nth-child(8) { grid-column: 10 / span 3; margin-top: 20px;}  wtf*/ 


/* Стили для первой карточки продукции (cart1 type) */
.product-card-1 {
    background-color: #a4b0b2;
}

/* Стили для карточек продукции с изображением (cart2 type) */
.product-card-image {
     background-color: #ffffff;
}

/* Стили для третьей карточки продукции (cart3 type) */
.product-card-3 {
    background-color: #c41120;
}

.product-card-blue {
    background-color: #02045e;
}

/* Стили для контейнера содержимого внутри карточек 1 и 3 */
.product-content {
    /* Содержимое карточки (текст, иконки и т.д.) */
    flex-grow: 1;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.product-title {
    
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    margin-left: 25px;
    margin-right: 20px;
    text-align: center;
    transform: translateY(-22px);
    z-index: 1;
}

.product-card-image .product-title {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4); /* Более заметная тень для заголовков */
}

/* Стили для отступа сверху текста в карточках 1 и 8 */
.product-card:nth-child(1) .product-title,
.product-card:nth-child(8) .product-title {
    margin-top: 46px;
}

/* Стили для отступа сверху текста в карточках 3 и 6 */
.product-card:nth-child(3) .product-title,
.product-card:nth-child(6) .product-title {
    margin-top: 48px;
}

/* Стили для места под логотип в карточках 1 и 3 */
.product-logo-space {
    position: absolute;
    bottom: 21px;
    right: -10px;
    width: 105px;
    height: 105px;
    z-index: 1;
    filter: brightness(0) invert(1);
}

.product-logo-space1 {
    position: absolute;
    bottom: 95px;
    right: 37px;
    height: 18px;
    width: 18px;
    z-index: 1;
    transform: rotate(90deg);
    filter: brightness(0) invert(1);
}

.product-logo-space img {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 40px;
    margin-bottom: 40px;
    max-width: calc(100% - 40px);
    max-height: calc(100% - 40px);
    object-fit: contain;
    /* Стили для поворота логотипа ГОСТ при наведении */
    transition: transform 0.3s ease-in-out;
}

/* Стили для изображений в карточках с изображением */
.product-image {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Стили для текста поверх изображения в карточках с изображением */
.product-image-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    text-align: left;
    z-index: 1;
}

/* Стили для круглого изображения в карточках 1, 3, 6, 8 */
.product-circular-image {
    position: absolute;
    width: 299px;
    height: 299px;
    border-radius: 50%;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.product-circular-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.product-card:hover .product-circular-image img {
    opacity: 0;
    visibility: hidden;
}

/* Стили для изображений в карточках с изображением */
.product-image {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Стили для текста поверх изображения в карточках с изображением */
.product-image-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    text-align: left;
    z-index: 1;
}

/* Стили для эффекта наведения на карточки продукции */
.product-card {
    /* Добавляем плавный переход для всех свойств при наведении */
    transition: all 0.3s ease-in-out;
}

.product-card:hover {
    border-radius: 60px;
}

/* Изменение фона для карточек 1 и 8 при наведении */
.product-card-1:hover {
    background-color: #737c7d;
}

/* Изменение фона для карточек 3 и 6 при наведении */
.product-card-3:hover {
    background-color: #c41120;
}

.product-card-blue:hover {
    background-color: #737c7d;
}


/* Затемнение изображения для карточек с изображением при наведении */
.product-card-image .product-image {
    transition: all 0.3s ease-in-out;
}

.product-card-image:hover .product-image {
    opacity: 0.2;
}

.product-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.548);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 0;
    border-radius: 10px;
}

.product-card-image:hover::before {
    opacity: 1;
     z-index: 1;
}

.no-copy {
    -ms-user-select: none; 
    -moz-user-select: none; 
    -webkit-user-select: none; 
    user-select: none; 
}


/* Контейнер для плашек тегов */
.product-tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: flex-start;
}


/* Стили для плашек тегов продукции */
.product-tag {
    padding: 6px 5px 6px 5px;
    opacity: 0;
    visibility: hidden; /* Дополнительно скрываем элемент */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background-color: #ffffff;
    border-radius: 5px;
}

/* Стили для текстовых значений плашек тегов продукции */
.product-tag-value {
    margin: 2px 2px 2px 2px;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #202020;
    text-align: center;
    z-index: 1;
}

/* При наведении на .product-card показываем .product-tag */
.product-card:hover .product-tag {
    opacity: 1;
    visibility: visible;
}

/* При наведении на .product-card-hover показываем .product-tag */
.product-card-image:hover .product-tag {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


/* ------------------------------------------ */
/* Группы характеристик в карточках продукции */
/* ------------------------------------------ */

.product-chargroup-container {
    opacity: 0;
    visibility: hidden; /* Дополнительно скрываем элемент */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 колонки равной ширины */
    gap: 10px; /* Расстояние между группами */
    align-items: flex-start;
    align-self: flex-start;
}

.product-chargroup {
    padding: 5px;
    border-radius: 8px;
}

.product-chargroup-title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #ffffff;
    font-family: 'TTHoves-Regular', sans-serif;
}

.product-chargroup-values-container {
    display: flex;
    flex-direction: column;
    gap: 2px; /* Расстояние между значениями */
}

.product-chargroup-value {
    font-size: 16px;
    color: #ffffff;
    font-family: 'TTHoves-Regular', sans-serif;
    font-weight: 200;

    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.product-card:hover .product-chargroup-container {
    opacity: 1;
    visibility: visible;
}

.product-card-image:hover .product-chargroup-container {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}


/* ------------------------------------------ */
/* ------------------------------------------ */


/* ------------------ Стиль всплывающих сообщений-------------------- */

.sumbit-msg-success-title {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #02045E;
}

.sumbit-msg-success-text {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: #202020;
}

.min-ten {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: #c41120;
}


/* Затемнение фона */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Полупрозрачное затемнение */
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* Размытие фона */
    animation: fadeIn 0.3s ease;
}

.popup-image-container {
    grid-column: 1;
    align-items: flex-start;
}


.popup-content-container {
    display: grid;
    width: 500px;
    grid-column: 2;
    align-items: flex-end;
    align-self: center;
}

/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Контейнер pop-up */
.popup-wrapper {
    position: relative;
    min-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
}

/* Содержимое pop-up */
.popup-content {
    background: #fff;
    /* padding: 30px; */
    /* border-radius: 12px; */
    display: grid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Тень */
    position: relative;
    animation: scaleIn 0.3s ease;
}

/* Анимация масштабирования */
@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Кнопка закрытия */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #000;
}

.popup-content-request-price-title {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #02045E;
    text-align: left;
    grid-row: 1;
    margin-top: 50px;
}

.popup-content-request-price-desc {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 27px;
    font-weight: 500;
    color: #202020;
    text-align: left;
    grid-row: 2;
    margin-top: 20px;
    margin-bottom: 50px;
}

.close-btn {

}

.form-group {
    margin-top: 15px;
    margin-bottom: 15px;
}

.form-group-field-title {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #202020;
    text-align: left;
}

.form-group-field-input {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #202020;
    text-align: left;
    border-width: 0 0 1px 0;
    border: #202020;

}


input[type="text"],
input[type="email"],
input[type="tel"] {
    font-family: 'TTHoves-Regular', sans-serif;
    color: #000; /* Черный текст */
    background-color: #fff; /* Абсолютно белый фон */
    border: none; /* Убираем все границы */
    border-bottom: 1px solid #000; /* Только нижняя граница 1px черного цвета */
    border-radius: 0; /* Без закруглений */
    padding: 8px 0; /* Отступы внутри поля */
    width: 400px; /* Ширина на всю доступную область */
    outline: none; /* Убираем контур при фокусе */
    box-shadow: none; /* Убираем тени если есть */
    font-size: 20px; /* Размер шрифта */
}

/* Стиль для плейсхолдера */
input::placeholder {
    font-family: 'TTHoves-Regular', sans-serif;
    color: #999; /* Серый цвет для текста-подсказки */
    opacity: 1; /* Полная видимость (для некоторых браузеров) */
}

/* Стиль при фокусе на поле */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    border-bottom: 1px solid #007bff; /* Синяя граница при фокусе */
    background-color: #fff; /* Сохраняем белый фон */
}

.phone-mask {

}

.btn {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    background-color: #c41120;
    border-radius: 5px;
    border-width: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
    height: 50px;
    margin-top: 30px;
}


/* Адаптивность */
@media (max-width: 576px) {
    .popup-content {
        padding: 20px;
    }
}

/* ------------------------------------------ */


/* Стили для поворота логотипа ГОСТ при наведении */
.product-logo-space img {
     transition: transform 0.3s ease-in-out;
}

/* Поворот логотипа на 45deg для карточек 1 и 8 при наведении */
.product-card:nth-child(1):hover .product-logo-space img,
.product-card:nth-child(8):hover .product-logo-space img {
    transform: rotate(-45deg)
}

/* Поворот логотипа на 90deg для карточек 3 и 6 при наведении */
.product-card:nth-child(3):hover .product-logo-space img,
.product-card:nth-child(6):hover .product-logo-space img {
    transform: rotate(135deg)
}

/* Styles for details appearing on hover */
.product-hover-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 2;
    display: block;
}

.product-characteristics-on-hover {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    margin-left: 25px;
    margin-right: 20px;
    text-align: center;
    transform: translateY(-22px);
    z-index: 1;
}

.product-card:hover .product-hover-details {
    opacity: 1;
    visibility: visible;
}

/* Use absolute positioning for individual hover text elements */
.product-title-on-hover,
.product-framed-text-on-hover,
.product-characteristics-on-hover {
    position: absolute;
    margin: 0;
    /* Add initial positioning styles to prevent jumping */
    top: 0;
    left: 0;
    right: 0;
    width: auto;
}

/* Specific positioning for hover text based on card types in Figma */

.product-card-1:hover .product-title-on-hover { /* Card type 1 (and 8) */
    top: 46px;
    left: 50px;
    right: 42px;
    width: auto;
    text-align: left;
}

.product-card-image:hover .product-title-on-hover { /* Image cards (2, 4, 5, 7) */
    top: 494px;
    left: 46px;
    right: 46px;
    width: auto;
    text-align: left;
}

.product-card-3:hover .product-title-on-hover { /* Card type 3 (and 6) */
    top: 48px;
    left: 48px;
    right: 91px;
    width: auto;
    text-align: left;
}

.product-card-1:hover .product-framed-text-on-hover { /* Card type 1 (and 8) */
    top: 118px;
    left: 60px;
    width: 188px;
}

.product-card-image:hover .product-framed-text-on-hover { /* Image cards (2, 4, 5, 7) */
    display: none;
}

.product-card-3:hover .product-framed-text-on-hover { /* Card type 3 (and 6) */
    top: 118px;
    left: 60px;
    width: 188px;
}

.product-card-1:hover .product-characteristics-on-hover { /* Card type 1 (and 8) */
    top: 207px;
    left: 60px;
    right: 42px;
    width: auto;
}

.product-card-image:hover .product-characteristics-on-hover { /* Image cards (2, 4, 5, 7) */
    display: none;
}

.product-card-3:hover .product-characteristics-on-hover { /* Card type 3 (and 6) */
     top: 207px;
    left: 60px;
    right: 42px;
    width: auto;
}

/* Add styles for characteristic rows and columns */
.product-characteristics-on-hover > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.product-characteristics-on-hover > div span {
    /* Basic styling for text spans within characteristics */
}

.product-characteristics-on-hover > div span:first-child {
    font-weight: 500;
    color: #ffffff;
}

.product-characteristics-on-hover > div span:last-child {
    font-weight: 400;
    color: #e1e1e1;
}

/* Make characteristic text darker on image cards when hovered */
.product-card-image:hover .product-characteristics-on-hover span {
    color: #000000;
}

/* Styles for the new four cards section */
.new-cards-section {
    grid-column: 1 / span 12; /* Занимает все 12 колонок основной сетки */
    margin-top: 100px; /* Отступ сверху от предыдущей секции */
}

.new-cards-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Внутренняя сетка для расположения карточек */
    gap: 12px; /* Расстояние между карточками - изменено с 10px на 12px */
}

/* Base styles for new cards */
.carti {
    height: 349px; /* Задаем высоту */
    position: relative; /* Для абсолютного позиционирования содержимого */
    padding: 20px; /* Внутренний отступ */
    box-sizing: border-box; /* Учитываем padding в размере */
    overflow: hidden; /* Скрываем содержимое, выходящее за пределы */
    border-radius: 0; /* Изначально без скругления */
    transition: border-radius 0.3s ease; /* Только переход для скругления */
    transform: translateY(-88px);
}

/* Specific styles for each new card type */
.carti.certif {
    grid-column: 1 / span 3; /* Первая карточка занимает первые 3 колонки */
    background-color: #02045e; /* Цвет фона как в Figma Sert1 */
}

.carti.gost {
    grid-column: 4 / span 3; /* Вторая карточка занимает следующие 3 колонки */
    background-color: #ffffff; /* Цвет фона как в Figma Sert2 */
    border: 1px solid #d2d2d2; /* Граница как в Figma Sert2 */
}

.carti.garantii {
    grid-column: 7 / span 3; /* Третья карточка занимает следующие 3 колонки */
    margin-top: 355px; /* Отступ сверху, чтобы быть ниже первых двух */
    background-color: #a4b0b2; /* Цвет фона как в Figma Sert3 */
    margin-left: -5px;
}

.carti.rekvizity {
    grid-column: 10 / span 3; /* Четвертая карточка занимает следующие 3 колонки */
    margin-top: 355px; /* Отступ сверху, чтобы быть ниже первых двух */
    background-color: #ffffff; /* Цвет фона как в Figma Sert4 */
    border: 1px solid #d2d2d2; /* Граница как в Figma Sert4 */
    margin-left: -5px;
}

/* Adjust styles for icons within the new cards */
.new-cards-section .card-icon {
    position: absolute;
    bottom: 20px; /* Отступ снизу */
    right: 20px; /* Отступ справа */
    width: 65px; /* Размер иконки как в старых карточках */
    height: 65px; /* Размер иконки как в старых карточках */
    object-fit: contain; /* Сохраняем пропорции изображения */
    transition: transform 0.3s ease; /* Добавляем переход для трансформации */
}

/* Adjust styles for text within the new cards */
.new-cards-section .card-text {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 26px; /* Размер шрифта как в Figma */
    font-weight: 500; /* Начертание шрифта как в Figma */
    line-height: 1.2;
    margin: 0;
    text-align: left;
    position: absolute; /* Абсолютное позиционирование для текста */
    top: 40px; /* Позиционирование сверху */
    left: 20px; /* Отступ слева */
    right: 100px; /* Отступ справа, чтобы оставить место для иконки */
    transition: none; /* Убираем все переходы для текста */
}

.new-cards-section .card-description {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 16px; /* Размер шрифта как в Figma */
    font-weight: 400; /* Начертание шрифта как в Figma */
    line-height: 1.2;
    margin: 0;
    text-align: left;
    position: absolute; /* Абсолютное позиционирование для описания */
    top: 120px; /* Позиционирование сверху */
    left: 20px; /* Отступ слева */
    right: 100px; /* Отступ справа, чтобы оставить место для иконки */
    opacity: 1; /* Делаем описание всегда видимым */
    visibility: visible; /* Делаем описание всегда видимым */
    transition: none; /* Убираем все переходы для описания */
}

/* Text colors for specific new cards based on Figma */
.carti.certif .card-text,
.carti.garantii .card-text {
    color: #ffffff; /* Цвет текста как в Figma Sert1 и Sert3 */
}

.carti.gost .card-text,
.carti.rekvizity .card-text {
    color: #1d1d1d; /* Цвет текста как в Figma Sert2 и Sert4 */
}

.carti.certif .card-description {
    color: #e1e1e1; /* Цвет текста как в Figma Sert1 */
}

.carti.gost .card-description,
.carti.rekvizity .card-description {
    color: #1d1d1d; /* Цвет текста как в Figma Sert2 и Sert4 */
}

.carti.garantii .card-description {
    font-size: 14px; /* Уменьшаем с 16px до 14px */
    line-height: 1.4; /* Добавляем межстрочный интервал */
    color: #ffffff;
}

/* Hover effects for new cards */
.carti:hover {
    border-radius: 60px; /* Скругление углов при наведении */
    /* background-color не меняется при наведении */
}

/* Удаляем изменение цвета фона при наведении для отдельных карточек */
.carti.certif:hover { background-color: #02045e; } /* Карточка Сертификаты: всегда синяя при наведении */
.carti.gost:hover { background-color: initial; } /* Сбрасываем фон */
.carti.garantii:hover { background-color: #a4b0b2; } /* Карточка Гарантии: фон всегда серый при наведении */
.carti.rekvizity:hover { background-color: initial; } /* Сбрасываем фон */

.carti:hover .card-icon {
    transform: none; /* Отключаем вращение иконки при наведении */
}

/* Удаляем изменения позиции текста при наведении */
.carti:hover .card-text {
    top: 40px; /* Сохраняем исходное позиционирование */
    /* color: initial; */ /* Удаляем сброс цвета текста при наведении */
}

.carti:hover .card-description {
    opacity: 1; /* Описание всегда видимо */
    visibility: visible; /* Описание всегда видимо */
    top: 120px; /* Сохраняем исходное позиционирование */
    /* color: initial; */ /* Удаляем сброс цвета текста при наведении */
}

/* Styles for download buttons */
.download-button-container {
    position: absolute;
    bottom: 20px; /* Уменьшаем отступ снизу с 40px до 20px */
    left: 20px;
    display: flex;
    gap: 10px;
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s ease;
    z-index: 1;
    transform: translateX(55px);
}

.download-button {
    background-color: #c41120; /* Фон кнопки */
    color: #ffffff; /* Цвет текста кнопки */
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 15px;
    border-radius: 5px; /* Скругление углов кнопки */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 165px; /* Минимальная ширина для кнопки */
    height: 47px; /* Высота кнопки */
    box-sizing: border-box;
    transition: background-color 0.3s ease; /* Переход для фона кнопки */
    margin-left: -15px;
    position: relative;
    z-index: 1; /* Устанавливаем z-index кнопки выше */
}

.download-button:hover {
    background-color: #a40b15; /* Изменение фона при наведении */
}

.download-button-size {
    background-color: #02045e; /* Фон для размера файла */
    color: #ffffff;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 47px;
    box-sizing: border-box;
    position: relative;
    z-index: 0; /* Устанавливаем z-index текста ниже */
    transition: transform 0.3s ease; /* Добавляем плавный переход для трансформации */
    transform: translateX(-17px);
}

/* Поднимаем контейнер кнопки и размер файла при наведении на карточку */
.carti:hover .download-button-container {
    transform: translateY(-20px) translateX(55px); /* Поднимаем вверх и сохраняем X позицию */
}

.carti:hover .download-button-size {
    transform: translateX(-17px); /* Сбрасываем translateY, оставляем только translateX для сохранения горизонтальной позиции */
}

.document-section-title-container {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    width: 1720px;
    margin-top: 250px;
    margin-bottom: 100px;
}

.document-section-title {
    grid-column: 1;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #1d1d1d;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    /* margin-top: 154px; */
}

/* Specific styles for download buttons on new cards */
.carti.certif .download-button {
    background-color: #ffffff; /* Белый фон для кнопки 'Скачать архив' на карточке Сертификаты */
    color: #1d1d1d; /* Черный текст на белом фоне */
}
.carti.certif .download-button:hover {
    background-color: #e5e5e5; /* Светло-серый фон при наведении на белую кнопку */
}

.carti.certif .download-button-size {
    background-color: #c41120; /* Красный фон для '28Кб' на карточке Сертификаты */
    color: #ffffff; /* Белый текст на красном фоне */
}

.carti.garantii .download-button {
    background-color: #ffffff; /* Белый фон для кнопки 'Скачать архив' на карточке Гарантии */
    color: #1d1d1d; /* Черный текст на белом фоне */
}
.carti.garantii .download-button:hover {
    background-color: #e5e5e5; /* Светло-серый фон при наведении на белую кнопку */
}

.carti.rekvizity .download-button {
    background-color: #c41120; /* Красный фон для кнопки 'Скачать архив' на карточке Реквизиты */
    color: #ffffff; /* Белый текст */
}
.carti.rekvizity .download-button:hover {
    background-color: #a40b15; /* Темно-красный фон при наведении на красную кнопку */
}

.carti.certif:hover .card-icon-cert {
    transform: rotate(-90deg); /* Вращение иконки Сертификаты на 90 градусов при наведении */
}
.card-icon-gost {
    position: absolute;
    bottom: 38px; /* Позиционируем снизу */
    right: 38px; /* Позиционируем справа */
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: transform 0.3s ease; /* Добавляем плавный переход для трансформации */
    transform: none; /* Убираем исходную трансформацию */
}
.card-icon-cert {
    position: absolute;
    bottom: 35px; /* Позиционируем снизу */
    right: 27px; /* Позиционируем справа */
    width: 55px;
    height: 55px;
    object-fit: contain;
    transition: transform 0.3s ease; /* Добавляем плавный переход для трансформации */
    filter: brightness(0) invert(1);
    /* transform: rotate(90deg); */ /* Убираем статический поворот */
}
.card-icon-rekvizit {
    position: absolute;
    bottom: 38px; /* Позиционируем снизу */
    right: 38px; /* Позиционируем справа */
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: transform 0.3s ease; /* Добавляем плавный переход для трансформации */
    transform: none; /* Убираем исходную трансформацию */
}
.card-icon-garantii {
    position: absolute;
    bottom: 38px; /* Позиционируем снизу */
    right: 38px; /* Позиционируем справа */
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: transform 0.3s ease; /* Добавляем плавный переход для трансформации */
    transform: none; /* Убираем исходную трансформацию */
}
.carti.gost:hover .card-icon-gost {
    transform: rotate(-45deg); /* Вращение иконки ГОСТ на 45 градусов при наведении */
}

.carti.rekvizity:hover .card-icon-rekvizit {
    transform: rotate(135deg); /* Вращение иконки Реквизиты на 120 градусов при наведении */
}



.contacts-section-title-container {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    width: 1720px;
    margin-top: 250px;
    margin-bottom: 50px;
}

/* Styles for Contacts section title */
.contacts-section-title {
    grid-column: 1;
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #1d1d1d;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    /* margin-top: 154px; Отступ сверху */
}

/* Styles for Contacts section */
.contacts-section {
    grid-column: 1 / span 12;
    /* margin-top: 80px; */
    width: 1720px;
}

.contacts-cards-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
    width: auto;
}

/* Base styles for contact cards */
.contact-card {
    height: 305px; /* Высота карточки */
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 0;
    transition: border-radius 0.3s ease; /* Плавное изменение радиуса */
}

.contact-card:hover {
    border-radius: 60px; /* Скругление при наведении */
}

/* Specific styles for each contact card */
.contact-card-map {
    grid-column: 1 / span 6; /* Карта занимает 6 колонок */
    background-color: #f0f0f0; /* Заполнитель фона для карты */
}

.contact-card-phone {
    grid-column: 7 / span 3; /* Телефон занимает 3 колонки */
    background-color: #02045e; /* Темно-синий фон */
}

.contact-card-email {
    grid-column: 10 / span 3; /* Email занимает 3 колонки */
    background-color: #a4b0b2; /* Серый фон */
}

.contact-card-hours {
    grid-column: 1 / span 3; /* Часы работы занимает 3 колонки */
    margin-top: 12px;
    background-color: #a4b0b2; /* Серый фон */
}

.contact-card-site1 {
    grid-column: 4 / span 3; /* Сайт 1 занимает 3 колонки */
    margin-top: 12px;
    background-color: #ffffff; /* Белый фон */
    border: 1px solid #d2d2d2; /* Граница */
}

.contact-card-site2 {
    grid-column: 7 / span 3; /* Сайт 2 (теперь с картинкой) занимает 3 колонки */
    margin-top: 12px;
    background-color: #ffffff; /* Белый фон для картинки */
    border: 1px solid #d2d2d2; /* Граница для картинки */
}

.contact-card-image-placeholder {
    grid-column: 10 / span 3; /* Заполнитель изображения (теперь с текстом сайта №2) занимает 3 колонки */
    margin-top: 12px;
    background-color: #c41120; /* Красный фон для сайта №2 */
}

/* Styles for images within contact cards */
.contact-map-image,
.contact-placeholder-image {
    display: block;
    position: absolute; /* Позволяет игнорировать padding родителя */
    top: 0; /* Привязываем к верхнему краю */
    left: 0; /* Привязываем к левому краю */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Styles for text within contact cards */
.contact-card-label {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    position: absolute;
    top: 40px;
    left: 20px;
    color: #ffffff; /* Белый текст по умолчанию */
}

.contact-card-value {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    text-align: left;
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff; /* Белый текст по умолчанию */
    transition: transform 0.3s ease; /* Добавляем плавный переход для трансформации */
}

/* Поднимаем contact-card-value при наведении на contact-card */
.contact-card:hover .contact-card-value {
    transform: translateY(-5px); /* Приподнимаем текст на 5px вверх */
}

/* Text colors for specific contact cards */
.contact-card-site1 .contact-card-label,
.contact-card-site1 .contact-card-value,
.contact-card-site2 .contact-card-label, /* Теперь сайт 2 белый, текст должен быть черный */
.contact-card-site2 .contact-card-value {
    color: #1d1d1d; /* Черный текст для белой карточки */
}

/* Styles for icons within contact cards */
.contact-card-icon {
    position: absolute;
    bottom: 20px;
    right: 35px;
    width: 42px;
    height: 49.84px; /* Оригинальные размеры из Figma */
    object-fit: contain;
    filter: brightness(0) invert(1); /* Для белых иконок на темном фоне */
    transition: transform 0.3s ease; /* Плавное вращение */
}

/* Hover effects for contact icons */
.contact-card-phone:hover .contact-card-icon {
    transform: none; /* Отключаем вращение */
}
.contact-card-email:hover .contact-card-icon {
    transform: none; /* Отключаем вращение */
}
.contact-card-hours:hover .contact-card-icon {
    transform: none; /* Отключаем вращение */
}
.contact-card-site1:hover .contact-card-icon {
    transform: none; /* Отключаем вращение */
}
.contact-card-image-placeholder:hover .contact-card-icon {
    transform: none; /* Отключаем вращение */
    /* filter: brightness(0) invert(1); */ /* Оставляем изменение цвета, если нужно */
}

/* Styles for footer */
.footer {
    grid-column: 1 / span 12;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 80px;
    border-top: 1px solid #d2d2d2;
    width: 90%;
}

.footer-privacy,
.footer-copyright {
    font-family: 'TTHoves-Regular', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #888888;
    margin: 0;
}

/* # Адаптивная верстка для 1440px */
@media screen and (max-width: 1440px) {
    body {
        padding: 0 60px;
    }

    /* Адаптация главного заголовка */
    .main-title {
        font-size: 72px;
        margin-top: -25px;
    }

    .subtitle {
        font-size: 20px;
        margin-left: 427px;
        margin-top: -60px;
    }

    /* Адаптация afterhero-image */
    .afterhero-image {
        width: 100vw;
        height: auto;
        margin-left: -60px;
    }

    /* Адаптация текста после hero */
    .after-hero-title {
        font-size: 48px;
        /* margin-left: 40px; */
    }

    .after-hero-description {
        font-size: 20px;
        margin-left: 310px;
    }

    .main-icon {
        margin-left: 39px;
        width: 57px;
    }

    /* Адаптация вертикальных и горизонтальных линий */
    .hr-v1 {
        margin-right: 1590px;
        margin-left: -45px;
        transform: translateX(-650px);
        transform: translateY(72px);
        height: 500px;
        z-index: 0;
    }

    .hr-h1, .hr-h2 {
        width: 570px;
        transform: translateX(-750px);
    }

    .hr-h1 {
        margin-left: -613px;
        transform: translateY(270px);
    }

    .hr-h2 {
        transform: translateY(-20px);
        transform: translateX(-750px);
    }

    /* Адаптация карточек */
    .card {
        width: 323px;
        height: 332px;
    }

    .card-icon {
        width: 55px;
        height: 55px;
    }

    .card-text {
        font-size: 22px;
        transform: translateY(10px);
    }

    .card-description {
        font-size: 20px;
        transform: translateY(-20px);
    }

    /* Адаптация продуктовых карточек */
    .product-card {
        width: 323px;
        height: 519px;
    }

    .product-title {
        font-size: 22px;
    }

    .product-circular-image {
        width: 269px;
        height: 269px;
    }

    /* Адаптация документов */
    .carti {
        width: 323px;
        height: 309px;
    }

    .card-icon-cert {
        width: 45px;
        height: 45px;
        bottom: 30px;
        right: 22px;
    }

    .card-icon-gost,
    .card-icon-garantii,
    .card-icon-rekvizit {
        width: 35px;
        height: 35px;
        bottom: 33px;
        right: 33px;
    }

    .download-button {
        margin-left: -45px;
        transform: translateY(10px);
        min-width: 145px;
        height: 42px;
        font-size: 14px;
    }

    .download-button-size {
        height: 42px;
        font-size: 14px;
        margin-top: 10px;
        transform: translateX(-17px);
    }

    .carti.garantii .card-description {
        font-size: 13px;
    }

    /* Адаптация контактов */
    .contact-card {
        height: 275px;
    }

    .contact-card-label {
        font-size: 14px;
    }

    .contact-card-value {
        font-size: 22px;
    }

    .contact-card-icon {
        width: 35px;
        height: 42px;
    }

    /* Адаптация заголовков секций */
    .document-section-title,
    .contacts-section-title {
        font-size: 24px;
    }

    .info-company,
    .prem-company {
        margin-left: 45px;
    }

    /* Адаптация навигации */
    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .phone-number {
        font-size: 14px;
        padding-right: 45px;
        white-space: nowrap;
    }

    .request-button {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* # Адаптивная верстка для экранов меньше 1440px */
@media screen and (max-width: 1439px) {
    .info-company {
        transform: translateX(-470px);
    }

    .prem-company {
        transform: translateX(-470px);
    }
}

/* # Отключение hr-h2 для экранов меньше 480px */
@media screen and (max-width: 480px) {
    body .hr-h2,
    .after-hero-text .hr-h2,
    .hr-h2 {
        background-color: #ffffff !important;
        border-color: #ffffff !important;
        color: #ffffff !important;
        display: none;
    }
    
    /* Также меняем цвет для hr-h1 и hr-v1, так как они могут быть связаны */
    body .hr-h1,
    .after-hero-text .hr-h1,
    .hr-h1,
    body .hr-v1,
    .hr-v1,
    .hr-v1 {
        background-color: #ffffff !important;
        border-color: #ffffff !important;
        color: #ffffff !important;
        display: none;
    }
}

/* # Адаптивная верстка для 440px */
@media screen and (max-width: 440px) {
    body {
        padding: 0 20px;
        gap: 8px;
    }

    /* Адаптация хедера */
    .header {
        min-height: 70px;
        grid-template-columns: auto 42px;
        gap: 8px;
        padding: 15px 0;
    }

    .logo {
        grid-column: 1;
        height: 130px;
        width: 130px;
    }

    /* Скрываем ненужные элементы */
    .nav-menu,
    .phone-number,
    .request-button {
        display: none;
    }

    /* Основные стили */
    .main-title {
        font-size: 32px;
        margin-top: 25px;
        letter-spacing: -0.32px;
        line-height: 38.4px;
    }

    .subtitle {
        font-size: 18px;
        margin-left: 0;
        margin-top: 25px;
        text-align: left;
    }
    .afterhero-image {
        width: 250%;
        max-width: none;
        margin-left: -100%;
        height: auto;
        margin-top: 35px;
    }

    .after-hero-title {
        font-size: 24px;
        margin-left: -105px;
        margin-top: 130px;
    }

    .after-hero-description {
        font-size: 18px;
        margin-left: -93px;
        margin-top: 25px;
        line-height: 18.85px;
    }

    .main-icon {
        width: 47px;
        margin-left: -95px;
        margin-top: 165px;
    }

    /* Карточки */
    .cards-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .card {
        width: 100%;
        height: 226px;
        margin-bottom: 0;
    }

    .card-1, .card-2, .card-3, .card-4 {
        grid-column: 1;
        margin: 0;
    }

    .card-icon {
        width: 47px;
        height: 47px;
        top: 25px;
        right: 25px;
    }

    .card-text {
        font-size: 18px;
        bottom: 25px;
    }

    .card-description {
        font-size: 14px;
        line-height: 16.49px;
    }

    /* Продуктовые карточки */
    .product-cards-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .product-card {
        width: 100% !important;
        height: 332px !important;
        margin: 0;
    }

    .product-card:nth-child(n) {
        grid-column: 1;
        margin: 0;
    }

    .product-circular-image {
        width: 185px;
        height: 185px;
        top: 50%;
    }

    .product-logo-space {
        width: 75px;
        height: 75px;
        bottom: 18px;
        right: 18px;
    }

    .product-title {
        font-size: 20px;
        margin-top: 20px;
        margin-left: 0px;
        padding-right: 70px;
        transform: none !important;
    }

    /* Документы */
    .new-cards-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .carti {
        width: 100%;
        height: 226px;
        margin-top: 0;
    }

    .carti.certif, 
    .carti.gost, 
    .carti.garantii, 
    .carti.rekvizity {
        grid-column: 1;
        margin: 0;
    }

    .card-icon-cert {
        width: 38px;
        height: 38px;
        bottom: 32px;
        right: 25px;
    }

    .card-icon-gost,
    .card-icon-garantii,
    .card-icon-rekvizit {
        width: 38px;
        height: 38px;
        bottom: 35px;
        right: 35px;
    }

    .download-button {
        min-width: 145px;
        height: 38px;
        font-size: 13px;
        margin-left: -30px;
    }

    .download-button-size {
        height: 38px;
        font-size: 13px;
        margin-left: -2px;
    }

    .carti.garantii .card-description {
        font-size: 13.5px;
    }

    /* Контакты */
    .contacts-cards-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .contact-card {
        width: 100%;
        height: 212px;
        margin-top: 0;
    }

    .contact-card-map, 
    .contact-card-phone, 
    .contact-card-email,
    .contact-card-hours, 
    .contact-card-site1, 
    .contact-card-site2,
    .contact-card-image-placeholder {
        grid-column: 1;
        margin: 0;
    }

    .contact-card-label {
        font-size: 13px;
        top: 30px;
    }

    .contact-card-value {
        font-size: 16px;
        bottom: 20px;
    }

    .contact-card-icon {
        width: 35px;
        height: 32px;
        right: 25px;
        bottom: 20px;
    }

    /* Футер */
    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 50px;
        padding: 25px 0;
    }

    .footer-privacy,
    .footer-copyright {
        font-size: 13px;
    }

    /* Корректировка отступов для карточек */
    .product-card:nth-child(1) .product-title,
    .product-card:nth-child(8) .product-title,
    .product-card:nth-child(3) .product-title,
    .product-card:nth-child(6) .product-title {
        margin-top: 18px;
        margin-left: -8px;
    }

    /* Корректировка поведения при наведении */
    .card:hover .card-text {
        bottom: 85px !important;
    }

    .card-1:hover .card-text {
        bottom: 105px !important;
    }

    .card-2:hover .card-text {
        bottom: 90px !important;
    }

    .card-3:hover .card-text {
        bottom: 95px !important;
    }

    .card-4:hover .card-text {
        bottom: 75px !important;
    }

    .card:hover .card-description {
        bottom: 25px;
        opacity: 1;
        visibility: visible;
    }

    /* Корректировка для продуктовых карточек */
    .product-card:hover .product-title {
        transform: translateY(15px);
    }

    /* Корректировка для документов */
    .carti:hover .card-text {
        transform: translateY(10px);
    }

    .carti:hover .card-description {
        transform: translateY(15px);
    }

    /* Специальные стили для карточки сертификатов */
    .carti.certif .card-text {
        top: 25px;
        position: absolute;
        transform: none !important;
    }

    .carti.certif .card-description {
        top: 70px;
        position: absolute;
        transform: none !important;
        transition: none;
    }

    .carti.certif:hover .card-description {
        transform: none !important;
        top: 70px;
    }

    /* Убираем общие эффекты трансформации для этой карточки */
    .carti.certif:hover .card-text {
        transform: none !important;
    }

    /* Общие стили для всех карточек документов */
    .carti.certif .card-text,
    .carti.gost .card-text,
    .carti.garantii .card-text,
    .carti.rekvizity .card-text {
        top: 25px;
        position: absolute;
        transform: none !important;
    }

    .carti.certif .card-description,
    .carti.gost .card-description,
    .carti.garantii .card-description,
    .carti.rekvizity .card-description {
        top: 70px;
        position: absolute;
        transform: none !important;
        transition: none;
    }

    .carti.certif:hover .card-text,
    .carti.gost:hover .card-text,
    .carti.garantii:hover .card-text,
    .carti.rekvizity:hover .card-text {
        transform: none !important;
    }

    .carti.certif:hover .card-description,
    .carti.gost:hover .card-description,
    .carti.garantii:hover .card-description,
    .carti.rekvizity:hover .card-description {
        transform: none !important;
        top: 70px;
    }

    /* Удаляем предыдущие индивидуальные стили */
    .carti:hover .card-text,
    .carti:hover .card-description {
        transform: none !important;
    }

    /* Стили для кнопки меню и мобильного логотипа */
    .menu-button {
        display: none; /* По умолчанию скрыта на десктопе */
        width: 42px;
        height: 42px;
        background: url('/bitrix/templates/pro1/./img/mobile.png') no-repeat center;
        background-size: contain;
        border: none;
        padding: 0;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* # Адаптивная верстка для 440px */
    @media screen and (max-width: 440px) {
        /* Показываем кнопку меню на мобильных устройствах */
        .menu-button {
            display: block;
        }

        /* Скрываем ненужные элементы */
        .nav-menu,
        .phone-number,
        .request-button {
            display: none;
        }
    }

    /* # Адаптивная верстка для 360px */
    @media screen and (max-width: 360px) {
        .menu-button {
            right: 16px; /* Уменьшаем отступ справа */
        }
    }
}

/* # Адаптивная верстка для 360px */
@media screen and (max-width: 360px) {
    body {
        padding: 0 16px; /* Уменьшаем боковые отступы */
        gap: 5px; /* Уменьшаем расстояние между элементами */
    }

    /* Адаптация хедера */
    .header {
        min-height: 60px;
        grid-template-columns: auto 42px; /* Изменяем на два столбца: для логотипа и кнопки меню */
        gap: 5px;
        padding: 12px 0; /* Добавляем отступы сверху и снизу */
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        grid-column: 1;
        height: 120px;
        width: 120px;
    }

    /* Скрываем ненужные элементы */
    .nav-menu,
    .phone-number,
    .request-button {
        display: none;
    }

    /* Стили для кнопки меню */
    .menu-button {
        grid-column: 2;
        width: 42px;
        height: 42px;
        background: none;
        border: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
    }

    /* Стили для полосок в кнопке меню */
    .menu-button span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: #1d1d1d;
        transition: transform 0.3s ease;
        margin: 0 auto;
    }

    /* Остальные стили для мобильной версии */
    .main-title {
        font-size: 26px;
        margin-top: 20px;
        letter-spacing: -0px;
        line-height: 33.6px;
    }

    .subtitle {
        font-size: 16px;
        margin-left: 0;
        margin-top: 20px;
        text-align: left;
    }

    .afterhero-image {
        width: 300%; /* Увеличиваем ширину до 200% */
        max-width: none; /* Убираем ограничение максимальной ширины */
        margin-left: -130%; /* Сдвигаем влево для центрирования */
        height: auto; /* Сохраняем пропорции */
        object-fit: cover; /* Обеспечиваем заполнение */
        margin-top: 30px;
    }

    .after-hero-title {
        font-size: 20px;
        margin-left: 0;
        margin-top: 120px;
        margin-left: -100px;
    }

    .after-hero-description {
        font-size: 14px;
        margin-left: 0;
        margin-top: 20px;
        line-height: 16.49px;
        margin-left: -95px;
    }

    .main-icon {
        width: 42px;
        margin-left: 0;
        margin-top: 20px;
        transform: translateX(-100px);
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .card {
        width: 100%;
        height: 196px;
        margin-bottom: 10px;
    }

    .card-1, .card-2, .card-3, .card-4 {
        grid-column: 1;
    }

    .card-icon {
        width: 42px;
        height: 42px;
        top: 20px;
        right: 20px;
    }

    .card-text {
        font-size: 16px;
        bottom: 20px;
    }

    .card-description {
        font-size: 13px;
        line-height: 15.31px;
    }

    .new-cards-container {
        grid-template-columns: 1fr;
    }

    .carti {
        width: 100%;
        height: 196px;
        margin-top: 10px;
        transform: none;
    }

    .carti.certif, .carti.gost, .carti.garantii, .carti.rekvizity {
        grid-column: 1;
        margin-top: 10px;
        margin-left: 0;
    }

    .card-icon-cert, .card-icon-gost, .card-icon-garantii, .card-icon-rekvizit {
        width: 33px;
        height: 30px;
        bottom: 20px;
        right: 20px;
    }

    .download-button-container {
        transform: none;
        left: 16px;
        bottom: 16px;
        transition: transform 0.3s ease;
    }

    .carti:hover .download-button-container {
        transform: translateY(-10px) !important; /* Приподнимаем кнопки при наведении */
    }

    .download-button {
        min-width: auto;
        height: 33px;
        font-size: 12px;
        margin-left: 0;
        transform: none;
    }

    .download-button-size {
        height: 33px;
        font-size: 12px;
        transform: none;
        margin-left: -17px; /* Небольшой отступ между кнопкой и размером */
        margin-top: 0px;
    }

    .contacts-cards-container {
        grid-template-columns: 1fr;
    }

    .contact-card {
        width: 100%;
        height: 182px;
        margin-top: 10px;
    }

    .contact-card-map, .contact-card-phone, .contact-card-email,
    .contact-card-hours, .contact-card-site1, .contact-card-site2,
    .contact-card-image-placeholder {
        grid-column: 1;
        margin-top: 10px;
    }

    .contact-card-label {
        font-size: 12px;
        top: 26px;
    }

    .contact-card-value {
        font-size: 14px;
        bottom: 16px;
    }

    .contact-card-icon {
        width: 30px;
        height: 27px;
        right: 20px;
        bottom: 16px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 40px;
        padding: 20px 0;
    }

    .footer-privacy,
    .footer-copyright {
        font-size: 12px;
    }

    /* Уменьшаем подъем текста при наведении для мобильной версии */
    .card:hover .card-text {
        bottom: 60px !important; /* Уменьшаем подъем */
    }

    /* Также корректируем для разных типов карточек */
    .card-1:hover .card-text,
    .card-2:hover .card-text {
        bottom: 100px !important;
    }

    .card-1:hover .card-text {
        bottom: 120px !important;
    }
    .card-3:hover .card-text {
        bottom: 80px !important;
    }
    .card-4:hover .card-text {
        bottom: 72px !important;
    }

    /* Корректируем позицию описания при наведении */
    .card:hover .card-description {
        bottom: 20px !important;
    }

    /* Сброс всех трансформаций при наведении */
    .carti:hover .download-button,
    .carti:hover .download-button-size {
        transform: none !important;
    }

    /* Уменьшаем размер текста для карточек carti и certif */
    .carti .card-text,
    .certif .card-text {
        font-size: 18px !important;
        line-height: 1.2;
        padding-right: 45px;
        top: 25px !important; /* Поднимаем текст выше */
        position: absolute;
    }

    .carti .card-description,
    .certif .card-description {
        font-size: 12px !important;
        line-height: 1.4;
        padding-right: 20px;
        padding-left: 20px;
        width: calc(100% - 40px); /* Ширина на всю карточку с учетом отступов */
        position: absolute;
        top: 80px; /* Позиционируем ниже заголовка */
        left: 0;
        right: 0;
    }

    /* Убираем лишние отступы и позиционирование */
    .carti:hover .card-description,
    .certif:hover .card-description {
        bottom: auto !important;
        top: 80px !important;
    }

    /* Изменяем размеры карточек продукции */
    .product-card {
        width: 328px !important;
        height: 292px !important;
        margin: 0 auto 10px auto;
    }

    /* Корректируем размер круглого изображения */
    .product-circular-image {
        width: 170px;
        height: 170px;
        top: 50%;
    }

    /* Корректируем размер и позицию логотипа */
    .product-logo-space {
        width: 65px;
        height: 65px;
        bottom: 15px;
        right: 15px;
    }

    .product-logo-space img {
        max-width: calc(100% - 20px);
        max-height: calc(100% - 20px);
        margin-right: 20px;
        margin-bottom: 20px;
    }

    /* Корректируем позицию заголовка */
    .product-card .product-title {
        font-size: 18px;
        margin-top: 25px;
        margin-left: 15px;
        text-align: left;
        transform: none;
        padding-right: 80px;
    }

    /* Дополнительно корректируем позицию для разных типов карточек */
    .product-card:nth-child(1) .product-title,
    .product-card:nth-child(8) .product-title,
    .product-card:nth-child(3) .product-title,
    .product-card:nth-child(6) .product-title {
        margin-top: 15px;
        margin-left: -12px;
    }

    /* Корректируем отступы для контейнера карточек */
    .product-cards-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* Сбрасываем grid-column для всех карточек */
    .product-card:nth-child(n) {
        grid-column: 1;
        margin-top: 10px;
    }
}

/* Медиа-запрос для экранов меньше 768px */
@media screen and (max-width: 768px) {
    /* Показываем кнопку меню */
    .menu-button {
        display: block;
    }

    /* Скрываем ненужные элементы */
    .nav-menu,
    .phone-number,
    .request-button {
        display: none;
    }
}

/* Дополнительные настройки для маленьких экранов */
@media screen and (max-width: 440px) {
    .menu-button {
        right: 20px;
    }
}

@media screen and (max-width: 360px) {
    .menu-button {
        right: 16px;
    }
}

/* End */
/* /bitrix/templates/pro1/styles.min.css?1753321788455 */
/* /bitrix/templates/pro1/template_styles.css?175444555579086 */
