:root {
    --k2k-header-green: #2c4e3d;
    --k2k-header-dark-green: #174f38;
    --k2k-header-light-green: #68b53e;
    --k2k-header-yellow: #f2ba3e;
    --k2k-header-text: #26342e;
    --k2k-header-white: #ffffff;
    --k2k-header-border: #e7ece9;
}


.k2k-site-header,
.k2k-site-header * {
    box-sizing: border-box;
}

.k2k-site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    font-family: inherit;
    background: var(--k2k-header-white);
}

.k2k-site-header a {
    text-decoration: none;
}

.k2k-header__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Top bar */

.k2k-header__top {
    color: #ffffff;
    background: var(--k2k-header-green);
}

.k2k-header__top-inner {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: 1440px;
    min-height: 74px;
    padding: 10px 44px;
    margin: 0 auto;
}

.k2k-header__announcement {
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.84);
}

.k2k-header__announcement strong {
    font-weight: 700;
    color: #ffffff;
}

.k2k-header__phones {
    display: flex;
    align-items: center;
    gap: 20px;
}

.k2k-header__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-width: 194px;
    min-height: 50px;
    padding: 8px 22px;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.k2k-header__phone:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.11);
    border-color: #ffffff;
}

.k2k-header__phone svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.k2k-header__phone span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.k2k-header__phone small {
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.k2k-header__phone strong {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    color: #ffffff;
}

.k2k-header__utility {
    display: flex;
    align-items: center;
    gap: 26px;
    padding-left: 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.k2k-header__utility a {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.k2k-header__utility a:hover {
    color: var(--k2k-header-yellow);
}

/* Main header */

.k2k-header__main {
    background: #ffffff;
    border-bottom: 1px solid var(--k2k-header-border);
}

.k2k-header__main-inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    min-height: 90px;
    padding: 10px 44px;
    margin: 0 auto;
}

.k2k-header__logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.k2k-header__logo img {
    display: block;
    width: 225px;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.k2k-header__desktop-nav {
    margin: 0 auto;
}

.k2k-header__desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.k2k-header__desktop-nav li {
    position: relative;
}

.k2k-header__desktop-nav a,
.k2k-header__centres > button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--k2k-header-text);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.k2k-header__desktop-nav a:hover,
.k2k-header__centres > button:hover,
.k2k-header__centres:focus-within > button {
    color: var(--k2k-header-green);
}

.k2k-header__centres > button svg {
    width: 10px;
    height: 7px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.k2k-header__centres:hover > button svg,
.k2k-header__centres:focus-within > button svg {
    transform: rotate(180deg);
}

/* Centre dropdown */

.k2k-header__dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 10;
    width: 290px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--k2k-header-border);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(15, 60, 43, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.k2k-header__dropdown::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 18px;
    content: "";
}

.k2k-header__centres:hover .k2k-header__dropdown,
.k2k-header__centres:focus-within .k2k-header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.k2k-header__dropdown a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 13px 15px;
    border-radius: 11px;
}

.k2k-header__dropdown a:hover {
    background: #f1f7ef;
}

.k2k-header__dropdown strong {
    font-size: 15px;
    color: var(--k2k-header-dark-green);
}

.k2k-header__dropdown span {
    font-size: 12px;
    font-weight: 400;
    color: #68766f;
}

.k2k-header__book-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 54px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #252d28;
    background: var(--k2k-header-yellow);
    border-radius: 999px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.k2k-header__book-button:hover {
    color: #ffffff;
    background: var(--k2k-header-dark-green);
    transform: translateY(-2px);
}

.k2k-header__mobile-control {
    display: none;
}

/* Tablet and mobile */

@media (max-width: 1179px) {
    .k2k-header__top-inner {
        display: block;
        min-height: 80px;
        padding: 11px 16px;
    }

    .k2k-header__announcement,
    .k2k-header__utility {
        display: none;
    }

    .k2k-header__phones {
        width: 100%;
        gap: 10px;
    }

    .k2k-header__phone {
        flex: 1 1 50%;
        min-width: 0;
        min-height: 56px;
        padding: 7px 12px;
        gap: 10px;
    }

    .k2k-header__phone small {
        font-size: 10px;
    }

    .k2k-header__phone strong {
        font-size: clamp(13px, 3.8vw, 16px);
    }

    .k2k-header__main-inner {
        min-height: 84px;
        padding: 10px 18px;
    }

    .k2k-header__logo img {
        width: clamp(180px, 54vw, 225px);
        max-height: 58px;
    }

    .k2k-header__desktop-nav,
    .k2k-header__book-button {
        display: none;
    }

    .k2k-header__mobile-control {
        position: static;
        display: block;
        margin-left: auto;
    }

    .k2k-header__menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 8px;
        list-style: none;
        cursor: pointer;
        border-radius: 8px;
    }

    .k2k-header__menu-button::-webkit-details-marker,
    .k2k-header__mobile-centres > summary::-webkit-details-marker {
        display: none;
    }

    .k2k-header__hamburger {
        position: relative;
        display: block;
        width: 33px;
        height: 24px;
    }

    .k2k-header__hamburger span {
        position: absolute;
        left: 0;
        display: block;
        width: 100%;
        height: 2.5px;
        background: #28352f;
        border-radius: 2px;
        transition:
            top 0.2s ease,
            transform 0.2s ease,
            opacity 0.2s ease;
    }

    .k2k-header__hamburger span:nth-child(1) {
        top: 1px;
    }

    .k2k-header__hamburger span:nth-child(2) {
        top: 11px;
    }

    .k2k-header__hamburger span:nth-child(3) {
        top: 21px;
    }

    .k2k-header__mobile-control[open]
        .k2k-header__hamburger
        span:nth-child(1) {
        top: 11px;
        transform: rotate(45deg);
    }

    .k2k-header__mobile-control[open]
        .k2k-header__hamburger
        span:nth-child(2) {
        opacity: 0;
    }

    .k2k-header__mobile-control[open]
        .k2k-header__hamburger
        span:nth-child(3) {
        top: 11px;
        transform: rotate(-45deg);
    }

    .k2k-header__mobile-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 20;
        max-height: calc(100vh - 164px);
        padding: 12px 18px 22px;
        overflow-y: auto;
        background: #ffffff;
        border-top: 1px solid var(--k2k-header-border);
        box-shadow: 0 18px 35px rgba(18, 61, 45, 0.14);
    }

    .k2k-header__mobile-menu nav {
        display: flex;
        flex-direction: column;
    }

    .k2k-header__mobile-menu nav > a,
    .k2k-header__mobile-centres > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 52px;
        padding: 12px 5px;
        font-size: 16px;
        font-weight: 600;
        color: var(--k2k-header-text);
        border-bottom: 1px solid #edf0ee;
    }

    .k2k-header__mobile-menu nav > a:hover,
    .k2k-header__mobile-centres > summary:hover {
        color: var(--k2k-header-green);
    }

    .k2k-header__mobile-centres > summary {
        list-style: none;
        cursor: pointer;
    }

    .k2k-header__mobile-centres > summary svg {
        width: 11px;
        height: 8px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        transition: transform 0.2s ease;
    }

    .k2k-header__mobile-centres[open] > summary svg {
        transform: rotate(180deg);
    }

    .k2k-header__mobile-centres > div {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 12px 0;
    }

    .k2k-header__mobile-centres > div a {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 14px;
        color: var(--k2k-header-dark-green);
        background: #f2f7ef;
        border-radius: 12px;
    }

    .k2k-header__mobile-centres > div a:hover {
        background: #e9f3e5;
    }

    .k2k-header__mobile-centres strong {
        font-size: 14px;
    }

    .k2k-header__mobile-centres small {
        font-size: 11px;
        line-height: 1.4;
        color: #68766f;
    }

    .k2k-header__mobile-menu .k2k-header__mobile-book {
        justify-content: center;
        min-height: 52px;
        margin-top: 18px;
        padding: 12px 22px;
        color: #252d28;
        text-transform: uppercase;
        background: var(--k2k-header-yellow);
        border: 0;
        border-radius: 999px;
    }

    .k2k-header__mobile-menu .k2k-header__mobile-book:hover {
        color: #ffffff;
        background: var(--k2k-header-dark-green);
    }
}

@media (max-width: 390px) {
    .k2k-header__top-inner {
        padding-right: 10px;
        padding-left: 10px;
    }

    .k2k-header__phones {
        gap: 7px;
    }

    .k2k-header__phone {
        min-height: 53px;
        padding-right: 7px;
        padding-left: 7px;
        gap: 6px;
    }

    .k2k-header__phone svg {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    .k2k-header__phone small {
        font-size: 9px;
        letter-spacing: 0.4px;
    }

    .k2k-header__phone strong {
        font-size: 13px;
    }

    .k2k-header__main-inner {
        padding-right: 13px;
        padding-left: 13px;
    }

    .k2k-header__logo img {
        width: 185px;
    }

    .k2k-header__mobile-centres > div {
        grid-template-columns: 1fr;
    }
}