:root {
    --color-dark: #1B2636;
    --color-accent: #009999;
    --color-gray: #546378;
    --color-light: #F3F5FD;
    --header-height: 115px;
}

@font-face {
    font-style: normal;
    font-weight: 400;
    font-family: "Poppins";
    font-display: swap;
    src: url("../fonts/Poppins-Regular.woff2") format("woff2");
}

@font-face {
    font-style: normal;
    font-weight: 500;
    font-family: "Poppins";
    font-display: swap;
    src: url("../fonts/Poppins-Medium.woff2") format("woff2");
}

@font-face {
    font-style: normal;
    font-weight: 600;
    font-family: "Poppins";
    font-display: swap;
    src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
}

@font-face {
    font-style: normal;
    font-weight: 700;
    font-family: "Poppins";
    font-display: swap;
    src: url("../fonts/Poppins-Bold.woff2") format("woff2");
}
@font-face {
    font-style: normal;
    font-weight: 400;
    font-family: "Open Sans";
    font-display: swap;
    src: url("../fonts/OpenSans-Regular.woff2") format("woff2");
}

@font-face {
    font-style: normal;
    font-weight: 500;
    font-family: "Open Sans";
    font-display: swap;
    src: url("../fonts/OpenSans-Medium.woff2") format("woff2");
}

@font-face {
    font-style: normal;
    font-weight: 600;
    font-family: "Open Sans";
    font-display: swap;
    src: url("../fonts/OpenSans-SemiBold.woff2") format("woff2");
}

@font-face {
    font-style: normal;
    font-weight: 700;
    font-family: "Open Sans";
    font-display: swap;
    src: url("../fonts/OpenSans-Bold.woff2") format("woff2");
}

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

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

html {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    font-family: "Poppins", "Open Sans", sans-serif;
    color: var(--color-dark);
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    width: 100%;
    height: 100%;

    background-color: var(--color-light);
}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: calc(100 * var(--vh, 1vh));
    padding-top: var(--header-height);
}
.wrapper:has(.promo) {
    padding-top: 0;
}

.wrapper .header,
.wrapper .footer {
    flex-shrink: 0;
}

.wrapper main {
    flex-grow: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

textarea {
    resize: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    margin: 0;

    appearance: none;
}

input[type="number"] {
    appearance: textfield;
}

select,
textarea,
input:matches([type="email"],
    [type="number"],
    [type="password"],
    [type="search"],
    [type="tel"],
    [type="text"],
    [type="url"]) {
    appearance: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    appearance: none;
}



.color-accent {
    color: var(--color-accent);
}
.desktop {
    display: block;
}
.mobile {
    display: none;
}
@media(max-width: 767px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
}
.mb-120 {
    margin-bottom: 120px;
}
.pv-120 {
    padding: 120px 0;
}

@media(max-width: 1199px) {
    .mb-120 {
        margin-bottom: 90px;
    }
    .pv-120 {
        padding: 90px 0;
    }
}

@media(max-width: 959px) {
    .mb-120 {
        margin-bottom: 70px;
    }
    .pv-120 {
        padding: 70px 0;
    }
}

@media(max-width: 539px) {
    .mb-120 {
        margin-bottom: 40px;
    }
    .pv-120 {
        padding: 40px 0;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.container {
    position: relative;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 1199px) {
    .container {
        padding: 0 15px;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

@media (max-width: 1199px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 959px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    outline: none;
    border-radius: 0;
    border: 1px solid var(--color-accent);
    background-color: var(--color-accent);
    font-family: 'Poppins', 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    min-height: 48px;
    width: 100%;
}

.btn:hover,
.btn:focus {
    color: var(--color-accent);
    background-color: #fff;
}

.btn--white {
    background-color: #fff;
    border-color: #fff;
    color: var(--color-accent);
}

.btn--white:hover,
.btn--whitw:focus {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.btn--border {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn--border:hover,
.btn--border:focus {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.icon-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}
.icon-link svg {
    flex-shrink: 0;
}
.title {
    font-weight: 600;
    font-size: 48px;
    line-height: 130%;
    margin: 0 0 40px;
    text-wrap: balance;
}

@media(max-width: 1199px) {
    .title {
        font-size: 40px;
        margin: 0 0 30px;
    }
}

@media(max-width: 959px) {
    .title {
        font-size: 36px;
    }
}

@media(max-width: 539px) {
    .title {
        font-size: 28px;
        margin: 0 0 20px;
    }
}

.section-top {
    display: flex;
    gap: 20px 10px;
    align-items: center;
    margin-bottom: 40px;
}
.section-title {
    font-weight: 600;
    font-size: 48px;
    line-height: 130%;
    margin: 0;
    flex: 1;
}
.section-link {
    max-width: 210px;
}


@media(max-width: 1199px) {
    .section-top {
        margin-bottom: 30px;
    }
    .section-title {
        font-size: 40px;
    }
}

@media(max-width: 959px) {
    .section-top {
        flex-direction: column;
        align-items: start;
        margin-bottom: 20px;
    }
    .section-title {
        font-size: 36px;
    }
}

@media(max-width: 539px) {
    .section-title {
        font-size: 26px;
    }
    .section-link {
        max-width: 100%;
    }
}


.page-wrap {
    position: relative;
    display: flex;
    gap: 60px;
    justify-content: start;
}

.page-content {
    flex: 1;
}

.page-btn {
    width: 227px;
    margin-top: 30px;
}

.page-text {
    font-size: 14px;
    line-height: 140%;
}

.page-text p {
    margin: 0 0 10px;
}

.page-text ul {
    margin: 0 0 10px;
    padding: 0 0 0 18px;
}

.page-text ul li {
    margin: 0 0 10px;
}

.page-text ul li::marker {
    color: var(--color-accent);
}

.page-text img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 692px;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0 30px;
}

@media(max-width: 1199px) {
    .page-title {
        font-size: 28px;
    }
}

@media(max-width: 959px) {
    .page-title {
        font-size: 26px;
    }

    .page-wrap {
        flex-direction: column-reverse;
    }

    .page-content {
        flex: auto;
    }
}

@media(max-width: 539px) {
    .page-title {
        font-size: 24px;
    }

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

    .page-date {
        font-size: 16px;
        margin-bottom: 10px;
        margin-top: -10px;
    }

    .page-btn {
        width: 100%;
    }
}

.section__top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.section__title.title {
    margin: 0;
}

.section__link {
    font-size: 16px;
    line-height: 130%;
    text-align: right;
}

.section__link:hover {
    color: var(--color-accent);
}


.search {
    position: relative;
    width: 100%;
    height: 36px;
    border: 1px solid var(--color-gray);
}

.header--white .search {
   border: 1px solid #fff; 
}
.search form,
.search label,
.search input {
    width: 100%;
    border-radius: 0;
}
.search input {
    border: none;
    background: transparent;
    color: var(--color-gray);
    padding: 10px 45px 10px 15px;
    font-family: 'Poppins','Open Sans', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    outline: none;
}
.header--white .search input {
    color: #fff; 
}

.search input:focus,
.search input:focus-visible {
    outline: none;
}
.search__btn {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    width: 36px;
    height: 100%;
    padding: 0; 
    border-radius: 0;
    cursor: pointer;
    background: var(--color-gray);
    color: #fff;
    transition: background 0.3s ease;
}
.header--white .search__btn {
    background: #fff;
    color: var(--color-accent);
}
.search__btn:hover,
.search__btn:focus {
    background: var(--color-accent);
    color: #fff;
    outline: none;
}
.search__btn svg {
    width: 18px;
    height: 18px;
}

.breadcrumbs {
    list-style: none;
    margin: 15px 0 70px;
    padding: 0;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs a {
    font-size: 14px;
    line-height: 120%;
    color: var(--color-gray);
    transition: color 0.3s ease, opacity 0.3s ease;
}
.breadcrumbs--white a {
    color: #fff;
    opacity: 0.72;
}

.breadcrumbs a:hover {
    color: var(--color-accent);
}

.breadcrumbs li::after {
    content: "|";
    padding: 0 10px;
}

.breadcrumbs li:last-child a {
    pointer-events: none;
    color: var(--color-accent);
}

.breadcrumbs--white li:last-child a {
    color: #fff;
    opacity: 1;
}
.breadcrumbs li:last-child::after {
    display: none;
}

@media(max-width: 959px) {
    .breadcrumbs {
        margin: 15px 0 60px;
    }
}

@media(max-width: 539px) {
    .breadcrumbs {
        margin: 10px 0 40px;
    }

    .breadcrumbs a {
        font-size: 12px;
    }
}

.logo {
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo a {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    color: #fff;
    background-color: var(--color-accent);
    transition: opacity 0.3s ease;
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
}
.logo a span {
    font-size: 9px;
    line-height: 100%;  
}

.logo a:hover,
.logo a:focus {
    opacity: 0.5;
}

.logo__text {
    font-size: 12px;
    line-height: 120%;
    opacity: 0.6;
    max-width: 270px;
}

.swiper-scrollbar {
    bottom: 0 !important;
    height: 3px !important;
    left: 0 !important;
    position: relative !important;
    top: 0 !important;
    margin-top: 45px;
    background: #fff;
    border-radius: 0;
}
.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: relative;
    bottom: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3px;
    margin-top: 20px;
}

.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 20px;
    height: 3px;
    background: var(--color-dark);
    opacity: 0.2;
    border-radius: 100px;
    transition: background-color 0.3s ease;
}
.swiper-pagination-bullets .swiper-pagination-bullet-active {
    opacity: 1;
}
.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-lock ,
.swiper-pagination-bullets.swiper-pagination-horizontal.swiper-pagination-lock {
    display: none;
}
.swiper-btns {
    display: flex;
    gap: 10px;
}
.swiper-btn-prev,
.swiper-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(84,99,120,0.1);
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    color: var(--color-dark);
    transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    z-index: 10;
}

.swiper-btn-prev {
    left: 20px;
}
.swiper-btn-next {
    right: 20px;
}
.swiper-btns .swiper-btn-prev,
.swiper-btns .swiper-btn-next {
    position: relative;
    top: 0;
    left: auto;
    right: auto;
    transform: none;
    background-color:  #fff;
}
.swiper-btn-prev svg,
.swiper-btn-next svg {
    width: 14px;
    height: 14px;
}
.swiper-btn-next:disabled,
.swiper-btn-prev:disabled {
    opacity: 0.5;
    pointer-events: none;
}
.swiper-btn-next.swiper-button-lock ,
.swiper-btn-prev.swiper-button-lock {
    display: none;
}
.swiper-btn-next:hover,
.swiper-btn-prev:hover {
    background-color: var(--color-accent);
    color: #fff;
}

.custom-input,
.custom-textarea {
    position: relative;
    flex: 1;

    display: flex;
    width: 100%;

    color: var(--color-dark);
}

.custom-input label,
.custom-textarea label {
    width:100%;
}

.custom-input input,
.custom-textarea textarea {
    width: 100%;
    min-height: 52px;
    padding: 10px 20px;
    font: inherit;
    color: #fff;
    outline: none;
    border-radius: 0;
    transition: border-color 0.3s ease;
    font-size: 16px;
    line-height: 130%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.custom-input input::-webkit-input-placeholder,
.custom-textarea textarea::-webkit-input-placeholder {
    color: #fff;
    opacity: 0.6;
}

.custom-input input:hover,
.custom-textarea textarea:hover,
.custom-input input:focus,
.custom-textarea textarea:focus {
    border-color: rgba(255, 255, 255, 0.7);
}

.custom-textarea textarea {
    border-radius: 0;
    height: 100%;
    min-height: 156px;
}

.custom-toggle {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
}

.custom-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
 }

 .custom-toggle label {
    display: flex;
    position: relative;
    cursor: pointer;
    gap: 8px;
 }

  .custom-toggle__icon {
    flex-shrink: 0;
    display: block;
    width: 14px;
    height: 14px;
    border: 1px solid var(--color-accent);
    transition: background-color 0.3s ease border-width 0.3s ease;
 }

.custom-toggle__label {
    font-size: 12px;
    line-height: 110%;
    color: var(--color-gray);
    transition: color 0.3s ease;
}

.custom-toggle a {
    text-decoration: underline;
}

.custom-toggle a:hover {
    color: #fff;
}

.custom-toggle:has(input:checked)  .custom-toggle__icon {
    background-color: var(--color-accent);
    border-width: 2px;
}

 .form__accept .custom-toggle__icon {
    border: 1px solid #fff;
 }

 .form__accept .custom-toggle__label {
    color: rgba(255,255,255,0.6);
}

.text-content {
    font-size: 16px;
    line-height: 120%;
    color: var(--color-gray);
}

.text-content p {
    margin: 0 0 10px;
}
.text-content p:last-child {
    margin: 0;
}

.text-content ol, ul {
    margin: 0 0 10px;
    padding: 0 0 0 18px;
}

.text-content ul li,
.text-content ol li {
    margin: 0 0 10px;
}
.text-content dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
}
.text-content dt {
    display: flex;
    align-items: baseline;
    font-weight: 600;
    color: var(--color-dark);
}

.text-content dt::after {
    content: "";
    flex: 1;
    border-bottom: 1px dashed var(--color-gray);
    opacity: 0.6;
    margin: 0 10px;
}
.text-content dd {
    margin: 0;
}

.text-content ol {
    list-style-type: none;
    counter-reset: item;
    padding-left: 20px;
    margin: 20px 0;
  }
  
.text-content ol li {
    counter-increment: item;
  }
  
.text-content ol li::before {
    content: counters(item, ".") " "; 
}

.text-content a:hover {
   color: var(--color-accent);
}

.text-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 0 0;
    border-radius: 20px;
    margin: 40px 0;
}
.text-content table {
    border-collapse: collapse;
    border: 1px solid rgba(0,0,0,0.6);
}
.text-content td {
    border: 1px solid rgba(0,0,0,0.6);
    padding: 12px;
}

.bg-dark {
    position: relative;
    background-color: var(--color-accent);
    color: #fff;
    overflow: hidden;
}
.bg-dark::before {
    content: '';
    display: block;
    width: 754px;
    height: 754px;
    position: absolute;
    top: -226px;
    left: -155px;
    background-image: url(../img/decor4.svg);
    pointer-events: none;
}
.bg-dark::after {
    content: '';
    display: block;
    width: 645px;
    height: 645px;
    position: absolute;
    bottom: -244px;
    right: -136px;
    background-image: url(../img/decor3.svg);
    pointer-events: none;
}
.bg-light {
    position: relative;
    background-color: #fff;
    overflow: hidden;
}
.bg-light::after {
    content: '';
    display: block;
    width: 749px;
    height: 749px;
    position: absolute;
    top: -315px;
    right: -318px;
    background-image: url(../img/decor2.svg);
    background-size: cover;
    pointer-events: none;
}
.bg-light::before {
    content: '';
    display: block;
    width: 100%;
    height: 230px;
    position: absolute;
    bottom: -128px;
    left: 0;
    background-image: url(../img/decor1.svg);
    pointer-events: none;
}

@media (max-width:539px) {
    .text-content {
        font-size: 14px;
    }
}

.nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.nav__link {
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
}

.nav__item.active > .nav__link {
    color: var(--color-accent);
}

.nav__link:hover,
.nav__link:focus {
    color: var(--color-accent);
}

@media (max-width: 959px) {
    .nav__list {
        flex-direction: column;
        align-items: end;
        width: 100%;
        gap: 15px;
        text-align: right;
        text-wrap: balance;
    }
    .nav__link {
        font-weight: 500;
        font-size: 18px;
        line-height: 27px;
        color: var(--color-dark);
    }

}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}
.header--white {
    color: #fff;
}

.header__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__search {
    flex: 1;
    margin: 0 30px;
}

.header__menu {
    flex: 1;
}
.header__contacts {
    display: flex;
    flex-direction:column;
    align-items: end;
    text-align: right;
}
.header__contacts-mob {
    display: none;
    color: var(--color-dark);
    text-align: right;
    margin-top: 20px;
}
.header__work {
    font-size: 12px;
    line-height: 18px;
    opacity: 0.62;
}
.header__phone {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}
.header__phone:hover {
    color: var(--color-accent);
}
.header__btns {
    display: flex;
    gap: 10px;
}
.header__btn {
    z-index: 30;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    padding: 0;
    border-radius: 0;
    color: var(--color-accent);
    background-color: #E7E8EA;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;  
}
.header__btn-num {
    position: absolute;
    top: 2px;
    right: 2px;
    color: #fff;
    background-color: var(--color-accent);
    font-weight: 600;
    font-size: 9px;
    line-height: 100%;
    padding: 2px 4px;
}
.header__btn:hover {
    color:#fff;
    background: var(--color-accent);
}
.header__burger {
    display: none;
}
.header__burger svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: opacity 0.3s ease;
}

.header__bottom {
    width: 100%;
    background: rgba(27, 38, 54, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 11px 20px;
}

@media (max-width : 959px) {
    .header__bottom {
        position: absolute;
        bottom: 0;
        right: 0;
        transform: translateY(100%);
        max-width: 310px;
        width: 100%;
        z-index: 25;
        padding: 20px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        background: rgba(255, 255, 255, 0.82);
    }

    .header__bottom.is-active {
        opacity: 1;
        visibility: visible;
    }
    .header__phone {
        min-height: 35px;
    }
    .header__burger {
        display: flex;
        z-index: 26;
    }
    .header__burger .icon-close {
        opacity: 0;
    }

    .header__burger.is-open .icon-close {
        opacity: 1;
    }

    .header__burger.is-open .icon-open {
        opacity: 0;
    }
    .header__contacts-mob {
        display: block;
    }
}

@media(max-width: 767px) {
    .header__search,
    .header__contacts {
        display: none;
    }
    .header__btns {
        margin-left: auto;
    }
}
.promo {
    position: relative;
    color: #fff;
}
.promo .container {
    position:  relative;
    min-height: 820px;
    padding-top: var(--header-height);
    padding-bottom: 98px;
    display: flex;
    flex-direction: column;
    justify-content: end; 
    z-index: 3;
}
.promo__wrap {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 20px;
}
.promo--inner .promo__wrap {
    margin-top: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}
.promo__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.promo__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.promo__bg::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.72) 0%, rgba(18, 18, 18, 0.42) 50%, rgba(18, 18, 18, 0.82) 100%);
    z-index: 2;
}
.promo__title {
    grid-row: 1 / -1;
    font-weight: 600;
    font-size: 46px;
    line-height: 110%;
    margin: 0;
}

.promo__text {
    font-size: 18px;
    line-height: 130%;
    text-wrap: balance;
    align-self: end;
}

.promo__btns {
    display: flex;
    gap: 20px;
}
.promo__btns .btn {
    min-height: 52px;
}

@media (max-width: 1199px) {
    .promo__wrap {
        grid-template-columns: 1fr;
    }
    .promo__title {
        grid-row: auto;
        font-size: 42px;
    }
    .promo__text {
        margin-bottom: 10px;
    }
}

@media (max-width: 959px) {
    .promo__title {
        font-size: 38px;
    }
}
@media (max-width: 539px) {
    .promo__wrap {
        gap: 10px;
    }
    .promo__title {
        font-size: 30px;
    }
    .promo__text {
        font-size: 16px;
        line-height: 130%;
    }
    .promo__btns {
        flex-direction: column;
        gap: 10px;
    }
    .promo__btns .btn {
        min-height: 50px;
    }
}

.features {
    position: relative;
    margin-top: -58px;
    overflow: hidden;
    color: #fff;
    z-index: 5;
}
.features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
}
.features__wrap {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.features__item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.features__icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
}
.features__icon img {
    width: 28px;
    height: 28px;
}
.features__text{
    font-weight: 700;
    font-size: 20px;
    line-height: 110%;
}

.features__text span {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    opacity: 0.62;
    margin-top: 10px;
}

@media(max-width: 1199px) {
    .features::after {
        left: 15px;
    }
    .features__wrap {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 959px) {
    .features__text{
        font-size: 18px;
    }
}

@media(max-width: 539px) {
    .features__wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .features__icon {
        width: 68px;
        height: 68px;
    }
    .features__text{
        font-size: 16px;
    }
    .features__text span {
        font-size: 14px;
        margin-top: 5px;
    }
}

.numbers {
    position: relative;
    margin-top: -58px;
    overflow: hidden;
    color: #fff;
    z-index: 5;
}
.numbers::after {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
}
.numbers__wrap {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.numbers__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.numbers__title {
    font-weight: 500;
    font-size: 72px;
    line-height: 100%;
}
.numbers__text {
    font-size: 16px;
    line-height: 110%;
    opacity: 0.62;
}
@media(max-width: 1199px) {
    .numbers::after {
        left: 15px;
    }
    .numbers__wrap {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 959px) {
    .numbers__title {
        font-size: 52px;
    }
}

@media(max-width: 539px) {
    .numbers__title {
        font-size: 36px;
    }
    .numbers__text {
        font-size: 14px;
    }
}
@media(max-width: 359px) {
    .numbers__wrap {
        grid-template-columns: 1fr;
    }
}


.direction-card {
    width: 100%;
    min-height: 280px;
    background-color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.direction-card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: auto;
}
.direction-card__icon img {
    width: 100%;
    height: 100%;
}

.direction-card__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
}
.direction-card__text {
    font-size: 16px;
    line-height: 120%;
    color: var(--color-gray);
}
@media(max-width: 1199px) {
    .direction-card {
        gap: 15px;
    }
}

@media(max-width: 959px) {
    .numbers__title {
        font-size: 52px;
    }
}

@media(max-width: 539px) {
    .direction-card {
        min-height: 213px;
    }
    .direction-card__title {
        font-size: 18px;
    }
    .direction-card__text {
        font-size: 14px;
    }
}
.project-card {
    cursor: pointer;
}
.project-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 670 / 360;
    margin-bottom: 20px;
}
.project-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-card__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin: 0 0 20px;
    transition: color 0.3s ease;
}
.project-card__text {
    font-size: 16px;
    line-height: 120%;
    color: var(--color-gray);
    margin-bottom: 10px;
}
.project-card__text span {
    font-weight: 600;
    color: var(--color-dark);
}
.project-card__text:last-child {
    margin-bottom: 0;
}

.project-card:hover .project-card__title {
    color: var(--color-accent);
}
.modal .project-card__title {
    color: var(--color-accent);
}

@media(max-width: 959px) {
    .project-card__title {
        font-size: 20px;
        margin: 0 0 15px;
    }
}

@media(max-width: 539px) {
    .project-card__title {
        font-size: 18px;
    }
    .project-card__text {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
  [data-project-slider] .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    transform: none !important; 
  }

  [data-project-slider] .swiper-pagination {
    display: none !important;
  }
}
.catalog__categories {
    margin-bottom: 40px;
}
.catalog__category {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    padding: 10px; 
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
}
.catalog__category:hover {
    color: var(--color-accent);
}
.catalog-card {
    background: #fff;
    padding: 20px;
}
.catalog-card__title {
    display: block;
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 20px;
}
.catalog-card__title:hover {
    color: var(--color-accent);
}
.catalog-card__list {
    display: block;
    column-count: 2;
}
.catalog-card__link {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 120%;
    color: var(--color-gray);
}
.catalog-card__link:hover {
    color: var(--color-accent);
}

@media(max-width: 539px) {
    .catalog-card__list {
        column-count: 1;
    }
}

.category-card {
    position: relative;
    width: 100%;
    aspect-ratio: 22 / 21;
    background-color: #fff;
    overflow: hidden;
}
.category-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.category-card__img::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.72) 0%, rgba(18, 18, 18, 0.42) 50%, rgba(18, 18, 18, 0.82) 100%);
    z-index: 2;
}

.category-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-card:has(.category-card__link:hover) .category-card__img {
    opacity: 1;
}
.category-card__icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
    color: var(--color-accent);
    transition: color 0.3s ease;
    z-index: 4;
}
.category-card__icon svg {
    width: 100%;
    height: 100%;
}
.category-card:has(.category-card__link:hover) .category-card__icon {
    color: #fff;
}
.category-card__info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 56px);
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 20px;
    gap: 15px; 
    z-index: 4;
    transition: transform 0.3s ease, color 0.3s ease;
}
.category-card:has(.category-card__link:hover) .category-card__info {
    transform: translateY(-56px);
    color: #fff;
}

.category-card__title {
    font-weight: 600;
    font-size: 26px;
    line-height: 120%;
}
.category-card__text {
    font-size: 16px;
    line-height: 120%;
    color: var(--color-gray);
    transition: color 0.3s ease, opacity 0.3 ease;
}
.category-card:has(.category-card__link:hover) .category-card__text {
    color: #fff;
    opacity: 0.62;
}
.category-card__link {
    display: flex;
    align-items: center;
    gap: 15px
    font-size: 18px;
    line-height: 120%;
    margin-top: 15px;
    color: #fff;
}

.category-card__link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

@media(max-width: 1199px) {
    .category-card {
        width: 376px;
        height: 315px;
    }
    .category-card__title {
        font-size: 24px;
    }
}
@media(max-width: 959px) {
    .category-card {
        height: 259px;
    }
    .category-card__title {
        font-size: 22px;
    }
    .category-card__icon {
        width: 46px;
        height: 46px;
    }
    .category-card__info {
        gap: 12px; 
    }
}
@media(max-width: 539px) {
    .category-card {
        width: 294px;
        height: 211px;
    }
    .category-card__icon {
        width: 42px;
        height: 42px;
    }
    .category-card__info {
        gap: 10px; 
    }
    .category-card__title {
        font-size: 18px;
    }
    .category-card__text {
        font-size: 14px;
    }
}

.category__btn {
    max-width: 332px;
    margin: 20px auto 0;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    background: #fff;
    color: var(--color-dark);
    padding: 20px;
}

.product-card__img {
    width: 100%;
    aspect-ratio: 240 / 200;
    max-height: 240px;
    padding: 20px;
    margin-bottom: 40px;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}
.product-card__type {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}
.product-card:has(.product-card__link:hover) .product-card__type {
    color: var(--color-accent);
}
.product-card__article {
    font-size: 12px;
    line-height: 120%;
    color: var(--color-gray);
    opacity: 0.6;
    margin-bottom: 20px;
}
.product-card__link {
    flex: 1;
    font-size: 16px;
    line-height: 120%;
    color: var(--color-gray);
    margin-bottom: 20px;
}
.product-card__link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.product-card__bottom {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.product-card__price {
    font-size: 16px;
    line-height: 120%;
}

.product-card__cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-accent);
    border-radius: 0;
    padding: 0;
    background: var(--color-accent);
    color: #fff;
    z-index: 5;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
}
.product-card__cart svg {
    width: 18px;
    height: 18px;
}

.product-card__cart:hover {
    color: var(--color-accent);
    background: #fff;
}

@media(max-width: 1199px) {
    [data-slider] .product-card {
        width: 360px;
    }
}
@media(max-width: 959px) {
    .product-card__title {
        font-size: 16px;
    }
}
@media(max-width: 539px) {
    [data-slider] .product-card {
        width: 270px;
    }
    .product-card__title {
        font-size: 16px;
    }
}

.product__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    min-width: 0;
}

.product__gallery {
    position: relative;
    background: #fff;
    min-width: 0;
}

.product__img {
    width: 100%;
    height: 100%;
    padding: 20px;
}
.product__img img {
    height: 100%;
    max-height: 360px;
    width: 100%;
    user-select: none;
    object-fit: contain;
}
.product__info {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 20px;
}
.product__title {
    flex: 1;
    font-weight: 600;
    font-size: 32px;
    line-height: 130%;
    margin: 0 0 20px;
}
.product__desc {
    font-size: 14px;
    line-height: 130%;
    margin: 0 0 20px;
}
.product__text {
    font-size: 12px;
    line-height: 130%;
    color: var(--color-gray);
}
.product__text p {
    margin: 0 0 5px;
}
.product__text p:last-child {
    margin: 0;
}

.product__list {
    margin: 0 0 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 16px;
    line-height: 130%;
}
.product__item dt {
    padding: 0;
    margin: 0;
    color: var(--color-gray);
}
.product__item dd {
    padding: 0;
    margin: 0;
    font-weight: 600;
}

.product__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.product__price {
    font-weight: 600;
    font-size: 24px;
    line-height: 130%;
    align-self: center;
}

@media(max-width: 1199px) {
    .product__title {
        font-size: 28px;
    }
}

@media(max-width: 959px) {
    .product__wrap {
        grid-template-columns: 1fr;
    }
    .product__info {
        order: -1;
    }
    .product__title {
        font-size: 24px;
    }
}

@media(max-width: 539px) {
    .product__bottom {
        grid-template-columns: 1fr;
    }
    .product__title {
        font-size: 18px;
    }
    .product__item {
        font-size: 14px;
    }
    .product__price {
        font-size: 20px;
    }
}

.tabs__btns {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.tabs__btn {
    position: relative;
    border: none;
    font-family: 'Poppins', 'Open Sans', sans-serif;
    min-height: 35px;
    cursor: pointer;
    color: var(--color-gray);
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    border-radius: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 34px;
    background: rgba(84, 99, 120, 0.1);
}

.tabs__btn:hover,
.tabs__btn.active {
    color: #fff;
    background-color: var(--color-gray);
}
.tabs__content {
    background: #fff;
    padding: 20px;
}
.tabs__item {
    display: none;
}
.tabs__item.active {
    display: block;
}

.quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 108px;
}

.quantity__btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 0;
    padding: 0;
    outline: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-color: transparent;
    transition: opacity 0.3s ease, color 0.3s ease;
    font-family: 'Poppins', 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 30px;
    color: var(--color-gray);
}

.quantity__btn:hover,
.quantity__btn:focus {
    color: var(--color-dark);
}

.quantity__btn:disabled {
    opacity: 0.8;
    pointer-events: none;
}

.quantity__amount {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

.quantity__amount input {
    padding: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: transparent;
    border: 0;
    outline: 0;
    color: inherit;
    font-size: 24px;
    line-height: 36px;
}

@media(max-width: 767px) {
   .quantity {
        width: 80px;
    }
    .quantity__amount input {
        font-size: 22px;
    }
    .quantity__btn {
        font-size: 16px;
        width: 20px;
    }

}

.blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.blog-card__img {
    width: 100%;
    height: 210px;
    padding: 10px;
    margin-bottom: 20px;
    background: #fff;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-card__date {
    font-size: 12px;
    line-height: 120%;
    color: var(--color-gray);
    opacity: 0.6;
}

.blog-card__title {
    flex: 1;
    display: block;
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.blog-card__title::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.blog-card__title:hover {
    color: var(--color-accent);
}

@media(max-width: 1199px) {
}

@media(max-width: 539px) {
    .blog-card__title {
        font-size: 16px;
    }
}

.sort {
    position: absolute;
    top: -40px;
    right: 0;
    transform: translateY(-100%);
    display: flex;
    gap: 20px;
}

.sort__link {
    font-size: 14px;
    line-height: 120%;
    opacity: 0.6;
}

.sort__link.active {
    font-weight: 700;
    color: var(--color-accent);
    pointer-events: none;
    opacity: 1
}

.sort__link:hover {
    color: var(--color-accent);
    opacity: 1;
}

@media(max-width: 959px) {
    .sort {
        top: -33px;
    }
    
}

@media(max-width: 539px) {
    .sort {
        top: -26px;
    }
    
}

.blog__wrap {
    position: relative;
    margin-bottom: 30px;
}

.blog__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.blog__bottom .btn {
    width: calc((100% - 3 * 10px) / 4);
}

@media(max-width: 1199px) {
    .blog__bottom .btn {
        width: calc((100% - 2 * 10px) / 3);
    }
}

@media(max-width: 959px) {
    .blog__wrap {
        margin-bottom: 20px;
    }

    .blog__wrap {
        margin-bottom: 20px;
    }

    .blog__bottom .btn {
        width: calc((100% - 10px) / 2);
    }
}

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

    .blog__bottom .btn {
        width: 100%;
    }
}

.paginations {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 0;
}

.paginations__item a {
    display: block;
    background: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    padding: 12px 16px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.paginations__item a:hover,
.paginations__item.active a {
    background-color: var(--color-accent);
    color: #fff;
}

@media(max-width: 767px) {
    .paginations__item {
        font-size: 14px;
    }
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 130%;
    cursor: pointer;
    align-self: start;
}

.checkbox__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    width: 16px;
    height: 16px;
    border: 1px solid var(--color-accent);
    background-color: #fff;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.checkbox__icon svg {
    color: #fff;
}

.checkbox:has(input:checked) .checkbox__icon,
.checkbox:hover .checkbox__icon {
    background-color: var(--color-accent);
}

.checkbox:has(input:checked):hover .checkbox__icon {
    opacity: 0.5;
}

@media(max-width: 539px) {
    .checkbox {
        font-size: 14px;
    }
}

.order {
    background: #fff;
    padding: 20px;
    width: 324px;
}

.order__title {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    margin-bottom: 20px;
}

.order__item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    margin-bottom: 30px;
}

.order__total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    margin-bottom: 30px;
}

.order .row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.order .custom-input,
.order .custom-textarea {
   margin-bottom: 20px;
} 
.order .custom-input input,
.order .custom-textarea textarea {
    color: var(--color-gray);
    border: 1px solid rgba(27, 38, 54, 0.3);
}

.order .custom-input input::-webkit-input-placeholder,
.order .custom-textarea textarea::-webkit-input-placeholder {
    color: var(--color-gray);
    opacity: 1;
}

.order .custom-input input:hover,
.order .custom-textarea textarea:hover,
.order .custom-input input:focus,
.order .custom-textarea textarea:focus {
    border-color: rgba(27, 38, 54, 0.7);
}

.order .btn {
    margin-top: 20px;
}
@media(max-width: 959px) {
    .order {
        width: 100%;
    }
}


.cart__wrap {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr auto;
    gap: 20px;
}

.cart__list {
    display: grid;
    gap: 10px;
}

.cart__item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 15px;
    padding: 20px;
    background-color: #fff;
}
.cart__img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.cart__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart__link {
    display: block;
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 10px;
}
.cart__link:hover {
    color: var(--color-accent);
}
.cart__details {
    display: flex;
    gap: 15px 70px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.cart__detail {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.cart__detail dt {
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 120%;
    color: var(--color-gray);
}
.cart__detail dd {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 120%;
}

.cart__quantity {
    align-self: center;
}

.cart__del {
    border: none;
    display: block;
    width: 14px;
    height: 14px;
    background-color: transparent;
    padding: 0;
    opacity: 0.6;
    cursor: pointer;
    color: inherit;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.cart__del:hover {
    opacity: 1;
}

.cart__del::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 40px;
    height: 40px;
}

@media(max-width: 959px) {
    .cart__wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media(max-width: 767px) {
    .cart__item {
        grid-template-columns: auto 1fr auto;
    }
    .cart .ms2_form {
        grid-row: 1 / 3;
        grid-column: -2 / -1;
    }
    .card__info {
         grid-row: 1 / 3;
    }
    .cart__link {
        font-size: 18px;
    }
}

.form {
    background-image: url(../img/bg-form.png);
    background-size: cover;
    color: #fff;
}

.form__title {
    font-weight: 600;
    font-size: 48px;
    line-height: 130%;
    margin: 0 0 20px;
}
.form__subtitle {
    font-size: 18px;
    line-height: 130%;
    margin-bottom: 120px;
}
.form__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
}
.form__accept {
    display: grid;
    gap: 9px;
}
.form__btn {
    align-self: start;
    min-height: 52px;
}

@media(max-width: 1199px) {
    .form__title {
        font-size: 40px;
    }
    .form__subtitle {
        font-size: 18px;
        margin-bottom: 100px;
    }
}

@media(max-width: 959px) {
    .form__title {
        font-size: 36px;
        margin: 0 0 15px;
    }
    .form__subtitle {
        margin-bottom: 30px;
    }
}

@media(max-width: 539px) {
    .form__title {
        font-size: 32px;
    }
    .form__subtitle {
        font-size: 14px;
    }
    .form__wrap {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.about__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about__img {
    width: 100%;
    height: 100%;
    margin-left: -40px;
}
.about__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about__info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.about .title {
    line-height: 110%;
    margin: 0;
}
.about__list {
    flex: 1;
    display: grid;
    gap: 40px;
    margin: 0;
    list-style-type: none; 
    counter-reset: my-counter;
    padding-left: 0;
}

.about__item {
    counter-increment: my-counter; 
    padding-bottom: 40px;
    font-size: 16px;
    line-height: 120%;
    color: var(--color-text);
    border-bottom: 1px solid #D2DEE5;
}
.about__name {
    display: flex;
    gap: 15px;
    align-items: center;
    font-weight: 600;
    font-size: 26px;
    line-height: 120%;
}

.about__name::before {
    display: inline-block;
    content: counter(my-counter, decimal-leading-zero); 
    width: 80px;
    font-weight: 500;
    font-size: 62px;
    line-height: 110%;
    opacity: 0.2;
}

.about__text {
    display: block;
    font-size: 16px;
    line-height: 120%;
    color: var(--color-gray);
    padding-left: 95px;
}
.about__content {
    margin-top: auto;
}

@media(max-width: 1199px) {
    .about__img {
        margin-left: -15px;
    }
    .about__list {
        gap: 20px;
    }
    .about__item {
        padding-bottom: 20px;
    }
}
@media(max-width: 959px) {
    .about__wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about__img {
        order: 5;
        width: calc(100% + 15px);
        height: 420px;
    }
    .about__name {
        font-size: 22px;
    }
    .about__name::before {
        font-size: 56px;
    }
}
@media(max-width: 539px) {
    .about__img {
        height: 194px;
    }
    .about__list {
        gap: 15px;
    }
    .about__item {
        padding-bottom: 15px;
    }
    .about__name {
        font-size: 18px;
    }
    .about__name::before {
        font-size: 36px;
        width: 45px;
    }
    .about__text {
        font-size: 14px;
        padding-left: 60px;
    }
}
.socials {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.socials__item {
    width: 34px;
    height: 34px;
} 

.socials__item a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    background: #E7E8EA;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.socials__item svg {
    width: 18px;
    height: 18px;
}
.socials__item a:hover {
    color: #fff;
    background: var(--color-accent);
}

.map {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border-radius: 30px;
    overflow: hidden;
}

.contacts__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.contacts__item {
    background: #fff;
    padding: 20px;
}
.contacts__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 74px;
}
.contacts__info {
    max-width: 515px;
}
.contacts__map {
    grid-column: 1 / -1;
    height: 520px;
}
@media(max-width: 1199px) {
    .contacts__wrap {
        grid-template-columns: 1fr 1fr;
    }
    .contacts__map {
        height: 355px;
    }
}

@media(max-width: 959px) {
    .contacts__wrap {
       grid-template-columns: 1fr;
       gap: 10px
    }
    .contacts__info {
        max-width: 100%;
    }
}

@media(max-width: 539px) {
    .contacts__item {
        padding: 10px;
    }
    .contacts__title {
        font-size: 18px;
        margin-bottom: 30px;
    }
    .contacts__map {
        height: 280px;
    }
}

.footer {
    position: relative;
    background-color: var(--color-accent);
    color: #fff;
    padding: 40px 0 20px;
    overflow: hidden;
}
.footer::after {
    content: '';
    display: block;
    width: 422px;
    height: 422px;
    position: absolute;
    bottom: -169px;
    right: -131px;
    background-image: url(../img/decor6.svg);
    pointer-events: none;
}

.footer__top {
    display: grid;
    grid-template-columns: 3fr repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.footer__logo {
    margin-top: -40px;
}
.footer__logo a {
    width: 74px;
    height: 74px;
    color: var(--color-accent);
    background-color: #fff;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    font-size: 12px;
    line-height: 120%;
    opacity: 0.42;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer__col p {
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
}

.footer__title {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
}

.footer__link {
    font-size: 14px;
    line-height: 120%;
    opacity: 0.72;
}

.footer__link:hover {
    opacity: 1;
}
.footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer__copyright {
    margin-right: auto;
    font-size: 12px;
    line-height: 120%;
    opacity: 0.62;
}
.footer__bottom .footer__link {
    font-size: 12px;
    opacity: 0.62;
}

@media(max-width : 1199px) {
    .footer__top {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media(max-width : 959px) {
    .footer__top {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer__col:has(.footer__logo) {
        grid-column: 1 / -1;
    }
}
@media(max-width : 539px) {
    .footer__top {
        grid-template-columns: 1fr;
    }
}

.accept {
    position: fixed;
    bottom: 30px;
    left: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 18px;
    background-color: #fff;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 120;
}

.accept.active {
    opacity: 1;
    visibility: visible;
}

.accept__btn {
    margin-left: auto;
    width: 80px;
}

@media(max-width : 539px) {
    .accept {
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
        padding: 20px;
    }
}
.article__date {
    font-size: 12px;
    line-height: 120%;
    color: var(--color-gray);
    opacity: 0.6;
    margin: -35px 0 40px;
}

.article__wrap {
    max-width: 1130px;
}
.article__img {
     background: #fff;
     padding: 25px;
     width: 100%;
     height: 620px;
     margin-bottom: 30px;
}
.article__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.article__btn {
    max-width: 147px;
    margin-top: 40px;
}
@media(max-width:1199px) {
    .article__date {
        margin: -25px 0 30px;
    }
}
@media(max-width:959px) {
    .article__date {
        margin: -15px 0 20px;
    }
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    transform: scale(1.2);
    visibility: hidden;
    opacity: 0;

    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;

    pointer-events: none;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal::-webkit-scrollbar {
    display: none;
}

.modal__wrapper {
    position: relative;

    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
    padding: 30px;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    backdrop-filter: blur(10px);
    opacity: 0.62;
    cursor: pointer;
}

.modal__content {
    position: relative;
    max-width: 700px;
    width: 100%;
    background: #fff;
    padding: 40px;
}

.modal__title {
    font-size: 30px;
    line-height: 130%;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.modal__subtitle {
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    opacity: 0.6;
    margin: 0 0 20px;
}
.modal-form .form__wrap {
    grid-template-columns: 1fr;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    cursor: pointer;
    background-color: transparent;
    transition: color 0.3s ease;
}

.modal__close:hover,
.modal__close:focus {
    color: var(--color-accent);
}

.modal.active {
    transform: scale(1);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

@media(max-width : 539px) {
    .modal__wrapper {
        padding: 15px;
    }
    
    .modal__content {
        padding: 15px;
    }
    
    .modal__title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .modal__subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

.details {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(12, 1fr);
}
.details__item {
    position: relative;
    min-height: 150px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    grid-column: auto / span 3;
}
.details__item::after {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 18px;
    height: 18px;
    background-size: cover;
}
.details__item:nth-child(1),
.details__item:nth-child(2),
.details__item:nth-child(3) {
    grid-column: auto / span 4;
}
.details__item:nth-child(1)::after {
    content: '';
    background-image: url(/assets/theme/img/icon1.svg);
}
.details__item:nth-child(2)::after {
    content: '';
    background-image: url(/assets/theme/img/icon2.svg);
}
.details__item:nth-child(3)::after {
    content: '';
    background-image: url(/assets/theme/img/icon2.svg);
}
.details__item dt {
    font-size: 16px;
    line-height: 19px;
    color: var(--color-gray);
    margin-right: 40px;
}
.details__item dd {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    margin: 0;
}
.details__item a:hover {
    color: var(--color-accent);
}

@media(max-width : 1199px) {
    .details {
        gap: 10px;
    }
}

@media(max-width : 956px) {
    .details__item {
        padding: 15px;
        grid-column: auto / span 6;
    }
}

@media(max-width : 767px) {
    .details__item,
    .details__item:nth-child(1),
    .details__item:nth-child(2),
    .details__item:nth-child(3) {
        grid-column: auto / span 12;
    }
}
.certificates__img {
    display: block;
    background-color: #fff;
    padding: 10px;
    width: 100%;
    aspect-ration: 325 / 450;
    margin-bottom: 20px;
}
.certificates__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.certificates__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    transition: color 0.3s ease;
}
.certificates__item:hover .certificates__title {
    color: var(--color-accent);
}
@media(max-width: 539px) {
    .certificates__title {
        font-size: 14px;
    }
}
.consult {
    position: relative;
    background: var(--color-gray);
    color: #fff;
    padding: 50px 0;
    overflow: hidden;
}
.consult::before {
    content: '';
    display: block;
    width: 100%;
    height: 230px;
    position: absolute;
    bottom: -90px;
    left: 0;
    background-image: url(../img/decor5.svg);
    pointer-events: none;
}
.consult__wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
}
.consult__title {
    font-weight: 600;
    font-size: 30px;
    line-height: 130%;
    margin: 0;
}
.consult__text {
    font-size: 16px;
    line-height: 130%;
    opacity: 0.62;
}
.consult .btn {
    grid-row: 1 / 3;
    grid-column: -2 / -1;
    align-self: end;
    width: 297px;
}
@media(max-width: 959px) {
    .consult {
        padding: 40px 0;
    }
    .consult__wrap {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media(max-width: 539px) {
    .consult {
        padding: 30px 0;
    }
    .consult__wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .consult__title {
        font-size: 26px;
    }
    .consult__text {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .consult .btn {
        grid-row: auto;
        grid-column: auto;
        width: 100%;
    }
}
[data-accordion=element].is-active>[data-accordion=content] {
    max-height: 100%;
}

[data-accordion=parent].no-transition [data-accordion=content] {
    transition: none;
}

[data-accordion=content] {
    max-height: 0;
    transition: max-height 0.3s;
    overflow: hidden;
}

.accordion__element {
    margin-bottom: 10px;
}

.accordion__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5px 20px;
    cursor: pointer;
    border: none;
    min-height: 33px;
    font-family: 'Poppins','Open Sans', sans-serif;
    transition: color 0.3s ease;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: var(--color-gray);
    background: rgba(84, 99, 120, 0.1);

}

.accordion__button-text {
    text-align: start;
}

.accordion__element.is-active .accordion__button {
     color: #fff;
     background: var(--color-gray);
}

.accordion__wrapper {
    padding: 20px;
    margin-top: 10px;
    background: #fff;
}

@media(max-width: 959px) {

}
@media(max-width: 539px) {

}




/* Контейнер для подсказок */
.site-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999; 
    
    background: var(--color-light);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    max-height: 400px;
    overflow-y: auto;
    
    display: none;

    color: var(--color-gray);
    padding: 0;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
}

/* Стили для элементов внутри подсказок */
.site-search-results .search-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s ease;
}

.site-search-results .search-item:last-child {
    border-bottom: none;
}

.site-search-results .search-item:hover {
    background: var(--color-accent); /* redЛегкое подсвечивание при наведении */
    color: #fff;
    cursor: pointer;
}

.site-search-results .search-item h3 {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 500;
}

.site-search-results .search-item h3 a {
    color: #0066cc;
    text-decoration: none;
}

.site-search-results .search-item h3 a:hover {
    text-decoration: underline;
}

.site-search-results .search-item p {
    margin: 0;
}

.site-search-results .no-results {
    padding: 20px 15px;
    margin: 0;
}


.site-search-results::-webkit-scrollbar {
    width: 6px;
}

.site-search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.site-search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.site-search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.grecaptcha-badge {
    opacity: 0;
    visibility: hidden;
}


main:has(.info-page) {
    display: flex;
    flex-direction: column;
}

.info-page, .info-page .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}
.info-page__title {
    margin-bottom: 20px;
}

.info-page__subtitle {
    max-width: 700px;
    text-align: center;
    margin-bottom: 50px;
}

.info-page__btn {
    width: 250px;
}
