* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f9fc;
    color: #17212b;
}

/* =========================
   HEADER
========================= */

.topbar {
    height: 70px;
    width: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid #e5eaf0;
    position: relative;
    z-index: 1000;
}

.logo {
    color: #0878c9;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: #17212b;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    margin-right: 28px;
}

.desktop-nav a,
.lang a {
    color: #17212b;
    text-decoration: none;
    font-size: 14px;
}

.desktop-nav a:hover,
.lang a:hover {
    color: #0878c9;
}

.lang {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang a {
    font-weight: 600;
}

.hamburger {
    display: none;
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    background: #0878c9;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu {
    display: none;
}

.mobile-menu.open {
    display: flex;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 20px 45px;
}

.hero-content {
    width: min(1050px, 100%);
    text-align: center;
}

.badge {
    display: inline-block;
    margin-bottom: 16px;
    color: #0878c9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.hero h1 {
    margin: 0;
    color: #17212b;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 400;
}

.hero h1 strong {
    font-weight: 800;
}

.subtitle {
    margin: 16px 0 30px;
    color: #66717d;
    font-size: 18px;
}

/* =========================
   BOOKING BOX
========================= */

.booking-box {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 42px 1fr auto;
    gap: 12px;
    align-items: end;
    background: #ffffff;
    border: 1px solid #e2e8ee;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(20, 50, 80, 0.10);
    text-align: left;
}

.field {
    position: relative;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: #5f6b76;
    font-size: 13px;
    font-weight: 700;
}

.field input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #d8e0e7;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #17212b;
    font-size: 15px;
}

.field input:focus {
    border-color: #0878c9;
    box-shadow: 0 0 0 3px rgba(8, 120, 201, 0.10);
}

.swap {
    width: 42px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0878c9;
    font-size: 22px;
    font-weight: 700;
}

.book-btn {
    height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: #0878c9;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.book-btn:hover {
    background: #0669ae;
}

.book-btn span {
    margin-left: 7px;
}

/* =========================
   AUTOCOMPLETE
========================= */

.autocomplete {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 2000;
    background: #ffffff;
    border: 1px solid #dfe6ec;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(20, 50, 80, 0.12);
    overflow: hidden;
}

.autocomplete:empty {
    display: none;
}

.autocomplete div {
    padding: 12px 14px;
    color: #27323c;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 1px solid #edf1f4;
}

.autocomplete div:last-child {
    border-bottom: 0;
}

.autocomplete div:hover {
    background: #f1f7fb;
}

/* =========================
   FEATURES
========================= */

.features {
    width: 100%;
    max-width: 950px;
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.features > div {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    color: #35424e;
    font-size: 14px;
    font-weight: 600;
}

.features b {
    color: #0878c9;
    font-size: 17px;
}

/* =========================
   FOOTER
========================= */

footer {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: #ffffff;
    border-top: 1px solid #e5eaf0;
    color: #7a858f;
    font-size: 13px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 850px) {

    .topbar {
        padding: 0 18px;
    }

    .desktop-nav {
        display: none;
    }

    .lang {
        margin-left: auto;
        margin-right: 12px;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        position: absolute;
        top: 70px;
        right: 18px;
        width: 220px;
        padding: 12px;
        flex-direction: column;
        gap: 4px;
        background: #ffffff;
        border: 1px solid #e3e9ee;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(20, 50, 80, 0.15);
        z-index: 3000;
    }

    .mobile-menu a {
        padding: 11px 12px;
        border-radius: 8px;
        color: #17212b;
        text-decoration: none;
    }

    .mobile-menu a:hover {
        background: #f1f7fb;
    }

    .booking-box {
        grid-template-columns: 1fr;
    }

    .swap {
        width: 100%;
        height: 25px;
        transform: rotate(90deg);
    }

    .book-btn {
        width: 100%;
    }
}

@media (max-width: 650px) {

    .hero {
        min-height: auto;
        padding: 35px 15px 30px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 22px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        gap: 7px;
        text-align: center;
    }

    .lang {
        gap: 6px;
    }

    .lang a {
        font-size: 12px;
    }
}
