:root {
    --color-dark: #1F1F1F;
    --color-accent: #FEB200;
    --color-navy: #093185;
    --color-light: #F6F6F6;
    --color-blue: #3055A4;
    --header-height: 120px;
}

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

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

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

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

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

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: calc(100 * var(--vh, 1vh));
}

html {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    font-family: "Montserrat", "Arial", sans-serif;
    color: var(--color-dark);
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

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

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

.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;
}

.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(.header--main) {
    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, background-color 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;
}

.mb-100 {
    margin-bottom: 100px;
}
.pv-100 {
    padding: 100px 0;
}
.mb-40, .title.mb-40 {
    margin-bottom: 40px;
}
@media(max-width: 1199px) {
    .mb-100 {
        margin-bottom: 90px;
    }
    .pv-100 {
        padding: 90px 0;
    }
    .mb-40, .title.mb-40 {
        margin-bottom: 35px;
    }
}

@media(max-width: 959px) {
    .mb-100 {
        margin-bottom: 80px;
    }
    .pv-100 {
        padding: 80px 0;
    }
    .mb-40, .title.mb-40 {
        margin-bottom: 30px;
    }
}

@media(max-width: 539px) {
    .mb-100 {
        margin-bottom: 60px;
    }
    .pv-100 {
        padding: 60px 0;
    }
    .mb-40, .title.mb-40 {
        margin-bottom: 20px;
    }
}

.op-60 {
    opacity: 0.6;
}

.color-accent {
    color: var(--color-accent);
}
.color-blue {
    color: var(--color-blue);
}
.bg-white {
    background: #fff;
    overflow: hidden;
}
.container {
    position: relative;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

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

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    outline: none;
    border: none;
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    background-color: var(--color-accent);
    text-align: center;
    min-height: 52px;
    width: 100%;
    color: #fff;
    user-select: none;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0px 0px 6px rgba(29, 59, 122, 0.25);
    border-radius: 26px;
}

.btn:hover,
.btn:focus {
    background-color: var(--color-blue);
    box-shadow: 0px 0px 6px #1D3B7A;
}

.btn:disabled {
    opacity: 0.7;
    pointer-events: none;
}

.btn--blue {
    color: #fff;
    background-color: var(--color-blue);
}

.btn--blue:hover,
.btn--blue:focus {
    background-color: #fff;
    color: var(--color-blue);
}
.btn--border {
    background-color: #fff;
    color: var(--color-blue);
    border: 1px solid var(--color-blue);
}

.btn--border:hover,
.btn--border:focus {
    color: #fff;
    background-color: var(--color-blue);
}
.btn.btn-more {
    width: 100%;
    padding: 18px;
    margin-top: 20px;
}
.bg-light {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 50px;
    border-radius: 40px;
    overflow: hidden;
    background: var(--gradient);
}

.bg-light__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.bg-light__img  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-light__info {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    flex: 1;
}
@media (max-width:1199px) {
    .bg-light {
        padding: 40px;
    }
}
@media (max-width:959px) {
    .bg-light {
        padding: 30px;
    }
}
@media (max-width:539px) {
    .bg-light {
        padding: 15px;
        border-radius: 20px;
    }
}

.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;
}
.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
@media (max-width: 1399px) {
    .grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

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

@media (max-width: 539px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .grid-5 {
        gap: 10px;
    }
}
@media (max-width: 389px) {
    .grid-5 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
.col-2 {
    grid-column: 1 / -1;
}
@media (max-width: 767px) {
    [data-mobile-slider] .grid-4,
    [data-mobile-slider] .grid-3 {
        display: block;
    }
}
@media (min-width: 768px) {

  [data-mobile-slider] .swiper,
  [data-mobile-slider] .swiper-wrapper {
    display: contents;
  }
  [data-mobile-slider]  .swiper-pagination,
  [data-mobile-slider] .swiper-btns {
    display: none;
  }
}


.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: relative;
    bottom: 0;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 15px;
}

.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 20px;
    height: 3px;
    margin: 0 2.5px;
    border-radius: 100px;
    background: var(--color-dark);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.swiper-pagination-bullets .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-blue);
}

.swiper-btn-next,
.swiper-btn-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-light);
    border: none;
    color: var(--color-accent);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    transition: color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    z-index: 10;
}
.swiper-btn-next {
    right: 20px;
}
.swiper-btn-prev {
    left: 20px;
}
.swiper-btn-next svg ,
.swiper-btn-prev svg {
    width: 40%;
    height: 40%;
}
.swiper-btn-next:hover,
.swiper-btn-prev:hover {
    background-color: var(--color-accent);
    color: #fff;
}
.swiper-btn-prev.swiper-button-lock,
.swiper-btn-next.swiper-button-lock {
    display: none;
}

.socials {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}
.socials__item {
    width: 36px;
    height: 36px;
}
.socials__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    color: #fff;
    background-color: rgba(255,255,255,0.1);
    transition: background 0.3s ease;
}
.socials__item svg {
    width: 24px;
    height: 24px;
}
.socials__item a:hover {
    background-color: var(--color-accent);
}

.title {
    font-weight: 600;
    font-size: 46px;
    line-height: 130%;
    margin: 0;
}

@media (max-width:1199px) {
    .title {
        font-size: 42px;
    } 
}
@media (max-width:959px) {
    .title {
        font-size: 38px;
    } 
}
@media(max-width: 539px) {
    .title {
        font-size: 32px;
    } 
}

.text-content {
    font-size: 16px;
    line-height: 130%;
}

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

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

.text-content ul li {
    margin: 0 0 10px;
}
.text-content dl {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
}
.text-content dt {
    margin: 0;
    padding: 10px 15px;
    border-bottom: 1px solid #3055a44d;
    border-right: 1px solid #3055a44d;
}
.text-content dd {
    margin: 0;
    padding: 10px 15px;
    border-bottom: 1px solid #3055a44d;
}
.text-content dd:last-of-type,
.text-content dt:last-of-type {
    border-bottom: none;
}
.text-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.text-content a:hover {
   color: var(--color-accent);
}

.text-content img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 4px;
    margin: 20px 0;
}
.text-content img:last-child {
    margin-bottom: 0;
}
.text-content .table {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

}
.text-content table {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    border: 0;
    width: 100%;
    min-width: 900px; 
    border-radius: 4px;
    background: #f6f6f6;
    border-collapse: collapse;
}

.text-content table caption {
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    margin-bottom: 8px;
    text-align: left;
}
.text-content tr:not(:last-child) td {
    border-bottom: 1px solid rgba(31,31,31,0.15);
}
.text-content td {
    padding: 10px;
}
.text-content td:first-child {
    font-weight: 400;
    width: 40%;
}
.text-content td {
    border: 0;
}
.text-content .table td,
.text-content .table th {
    border: 1px solid rgba(31,31,31,0.15);
    padding: 10px;
}
.text-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

@media (max-width:539px) {
    .text-content {
        font-size: 14px;
    }
}
.list,
.text-content .list {
    list-style: none;
    padding: 0;
}
.list li {
    position: relative;
    padding-left: 25px;
}
.list li:before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    display: block;
    width: 15px;
    height: 15px;
    background-image: url('../img/marker.svg');
    background-size: cover;
}

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

.section-link {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    text-align: right;
    color: var(--color-blue);
}
.section-link svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}
.section-link:hover {
    color: var(--color-accent);
}
.section-text {
    font-size: 24px;
    line-height: 120%;
}

@media(max-width: 1199px) {
    .section-top {
        margin-bottom: 35px;
    }
    .section-text {
        font-size: 20px;
    }
}
@media(max-width: 959px) {
    .section-top {
        margin-bottom: 30px;
    }
    .section-text {
        font-size: 16px;
    }
}

@media(max-width: 539px) {
    .section-top {
        margin-bottom: 20px;
        flex-direction: column;
        align-items: start;
    }
    .section-link {
        gap: 10px;
        font-size: 14px;
    }
    .section-link svg {
        width: 14px;
        height: 14px;
    }
    .section-text {
        font-size: 14px;
    }
}

.swiper-btns {
    display: flex;
    gap: 20px;
}

.swiper-btn-prev,
.swiper-btn-next {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    color: var(--color-blue);
    width: 40px;
    height: 40px;
    background: #F6F6F6;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.swiper-btn-prev svg,
.swiper-btn-next svg {
    width: 16px;
    height: 16px;
}

.swiper-btn-prev:hover,
.swiper-btn-next:hover {
    color: #fff;
    background: var(--color-blue);
}

.swiper-btn-prev.swiper-button-lock,
.swiper-btn-next.swiper-button-lock {
    display: none;
}

@media(max-width: 539px) {
    .swiper-btns {
        gap: 10px;
    }
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    width: 193px;
    height: 46px;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo a:hover,
.logo a:focus {
    opacity: 0.5;
}

@media(max-width: 1199px) {
    .logo a {
        width: 172px;
        height: 42px;
    }
}
@media(max-width: 539px) {
    .logo a {
        width: 132px;
        height: 32px;
    }
}

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

    display: flex;
    width: 100%;
}

.custom-input label,
.custom-textarea label {
    width:100%;
    display: flex;
    flex-direction: column;
}

.custom-input input,
.custom-textarea textarea {
    width: 100%;
    min-height: 52px;
    padding: 10px 20px;
    font: inherit;
    color: var(--color-blue);
    outline: none;
    background: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 16px;
    line-height: 130%;
    font-weight: 500;
}

.custom-input input::-webkit-input-placeholder {
    color: var(--color-blue);
    opacity: 0.8;
}

.custom-input:has(.is-invalid) .input-error {
    margin-top: 5px;
}

.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: 11px;
 }

 .custom-toggle__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid #fff;
    transition: backgound-color 0.3s ease;
 }

 .custom-toggle__icon svg {
     width: 11px;
     height: 10px;
    color: var(--color-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
 }

.custom-toggle__label {
    font-weight: 500;
    font-size: 9px;
    line-height: 11px;
}

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

.custom-toggle a:hover {
    opacity: 0.7;
}

.custom-toggle:has(input:checked)  .custom-toggle__icon {
    background-color: #fff;
}
.custom-toggle:has(input:checked)  .custom-toggle__icon svg {
    opacity: 1;
}

.nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.nav__item {
    position: relative;
}
.nav__item::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    display: block;
    width: 100%;
    height: 20px;
    cursor: pointer;
}
.nav__link {
    display: block;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    padding: 10px 20px;
}

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

.nav__item:first-child .nav__link {
    background-color:#fff;
    color: var(--color-dark);
    font-weight: 600;
    border-radius: 3px;
    font-size: 16px;
    padding: 10px 20px;
}
.nav__item:first-child:hover .nav__link {
    color: var(--color-dark);
}
.nav__sublist {
    display: none;
}
.nav__subitem {
    position: relative;
}
#nav2 {
    display: none;
}
@media (min-width : 1200px) {
    .nav__sublist {
        padding: 3px;
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        transform: translate(0, 100%);
        z-index: 10;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
    .nav__item > .nav__sublist {
        width: calc(100vw - 40px * 2);
        max-width: 1360px;
        height: calc(100vh - var(--header-height));
        overflow-y: auto;
        pointer-events: none;
    }
    .header__store-nav > .nav__sublist {
        height: calc(100vh - 65px);
        overflow-y: auto;
        pointer-events: none;
    }
    .nav__sublist .nav__sublist {
        margin-top: -5px;
    }
    .nav__item > .nav__sublist > ul {
        pointer-events: auto;
    }
    
    .nav__item > .nav__sublist::-webkit-scrollbar {
        width: 0;
    }

    .nav__item:hover > .nav__sublist,
    .nav__item:focus > .nav__sublist,
    .nav__item:focus-within > .nav__sublist {
        opacity: 1;
        visibility: visible;
    }
    .nav__sublist ul {
        width: 336px;
        list-style: none;
        margin: 0;
        padding: 2px;
        border-radius: 4px;
        background: #fff;
        box-shadow: 0px 3px 30px rgba(30, 30, 30, 0.12);
    }
    .nav__subitem {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 18px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
        cursor: pointer;
    }
    .nav__subitem::after {
        display: inline-block;
        width: 12px;
        height: 12px;
        background-image: url(/assets/theme/img/icon-arrow.svg);
        background-size: cover;
        margin-left: 5px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .nav__subitem:has(.nav__sublist)::after {
        content: '';
    }
    .nav__subitem:hover {
        background-color: var(--color-light);
    }
    .nav__subitem:hover > a {
        color: var(--color-blue);
    }
    
    
    .nav__subitem:hover::after {
         opacity: 1;
    }
    .nav__sublink {
        font-weight: 500;
        font-size: 16px;
        line-height: 20px;
        color: var(--color-dark);
    }
    .nav__sublink:hover {
        color: var(--color-accent);
    }
    
    .nav__subitem > .nav__sublist {
        top: 0;
        right: 0;
        transform: translate(100%, 0);
    }
    .nav__subitem:hover > .nav__sublist,
    .nav__subitem:focus > .nav__sublist,
    .nav__subitem:focus-within > .nav__sublist {
        opacity: 1;
        visibility: visible;
    }
}
@media (max-width: 1399px) {
    .nav__link {
        padding: 10px;
    }
}
@media (max-width: 1199px) {
    .nav__list {
        flex-direction: column;
        align-items: end;
        text-align: right;
        gap: 15px;
    }
    .nav__link {
        padding: 0;
        border-radius: 0;
        font-size: 14px;
    }
    .nav__link:hover {
        background-color: transparent;
    }
    .nav__item:first-child  {
        text-align: center;
        width: calc(100% + 16px * 2);
        margin: 0 -16px;
    }
    .nav__sublist {
        display: none;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: var(--color-navy);
    color: #fff;
    z-index: 100;
    transition: background 0.3s ease;
}
.header--main {
    background: transparent;
}
.header.sticky {
    background-color: rgba(9,39,133,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.header__top {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

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

.header__text {
    font-size: 12px;
    line-height: 110%;
}
.header__store {
    min-height: 40px;
    max-width: 228px;
    border-radius: 20px;
    font-size: 16px;
    color: var(--color-dark);
    background: #fff;
}
.header__store:hover {
    color: var(--color-blue);
    background: #fff;
}
.header__search {
    flex: 1;
}
.header__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.header__contact span {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 15px;
}
.header__contact a {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
}
.header__contact a:hover {
    color: var(--color-accent);
}

.header__btns {
    display: flex;
    gap: 10px;
}
.header__btn {
    position: relative;
    width: 40px;
    min-height: 40px;
    padding: 0;
    background: #fff;
    border-radius: 4px;
    color: var(--color-blue);
}
.header__btn svg {
    width: 50%;
    height: 50%;
}
.header__btn-num {
    position: absolute;
    top: 6px;
    right: 6px;
    font-weight: 600;
    font-size: 9px;
    line-height: 100%;
    padding: 2px 4px;
    border-radius: 2px;
    background: var(--color-accent);
    color: #fff;
}
.header__btn:hover {
    color: var(--color-accent);
}

.header__menu {
    background-color: var(--color-blue);
    border-radius: 4px;
    padding: 4px;
    margin-top: 18px;
}
.header__burger {
    display: none;
}
.header__btn.mobile {
    display: none;
}
.header__burger svg {
    position: absolute;
    width: 20px;
    height: 20px;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    transition: opacity 0.3s ease;
}

.header__burger .icon-close {
    opacity: 0;
}

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

.header__burger.is-open .icon-open {
    opacity: 0;
}
.header__search-mob {
    display: none;
}

@media (max-width: 1399px) {
    .header__search {
        display: none;
    }
    .header__search-mob {
        display: flex;
    }
}

@media (max-width : 1199px) {
    .header__logo {
        align-items: end;
    }
    .header__store {
        max-width: calc(100% + 16px * 2);
        width: calc(100% + 16px * 2);
        border-radius: 4px;
        margin: -16px -16px 5px;
    }
    .header__burger {
        display: flex;
    }
    .header__menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        bottom: -10px;
        right: 15px;
        transform: translateY(100%);
        width: 100%;
        max-width: 320px;
        z-index: 25;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        padding: 20px;
    }
    .header__menu.is-active {
        opacity: 1;
        visibility: visible;
    }
    .header__contacts {
        flex-direction: column;
        align-items: end;
        text-align: right;
        margin-top: 30px;
    }

}

@media (max-width : 959px) {
    .header__text {
        display: none;
    }
}

@media(max-width : 539px) {
    .header {
        padding: 15px 0;
    }
    .header__btns {
        gap: 5px;
    }
    .header__btn {
        width: 36px;
        min-height: 36px;
    }
}

.mobile {
    display: none;
}

@media(max-width: 1199px) {
    .mobile {
        display: flex;
    }
    .desktop {
        display: none;
    }
}

.search {
    position: relative;
    width: 100%;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 20px;
}
.search form,
.search label,
.search input {
    width: 100%;
    border-radius: 8px;
}
.search input {
    border: none;
    background: transparent;
    color: #fff;
    padding: 10px 12px;
    font-family: 'Montserrat','Arial', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    outline: none;
}
.search input::-webkit-input-placeholder {
    color: #fff;
    opacity: 0.6;
}
.search__btn {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 40px;
    min-height: 40px;
    padding: 0; 
    border-radius: 50%;
    color: var(--color-blue);
    background: #fff;
    z-index: 2;
    box-shadow: none;
}
.search__btn svg {
    width: 16px;
    height: 16px;
}
.search__btn:hover {
    color: var(--color-accent);
    background: #fff;
    box-shadow: none;
}


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

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

.breadcrumbs a {
    font-size: 12px;
    line-height: 130%;
}

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

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

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

.breadcrumbs li:last-child::after {
    display: none;
}
@media(max-width: 539px) {
    .breadcrumbs {
        margin: 10px 0 40px;
    }
}
.form__wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 80px 40px 40px;
    border-radius: 4px;
    overflow: hidden;
    color: #fff;
    background: var(--color-blue);
}
.form__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.form__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 9, 36, 0.4);
    z-index: 2;
}
.form__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.form__info {
    position: relative;
    z-index: 3;
}
.form__title {
    line-height: 100%;
    margin: 0 0 60px;
}
.form__text {
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
}
.form form {
    position: relative;
    z-index: 3;
}
.form__btn {
    align-self: start;
}
.form__accepts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form__note {
    font-weight: 500;
    font-size: 9px;
    line-height: 11px;
}
.form__note a {
    text-decoration: underline;
}
.form__note a:hover {
    opacity: 0.7;
}
@media(max-width: 1199px) {
    .form__wrap {
        padding: 30px;
        grid-template-columns: 1fr;
    }
    .form__title {
        margin: 0 0 20px;
    }
}
@media(max-width: 959px) {
    .form__wrap {
        padding: 20px;
    }
    
}
@media(max-width: 539px) {
    .form__wrap {
        padding: 20px 12px;
    }
    .form__title {
        margin: 0 0 15px;
    }
    .form__text {
        font-size: 14px;
    }
}
.contacts__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contacts__item {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: space-between;
    border-radius: 4px;
    background-color: #fff;
}

.contacts__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    padding: 20px 20px 0;
}
.contacts__info {
    font-size: 16px;
    line-height: 120%;
    opacity: 0.72;
    padding: 0 20px 20px;
}
.contacts__info p {
    margin: 0 0 10px;
}
.contacts__info p:last-child {
    margin: 0;
}
.contacts__info a:hover {
    color:  var(--color-accent);
}
.contacts__map {
    border-radius: 4px;
    height: 374px;
    overflow: hidden;
}
@media(max-width: 1199px) {
    .contacts__item {
        gap: 30px;
    }
    .contacts__title {
        font-size: 20px;
    }
    .contacts__map {
        height: 320px;
    }
}

@media(max-width: 767px) {
    .contacts__list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .contacts__title {
        font-size: 18px;
        padding: 10px 10px 0;
    }
    .contacts__info {
        font-size: 14px;
        padding: 0 10px 10px;
    }
    .contacts__map {
        height: 180px;
    }
}

.store-link {
    max-width: 195px;
    font-size: 14px;
    min-height: 40px;
    padding: 4px 10px;
}

.store-link svg {
    width: 25px;
    height: 25px;
}
.footer {
    position: relative;
    overflow: hidden;
    background: var(--color-navy);
    color: #fff;
}
.footer::after {
    content: '';
    position: absolute;
    bottom: -38px;
    right: 0;
    display: block;
    width: 542px;
    height: 266px;
    background-image: url(/assets/theme/img/footer-bg.png);
    pointer-events: none;
    z-index: 10;
}
.footer__top {
    display: grid;
    grid-template-columns: 325px 1fr 1fr;
    grid-template-areas: "info contacts nav"
    "socials contacts nav";
    gap: 20px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 10px;

}
.footer__nav {
    grid-area: nav;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__title {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    margin-bottom: 5px;
}
.footer__link {
    font-size: 14px;
    line-height: 120%;
    opacity: 0.6;
}
.footer__link.active,
.footer__link:hover {
    opacity: 1;
}

.footer__text {
    font-size: 12px;
    line-height: 120%;
    opacity: 0.6;
    max-width: 254px;
}
.footer__socials {
    grid-area: socials;
    margin-top: auto;
}
.footer__contacts {
    grid-area: contacts;
    margin: 0;
    padding: 0;
}
.footer__contacts dt {
    font-size: 12px;
    line-height: 120%;
    opacity: 0.6;
    margin-bottom: 5px;
}
.footer__contacts dd {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    margin: 0 0 15px;
    max-width: 300px;
}
.footer__contacts dd:last-child {
    margin: 0;
}
.footer__contacts a:hover {
    color: var(--color-accent);
}
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
}
.footer__copyright,
.footer__privacy {
    font-size: 12px;
    line-height: 120%;
    opacity: 0.6;
}
.footer__privacy:hover {
    opacity: 1;
}

@media(max-width : 1199px) {
    .footer__top {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer__nav {
        grid-template-columns: 1fr;
    }
}
@media(max-width : 767px) {
    .footer__top {
        grid-template-columns: 1fr;
        grid-template-areas: "info" "nav" "contacts" "socials";
    }
}
@media(max-width : 767px) {
    .footer__top {
        padding: 30px 0;
    }
    .footer__info {
        order: 0;
    }
    .footer__logo a {
        width: 145px;
        height: 35px;
    }
    .footer__text {
        font-size: 10px;
    }
    .footer__col:has(.footer__contacts) {
        order: 1;
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}


.catalog-card {
    position: relative;
    background: #fff;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}
.catalog-card:has(.catalog-card__link:hover) {
    box-shadow: 0px 3px 30px rgba(30, 30, 30, 0.12);
}
.catalog-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 325 / 270;
    margin-bottom: 10px;
}
.catalog-card__img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(0deg, #FFFFFF 0%, rgba(255, 255, 255, 0.5) 46.09%, rgba(255, 255, 255, 0) 100%);
}
.catalog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.catalog-card__info {
    padding: 0 20px 20px;   
}
.catalog-card__link {
    display: block;
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 15px;
}
.catalog-card__link:hover {
    color: var(--color-blue);
}
.catalog-card__link::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.catalog-card__text {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    opacity: 0.6;
}
@media(max-width : 539px) {
    .catalog-card__info {
        padding: 0 10px 10px;   
    }
    .catalog-card__link {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .catalog-card__text {
        font-size: 14px;
    }
}

.catalog__category {
    margin-bottom: 60px;
}



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

.category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}
.category-card:has(.category-card__count) {
    min-height: 180px;
}
.category-card__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    transition: color 0.3s ease;
}
.category-card__count {
    font-size: 16px;
    line-height: 120%;
    opacity: 0.72;
}

.category-card:hover {
  box-shadow: 0px 3px 30px rgba(30, 30, 30, 0.12);  
}
.category-card:hover .category-card__title {
    color: var(--color-accent);  
}
@media(max-width : 1199px) {
    .category-card__title {
        font-size: 20px;
    }
}
@media(max-width : 959px) {
    .category-card {
        gap: 5px;
    }
}
@media(max-width : 767px) {
    .category-card {
        padding: 10px;
    }
    .category-card:has(.category-card__count) {
        min-height: 136px;
    }
    .category-card__title {
        font-size: 16px;
    }
    .category-card__count {
        font-size: 14px;
    }
}
@media(max-width : 389px) {
    .category-card:has(.category-card__count) {
        min-height: 0;
    }
}

.device-card {
    position: relative;
    background: #fff;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
    height: auto;
    min-width: 0;
}
.device-card:has(.device-card__link:hover) {
    box-shadow: 0px 3px 30px rgba(30, 30, 30, 0.12);
}
.device-card__gallery,
.device-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 440 / 300;
    margin-bottom: 10px;
    z-index: 10;
    min-width: 0;
}
.device-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.device-card__info {
    padding: 10px 20px 20px;   
}
.device-card__link {
    display: block;
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.device-card__link:hover {
    color: var(--color-blue);
}
.device-card__link::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.device-card__text {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
}
.additional-cards {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}

.additional-card {
    position: relative;
    background: #fff;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
    height: auto;
}
.additional-card:has(.additional-card__link:hover) {
    box-shadow: 0px 3px 30px rgba(30, 30, 30, 0.12);
}
.additional-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 220 / 340;
    max-height: 450px;
    z-index: 10;
    min-width: 0;
    pointer-events: none;
}
.additional-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.additional-card__info {
    padding: 10px;   
}
.additional-card__link {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 110%;
}
.additional-card__link:hover {
    color: var(--color-blue);
}
.additional-card__link::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

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

.solutions {
    position: relative;
    overflow: hidden;
}
.solutions::after {
    content: '';
    display: block;
    width: 598px;
    height: 398px;
    position: absolute;
    bottom: -41px;
    left: -98px;
    pointer-events: none;
    background-image: url('../img/img8.png');
    background-size: cover;
}
.solution-card {
    position: relative;
    background: #fff;
}
.solution-card__icon {
    position: absolute;
    top: 8px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    z-index: 5;
    color: #fff;
    transition: color 0.3s ease;
}
.solution-card:has(.solution-card__link:hover) .solution-card__icon {
     color: var(--color-blue);
}
.solution-card__icon svg {
    width: 50%;
    height: 50%;
}
.solution-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 325 / 296;
    margin-bottom: 28px;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.solution-card:has(.solution-card__link:hover) .solution-card__img {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
}
.solution-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.solution-card__link {
    display: block;
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 15px;
}
.solution-card__link:hover {
    color: var(--color-blue);
}
.solution-card__link::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.solution-card__text {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
}

@media(max-width: 539px) {
    .solution-card__img {
        margin-bottom: 20px;
    }
    .solution-card__link {
        font-size: 18px;
    }
    .solution-card__text {
        font-size: 14px;
    }
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    cursor:pointer;
    transition: box-shadow 0.3s ease;
}
.product-card:has(.product-card__link:hover),
.product-card:hover {
    box-shadow: 0px 3px 30px rgba(30, 30, 30, 0.12);
}
.product-card__details {
    position:absolute;
    width: 100%;
    height: calc(100% - 70px);
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    padding: 20px;
    top: 0;
    left: 0;
    z-index: 3;
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.product-card__details::-webkit-scrollbar {
    width: 0;
}
.product-card:hover .product-card__details {
    transform: translateX(0);
}

.product-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
}
.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card__info {
    flex: 1;
    padding: 20px;
    display: flex;
    background: #fff;
    flex-direction: column;
}
.product-card__title {
    flex: 1;
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.product-card:has(.product-card__link:hover) .product-card__title {
    color: var(--color-blue);
}
.product-card__article {
    font-size: 16px;
    line-height: 120%;
    opacity: 0.6;
    margin-bottom: 20px;
}
.product-card__bottom {
    display: flex;
    gap: 10px;
    align-items: center;
}
.product-card__prices {
     margin-right: auto;
}
.product-card__old-price {
    font-size: 16px;
    color: var(--color-navy);
    text-decoration: line-through;
    opacity: 0.7;
}
.product-card__price {
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
}
.product-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    background-color: rgba(48,85,164,0.1);
    color: var(--color-blue);
    width: 34px;
    height: 34px;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
}
.product-card__btn:hover {
    color: #fff;
    background-color: var(--color-accent);
}
.product-card__btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.product-card__link:hover svg {
    transform: rotate(45deg);
}
.product-card__link:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 5;
}
.product-card__cart {
    position: relative;
    z-index: 6;
}

@media(max-width : 539px) {
    .product-card__info {
        padding: 10px;
    }
    .product-card__title {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .product-card__article {
        font-size: 14px;
    }
    .product-card__price {
        font-size: 20px;
    }
} 


.quantity {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 47px;
    width: 163px;
    border-radius: 12px;
    background: #fff;
    padding: 10px 35px;
}

.quantity__btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 0;
    padding: 0;
    outline: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background-color: transparent;
    color: var(--color-dark);
    opacity: 0.62;
    font-family: 'Montserrat','Arial',sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.02em;
    user-select: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.quantity__btn:hover,
.quantity__btn:focus {
    opacity: 1;
}

.quantity__btn:disabled {
    opacity: 0.4;
    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-family: 'Montserrat','Arial',sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.02em;
}
.product__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    min-width: 0;
    gap: 20px;
}

.product__gallery {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
}

.product__img {
    width: 100%;
    height: 650px;
    padding: 25px;
}

.product__img img {
    height: 100%;
    width: 100%;
    user-select: none;
    object-fit: contain;
}
.product__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 130%;
    margin: 0 0 10px;
}

.product__text {
    font-size: 16px;
    line-height: 130%;
    margin-bottom: 5px;
}
.product__text span {
    opacity: 0.62;
}
.product__category {
    margin-bottom: 10px;
}
.product__center {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0 20px;
}
.product__prices {

}
.product__old-price {
    font-size: 16px;
    color: var(--color-navy);
    text-decoration: line-through;
    opacity: 0.7;
}
.product__price {
    font-weight: 600;
    font-size: 26px;
    line-height: 130%;
    color: var(--color-blue);
}
.product__stock {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    line-height: 130%;
    color: #30A434;
}
.product__stock::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #30A434;
}
.product__details {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 130%;
    color: rgba(31, 31, 31, 0.62);
}
.product__details p {
    margin: 0 0 5px;
}
.product__details strong {
   font-weight: 400;
   color: var(--color-dark);
}
.product__bottom {
    display: flex;
    gap: 10px;
}

.product__tabs {
    margin-top: 40px;
}

.product__tabs-btns {
    display: flex;
}
.product__tabs-btn {
    position: relative;
    border: 1px solid #3055a44d;
    font-family: 'Montserrat', 'Arial', sans-serif;
    min-height: 35px;
    cursor: pointer;
    color: var(--color-navy);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    padding: 16px 40px;
    background: var(--color-light);
    margin-bottom: -1px;
    z-index: 2;
}

.product__tabs-btn.active {
    border-bottom-color: transparent;
    background: #fff;
}
.product__tabs-content {
    background: #fff;
    padding: 20px;
    border-radius: 0 12px 12px;
    border: 1px solid #3055a44d;
}
.product__tabs-item {
    display: none;
}
.product__tabs-item.active {
    display: block;
}

@media(max-width : 1199px) {
    .product__wrap {
        grid-template-columns: 1fr 1fr;
    }    
}
@media(max-width : 959px) {
    .product__wrap {
        grid-template-columns: 1fr;
    }
    .product__img {
        height: 440px;
        padding: 15px;
    }
}
@media(max-width : 539px) {
    .product__img {
        height: 420px;
        padding: 10px;
    }
}

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

.tabs__btns {
    display: flex;
    flex-direction: column;
}
.tabs__btn {
    position: relative;
    border: none;
    padding: 10px 20px;
    background: transparent;
    font-family: 'Montserrat', 'Arial', sans-serif;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: left;
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    color: rgba(31,31,31,0.62);
}
.tabs__btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 2px;
    height: 100%;
    background: var(--color-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tabs__btn:hover {
    color: var(--color-dark);
}
.tabs__btn.active {
    color: var(--color-dark);
}
.tabs__btn.active::after {
    opacity: 1;
}
.tabs__item {
    display: none;
}
.tabs__item.active {
    display: block;
}
@media(max-width : 1199px) {
    .tabs__btn {
        font-size: 18px;
    }
}

@media(max-width : 959px) {
    .tabs {
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width : 539px) {
    .tabs {
        grid-template-columns: 1fr;
    }
    .tabs__btn {
        font-size: 16px;
    }
}
.directions {
    position: relative;
    overflow: hidden;
}
.directions::after {
    content: '';
    display: block;
    width: 598px;
    height: 398px;
    position: absolute;
    bottom: -41px;
    left: -98px;
    pointer-events: none;
    background-image: url('../img/img8.png');
    background-size: cover;
}
.directions__item {
    background: var(--color-light);
    border-radius: 4px;
    padding: 5px;
    display: flex;
}
.directions__img {
    flex-shrink: 0;
    width: 320px;
    height: 380px;
    border-radius: 4px;
    ovrflow: hidden;
}
.directions__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.directions__info {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.directions__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-dark);
    border-radius: 4px;
    margin-bottom: auto;
}
.directions__icon img {
    width: 27px;
    height: 27px; 
}
.directions__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
}
.directions__text {
    font-size: 18px;
}

@media(max-width:1199px) {
    .directions__item {
        flex-direction: column;
    }
    .directions__img {
        width: 100%;
        height: 260px;
    }
    .directions__title {
        font-size: 20px;
    }
    .directions__text {
        font-size: 16px;
    }
}
@media(max-width:959px) {
    .directions__item {
        flex-direction: column;
    }
    .directions__img {
        width: 100%;
        height: 260px;
    }
    .directions__icon {
        width: 48px;
        height: 48px;
    }
}
@media(max-width:539px) {
    .directions__info {
        padding: 10px;
    }
    .directions__title {
        font-size: 18px;
    }
    .directions__text {
        font-size: 14px;
    }
}

[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 {
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 20px;
    border: 1px solid var(--color-blue);
    transition: background-color 0.3s ease, border-color  0.3s ease;
}

.accordion__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 20px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    min-height: 74px;
    font-family: 'Unbounded','Arial', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

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

.accordion__icon {
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    width: 34px;
    height: 34px;
    background: #BAC6E5;
    border-radius: 50%;
    color: #fff;
}

.accordion__icon svg {
    width: 18px;
    height: 18px;
    transition:  transform 0.3s ease;
}
.accordion__element.is-active .accordion__icon {
    background-color: var(--color-accent);
}

.accordion__element.is-active .accordion__icon svg {
    transform: rotate(180deg);
}
.accordion__element.is-active {
    background-color: var(--color-light);
    border-color: transparent;
}

.accordion__wrapper {
    padding: 0 20px 20px;
    font-size: 16px;
    line-height: 140%;
    opacity: 0.6;
}

.accordion__wrapper p {
    margin: 0;
    max-width: 900px;
}
@media(max-width: 959px) {
    .accordion__button {
        font-size: 22px;
    }
}
@media(max-width: 539px) {
    .accordion__element {
        border-radius: 10px;
    }
    .accordion__button {
        font-size: 18px;
        padding: 15px;
    }
    .accordion__wrapper {
        font-size: 14px;
        padding: 0 15px 15px;
    }
}
.numbers__wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.numbers__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    border-radius: 4px;
    padding: 20px;
    min-height: 180px;
    background: var(--color-blue);
    color:  #fff;
    overflow: hidden;
    background-size: cover;
}
.numbers__item::after {
    display: block;
    width: 550px;
    height: 373px;
    position: absolute;
    bottom: -25px;
    right: -216px;
    background-image: url(../img/img2.png);
    background-size: cover;
    pointer-events: none;
}
.numbers__item:first-child {
    grid-row: 1 / 3;
}

.numbers__item:first-child::after {
    content: '';
}
.numbers__item:last-child {
    grid-row: 1 / 3;
    grid-column: -2 / -1;
    background-image: url(../img/img1.png);
}
.numbers__item:nth-child(3) {
    color: var(--color-blue);
    background: #fff;
    text-align: end;
}
.numbers__title {
    font-weight: 600;
    font-size: 72px;
    line-height: 120%;
}
.numbers__title span {
    font-size: 32px;
    line-height: 120%;
}

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

@media(max-width: 1199px) {
    .numbers__text {
        font-size: 16px;
    }
}
@media(max-width: 959px) {
    .numbers__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .numbers__item {
        min-height: 163px;
    }
    .numbers__item:first-child {
        background-image: url(../img/img52.png);
    }
    .numbers__item:last-child {
        background-image: none;
    }
    .numbers__item::after {
        width: 343px;
        height: 246px;
        bottom: -24px;
        right: -56px;
    }
    .numbers__item:first-child::after {
        content: none;
    }
    .numbers__item:last-child::after {
        content: '';
    }
    .numbers__item:last-child {
        grid-row: auto;
        grid-column: 1 / -1;
        background-image: none;
    }
    .numbers__title {
        font-size: 62px;
    }
}
@media(max-width: 539px) {
    .numbers__wrap {
        grid-template-columns: 1fr;
    }
    .numbers__item::after {
        width: 241px;
        height: 164px;
        bottom: -12px;
        right: -60px;
    }
    .numbers__item:first-child {
       min-height: 240px;
    }
    .numbers__item {
        min-height: 140px;
    }
    .numbers__title {
        font-size: 62px;
    }
    .numbers__title span {
        font-size: 22px;
    }
}
.promo {
    position: relative;
}
.promo__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.promo__bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(31, 55, 106, 0.35) linear-gradient(180deg, rgba(22, 41, 82, 0.4) 71.01%, rgba(49, 92, 184, 0) 100%);
    z-index: 2;
}
.promo__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.promo__wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 32px;
    padding: 125px 0 54px;
    z-index: 3;
    min-height: 750px;
    color: #fff;
}
.promo__info {
    max-width: 770px;  
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.promo__tag {
    display: flex;
    align-items: center;
    gap: 17px;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
}
.promo__tag::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}
.promo__title {
    font-weight: 600;
    font-size: 64px;
    line-height: 100%;
    margin: 0;
}

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

.promo__btns{
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media(max-width: 1199px) {
    .promo__wrap {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: end;
        gap: 45px;
        padding: 125px 0 54px;
        min-height: 700px;
    }
    .promo__info {
        gap: 20px;
    }
    .promo__title {
        font-size: 52px;
    }
    .promo__text {
        font-size: 14px;
    }
    .promo__btns{
        width: 100%;
        max-width: 660px;
        flex-direction: row;
        gap: 22px;
    }
}
@media(max-width: 959px) {


}
@media(max-width: 539px) {
    .promo__wrap {
        min-height: 600px;
        padding: 80px 0 36px;
    }
    .promo__info {
        gap: 15px;
    }
    .promo__title {
        font-size: 28px;
    }
    .promo__btns{
        flex-direction: column;
        gap: 15px;
    }
}


.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    min-height: 250px;
    border: 1px solid var(--color-blue);
    border-radius: 20px;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.card__num {
    font-family: 'Unbounded';
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    text-align: right;
    color: #fff;
    padding: 6px 14px;
    background-color: var(--color-blue);
    border-radius: 20px;
    align-self: flex-end;
    margin-bottom: auto;
}
.card__img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #BAC6E5;
    border-radius: 20px;
    margin-bottom: auto;
}
.card__icon img {
    width: 26px;
    height: 26px;
}

.card__title {
    font-family: 'Unbounded','Arial', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 125%;
}
.card__text {
    font-size: 16px;
    line-height: 140%;
    color: rgba(0,0,0,0.6);
    flex: 1;
}
.card__text p {
    margin: 0;
}
.card__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 19px;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: auto;
}
.card__link::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.card__link:hover {
    color: var(--color-accent);
}
.card:has(.card__link:hover) {
    background-color: var(--color-light);
    border-color: transparent;
}
@media(max-width: 539px) {
    .card {
        gap: 15px;
    }
    .card__title {
        font-size: 22px;
    }
}
@media(max-width: 539px) {
    .card {
        padding: 15px;
        min-height: 160px;
        border-radius: 10px;
        gap: 10px;
    }
    .card__icon {
        width: 48px;
        height: 48px;
        border-radius: 5px;
    }
    .card__icon img {
        width: 22px;
        height: 22px;
    }
    .card__title {
        font-size: 16px;
    }
    .card__text {
        font-size: 14px;
    }
}

.features .card {
    min-height: 336px;
}
.features .card__icon {
    margin-bottom: 40px;
}
.features--service .card {
    min-height: 280px;
}
.features .card:has(.card__img) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.features--service .card:has(.card__img) {
    grid-column: auto;
    grid-row: auto;
}
.features--service .card__icon {
    position: absolute;
    top: 20px;
    right: 20px;
}
.features--service .card__title {
    margin: 0 90px auto 0;
}
@media(max-width: 1199px) {
    .features .card:has(.card__img) {
        grid-column: -2 / -1;
        grid-row: 2 / 3;
    }
}
@media(max-width: 767px) {
    .features .card {
        min-height: 250px;
    }
    .features .card:has(.card__img) {
        grid-row: 4 / 5;
        min-height: 272px;
    }
}

.advantages__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.advantages__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 4px;
    background-color: #fff;
    padding: 50px 40px;
}
.advantages__img {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    aspect-ratio: 1 / 1;
}
.advantages__img img {
    width: 100%;
    height: 100%;
}
.advantages__info {
    position: relative;
    z-index: 5;
}
.advantages__title {
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    color: var(--color-blue);
    margin-bottom: 20px;
}
.advantages__text {
    font-size: 20px;
}
@media(max-width: 1199px) {
    .advantages__item {
        padding: 40px 30px;
    }
    .advantages__title {
        font-size: 28px;
    }
    .advantages__text {
        font-size: 18px;
    }
}
@media(max-width: 959px) {
    .advantages__item {
        padding: 30px 25px;
    }
    .advantages__wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .advantages__title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .advantages__text {
        font-size: 16px;
    }
}
@media(max-width: 767px) {
    .advantages__wrap {
        grid-template-columns: 1fr;
    }
    .advantages__item {
        padding: 20px;
    }
    .advantages__text {
        font-size: 14px;
    }
}
.news {
    position: relative;
    overflow: hidden;
}
.news::after {
    content: '';
    display: block;
    width: 598px;
    height: 398px;
    position: absolute;
    bottom: -41px;
    left: -98px;
    pointer-events: none;
    background-image: url('../img/img8.png');
    background-size: cover;
}
.blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(31,31,31,0.1);
    height: auto;
}

.blog-card__img {
    width: 100%;
    aspect-ratio: 440 / 320;
    margin-bottom: 20px;
    overflow: hidden;
}
.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.blog-card__date {
    font-weight: 500;
    font-size: 12px;
    line-height: 120%;
    opacity: 0.6;
    margin-bottom: 5px;
}

.blog-card__text {
    font-size: 16px;
    line-height: 120%;
    flex: 1;
    margin-bottom: 20px;
    padding-right: 55px;
}
.blog-card__link {
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    margin-bottom: 15px;
}
.blog-card__link::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}
.blog-card__link:hover {
    color: var(--color-accent);
}

@media(max-width: 539px) {
    .blog-card__img {
        margin-bottom: 10px;
    }
    .blog-card__text {
        font-size: 14px;
        padding-right: 15px;
    }
    .blog-card__link {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

.review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 10px;
}
.review-card__author {
    display: grid;
    gap: 20px;
    grid-template-columns: 90px 1fr;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(31,31,31,0.1);
}
.review-card__img {
    grid-row: 1 / 3;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
}
.review-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-card__name {
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
}
.review-card__position {
    font-weight: 500;
    font-size: 12px;
    line-height: 120%;
    opacity: 0.6;
    text-wrap: balance;
}

.review-card__more {
    font-family: 'Montserrat','Arial',sans-serif;
    font-size: 16px;
    line-height: 130%;
    text-decoration-line: underline;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--color-blue);
    margin-top: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
    width: fit-content;
}

@media(max-width: 539px) {
    .review-card__author {
        margin-bottom: 10px;
    }
    .review-card__text {
        font-size: 14px;
    }
}

.article__date {
    font-size: 14px;
    line-height: 120%;
    opacity: 0.62;
    margin: -35px 0 40px;
}

.article__wrap {
    width: 100%;
    max-width: 1130px;
}
.article__img {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 40px;
}
.article__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.article__text p, .article__text ul, .article__text ol {
    opacity: 0.72;
}
.article__text p:has(iframe), .article__text p:has(img) {
    opacity: 1;
}
@media(max-width: 1199px) {
    .article__date {
        margin: -30px 0 35px;
    }
    .article__img {
        margin-bottom: 30px;
    }
}
@media(max-width: 959px) {
    .article__date {
        margin: -25px 0 30px;
    }
}
@media(max-width: 539px) {
    .article__date {
        margin: -15px 0 20px;
    }
    .article__img {
        margin-bottom: 20px;
    }
}

.step-card {
    min-height: 320px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    flex-direction: column;
    padding: 20px;

    background-image: linear-gradient(294.68deg, #FEEDD5 0%, #F9DCD5 50%, #ECEDF7 100%);
    background-size: 300% 200%;
    background-repeat: no-repeat;
}
.step-card:nth-child(1) { background-position: 0%   0%; }
.step-card:nth-child(2) { background-position: 50%  0%; }
.step-card:nth-child(3) { background-position: 100% 0%; }

.step-card:nth-child(4) { background-position: 0%   100%; }
.step-card:nth-child(5) { background-position: 50%  100%; }
.step-card:nth-child(6) { background-position: 100%  100%; }
.step-card--accent {
    background: #FA8676;
    color: #fff;
}

.step-card__num {
    margin-bottom: auto;
    font-family: 'Unbounded', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-align: right;
    opacity: 0.4;
}

.step-card__title {
    font-family: 'Unbounded', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
}

.step-card__text {
    font-size: 16px;
    line-height: 140%;
    opacity: 0.6;
}

.step-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #FA8676;
    border-radius: 20px;
    margin-bottom: 40px;
    color: #fff;
}
.step-card__icon img {
    width: 26px;
    height: 26px;
}

.step-card__btn {
    margin-top: auto;
}

@media (max-width: 959px) {
    .step-card {
        background-size: 200% 300%;
    }

    .step-card:nth-child(1) { background-position: 0%   0%; }
    .step-card:nth-child(2) { background-position: 100% 0%; }

    .step-card:nth-child(3) { background-position: 0%   50%; }
    .step-card:nth-child(4) { background-position: 100% 50%; }

    .step-card:nth-child(5) { background-position: 0%   100%; }
    .step-card:nth-child(6) { background-position: 100%  100%; }

    .step-card__title {
        font-size: 22px;
    }
}
@media (max-width: 767px) {
    .step-card {
        background-size: 100% 500%;
        gap: 10px;
        padding: 15px;
        min-height: 227px;
        border-radius: 10px;
    }

    .step-card:nth-child(1) { background-position: 0%  0%; }
    .step-card:nth-child(2) { background-position: 0% 25%; }

    .step-card:nth-child(3) { background-position: 0%  50%; }
    .step-card:nth-child(4) { background-position: 0% 75%; }

    .step-card:nth-child(5) { background-position: 0%  100%; }
    .step-card:nth-child(6) { background-position: 0%  100%; }

    .step-card__title {
        font-size: 18px;
    }
    .step-card__num {
        font-size: 14px;
    }
}
.service-step .card__text a {
    color: var(--color-accent);
}
.service-step .card__text a:hover {
    color: var(--color-dark);
}
@media (max-width: 539px) {
    .step-card {
        min-height: 0;
    }
    .step-card__icon {
        margin-bottom: 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.82;
    cursor: pointer;
}

.modal__content {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: var(--color-light);
    border-radius: 4px;
    overflow: hidden;
    padding: 30px;
}

.modal-form {
    max-width: 460px;
}

.modal form {
    display: grid;
    gap: 15px;
}
.modal-form  .custom-toggle__icon {
    border: 1px solid var(--color-blue);
 }

.modal__title {
    font-size: 30px;
    line-height: 130%;
    font-weight: 600;
    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__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-blue);
}

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

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

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


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;
}


.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;
}
.accept__text a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.accept__text a:hover {
    color: var(--color-accent);
}

@media(max-width : 539px) {
    .accept {
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
        padding: 20px;
    }
}

.about .container::after {
    content: '';
    display: block;
    width: 598px;
    height: 398px;
    position: absolute;
    bottom: -100px;
    right: -73px;
    pointer-events: none;
    background-image: url('../img/img8.png');
    background-size: cover;
}

.about__text {
    font-size: 20px;
    line-height: 120%;
    opacity: 0.72;
}
@media(max-width : 767px) {
    .about__text {
        font-size: 14px;
        line-height: 120%;
        opacity: 0.72;
    }
}
.history__item {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(48,85,164,0.32);
}
.history__item:last-child {
    border-bottom: 1px solid rgba(48,85,164,0.32);
}

.history__year {
    font-weight: 600;
    font-size: 42px;
    line-height: 110%;
}
.history__text {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.72;
}

.history__item--accent .history__year {
    font-size: 55px;
    color: var(--color-blue);
}
@media(max-width : 1199px) {
    .history__item {
        grid-template-columns: 150px 1fr;
        gap: 10px;
    }
}
@media(max-width : 959px) {
    .history__item {
        grid-template-columns: 120px 1fr;
    }
    .history__year {
        font-size: 35px;
    }
    .history__item--accent .history__year {
        font-size: 45px;
    }
}
@media(max-width : 539px) {
    .history__item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }
    .history__year {
        font-size: 24px;
    }
    .history__text {
        font-size: 14px;
    }
    .history__item--accent .history__year {
        font-size: 28px;
    }
}
.service-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.service-imgs__img {
    width: 100%;
    aspect-ratio: 670 / 325;
}
.service-imgs__img:first-child {
    grid-row: 1 / 3;
    aspect-ratio: 1 / 1;
}
.service-imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media(max-width : 767px) {
    .service-imgs {
        grid-template-columns: 1fr;
        gap: 10px;
    }   
}
.service-features__list {
    display: grid;
    grid-template-columns: 300px 1fr;
}
.service-features__item {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    align-items: center;
    padding: 20px 0;
    gap: 30px; 
    border-top: 1px solid rgba(48,85,164,0.32);
}
.service-features__item:last-child {
    border-bottom: 1px solid rgba(48,85,164,0.32);
}
.service-features__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 110%;
}
.service-features__text {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.72;
}

@media(max-width : 1199px) {
    .service-features__item {
        gap: 10px;
    }
}
@media(max-width : 959px) {
    .service-features__item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }
    .service-features__title {
        font-size: 20px;
    }
}
@media(max-width : 539px) {

    .service-features__title {
        font-size: 18px;
    }
    .service-features__text {
        font-size: 14px;
    }
}

.creation__image {
    height: 420px;
    width: calc(100% + 2 * 40px);
    margin-right: -40px;
    margin-left: -40px;
}
.creation__image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.creation__wrap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.creation__item {
    grid-column: auto / span 2;
    min-height: 340px;
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}
.creation__item:first-child {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
}
.creation__item:nth-child(2),
.creation__item:nth-child(3) {
    grid-column: auto / span 3;
    min-height: 280px;
}
.creation__info {
    position: relative;
    padding: 15px;
    background: rgba(31, 31, 31, 0.1);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-radius: 4px;
    z-index: 2;
}
.creation__item:nth-child(1) .creation__info,
.creation__item:nth-child(2) .creation__info,
.creation__item:nth-child(3) .creation__info {
    max-width: 420px;
}
.creation__img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.creation__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.creation__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    color: #fff;
    margin-bottom: 10px;
}
.creation__text {
    font-size: 16px;
    line-height: 120%;
    color: #fff;
    opacity: 0.72;
}
.creation__text p {
    margin: 0;
}

@media(max-width: 1199px) {
    .creation__image {
        height: 360px;
        width: calc(100% + 2 * 15px);
        margin-right: -15px;
        margin-left: -15px;
    }  
    .creation__title {
        font-size: 20px;
    }
}
@media(max-width : 959px) {
    .creation__image {
        height: 288px;
    }  
    .creation__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .creation__item {
        grid-column: auto;
        min-height: 280px;
    }
    .creation__item:first-child {
        grid-column: auto;
        grid-row: auto;
    }
    .creation__item:nth-child(2),
    .creation__item:nth-child(3) {
        grid-column: auto;
    }
}
@media(max-width: 767px) {
    .creation__wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .creation__image {
        height: 135px;
    }  
    .creation__title {
        font-size: 18px;
    }
    .creation__text {
        font-size: 14px;
    }
}

.device {
    padding-top: 0;
    min-width: 0;
}
.device__wrap {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: auto 1fr;
    gap: 20px;
}
.device--additional .device__wrap {
    grid-template-columns: 3fr 1fr;    
} 
.device__info {
    container-type: inline-size; 
    container-name: device-info; 
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.device__btns {
    display: flex;
    gap: 20px;
    margin-top: auto;
}
.device__gallery {
    grid-column: -2 / -1;
    grid-row: 1 / 3;
    position: relative;
    min-width: 0;
    width: 100%;
    height: 100%;
}
.device__img {
    grid-column: -2 / -1;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    max-height: 70vh;
}
.device__image {
    width: 100%;
    aspect-ratio: 670 / 563;
}
.device__img img,
.device__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.mini-swiper .swiper-slide-thumb-active.device__image {
     outline: 1px solid var(--color-blue);
}

.mini-swiper .device__image {
    max-width: 120px;
    border-radius: 8px;
    outline: 1px solid rgba(31, 31, 31, 0.2);
    outline-offset: -1px;
}

.device__tag {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 5;
    pointer-events: none;
    width: 118px;
    height: 98px;
}
.device__tag img {
    width: 100%;
    height: 100%;
}
.device__btns .btn {
    max-width: 400px;
}
@container device-info (max-width: 650px) {
    .device__btns {
        flex-direction: column;
        gap: 10px;
        max-width: 325px;
    }
}
@media(max-width:1199px) {
    .device__wrap {
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width:959px) {
    .device__wrap,
    .device--additional .device__wrap {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .device__img,
    .device__gallery {
        grid-column: auto;
        grid-row: auto;
    }
}

.device-info__wrap {
    position: relative;
    display: grid;
    grid-template-columns: 325px 1fr;
    align-items: start;
    gap: 20px;
}
.device-info__links {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    /* margin-bottom: 350px; */
}
.device-info__links::after {
    /* content: ""; */
    position: absolute;
    left: -22px;
    bottom: -350px;
    display: block;
    width: 405px;
    height: 255px;
    pointer-events: none;
    z-index: -1;
    background-image: url(../img/decor12.svg);
    background-size: cover;
}
.device-info__links-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    color: var(--color-blue);
    margin-bottom: 12px;
}
.device-info__link {
    display: block;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: rgba(31,31,31,0.72);
    margin-bottom: 6px;
    padding: 2px 12px;
    transform: translateX(-12px);
    border-left: 2px solid transparent;
    transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.device-info__link .color-blue {
    color: inherit;
}
.device-info__link:hover {
    color: var(--color-blue); 
    transform: translateX(0);
}
.device-info__link.active {
    transform: translateX(0);
    border-color: var(--color-blue);
    color: var(--color-blue);
}
.device-info__blocks {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 20px;
}
.device-info__block {
    background: #fff;
    border-radius: 4px;
    padding: 30px;
    min-width: 0;
}

.device-info__block:has(.device-info__img) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.device-info__title {
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    margin: 0 0 20px;
}

@media(max-width: 1199px) {
    .device-info__block:has(.device-info__img) {
        grid-template-columns: 1fr;
    }
    .device-info__title {
        font-size: 28px;
    }
    .device-info__block {
        padding: 20px;
    }
}
@media(max-width: 959px) {
    .device-info__wrap {
        grid-template-columns: 1fr;
    }
    .device-info__wrap::after {
        content: none;
    }
    .device-info__links {
        position: relative;
        top: 0;
        margin: 0;
    }
    .device-info__links::after {
        content: none;
    }
    .device-info__title {
        font-size: 24px;
    }
}
@media(max-width: 539px) {
    .device-info__links {
        padding: 10px;
    }
    .device-info__links-title {
        font-size: 16px;
    }
    .device-info__link {
        font-size: 14px;
    }
    .device-info__wrap {
        grid-template-columns: 1fr;
    }
    .device-info__links {
        position: relative;
        top: 0;
    }
    .device-info__title {
        font-size: 20px;
        margin: 0 0 15px;
    }
    .device-info__block {
        padding: 10px;
    }
}

.detail {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #f6f6f6;
    border-radius: 4px;
}
.detail__title {
    font-size: 16px;
    line-height: 120%;
    opacity: 0.72;
}
.detail__text {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
}
.details-content {
    opacity: 0.72;
    margin-top: 20px;
}
.show-link {
    font-family: 'Montserrat';
    font-size: 16px;
    line-height: 130%;
    text-decoration-line: underline;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--color-dark);
    margin-top: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}
.show-link:hover {
    color: var(--color-blue);
}
[data-show-content] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

[data-show-content].is-show {
    display: block;
}

[data-show-btn] {
    cursor: pointer;
}

[data-show-btn].is-hidden {
    display: none;
}


.ajax_form .error {
     color: var(--color-accent) !important;
     font-size: 14px;
     line-height: 100%;
}


.video-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(31,31,31,0.1);
    height: auto;
}

.video-card__video {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
}
.video-card__video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-card__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    margin-bottom: 20px;
}


@media(max-width: 539px) {
    .video-card__video {
        margin-bottom: 10px;
    }
    .video-card__title {
        font-size: 16px;
        margin-bottom: 10px;
    }
}
.search-page__text {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    margin-bottom: 40px;
}

.search-page__form  {
    border-color: var(--color-blue);
    max-width: 500px;
}
.search-page__form input  {
    color: var(--color-dark);
}

.search-page__results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.search-page__result {
    position: relative;
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 20px;
    padding: 40px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff;
}
.search-page__result img {
    grid-row: 1 / 3;
    width: 65px;
}
.search-page__result-title {
    font-size: 24px;
    line-height: 120%;
    font-weight: 700;
    transition: color 0.3s ease;
}
.search-page__result-title:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}
.search-page__result-text {
    font-size: 16px;
    line-height: 120%;
}
.search-page__result-title:hover  {
    color: var(--color-blue);
}
@media(max-width: 767px) {
    .search-page__text {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .search-page__result {
        grid-template-columns: 45px 1fr;
        gap: 10px;
        padding: 20px;
        border-radius: 12px;
    }
    .search-page__result img {
        width: 45px;
    }
    .search-page__result-title {
        font-size: 20px;
    }
    .search-page__result-text {
        font-size: 14px;
    }
}
@media(max-width: 539px) {
    .search-page__result {
        grid-template-columns: 1fr;
    }
}

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

.cart__list {
    position: sticky;
    top: 160px;
    display: grid;
    gap: 10px;
    margin-bottom: 220px;
    background-color: var(--color-light);
}

.cart__item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 15px;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
}
.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;
    }
    .cart__list {
        position: relative;
        top: 0;
        margin-bottom: 0;
    }
}

@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;
    }
}


.order {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

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

.order__payments {
    display: none;
    background-color: rgba(48, 85, 164, 0.2);
    border-radius: 4px;
    padding: 10px;
}

.order__item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-weight: 500;
    font-size: 14px;
    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-navy);
    opacity: 0.5;
}

.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;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media(max-width: 539px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }   
}

.radio-inputs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 10px;
}
input[type="radio"] {
    accent-color: var(--color-blue);
}
#organisation, #kpp {
    display: none;
}
.order:has(input[data-organisation-input="1"]:checked) #organisation {
    display: block;
}
.order:has(input[data-organisation-input="1"]:checked) #payment1 {
    display: block;
}
.order:has(input[data-organisation-input="2"]:checked) #payment2 {
    display: block;
}
#organisation:has(input[data-organisation-type-input]:checked) #kpp {
    display: block;
}
.order__form {
    margin-bottom: -200px;
}
.order__total {
    position: sticky;
    bottom: 30px;
    right: 0;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    width: calc(100% + 40px);
    max-width: 670px;
    transform: translate(100%,20px);
}

@media(max-width: 959px) {
    .order {
        width: 100%;
        order: 2;
    }
    .order__form {
        margin-bottom: 0;
    }
    .order__total {
        position: relative;
        bottom: 0;
        right: 0;
        padding: 0;
        border-radius: 0;
        width: 100%;
        transform: translate(0,0);
        max-width: none;
    }
}
.entry__form,
.account__form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.order-history__cell {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.72;
}

@media(max-width : 1199px) {

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

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

}


.order-history__table  {
    display: grid;
    grid-template-columns: max-content max-content 1fr auto auto;
}

.order-history__table-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(48,85,164,0.32);
}
.order-history__table-row:last-child {
    border-bottom: 1px solid rgba(48,85,164,0.32);
}

.order-history__table-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 18px;
    line-height: 130%;
    opacity: 0.72;
}
.order-history__table-col a {
    text-decoration: underline;
}
.order-history__table-col a:hover {
   color: var(--color-blue);
}

.order-history__table-head {
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    text-align: start;
    opacity: 1;
}

.order-history__table-text {
    display: none;
}

.order-history__table-status {
    width: fit-content;
    padding: 2px 6px;
    border-radius: 4px;
}

@media(max-width: 959px) {
    .order-history__table  {
        grid-template-columns: 1fr;
    }
    .order-history__table-head {
        display: none;
    }
    
    .order-history__table-text {
        display: block;
        font-weight: 500;
        font-size: 14px;
        line-height: 120%;
        color: var(--color-blue);
        margin-bottom: 5px;
    }
    
    .order-history__table-row {
        grid-template-columns: 1fr;
        padding: 15px 0;
    }
    
    .order-history__table-col {
        align-items: flex-start;
    }
}
.ymaps3--map {
    width: 100% !important;
    height: 100% !important;
}
.order [data-mscdek-map] {
    border-radius: 5px;
    overflow: hidden;
}
.order [data-mscdek-list] {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

.order [data-mscdek-list] select {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 10px 45px 10px 20px;

    font-family: inherit;
    font-size: 16px;
    line-height: 130%;
    font-weight: 500;
    color: var(--color-gray);

    background-color: #fff;
    border: 1px solid rgba(27, 38, 54, 0.3);
    border-radius: 5px;

    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
     accent-color: var(--color-blue);
}

.order [data-mscdek-list]::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;

    width: 8px;
    height: 8px;

    border-right: 1.5px solid var(--color-navy);
    border-bottom: 1.5px solid var(--color-navy);

    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.order [data-mscdek-list] select:hover,
.order [data-mscdek-list] select:focus {
    border-color: rgba(27, 38, 54, 0.7);
}

.order [data-mscdek-list] select:invalid {
    color: var(--color-navy);
    opacity: 0.5;
}

.order [data-mscdek-list] option {
    color: var(--color-gray);
    opacity: 1;
}
