@import url('https://fonts.googleapis.com/css2?family=Tilda+Sans&display=swap');

body {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    background: linear-gradient(90deg, rgba(34, 37, 44, 0.636), rgba(34, 37, 44, 0.63), rgba(34, 37, 44, 0.7)),
    100% 0% / 100% 20% no-repeat url(../images/backgroun/main\ screen.webp),
    no-repeat linear-gradient(268.37deg, #22252C 21.06%, rgba(34, 37, 44, 0.7) 55.11%),
        linear-gradient(182.48deg, rgba(34, 37, 44, 0) 54.94%, #22252C 96.03%);
}

.navbar-toggler-icon {
  /* инвертируем чёрную иконку в белую */
  filter: invert(1);
}

.navLogoMobail {
    display: none;
}

.red {
    border: 1px solid red;
}

.containerHeader {
    width: 90%;
    margin: 0 auto;
}

.block-link {
    width: 30%;
    display: flex;
    justify-content: space-between;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbarlogo {
    height: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 1) !important;
}

/* ======================hero-block=============================== */

.hero-block {
    padding: 80px 0px;
    width: 90%;
    margin: 0 auto;
    text-align: left;
    color: white;
}

.hero-block h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-block p {
    font-size: 20px;
    font-weight: 400;
    color: white;
    margin: 0;
}

.brand-name {
    color: #7c88aa;
    /* как на скрине — серо-синеватый */
    font-weight: 500;
    letter-spacing: 0.5px;
}


/* ======================consult-form============================ */

.consult-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto 50px;
}

.consult-form input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 5px;
    color: white;
    font-size: 16px;
    width: 25%;
}

.consult-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.consult-form button {
    background: white;
    color: black;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.consult-form button:hover {
    background: #f0f0f0;
}

/* ========================intl================ */

/* Общий контейнер */
.iti {
    position: relative;
    color: white;
}

/* Стили флага (слева) */
.iti__selected-flag {
    background-color: transparent !important;
    border-radius: 1rem 0 0 1rem;
    padding: 0 12px;
}

/* Сам input */
.iti input,
.iti__tel-input {
    background: transparent;
    width: 100%;
    color: white;
    font-size: 1rem;
}

/* Цвет текста placeholder */
.iti input::placeholder {
    color: white;
    opacity: 0.6;
}

/* Стили выпадающего списка */
.iti__country-list {
    background-color: #1a2b3c;
    color: white;
    z-index: 9999;
    border-radius: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

/* Стрелочка вниз */
.iti__arrow {
    border-top-color: white;
}

/* =================tags-block===================== */

.tags-block {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    padding: 20px 0;
    width: 90%;
    margin: 0 auto;
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    font-weight: 400;
}

.tag-item img {
    width: 20px;
    height: 20px;
    opacity: 0.4;
}


/* =========================section-Advantages========================= */
.containerAdvantages {
    width: 90%;
    margin: 0 auto;
}

.titleAdvantages {
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 1);
    padding: 20px 0px;
    text-align: center;
}

.titleAdvantages h1 {
    font-family: Tilda Sans;
    font-weight: 500;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(374px, 300px));
    gap: 24px;
    padding: 40px 20px;
    justify-content: space-between;
}

.adv-card {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 360px;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.adv-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 20, 0.6);
    z-index: 0;
}

.adv-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #8ea1d7;
    /* светло-синий */
    margin-bottom: 15px;
    z-index: 1;
    position: relative;
}

.adv-card p {
    font-size: 15px;
    font-weight: 400;
    z-index: 1;
    position: relative;
}


/* ==============world-block====================== */

.world-block {
    background: no-repeat url('../images/backgroun/card7.jpg');
    background-size: cover;
    background-position: center;
    padding: 250px 20px;
    text-align: center;
    position: relative;
    color: white;
}

.world-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    /* затемнение */
    z-index: 0;
}

.world-content {
    position: relative;
    z-index: 1;
    width: 80%;
    margin: 0 auto;
}

.world-content h2 {
    font-size: 50px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 50px;
    color: white;
}

.world-content h2 span {
    color: #8da0d7;
    /* синий как в скрине */
    font-weight: 700;
}

.world-content p {
    font-size: 24px;
    line-height: 1.7;
    color: #fff;
}

/* ===================ContainerServices====================== */

.containerServices {
    width: 90%;
    margin: 0 auto;
}

.titleServices {
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 1);
    padding: 20px 0px;
    text-align: center;
}

.titleServices h1 {
    font-family: Tilda Sans;
    font-weight: 500;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
}

.help-section {
    padding: 60px 20px;
    background: transparent;
    font-family: 'Tilda Sans', sans-serif;
    color: white;
}

.help-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* ========== Карусель ========== */
.carousel-wrapper {
    width: min(100%, 1000px);
    flex: 0 0 auto;
    /* не растягиваемся во flex-контейнере */
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    direction: ltr;
}

.carousel-track .case-card {
    direction: ltr;
    /* чтобы текст внутри не переворачивался */
}

/* Одна карточка */
.case-card {
    flex: 0 0 320px;
    width: 320px;
    /* Жёсткая ширина */
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    overflow: hidden;
    color: white;
    /* убрали max-width */
}

.case-card img {
    display: block;
    width: 100%;
    height: auto;
}

.case-body {
    padding: 16px;
}

.case-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.case-body hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 0 12px;
}

.case-body p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* Новый контейнер */
.carousel-controls {
    display: flex;
    justify-content: end;
    gap: 20px;
    /* отступ сверху, чтобы стрелки были под карточкой */
    width: 70%;
}

/* Стрелки теперь статичны */
.carousel-btn {
    position: static;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.3s;
}

/* ========== Правая колонка ========== */
.help-text {
    flex: 0 0 300px;
}

.help-text h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

/* ====================stats-section========================= */

/* === Общие стили === */
.stats-section {
    padding: 80px 20px;
    font-family: 'Tilda Sans', sans-serif;
    color: rgba(34, 37, 44, 1);
    background: 0% 100% / 40% 100% no-repeat url(../images/backgroun/Frame\ \(1\).png),
        rgba(255, 255, 255, 1);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

/* Заголовок */
.stats-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 60px;
}

/* Контейнер из двух колонок */
.stats-container {
    display: flex;

    gap: 40px;
}

.stats-image {
    display: flex;
}

/* Правая часть: 2×2 сетка */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 163px);
    gap: 40px 60px;
    /* по строкам и столбцам */
    flex: 1;
    justify-content: center;
}

/* Одна ячейка статистики */
.stat-item {
    text-align: center;
}

/* Число */
.stat-value {
    font-size: 48px;
    font-weight: 700;
    color: #8ea1d7;
    /* светло-синий */
    margin-bottom: 12px;
}

/* Описание */
.stat-text {
    font-size: 16px;
    line-height: 1.6;
}

/* ======================contanerPartners========================= */

.containerPartners {
    width: 90%;
    margin: 0 auto;
}

.titlePartners {
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 1);
    padding: 20px 0px;
    text-align: center;
}

.titlePartners h1 {
    font-family: Tilda Sans;
    font-weight: 500;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
}

.partners-section {
    padding: 60px 20px;
    background: transparent;
    font-family: 'Tilda Sans', sans-serif;
    color: white;
}

.partners-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* ========== Карусель ========== */
.carousel-wrapper-partners {
    width: min(100%, 1000px);
    flex: 0 0 auto;
    /* не растягиваемся во flex-контейнере */
    overflow: hidden;
}

.carousel-track-partners {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.carousel-track-partners .case-card-partners {
    direction: ltr;
    /* чтобы текст внутри не переворачивался */
}

/* Одна карточка */
.case-card-partners {
    flex: 0 0 320px;
    width: 320px;
    /* Жёсткая ширина */
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    overflow: hidden;
    color: white;
    /* убрали max-width */
}

.case-card-partners img {
    display: block;
    width: 100%;
    height: auto;
}

.case-body-partners {
    padding: 16px;
}

.case-body-partners h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.case-body-partners hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 0 12px;
}

.case-body-partners p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* Новый контейнер */
.carousel-controls-partners {
    display: flex;
    justify-content: end;
    gap: 20px;
    /* отступ сверху, чтобы стрелки были под карточкой */
    width: 70%;
}

/* Стрелки теперь статичны */
.carousel-btn-partners {
    position: static;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.3s;
}

/* ========== Правая колонка ========== */
.help-text-partners {
    flex: 0 0 300px;
}

.help-text-partners h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

.containerButtonCaruse-partnersl {
    display: flex;
    justify-content: end;
}

.carousel-controls-partners {
    display: flex;
    justify-content: start;
    width: 75%;
}

/* ==========================containerReviews========================= */

.containerReviews {
    width: 90%;
    margin: 0 auto;
}

.titleReviews {
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 1);
    padding: 20px 0px;
    text-align: center;
}

.titleReviews h1 {
    font-family: Tilda Sans;
    font-weight: 500;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
}

.testimonials-section-reviews {
    padding: 60px 20px;
    background: transparent;
    font-family: 'Tilda Sans', sans-serif;
    color: white;
}

.testimonials-container-reviews {
    width: 100%;
    margin: 0 auto;
}

/* ========== Карусель ========== */
.carousel-wrapper-reviews {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track-reviews {
    display: flex;
    transition: transform 0.4s ease;
}

/* Одна отзывная карточка на всю ширину контейнера */
.testimonial-card-reviews {
    flex: 0 0 100%;
    display: flex;
    gap: 20px;
    background: none;
    border-radius: 8px;
    padding: 20px;
    align-items: center;
}

/* Аватар/фото */
.testimonial-img-reviews {
    width: 506px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Контент */
.testimonial-content-reviews h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px;
}

.testimonial-content-reviews p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Стрелки */
.carousel-controls-reviews {
    display: flex;
    justify-content: end;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.carousel-btn-reviews {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-btn-reviews:disabled {
    opacity: 0.4;
    cursor: default;
}

.carousel-btn-reviews:hover:not(:disabled) {
    background: none;
}

/* =======================help-section============================ */

@import url('https://fonts.googleapis.com/css2?family=Tilda+Sans&display=swap');

.help-section {
    padding: 60px 20px;
    font-family: 'Tilda Sans', sans-serif;
    color: white;
    width: 90%;
    margin: 0 auto;
}

.help-content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-around;
}

/* Левая колонка */
.help-text {
    flex: 0.3;

}

.help-text h2 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
}

.help-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Правая колонка */
.help-form {
    flex: 0.3;
}

.help-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Общие стили для label + input */
.help-form label {
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

.help-form .required {
    color: #e84141;
    margin-left: 2px;
}

/* Простые инпуты */
.help-form input[type="text"],
.help-form input[type="email"] {
    margin-top: 8px;
    padding: 10px 12px;
    font-size: 16px;
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Группа для телефона */
.phone-group .phone-input {
    position: relative;
    margin-top: 8px;
}

.phone-group .flag-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: auto;
}

.phone-group input[type="tel"] {
    width: 100%;
    padding: 10px 12px 10px 44px;
    font-size: 16px;
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Кнопка */
.btn-submit {
    margin-top: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #22252C;
    background: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #f0f0f0;
}

/* ==================site-footer========================= */

@import url('https://fonts.googleapis.com/css2?family=Tilda+Sans&display=swap');

.site-footer {
    font-family: 'Tilda Sans', sans-serif;
    color: white;
    padding: 40px 20px 20px;
}

/* ==== Верхняя часть ==== */
.footer-top {
    max-width: 1440px;
    margin: 100px auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Навигация слева/справа */
.footer-nav {
    display: flex;
    gap: 40px;
    width: 30%;
    justify-content: space-between;
}

.footer-nav a {
    font-family: Tilda Sans;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    text-decoration: none;
    color: rgba(255, 255, 255, 1);
}

/* Логотип по центру */
.footer-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.footer-logo img {
    height: 32px;
    margin-right: 10px;
}

.footer-logo span {
    font-weight: 700;
    font-size: 24px;
}

/* ==== Нижняя часть ==== */
.footer-bottom {
    max-width: 1440px;
    margin: 30px auto 0;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    font-size: 16px;
}

.footer-bottom a {
    text-decoration: none;
    color: white;
    opacity: 0.8;
}

.footer-bottom span {
    color: white;
    opacity: 0.8;
}

.footer-logo-mobail {
    display: none;
}