/* hero */

.hero__wrap {
    padding: clamp(8.75rem, 6.88rem + 5.2vw, 13.125rem) 0 clamp(1.563rem, -3.915rem + 15.24vw, 14.375rem) clamp(0rem, -7.081rem + 19.7vw, 16.563rem);
    position: relative;
    max-width: 1100px;
}
/*.hero__wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 100%;
    fill: var(--white);
    filter: blur(120px);
    z-index: 0;
}*/
.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    z-index: 0;
    max-width: 1920px;
    width: 100%;
    overflow: hidden;
    height: 100%;
    user-select: none;
    -webkit-user-drag: none;
}
.hero_title {
    font-weight: 300;
    font-size: clamp(1.75rem, 0.548rem + 3.35vw, 4.563rem);
    line-height: 110%;
    color: var(--black-text);
    position: relative;
    z-index: 1;
}
.hero_title::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(255 255 255 / 90%);
    border-radius: 100%;
    fill: var(--white);
    filter: blur(80px);
    height: 400px;
    top: -60px;
    z-index: -1;
}
.hero__text {
    margin: 24px 0 0;
    font-size: clamp(1rem, 0.84rem + 0.45vw, 1.375rem);
    color: var(--black-text);
    position: relative;
    z-index: 1;
}
.hero__btn {
    margin: clamp(1.5rem, 0.939rem + 1.56vw, 2.813rem) 0 0;
    display: flex;
    align-items: center;
    gap: clamp(0.625rem, 0.465rem + 0.45vw, 1rem);
    position: relative;
    z-index: 1;
}
.hero__preims {
    padding: 0 0 clamp(1.875rem, 1.341rem + 1.49vw, 3.125rem);
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.hero__preims_item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 13px 20px;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--black-text);
    text-wrap-mode: nowrap;
    gap: 6px;
    display: flex;
    align-items: center;
    cursor: default;
}
.icon24 {
    width: 24px;
    height: 24px;
}


/* catalog */

.catalog_wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
}

/* 1 ряд */
.catalog_section:nth-child(1) { grid-column: 1 / 2; grid-row: 1; }
.catalog_section:nth-child(2) { grid-column: 2 / 3; grid-row: 1; }
.catalog_section:nth-child(3) { grid-column: 3 / 4; grid-row: 1; }
.catalog_section:nth-child(4) { grid-column: 4 / 5; grid-row: 1; }

/* 2 ряд — широкая слева */
.catalog_section:nth-child(5) { grid-column: 1 / 3; grid-row: 2; } /* wide */
.catalog_section:nth-child(6) { grid-column: 3 / 4; grid-row: 2; }
.catalog_section:nth-child(7) { grid-column: 4 / 5; grid-row: 2; }

/* 3 ряд — широкая по центру */
.catalog_section:nth-child(8)  { grid-column: 1 / 2; grid-row: 3; }
.catalog_section:nth-child(9)  { grid-column: 2 / 4; grid-row: 3; } /* wide */
.catalog_section:nth-child(10) { grid-column: 4 / 5; grid-row: 3; }

/* 4 ряд — широкая справа */
.catalog_section:nth-child(11) { grid-column: 1 / 2; grid-row: 4; }
.catalog_section:nth-child(12) { grid-column: 2 / 3; grid-row: 4; }
.catalog_section:nth-child(13) { grid-column: 3 / 5; grid-row: 4; } /* wide */

/* 5 ряд — широкая слева */
.catalog_section:nth-child(14) { grid-column: 1 / 3; grid-row: 5; } /* wide */
.catalog_section:nth-child(15) { grid-column: 3 / 4; grid-row: 5; }
.catalog_section:nth-child(16) { grid-column: 4 / 5; grid-row: 5; }

.catalog_section {
    background: var(--blue3);
    font-size: clamp(1.125rem, 0.965rem + 0.45vw, 1.5rem);
    line-height: 130%;
    color: var(--white);
    /*border: 1px solid var(--blue3);*/
    border-radius: 15px;
    padding: clamp(1.25rem, 0.716rem + 1.49vw, 2.5rem);
    height: 255px;

    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
}

/* Белая заливка, которая раскрывается из кружка .more */
.catalog_section::before{
    content:"";
    position:absolute;
    inset:0;
    background:#fff;
    z-index:0;
    clip-path: circle(0px at var(--rx, 60px) var(--ry, 170px));
    transition: clip-path 1400ms cubic-bezier(.16, 1, .3, 1);
    will-change: clip-path;
}

/* СИНЕЕ состояние */
.catalog_section_inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;

    position: relative;
    z-index: 2;

    /* плавно убираем синий слой */
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
      opacity 520ms cubic-bezier(.16, 1, .3, 1),
      transform 520ms cubic-bezier(.16, 1, .3, 1);
}

/* Кружок со стрелкой (один раз, без дублей) */
.catalog_section .more {
    width: clamp(3.125rem, 2.724rem + 1.12vw, 4.063rem);
    min-width: clamp(3.125rem, 2.724rem + 1.12vw, 4.063rem);
    height: clamp(3.125rem, 2.724rem + 1.12vw, 4.063rem);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--white);
    border-radius: 50px;

    color: var(--white); /* для currentColor */
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 520ms cubic-bezier(.16, 1, .3, 1),
      transform 520ms cubic-bezier(.16, 1, .3, 1);
    will-change: opacity, transform;
}

/* Стрелка */
.catalog_section .more svg {
    stroke: var(--white);
}

/* HOVER слой (картинка + подпись как на скрине) */
.catalog_hover{
    position:absolute;
    inset:0;
    z-index:1; /* над белой заливкой */
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;
    padding: clamp(1.25rem, 0.716rem + 1.49vw, 2.5rem);

    opacity:0;
    transform: translateY(10px) scale(0.985);
    pointer-events:none;

    transition:
      opacity 1020ms cubic-bezier(.16, 1, .3, 1),
      transform 1020ms cubic-bezier(.16, 1, .3, 1);
    transition-delay: 160ms;
}

.catalog_hover .img{
    display:block;
}
.catalog_hover .img img{
    display:block;
    width: min(260px, 75%);
    height:auto;
    mix-blend-mode: multiply;
}

.catalog_hover .name{
    color: var(--blue3);
    font-size: 18px;
    text-align:center;
    line-height: 130%;
}

/* Твоя сетка — оставляем */
.catalog_section:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1;
}

.catalog_section:hover{
    background: var(--blue3);
    border-color: var(--blue3);
    color: var(--white);
    font-size: clamp(1.125rem, 0.965rem + 0.45vw, 1.5rem);
}

/* Анимации hover */
.catalog_section:hover::before,
.catalog_section:focus-visible::before{
    clip-path: circle(150% at var(--rx, 60px) var(--ry, 170px));
    transition: clip-path 2400ms cubic-bezier(.16, 1, .3, 1);
}

.catalog_section:hover .catalog_section_inner,
.catalog_section:focus-visible .catalog_section_inner{
    opacity:0;
    transform: translateY(-8px) scale(0.99);
}

.catalog_section:hover .catalog_hover,
.catalog_section:focus-visible .catalog_hover{
    opacity:1;
    transform: translateY(0) scale(1);
}

.catalog_section:hover .more,
.catalog_section:focus-visible .more{
    opacity:0;
    transform: translateY(-6px);
    pointer-events:none;
}

/* Доступность */
.catalog_section:focus-visible{
    outline:none;
}

/* Уважение к reduced-motion */
@media (prefers-reduced-motion: reduce){
    .catalog_section::before,
    .catalog_section_inner,
    .catalog_hover,
    .catalog_section .more{
        transition: none !important;
    }
}

.catalog_list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
}
.catalog_list_item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    padding: clamp(0.75rem, 0.002rem + 2.08vw, 2.5rem) clamp(0.75rem, 0.269rem + 1.34vw, 1.875rem) clamp(1.25rem, 0.555rem + 1.93vw, 2.875rem);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    height: 100%;
    line-height: 130%;
    color: var(--black-text);
}
.catalog_list_inner {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 0.403rem + 0.97vw, 1.563rem);
    justify-content: space-between;
    height: 100%;
}


/* about */


.about_wrap {
    gap: clamp(2.5rem, 1.966rem + 1.49vw, 3.75rem);
    display: flex;
    flex-direction: column;
}
.about_wrap_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(2.5rem, 1.698rem + 2.23vw, 4.375rem);
}
.about_text {
    margin: clamp(1.25rem, 0.983rem + 0.74vw, 1.875rem) 0;
}
.about_subtitle {
    font-weight: 600;
    font-size: clamp(1.125rem, 0.965rem + 0.45vw, 1.5rem);
    color: var(--black-text);
}
.about_content {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.about_img {
    width: 100%;
    max-width: clamp(25rem, 16.343rem + 24.09vw, 45.25rem);
}
.about_preim {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(49deg, #123673 22.68%, #3cc9c6 100%), var(--blue2);
    padding: clamp(1.875rem, 1.741rem + 0.37vw, 2.188rem) clamp(0.938rem, -1.2rem + 5.95vw, 5.938rem);
    border-radius: var(--border-radius);
}
.about_preim .num {
    font-weight: 300;
    font-size: clamp(3.438rem, 3.304rem + 0.37vw, 3.75rem);
    line-height: 100%;
    text-align: center;
    color: var(--white);
}
.about_preim .num sup {
    font-size: 20px;
    line-height: 100%;
    color: var(--white);
    vertical-align: top;
}
.about_preim .name {
    font-size: 18px;
    line-height: 130%;
    text-align: center;
    color: var(--white);
    margin: 8px 0 0;
}
.about_preim__item {
    position: relative;
    flex: 1;
}
.about_preim__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 80%;
    border-right: 1px solid var(--white);
}
.btn_about {
    display: flex;
    gap: 20px;
}
.about_video {
    cursor: pointer;
}
.play_btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play_btn .img svg {
    width: clamp(1.063rem, 0.956rem + 0.3vw, 1.313rem);
    margin: 0 0 0 4px;
}
.play_btn .img {
    border-radius: 100%;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-accent);
    z-index: 2;
    position: relative;
    overflow: visible;
}
.play_text {
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    width: clamp(11.875rem, 11.207rem + 1.86vw, 13.438rem);
    height: clamp(3.75rem, 3.616rem + 0.37vw, 4.063rem);
    margin: 0 0 0 -40px;
    padding: 0 0 0 65px;
    z-index: 0;
    align-items: center;
    font-size: clamp(0.875rem, 0.822rem + 0.15vw, 1rem);
    line-height: 110%;
    color: var(--blue3);
}
.play_btn .img::before,.play_btn .img::after {
    content: '';
    position: absolute;
    border: 1px solid var(--white);
    left: -15px;
    opacity: 0;
    right: -15px;
    top: -15px;
    bottom: -15px;
    border-radius: 50%;
    animation: play 4s linear infinite;
    transition: 0.3s;
}
.play_btn .img::after {
    animation-delay: 2s
}
.about_video:hover .play_btn .img {
    background: var(--green);
}

/* Services */

.services_wrap {
    display: flex;
    flex-direction: column;
}
.service_list {
    display: flex;
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.service_list_item {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 0.716rem + 1.49vw, 2.5rem);
    align-items: center;
}
.service_list_item:nth-child(2n) {
    width: 45%;
    flex-direction: column-reverse;
}
.service_list_item .text {
    max-width: 500px;
}
.service_list_item .img {
    border-radius: var(--border-radius);
}
.services_items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 0.429rem + 0.89vw, 1.5rem);
}
.services_item {
    background: #ebf1f4;
    border-radius: var(--border-radius);
    padding: clamp(1.25rem, 1.116rem + 0.37vw, 1.563rem) clamp(1.563rem, 1.429rem + 0.37vw, 1.875rem);
    display: flex;
    align-items: center;
    flex: 1 30%;
    gap: 10px;
    justify-content: space-between;
    font-size: clamp(1rem, 0.893rem + 0.3vw, 1.25rem);
    color: var(--blue3);
}
.more_circle {
    border: 1px solid var(--white);
    border-radius: 50px;
    background: var(--white);
    width: 50px;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.more_circle svg {
    stroke: var(--blue3);
}
.services_item:hover {
    background: var(--blue3);
    color: var(--white);
}
.services_item:hover .more_circle {
    background: transparent;
}
.services_item:hover .more_circle svg {
    stroke: var(--white);
}


/* laboratory */

.laboratory_img {
    display: flex;
    gap: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
}
.laboratory_img .img {
    border-radius: var(--border-radius);
    flex: 1;
}
.laboratory_items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 0.429rem + 0.89vw, 1.5rem);
}
.laboratory_items .services_item {
    flex: 1 40%;
}
.laboratory_section{
  --row: 320px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: var(--row);
  gap: var(--gap);

  grid-template-areas:
    "a b c d"
    "e f f g"
    "h h i g";
}

/* чтобы ссылка растягивалась на всю ячейку грида */
.laboratory_section > .laboratory_section_item{
  height: 100%;
  min-height: 0;
}

/* Раскладка как на скрине (по твоему порядку в HTML) */
.laboratory_section > .laboratory_section_item:nth-child(1){ grid-area: a; } /* Проектирование */
.laboratory_section > .laboratory_section_item:nth-child(2){ grid-area: b; } /* Контроль экспл. параметров */
.laboratory_section > .laboratory_section_item:nth-child(6){ grid-area: c; } /* Электротехнические испытания */
.laboratory_section > .laboratory_section_item:nth-child(4){ grid-area: d; } /* Испытания СИЗ */
.laboratory_section > .laboratory_section_item:nth-child(5){ grid-area: e; } /* Контроль физ. факторов */
.laboratory_section > .laboratory_section_item:nth-child(7){ grid-area: f; } /* Сан-эпид + лицензия (широкая) */
.laboratory_section > .laboratory_section_item:nth-child(3){ grid-area: g; } /* Дозиметрический контроль (высокая) */
.laboratory_section > .laboratory_section_item:nth-child(8){ grid-area: h; } /* Ремонт (широкая) */
.laboratory_section > .laboratory_section_item:nth-child(9){ grid-area: i; } /* Продажа */

/* Чтобы текст не раздувал высоту карточек */
.laboratory_section .laboratory_section_item .name{
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}




/* how work */
.work {
    overflow: hidden;
}
.how_work::before {
    content: "МЕДИМАКС";
    position: absolute;
    margin: auto;
    left: 50%;
    top: -5vw;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0.03;
    font-weight: 300;
    font-size: clamp(3.125rem, -3.555rem + 18.59vw, 18.75rem);
    line-height: 100%;
    color: var(--blue3);
    z-index: 0;
    user-select: none;
    -webkit-user-drag: none;
}
.how_work_wrap {
    display: flex;
    gap: clamp(1.875rem, 0.673rem + 3.35vw, 4.688rem);
    align-items: flex-start;
}
.how_work_l {
    width: 46%;
}
.how_work_r {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 0.983rem + 0.74vw, 1.875rem);
    padding-left: 40px;
    position: relative;
    width: 50%;
}
.how_work_r::before {
    content: "";
    position: absolute;
    left: 11.5px;
    border-left: 1px solid rgba(119, 161, 181, 0.5);
    height: 92%;
    top: 0;
    bottom: 0;
    margin: auto;
}
.how_work_item {
    font-size: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
    font-weight: 500;
    line-height: 140%;
    color: var(--black-text);
    position: relative;
}
.how_work_item::before {
    content: url(/img/icon/check_work.svg);
    width: 24px;
    height: 24px;
    display: inline-block;
    position: absolute;
    left: -40px;
    top: 3px;
}
.work_page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.063rem, 0.822rem + 0.67vw, 1.625rem);
}


/* form_offer */

.form_offer_wrap {
    display: flex;
    gap: clamp(1.25rem, 0.716rem + 1.49vw, 2.5rem);
}
.form_offer .blue_box::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url(/img/bg/bg_form_offer.webp);
    mix-blend-mode: overlay;
    user-select: none;
    -webkit-user-drag: none;
}
.form_offer_img {
    width: clamp(25rem, 14.232rem + 29.96vw, 50.188rem);
    max-width: 790px;
}


/* agree form */

.form_agree_wrap .feedback__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.form_agree_wrap .agree {
    margin: 0;
}
.form_agree .heading {
    margin: 0 0 16px;
}
.subtitle_form {
    font-weight: 300;
    font-size: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
}
.subtitle_form span {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--green);
}
.form_agree .blue_box::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url(/img/bg/bg_form_offer.webp);
    mix-blend-mode: overlay;
    user-select: none;
    -webkit-user-drag: none;
}


/* info */

.info {
    overflow: hidden;
}
.infoSlider {
    overflow: visible;
}
.info_item {
    aspect-ratio: 3 / 4.2;
    border-radius: var(--border-radius);
    overflow: hidden;
    padding: clamp(1rem, 0.305rem + 1.93vw, 2.625rem) clamp(1.125rem, 0.938rem + 0.52vw, 1.563rem) clamp(2.188rem, 1.92rem + 0.74vw, 2.813rem);
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background-size: 100%;
    cursor: pointer;
    position: relative;
}
.info_item::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 101%;
    height: 41%;
    z-index: 0;
    background: linear-gradient(180deg, rgb(255 255 255 / 81%) 0%, rgb(255 255 255 / 63%) 60%, transparent 100%);
}
.info_inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}
.info_row.data {
    display: flex;
    justify-content: space-between;
    font-size: clamp(0.875rem, 0.822rem + 0.15vw, 1rem);
    color: var(--black-text);
    line-height: 1;
}
.tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.tag {
    font-size: clamp(1rem, 0.947rem + 0.15vw, 1.125rem);
    color: var(--blue3);
    background: var(--white);
    padding: 8px 22px;
    border-radius: 10px;
    border-radius: 25px;
}
.info_item .title {
    font-weight: 600;
    font-size: clamp(1.25rem, 1.036rem + 0.59vw, 1.75rem);
    line-height: 120%;
    color: var(--black-text);
}
.eye {
    display: flex;
    align-items: center;
    gap: 8px;
}
.info_item .more_circle {
    position: absolute;
    bottom: clamp(2.188rem, 1.92rem + 0.74vw, 2.813rem);
    right: clamp(1.125rem, 0.938rem + 0.52vw, 1.563rem);
    width: clamp(3.125rem, 2.697rem + 1.19vw, 4.125rem);
    height: clamp(3.125rem, 2.697rem + 1.19vw, 4.125rem);
}
.info_item:hover {
    background-size: 110%;
    box-shadow: 0 10px 20px rgb(19 56 119 / 20%);
}
.info_item:hover .info_row {
  transform: translateY(-8px);
}
.info_item:hover .more_circle svg {
  transform: rotate(45deg);
}
.info_row {
  transition: transform 0.5s ease;
}
.more_circle svg {
  transition: transform 0.5s ease;
}
.info_wrap.info_page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
}

/* brands */

.brand_wrap {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
    align-items: stretch;
}

.brand_item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: clamp(0.75rem, 0.403rem + 0.97vw, 1.563rem);
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.brand_item img {
    mix-blend-mode: multiply;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
    max-width: 150px;
}



/* contacts */

.contact_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
    row-gap: clamp(1.875rem, 1.608rem + 0.74vw, 2.5rem);
}
.contact_item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact_item .title {
    font-weight: 600;
    font-size: clamp(1rem, 0.947rem + 0.15vw, 1.125rem);
    line-height: 110%;
    color: var(--black-text);
    margin: 0 0 10px;
}
.contact_item .val {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}
.contact_item a:hover {
    color: var(--green);
}
.map__location {
    height: 465px;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.map {
    position: absolute;
    overflow: hidden;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 0 15px 15px;
}
.page_contacts {
    border-radius: 15px;
}
.page_contacts .contact_wrap {
    padding-left: clamp(1rem, -1.779rem + 7.73vw, 7.5rem);
    padding-right: clamp(1rem, -0.71rem + 4.76vw, 5rem);
}


/* services */

.content_block {
    padding: clamp(1rem, -0.176rem + 3.27vw, 3.75rem);
    background: var(--white);
    border-radius: var(--border-radius);
    position: relative;
    z-index: 1;
}
.content_img {
    float: right;
}
.content_img {
    margin: 0 0 clamp(1.25rem, 0.048rem + 3.35vw, 4.063rem) clamp(1.25rem, 0.048rem + 3.35vw, 4.063rem);
}
.content_img img {
    margin: 0;
    max-width: clamp(24.875rem, 16.806rem + 22.45vw, 43.75rem);
    width: 100%;
}

.services_section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
    position: relative;
    z-index: 1;
}
.services_section_item {
    background: var(--blue3);
    font-size: clamp(1.125rem, 0.965rem + 0.45vw, 1.5rem);
    line-height: 130%;
    color: var(--white);
    border: 1px solid var(--blue3);
    border-radius: 15px;
    padding: clamp(1.25rem, 0.716rem + 1.49vw, 2.5rem);
    height: 320px;
    cursor: pointer;
    transition: 0.3s;
}
.services_section_inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 15px;
}
.services_section .more svg {
    stroke: var(--white);
}
.services_section .more {
    width: clamp(3.125rem, 2.724rem + 1.12vw, 4.063rem);
    min-width: clamp(3.125rem, 2.724rem + 1.12vw, 4.063rem);
    height: clamp(3.125rem, 2.724rem + 1.12vw, 4.063rem);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--white);
    border-radius: 50px;
}
.services_section_item:hover {
    background: var(--green);
    border: 1px solid var(--green);
    transition: 0.3s;
}
.wpop {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* license */

.license_wrap {
    overflow: hidden;
}
.blue_nav .more_circle {
    border: 1px solid var(--clr-accent);
}
.license_text {
    margin: 15px 0 0;
}


/* work */

.workSlider {
    overflow: visible;
}
.work_modal {
    border-radius: var(--border-radius);
    max-width: 1200px;
    width: 100%;
    padding: 0;
}
.work_modal_wrap {
    padding: clamp(1rem, -0.71rem + 4.76vw, 5rem) clamp(1rem, -0.71rem + 4.76vw, 5rem) 0;
}
.work_modal .form_consult {
    padding: 0 clamp(1rem, -0.71rem + 4.76vw, 5rem) clamp(1rem, -0.71rem + 4.76vw, 5rem);
}

/* form consult */

.form_consult .h2 {
    font-size: clamp(1.75rem, 1.296rem + 1.26vw, 2.813rem);
}
.form_consult .feedback__btn {
    display: flex;
    align-items: center;
    gap: 20px;
}
.form_consult .btn {
    max-width: 460px;
    width: 100%;
}
.work_gallery_thumbs {
  overflow: hidden;
}
.work_gallery_thumbs .swiper-wrapper {
    flex-wrap: nowrap !important;
    display: flex;
    flex-direction: row;
}
.work_gallery_thumbs .swiper-slide {
  height: 112px !important;
  box-sizing: border-box;
  cursor: pointer;
  opacity: 0.6;
    width: 124px;
}
.work_gallery_thumbs .swiper-slide-thumb-active {
  opacity: 1;
}
.work_gallery .slider_nav {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 50%;
    align-items: center;
    top: 0;
    padding: 0 clamp(1.25rem, 0.716rem + 1.49vw, 2.5rem);
}


/* products ms */
.popular {
    overflow: hidden;
}
.category {
    gap: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.ms2_product {
    background: var(--white);
    padding: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
    border-radius: var(--border-radius);
    position: relative;
}
.ms2_product .ms2_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}
.flags {
    position: absolute;
    right: clamp(0.75rem, 0.643rem + 0.3vw, 1rem);
    top: clamp(0.75rem, 0.59rem + 0.45vw, 1.125rem);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: clamp(0.188rem, 0.054rem + 0.37vw, 0.5rem);
}
.flags .badge {
    font-size: clamp(0.625rem, 0.572rem + 0.15vw, 0.75rem);
    line-height: 150%;
    color: var(--white);
    border-radius: 50px;
    padding: 2px 10px;
    cursor: default;
    z-index: 2;
}
.new_flags {
    background: #1eba7c;
}
.popular_flags {
    background: #1eaaba;
}
.favorite_flags {
    background: #6885b7;
}
.title_product {
    font-size: clamp(0.813rem, 0.732rem + 0.22vw, 1rem);
    font-weight: 600;
    line-height: 130%;
    color: var(--black-text);
    display: inline-block;
}
.title_product:hover {
    text-decoration: underline;
    color: var(--blue3);
}
.contry_logo {
    font-size: clamp(0.75rem, 0.697rem + 0.15vw, 0.875rem);
    font-weight: 400;
    line-height: 120%;
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}
.ms2_product_content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ms2_product_img a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ms2_product_btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ms2_product_bnc {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: clamp(0.75rem, 0.536rem + 0.59vw, 1.25rem);
}
.ms2_product_content .price {
    font-weight: 500;
    color: var(--black-text);
}



/* product page */

.product_wrap {
    display: flex;
    gap: clamp(1.375rem, 0.092rem + 3.57vw, 4.375rem);
    align-items: flex-start;
}
.product_gallery {
    width: 100%;
    max-width: clamp(25rem, 20.191rem + 13.38vw, 36.25rem);
    padding: 0 0 2px 0;
}
.product_h1 {
    font-size: clamp(1.5rem, 1.072rem + 1.19vw, 2.5rem);
    margin: 0 0 clamp(1.563rem, 1.429rem + 0.37vw, 1.875rem);
}
.product_content {
    width: 100%;
}
.product_desc_item .name {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    cursor: pointer;
    font-weight: 500;
    font-size: clamp(1rem, 0.786rem + 0.59vw, 1.5rem);
    line-height: 140%;
    color: var(--blue3);
}
.product_desc_item .name svg {
    position: absolute;
    right: 0;
}
.product_desc_item .content {
    line-height: 140%;
    margin: clamp(0.75rem, 0.403rem + 0.97vw, 1.563rem) 0 0;
}
.product_desc_item.active .name svg {
    transform: rotate(180deg);
}
.product_desc {
    display: flex;
    flex-direction: column;
}
.product_desc_item {
    border-bottom: 1px solid var(--gray-blue);
    margin: 0 0 clamp(0.938rem, 0.804rem + 0.37vw, 1.25rem);
    padding: 0 0 clamp(0.938rem, 0.804rem + 0.37vw, 1.25rem);
}
.article_number {
    margin: 0 0 clamp(0.938rem, 0.804rem + 0.37vw, 1.25rem);
}
.contry_logo_prod {
    margin: 0 0 clamp(0.938rem, 0.804rem + 0.37vw, 1.25rem);
}
.price_product {
    font-size: clamp(1.5rem, 1.34rem + 0.45vw, 1.875rem);
    margin: 0 0 clamp(1.563rem, 1.429rem + 0.37vw, 1.875rem);
    color: var(--blue3);
    font-weight: 500;
}
.product_item_big {
    cursor: pointer;
}






/* ms filter */

.category_wrap {
    display: flex;
    align-items: flex-start;
    gap: clamp(1.063rem, 0.715rem + 0.97vw, 1.875rem);
}
.sidebar {
    max-width: 340px;
    background: var(--white);
    border-radius: var(--border-radius);
    width: 100%;
    padding: 40px 20px;
}
.category_items {
    width: 100%;
}
.sidebar fieldset {
    border: 0;
}
.prod_sort {
    display: flex;
    gap: 5px;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: var(--black-text);
    border: 1px solid var(--blue2);
    border-radius: 100px;
    padding: 8px 18px;
    width: max-content;
    color: var(--blue2);
}
.prod_sort span {
    color: var(--black-text);
}
.filter_title {
    font-weight: 600;
    line-height: 130%;
    color: var(--black-text);
    border-bottom: 1px solid var(--green);
    padding: 0 0 8px;
    margin: 0 0 20px;
}
.filter_wrap .filter_label_name {
    font-size: 16px;
    line-height: 130%;
    color: var(--black-text);
    position: relative;
    padding: 0 10px 0 0;
}
.filter_wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.filter_label_name sup {
    position: absolute;
    bottom: 6px;
    color: var(--green);
    font-size: 13px;
}
.sidebar .ui-slider-handle {
    border: 1px solid var(--green)!important;
    border-radius: 100%;
    background: var(--green)!important;
}
.sidebar .ui-slider-horizontal {
    height: 1px!important;
}
.sidebar #mse2_filters .mse2_number_slider {
    font-size: 0.9em;
    position: relative;
    display: flex;
    align-items: center;
}
.sidebar .ui-slider-horizontal .ui-slider-handle {
    top: auto;
    cursor: pointer;
}
.mse2_number_inputs {
    display: flex;
    margin: 0 0 25px;
    gap: 14px;
}
#mse2_ms\|price .mse2_number_inputs span {
    display: none;
}
.mse2_number_inputs input {
    width: auto;
    border: 1px solid rgba(119, 161, 181, 0.25);
    border-radius: 4px;
    padding: 8px 12px;
    max-width: 117px;
}
.ui-slider .ui-slider-range {
    border-top: 1px solid var(--green) !important;
    border-bottom: 0 !important;
    top: -1px !important;
}
.ui-widget.ui-widget-content {
    border-top: 1px solid rgb(119 162 182 / 25%) !important;
    border-bottom: 0 !important;
}
.filter_label_name .vendor_logo {
    vertical-align: text-top;
    width: 18px;
}
#mse2_sort a.sort, #mse2_tpl a.sort {
    color: black;
    text-decoration: none;
    cursor: pointer!important;
}
.doc_item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Etap */


.etap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.etap_img img {
    margin: 0;
}
.etap_item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #f5cdd4;
}

.etap_icon {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.etap_icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.etap_name {
    font-size: clamp(1.125rem, 1.018rem + 0.3vw, 1.375rem);
    line-height: 1.25;
    font-weight: 500;
}


ol.steps_timeline {
    position: relative;
    margin: 32px 0;
    padding: 0 !important;
    list-style: none !important;
    counter-reset: steps;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
    gap: 24px 0;
}

ol.steps_timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: #dff3f3;
    transform: translateX(-50%);
}

ol.steps_timeline > li {
    counter-increment: steps;
    position: relative;
    margin: 0 !important;
    padding: 22px 24px 22px 74px !important;
    border-radius: 22px;
    background: #E8EDF6;
    color: #26374f;
    font-size: 17px;
    line-height: 1.45;
    box-shadow: 0 12px 30px rgba(19, 58, 68, 0.05);
}

ol.steps_timeline > li::marker {
    content: "" !important;
}

ol.steps_timeline > li:nth-child(odd) {
    grid-column: 1;
}

ol.steps_timeline > li:nth-child(even) {
    grid-column: 3;
}

ol.steps_timeline > li::before {
    content: counter(steps);
    position: absolute;
    left: 22px;
    top: 22px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #20c7c9;
    color: #ffffff;
    font-size: 15px;
    line-height: 34px;
    font-weight: 700;
    text-align: center;
}

ol.steps_timeline > li::after {
    content: "";
    position: absolute;
    top: 34px;
    width: 28px;
    height: 2px;
    background: #dff3f3;
}

ol.steps_timeline > li:nth-child(odd)::after {
    right: -46px;
}

ol.steps_timeline > li:nth-child(even)::after {
    left: -46px;
}

ol.steps_timeline strong,
ol.steps_timeline b {
    color: #17263b;
    font-weight: 700;
}



.calc_request {
    margin: 56px 0;
}

.calc_request_content {
    position: relative;
    padding: 48px 56px;
    border-radius: 30px;
    background: #f4fbfb;
    overflow: hidden;
}

.calc_request_content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 36px;
    bottom: 36px;
    width: 4px;
    border-radius: 0 8px 8px 0;
    background: #20c7c9;
}

.calc_request_info {
    position: relative;
    z-index: 1;
    max-width: 880px;
    padding-left: 4px;
}

.calc_request_label,
.calc_request_list,
.calc_request_form_title {
    display: none;
}

.calc_request_title {
    max-width: 820px;
    margin: 0 0 18px;
    color: #0b3438;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.calc_request_text {
    max-width: 880px;
    margin: 0;
    color: #536174;
    font-size: 18px;
    line-height: 1.5;
}

.calc_request_form {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 30px;
    padding: 22px;
    border: 1px solid rgba(32, 199, 201, 0.14);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 52, 56, 0.06);
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr 220px;
    gap: 14px 16px;
    align-items: end;
}

.calc_request_field {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.calc_request_field span {
    color: #596477;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
}

.calc_request_field input,
.calc_request_field textarea {
    display: block;
    width: 100%;
    height: 52px;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #d3e4e7;
    border-radius: 16px;
    background: #f9fcfc;
    color: #26374f;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.35;
    outline: none;
    box-sizing: border-box;
    resize: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.calc_request_field input:hover,
.calc_request_field textarea:hover {
    border-color: #bfd8dc;
    background: #ffffff;
}

.calc_request_field input:focus,
.calc_request_field textarea:focus {
    border-color: #20c7c9;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(32, 199, 201, 0.12);
}

.calc_request_btn {
    order: 1;
    width: 100%;
    height: 52px;
    padding: 14px 20px;
    border: 0;
    border-radius: 16px;
    background: #20c7c9;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(32, 199, 201, 0.24);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.calc_request_btn:hover {
    background: #18b8ba;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(32, 199, 201, 0.3);
}

.calc_request_btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(32, 199, 201, 0.2);
}

.calc_request_agree {
    order: 2;
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #758092;
    font-size: 12px;
    line-height: 1.35;
    cursor: pointer;
}
.calc_request_agree .agree {
    margin: 0;
    font-weight: 400;
    font-size: clamp(0.75rem, 0.723rem + 0.07vw, 0.813rem);
    line-height: 120%;
    color: var(--gray-blue);
}
.calc_request_agree .agree img {
    margin-bottom: 0;
}


@media (max-width: 1100px) {
    .calc_request_content {
        padding: 40px;
    }

    .calc_request_form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .calc_request_btn {
        grid-column: 1 / -1;
    }

    .calc_request_agree {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .calc_request {
        margin: 36px 0;
    }

    .calc_request_content {
        padding: 28px 18px;
        border-radius: 24px;
    }

    .calc_request_content::before {
        top: 28px;
        bottom: 28px;
    }

    .calc_request_title {
        font-size: 25px;
        line-height: 1.22;
    }

    .calc_request_text {
        font-size: 16px;
    }

    .calc_request_form {
        margin-top: 24px;
        padding: 18px;
        border-radius: 20px;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .calc_request_btn,
    .calc_request_agree {
        grid-column: auto;
    }
}

ul.info_list {
    margin: 28px 0 32px;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

ul.info_list > li {
    position: relative;
    margin: 0;
    padding: 22px 24px;
    border-radius: 20px;
    background: #E8EDF6;
    color: #113977;
    font-size: 17px;
    line-height: 1.45;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(17, 57, 119, 0.06);
}

ul.info_list > li::marker {
    content: "";
}

ul.info_list > li::before {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 0;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: #E2697E;
}

ul.info_list > li::after {
    display: none;
    content: none;
}

ul.info_list strong,
ul.info_list b {
    color: #113977;
    font-weight: 700;
}

@media (max-width: 767px) {
    ul.info_list {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 22px 0 28px;
    }

    ul.info_list > li {
        padding: 18px 20px;
        border-radius: 18px;
        font-size: 16px;
    }

    ul.info_list > li::before {
        left: 20px;
        right: 20px;
    }
}

.phone_form .feedback__items input {
    background: #E4ECF9;
}
.phone_form .agree {
    margin: clamp(1.563rem, 1.429rem + 0.37vw, 1.875rem) 0 0;
}


.v1 {
    padding: 38px 22px 20px;
}

.v1-head {
    position: relative;
    width: min(420px, 100%);
    margin: 0 auto 72px;
    padding: 26px 30px;
    border: 1px solid var(--blue-gray);
    border-radius: 18px;
    background: var(--clr-wrapper);
    text-align: center;
}

.v1-head::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: 52px;
    background: #d7e3e5;
    transform: translateX(-50%);
}

.v1-head strong {
    display: block;
    margin-bottom: 7px;
    color: #12353c;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.2;
}

.v1-head span {
    color: #667b80;
    font-size: 17px;
    line-height: 1.4;
}

.v1-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.v1-grid::before {
    content: "";
    position: absolute;
    top: -22px;
    right: 12.5%;
    left: 12.5%;
    height: 1px;
    background: #d7e3e5;
}

.v1-item {
    --accent: #21b7bd;

    position: relative;
    padding: 31px 18px 22px;
    border-top: 2px solid var(--accent);
    text-align: center;
}

.v1-item::before {
    content: "";
    position: absolute;
    top: -36px;
    left: 50%;
    width: 24px;
    height: 24px;
    border: 5px solid #ffffff;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(-50%);
}

.v1-item.cyan {
    --accent: #21b7bd;
}

.v1-item.yellow {
    --accent: #eab947;
}

.v1-item.green {
    --accent: #6caf55;
}

.v1-item h2 {
    min-height: 52px;
    margin: 0 0 14px;
    color: #12353c;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.v1-item p {
    margin: 0;
    color: #667b80;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

@media (max-width: 950px) {
    .v1-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 54px;
    }

    .v1-grid::before {
        display: none;
    }

    .v1-item::before {
        top: -8px;
    }
}

@media (max-width: 620px) {
    .v1 {
        padding: 25px 0 10px;
    }

    .v1-head {
        margin-bottom: 38px;
        padding: 22px 20px;
        border-radius: 15px;
    }

    .v1-head::after {
        display: none;
    }

    .v1-head strong {
        font-size: 27px;
    }

    .v1-head span {
        font-size: 16px;
    }

    .v1-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .v1-item {
        padding-right: 10px;
        padding-left: 10px;
    }

    .v1-item h2 {
        min-height: 0;
    }
}