/* =============================================
   HERO
   ============================================= */
   .hero {
    padding: 0 40px;
    overflow: hidden;
}

.hero__inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    min-height: 691px;
    position: relative;
    max-width: 1640px;
    margin: 0 auto;
    width: 100%;
}

/* Левый блок */
.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    width: 100%;
    max-width: 568px;
    padding: 69px 0;
    z-index: 2;
}

.hero__title {
    font-family: var(--h1-font-family);
    font-size: var(--h1-font-size);
    font-weight: var(--h1-font-weight);
    line-height: var(--h1-line-height);
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}

.hero__title-main { color: var(--main); }
.hero__title-accent { color: var(--accent); }

.hero__desc {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 140%;
    color: var(--text);
    max-width: 568px;
}

.hero__btns {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__btn {
    font-family: var(--button-font-family);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    line-height: var(--button-line-height);
    border-radius: 10px;
    padding: 16px 30px 18px;
    display: inline-flex;
    align-items: center;
    transition: background .2s, color .2s, transform .15s;
}
.hero__btn:hover { transform: translateY(-2px); opacity: 1; }

.hero__btn--fill { background: var(--accent); color: var(--white); }
.hero__btn--fill:hover { background: #c00b16; }

.hero__btn--outline {
    background: transparent;
    color: var(--main);
    border: 1px solid var(--main);
}
.hero__btn--outline:hover { background: var(--main); color: var(--white); }

/* Правый блок фото */
.hero__photo {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    min-height: 691px;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Средний блок: форма */
.hero__form-wrap {
   width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 40px 100px;
    z-index: 2;
}

.hero__forma {
    background: var(--fon);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    box-shadow: var(--ten-box-shadow);
    width: 412px;
}

.hero__forma-text { display: flex; flex-direction: column; gap: 12px; text-align: center; }

.hero__forma-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--main);
}

.hero__forma-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    color: var(--text);
}

.hero__fields { display: flex; flex-direction: column; gap: 16px; }

.hero__field { position: relative; }

.hero__input {
    width: 100%;
    height: 60px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--main);
    background: var(--white);
    outline: none;
    transition: border-color .2s;
}
.hero__input::placeholder { color: #c9c9c9; }
.hero__input:focus { border-color: var(--accent); }





.hero__agree {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.hero__checkbox {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    border: 1px solid var(--text);
    border-radius: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.hero__agree-text {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    color: var(--text);
}

.hero__submit {
    width: 100%;
    height: 52px;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    font-family: var(--button-font-family);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    color: var(--white);
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.hero__submit:hover { background: #c00b16; transform: translateY(-1px); }

/* ── Адаптив Hero ── */
@media (max-width: 1600px) {
    .hero__form-wrap { padding: 40px 0 40px 0px; }

}

@media (max-width: 1440px) {
    .hero__content { max-width: 420px; }
   
    .hero__desc { font-size: 18px; }
    .hero__form-wrap { padding: 40px 0 40px 60px; }
    .hero__forma {  max-width: 360px; }
}

@media (max-width: 1200px) {
    .hero__inner {
        flex-wrap: wrap;
        min-height: auto;
    }
    .hero__content {
        flex: 0 0 50%;
        padding: 48px 0 ;
        order: 1;
        max-width: 100%;
    }

    .hero__photo {
        flex: 0 0 50%;
        min-height: 400px;
        order: 2;
    }

    .hero__form-wrap {
        flex: 0 0 100%;
        padding: 0 0 32px 0;
        order: 3; 
        align-items: center;
        width: 100%;
    }
    .hero__fields {
        display: flex;
        flex-direction: column;
        gap: 16px;
        max-width: 600px;
    }

    .hero__forma {
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero__content { flex: 0 0 100%;}

    .hero__photo {
        flex: 0 0 100%;
        min-height: 400px;
        order: 2;
        align-items: center;
        display: flex;
        justify-content: center;
    }
    .hero__img { width: 50%;}


}


@media (max-width: 640px) {
    .hero { padding: 0 16px; }
   
    .hero__desc { font-size: 16px; }
    .hero__btns { flex-direction: column; }
    .hero__btn { text-align: center; justify-content: center; }
    .hero__photo { min-height: 280px; }
}

@media (max-width: 480px) {
    .hero__img { width: 75%;}
    .hero__content { padding: 80px 0 48px;}
}

/* =============================================
   СЕКЦИЯ: ПРЕИМУЩЕСТВА
   ============================================= */
.preim {
    background: var(--acctnt2);
    padding: 48px 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.preim__stats {
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
}

.preim__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    width: 220px;
    text-align: center;
}

.preim__divider {
    width: 1px;
    height: 66px;
    background: var(--border2);
    flex-shrink: 0;
    margin: 0 28px;
}

.preim__num {
    font-family: var(--h3-font-family);
    font-size: var(--h3-font-size);
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-line-height);
    color: var(--white);
    text-align: center;
    width: 100%;
}

.preim__num--accent { color: var(--accent); }

.preim__label {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    color: #9ca3af;
    text-align: center;
}

/* Адаптив */
@media (max-width: 1200px) {
    .preim { padding: 48px 40px; }
    .preim__stats { gap: 0; justify-content: center; }
    .preim__item { width: 160px; }
    .preim__num { font-size: 32px; }
    .preim__label { font-size: 15px; }
    .preim__divider { margin: 0 16px; }
}

@media (max-width: 768px) {
    .preim { padding: 40px 20px; }
    .preim__stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        width: 100%;
    }
    .preim__divider { display: none; }
    .preim__item { width: 100%; }
}

@media (max-width: 480px) {
    .preim { padding: 40px 16px; }
}

/* =============================================
   СЕКЦИЯ: СПИСАНИЕ
   ============================================= */
.spis {
    padding: 150px 40px 120px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.spis__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.spis__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
    color: var(--main);
    text-align: center;
    max-width: 1085px;
}

.spis__line {
    width: 64px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.spis__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1478px;
}

.spis__card {
    background: var(--white);
    border: 1px solid var(--acctnt2);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    transition: box-shadow .2s, transform .2s;
}

.spis__card:hover {
    box-shadow: var(--ten-box-shadow);
    transform: translateY(-2px);
}

.spis__icon { flex-shrink: 0; }

.spis__card-text {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 130%;
    color: var(--main);
}

/* Адаптив */
@media (max-width: 1200px) {
    .spis { padding: 120px 40px; }
    .spis__card-text { font-size: 18px; }
}

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

@media (max-width: 580px) {
    .spis { padding: 60px 16px; }
    
    .spis__grid { grid-template-columns: 1fr; }
    .spis__card-text { font-size: 16px; }
}

/* =============================================
   СЕКЦИЯ: УСЛУГИ
   ============================================= */
.srv {
    padding: 150px 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    justify-items: center;
}

.srv__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.srv__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
    color: var(--main);
    text-align: center;
}

.srv__line {
    width: 64px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.srv__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1640px;
    
}

/* Карточка */
.srv-page__card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 38px 66px 35px 37px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: var(--ten-box-shadow);
    transition: box-shadow .25s, transform .2s;
    color: inherit;
    text-decoration: none;
}

.srv-page__card:hover {
    box-shadow: 0 12px 32px rgba(31,41,55,0.15);
    transform: translateY(-4px);
    opacity: 1;
}

.srv__icon {
    background: var(--fon);
    border-radius: 8px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.srv__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.srv__name {
    font-family: var(--h3-font-family);
    font-size: 32px;
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-line-height);
    color: var(--main);
}

.srv__desc {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    color: var(--text);
}

.srv__price {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 130%;
    color: var(--main);
}

.srv__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: auto;
}

.srv__link span {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--accent);
}

/* Баннер — span 2 колонки */
.srv__banner {
    grid-column: span 2;
    background: var(--acctnt2);
    border-radius: 20px;
    border: 1px solid var(--acctnt2);
    padding: 48px;
    display: flex;
    flex-direction: row;
    gap: 58px;
    align-items: center;
    min-height: 320px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

.srv__banner-content {
    display: flex;
    flex-direction: column;
    gap: 39px;
    align-items: flex-start;
    width: 50%;
    justify-content: center;
}

.srv__banner-text {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.srv__banner-title {
    font-family: var(--h3-font-family);
    font-size: var(--h3-font-size);
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-line-height);
    color: var(--white);
}

.srv__banner-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    color: var(--border);
    max-width: 400px;
}

.srv__banner-desc strong {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
}

.srv__banner-btn {
    background: var(--accent);
    border: none;
    border-radius: 10px;
    padding: 16px 0;
    width: 100%;
    font-family: var(--button-font-family);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    color: var(--white);
    cursor: pointer;
    text-align: center;
    transition: background .2s, transform .15s;
}

.srv__banner-btn:hover { background: #c00b16; transform: translateY(-1px); }

.srv__banner-img {
    flex: 1;
    height: 100%;
    max-height: 386px;
    object-fit: cover;
    border-radius: 20px;
    align-self: stretch;
    width: 50%;
}

/* Подпись */
.srv__note {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--text);
    text-align: center;
    max-width: 800px;
}

/* Адаптив */




@media (max-width: 1200px) {
    .srv { padding: 60px 40px; }
    .srv__grid { grid-template-columns: repeat(2, 1fr); }
    .srv__banner { grid-column: span 2; }
    .srv__name { font-size: 26px; }
}

@media (max-width: 768px) {
    .srv { padding: 48px 20px; }
    .srv__grid { grid-template-columns: 1fr; }
    .srv__banner {
        grid-column: span 1;
        flex-direction: column;
        gap: 32px;
        padding: 32px 24px;
    }
    .srv__banner-content { flex: none; width: 100%; }
    .srv__banner-btn { width: 100%; }
    .srv__banner-img { width: 100%; height: 200px; align-self: auto; }
    .srv__name { font-size: 22px; }
}


@media (max-width: 480px) {
    .srv-page__card { padding: 24px; gap: 16px; }
    .srv__desc { font-size: 16px; }
    .srv__link span {   font-size: 16px; }
    .srv__link svg { width: 24px; height: 24px; }
    .srv__link {  margin-top: -16px; }
    .srv__banner-desc span { display: flex; height: 0px;}
}


.srv__banner-desc span { display: none; }

/* =============================================
   СЕКЦИЯ: ПОЧЕМУ МЫ
   ============================================= */
.why {
    background: var(--fon);
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.why__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
}

.why__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
    color: var(--main);
    text-align: center;
}

.why__line {
    width: 64px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.why__inner {
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: flex-start;
    width: 100%;
    max-width: 1640px;
}

.why__img {
    width: 45%;
    max-width: 720px;
    border-radius: 30px;
    object-fit: cover;
    align-self: stretch;
}

.why__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why__item {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
}

.why__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.why__item-title {
    font-family: var(--h3-font-family);
    font-size: 32px;
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-line-height);
    color: var(--main);
}

.why__item-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    color: var(--text);
    max-width: 675px;
}

/* Адаптив */
@media (max-width: 1400px) {
    
    .why__item-title { font-size: 26px; }
}

@media (max-width: 1100px) {
    .why { padding: 60px 40px; }
    .why__inner { flex-direction: column; }
    .why__img { width: 45%; }
}

@media (max-width: 640px) {
    .why { padding: 60px 16px; }
    .why__icon {
        width: 30px;
        height: 30px;
    }
    .why__item-title { font-size: 22px; }
    .why__item-desc { font-size: 16px; }
}



/* =============================================
   СЕКЦИЯ: КОМАНДА
   ============================================= */
.team {
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.team__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.team__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
    color: var(--main);
}

.team__line {
    width: 64px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.team__desc {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 140%;
    color: var(--text);
}

/* Сетка — только десктоп */
.team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1478px;
}

.team__swiper { display: none; }

/* Карточка */
.team__card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 45px 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    box-shadow: var(--ten-box-shadow);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}

.team__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(31,41,55,0.15);
}

.team__foto {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    align-self: stretch;
    position: relative;
}

.team__badge {
    background: var(--icon);
    border-radius: 10px;
    padding: 3px 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    align-self: flex-end;
    margin-bottom: 4px;
    position: absolute;
    
    margin-top: -30px;
}

.team__img {
    width: 208px;
    height: 208px;
    border-radius: 50%;
    border: 1px solid var(--border);
    object-fit: cover;
    box-shadow: -4px -3px 4px 0px rgba(227, 6, 19, 1);
}

.team__img--placeholder {
    background: var(--fon);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.team__name-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.team__name {
    font-family: var(--h3-font-family);
    font-size: 40px;
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-line-height);
    color: var(--main);
    text-align: center;
}

a.team__name:hover { color: var(--accent); opacity: 1; }

.team__position {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 130%;
    color: var(--accent);
    text-align: center;
}

.team__bio {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
    color: var(--text);
    text-align: center;
}

/* Форма */
.team__forma {
    background: var(--acctnt2);
    border-radius: 20px;
    padding: 87px 29px;
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 4px 4px 7.8px 0px rgba(0,0,0,0.25);
}

.team__forma-texts {
    display: flex;
    flex-direction: column;
    gap: 23px;
    align-items: center;
    max-width: 370px;
    text-align: center;
}

.team__forma-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--white);
}

.team__forma-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    color: var(--border);
}

.team__forma-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 400px;
}

.team__forma-field { position: relative; }

.team__input {
    width: 100%;
    height: 60px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--white);
    background: transparent;
    outline: none;
    transition: border-color .2s;
}

.team__input::placeholder { color: #c9c9c9; }
.team__input:focus { border-color: var(--accent); }



.team__flag {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    font-size: 16px;
}

.team__agree {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.team__agree input { flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); }

.team__agree span {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    color: var(--border2);
}
.team__agree a { text-decoration: underline; }
.team__submit {
    width: 100%;
    height: 52px;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    font-family: var(--button-font-family);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    color: var(--white);
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.team__submit:hover { background: #c00b16; transform: translateY(-1px); }

@media (min-width: 1200px) {
    .team__forma { display: none; }
}
/* ── Адаптив ── */

@media (max-width: 1366px) {
    
    .team__name { font-size: 36px; }
    .team__position { font-size: 22px; }
    .team__bio { font-size: 18px; }
}



@media (max-width: 1200px) {
    .team { padding: 60px 40px; }
    .team__grid { display: none; }
    .team__swiper {
        display: block;
        width: 100%;
        padding-bottom: 48px !important;
        height: 544px;
    }
    .team__pagination {
        display: flex !important;
        justify-content: center;
        gap: 6px;
    }
    .team__pagination .swiper-pagination-bullet {
        width: 10px; height: 10px;
        background: var(--border); opacity: 1; border-radius: 50%;
    }
    .team__pagination .swiper-pagination-bullet-active { background: var(--accent); }
    .team__forma {
    
        padding: 48px 24px;
        gap: 32px;
    }
    .team__forma-fields { min-width: unset; width: 100%; }
}


@media (max-width: 1024px) {
    .team__img {
        width: 180px;
        height: 180px;
    }
    .team__bio { font-size: 16px; }
    
}

@media (max-width: 768px) {
    .team__swiper {

        height: 580px;
    }
    .team__forma {
       flex-direction: column;
    }
}

@media (max-width: 480px) {
    .team__swiper {
        height: 510px;
    }
}


@media (max-width: 480px) {
    .team { padding: 60px 16px; }
    .team__position { font-size: 18px; }
    .team__name { font-size: 26px; }

}

/* =============================================
   СЕКЦИЯ: ДОВЕРИЕ
   ============================================= */
.trust {
    background: var(--fon);
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.trust__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.trust__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
    color: var(--main);
}

.trust__line {
    width: 64px; height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.trust__desc {
    font-family: 'Manrope', sans-serif;
    font-size: 22px; font-weight: 500;
    line-height: 140%; color: var(--text);
}

.trust__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 2fr;
    gap: 24px;
    width: 100%;
    align-items: start;
    max-width: 1640px;
}

/* Карточка */
.trust__card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 37px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 8px 8px 17.3px 0px rgba(31,41,55,0.1);
    height: 100%;
}

.trust__card-head {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.trust__card-head--between {
    justify-content: space-between;
}

.trust__card-head-left {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.trust__card-title {
    font-family: var(--h3-font-family);
    font-size: 32px;
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-line-height);
    color: var(--main);
}

.trust__card-link {
    background: var(--fon);
    border-radius: 20px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.trust__card-link:hover { background: var(--border); opacity: 1; }

/* Кнопки отзывов */
.trust__reviews {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust__review-btn {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    transition: border-color .2s, box-shadow .2s;
    color: var(--main);
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 600;
}
.trust__review-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(226,13,26,0.1);
    opacity: 1;
}

.trust__review-icon { flex-shrink: 0; width: 40px; height: 40px; }

/* Офис фото */
.trust__photos {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex: 1;
}

.trust__photo { flex: 1; border-radius: 16px; overflow: hidden; min-height: 180px; }
.trust__photo:first-child { flex: 0 0 55%; }

.trust__photo-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

.trust__photo--stub { background: #d9d9d9; }

/* Видео */
.trust__videos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.trust__video-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.trust__video-thumb {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.trust__video-thumb--stub {
    background: #d9d9d9;
    aspect-ratio: 9/16;
    border-radius: 12px;
}

.trust__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform .2s;
}

.trust__video-item:hover .trust__play { transform: translate(-50%, -50%) scale(1.15); }

/* Адаптив */




@media (max-width: 1200px) {
    .trust { padding: 60px 40px; }
    .trust__grid { grid-template-columns: 1fr 1fr; }
    .trust__card:last-child { grid-column: span 2; }
    .trust__videos { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .trust { padding: 48px 20px; }
    .trust__grid { grid-template-columns: 1fr; }
    .trust__card:last-child { grid-column: span 1; }
   
    .trust__card-title { font-size: 24px; }
    .trust__videos { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   СЕКЦИЯ: FAQ
   ============================================= */
.faq {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.faq__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.faq__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
    color: var(--main);
    text-align: center;
}

.faq__line {
    width: 64px; height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 1640px;
}

.faq__item {
    background: var(--fon);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    overflow: hidden;
}

.faq__question {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 28px 24px;
    cursor: pointer;
    gap: 24px;
    user-select: none;
}

.faq__question span {
    font-family: 'Manrope', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 130%;
    color: var(--main);
    flex: 1;
}

.faq__icon {
    flex-shrink: 0;
    transition: transform .3s ease;
}

.faq__item--open .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .55s ease;
}

.faq__item--open .faq__answer {
    max-height: 400px;
}

.faq__answer-inner {
    padding: 0 24px 28px;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
    color: var(--main);
}

/* Адаптив */
@media (max-width: 1200px) {
    .faq { padding: 60px 40px; }
}

@media (max-width: 640px) {
    .faq { padding: 60px 16px; }
    
    .faq__question span { font-size: 18px; }
    .faq__answer-inner { font-size: 16px; }
}

/* =============================================
   СЕКЦИЯ: БЛОГ
   ============================================= */
.blg {
    background: var(--fon);
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.blg__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.blg__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.blg__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
    color: var(--main);
}

.blg__line {
    width: 64px; height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.blg__desc {
    font-family: 'Manrope', sans-serif;
    font-size: 22px; font-weight: 500;
    line-height: 140%; color: var(--text);
}

/* Сетка — десктоп */
.blg__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1640px;
}

.blg__swiper { display: none; }

/* Карточка */
.blg__card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.blg__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(31,41,55,0.12);
    opacity: 1;
}

.blg__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
}

.blg__img--stub {
    background: #d9d9d9;
}

.blg__text {
    padding: 24px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blg__meta {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.blg__cat {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--accent);
}

.blg__date {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--text);
}

.blg__name {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 130%;
    color: var(--main);
}

.blg__excerpt {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    color: var(--text);
}

/* Кнопка */
.blg__more {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
    transition: gap .2s;
}
.blg__more:hover { gap: 14px; opacity: 1; }

/* Адаптив */
@media (max-width: 1024px) {
    .blg { padding: 60px 40px; }
    .blg__grid { display: none; }
    .blg__swiper {
        display: block;
        width: 100%;
        padding-bottom: 48px !important;
    }
    .blg__pagination {
        display: flex !important;
        justify-content: center;
        gap: 6px;
    }
    .blg__pagination .swiper-pagination-bullet {
        width: 10px; height: 10px;
        background: var(--border); opacity: 1; border-radius: 50%;
    }
    .blg__pagination .swiper-pagination-bullet-active {
        background: var(--accent);
    }

    .swiper-backface-hidden .swiper-slide {
        height: 430px;
    }
}
@media (max-width: 640px) {
    .blg { padding: 60px 16px; }
    .swiper-backface-hidden .swiper-slide {
        height: 480px;
    }
    
}


