:root {
    --color-dark: #030303;
    --color-accent: #1F8725;
    --color-light-accent: #D2E7D3;
    --color-gray: #4E4E4E;
    --color-gray2: #838383;
    --color-light: #E7E7EA;
    --color-light2: #F0F0F2;
}

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

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

html {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    font-family: "Jost", "Arial", sans-serif;
    color: var(--color-dark);
}

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));
    padding-top: 71px;
}
@media(max-width:539px) {
    .wrapper {
        padding-top: 61px;
    }
}

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

.wrapper main {
    flex-grow: 1;
}

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

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

textarea {
    resize: none;
}

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

    appearance: none;
}

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

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

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

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

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

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

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

.text-center {
    text-align: center;
}

.mb-100 {
    margin-bottom: 100px;
}
.mb-60 {
    margin-bottom: 60px;
}

@media(max-width: 1199px) {
    .mb-100 {
        margin-bottom: 80px;
    }
    .mb-60 {
        margin-bottom: 40px;
    }
}

@media(max-width: 959px) {
    .mb-100 {
        margin-bottom: 70px;
    }
    .mb-60 {
        margin-bottom: 30px;
    }
}

@media(max-width: 539px) {
    .mb-100 {
        margin-bottom: 50px;
    }
    .mb-60 {
        margin-bottom: 20px;
    }
}

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

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

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

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

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

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

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

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

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

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    outline: none;
    border: 1px solid var(--color-accent);
    background-color: var(--color-accent);
    border-radius: 12px;
    font-family: 'Jost', 'Arial', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    min-height: 50px;
    width: 100%;
    text-transform: uppercase;
}

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

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

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

@media(max-width: 539px) {
    .btn {
        font-size: 14px;
        min-height: 44px;
    }   
}

.link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    line-height: 120%;
}
.link svg {
    position: relative;
    width: 10px;
    height: 8px;
}
.link:hover svg {
    animation: toright 1s linear infinite;
    will-change: transform;
}

@keyframes toright {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}
.bg-light {
    padding: 100px 0;
    background-color: var(--color-light2);
}

@media (max-width: 1199px) {
    .bg-light {
        padding: 100px 0;
    }
}

@media (max-width: 959px) {
    .bg-light {
        padding: 80px 0;
    }
}

@media (max-width: 539px) {
    .bg-light {
        padding: 60px 0;
    }
}

.breadcrumbs {
    list-style: none;
    margin: 30px 0 100px;
    padding: 0;
}

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

.breadcrumbs a {
    font-size: 14px;
    line-height: 120%;
    color: var(--color-gray2);
}

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

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

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

.breadcrumbs li:last-child::after {
    display: none;
}

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

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

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

.logo {
    flex-shrink: 0;
    width: 141px;
    height: 40px;
}

.logo a {
    display: block;
    width: 100%;
    height: 100%;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

@media(max-width: 539px){
    .logo {
        width: 127px;
        height: 36px; 
    }
}

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

.swiper-btn-next,
.swiper-btn-prev {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-accent);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    transition: color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}
.swiper-btn-next svg ,
.swiper-btn-prev svg {
    width: 55%;
    height: 55%;
}
.swiper-btn-next:hover,
.swiper-btn-prev:hover {
    color: var(--color-accent);
    background-color: var(--color-light-accent);
}
.swiper-btn.swiper-button-lock {
    display: none;
}

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

    display: flex;
    width: 100%;

    color: var(--color-dark);
}
.custom-textarea::before {
    content: 'Опишите вашу задачу';
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 16px;
    line-height: 120%;
    color: var(--color-gray);
    transition: opacity 0.3s ease;
}

.custom-textarea:has(textarea:not(:placeholder-shown))::before {
    opacity: 0;
}

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

.custom-input input,
.custom-textarea textarea {
    width: 100%;
    min-height: 47px;
    margin-left: auto;
    padding: 10px 20px;
    font: inherit;
    color: var(--color-dark);
    outline: none;
    background: #fff;
    border: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    font-size: 16px;
    line-height: 120%;
}

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

.custom-textarea textarea::-webkit-input-placeholder {
    opacity: 0;
}

.custom-input input:hover,
.custom-textarea textarea:hover,
.custom-input input:focus,
.custom-textarea textarea:focus {
    background: rgba(255, 255, 255, 0.8);
}

.custom-textarea textarea {
    border-radius: 10px;
    height: 100%;
    min-height: 137px;
}

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

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

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

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

.custom-toggle__label {
    font-size: 12px;
    line-height: 120%;
    color: var(--color-gray);
}

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

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

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

.socials {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

.socials__link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    background-color: var(--color-light2);
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
}

.socials__item svg {
    width: 45%;
    height: 45%;
}

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

.nav {
    display: flex;
    justify-content: center;
    flex: 1;
}

.nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px 25px;
}

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

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

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

@media (max-width: 1199px) {
    .nav__list {
        gap: 20px;
        flex-direction: column;
        align-items: end;
        text-align: right;
    }
    .nav__link {
        font-size: 20px;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #E6E6E6;

}

.header__wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
}
.header__logo {
    color: var(--color-accent);
}

.header__btns {
    position: relative;
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
    flex-shrink: 0;
    z-index: 30;
}
.header__info {
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-right: 4px;
}
.header__worktime {
    font-size: 14px;
    line-height: 120%;
    opacity: 0.6;
}
.header__phone a {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
}

.header__burger {
    position: relative;
    display: none;
    border: none;
    background: var(--color-light2);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    min-height: 40px;
    color: var(--color-accent);
    cursor: pointer;
}

.header__burger svg {
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    transition: opacity 0.3s ease;
}
.header__burger:hover {
    background: var(--color-accent);
    color: #fff;
}

@media (max-width : 1199px) {
    .header__btns {
        margin-left: auto;
    }
    .header__nav {
        position: fixed;
        justify-content: end;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 480px;
        height: 100vh;
        overflow: auto;
        background: var(--color-light2);
        z-index: 25;
        padding: 95px 15px 15px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .header.is-active .header__nav {
        opacity: 1;
        visibility: visible;
    }
    .header.is-active .socials__link,
    .header.is-active .header__burger {
        background-color: #fff;
    }
    .header.is-active .socials__link:hover,
    .header.is-active .header__burger:hover {
        background-color: var(--color-accent);
    }

    .header__burger {
        display: flex;
    }
    .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 : 539px) {
    .header__info {
        display: none;
    }
}

.title {
    margin: 0 0 30px;
    font-weight: 600;
    font-size: 46px;
    line-height: 120%;
    text-transform: uppercase;
}
.title--sm {
    font-size: 32px;
    margin: 0;
}
@media(max-width: 1199px) {
    .title {
        font-size: 40px;
    }
}

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

@media(max-width: 539px) {
    .title {
        margin: 0 0 20px;
        font-size: 26px;
    }
    .title--sm {
        font-size: 24px;
        margin: 0;
    }
}
.subtitle {
    font-size: 20px;
    line-height: 140%;
    color: var(--color-gray);
}

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

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

.section-top {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}
.section-top .btn {
    max-width: 300px;
}
@media(max-width: 539px) {
    .section-top {
        flex-direction: column;
        gap: 15px;
        align-items: start;
    }
}

.map {
    height: 640px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 60px;
}

@media(max-width: 1199px) {
    .map {
        height: 450px;
    }
}
@media(max-width: 959px) {
    .map {
        height: 357px;
        margin-top: 30px;
    }
}
@media(max-width: 539px) {
    .map {
        border-radius: 12px;
        height: 160px;
        margin-top: 20px;
    }
}
.contacts__list {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr 2fr;
}
.contacts__item {
    display: flex;
    flex-direction: column;
    justify-content: end;
}
.contacts__item:nth-child(3n+3) {
    align-items: end;
}
.contacts__name {
    font-size: 14px;
    line-height: 120%;
    color: var(--color-gray);
    margin-bottom: 20px;
}
.contacts__info {
    font-size: 16px;
    line-height: 120%;
}
.contacts__info p {
    margin: 0;
}
.contacts__link {
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    white-space: pre;
}
.contacts__info .contacts__link:hover {
    color: var(--color-accent);
}
.contacts__item .socials__link {
    color: #fff;
    background-color: var(--color-accent);
}

.contacts__item .socials__link:hover {
    background-color: var(--color-light);
    color: var(--color-accent);
}

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

@media(max-width: 959px) {
    .contacts__list {
        gap: 20px 30px;
    }
    .contacts__info .contacts__link {
        font-size: 26px;
    }
}

@media(max-width: 767px) {
    .contacts__list {
        gap: 20px;
       grid-template-columns: 1fr;
    }
    .contacts__name {
        font-size: 12px;
        margin-bottom: 6px;
    }
    .contacts__info {
        font-size: 14px;
    }
    .contacts__link {
        font-size: 16px;
    }
    .contacts__item:nth-child(3n+3) {
        align-items: start;
    }
}
.form {
    position: relative;
    min-height: 640px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form__info {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 20px;
    overflow: hidden;
    padding: 30px;
    background-image: url('../img/form-bg.png');
    background-size: cover;
}
.form__title {
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    text-transform: uppercase;
    margin: 0;
}
.form__subtitle {
    font-size: 20px;
    line-height: 140%;
    color: var(--color-gray);
    margin-bottom: auto;
}
.form__img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}
.form__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.form__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form__btn {
    width: 100%;
    max-width: 285px;
}
.form__accept,
.form__btn,
.form .custom-textarea {
    grid-column: 1 / -1;
}

@media(max-width: 1199px) {
    .form {
        min-height: 711px;
    }
    .form__title {
        font-size: 36px;
    }
    .form__wrap {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 959px) {
    .form {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .form__img {
        order: -1;
        height: auto;
        aspect-ratio: 738 / 440;
    }
    .form__info {
        padding: 20px;
    }
    .form__title {
        font-size: 32px;
    }
    .form__subtitle {
        font-size: 18px;
        margin-bottom: 10px;
    }
}
@media(max-width: 959px) {
    .form__img {
        border-radius: 12px;
    }
    .form__info {
        padding: 10px;
        border-radius: 12px;
        gap: 10px;
    }
    .form__title {
        font-size: 26px;
    }
    .form__subtitle {
        font-size: 14px;
    }
}

.footer {
    background-color: var(--color-dark);
    color: #fff;
    padding: 40px 0 30px;
}

.footer__wrap {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 20px;
}
.footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;   
    grid-row: 1 / 2;
    grid-column: -2 / -1;
}
.footer__col {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    margin-bottom: auto;
    filter: invert(100%) brightness(1000%);
}

.footer__contacts {
    margin-top: auto;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.footer__text {
    font-size: 10px;
    line-height: 140%;
    opacity: 0.8;
    margin: 0;
}
.footer__text a {
    opacity: 0.8;
}
.footer__text a:hover {
    color: var(--color-accent);
}
.footer__copyright {
    opacity: 0.4;
}

.footer__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 145%;
    opacity: 0.4;
    margin-bottom: 15px;
}

.footer__link {
    font-size: 16px;
    line-height: 145%;
    color: #fff;
    opacity: 0.8;
    margin-bottom: 6px;
}

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

.footer__link.active {
    opacity: 1;
}
@media(max-width : 1199px) {
    .footer__wrap {
        grid-template-columns: 2fr 5fr;
    }
}

@media(max-width : 959px) {
    .footer__wrap {
        grid-template-columns: 1fr 1fr;
    }
    .footer__nav {
        grid-template-columns: 1fr;
        
    }
}
@media(max-width : 539px) {
    .footer {
        padding: 30px 0;
    }
    .footer__wrap {
        grid-template-columns: 1fr;
        align-items: center;
        text-align: center;
    }
    .footer__logo {
        margin: 0 auto;
    }
    .footer__nav {
       grid-row: auto;
       grid-column: auto;
    }
    .footer__contacts {
        order: 3;
    }
}

.article__wrap {
    max-width: 905px;
}

.article__date {
    margin: -20px 0 30px;
    font-size: 12px;
    line-height: 120%;
    color: var(--color-gray);
}
.article__text {
    margin-bottom: 60px;
}
.article__img {
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.article__btn {
    max-width: 220px;
}

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

@media(max-width: 539px) {
    .article__date {
        margin: -15px 0 20px;
    }
    .article__btn {
        max-width: 100%;
    }
    .article__text {
        margin-bottom: 10px;
    }
    .article__img {
        border-radius: 12px;
    }
}

.blog-card {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: auto / span 2;
    background-color: var(--color-light2);
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
}
.blog-card__top {
    position: relative;
    display: flex;
    flex-direction: column;
}
.blog-card__top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    display: block;
    width: calc(100% + 20px);
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        rgba(78,78,78,0.3) 0,
        rgba(78,78,78,0.3) 10px,
        transparent 10px,
        transparent 20px
    );
}

.blog-card__img {
    width: calc(100% + 20px);
    aspect-ratio: 295 / 161;
    border-radius: 10px;
    overflow: hidden;
    margin: -10px -10px 15px;
}

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

.blog-card__title {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    margin: 0 0 5px;
    transition: color 0.3s ease;
}
.blog-card:has(.blog-card__link:hover) .blog-card__title {
    color: var(--color-accent);
}
.blog-card__date {
    margin: auto 0 20px;
    font-size: 12px;
    line-height: 120%;
    color: var(--color-gray);
}
.blog-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
    padding-top: 20px;
}
.blog-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-gray);
}
.blog-card__link {
    font-size: 16px;
    line-height: 120%;
    color: var(--color-accent);
}

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

@media(max-width: 959px) {
    .blog-card__title {
        font-size: 18px;
    }
    .blog-card__date {
        margin-bottom: 10px;
    }
    .blog-card__bottom {
        padding-top: 10px;
    }
}

@media(max-width: 539px) {
    .blog-card {
        padding: 10px;
        border-radius: 12px;
    }
    .blog-card__top::after {
        width: calc(100% + 10px);
    }
    .blog-card__img {
        width: calc(100% + 10px);
        border-radius: 5px;
        margin: -5px -5px 10px;
    }
    .blog-card__title {
        font-size: 16px;
    }
    .blog-card__bottom {
        gap: 20px;
    }
    .blog-card__link {
        font-size: 14px;
    }
    .blog-card__text {
        font-size: 14px;
    }
}

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

.paginations__item a {
    display: flex;
    height: 50px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background: var(--color-light2);
    border-radius: 12px;
    font-size: 16px;
    line-height: 140%;
    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: 539px) {
    .paginations__item {
        font-size: 14px;
    }
}

.block-img__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.block-img__info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 640px;
    padding: 30px;
    border-radius: 20px;
    background-color: var(--color-light2);
    background-image: url(../img/about-bg.png);
    background-size: cover;
}
.block-img__title {
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    text-transform: uppercase;
    margin: 0;
}
.block-img__text {
    margin-top: auto;
    font-size: 20px;
    line-height: 140%;
    color: var(--color-gray);
}
.block-img__text p {
    margin: 0 0 20px;
}
.block-img__text p:last-child {
    margin: 0;
}
.block-img__img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}
.block-img--right .block-img__img  {
  order: 2;  
}
.block-img__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media(max-width: 1199px) {
    .block-img__title {
        font-size: 36px;
    }
}
@media(max-width: 959px) {
    .block-img__wrap {
        grid-template-columns: 1fr;
    }
    .block-img__info {
        padding: 20px;
        min-height: 0;
    }
    .block-img__title {
        font-size: 32px;
    }
    .block-img__text {
        font-size: 18px;
    }
    .block-img__text p {
        margin: 0 0 10px;
    }
    .block-img__img {
        order: -1;
        aspect-ratio: 738 / 440;
    }
    .block-img--right .block-img__img {
        order: 0;
    }
}
@media(max-width: 539px) {
    .block-img__wrap {
        gap: 10px;
    }
    .block-img__info {
        padding: 10px;
        border-radius: 12px;
    }
    .block-img__title {
        font-size: 26px;
    }
    .block-img__text {
        font-size: 16px;
    }
    .block-img__img {
        border-radius: 12px;
    }
}
.card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-color: var(--color-light);
    border-radius: 20px;
    overflow: hidden;
    padding: 30px;
    padding-top: 80px;
    background-size: cover;
}
.card__icon {
    position: absolute;
    top: 0;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 6px 6px;
    background-color: var(--color-accent);
}
.card__icon--left {
    right: 0;
    left: 20px;
}
.card__icon svg {
    width: 60%;
    height: 60%;
}
.card__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 6px;
    margin-bottom: 70px;
    font-weight: 500;
    font-size: 12px;
    line-height: 120%;
}
.card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.card--img {
    color: #fff;
}
.card__img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(3, 3, 3, 0.2) 0%, rgba(3, 3, 3, 0.62) 100%);
    z-index: 2;
}
.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card__title {
    position: relative;
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    max-width: 400px;
    z-index: 3;
}
.card__text {
    position: relative;
    z-index: 3;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-gray);
    margin-top: 20px;
}
@media(max-width: 959px) {
    .card {
        padding: 20px;
        padding-top: 70px;
    }
    .card__num {
        margin-bottom: 50px;
    }
    .card__title {
        font-size: 20px;
    }
    .card__text {
        margin-top: 15px;
    }
}

@media(max-width: 539px) {
    .card {
        padding: 10px;
        padding-top: 70px;
        border-radius: 12px;
    }
    .card__title {
        font-size: 16px;
    }
    .card__icon {
        right: 10px;
        width: 40px;
        height: 40px;
    }
    .card__text {
        font-size: 14px;
        margin-top: 10px;
    }
}
.cards__wrap {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}
.cards .title {
    margin-top: 50px;
}
@media(max-width: 1199px) {
    .cards__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(max-width: 959px) {
    .cards .title {
        margin-top: 40px;
    }
}
@media(max-width: 539px) {
    .cards__wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .cards .title {
        margin-top: 30px;
    }
}

.direction__wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 20px;
}
.direction .card {
    min-height: 330px;
}
.direction .card--img {
    grid-column: auto / span 2;
}
.direction .card--img:nth-child(4) {
    grid-column-start: 3;
}
@media(max-width: 1199px) {
    .direction__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .direction .card {
        min-height: 270px;
    }
    .direction .card--img:nth-child(4) {
        grid-column: 1 / -1;
    }
}
@media(max-width: 539px) {
    .direction__wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .direction .card {
        min-height: 170px;
    }
    .direction .card--img {
        grid-column: auto;
    }
}
.map-block__svg {
    width: 100%;
    aspect-ratio: 930 / 450;
}
.map-block__svg svg {
    width: 100%;
    height: 100%;
}


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

.numbers__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    min-height: 270px;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--color-light2);
    padding: 30px;
}

.numbers__num {
    font-weight: 600;
    font-size: 58px;
    line-height: 120%;
    position: relative;
    padding-bottom: 20px;
}
.numbers__num::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    display: block;
    width: calc(100% + 20px);
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        rgba(78,78,78,0.3) 0,
        rgba(78,78,78,0.3) 10px,
        transparent 10px,
        transparent 20px
    );
}

.numbers__text {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-gray);
}
.numbers__img {
    grid-column: -2 / -1;
    grid-row: 1 / 2;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}
.numbers__img--long {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}
.numbers__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.numbers__advantages {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.numbers__advantages ul {
    display: grid;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.numbers__advantages ul li {
    position: relative;
    padding-left: 25px;
    padding-bottom: 20px;
}
.numbers__advantages ul li::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 17px;
    height: 17px;
    background-image: url(../img/marker.svg);
    background-size: cover;
}
.numbers__advantages ul li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    display: block;
    width: calc(100% + 20px);
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        rgba(78,78,78,0.3) 0,
        rgba(78,78,78,0.3) 10px,
        transparent 10px,
        transparent 20px
    );
}

.numbers__advantages ul li:last-of-type {
    padding-bottom: 0;
}

.numbers__advantages ul li:last-of-type::after {
    content: none;
}

@media(max-width: 1199px) {
    .numbers__wrap {
        grid-template-columns: repeat(2,1fr);
    }
    .numbers__img {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    .numbers__img--long {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }
}
@media(max-width: 959px) {
    .numbers__item {
        padding: 20px;
    }
}

@media(max-width: 539px) {
    .numbers__wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .numbers__item {
        padding: 10px;
        border-radius: 12px;
        min-height: 167px;
    }
    .numbers__img {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
        aspect-ratio: 2 / 1;
    }
    .numbers__img--long {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        aspect-ratio: 1 / 1;
    }
    .numbers__num::after,
    .numbers__advantages ul li::after {
        left: -5px;
        width: calc(100% + 10px);
    }
    .numbers__num {
        padding-bottom: 10px;
        font-size: 42px;
    }
    .numbers__text {
        font-size: 14px;
    }
    .numbers__advantages ul {
        gap: 10px;
    }
    .numbers__advantages ul li {
        padding-bottom: 10px;
    }
}
.review-card {
    width: 100%;
    height: 100%;
    background-color: var(--color-light2);
    border-radius: 20px;
    overflow: hidden;
}
.review-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 315 / 446;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
}
.review-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-card__info {
    padding: 20px;
}
.review-card__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 20px;
}
.review-card__text {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-gray);
}
@media(max-width: 959px) {
    .review-card__title {
        font-size: 20px;
    }
}
@media(max-width: 539px) {
    .review-card {
        border-radius: 12px;
    }
    .review-card__img {
        border-radius: 12px;
    }
    .review-card__info {
        padding: 10px;
    }
    .review-card__title {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .review-card__text {
        font-size: 14px;
    }
}
.steps__wrap {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}
.steps .card {
    justify-content: start;
    min-height: 0;
    padding-top: 30px;
}
@media(max-width: 1199px) {
    .steps__wrap {
        grid-template-columns: repeat(2,1fr);
    }
}
@media(max-width: 959px) {
    .steps .card {
        padding-top: 20px;
    }
}
@media(max-width: 539px) {
    .steps__wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .steps .card {
        padding-top: 10px;
    }
}
.features__wrap {
    grid-auto-flow: dense;
}

.features__item {
    grid-row: auto / span 7;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-light2);
}
.features__item:nth-child(even) {
    grid-row: auto / span 5;
}
.features__item:nth-child(6n+4) {
    grid-column: 1 / 2;
}
.features__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
}
.features__text {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-gray);
}
.features__img {
    width: calc(100% + 60px);
    margin: -30px -30px 0;
    aspect-ratio: 427 / 212;
}
.features__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.features__item:nth-child(even) .features__img {
    order: 2;
    width: calc(100% + 40px);
    margin: auto -20px -20px;
    aspect-ratio: 406 / 140; 
    border-radius: 10px;
    overflow: hidden;
}
.features .features__item--img .features__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    margin: 0;
}
@media(max-width: 1199px) {
    .features .features__item--img {
        grid-row: auto / span 7;
    }    
}
@media(max-width: 959px) {
    .features__item {
        gap: 20px;
        padding: 20px;
    }
    .features__item:nth-child(even) {
        grid-row: auto;
    }
    .features__title {
        font-size: 20px;
    }
    .features__img {
        width: calc(100% + 40px);
        margin: -20px -20px 0;
    }
    .features__item:nth-child(even) .features__img {
        width: calc(100% + 20px);
        margin: auto -10px -10px;
    }
    .features .features__item--img {
        grid-row: auto / span 7;
    }  
}
@media(max-width: 539px) {
    .features__item {
        gap: 10px;
        padding: 10px;
        border-radius: 12px;
    }
    .features__title {
        font-size: 16px;
    }
    .features__text {
        font-size: 14px;
    }
    .features__img {
        width: calc(100% + 20px);
        margin: -10px -10px 0;
    }
    .features__item:nth-child(even) .features__img {
        width: calc(100% + 10px);
        margin: auto -10px -10px;
    }

    .features__item,
    .features__item:nth-child(even),
    .features .features__item--img {
        grid-row: auto;
    }
    .features .features__item--img {
        aspect-ratio: 330 / 180;
    }
}
.about__img {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 930 / 450;
}
.about__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about .section-top {
    margin-bottom: 30px;
}
.about__content {
    font-size: 20px;
    line-height: 140%;
    color: var(--color-gray);
    column-count: 2;
    column-gap: 20px;
}

@media(max-width: 959px) {
    .about .section-top {
        margin-bottom: 20px;
    }
    .about__content {
        font-size: 18px;
        line-height: 140%;
        color: var(--color-gray);
        column-count: 1;
    }
}
@media(max-width: 539px) {
    .about__content {
        font-size: 16px;
    }
}

.service-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--color-light);
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
    transition: background 0.3s ease;
}
.service-card--consult {
    background-image: url('../img/about-bg.png');
    background-size: cover;
}
.service-card__title {
    position: relative;
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    padding-bottom: 20px;
    padding-right: 18px;
}
.service-card__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    display: block;
    width: calc(100% + 20px);
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        rgba(78,78,78,0.3) 0,
        rgba(78,78,78,0.3) 10px,
        transparent 10px,
        transparent 20px
    );
}
.service-card__title::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
}

.service-card--consult .service-card__title {
    padding: 0;
}
.service-card--consult .service-card__title::after,
.service-card--consult .service-card__title::before {
    content: none;
}
.service-card__text {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-gray);
}
.service-card__term {
    font-size: 16px;
    line-height: 120%;
    color: var(--color-gray);
    margin-bottom: 20px;
}
.service-card__term span {
    font-weight: 500;
    color: var(--color-dark);
}
.service-card__bottom {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.service-card__price {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    transition: color 0.3s ease;
}
.service-card__link {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-accent);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    transition: color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}
.service-card__link svg {
    width: 55%;
    height: 55%;
}

.service-card__link::after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.service-card:has(.service-card__link:hover) {
    background: #fff;
}
.service-card:has(.service-card__link:hover) .service-card__price {
    color: var(--color-accent);
}
.service-card__btn {
    margin-top: 65px;
}
@media(max-width: 959px) {
    .service-card__title {
        font-size: 20px;
    }
    .service-card__price {
        font-size: 20px;
    }
}

@media(max-width: 539px) {
    .service-card {
        gap: 10px;
        border-radius: 12px;
        padding: 10px;
    }
    .service-card__title {
        font-size: 16px;
        padding-bottom: 10px;
    }
    .service-card__title::after {
        left: -5px;
        width: calc(100% + 10px);
    }
    .service-card__text {
        font-size: 14px;
    }
}
.catalog__wrap {
    column-count: 2;
    column-gap: 20px;
}
@media(max-width: 539px) {
    .catalog__wrap {
        column-count: 1;
    }
}

.catalog-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--color-light);
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
    transition: background 0.3s ease;
}
.catalog-card:hover {
    background-color: #fff;
}
.catalog-card__title {
    position: relative;
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    padding-bottom: 20px;
    padding-right: 18px;
}
.catalog-card__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -10px;
    display: block;
    width: calc(100% + 20px);
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        rgba(78,78,78,0.3) 0,
        rgba(78,78,78,0.3) 10px,
        transparent 10px,
        transparent 20px
    );
}
.catalog-card__title::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
}
.catalog-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin-bottom: 60px;
}
.catalog-card__text {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-gray);
    margin-bottom: 10px;
}
.catalog-card__link {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-accent);
}
.catalog-card__list .catalog-card__link {
    color: var(--color-gray);
}
.catalog-card__link:hover {
    color: var(--color-accent);
}

@media(max-width: 959px) {
    .catalog-card__title {
        font-size: 20px;
    }
}

@media(max-width: 539px) {
    .catalog-card {
        border-radius: 12px;
        padding: 10px;
        margin-bottom: 10px;
    }
    .catalog-card:last-child {
        margin-bottom: 0;
    }
    .catalog-card__title {
        font-size: 16px;
        padding-bottom: 10px;
    }
    .catalog-card__title::after {
        left: -5px;
        width: calc(100% + 10px);
    }
    .catalog-card__list {
        gap: 5px;
        margin-bottom: 20px;
    }
    .catalog-card__link {
        font-size: 14px;
    }
    .catalog-card__text {
        font-size: 14px;
        margin-bottom: 0;
    }
}
.promo {
    position: relative;
}

.promo__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.promo__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.promo__img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(3, 3, 3, 0.2) 0%, rgba(3, 3, 3, 0.62) 100%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo__wrap {
    position: relative;
    width: 100%;
    min-height: 840px;
    display: flex;
    flex-direction: column;
    color: #fff;
    padding: 40px 0;
}

.promo__title {
    margin: 0 0 20px;
    font-size: 52px;
    line-height: 105%;
    max-width: 920px;
}

.promo__subtitle {
    font-size: 20px;
    line-height: 140%;
    opacity: 0.8;
    margin: 0 0 30px;
    max-width: 700px;
}
.promo__btns {
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
}
.promo__btns .btn {
    max-width: 300px;
}
.promo__features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: auto;
}
.promo__feature {
    display: flex;
    flex-direction: column;
    gap: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 20px;
    background: #fff;
    border-radius: 20px;
}
.promo__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    border-radius: 0px 0px 6px 6px;
}
.promo__feature-icon img {
    width: 50%;
    height: 50%;
}
.promo__feature-text {
    max-width: 170px;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    text-wrap: balance;
    color: var(--color-dark);
}

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

@media (max-width: 959px) {
    .promo__title {
        font-size: 40px;
    }
    .promo__subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .promo__wrap {
        padding: 30px 0;
    }
}

@media (max-width: 767px) {
    .promo__btns {
        flex-direction: column;
        gap: 10px;
    }
    .promo__btns .btn {
        max-width: 100%;
    }
    .promo__features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
@media (max-width: 539px) {
    .promo__wrap {
        padding: 20px 0;
    }
    .promo__title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    .promo__subtitle {
        font-size: 16px;
    }
    .promo__feature {
        gap: 30px;
        padding: 0 10px 10px;
        border-radius: 12px;
    }
    .promo__feature-icon {
        width: 40px;
        height: 40px;
    }
    .promo__feature-text {
        max-width: 100%;
        font-size: 14px;
    }

}






































































































/* ============================================================================================= */



.marquee{
    width:100%;
    overflow: hidden;
    height: 140px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.marquee__track{
    display: flex;
    align-items: center;
    height:100%;
    animation: marquee 30s linear infinite;
    will-change: transform;
    width: max-content;
}

.marquee__img {
    flex: 0 0 auto; 
    height: 100%;
    max-width: 240px;
    margin: 0 20px;
}

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

.marquee__track:nth-child(odd) {
    animation-direction: reverse;
}

@media (max-width: 959px) {
    .marquee{
        height: 100px;
        gap: 20px;
    }
    .marquee__img {
        max-width: 190px;
        margin: 0 25px;
    }
}

@media (max-width: 539px) {
    .marquee{
        height: 58px;
        gap: 10px;
    }
    .marquee__img {
        max-width: 116px;
        margin: 0 15px;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.client {
    width: 100%;
    height: 100%;
    height: 91px;
    background-color: var(--color-light);
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
}
.client img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media(max-width: 539px) {
    .client {
        height: 61px;
        padding: 14px;
    }
}

.mission__wrap {
    grid-auto-rows: 1fr;
}
.mission .card {
    min-height: 234px;
}
.mission .card:nth-child(4) {
    grid-row: 1 / span 2;
    grid-column: -2 / -1;
}
.mission .card:nth-child(1) {
    grid-row: 1 / span 2;
}
.mission .card:nth-child(2) {
    background-color: var(--color-accent);
    color: #fff;
}
.mission .card:nth-child(2)::after {
    bottom: 0;
    right: 0;
    transform: translate(50%,50%);
    width: 536px;
    height: 536px;
    background-image: url(/img/decor.png);
}
.mission .card:nth-child(3)::after {
    top: 0;
    right: 0;
    transform: translate(50%,-50%);
    width: 536px;
    height: 536px;
    background-image: url(/img/decor2.png);
}

@media(max-width: 1199px) {
    .mission .card:nth-child(4) {
        grid-row: auto;
        grid-column: 1 / -1;
    }
}
@media(max-width: 539px) {
    .mission .card:nth-child(1) {
        grid-row: auto;
    }
}
.advantages__wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-rows: 1fr;
}
.advantages .card {
    min-height: 230px;
    background-color: #fff;
}
.advantages .card:nth-child(1) {
    grid-row: 1 / span 2;
}
.advantages .card:nth-child(1)::after {
    top: 0;
    right: 0;
    transform: translate(50%,-50%);
    width: 678px;
    height: 678px;
    background-image: url(/img/decor2.png);
}
.advantages .card:nth-child(2),
.advantages .card:nth-child(5) {
    background-color: var(--color-accent);
    color: #fff;
}
.advantages .card:nth-child(2) .card__icon,
.advantages .card:nth-child(5) .card__icon  {
    color: #fff;
}

@media(max-width: 959px) {
    .advantages__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .advantages .card:nth-child(1) {
        grid-row: auto;
        grid-column: 1 / -1;
    }
}
@media(max-width: 539px) {
    .advantages__wrap {
        grid-template-columns: 1fr;
        grid-auto-rows: 1fr;
        gap: 10px;
    }
    .advantages .card {
        min-height: 214px;
    }
}




.categories__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    grid-auto-rows: 72px;
    grid-auto-flow: dense;
}
.category-card {
    display: flex;
    flex-direction: column;
    grid-row: auto / span  7;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--color-light);
    position: relative;
    padding: 10px;
}
.category-card:nth-child(4n+2) {
    grid-row: auto / span  6;
    grid-column: -2 / -1;
}
.category-card:nth-child(4n+3) {
    grid-row: auto / span  6;
    grid-column: 1 / 2;
}
.category-card__info {
    padding: 30px 20px;
}
.category-card__title {
    display: block;
    font-weight: 600;
    font-size: 30px;
    line-height: 120%;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.category-card__title::after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}
.category-card__text {
    font-size: 16px;
    line-height: 140%;
    color: var(--color-gray);
}

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

.category-card__img {
    width: 100%;
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 70%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        black 70%,
        transparent 100%
    );
}
.category-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width: 1199px) {
    .categories__wrap {
        grid-auto-rows: 50px;
    }
    .category-card__info {
        padding: 20px 10px;
    }
    .category-card__title {
        font-size: 26px;
    }
}

@media(max-width: 959px) {
    .categories__wrap {
        grid-auto-rows: 46px;
    }
    .category-card__title {
        font-size: 22px;
        margin-bottom: 15px;
    }

}

@media(max-width: 539px) {
    .categories__wrap {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 10px;
    }
    .category-card,
    .category-card:nth-child(4n+2),
    .category-card:nth-child(4n+3) {
        grid-row: auto;
        grid-column: auto;
    }
    .category-card__info {
        padding: 15px 5px 20px;
    }
    .category-card__title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .category-card__text {
        font-size: 14px;
    }
    .category-card__img {
        height: 140px;
        flex: auto;
    }
}
.products__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.product-card {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 10px;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--color-light);
}
.product-card__img {
    height: 100%;
    width: 315px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
}
.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-card__info {
    display: flex;
    flex-direction: column;
    padding: 10px 10px 10px 0;
}
.product-card__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}
.product-card:has(.product-card__btn:hover) .product-card__title {
    color: var(--color-accent);
}
.product-card__text {
    font-size: 14px;
    line-height: 140%;
    color: var(--color-gray);
    margin-bottom: 20px;
}
.product-card__details {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    font-size: 16px;
    line-height: 140%;
    color: var(--color-gray);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-card__details li::before {
    content: '';
    width: 18px;
    height: 18px;
    display: inline-block;
    background-image: url(/img/marker.svg);
    background-size: cover;
    margin: 0 5px 0 0;
    transform: translateY(3px);
}

.product-card__btn {
    width: fit-content;
    margin-top: auto;
}
.product-card__btn::after {
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 2;
}
@media(max-width: 1199px) {
    .product-card {
        flex-direction: column;
        gap: 15px;
    }
    .product-card__img {
        height: auto;
        width: 100%;
        aspect-ratio: 435 / 320;
    }
    .product-card__info {
        flex: 1;
        padding: 0 10px 10px;
    }
}
@media(max-width: 959px) {
    .product-card__title {
        font-size: 20px;
    }
    .product-card__text {
        margin-bottom: 15px;
    }
}
@media(max-width: 539px) {
    .products__wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .product-card {
        padding: 5px;
    }
    .product-card__title {
        font-size: 18px;
    }
    .product-card__text {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .product-card__details {
        margin: 0 0 30px;
        font-size: 14px;
    }
}
.tariff-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--color-light);
    padding: 20px;
    min-height: 380px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.tariff-card__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}
.tariff-card__text {
    font-size: 16px;
    line-height: 140%;
    opacity: 0.8;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(0,16,28,0.1);
    transition: border-color 0.3s ease;
}
.tariff-card__speed {
    font-size: 16px;
    line-height: 100%;
    margin-top: auto;
    margin-bottom: 20px;
}
.tariff-card__speed span {
    font-weight: 600;
    font-size: 52px;
}
.tariff-card__btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.tariff-card__btn:hover,
.tariff-card__btn:focus {
    color: var(--color-accent);
    background-color: #fff;
}
.tariff-card:has(.tariff-card__btn:hover) {
    background-color: var(--color-accent);
    color: #fff;
}
.tariff-card:has(.tariff-card__btn:hover) .tariff-card__ttitle {
    color: #fff;
}
.tariff-card:has(.tariff-card__btn:hover) .tariff-card__text {
    border-color: rgba(255,255,255,0.2);
}

@media(max-width: 1199px) {
    .tariff-card {
        min-height: 316px;
    }
}
@media(max-width: 959px) {
    .tariff-card__title {
        font-size: 20px;
    }
}
@media(max-width: 539px) {
    .tariff-card {
        min-height: 223px;
        padding: 15px;
    }
    .tariff-card__title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .tariff-card__text {
        font-size: 14px;
        padding-bottom: 10px;
    }
    .tariff-card__speed {
        margin-bottom: 10px;
    }
    .tariff-card__speed span {
        font-size: 38px;
    }
}

[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: 30px 90px 30px 30px;
    cursor: pointer;
    border: none;
    border-radius: 20px;
    background-color: transparent;
    transition: color 0.3s ease;
    min-height: 96px;
    font-family: 'Jost','Arial', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 120%;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

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

.accordion__icon {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(38, 69, 211, 0.2);
    border-radius: 18px;
    color: var(--color-accent);
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.accordion__icon svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}
.accordion__element.is-active .accordion__icon svg {
    transform: rotate(-90deg);
}

.accordion__element.is-active .accordion__button {
    color: var(--color-accent);
}

.accordion__wrapper {
    padding: 0 30px 30px;
    color: var(--color-gray);
}
.accordion__wrapper a {
    color: var(--color-gray);
}
@media(max-width: 1199px) {
    .accordion__button {
        padding: 30px 80px 30px 20px;
        font-size: 26px;
    }
    .accordion__wrapper {
        padding: 0 20px 20px;
    }
}

@media(max-width: 959px) {
    .accordion__button {
        padding: 20px 80px 20px 20px;
        font-size: 22px;
        min-height: 76px;
    }
    .accordion__icon {
        top: 10px;
        right: 10px;
    }
}
@media(max-width: 539px) {
    .accordion__button {
        padding: 15px 80px 15px 15px;
        font-size: 20px;
    }
    .accordion__wrapper {
        padding: 0 15px 15px;
    }
}

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

.text-content ul, .text-content ol {
    margin: 0 0 10px;
    padding: 0;
    list-style-position: inside;
}
.text-content li {
    margin: 0 0 10px;
}
.text-content p {
    margin: 0 0 10px;
}
.text-content a {
    text-decoration: underline;
}
.text-content a:hover {
    color: var(--color-accent);
}

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

.consult__wrap {
    position: relative;
    min-height: 510px;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.consult__img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}
.consult__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.consult__img::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; 
    background: linear-gradient(270deg, rgba(0, 16, 28, 0) 0%, rgba(0, 16, 28, 0.72) 100%);
}
.consult .title,
.consult .subtitle {
    max-width: 545px;
}
.consult .subtitle {
    color: #fff;
    opacity: 0.6
}
.consult__btn {
    width: fit-content;
    margin-top: auto;
}

@media(max-width: 1199px) {
    .consult__wrap {
        padding: 20px;
    }
}

@media(max-width: 959px) {
    .consult__wrap {
        min-height: 437px;
    }
}

@media(max-width: 539px) {
    .consult__wrap {
        min-height: 344px;
        padding: 15px;
    }
    .consult__btn {
        width: 100%;
    }
}

@media(max-width: 767px) {
    .portfolio .grid-3 {
        grid-template-columns: 1fr;
    }
}
.team .title,
.team .subtitle {
    padding-right: 150px;
}
.team__slider {
    position: relative;
}
.team__slider .swiper-btns {
    position: absolute;
    top: -80px;
    right: 0;
    transform: translateY(-100%);
}
.team-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
}
.team-card__img {
    width: 100%;
    aspect-ratio: 325 / 419;
    overflow: hidden;
    user-select: none;
}

.team-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-card__info {
    padding: 15px;
}

.team-card__name {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    transition: color 0.3s ease;
}

.team-card__position {
    font-size: 14px;
    line-height: 120%;
    color: var(--color-gray);
    opacity: 0.8;
}

.team-card:hover  .team-card__name {
    color: var(--color-accent);
}

@media(max-width: 1199px) {
    .team__slider .swiper-btns {
        top: -50px;
    }
}

@media(max-width: 959px) {
    .team__slider .swiper-btns {
        top: -30px;
    }
    .team-card__info {
        padding: 12px 15px;
    }

    .team-card__name {
        font-size: 18px;
    }
}

@media(max-width: 539px) {
    .team .title,
    .team .subtitle {
        padding-right: 60px;
    }
    .team__slider .swiper-btns {
        top: -23px;
        flex-direction: column;
        gap: 10px;
    }
    .team__slider .swiper-btn-next,
    .team__slider .swiper-btn-prev {
        width: 42px;
        height: 42px;
    }
    .team-card__info {
        padding: 5px 15px 15px;
    }

    .team-card__name {
        font-size: 16px;
        margin-bottom: 4px;
    }
}




.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: 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: 460px;
    width: 100%;
    background-color: var(--color-dark);
    color: #fff;
    border-radius: 20px;
    padding: 35px 40px 40px;
}

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

.modal__subtitle {
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    opacity: 0.6;
    margin-bottom: 20px;
}

.modal__close {
    position: absolute;
    top: -30px;
    right: 0;
    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;
    color: var(--color-gray);
    background-color: transparent;
    transition: opacity 0.3s ease;
}

.modal__close:hover,
.modal__close:focus {
    opacity: 0.8;
}

.modal.active {
    transform: scale(1);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.modal .form__wrap {
    grid-template-columns: 1fr;
}

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

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

.license {
    position: relative;
    min-height: 106px;
    background: #fff;
    border-radius: 20px;
    padding: 20px 20px 20px 115px;
    font-size: 16px;
    line-height: 140%;
    overflow: hidden;
}
.license span {
    max-width: 488px;
    opacity: 0.8;
    display: block;
}
.license::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    display: block;
    width: 32px;
    height: 32px;
    background-image: url(/img/icon1.svg);
    background-size: cover;
}
.license::before {
    content: '';
    position: absolute;
    display: block;
    width: 678px;
    height: 678px;
    background-image: url(/img/decor.png);
    background-size: cover;
    z-index: 2;
    pointer-events: none;
}
.license:nth-child(1),
.license:nth-child(2) {
    background-color: var(--color-accent);
    color: #fff;
}
.license:nth-child(1)::after,
.license:nth-child(2)::after {
    filter: invert(100%) brightness(1000%);
}
.license:nth-child(1)::before {
    top: 0;
    right: 0;
    transform: translate(50%,-50%);
}
.license:nth-child(2)::before {
    top: 0;
    left: 0;
    transform: translate(-50%,-50%);
}

@media(max-width: 1199px) {
    .license {
        padding: 20px 20px 20px 72px;
    }
}

@media(max-width: 539px) {
    .license {
        padding: 15px 15px 15px 62px;
        font-size: 14px;
        min-height: 70px;
    }
}
.history__wrap {
    grid-auto-rows: 1fr;
    grid-auto-flow: dense;
}
.history__item {
    position: relative;
    padding: 20px;
    background-color: var(--color-light);
    border-radius: 20px;
    overflow: hidden;
    grid-row: auto / span 5;
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto 1fr;
    gap: 15px;
}
.history__year {
    grid-row: 1  / 3;
    font-weight: 600;
    font-size: 30px;
    line-height: 120%;
    color: var(--color-accent);
}
.history__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin: 5px 0;
}
.history__text {
    font-size: 16px;
    line-height: 140%;
    opacity: 0.8;
}
.history__text p {
    margin:  0 0 10px;
    opacity: 0.8;
}
.history__text ul {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}
.history__text ul li::before {
    content: '';
    width: 18px;
    height: 18px;
    display: inline-block;
    background-image: url(/img/marker.svg);
    background-size: cover;
    margin: 0 5px 0 0;
    transform: translateY(3px);
}
.history__item:nth-last-child(3) {
    grid-row: auto / span 4;
}
.history__item:nth-last-child(2) {
    grid-column: 1 / 2;
}
.history__item:nth-last-child(1) {
    grid-row: auto / span 6;
    grid-column: -2 / -1;
    background-color: var(--color-accent);
    color: #fff;
}
.history__item:nth-last-child(1) .history__year {
    color: #fff;
}
.history__item:nth-last-child(1)::before {
    content: '';
    position: absolute;
    display: block;
    width: 678px;
    height: 678px;
    background-size: cover;
    z-index: 2;
    pointer-events: none;
    background-image: url(/img/decor.png);
    left: 0;
    bottom: 0;
    transform: translate(-50%,50%);
}
