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

:root {
    --brand-yellow: #fbcc27;
    --brand-teal: #7bd4b2;

    /* производные */
    --yellow-100: #fff3c4;
    --yellow-200: #ffe27a;
    --teal-100: #e6faf3;
    --teal-200: #c9f1e5;
    --ink: #07353a;
    --muted: #5a6b6d;
    --border: rgba(7, 53, 58, .08);
}

.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: #0f4f3f
}

.section {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border)
}

.badge-brand {
    background: var(--brand-yellow);
    color: #1b1b1b;
    font-weight: 700
}

.btn-brand {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #1b1b1b
}

.btn-brand:hover {
    background: #ffd84f;
    border-color: #ffd84f;
    color: #1b1b1b
}

.btn-outline-teal {
    color: #0f4f3f;
    border-color: #0f4f3f
}

.btn-outline-teal:hover {
    background: #0f4f3f;
    color: #fff
}

.check-list {
    padding-left: 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.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: var(--teal-200);
    color: #0f4f3f;
    font-weight: 800;
    font-size: .8rem;
    flex: 0 0 1.6rem
}

.check-list-hand {
  list-style: none; /* убираем стандартные точки */
  padding: 0;
  margin: 0;
}

.check-list-hand li {
  background: url("/img/icons/hand.png?2") no-repeat left 2px;
  background-size: 1.2rem 1.2rem; /* подгони под размер PNG */
  padding-left: 2rem;             /* отступ для текста */
  margin-bottom: .6rem;
}







.steps {
    background: linear-gradient(180deg, var(--teal-100), #fff);
    border: 1px solid var(--border);
    border-radius: .8rem;
    padding: 1rem 1.25rem;
}

.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-yellow);
    color: #1b1b1b;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

.steps ol {
    margin: 0;
    padding: 0;
}

.steps ol li {
    align-items: flex-start;
}

.tile {
    border: 1px solid var(--border);
    border-radius: .8rem;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.tile .icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .5rem;
    background: var(--yellow-100);
    display: inline-grid;
    place-items: center;
    overflow: hidden
}

.tile .icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
}

.alert-brand {
    background: var(--yellow-100);
    border: 1px solid var(--yellow-200);
    color: #2d2a00
}

.alert-teal {
    background: var(--teal-100);
    border: 1px solid var(--teal-200);
    color: #0f4f3f
}

.table thead th {
    background: var(--yellow-100)
}

.dot {
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    display: inline-block;
    background: var(--brand-yellow);
    margin-top: .35rem;
}

/* Исправление для иконок */
.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;
}

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

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

/* ===== Адаптивный контейнер ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Навигация ===== */
.navbar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#langDropdown {
    text-transform: uppercase;
    border: 0;
    box-shadow: none;
    background: none;
    padding: 0;
}

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

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

.car-rental-lbl {
    order: 2
}

/* Чтобы языковая панель переносилась вниз на мобилах */
@media (max-width: 768px) {
    .car-rental-lbl {
        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 .navbar-nav:last-child {
        order: 1;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .navbar .navbar-nav:first-child {
        order: 0
    }

    .lang-switcher-mobile {
        position: static !important;
        display: flex;
        justify-content: center;
        padding: 0.5rem 0 0 0;
        margin: 0;
    }

    .navbar-nav {
        display: flex;
        flex-wrap: wrap;
        align-items: start;
    }

    .nav-item.dropdown {
        width: 100%;
    }
}

/* ===== Заголовки, ссылки ===== */
.nav-link {
    white-space: nowrap
}

/* ===== Кнопка-бургер ===== */
.navbar-toggler {
    border: none
}

.default-table td {
    border: 1px solid #ccc
}

/* Десктоп: горизонтальне меню */
.bottom-menu {
    gap: 12px
}

.bottom-menu-link {
    color: #333;
    padding: 4px 8px;
    transition: color 0.2s;
    font-weight: 500;
}

.bottom-menu-link.active,
.bottom-menu-link:hover {
    color: #1a7ed8;
    text-decoration: underline;
}

/* ======== FOOTER ======== */
footer {
    background: #15294a;
    color: #fff;
    font-size: 14px;
    padding: 20px 0;
}

footer a {
    color: #cbd8f0;
    text-decoration: underline;
}

footer a:hover {
    color: #7cc1ff
}

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: #fff;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

footer .bottom-menu-link {
    padding: 4px 8px;
    font-weight: 500;
    transition: color 0.2s;
    display: block;
    width: 100%;
    text-align: left;
    color: #cbd8f0;
    text-decoration: underline;
}

footer .bottom-menu-link.active,
footer .bottom-menu-link:hover {
    color: #7cc1ff;
    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;
        justify-content: flex-start;
        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-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, 0.1);
}

#cookie-popup a {
    color: #ffc107;
    text-decoration: underline
}

#cookie-accept-btn {
    display: block;
    margin: 10px auto
}

.content_top {
    margin-bottom: 15px
}

/* ====== Темносиня шапка на десктопі ====== */
.navbar {
    background: radial-gradient(circle at 50% -220%,
            rgba(87, 199, 133, 1) 6%,
            rgba(21, 41, 74, 1) 88%) !important;
    min-height: 76px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .navbar-brand,
.navbar .nav-link,
.car-rental-lbl {
    color: #fff
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: #7cc1ff !important
}

.navbar .container {
    align-items: center;
    min-height: 76px
}

.navbar-toggler .navbar-toggler-icon {
    display: none !important
}

.navbar-toggler svg {
    display: block;
    fill: #fff
}

.dropdown-menu {
    background: #f4f7fb;
    color: #1a2537;
}

.dropdown-item {
    color: #1a2537
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:hover {
    background: #e6effa;
    color: #1a7ed8;
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}

@media (max-width: 374px) {
    .car-rental-lbl {
        display: none
    }
}