/* === Переменные === */
:root {
    --light-blue: #0BBBEF;
    --blue: #1F72B8;
    --dark-blue: #002B72;
    --green: #64AF33;
    --max-width: 1200px;
    --font-family: 'Inter', sans-serif;
}

/* === Базовая стилизация === */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #1F72B8; /* цвет из твоей палитры */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none; /* по умолчанию скрыта */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.to-top:hover {
    background-color: #0BBBEF; /* светлее при наведении */
}

/* Показываем только на десктопе */
@media (min-width: 1024px) {
    .to-top.show {
        display: flex;
    }
}

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

/* === Header === */
.header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0px 9px 10px 0px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__left {
    display: flex;
    align-items: center;
}

.header__logo {
    margin-right: 20px;
}

/* === Nav === */
.header__menu {
    display: flex;
    justify-content: space-between;
    width: 80%;
}

.header__nav {
    display: flex;
}

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

.nav__item {
    transition: transform 0.3s ease-in-out;
}

.nav__item:hover {
    transform: scale(1.05);
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #043252;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 40px;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
}

.nav__icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* === Button === */
.header__button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease-in-out;
    animation: cta-shake 1.2s ease-in-out infinite;
}

@keyframes cta-shake {
    0%, 100% {
        transform: scale(1) translateX(0);
    }
    10% {
        transform: scale(1.05) translateX(-2px);
    }
    20% {
        transform: scale(1.05) translateX(2px);
    }
    30% {
        transform: scale(1.05) translateX(-2px);
    }
    40% {
        transform: scale(1.05) translateX(2px);
    }
    50% {
        transform: scale(1.05) translateX(0);
    }
    100% {
        transform: scale(1);
    }
}

.button--green {
    background: linear-gradient(to top, #32b643, #4cd964);
    box-shadow: 0px 9px 19px 0px rgb(123 205 143 / 75%);
    -webkit-box-shadow: 0px 9px 19px 0px rgb(95 155 74 / 75%);
}

.button--green:hover {
    transform: scale(1.02);
    animation: none;
}

/* === Language select === */
.language-select {
    display: inline-flex;
    align-items: center;
    margin-left: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-select__arrow {
    margin-left: 5px;
    font-size: 10px;
}

.language-select {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.language-select__flag img, .language-select__dropdown--img {
    width: 24px;
    height: 24px;
    @media (max-width: 768px) {
        .header__menu {
            margin-right: 6px;
        }
    }
}


.language-select__arrow {
    margin-left: 5px;
}

.language-select__dropdown {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    min-width: 150px;
    z-index: 100;
}

.language-select__dropdown li {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.language-select__dropdown li img {
    width: 20px;
}

.language-select__dropdown li:hover {
    background: #f0f0f0;
}

.language-select__dropdown--img {
    position: relative;
    top: 1px;
}

.language-select.open .language-select__dropdown {
    display: block;
}

/* === Burger === */
.burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger__line {
    width: 28px;
    height: 5px;
    border-radius: 2px;
    background: var(--green);
    transition: all 0.3s ease-in-out;
}

.burger.active .burger__line {
    background: red;
}

.burger.active .burger__line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.active .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* === Адаптив: до 871px === */
@media (max-width: 871px) {
    .nav__link {
        font-size: 14px;
    }
}

/* === Адаптив: до 768px === */
@media (max-width: 768px) {
    .header__container {
        align-items: center;
    }

    .header__left {
        width: 100%;
        justify-content: space-between;
    }

    .burger {
        display: flex;
    }

    .header__menu {
        position: absolute;
        top: 73px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        border-top: 1px solid #eee;
        background-color: #fff;
        padding: 15px 15px;
        transition: all 0.3s ease-in-out;
    }

    .header__menu.active {
        display: flex;
    }

    .nav__list {
        flex-direction: column;
        gap: 12px;
        margin-top: 10px;
    }

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

    .header__actions {
        width: 100%;
        margin-top: 10px;
        justify-content: space-between;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .button--green {
        width: 100%;
        text-align: center;
        font-size: 16px;
        padding: 12px;
    }

    .language-select {
        justify-content: center;
        width: 100%;
    }
}

/* === Адаптив: до 480px === */
@media (max-width: 480px) {
    .header__left {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .language-select {
        font-size: 12px;
    }

    .nav__link {
        font-size: 15px;
    }

    .button--green {
        font-size: 15px;
        padding: 10px;
    }
}

main {
    padding-top: 73px;
    background: rgba(255, 255, 255, 0.71);
}


.partner {
    min-height: calc(100vh - 80px);
    max-width: 1440px;
    margin: 0 auto;
    background: url("../images/main-promo/bg-promo.png");
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.partner__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
    gap: 40px;
}

.partner__content {
    flex: 1 1 500px;
    color: #002B72;
}

.partner__title {
    font-family: 'Ubuntu';
    font-size: 44px;
    font-weight: 500;
    line-height: 124%;
    letter-spacing: 0.01em;
    margin: 0 0 25px;
    color: #002B72;
}

.partner__title span {
    color: #002B72;
    font-size: 64px;
    font-weight: 700;
    display: inline;
}

.partner__text {
    color: #002B72;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.partner__btn {
    font-size: 16px;
    padding: 12px 24px;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0px 6px 14px rgba(100, 175, 51, 0.5);
    transition: transform 0.2s ease-in-out;
}

.partner__btn:hover {
    transform: scale(1.05);
}

.partner__image {
    flex: 1 1 500px;
    text-align: right;
    transform-origin: center center;
}

.partner__image img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 1024px) {
    .partner__image {
        animation: pulse 3s ease-in-out infinite;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.07);
    }
}

/* Адаптив */

@media (max-width: 1440px) {
    .partner {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .partner {
        margin: 0;
        background: url(../images/main-promo/bg-mob.png);
        background-size: cover;
        background-position: bottom center;
        background-repeat: no-repeat;
    }

    .partner__container {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }

    .partner__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 10%;
        flex: 1 1 300px;
    }

    .partner__image {
        height: 50%;
        flex: 1 1 auto;
    }

    .partner__title {
        font-size: 28px;
        letter-spacing: 0;
        line-height: 60px;
    }

    .partner__title span {
        font-size: 32px;
    }

    .partner__text {
        font-size: 14px;
    }

    .partner__btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .partner__title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .partner__title span {
        font-size: 32px;
    }
}

.features {
    padding: 60px 0 10px 0;
    background-color: #fff;
}

.features__container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.feature {
    background: #fff;
    box-shadow: 0px 0px 22px rgba(11, 187, 239, 0.5);
    border-radius: 4px;
    padding: 30px 20px;
    text-align: center;
    flex: 1 1 22%; /* 4 в ряд при широкой ширине */
    max-width: 25%;
    transition: transform 0.3s ease-in-out;
}

.feature:hover {
    transform: scale(1.05);
}

.feature__icon {
    height: auto;
}

.feature__title {
    font-size: 28px;
    line-height: 1.3;
    color: #002B72; /* dark blue */
    font-family: 'Ubuntu';
    font-weight: 700;
}

@media (max-width: 1030px) {
    .feature__title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .features__container {
        justify-content: center;
    }

    .feature {
        flex: 1 1 45%;
        max-width: 45%;
    }

    .feature__title {
        font-size: 16px;
    }
}

@media (max-width: 380px) {

    .feature__title {
        font-size: 12px;
    }
}



.partner-info {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 0;
    background: url("../images/main-partner-info/bg-imfo.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #fff ;

}

.partner-info__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.partner-info__image {
    flex: 1 1 50%;
    text-align: center;
}

.partner-info__image img {
    max-width: 100%;
    height: auto;
}

.partner-info__content {
    flex: 1 1 45%;
    color: #002B72;
    font-family: 'Ubuntu';
}

.partner-info__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #002B72;
}

.partner-info__text {
    font-family: Inter;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.partner-info__button {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    font-size: 18px;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}


@media (max-width: 768px) {
    .partner-info {
        max-width: 1440px;
        margin: 0 auto;
        padding-bottom: 0;
        background: none;
        position: relative; /* обязательно! */
        overflow: hidden;
    }

    .partner-info::before {
        content: "";
        position: absolute;
        z-index: -1;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: url('../images/main-partner-info/bg-mob.png') no-repeat top center;
        background-size: cover;
        transform: rotate(0deg);
        transform-origin: center;
    }

    .partner-info__container {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    .partner-info__content {
        flex: 1 1 100%;
    }

    .partner-info__image {
        order: -1;
    }

    .partner-info__title {
        font-size: 32px;
    }

    .partner-info__text {
        font-size: 14px;
        text-align: left;
    }
}


.steps {
    padding: 40px 0;
    background-color: #fff;
    font-family: 'Ubuntu', sans-serif;
}

.steps__title {
    font-size: 46px;
    font-weight: 700;
    color: #002B72;
    margin-bottom: 40px;
}

.steps__list {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.steps__item {
    flex: 1 1 calc(25% - 30px);
    min-width: 220px;
    text-align: left;
    color: #002B72;
}

.steps__icon {
    width: 36px;
    height: 36px;
    border: 2px solid #1F72B8;
    color: #1F72B8;
    font-weight: 700;
    font-size: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.steps__subtitle {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.steps__text {
    font-size: 20px;
    line-height: 1.5;
    color: #002B72;
}

@media (max-width: 900px) {
    .steps__item {
        flex: 1 1 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .steps__title {
        font-size: 32px;
    }

    .steps__item {
        flex: 1 1 100%;
        display: flex;
        gap: 10px;
    }

    .steps__subtitle {
        margin: 0;
        font-size: 20px;
    }

    .steps__text {
        font-size: 16px;
    }

}

.realtime-info {
    max-width: 1440px;
    margin: 0 auto;
    font-family: 'Ubuntu', sans-serif;
    background: url("../images/main-realtime-info/bg-imfo.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #fff;
    padding: 60px 0;
}

.realtime-info__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.realtime-info__content {
    max-width: 550px;
    flex: 1 1 500px;
}

.realtime-info__title {
    font-size: 46px;
    font-weight: 700;
    color: #002B72;
    margin-bottom: 40px;
}

.realtime-info__features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.realtime-info__feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.realtime-info__feature--content {
    width: 90%;
}

.realtime-info__icon {
    width: 10%;
    height: 48px;
    margin-right: 16px;
}

.realtime-info__feature-title {
    font-size: 28px;
    font-weight: 700;
    color: #204584;
    margin: 0 0 5px 0;
}

.realtime-info__feature-text {
    font-size: 20px;
    color: #444;
    margin: 0;
}

.realtime-info__button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease-in-out;
}

.realtime-info__button:hover {
    transform: scale(1.05);
}

.realtime-info__image {
    flex: 1 1 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

@media (min-width: 1024px) {
    .realtime-info__image  {
        animation: pulse 3s ease-in-out infinite;
    }
}

.realtime-info__image img {
    max-width: 100%;
    height: auto;
}

/* Адаптив */
@media (max-width: 768px) {
    .realtime-info__container {
        flex-direction: column;
        align-items: flex-start;
    }

    .realtime-info {
        background: url("../images/main-realtime-info/bg-mob.png") no-repeat bottom center;
        padding: 40px 0;
    }

    .realtime-info__image {
        width: 100%;
    }

    .realtime-info__content {
        max-width: 100%;
        flex: auto;
    }


    .realtime-info__image {
        flex: auto;
    }

    .realtime-info__title {
        font-size: 32px;
    }

    .realtime-info__feature-title {
        font-size: 20px;
    }

    .realtime-info__feature-text {
        font-size: 14px;
    }
}

.brand-geography {
    padding: 80px 0;
}

.brand-geography__card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

/* КАРТА */
.brand-geography__map-wrapper {
    position: relative;
}

.brand-geography__image {
    width: 100%;
    display: block;
}

/* ТЕКСТ ВНУТРИ КАРТЫ (слева сверху) */
.brand-geography__title-block {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 2;
}

.brand-geography__title {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
}

/* СТАТИСТИКА */
.brand-geography__stats {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 32px;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    gap: 16px;

    padding: 20px 32px;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);

    color: #fff;
}

.brand-geography__stat {
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.brand-geography__stat:last-child {
    border-right: none;
}

.brand-geography__stat-value {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Ubuntu', sans-serif;
}

.brand-geography__stat-label {
    font-size: 12px;
    opacity: 0.9;
    font-family: 'Ubuntu', sans-serif;
}

/* АДАПТИВ */
@media (max-width: 992px) {
    .brand-geography__title {
        font-size: 24px;
    }
    .brand-geography__stats {
        padding: 16px 20px;
    }
}

@media (max-width: 768px) {
    .brand-geography {
        padding: 40px 0;
    }

    .brand-geography__title-block {
        top: 24px;
        left: 24px;
    }

    .brand-geography__title {
        font-size: 20px;
    }

    /* Плашка перестаёт быть absolute — уходит вниз под карту */
    .brand-geography__stats {
        position: sticky;
        margin-top: 16px;

        /*flex-wrap: wrap;*/
        background: rgb(40 157 221 / 54%);
    }

    .brand-geography__stat {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding: 6px 0;
    }

    .brand-geography__stat:nth-child(3),
    .brand-geography__stat:nth-child(4) {
        border-bottom: none;
    }

    .brand-geography__stat-value {
        font-size: 18px;
    }
}

@media (max-width: 480px) {

    .brand-geography {
        padding: 20px 0;
    }
    .brand-geography__title-block {
        top: 16px;
        left: 16px;
    }

    .brand-geography__stats {
        padding: 12px 16px;
    }

    .brand-geography__stat-value {
        font-size: 16px;
    }

    .brand-geography__stat-label {
        font-size: 11px;
    }
}


.partners-logos {
    max-width: 1440px;
    margin: 0 auto;
    font-family: 'Ubuntu', sans-serif;
    background: url("../images/partners-logos/bg-logos.png");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px 20px;
}

.partners-logos__container {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-logos__title {
    font-size: 46px;
    font-weight: 700;
    color: #002B72;
    margin-bottom: 10px;
}

.partners-logos__list {
    display: flex;
    justify-content: center;

}

.partners-logos__list img {
    width: 100%;
}

/* Адаптив */
@media (max-width: 768px) {

    .partners-logos__title {
        font-size: 36px;
        text-align: center;
    }
}

.contact {
    max-width: 1440px;
    margin: 0 auto;
    font-family: 'Ubuntu';
    background: url(../images/contact/bg-contact.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 20px;
}

.contact__content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.contact__links {
    width: 50%;
    font-family: Inter;
    font-weight: 700;
    color: #002B72;
    font-size: 20px;
}

.contact__links a {
    text-decoration: none;
    color: #64AF33;
}

.contact__form {
    width: 30%;
    margin-right: 40px;
}



.contact__title{
    font-size: 46px;
    font-weight: 700;
    color: #002B72;
    margin-bottom: 10px;
    text-align: right;
}

.contact__form__subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #204584;
    margin: 0 0 20px 0;
}

.form {
    margin: 0 auto;
    font-family: 'Ubuntu', sans-serif;
}

.form__group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #002B72;
}

input, select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

input:focus, select:focus {
    outline: none;
    border-color: #1F72B8;
}

input.is-invalid {
    border-color: #d93025; /* красная подсветка */
}

.form__submit {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    font-size: 18px;
    color: #fff;
    border-radius: 8px;
    border: none;
    width: 100%;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.field-error {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.3;
    color: #d93025;
    min-height: 16px; /* чтобы верстка не прыгала */
}

.form__submit:hover {
    transform: scale(1.05);
}

.form__submit.is-loading {
    opacity: .7;
    pointer-events: none;
}

@media (max-width: 768px) {

    .contact__content {
        flex-direction: column-reverse;
    }

    .contact__links {
        width: 100%;
        font-size: 14px;
    }

    .contact__form {
        width: 100%;
    }

    .contact__title {
        text-align: center;
        font-size: 36px;
    }

    .contact__form__subtitle {
        text-align: center;
        font-size: 20px;
    }
}


.faq {
    padding: 80px 0;
}

.faq-title {
    font-size: 46px;
    font-weight: 700;
    color: #002B72;
    margin-bottom: 10px;
}

.faq-item {
    border-radius: 5px;
    margin-bottom: 10px;
}

.faq-question {
    padding: 10px 0 0 0;
    display: flex;
    justify-content: space-between;
    gap: 2%;
    align-items: center;
    cursor: pointer;
    border-bottom: 2px solid #002B72;
}

.faq-question p {
    font-family: Inter;
    font-size: 20px;
    color: #002B72;
    font-weight: 400;
}

.faq-item.active .faq-question p {
    font-weight: 700;
}

.faq-answer {
    display: none;
    font-family: Inter;
    font-size: 20px;
    color: #002B72;
    font-weight: 400;
}

.faq-question svg {
    background-color: #64AF33;
    border-radius: 2px;
    color: #ffffff;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .faq-title {
        text-align: center;
        font-size: 36px;
    }

    .faq-question p {
        font-size: 14px;
    }

    .faq-answer {
        font-size: 14px;
    }
}

footer {
    background-color: #E9E9E9;
    padding: 20px 0;
}

.sect-footer {
    border-bottom: 1px solid #C9CBCD;
}

.copyright {
    text-align: center;
}

.nav-footer {
    display: flex;
    gap: 35%;
    padding: 20px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #043252;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 40px;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-footer {
        flex-direction: column;
        margin: 0 auto;
    }
}

.error_body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.error_main {
        flex: 1;
        overflow-y: auto;    /* прокрутка, если контента много */
}

.error_footer {
    height: 261px;
}

.partner-error {
    background-image: url("../images/404/404-bg.png");
    background-size: cover;
    background-repeat: no-repeat;

}

.partner-error__content {
    display: flex;
    padding: 10% 0;
}

.partner-error__container {
    width: 50%;
    display: flex;
    flex-direction: column;

    color: #002B72;
}

.partner__btn__error {
    width: 100%;
    text-align: center;
}

.partner-error__title {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 64px;
    line-height: 124%;
    letter-spacing: -0.02em; /* -2% */
    margin-bottom: 20px;
}

.partner-error__subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 160%;
    letter-spacing: 0.01em; /* 1% */
    margin-bottom: 40px;
    color: #555;
}

@media (max-width: 768px) {
    .partner-error__content {
        flex-direction: column;
    }

    .partner-error__container {
        width: 100%;
    }

    .partner-error__title {
        font-size: 24px;
    }

    .partner-error__subtitle {
        font-size: 18px;
    }

}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    opacity: 0;
    transform: translateY(-10px);
    animation: slideIn .4s forwards, fadeOut .5s 3s forwards;
}

.toast.success { background: #64AF33; }   /* зелёный */
.toast.error { background: #d93025; }     /* красный */

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}