:root {
    --color-dark: #272727;
    --color-accent: #2645D3;
    --color-text: #6A707B;
    --color-light: #f5f5f5;

}

@font-face {
    font-style: normal;
    font-weight: 400;
    font-family: "SF Pro Display";
    font-display: swap;
    src: url("../fonts/SFProDisplay-Regular.woff2") format("woff2"),
}

@font-face {
    font-style: normal;
    font-weight: 500;
    font-family: "SF Pro Display";
    font-display: swap;
    src: url("../fonts/SFProDisplay-Medium.woff2") format("woff2"),
}

@font-face {
    font-style: normal;
    font-weight: 600;
    font-family: "SF Pro Display";
    font-display: swap;
    src: url("../fonts/SFProDisplay-Semibold.woff2") format("woff2"),
}

@font-face {
    font-style: normal;
    font-weight: 700;
    font-family: "SF Pro Display";
    font-display: swap;
    src: url("../fonts/SFProDisplay-Bold.woff2") format("woff2"),
}
@font-face {
    font-style: normal;
    font-weight: 400;
    font-family: "Coolvetica";
    font-display: swap;
    src: url("../fonts/Coolvetica-Regular.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: "SF Pro Display", "Arial", sans-serif;
    color: var(--color-dark);
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    width: 100%;
    height: 100%;

    background-color: #fff;
}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: calc(100 * var(--vh, 1vh));
}

.wrapper .header,
.wrapper .footer {
    flex-shrink: 0;
}

.wrapper main {
    flex-grow: 1;
}

a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

textarea {
    resize: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    margin: 0;

    appearance: none;
}

input[type="number"] {
    appearance: textfield;
}

select,
textarea,
input:matches([type="email"],
    [type="number"],
    [type="password"],
    [type="search"],
    [type="tel"],
    [type="text"],
    [type="url"]) {
    appearance: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    appearance: none;
}

.mb-140 {
    margin-bottom: 140px;
}


@media(max-width: 959px) {
    .mb-140 {
        margin-bottom: 90px;
    }
}

@media(max-width: 767px) {
    .mb-140 {
        margin-bottom: 50px;
    }
}

.op-60 {
    opacity: 0.6;
}

.color-accent {
    color: var(--color-accent);
}

.container {
    position: relative;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 959px) {
    .container {
        padding: 0 15px;
    }
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 20px;
    outline: none;
    border: none;
    font-family: 'SF Pro Display', 'Arial', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #fff;
    text-align: center;
    min-height: 50px;
    width: 100%;
    background: var(--color-accent);
    border-radius: 100px;
    transition: background-color 0.3s ease, color 0.3s ease, gap 0.3s ease;
    cursor: pointer;
}

.btn svg {
    width: 15px;
    height: 15px;
}

.btn:hover,
.btn:focus {
    gap: 24px;
}

.btn--white {
    background-color: #fff;
    color: var(--color-accent);
}

.btn--black {
    background-color: var(--color-dark);
}

.btn--black:hover,
.btn--black:focus {
    background-color: var(--color-accent);
}

.bg-light {
    padding: 40px;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--color-light);
}

@media (max-width:959px) {
    .bg-light {
        padding: 30px;
    }
}
@media (max-width:539px) {
    .bg-light {
        padding: 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;
}

@media (max-width: 1199px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 959px) {
    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .grid-2,
    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}


.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 5px;
    background: var(--color-text);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.swiper-pagination-bullets .swiper-pagination-bullet-active {
    width: 18px;
    border-radius: 100px;
    opacity: 1;
    background: var(--color-accent);
}

.socials {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.socials__item {
    width: 35px;
    height: 35px;
}

.socials__item a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--color-dark);
    transition: background-color 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.socials__item svg {
    width: 18px;
    height: 18px;
}

.socials__item a:hover {
    background-color: var(--color-accent);
}


.title {
    font-weight: 400;
    font-size: 56px;
    line-height: 120%;
    text-align: center;
    margin: 0 0 60px;
    text-wrap: balance;
}

@media (max-width:959px) {
    .title {
        font-size: 44px;
    } 
}
@media (max-width:539px) {
    .title {
        font-size: 32px;
        margin-bottom: 30px;
    } 
}

.text-gradient {
    background: linear-gradient(90deg, #1D4E88 0%, #7A5858 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.text-gradient2 {
    background: linear-gradient(90.84deg, #8781AC 0%, #D6AC8B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.page-title {
    font-size: 90px;
    line-height: 90%;
    margin-bottom: 20px;
}

@media(max-width: 767px) {
    .page-title {
        font-size: 70px;
    }
}

@media(max-width: 539px) {
    .page-title {
        font-size: 44px;
    }
}

.text-content {
    font-size: 16px;
    line-height: 130%;
}

.text-content p {
    margin: 0 0 10px;
}

.text-content ul {
    margin: 0 0 10px;
    padding: 0 0 0 18px;
    list-style: square;
}

.text-content ul li {
    margin: 0 0 10px;
}

.text-content img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin: 40px 0;
}

.section--row .container {
    display: flex;
    align-items: stretch;
    gap: 10px;
    min-width: 0;
}

.section__top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.section--row .section__top {
    flex: 1;
    flex-direction: column;
    align-items: start;
    margin: 0;
}

.section__title {
    font-size: 90px;
    line-height: 90%;
}
.section__text {
    font-size: 16px;
    line-height: 130%;
}

.section__btn {
    max-width: 274px;
}

@media(max-width: 767px) {
    .section__top {
        margin-bottom: 30px;
        flex-direction: column;
        align-items: start;
        flex: auto;
    }

    .section__title {
        font-size: 56px;
    }

    .section--row .container {
        flex-direction: column;
    }
}

@media(max-width: 539px) {
    .section__title {
        font-size: 44px;
    }
}

.breadcrumbs {
    list-style: none;
    margin: 14px 0 28px;
    padding: 0;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs a {
    font-size: 14px;
    line-height: 130%;
    opacity: 0.6;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--color-accent);
}

.breadcrumbs li::after {
    content: "/";
    padding: 0 12px;
}

.breadcrumbs li:last-child a {
    opacity: 1;
}

.breadcrumbs li:last-child::after {
    display: none;
}

@media(max-width: 959px) {
    .breadcrumbs {
        margin: 15px 0 30px;
    }
}

@media(max-width: 539px) {
    .breadcrumbs {
        margin: 10px 0 20px;
    }

    .breadcrumbs a {
        font-size: 14px;
    }
}

.swiper-btns {
    display: flex;
    gap: 20px;
}

.swiper-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    color: var(--color-accent);
    width: 54px;
    height: 54px;
    background: rgba(18, 163, 156, 0.12);
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.swiper-btn:hover {
    color: #fff;
    background: var(--color-accent);
}

.swiper-btn.swiper-button-lock {
    display: none;
}

@media(max-width: 539px) {
    .swiper-btns {
        gap: 10px;
    }

    .swiper-btn {
        width: 40px;
        height: 40px;
    }
}

.logo {
    flex-shrink: 0;
    position: relative;
    width: 118px;
    height: 40px;
}

.logo a {
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    color: var(--color-dark);
}
.logo a:hover {
    color: var(--color-accent);
}

.logo svg,
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.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: 50px;
    margin-left: auto;
    padding: 10px 20px;
    font: inherit;
    color: inherit;
    outline: none;
    background: var(--color-light);
    border: none;
    border-radius: 100px;
    transition: background-color 0.3s ease;
    font-size: 16px;
    line-height: 120%;
}

.custom-input input::-webkit-input-placeholder {
    color: var(--color-text);
}

.custom-input:has(.is-invalid) .input-error {
    margin-top: 5px;
}


.custom-toggle {
    position: relative;
    display: flex;
    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;
 }

.custom-toggle__label {
    font-size: 10px;
    line-height: 140%;
    color: var(--color-text);
}

.custom-toggle a {
    text-decoration: underline;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.custom-toggle a:hover {
    color: var(--color-dark);
}

.custom-toggle__icon {
    margin-right: 8px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: 1px solid var(--color-accent);
    background-color: #fff;
    border-radius: 2px;
    color: #fff;
    flex-shrink: 0;
}

.custom-toggle__icon svg {
    width: 8px;
    height: 8px;
}

.custom-toggle input:checked + .custom-toggle__icon {
    background-color: var(--color-accent);
}

.nav {
    display: flex;
    justify-content: center;
}

.nav__list {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.nav__item {
    position: relative;
    min-width: 74px;
}

.nav__link {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 19px;
    color: var(--color-dark);
    padding: 6px 17px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.nav__link:hover,
.nav__link:focus {
    background-color: #d5d5d4;
}

.nav__sublist {
    position: absolute;
    bottom: -2px;
    left: 0;
    transform: translate(0, 100%);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: var(--color-light);
    list-style: none;
    margin: 0;
    padding: 20px;
    z-index: 10;
    width: max-content;
    max-width: 712px;
    border-radius: 20px;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.nav__sublist::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 5px;
}

.nav__item:hover .nav__sublist,
.nav__item:focus .nav__sublist,
.nav__item:focus-within .nav__sublist {
    opacity: 1;
    visibility: visible;
}

.nav__sublink {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    margin-bottom: 10px;
}

.nav__subsublist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav__subsublink {
    font-size: 14px;
    line-height: 120%;
    color: var(--color-text);
}

.nav__subsublink.color-accent {
    color: var(--color-accent);
}

.nav__subsublink:hover {
    color: var(--color-dark);
}

@media (max-width: 1199px) {
    .nav {
        width: 100%;
        justify-content: flex-end;
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 60px;
    }

    .nav__sublist {
        position: absolute;
        bottom: -2px;
        left: 0;
        transform: translate(0, 100%);
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        background: var(--color-light);
        list-style: none;
        margin: 0;
        padding: 20px;
        z-index: 10;
        width: max-content;
        max-width: 712px;
        border-radius: 20px;

        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .nav__sublist {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        background: #fff;
        padding: 0 0 0 20px;
        width: auto;
        max-height: 0;
        transition: max-height 0.3s ease;
        opacity: 1;
        visibility: visible;
        overflow: hidden;
        grid-template-columns: 1fr;
    }
    
    .nav__sublist.active {
        max-height: 100%;
    }
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}

.header.sticky {
    position: fixed;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    border-radius: 0px 0px 20px 20px;
}

.header__wrap {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 10px 0;
}

.header__menu {
    flex: 1;
}

.header__mob {
    display: none;
}

.header__btns {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
    flex-shrink: 0;
}

.header__phone {
    flex-shrink: 0;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
}

.header__phone:hover {
    color: var(--color-accent);
}

.header__btn {
    min-height: 35px;
    max-width: 160px;
    font-size: 14px;
    border-radius: 12px;
}

.header__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    background-color: var(--color-dark);
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

.header__overlay.show {
    opacity: 0.82;
    visibility: visible;
    z-index: 20;
}

.header__burger {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: none;
    width: 35px;
    height: 35px;
    padding: 0;
    min-height: 35px;
    border-radius: 12px;
    color: #fff;
}

.header__burger svg {
    position: absolute;
    width: 15px;
    height: 15px;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    transition: opacity 0.3s ease;
}

.header__socials-mob.socials {
    display: none;
}

@media (max-width : 1199px) {
    .header__wrap {
        position: relative;
        padding-right: 60px;
        padding-left: 10px;
        width: calc(100% + 20px);
        margin-left: -10px;
    }

    .header__btns {
        margin-left: auto;
    }

    .header__menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 13px;
        right: 15px;
        width: calc(100% - 30px);
        max-width: 317px;
        max-height: 100vh;
        max-height: calc(100 * var(--vh, 1vh) - 40px);
        overflow: hidden;
        background-color: #fff;
        z-index: 25;
        border-radius: 18px;
        padding: 40px 15px 15px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        flex:1;
    }

    .header__menu.is-active {
        opacity: 1;
        visibility: visible;
    }

    .header__mob {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .header__mob .logo {
        margin-bottom: 28px;
    }
    
    .header__socials-desk.socials {
        display: none;
    }
    
    .header__socials-mob.socials {
        display: flex;
        align-self: flex-start;
        margin-bottom: 20px;
    }

    .header__burger {
        display: flex;
        z-index: 26;
    }

    .header__burger.is-open {
        position: fixed;
        top: 26px;
        right: 30px;
        transform: none;
    }

    .header__burger .icon-close {
        opacity: 0;
    }

    .header__burger.is-open .icon-close {
        opacity: 1;
    }

    .header__burger.is-open .icon-open {
        opacity: 0;
    }
}

@media(max-width : 579px) {
    .header__phone,
    .header__btn {
        display: none;
    }
}

.product__wrap {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto 1fr;
    margin-bottom: 50px;
}

.product__gallery {
    width: 100%;
    grid-row: 1 / 3;
}

.product__slider {
    margin-bottom: 10px;
}

.product__slider .product__img {
    padding: 16px 61px;
    width: 100%;
    aspect-ratio: 553 / 387 ;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid rgba(217, 217, 217, 0.2);
}

.product__slider-mini .product__img {
    width: 145px;
    height: 103px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(217, 217, 217, 0.2);
    transition: border-color 0.3s ease;
}

.product__slider-mini .swiper-slide-thumb-active {
    border: 1px solid var(--color-accent);
}

.product__slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product__info {
    margin-left: 10px;
}

.product__title {
    font-size: 62px;
    line-height: 90%;
    margin-bottom: 21px;
    margin-left: 10px;
}
.product__price-block {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.product__price {
    font-family: 'Coolvetica', 'Arial', sans-serif;
    font-size: 52px;
    line-height: 90%;
    color: var(--color-accent);
}
.product__btn {
    max-width: 332px;
}
.product__note {
    font-size: 12px;
    line-height: 130%;
    opacity: 0.6;
    margin-bottom: 10px;
    max-width: 460px;
}
.product__details {
    margin: 40px 0;
}
.product__details-title {
    font-size: 32px;
    line-height: 90%;
    margin-bottom: 20px;
}
.product__details-list {
    display: grid;
    grid-template-columns: auto auto;
    margin: 0;
    font-size: 16px;
    line-height: 130%;
    color: #000000;
    gap: 15px 30px;
}
.product__details-list dt {
    opacity: 0.6;
}
.product__details-list dd {
    font-weight: 600;
    margin: 0;
}
.tabs__btns {
    display: flex;
    margin-bottom: 20px;
    width: 100%;
    overflow-x: auto;
}
.tabs__btn {
    position: relative;
    border: none;
    padding: 10px 20px;
    background: transparent;
    font-family: 'SF Pro Display', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--color-navy);
    transition: color 0.3s ease;
}

@media(max-width: 1199px) {
    .product__wrap {
        grid-template-columns: 100%;
    }
    .product__gallery {
        grid-row: auto;
        margin-bottom: 40px;
    }
    .product__title {
        margin: 0 0 40px;
    }
    .product__info {
        margin-left: 0;
    }
}
@media(max-width: 767px) {
    .product__price-block {
        flex-wrap: wrap;
    }

    .product__title {
        font-size: 44px;
    }
    .product__details-list {
        grid-template-columns: auto;
    }
    .product__details-list dd {
        margin-left: auto;
    }
}
.tabs__btn.active,
.tabs__btn:hover {
    color: var(--color-accent);
}
.tabs__btn::after {
    content: '';
    background: var(--color-accent);
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.tabs__btn.active::after,
.tabs__btn:hover::after {
    transform: scaleX(1);
}
.tabs__item {
    display: none;
}
.tabs__item.active {
    display: block;
}

.project-card {
    width: 100%;
    aspect-ratio: 136 / 66;
    border-radius: 20px;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form__wrap {
    background-image: url(/img/form-bg.png);
    background-size: cover;
    min-height: 433px;
}

.form .title {
    margin-bottom: 100px;
}

.form form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px 20px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
}

.form__note {
    grid-column: 1 / -1;
    font-size: 16px;
    line-height: 120%;
    color:  var(--color-text);
    margin-bottom: 10px;
    text-align: center;
}

.form__note a {
    color: #fff;
    text-decoration: underline;
}

.form__accept {
    grid-column: 1 / -1;
}

@media(max-width: 1339px) {

}

@media(max-width: 767px) {
    .form form {
        grid-template-columns: 1fr;
    }
}
@media(max-width: 539px) {

}

.footer {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.footer .logo {
    width: 120px;
    height: 41px;
}

.footer .logo a {
    color: #fff;
}

.footer__wrap {
    margin: 10px 0;
    padding: 30px 20px;
    display: grid;
    /*grid-template-columns: 3fr 3fr 2fr 2fr 2fr;*/
    grid-template-columns: 1fr 1fr;
    gap: 37px 33px;
    border-radius: 20px;
    overflow: hidden;
    background-image: url(/img/footer-bg.png);
    background-size: cover;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__col--last {
    grid-row: 1 / 3;
    grid-column: -2 / -1;
}

.footer__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
}

.footer__text {
    font-size: 14px;
    line-height: 120%;
    opacity: 0.6;
}

.footer__link {
    font-size: 14px;
    line-height: 120%;
    color: #fff;
    opacity: 0.6;
}
.footer__link.color-accent {
    color: var(--color-accent);
    opacity: 1;
}

.footer__link:hover {
    opacity: 1;
}
.footer__contact-link {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
}

.footer__contact-link:hover {
    color: var(--color-accent);
}

.footer__copyright {
    font-size: 12px;
    line-height: 130%;
    opacity: 0.6;
}

.footer__privacy {
    margin-top: -6px;
}

.footer__privacy:hover {
    font-variant: var(--color-orange);
}

@media(max-width : 1369px) {
    .footer__wrap {
        gap: 50px;
        /*grid-template-columns: repeat(3, 1fr);*/
    }
}
@media(max-width : 1199px) {
    .footer__wrap {
        /*grid-template-columns: repeat(2, 1fr);*/
    }
    .footer__privacy {
        grid-column: auto;
    }
    .footer__nav {
        grid-column: -2 /-1;
        grid-row: 1 / 3;
    }
}

@media(max-width : 767px) {
    .footer__wrap {
        grid-template-columns: 1fr;
        width: calc(100% + 20px);
        margin-left: -10px;
        padding: 40px 10px 20px;
    }
    .footer__nav {
        grid-row: auto;
        grid-column: auto;
    }
} 

[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 {
    background-color: var(--color-light);
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 20px;
}

.accordion__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 20px;
    cursor: pointer;
    border: none;
    border-radius: 20px;
    background-color: transparent;
    transition: color 0.3s ease;
    min-height: 69px;
    font-family: 'SF Pro Display','Arial', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.accordion__button-text {
    text-align: start;
}

.accordion__icon {
    position: relative;
    display: block;
    width: 56px;
    height: 26px;
    background: rgba(38, 69, 211, 0.2);
    border-radius: 100px;
    transition: background-color 0.3s ease;
}

.accordion__icon::after,
.accordion__icon::before {
    content: '';
    display: block;
    width: 13px;
    height: 1.5px;
    background-color: var(--color-accent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition:  background-color 0.3s ease, opacity 0.3s ease;
}
.accordion__icon::before {
    width: 1.5px;
    height: 13px;
}
.accordion__element.is-active .accordion__icon {
    background-color: var(--color-accent);
}
.accordion__element.is-active .accordion__icon::after {
    background: #fff;
}
.accordion__element.is-active .accordion__icon::before {
    opacity: 0;
}
.accordion__element.is-active .accordion__button {
    color: var(--color-accent);
}

.accordion__wrapper {
    padding: 0 20px 20px;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-text);
}

.accordion__wrapper p {
    margin: 0;
    max-width: 1070px;
}

@media(max-width: 767px) {
    .accordion__button {
        padding: 20px;
        font-size: 24px;
    }
    .accordion__wrapper {
        font-size: 14px;
    }
}

.numbers {
    padding-top: 100px;
    margin-top: -40px;
    border-radius: 40px 40px 0 0;
    background-color: #fff;
}

.numbers__wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.numbers__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 282px;
    background: var(--color-light);
    background-size: cover;
    border-radius: 20px;
    padding: 20px;
}

.numbers__title {
    margin-bottom: 20px;
    font-size: 90px;
    line-height: 90%;
}
.numbers__title span{
    font-size: 30px;
}

.numbers__text {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-text);
}

.numbers__item:nth-child(4n+1) {
    background-image: url(/img/bg4.png);
}
.numbers__item:nth-child(4n+2) {
    background-image: url(/img/bg5.png);
}
.numbers__item:nth-child(4n+3) {
    background-image: url(/img/bg6.png);
}
.numbers__item:nth-child(4n+4) {
    background-image: url(/img/bg7.png);
}

@media(max-width: 1399px) {
    .numbers__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(max-width: 539px) {
    .numbers__wrap {
        grid-template-columns:  1fr;
    }

    .numbers__item {
        min-height: 0;
        padding: 15px;
    }

    .numbers__title {
        font-size: 52px;
    }
    .numbers__title span{
        font-size: 20px;
    }
}


.promo {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: calc(100 * var(--vh, 1vh));
    background-image: url(/img/promo-bg.png);
    background-size: cover;
    padding: 90px 0;
}
.promo .container {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.promo__wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.promo__title {
    text-align: center;
    margin-bottom: 10px;
    max-width: 894px;
    font-size: 72px;
    line-height: 110%;
}

.promo__text {
    font-weight: 300;
    font-size: 22px;
    line-height: 130%;
    text-align: center;
    max-width: 563px;
    margin-bottom: 30px;
}

.promo__btn {
    max-width: 260px;
    margin-bottom: 40px;
}

@media(max-width: 959px) {
    .promo__title {
        font-size: 52px;
    }
}
@media(max-width: 767px) {
    .promo__title {
        font-size: 44px;
    }
}

.paginations {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 20px;
}

.paginations__item a {
    display: block;
    padding: 18.5px 20px;
    background: #F8F8F8;
    border-radius: 20px;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.paginations__item a:hover,
.paginations__item.active a {
    background-color: var(--color-accent);
    color: #fff;
}

@media(max-width: 767px) {
    .paginations {
        justify-content: center;
    }

    .paginations__item {
        font-size: 14px;
    }
}

.blog__wrap {
    margin-bottom: 60px;
}

.blog .btn {
    max-width: 355px;
    margin: 0 auto;
}

.blog-card {
    position: relative;
}

.blog-card__img {
    width: 100%;
    aspect-ratio: 325 / 320;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__date {
    font-size: 12px;
    line-height: 120%;
    color: var(--color-text);
    margin-bottom: 10px;
}

.blog-card__title {
    font-size: 20px;
    line-height: 120%;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.blog-card__title::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.blog-card__title:hover {
    color: var(--color-accent);
}

.marquee{
    width:100%;
    overflow: hidden;
    height: 80px;
}

.marquee__track{
    display: flex;
    align-items: center;
    height:100%;
    animation: marquee 18s linear infinite;
    will-change: transform;
    width: max-content;
}

.marquee__img {
    flex: 0 0 auto; 
    height: 100%;
    max-width: 310px;
    margin: 0 30px;
}

.marquee__img img{
    width:100%;
    height:100%;
    object-fit: contain;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.reviews__wrap {
    background-image: url(/img/review-bg.png);
    background-size: cover;
    padding: 80px 40px;
}

.reviews__wrap .swiper {
    padding-bottom: 28px;
    margin-bottom: 60px;
}

.reviews__wrap .swiper-pagination {
    bottom: 0;
}

.reviews__wrap .marquee {
    width: calc(100% + 40px * 2);
    margin: 0 -40px;
}

@media(max-width: 767px) {
    .reviews__wrap {
        padding: 30px;
    }

    .reviews__wrap .marquee {
        width: calc(100% + 30px * 2);
        margin: 0 -30px;
    }
    .reviews__wrap .marquee__img {
        width: calc(100% + 30px * 2);
        margin: 0 -30px;
    }
}

.review-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.review-card__title {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    margin-bottom: 15px;
}

.review-card__text {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-text);
    flex: 1;
    margin-bottom: 15px;
}

.review-card__link {
    display: block;
    font-size: 16px;
    line-height: 120%;
    text-decoration-line: underline;
    color: var(--color-accent);
    margin-bottom: 39px;
}
.review-card__link::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.review-card__company {
    font-size: 24px;
    line-height: 120%;
}

.feature-card {
    display: flex;
    gap: 20px;
    background: var(--color-light);
    border-radius: 20px;
    padding: 20px;
}

.feature-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    border-radius: 10px;
}

.feature-card__icon img {
    width: 22px;
    height: 22px;
}

.feature-card__title {
    padding: 5px 0 0;
    font-size: 24px;
    line-height: 120%;
    margin-bottom: 10px;
}

.feature-card__text {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-text);
}

.analitics {
    background-image: url(/img/bg1.png);
    background-size: cover;
}

.advantages {
    background-image: url(/img/bg2.png);
    background-size: cover;
}

.cards-block {
    background-color: var(--color-dark);
    padding: 80px 0;
    color: #fff;
}

.cards-block__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cards-block__info {
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: space-between;
}

.cards-block__title {
    text-align: left;
}

.cards-block__desc {
    font-size: 24px;
    line-height: 120%;
    opacity: 0.6;
}

.cards-block__cards {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 18fr;
    gap: 20px;
}

.cards-block__item {
    grid-row: auto / span 9;

    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
}

.cards-block__item:nth-child(4n+2) {
    grid-row: auto / span 8;
}
.cards-block__item:nth-child(4n+3) {
    grid-row: auto / span 10;
}

.cards-block__icon {
    width: 50px;
    height: 50px;
}

.cards-block__icon img {
    width: 100%;
    height: 100%;
}

.cards-block__name {
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
}

.cards-block__text {
    font-size: 16px;
    line-height: 140%;
    opacity: 0.6;
}

@media(max-width: 959px) {
    .cards-block__wrap {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 767px) {
    .cards-block__cards {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        order: 2;
    }
    .cards-block__item,
    .cards-block__item:nth-child(4n+2),
    .cards-block__item:nth-child(4n+3) {
        grid-row: auto;
    }
}
.steps {
    background-image: url(/img/bg3.png);
    background-size: cover;
    padding-bottom: 69px;
}

.step-card {
    min-height: 260px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    gap: 15px;
    flex-direction: column;
    padding: 20px;
}

.step-card--black {
    background-color: var(--color-dark);
    color: #fff;
}

.step-card__stars {
    margin-bottom: auto;
}

.step-card__title {
    font-size: 24px;
    line-height: 120%;
}

.step-card__text {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-text);
}

.step-card__btn {
    margin-top: auto;
}

.step-card__stars {
    position: relative;
    margin-left: auto;
    width: 110px;
    height: 22px;
    border-radius: 20px;
    overflow: hidden;
    padding: 3px 10px;
    background: rgba(106, 112, 123, 0.2);
}

.step-card__stars-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/img/stars-mask.svg);
    background-size: cover;
    z-index: 2;
}
.step-card__stars-bg {
    position: relative;
    height: 100%;
    background-color: var(--color-accent);
    z-index: 1;
}

.case-card {
    container-type: inline-size;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: var(--color-light);
    transition: box-shadow 0.3s ease;
}

.case-card__title {
    flex: 1;
    font-size: 24px;
    line-height: 120%;
    transition: color 0.3s ease;
    margin-bottom: 10px;
}

.case-card__title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.case-card__title:hover {
    color: var(--color-accent);
}

.case-card:has(.case-card__title:hover) {
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.12);
}

.case-card__tags {
    position: relative;
    margin-bottom: 22px;
    z-index: 5;
}

.case-card__img {
    aspect-ratio: 590 / 348;
    background: var(--color-light);
    box-shadow: 0px -6px 24px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    overflow: hidden;
    margin: 20px;

}

.case-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 16px;
    background: #fff;
    border-radius: 100px;
    font-size: 12px;
    line-height: 140%;
    color: var(--color-text);
    transition: background 0.3s ease, color 0.3s ease;
}

.tag:hover {
    color: #fff;
    background: var(--color-dark);
}

.details {
    display: grid;
    grid-template-columns: repeat(4,auto);
    gap: 20px;
    padding: 0;
    margin: 0 0 43px;
}

.details dt {
    font-size: 14px;
    line-height: 120%;
    color: var(--color-text);
    margin: 0 0 7px;
}

.details dd {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    margin: 0;
    padding: 0;
}

@container (max-width: 539px) {
    .details {
        grid-template-columns: repeat(2,auto);
        gap: 10px 20px;
    }
}

.cases__btn {
    max-width: 355px;
    margin: 20px auto 0;
}

.card {
    background-color: var(--color-light);
    padding: 20px 20px 15px;
    border-radius: 20px;
}

.card__text {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-text);
    margin-bottom: 20px;
}

.card__img {
    width: 100%;
    aspect-ratio: 285 / 219;
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.services__wrap {
    background-image: url(/img/bg12.png);
    background-size: cover;
    padding: 80px 40px;
}

.services__cards {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
}

@media(max-width: 959px) {
    .services__cards {
        grid-template-columns: 1fr;
    }
}

.service-card {
    border-radius: 20px;
    overflow: hidden;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    grid-template-rows: auto auto 1fr auto;
}

.service-card--black {
    background-color: var(--color-dark);
    border-radius: 20px;
    color: #fff;
}

.service-card__title {
    font-size: 32px;
    line-height: 120%;
    margin-bottom: 20px;
}
.service-card__text {
    font-size: 14px;
    line-height: 120%;
    color: var(--color-text)
}
.service-card__details-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: var(--color-text)
}
.service-card__price {
    font-weight: 500;
    font-size: 32px;
    line-height: 120%;
}
.service-card__details {
    grid-column: 1 / -1;
    column-count: 2;
    margin-bottom: 20px;
}
.service-card__detail {
    font-size: 14px;
    line-height: 120%;
    color: var(--color-text);
    margin: 0 0 10px;
}
.service-card__detail--gray {
    background:  var(--color-light);
    border-radius: 10px;
    padding: 15px;
}

.service-card--black .service-card__detail--gray {
    background: rgba(245, 245, 245,0.2);
    color: #fff;
}
.service-card--black .service-card__detail,
.service-card--black .service-card__text,
.service-card--black .service-card__details-title {
    color: rgba(255,255,255,0.6);
}

@media(max-width: 639px) {
    .service-card {
        padding: 20px;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .service-card__details {
        column-count: 1;
    }
}

.accept {
    position: fixed;
    bottom: 30px;
    left: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 18px;
    background-color: #fff;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 120;
}

.accept.active {
    opacity: 1;
    visibility: visible;
}

.accept__btn {
    margin-left: auto;
    width: 80px;
}

@media(max-width : 539px) {
    .accept {
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
        padding: 20px;
    }
}


.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: 40px;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #272727;
    opacity: 0.82;
    cursor: pointer;
}

.modal__content {
    position: relative;
    max-width: 440px;
    width: 100%;
    background-image: url(/img/modal-bg.png);
    background-size: cover;
    border-radius: 20px;
    overflow: hidden;
    padding: 40px 30px;
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
    overflow: hidden;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    cursor: pointer;
    background: transparent;
    transition: color 0.3s ease;
    color: #555;
}
.modal__close svg {
    width: 100%;
    height: 100%;
}

.modal__close:hover,
.modal__close:focus {
    color: var(--color-dark);
}

.modal.active {
    transform: scale(1);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.modal__title {
    font-size: 32px;
    line-height: 120%;
    text-align: center;
    color: #272727;
    margin-bottom: 20px;
}

.modal__subtitle {
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: var(--color-text);
    margin-bottom: 20px;
    text-wrap: balance;
}

.modal__form {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

@media(max-width : 767px) {
    .modal__wrapper {
        padding: 40px 15px;
    }

    .modal__content {
        padding: 50px 15px 15px;
    }
}


