body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f5fb; /* very light indigo */
    color: #2b2d42;      /* neutral dark */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

}

/* ===== HEADER ===== */
header {
    background: #3f51b5; /* indigo 600 */
    color: #ffffff;
    padding: 20px 0;
}

header h1 {
    margin: 0;
}

h1 {
    font-weight: 550; /* чуть жирнее стандартного (обычно 500–600) */
    line-height: 1.2; /* чуть плотнее, чтобы красиво смотрелось */
}

header nav a {
    color: #e8eaf6; /* indigo 50 */
    text-decoration: none;
    margin-right: 15px;
}

header nav a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
    background: #1a237e; /* indigo 900 */
    color: #c5cae9;      /* indigo 200 */
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* ===== TEXT ===== */
h2 {
    color: #3f51b5; /* indigo 600 */
}

a {
    color: #3949ab; /* indigo 500 */
}

a:hover {
    text-decoration: underline;
}

.navbar-brand:hover {
    text-decoration: none !important;
}

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #ffffff;
}

table, th, td {
    border: 1px solid #c5cae9; /* indigo 200 */
}

th {
    background: #e8eaf6; /* indigo 50 */
    color: #1a237e;      /* indigo 900 */
}

th, td {
    padding: 10px;
    text-align: left;
}

.navbar {
    overflow-x: hidden; /* временно скрывает */
}

.navbar .container,
.navbar .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Уменьшаем высоту хедера */
.navbar-compact {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Лого */
.navbar-logo {
    height: 38px;
    width: auto;
    margin-right: 8px;
}

/* Название */
.navbar-title {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Телефон */
.header-phone {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.header-phone:hover {
    text-decoration: underline;
}

/* Иконки мессенджеров */
.header-icon {
    width: 18px;
    height: 18px;
}

.navbar-logo {
    height: 46px;   /* маленький, аккуратный */
    width: auto;
    margin-right: 8px;
}

/* Компактный header */
.navbar-compact {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Телефон */
.header-phone {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.header-phone:hover {
    text-decoration: underline;
}

/* Мобильное выравнивание */
@media (max-width: 991px) {
    .header-contacts {
        width: 100%;
        margin-bottom: 8px;
    }
}

.navbar-compact {
    padding-top: 6px;
    padding-bottom: 6px;
}

.header-phone {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    padding-left: 4px;
}

.header-phone:hover {
    text-decoration: underline;
}

.header-icon {
    width: 36px;
    height: 36px;
}

.header-contacts {
   padding-top: 3px;
}

.header-social-container {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    .header-contacts {
        flex: 1; /* занимают все доступное пространство */
        justify-content: center; /* по центру */
    }
    .navbar-toggler {
        flex: 0 0 auto; /* кнопка справа на одной линии */
    }
}

.header-contacts {
    width: 100%;               /* занимает всю ширину экрана */
    justify-content: center;    /* центрируем по горизонтали */
    flex-wrap: wrap;            /* на маленьких экранах переносим при необходимости */
}

.header-phone {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.header-icon {
    width: 36px;
    height: 36px;
}

/* Убираем подпрыгивание карточек при наведении */
.card:hover {
    transform: none !important;
    transition: none !important;
}

.btn-orange {
    background-color: #ff9900; /* более мягкий оранжевый */
    border-color: #ff9900;
    color: #fff;
}
.btn-orange:hover {
    background-color: #e68a00;
    text-decoration: underline;
}

.btn-success:hover {
    text-decoration: underline;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.cookie-banner__text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner__button,
.cookie-banner__link {
    font-weight: 600;
    border-radius: 999px;
}

.cookie-banner__button {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
    padding: 8px 18px;
    cursor: pointer;
}

.cookie-banner__button:hover,
.cookie-banner__link:hover {
    text-decoration: underline;
}

.cookie-banner__link {
    padding: 8px 18px;
    background: #fff;
    color: #111 !important;
    text-decoration: none;
}

.cookie-banner__close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.cookie-banner__close:hover {
    color: #fff;
}

.cookie-banner--hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .cookie-banner__button,
    .cookie-banner__link {
        width: auto;
    }
}

/* ===== POLICY PAGE ===== */
.policy-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(63, 81, 181, 0.08);
}

.policy-section h1,
.policy-section h2,
.policy-section h3 {
    color: #1a237e;
    font-weight: 600;
}

.policy-section h2 {
    margin-top: 32px;
}

.policy-section p,
.policy-section li {
    line-height: 1.7;
}

.policy-section ol {
    padding-left: 18px;
}

.policy-highlight {
    font-weight: 600;
    color: #3f51b5;
}