:root {
    --brand-900: #0f1a2b;
    --brand-800: #16263d;
    --brand-100: #eef3fb;

    /* Мягкие «чернила» вместо чистого чёрного */
    --ink-900: #1f2937;
    --ink-700: #334155;
    --ink-500: #64748b;

    /* Акцент */
    --accent-700: #2b4a76;
    --accent-600: #3562a0;
    --accent-500: #3f72b8;

    /* Bootstrap overrides */
    --bs-body-color: var(--ink-700);
    --bs-body-color-rgb: 51,65,85;
    --bs-heading-color: var(--ink-900);
    --bs-emphasis-color: var(--ink-900);
    --bs-emphasis-color-rgb: 31,41,55;
    --bs-secondary-color: var(--ink-500);
    --bs-secondary-color-rgb: 100,116,139;
    --bs-link-color: var(--accent-600);
    --bs-link-color-rgb: 53,98,160;
    --bs-link-hover-color: var(--accent-700);
    --bs-primary: var(--accent-600);
    --bs-primary-rgb: 53,98,160;
    --bs-border-color: rgba(31,41,55,.16);
    --bs-border-color-translucent: rgba(31,41,55,.12);
}

html {
    scroll-behavior: smooth;
}

.site-header .navbar-brand {
    letter-spacing: 0.2px;
}

.hero-section {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(180deg, var(--brand-900), var(--brand-800));
}


.hero-section.hero-only {
    min-height: clamp(340px, 58vh, 680px);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,26,43,.45), rgba(15,26,43,.22)),
        url('/img/antares_hero_mariupol_night.jpg') center/cover no-repeat;
    transform: scale(1.02);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,26,43,.12), rgba(15,26,43,.32));
    pointer-events: none;
}

@media (max-width: 576px) {
    .hero-section.hero-only {
        min-height: 360px;
    }
}
.hero-card {
    background: rgba(255,255,255,.96);
    border-radius: 18px;
}

.hero-points {
    display: grid;
    gap: 10px;
}

.hero-point {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
}

    .hero-point::before {
        content: "";
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: rgba(255,255,255,.85);
    }

.section {
    padding: 72px 0;
}

.section-alt {
    background: linear-gradient(180deg, #ffffff, #f7f9fc);
    position: relative;
}

    .section-alt::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url('/img/antares_pattern.png') top left/480px repeat;
        opacity: .25;
        pointer-events: none;
    }

.mini-card {
    padding: 14px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(31,41,55,.12);
    box-shadow: 0 1px 0 rgba(31,41,55,.05);
}

.image-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(31,41,55,.12);
    box-shadow: 0 10px 30px rgba(31,41,55,.12);
    background: #fff;
}

.benefit-card {
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(31,41,55,.12);
    box-shadow: 0 8px 26px rgba(31,41,55,.08);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
    border-radius: 14px;
}

.step-card {
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(31,41,55,.12);
    box-shadow: 0 8px 26px rgba(31,41,55,.08);
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: var(--accent-600);
    margin-bottom: 10px;
}

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

    .list-check li {
        position: relative;
        padding-left: 26px;
        margin-bottom: 10px;
    }

        .list-check li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            font-weight: 700;
            color: var(--accent-600);
        }

.contacts-section {
    background: linear-gradient(180deg, #fff, var(--brand-100));
}

.contact-box {
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(31,41,55,.12);
    box-shadow: 0 10px 30px rgba(31,41,55,.08);
}

.contact-map {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(31,41,55,.12);
    box-shadow: 0 10px 30px rgba(31,41,55,.08);
}

.contact-map iframe {
    display: block;
}

.contact-box .contact-map {
    box-shadow: none;
}

.site-footer {
    background: #fff;
}
.error-badge {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    background: #b42318;
    box-shadow: 0 10px 30px rgba(31,41,55,.12);
    flex: 0 0 auto;
}
/* Header: фикс "гуляния" */
.site-header .navbar {
    min-height: 72px;
}

.site-header .navbar-nav {
    flex-wrap: nowrap;
}

.site-header .nav-link {
    white-space: nowrap;
    line-height: 1.1;
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-weight: 500; /* фиксируем вес, чтобы при hover не менялась ширина */
}

    .site-header .nav-link:hover,
    .site-header .nav-link:focus {
        font-weight: 500;
    }

.site-header .header-actions {
    white-space: nowrap;
}

.site-header .header-cta {
    white-space: nowrap;
}

.site-header .navbar-brand {
    white-space: nowrap;
}
/* Hero: читаемость текста */
.hero-section h1,
.hero-section .lead {
    text-shadow: 0 6px 24px rgba(15,26,43,.55);
}

.hero-point {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
}
.footer-credit {
    font-size: .875rem;
    color: rgba(15,26,43,.65);
}

    .footer-credit a {
        color: inherit;
        text-decoration: none;
        border-bottom: 1px dashed rgba(15,26,43,.35);
    }

        .footer-credit a:hover,
        .footer-credit a:focus {
            color: rgba(15,26,43,.90);
            border-bottom-color: rgba(15,26,43,.70);
        }

/* ==== Soft ink overrides (generated) ==== */
body { color: var(--ink-700); }
h1, h2, h3, h4, h5, h6 { color: var(--ink-900); }
.site-header .navbar-brand { color: var(--ink-900); }
.site-header .nav-link { color: rgba(51,65,85,.88); }
.site-header .nav-link:hover,
.site-header .nav-link:focus { color: var(--ink-900); }
.hero-section h1,
.hero-section .lead { text-shadow: 0 6px 24px rgba(15,26,43,.55); }
.hero-point { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }
.step-num { background: var(--accent-600); }
.list-check li::before { color: var(--accent-600); }
.footer-credit { color: rgba(51,65,85,.70); }
.footer-credit a { border-bottom-color: rgba(100,116,139,.45); }
.footer-credit a:hover,
.footer-credit a:focus { color: rgba(31,41,55,.92); border-bottom-color: rgba(100,116,139,.70); }


.about-panel {
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(31,41,55,.12);
    box-shadow: 0 10px 30px rgba(31,41,55,.08);
}

@media (max-width: 576px) {
    .about-panel {
        padding: 20px;
    }
}


.intro-panel {
    margin-top: -90px;
    position: relative;
    z-index: 2;
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(31,41,55,.12);
    box-shadow: 0 10px 30px rgba(31,41,55,.08);
}

.intro-panel .hero-point {
    background: #fff;
    border: 1px solid rgba(31,41,55,.12);
    color: var(--ink-700);
}

.intro-panel .hero-point::before {
    content: "✓";
    font-weight: 700;
    color: var(--accent-600);
}

@media (max-width: 992px) {
    .intro-panel {
        margin-top: -60px;
        padding: 22px;
    }
}

@media (max-width: 576px) {
    .intro-panel {
        margin-top: -40px;
        padding: 18px;
    }
}
