/* Отступ под фиксированную шапку */
body {
    /*padding-top: 70px;*/
}
.navbar-wrapper{
    height: 70px; /* 70 + 10 */
	background: #2a4b9e
}
/* Поиск на десктопе */
.navbar-search-desktop {
    width: 220px;
}

.info-letter {
    max-width: 900px;
    margin: 0 auto;
}
/* HERO блок */
.hero {
    min-height: calc(100vh - 70px);
    background: #243A6F;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 40px 15px;
    text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
}

.hero p.lead {
    font-size: clamp(1rem, 2.4vw, 1.5rem);
}

/* Футер */
footer {
    background: #111;
    color: #bbb;
    padding: 20px 0;
}
.site-footer {
    background: #243A6F;
    color: #e8ecf5;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: #ffffff;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-link {
    color: #ffdd57;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-line {
    border-color: rgba(255,255,255,0.2);
}

.copyright {
    color: #bfc7d6;
}

.bi {
    margin-right: 6px;
    color: #ffdd57;
    font-size: 1rem;
}
/* Адаптив для очень маленьких экранов */
@media (max-width: 576px) {
    .hero {
        padding: 60px 10px;
    }
}
/* Логотип Айтматова по центру */
.aitmatov-logo {
    width: 180px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Для маленьких экранов */
@media (max-width: 576px) {
    .aitmatov-logo {
        width: 130px;
        margin-bottom: 20px;
    }
}
.navbar {
    background-color: #324e94 !important;
}

.navbar .nav-link,
.navbar-brand {
    color: #fff !important;
}

.navbar .nav-link:hover {
    color: #e6e6e6 !important;
}

.navbar .btn-primary {
    background-color: #2c4a89 !important; /* кнопка чуть темнее */
    border-color: #2c4a89 !important;
}

.navbar .btn-primary:hover {
    background-color: #1f3a72 !important;
}

.footer-logo {
    width: 150px;
    height: auto;
    opacity: 0.95;
}

@media (max-width: 576px) {
    .footer-logo {
        width: 100px;
        margin-top: 15px;
    }
}

/* Логотипы одинаковые */
.nav-logo {
    width: 100px;
    height: auto;
}

/* Блок логотипов слева */
.logos-block {
    display: flex;
    align-items: center;
}

/* На мобильном показываем оба логотипа слева */
@media (max-width: 992px) {
    .ial-mobile {
        display: inline-block !important;
    }

    /* Скрыть правый логотип и название */
    .navbar-brand {
        display: none !important;
    }

    .d-lg-block {
        display: none !important;
    }
}

/* На ПК скрываем второй (левый) логотип ИАЛ */
@media (min-width: 992px) {
    .ial-mobile {
        display: none !important;
    }
}

.form-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #243A6F;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(20px);
    transition: .25s ease;
    z-index: 9999;
    font-size: 0.95rem;
}
.form-toast.ok {
    background: #2d8a34;  /* зелёный — успех */
}
.form-toast.err {
    background: #c0392b;  /* красный — ошибка */
}
.form-toast.show {
    opacity: 1;
    transform: translateY(0);
}