/*
Theme Name: Alpline Agency
Theme URI: https://alplineagency.com/
Author: ValeriyGor
Author URI: https://alplineagency.com/
Description: Single-page landing theme for Alpline Agency
Version: 2.5
Text Domain: alpline-agency
*/

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

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

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

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body, html {
    font-size: 16px;
}
body {
    line-height: 1;
    font-family: 'Mont', serif;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

.color-white {
    color: #fff;
}

.color-black {
    color: #000000;
}

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

h1 {
    font-size: 4.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

h2 {
    font-size: 3.75rem;
    text-transform: uppercase;
    font-weight: 700;
}

h2.big {
    font-size: 4.2rem;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

p {
    font-size: 1.12rem;
    line-height: 1.2;
    font-weight: 400;
}

img {
    max-width: 100%;
}

.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 0;
    background-color: rgba(217, 217, 217, 0.4);
    backdrop-filter: blur(8px);
    transition: background 1s ease;
    z-index: 1000;
}

.top-menu.scrolled {
    background: rgba(217, 217, 217, 1);
}

.top-menu .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-menu a {
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.top-menu a:hover {
    opacity: 0.75;
}

.top-menu__right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

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

.menu {
    display: flex;
    gap: 3rem;
}

header {
    background: url(./assets/images/header-bg.jpg) top center no-repeat;
    background-size: 100% 100%;
}

.header-content .primary-btn {
    width: 35rem;
}

.header-content {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 7rem 0;
}

.header-content p {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-top: 6px;
}

.header-content p {
    max-width: 30rem;
}

.container {
    max-width: 1400px;
    width: calc(100% - 100px);
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
}

.container-fluid {
    max-width: 100%;
}

.social-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.partners-logo {
    background-color: #A27418;
    padding: 10px 0;
}

.partners-logo .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team {
    height: 50vw;
    max-height: 90vh;
    min-height: 700px;
    background: url(./assets/images/team.jpg) center left no-repeat;
    background-size: 100% 100%;
    padding: 6.25rem 0;
}

.team h2 {
    margin-bottom: 2.25rem;
}

.team p {
    width: 44rem;
    max-width: 100%;
    font-size: 1.375rem;
    line-height: 1.4;
}

.advantages {
    background: url(./assets/images/cases.jpg) center no-repeat;
    background-size: 100% 100%;
    color: #fff;
    padding: 12.25rem 0 9.0625rem;
}

.advantages h3 {
    font-size: 1.875rem;
    max-width: 51.25rem;
    padding: 0 1.25rem;
    margin: 0 auto;
}

.advantages h4 {
    font-size: 1.5625rem;
    margin-bottom: 0.9375rem;
}

.advantages h3,
.advantages h4 {
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

.advantages__wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 3.125rem;
}

.advantages__item {
    flex: 0 0 32%;
    margin-top: 6.25rem;
}

.advantages__item p {
    font-weight: 400;
    text-align: center;
}

.cases {
    padding: 5.625rem 0;
}

.services {
    padding: 5.625rem 0;
    overflow: hidden;
}

.services .container {
    position: relative;
}

.cases__slider {
    margin-top: 5.625rem;
    display: flex;
    gap: 2.5rem;
}

.cases__slider h4,
.services__slider h4 {
    font-size: 1.5625rem;
    line-height: 1.2;
    min-height: 3.75rem;
    margin-top: 1.375rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

.cases__slider p {
    font-size: 1rem;
    line-height: 1.2;
    margin-top: 0.8125rem;
    text-align: center;
    min-height: 3.6rem;
    margin-bottom: 1rem;
}

.cases__slider-item {
    width: 27.375rem;
}

.services__slider p {
    font-size: 1rem;
    line-height: 1.2;
    margin: 0.8125rem auto 1.5rem;
    min-height: 3.75rem;
    text-align: center;
    padding: 0 0.25rem;
}

.services__slider-image img {
    width: 100%;
}

.reviews {
    padding: 3.75rem 0;
}

.reviews__slider {
    margin-top: 3.125rem;
}

.reviews__item {
    color: #fff;
    max-width: 23.25rem;
    height: auto!important;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
}

.reviews__item-content {
    background-color: #99985c;
    padding: 1.375rem;
    height: 100%;
}

.review__username {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5;
}

.review__content {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25;
    margin-top: 0.875rem;
}

.review__stars {
    display: flex;
    align-items: center;
    gap: 0.3125rem;
    margin-top: 0.125rem;
}

.faq {
    background-color: #99985c;
    padding: 5.625rem 0;
}

.faq h2 {
    margin-bottom: 3.75rem;
}

.accordion {
    border-top: 0.0625rem solid #fff;
}

.accordion__item {
    color: #fff;
    border-bottom: 0.0625rem solid #fff;
    padding: 0.625rem 0 1.75rem;
}

.accordion__item h4 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 1.5rem;
    transition: padding 0.35s ease;
    cursor: pointer;
    padding-top: 1.125rem;
}

.accordion__item .toggle {
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion__item p {
    margin: 0;
    padding: 0 1.625rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.accordion__item.active h4 {
    padding-bottom: 1.875rem;
}

.accordion__item.active p {
    max-height: 31.25rem;
}

/* Переключення іконок */
.accordion__item .toggle img:nth-child(1) {
    display: block;
    transform: rotate(-90deg);
}

.accordion__item .toggle img:nth-child(2) {
    display: none;
}

.accordion__item.active .toggle img:nth-child(1) {
    display: none;
}

.accordion__item.active .toggle img:nth-child(2) {
    display: block;
}

footer {
    padding: 5.75rem 0;
    background: url("./assets/images/footer-bg.jpg") center no-repeat;
    background-size: 100% 100%;
}

footer h2 {
    margin-bottom: 5rem;
}

footer .btn {
    min-width: 31rem;
}

footer .social {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 4.875rem;
}

.social__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5625rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.btn {
    color: #fff;
    font-family: 'Mont', sans-serif;
    font-size: 1.5625rem;
    line-height: 1.2;
    font-weight: 700;
    border: none;
    outline: none;
    padding: 0.8125rem 1.875rem;
    text-transform: uppercase;
    text-align: center;
    display: block;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s;
    text-decoration: none;
}

.btn:hover {
    opacity: 0.8;
}

.btn--small {
    font-size: 1.125rem;
}

.btn--center-block {
    margin: 2.5rem auto;
}

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

.primary-btn {
    background-color: #005e37;
}

.secondary-btn {
    background-color: #a27418;
}

.success-btn {
    background-color: #1A7F3C;
}

.marquee .swiper-wrapper {
    transition-timing-function: linear !important;
    align-items: center;
}

.marquee .swiper-slide {
    width: auto;
    padding-right: 1.5rem;
    font-size: 1.125rem;
}


.mobile-none {
    display: block;
}
.desktop-none {
    display: none;
}

.mobile-burger, .mobile-menu {
    display: none;
}

.reviews__pagination {
    display: none;
}

/* ====== БАЗА ====== */
:root {
    --cf-bg: #F9F7F1;          /* светлый фон правой части */
    --cf-text: #000;
    --cf-accent: #0b5c35;      /* зелёная кнопка */
    --cf-border: #c9c3b7;
    --cf-radius: 10px;
    --cf-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.cf-open-btn { cursor: pointer; }

/* Контейнер модалки */
.cf-modal[aria-hidden="true"] { display: none; }
.cf-modal[aria-hidden="false"] { display: block; }

.cf-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    font-family: inherit;
}

.cf-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
    opacity: 0;
    transition: opacity .3s ease;
}

/* Диалог */
.cf-modal__dialog {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.cf-modal__wrap {
    width: min(796px, 96vw);
    background: var(--cf-bg);
    color: var(--cf-text);
    box-shadow: var(--cf-shadow);
    overflow: hidden;

    /* выезд слева (по ТЗ) */
    transform: translateX(-40px);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
}

.cf-modal[aria-hidden="false"] .cf-modal__overlay { opacity: 1; }
.cf-modal[aria-hidden="false"] .cf-modal__wrap { transform: translateX(0); opacity: 1; }

.cf-modal__close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 34px;
    height: 34px;
    color: #000;
    font-size: 20px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    border: 0;
    outline: none;
    background: transparent;
    z-index: 10;
}

.cf-modal__media { position: relative; min-height: 285px; }
.cf-modal__media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.cf-modal__content {
    padding: 36px 28px;
    border: 1px solid #000;
    width: 496px;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.cf-modal__slider--wrapper {
    width: 796px;
    height: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cf-modal__slider {
    width: 438px;
    height: 320px;
}

.cf-modal__slider .swiper-button-next, .cf-modal__slider .swiper-button-prev {
    display: none;
}

.cf-modal__slider--wrapper .modal-slider-prev {
    position: absolute;
    left: 125px;
    top: 220px;
    cursor: pointer;
    padding: 10px;
}

.cf-modal__slider--wrapper .modal-slider-next {
    position: absolute;
    right: 125px;
    top: 220px;
    cursor: pointer;
    padding: 10px;
}

.cf-modal__slider--wrapper .modal-slider-pagination {
    position: absolute;
    bottom: 50px!important;
    top: auto!important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-modal__slider--wrapper .swiper-pagination-bullet{
    width: 14px;
    height: 14px;
    background-color: #D9D9D9;
    cursor: pointer;
}

.cf-modal__slider--wrapper .swiper-pagination-bullet-active{
    background-color: #005E37;
}

.modal-swiper { width: 100%; height: 100%; }
.modal-swiper .swiper-slide { display:flex; align-items:center; justify-content:center; }
.modal-swiper .swiper-slide img { display:block; max-width:100%; max-height:70vh; object-fit:contain; }

.cf-title {
    font-size: 25px;
    text-align: center;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.cf-form-legend {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.cf-bullets {
    width: 370px;
    margin: 20px auto 25px;
    list-style: disc;
}
.cf-bullets li {
    margin: 6px 0;
    line-height: 1.2;
}

/* Форма */
.cf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin-bottom: 40px;
    margin-top: 15px;
}

.cf-field { display: grid; gap: 0; }
.cf-field span { font-size: 10px; }
.cf-field input {
    height: 19px;
    padding: 2px 10px;
    border: 1px solid #000;
    background: transparent;
    outline: none;
}

/* ====== АДАПТИВ ====== */
@media (max-width: 900px) {
    .cf-modal__wrap { grid-template-columns: 1fr; }
    .cf-modal__media { display: none; } /* при желании оставь */
    .cf-modal__content {
        width: 100%; }
    .cf-bullets {
        width: calc(100% - 30px);
    }
    .cf-modal__dialog {
        padding: 2vw;
    }
}

@media (max-width: 560px) {
    .cf-modal__content { padding: 20px 16px 24px; }
    .cf-grid { grid-template-columns: 1fr; gap: 10px; }
}

/* уважение reduce-motion */
@media (prefers-reduced-motion: reduce) {
    .cf-modal__overlay,
    .cf-modal__wrap { transition: none !important; }
}


@media (min-width: 1300px) {
    .services {
        position: relative;
    }

    .services:before {
        content: "";
        display: block;
        height: 100%;
        width: calc((100% - 1280px)/2);
        background: #ffffff;
        background: linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 9;
    }

    .services:after {
        content: "";
        display: block;
        height: 100%;
        width: calc((100% - 1280px)/2);
        background: #ffffff;
        background: linear-gradient(-90deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        position: absolute;
        top: 0;
        right: 0;
        z-index: 9;
    }
}

@media (min-width: 1023px) {

    .pagination {
        display: none;
    }

    .reviews__slider .swiper-wrapper {
        transition-timing-function: linear !important;
    }

    .services__slider-item {
        min-width: 24.375rem;
        flex: 0 0 24.375rem;
    }

    .cases__slider-item, .services__slider-item {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

.hscroll {
    position: relative;
    overflow: hidden;
}

.hscroll.without-hidden {
    overflow: visible;
}

.hscroll__track {
    margin-top: 4rem;
    display: inline-flex;
    gap: 0;

    overflow-x: auto;
    /* overflow-y: hidden; */
    scroll-behavior: smooth; /* мягкая прокрутка */
    scrollbar-width: none;   /* Firefox */
}



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

@media (min-width: 1280px) {
    .partners-logo img {
        max-height: 40px;
    }
}

@media (max-width: 1280px) and (min-width: 1024px) {
    body, html {
        font-size: 14px;
    }

    .header-content {
        min-height: min(calc(100vh - 80px), 750px);
    }

    .partners-logo img {
        max-height: 30px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding-right: 14px;
        padding-left: 14px;
    }

    header, .team, .advantages, footer {
        -webkit-background-size: cover;
        background-size: cover;
    }

    .top-menu {
        left: 1rem;
        top: 3rem;
        right: 1rem;
        transition: all 0.3s ease-in-out;
        padding: 6px 0;
    }

    .top-menu.scrolled {
        top: 0;
        left: 0;
        right: 0;
        padding: 10px 0;
    }

    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #F0EEDF;
        z-index: 1001;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform .35s ease;
    }

    .mobile-menu.is-open {
        transform: translateX(0);
    }

    .body-lock {
        overflow: hidden;
    }

    .mobile-menu .close-menu {
        position: absolute;
        top: 42px;
        right: 30px;
    }

    .mobile-menu__list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-menu__list li {
        margin-bottom: 3rem;
    }

    .mobile-menu__list a {
        text-decoration: none;
        color: #000;
        text-transform: uppercase;
        font-size: 1.4rem;
        font-weight: 400;
    }

    .menu {
        display: none;
    }

    .logo {
        max-width: 8rem;
    }

    .top-menu__right {
        gap: 2rem;
    }
    .top-menu__right .social-menu {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    h2 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
    }

    .team h2.big {
        font-size: 2.5rem;
    }

    .btn {
        max-width: 400px;
        min-width: 0;
        width: 100%;
        font-size: 1.25rem;
        font-weight: 600;
        padding: 0.5rem 1rem;
        margin: 0 auto;
        display: inline-block;
        text-decoration: none;
    }

    footer .btn {
        width: 100%;
        max-width: 400px;
        min-width: 0;
        font-weight: 600;
        padding: 0.5rem;
        display: block;
        margin: 0 auto;
    }

    .marquee .swiper-slide {
        min-width: 70px;
        text-align: center;
    }

    .header-content {
        min-height: 380px;
        height: calc(100vh - 5rem);
        justify-content: center;
    }

    .header-content .primary-btn {
        width: 100%;
    }

    .header-content p {
        font-size: 1rem;
        text-align: center;
        max-width: 24rem;
        margin: 1.5rem auto;
    }

    .partners-logo {
        height: 5rem;
        padding: 1.5rem 0;
    }

    .partners-logo img {
        max-height: 30px;
    }

    .services {
        padding: 7rem 0;
    }

    .services .container {
        padding-left: 0;
        padding-right: 0;
    }

    .hscroll__track {
        margin-top: 3rem;
    }

    .services__slider-item {
        text-align: center;
        padding: 0 16px;
        width: 100vw;
    }

    .services__slider h4 {
        font-size: 1.25rem;
        line-height: 2.5rem;
    }

    .services__slider p {
        font-size: 1rem;
        min-height: 3.6rem;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 24px;
    }

    .team {
        background-position: center;
        min-height: 49rem;
        position: relative;
    }

    .team:before, .advantages:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.5) 7%,
                rgba(0, 0, 0, 0) 57%,
                rgba(0, 0, 0, 0) 100%
        );
    }

    .team h2 {
        text-align: center;
        margin-bottom: 2rem;
        z-index: 1;
        position: relative;
    }

    .team p {
        text-align: center;
        font-size: 1rem;
        z-index: 1;
        position: relative;
        margin-left: auto;
        margin-right: auto;
    }

    .advantages {
        position: relative;
        padding: 5rem 0;
    }

    .advantages h3 {
        position: relative;
        font-size: 1.2rem;
        z-index: 1;
    }
    .advantages h4 {
        position: relative;
        font-size: 1.25rem;
        z-index: 1;
        margin-bottom: 0.5rem;
    }

    .advantages__wrapper {
        display: flex;
        flex-direction: column;
        margin-top: 0;
    }

    .advantages__item {
        position: relative;
        margin-top: 3rem;
        z-index: 1;
        max-width: 80vw;
    }

    .review__username {
        font-size: 1.2rem;
    }

    .review__content {
        font-size: 0.9rem;
    }

    .reviews__pagination {
        margin-top: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .swiper-pagination-bullet {
        width: 0.8rem!important;
        height: 0.8rem!important;
        background-color: #D9D9D9!important;
    }

    .swiper-pagination-bullet-active {
        background-color: #99985C!important;
    }

    .reviews {
        padding: 4rem 0 3rem;
    }

    .reviews__item {
        max-width: 100vw;
        width: 400px;
        min-height: 210px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .faq {
        padding: 3.5rem 0;
    }

    .faq h2 {
        margin: 0 auto 2.5rem;
        max-width: 80%;
    }

    .accordion__item {
        padding: 0.6rem 0 1rem;
    }

    .accordion__item h4 {
        font-size: 1.1rem;
        text-transform: none;
        padding-top: 0.5rem;
    }

    .accordion__item h4 .toggle {
        flex: 0 0 1.5rem;
    }

    .accordion__item.active h4 {
        padding-bottom: 1.5rem;
    }

    .accordion__item p {
        padding: 0;
    }

    .accordion__item .toggle img:nth-child(1) {
        width: 1rem;
        height: 1rem;
    }

    .accordion__item .toggle {
        width: 1.5rem;
        height: 1.5rem;
    }

    footer {
        padding: 5rem 1rem;
    }

    footer .social {
        justify-content: center;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    footer h2 {
        margin-bottom: 2rem;
    }

    footer .social span {
        display: none;
    }

    .social__link div {
        max-height: 2rem;
        max-width: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social__link:last-child {
        order: -1;
    }

    .mobile-none {
        display: none;
    }
    .desktop-none {
        display: block;
    }

    .cases__slider, .services__slider {
        gap: 0;
    }

    .cases__slider h4, .services__slider h4 {
        width: 100%;
        justify-content: center;
        font-size: 1.25rem;
        min-height: 3rem;
    }

    .cases__slider p {
        font-size: 1rem;
        min-height: 3.6rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }

    .cases__slider-item {
        max-width: 100vw;
        width: 100vw;
        padding: 0 2rem;
        text-align: center;
    }

    .mobile-burger {
        display: block;
        width: 2rem;
        padding: 0.25rem;
    }

    /*.cases__slider {*/
    /*    max-width: 100%;*/
    /*    display: block;*/
    /*}*/


    /*----------------*/
    .cf-modal__slider--wrapper {
        width: 98vw;
        max-width: 600px;
        height: 480px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .cf-modal__wrap {
        display: flex;
    }

    .cf-modal__slider {
        width: 80%;
        height: 320px;
    }

    .cf-modal__slider .swiper-button-next, .cf-modal__slider .swiper-button-prev {
        display: none;
    }

    .cf-modal__slider--wrapper .modal-slider-prev {
        left: 1%;
        top: 47%;
        padding: 10px;
    }

    .cf-modal__slider--wrapper .modal-slider-next {
        right: 2%;
        top: 47%;
        padding: 10px;
    }

    .cf-modal__slider--wrapper .modal-slider-pagination {
        position: absolute;
        bottom: 30px!important;
        top: auto!important;
    }

    .cf-modal__slider--wrapper .swiper-pagination-bullet{
        width: 14px;
        height: 14px;
    }

}


@media (max-width: 1024px) {
    body, html {
        font-size: 18px;
    }

    .container {
        width: 100%;
    }
}

@media (max-width: 767px) {
    body, html {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body, html {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    body, html {
        font-size: 12px;
    }
}

@media (min-width: 1920px) {
    body, html {
        font-size: 21px;
    }

    .container {
        max-width: 1750px;
    }

    .team {
        min-height: 850px;
    }

    .cf-modal__content {
        width: 700px;
    }

    .cf-modal__wrap, .cf-modal__slider--wrapper {
        width: min(1000px, 96vw);
    }

    .cf-modal__slider--wrapper {
        height: 600px;
    }

    .cf-modal__slider--wrapper .modal-slider-next, .cf-modal__slider--wrapper .modal-slider-prev {
        top: 275px;
    }

    .cf-modal__slider {
        width: 600px;
        height: 450px;
    }

    .cf-bullets li {
        font-size: 0.9rem;
    }

    .services:before, .services:after {
        width: 200px;
    }

    .wpcf7-response-output {
        bottom: 75px!important;
        font-size: 12px;
    }
}

@media (max-width: 1024px) and (orientation: landscape) {
    .top-menu {
        top: 0;
        left: 0;
        right: 0;
        padding: 10px 0;
    }
}



.wpcf7-spinner {
    display: none!important;
}

.wpcf7-response-output {
    position: absolute;
    bottom: 50px;
    left: -5px;
    right: -5px;
    font-size: 9px;
    border-color: transparent!important;
    color: red;
    padding: 0;
}

.wpcf7-form {
    position: relative;
}