/* ============================================
   СБРОС И БАЗОВЫЕ СТИЛИ
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000;
    margin: 0;
}

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

/* ============================================
   КОНТЕЙНЕРЫ И СЕТКА
   ============================================ */
.t-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.t-container_flex {
    display: flex;
    flex-wrap: wrap;
}

.t-col {
    flex: 1;
}

.t-col_12 {
    width: 100%;
}

.t-col_10 {
    width: 83.3333%;
}

.t-col_5 {
    width: 41.66667%;
}

.t-prefix_1 {
    margin-left: 8.3333%;
}

.t-margin_auto {
    margin-left: auto;
    margin-right: auto;
}

.t-valign_middle {
    align-items: center;
}

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

/* ============================================
   HEADER / НАВИГАЦИЯ
   ============================================ */
.header-wrapper {
    position: relative;
    top: 0;
    z-index: 1000;
    background-color: #292929;
}

/* ============================================
   МОБИЛЬНОЕ МЕНЮ (ВЕРХНЯЯ ПАНЕЛЬ С БУРГЕРОМ)
   ============================================ */
.tmenu-mobile {
    display: none;
    background-color: #292929;
    width: 100%;
    top: 0;
    z-index: 990;
}

.tmenu-mobile__container {
    min-height: 64px;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tmenu-mobile__burgerlogo {
    display: inline-block;
    font-size: 24px;
    font-weight: 400;
    white-space: nowrap;
    vertical-align: middle;
}

.tmenu-mobile__burgerlogo a {
    color: #fff;
}

.tmenu-mobile__imglogo {
    height: auto;
    display: block;
    max-width: 300px !important;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
}

/* ============================================
   БУРГЕР-КНОПКА
   ============================================ */
.t-menuburger {
    position: relative;
    flex-shrink: 0;
    width: 28px;
    height: 20px;
    padding: 0;
    border: none;
    background-color: transparent;
    outline: none;
    transform: rotate(0deg);
    transition: transform .5s ease-in-out;
    cursor: pointer;
    z-index: 999;
}

.t-menuburger span {
    display: block;
    position: absolute;
    width: 100%;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
    height: 3px;
    background-color: #fff;
}

.t-menuburger span:nth-child(1) {
    top: 0px;
}

.t-menuburger span:nth-child(2),
.t-menuburger span:nth-child(3) {
    top: 8px;
}

.t-menuburger span:nth-child(4) {
    top: 16px;
}

.t-menuburger-opened span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.t-menuburger-opened span:nth-child(2) {
    transform: rotate(45deg);
}

.t-menuburger-opened span:nth-child(3) {
    transform: rotate(-45deg);
}

.t-menuburger-opened span:nth-child(4) {
    top: 8px;
    width: 0%;
    left: 50%;
}

/* ============================================
   ДЕСКТОПНОЕ МЕНЮ
   ============================================ */
.t454 {
    background-color: #292929;
    position: relative;
}

.t454__maincontainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.t454__logowrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.t454__imglogo {
    display: block;
}

.t454__leftwrapper,
.t454__rightwrapper {
    flex: 1;
}

.t454__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.t454__list_item {
    display: inline-block;
}

.t-menu__link-item {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
    display: block;
    padding: 10px 0;
}

.t-menu__link-item:hover {
    opacity: 0.8;
}

.t-menu__link-item.t-active {
    opacity: 1;
}

.t454__horizontalline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    border: none;
}

/* ============================================
   СЕКЦИЯ "О КОМПАНИИ"
   ============================================ */
.section-about {
    position: relative;
}

.t995__wrapper {
    padding: 20px;
}

.t-cover {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
}

.t-cover__carrier {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.t-cover__filter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 80%;
}

.t-cover__wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t995__inner-wrapper {
    max-width: 800px;
    padding: 40px;
    color: #fff;
}

.t995__title {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.t995__descr {
    font-size: 1,5rem;
    margin-bottom: 20px;
    line-height: 1.4;
    margin-left: 60px;
    text-align: center;
    max-width: 90%;
}

/* ============================================
   КНОПКИ
   ============================================ */
.t-btn {
    display: inline-block;
    padding: 15px 20px;
    background-color: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    margin-left: 60px;
}

.t-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.t-btnflex__text {
    display: block;
}

/* ============================================
   СЕКЦИИ (ОБЩИЕ СТИЛИ)
   ============================================ */
.section-services,
.section-reviews {
    position: relative;
}

.t-section__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.t-section__descr {
    text-align: center;
    font-size: 1.3rem;
    max-width: 790px;
    margin: 0 auto 90px;
    color: #fff;
}

/* ============================================
   УСЛУГИ
   ============================================ */
.t847__container {
    list-style: none;
    padding: 0;
    margin: 0;
}

.t847__item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
}

.t847__col-valign_middle {
    display: flex;
    align-items: center;
}

.t847__img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.t847__box {
    padding: 0;
}

.t-card__title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: bold;
    margin-left: 15px;
    margin-right: 15px;
}

.t-card__descr {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    margin-left: 10px;
     margin-right: 10px;
}

/* ============================================
   ОТЗЫВЫ (СЛАЙДЕР)
   ============================================ */
.t605 {
    position: relative;
}

.t-slds {
    position: relative;
}

.t-slds__main {
    position: relative;
}

.t-slds__arrow_container {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
}

.t-slds__arrow_wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: all;
}

.t-slds__arrow_wrapper-left {
    left: 20px;
}

.t-slds__arrow_wrapper-right {
    right: 20px;
}

.t-slds__arrow {
    border: none;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.t-slds__arrow:hover {
    opacity: 0.8;
}

.t-slds__container {
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.t-slds__items-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    max-width: 100%;
}

.t-slds__item {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.t-width_7 {
    width: 100% !important;
    max-width: none;
    margin: 0 auto;
}

.t-slds__wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.t605__bgimg {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 20px;
}

.t605__text {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.t605__title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.t605__descr {
    color: #ccc;
    font-size: 0.9rem;
}

/* Буллеты слайдера */
.t-slds__bullet_wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.t-slds__bullet_body {
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.t-slds__bullet_active .t-slds__bullet_body {
    background-color: #FF0000 !important;
}

.t-slds__bullet:hover .t-slds__bullet_body {
    background-color: #FF0000 !important;
}

/* ============================================
   ПРЕИМУЩЕСТВА
   ============================================ */
#advantages {
    padding: 120px 20px;
    background: #fff;
    color: #000;
    text-align: center;
}

#advantages h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 30px 0;
}

#advantages .section-descr {
    max-width: 740px;
    margin: 0 auto 80px;
    font-size: 18px;
    color: #222;
    line-height: 1.5;
}

#advantages .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

#advantages .card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

#advantages .card .icon {
    flex-shrink: 0;
}

#advantages .card h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
}

#advantages .card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

/* ============================================
   ЛИЦЕНЗИИ
   ============================================ */
#licenses {
    background: #fff;
    color: #000;
    padding: 100px 20px;
    text-align: center;
}

#licenses h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.licenses-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.licenses-slider .slides {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.licenses-slider .slide {
    flex: 0 0 260px;
    height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.licenses-slider .slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ============================================
   БРОКЕРСКИЕ УСЛУГИ
   ============================================ */
#brokers {
    background: #fff;
    padding: 100px 20px;
}

#brokers .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

#brokers .text h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #000;
}

#brokers .text .line {
    width: 45px;
    height: 3px;
    background: #ff0000;
    margin-bottom: 20px;
}

#brokers .text p {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
}

#brokers .image img {
    width: 100%;
    height: 560px;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}

/* ============================================
   ЭТАПЫ ДОСТАВКИ
   ============================================ */
#steps {
    background: #e61919;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
}

#steps h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

#steps .subtitle {
    max-width: 760px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
    opacity: 0.9;
}

#steps .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

#steps .card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: left;
    color: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#steps .card .num {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 2px solid #000;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

#steps .card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

#steps .card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}

/* ============================================
   ВИДЕО
   ============================================ */
#video {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
}

#video .video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 0;
    padding-bottom: 56.25%;
}

#video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* ============================================
   КОНТАКТЫ
   ============================================ */
#contacts {
    background: #111;
    color: #fff;
    padding: 70px 20px;
    text-align: center;
}

#contacts .social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

#contacts .social a svg {
    width: 40px;
    height: 40px;
    transition: transform .2s, fill .2s;
}

#contacts .social a:hover svg {
    transform: translateY(-3px);
}

#contacts .invite {
    font-size: 18px;
    margin: 0 0 20px 0;
}

#contacts .info {
    font-size: 15px;
    line-height: 1.6;
    color: #ccc;
}

#contacts .info a {
    color: #fff;
    text-decoration: none;
}

#contacts .info a:hover {
    text-decoration: underline;
}

/* ============================================
   ФОРМА
   ============================================ */
#form {
    background: #fff;
    padding: 100px 20px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #000;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #000;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    background: #fff;
    color: #000;
    box-sizing: border-box;
}

.contact-form input::placeholder {
    color: #777;
}

.phone-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid #000;
    box-sizing: border-box;
    padding: 0 14px;
    height: 46px;
    background: #fff;
}

.phone-prefix {
    font-size: 15px;
    font-family: inherit;
    margin-right: 6px;
    color: #000;
}

#phone {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    height: 100%;
    padding: 0;
    background: #fff;
    color: #000;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .form-submit {
    text-align: center;
    margin-top: 30px;
}

.contact-form button {
    background: #000;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 50px;
    border: none;
    cursor: pointer;
    transition: background .2s;
    display: inline-block;
}

.contact-form button:hover {
    background: #333;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

/* Планшеты и мобильные (980px и меньше) */
@media screen and (max-width: 980px) {
    /* Показываем мобильную панель с бургером */
    .tmenu-mobile {
        display: block;
    }

    /* Скрываем логотип из десктопного меню */
    .t454__logowrapper {
        display: none;
    }

    /* Десктопное меню становится выпадающим */
    .t454.tmenu-mobile__menucontent_hidden {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
    }

    .t454.tmenu-mobile__menucontent_hidden.tmenu-mobile--open {
        max-height: 1000px;
    }

    .t454__maincontainer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto !important;
        padding: 20px 0;
    }

    .t454__leftwrapper,
    .t454__rightwrapper {
        width: 100%;
        text-align: center !important;
        padding: 0 !important;
    }

    .t454__list {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .t454__list_item {
        padding: 0 !important;
    }

    .t454__linewrapper {
        display: none;
    }

    /* Отзывы */
    .t605__bgimg {
        width: 130px;
        height: 130px;
        margin: 30px auto 20px;
    }

    .t605__text {
        font-size: 1.05rem;
        line-height: 1.5;
        padding: 0 15px;
    }

    .t605__title {
        font-size: 1.2rem;
        margin-top: 10px;
    }

    /* Преимущества */
    #advantages {
        padding: 80px 20px;
    }

    #advantages .cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Лицензии */
    .licenses-slider .slide {
        flex: 0 0 220px;
        height: 300px;
    }

    /* Брокеры */
    #brokers .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }

    #brokers .text {
        order: 1;
    }

    #brokers .image {
        order: 2;
    }

    /* Этапы */
    #steps .cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Мобильные (768px и меньше) */
@media screen and (max-width: 768px) {
    .t995__title {
        font-size: 1,5rem;
        margin-left: 60px;
        text-align: center;
    }

    .t995__descr {
        font-size: 1.2rem;
        max-width: 90%;
        text-align: center;
    }

    .section-services,
    .section-reviews {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .t847__item {
        flex-direction: column;
        text-align: center;
    }

    .t-col_5 {
        width: 100%;
    }

    .t-prefix_1 {
        margin-left: 0;
    }

    .t847__img {
        width: 100%;
        max-width: 350px;
        height: auto;
        margin: 0 auto;
    }

    .t-slds__wrapper {
        max-width: 90%;
        padding: 30px 15px;
    }

    .t605__bgimg {
        width: 110px;
        height: 110px;
        margin: 25px auto 15px;
    }

    .t605__text {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* Лицензии - горизонтальный скролл */
    .licenses-slider {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .licenses-slider .slides {
        flex-wrap: nowrap;
        width: max-content;
        transition: none;
    }

    .licenses-slider .slide {
        flex: 0 0 200px;
        height: 280px;
    }
}

/* Маленькие мобильные (640px и меньше) */
@media screen and (max-width: 640px) {
    .t995__wrapper {
        padding: 20px;
    }

    .t995__inner-wrapper {
        padding: 20px;
    }

    .t-section__title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .t-section__descr {
        font-size: 1.1rem;
        margin-bottom: 45px;
    }

    .t605__bgimg {
        width: 95px;
        height: 95px;
        margin: 20px auto 15px;
    }

    .t605__text {
        font-size: 0.95rem;
        line-height: 1.4;
        padding: 0 10px;
    }

    .t605__title {
        font-size: 1.1rem;
    }

    .t605__descr {
        font-size: 0.85rem;
    }
}

.tmenu-mobile__list {
  display: none;                   /* 🚫 скрыто по умолчанию */
  flex-direction: column;
  align-items: center;
  background: #292929;
  padding: 20px 0;
  list-style: none;
  gap: 20px;
}

.tmenu-mobile__list li a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* 📌 когда бургер открыт */
.tmenu-mobile__list.tmenu-mobile--open {
  display: flex;
}

#phone {
  width: 100%;
  padding: 12px;
  border: 1px solid #000;
  font-size: 16px;
  box-sizing: border-box;
}

