/* ===== Базовые сбросы ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --brand-main: #45c6c6;
    --vivid: #ffc107;
    --cyan-300: #5BDEDD;
    --brand-teal: #e3efca;
    --main-color: #638C3F;
    /* производные */
    --yellow-100: #fff3c4;
    --yellow-200: #ffe27a;
    --teal-100: #e4f2c6;
    --teal-200: #d4e3b4;
    --red-100: #ffece4;
    --red-200: #f3cece;
    --dark-ink: #213100;
    --outline-teal: #45c6c6;
    --ink: #4e7102;
    --muted: #5a6b6d;
    --border: rgba(7, 53, 58, .08);
    --white: #ffffff;
    --darkest-grey: #333333;
    --dark-grey: #555555;
}

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

h1 { font-size: 2rem; margin-bottom: 1rem; }

/* ===== Текстовые утилиты ===== */
.text-ink { color: var(--ink) }
.text-muted-ink { color: var(--muted) }
.eyebrow {
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .8rem;
    color: var(--dark-ink);
}

/* ===== Секции / контейнеры ===== */
.section {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border)
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Кнопки / бейджи ===== */
.badge-brand {
    background: var(--brand-main);
    color: var(--dark-ink);
    font-weight: 700
}

.btn-brand {
    background: var(--brand-main);
    border-color: var(--brand-main);
    color: var(--white)
}
.btn-brand:hover {
    background: var(--vivid);
    border-color: var(--vivid);
    color: var(--dark-ink)
}

.btn-outline-teal {
    color: var(--outline-teal);
    border-color: var(--outline-teal);
}
.btn-outline-teal:hover {
    background: var(--outline-teal);
    color: #fff
}

/* ===== Списки с иконкой-галочкой ===== */
.check-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.check-list li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .5rem 0;
    border-bottom: 1px dashed var(--border)
}
.check-list li:last-child { border-bottom: 0 }
.check-ico {
    width: 1.2rem;
    height: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.2rem;
    margin-top: 0.25rem; /* добавляем лёгкий отступ сверху */
}

.check-ico img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}


/* Вариант списка с кастомной меткой-стрелкой */
.check-list-hand {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list-hand li {
    background: url("/img/icons/right-arrow1.svg?1") no-repeat left 2px;
    background-size: 1.2rem 1.2rem;
    padding-left: 2rem;
    margin-bottom: .6rem;
}

/* ===== Логотип ===== */
.mainlogo { max-width: 205px; height: auto; }

/* ===== Блок шагов ===== */
.steps {
    background: linear-gradient(180deg, #f3f3f3, #fff);
    border: 1px solid var(--border);
    border-radius: .8rem;
    padding: 1rem 1.25rem;
}
.steps ol { margin: 0; padding: 0; }
.steps ol li { align-items: flex-start; }
.step-num {
    width: 2rem !important;
    height: 2rem !important;
    flex: 0 0 2rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
    padding: 0;
    font-weight: 800;
    background: var(--brand-main);
    color: var(--white);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

/* ===== Карточки (плитки) ===== */
.tile {
    border: 1px solid var(--border);
    border-radius: .8rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    border-color: rgba(7,53,58,.16);
}
.tile .icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .5rem;
    display: inline-grid;
    place-items: center;
    overflow: hidden
}
.tile .icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
}

/* ===== Alerts ===== */
.alert-brand {
    background: var(--yellow-100);
    border: 1px solid var(--yellow-200);
    color: var(--dark-ink);
}
.alert-teal {
    background: var(--red-100);
    border: 1px solid var(--red-200);
    color: var(--darkest-grey);
}

/* ===== Таблицы ===== */
.table thead th { background: var(--yellow-100) }

/* ===== Декор-точка ===== */
.dot {
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    display: inline-block;
    background: var(--brand-main);
    margin-top: .35rem;
}

/* ===== Иконки в alert/заголовках ===== */
.alert img,
h2 img,
.eyebrow img {
    display: inline-block !important;
    height: 1.8rem;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    vertical-align: middle;
}

/* ===== Навигация / шапка ===== */
.navbar {
    background: radial-gradient(circle at 50% -50%, #fff 6%, #e8e8e8 88%) !important;
    min-height: 76px;
}
.navbar .navbar-brand,
.navbar .nav-link,
.car-rental-lbl { color: var(--darkest-grey); font-size: 14px}
.navbar .nav-link.active,
.navbar .nav-link:hover { color: var(--dark-grey) !important }
.navbar .container { align-items: center; min-height: 76px }
.navbar-toggler { border: none }
.navbar-toggler .navbar-toggler-icon { display: none !important }
.navbar-toggler svg { display: block; fill: var(--darkest-grey); }
.navbar-toggler:focus,
.navbar-toggler:focus-visible { outline: 0; box-shadow: none; }
.dropdown-menu { background: #f4f7fb; color: var(--ink); }
.dropdown-item { color: var(--dark-ink); }
.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:hover { background: #eeeeee; color: var(--teal-100); }

.navbar-nav { display: flex; flex-wrap: wrap; align-items: start; }
.navbar .navbar-nav:last-child {
    order: 1; width: 100%; justify-content: center; margin-top: .5rem;
}
.navbar .navbar-nav:first-child { order: 0 }
.nav-item.dropdown { width: 100%; }

#langDropdown {
    text-transform: uppercase;
    border: 0; background: none; padding: 0;
}
#langDropdown:focus,
#langDropdown:active,
#langDropdown:hover,
#langDropdown:focus-visible { border: 0; box-shadow: none; background: none; }

@media (max-width: 374px) { .car-rental-lbl { display: none } }
@media (max-width: 768px) {
    .navbar { min-height: 55px; }
    .car-rental-lbl {
        display: none; color: #ccc; order: unset; font-size: 11px;
        white-space: normal; max-width: 120px; text-align: center;
        margin-left: 10px; margin-right: 10px; flex: 1 1 auto;
    }
    .navbar .container { min-height: 50px; }
}

/* ===== Footer ===== */
footer {
    background: radial-gradient(circle at 50% -50%, #fff 6%, #e8e8e8 88%) !important;
    color: var(--darkest-grey);
    font-size: 14px;
    padding: 20px 0;
}
footer a { color: var(--darkest-grey); text-decoration: underline; }
footer a:hover { color: var(--dark-grey) }
footer .container { border-top: none }
footer .bottom-menu-columns {
    display: flex; gap: 24px; justify-content: flex-start;
}
footer .bottom-menu {
    min-width: 160px; align-items: flex-start; text-align: left;
    gap: 5px; list-style: none; padding: 0; margin: 0;
}
footer .bottom-menu-item,
footer .bottom-menu li {
    text-align: left; color: var(--darkest-grey); font-size: 14px; margin: 0; padding: 0;
}
footer .bottom-menu-link {
    padding: 4px 8px; font-weight: 500; transition: color .2s;
    display: block; width: 100%; text-align: left;
    color: var(--darkest-grey); text-decoration: underline;
}
footer .bottom-menu-link.active,
footer .bottom-menu-link:hover { color: var(--dark-grey); text-decoration: underline; }

@media (max-width: 768px) {
    footer .row { flex-direction: column; align-items: stretch; }
    footer .col-md-4, footer .col-md-8 { width: 100%; max-width: 100%; }
    footer .bottom-menu-columns { flex-direction: column; gap: 0; align-items: stretch; margin-top: 20px; }
    footer .bottom-menu { width: 100%; min-width: 0; align-items: flex-start; gap: 0; padding: 0; margin: 0; }
    footer .bottom-menu-item, footer .bottom-menu li { margin: 0 !important; padding: 0 !important; }
    footer .bottom-menu-link { padding: 0 0 12px 0; margin: 0; width: 100%; display: block; text-align: left; }
    footer .bottom-menu:last-child .bottom-menu-item:last-child .bottom-menu-link { padding-bottom: 0; }
}

/* ===== Cookie ===== */
#cookie-popup {
    position: fixed; left: 0; bottom: 0; width: 100%; z-index: 10001;
    background: #222; color: #fff; padding: 18px 16px;
    font-size: 1rem; text-align: center;
    box-shadow: 0 -2px 8px rgba(0,0,0,.1);
}
#cookie-popup a { color: var(--vivid); text-decoration: underline }
#cookie-accept-btn { display: block; margin: 10px auto }

/* ===== Прочее ===== */
main img { max-width: 100%; height: auto; display: block; }
.content_top { margin-bottom: 15px }
.default-table td { border: 1px solid #ccc }
.bottom-menu { gap: 12px }
.bottom-menu-link { color: #333; padding: 4px 8px; transition: color .2s; font-weight: 500; }
.bottom-menu-link.active, .bottom-menu-link:hover { color: var(--teal-200); text-decoration: underline; }
.nav-link { white-space: nowrap }

/* ===== Утилиты иконок (добавлено) ===== */
.icon-sm { height: 2rem; mix-blend-mode: multiply; }
.icon-md { height: 2.2rem; }

/* ===== Маркеры парковки (добавлено) ===== */
.parking-box {
    display: inline-block;
    width: 18px; height: 18px;
    margin-right: 6px; border: 1px solid #000;
    vertical-align: -3px;
}
.parking-box.blue { background: blue; }
.parking-box.green { background: green; }
.parking-box.red { background: red; }
.parking-box.orange { background: orange; }
.parking-box.yellow { background: yellow; }
.parking-box.white { background: white; }

/* ===== Небольшие правки адаптива ===== */
.navbar-nav { display: flex; flex-wrap: wrap; align-items: center; }
.navbar .navbar-nav:last-child { justify-content: end;margin-top: 0; }
.lang-switcher-mobile {
    position: static !important;
    display: flex; justify-content: center;
    padding: .5rem 0 0 0; margin: 0;
}
