/* ==========================================================================
   NHB — PUBLIC SERVICES
   ========================================================================== */


/* ==========================================================================
   CATEGORY NAV
   ========================================================================== */


.service-category-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 20;

    border-top: 1px solid #dedbd5;
    border-bottom: 1px solid #dedbd5;

    background: rgba(245,
            243,
            239,
            0.96);

    backdrop-filter: blur(12px);
}


.service-category-nav {
    display: flex;
    gap: 34px;

    width: min(1180px,
            calc(100% - 64px));

    margin: 0 auto;
    padding: 21px 0;

    overflow-x: auto;

    scrollbar-width: none;
}


.service-category-nav::-webkit-scrollbar {
    display: none;
}


.service-category-nav a {
    flex: 0 0 auto;

    color: #55514b;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 160ms ease,
        opacity 160ms ease;
}


.service-category-nav a:hover {
    color: #b6963c;
}


/* ==========================================================================
   CATALOGUE
   ========================================================================== */


.public-services {
    min-height: 420px;

    padding:
        0 32px 110px;

    background: #f5f3ef;
}


.public-services-list {
    width: min(1180px,
            100%);

    margin: 0 auto;
}


.services-message {
    width: min(1180px,
            100%);

    margin: 0 auto;

    padding: 80px 0;

    color: #68645e;

    text-align: center;
}


.services-error {
    max-width: 520px;

    line-height: 1.7;
}


/* ==========================================================================
   CATEGORY
   ========================================================================== */


.service-category {
    display: grid;

    grid-template-columns:
        minmax(220px,
            0.72fr) minmax(0,
            1.6fr);

    gap: 70px;

    padding: 76px 0;

    border-bottom:
        1px solid #d9d5ce;

    scroll-margin-top: 90px;
}


.service-category:first-child {
    padding-top: 70px;
}


.service-category:last-child {
    border-bottom: 0;
}


.service-category-heading {
    position: sticky;
    top: 100px;

    align-self: start;
}


.service-category-number {
    display: block;

    margin-bottom: 20px;

    color: #b6963c;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}


.service-category-heading h2 {
    max-width: 330px;

    margin: 0;

    color: #111111;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(40px,
            4.5vw,
            64px);

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -0.04em;
}


/* ==========================================================================
   SERVICE ROWS
   ========================================================================== */


.service-items {
    border-top:
        1px solid #aaa59d;
}


.public-service {
    display: grid;

    grid-template-columns:
        minmax(0,
            1fr) auto;

    gap: 40px;

    padding: 29px 0;

    border-bottom:
        1px solid #d9d5ce;
}


.public-service-main {
    min-width: 0;
}


.public-service h3 {
    margin: 0;

    color: #171717;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(24px,
            2.3vw,
            34px);

    font-weight: 400;

    line-height: 1.1;
}


.public-service-description {
    max-width: 580px;

    margin: 11px 0 0;

    color: #716d67;

    font-size: 13px;

    line-height: 1.65;
}


.public-service-meta {
    display: flex;

    align-items: flex-start;

    gap: 42px;
}


.public-service-meta-item {
    min-width: 74px;
}


.public-service-meta-label {
    display: block;

    margin-bottom: 7px;

    color: #88837c;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.public-service-meta-value {
    color: #171717;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 21px;

    white-space: nowrap;
}


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


.services-booking {
    padding: 115px 32px;

    background: #111111;

    color: #ffffff;

    text-align: center;
}


.services-booking-inner {
    width: min(760px,
            100%);

    margin: 0 auto;
}


.services-booking-eyebrow {
    margin: 0 0 22px;

    color: #c2a348;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;

    text-transform: uppercase;
}


.services-booking h2 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(48px,
            6vw,
            78px);

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -0.045em;
}


.services-booking h2 span {
    display: block;

    font-style: italic;
}


.services-booking-inner>p:not(.services-booking-eyebrow) {
    max-width: 530px;

    margin: 30px auto 0;

    color: #b9b7b2;

    font-size: 14px;

    line-height: 1.75;
}


.services-booking-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    margin-top: 38px;

    padding: 0 32px;

    background: #b99a3d;

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        background 160ms ease,
        transform 160ms ease;
}


.services-booking-button:hover {
    background: #c8a94a;

    transform: translateY(-1px);
}


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


@media (max-width: 800px) {

    .service-category-nav {
        width: 100%;

        gap: 26px;

        padding:
            18px 22px;
    }


    .public-services {
        padding:
            0 22px 80px;
    }


    .service-category,
    .service-category:first-child {
        display: block;

        padding:
            52px 0;
    }


    .service-category-heading {
        position: static;

        margin-bottom: 40px;
    }


    .service-category-heading h2 {
        max-width: none;

        font-size: 45px;
    }


    .public-service {
        display: block;

        padding: 25px 0;
    }


    .public-service-meta {
        margin-top: 20px;

        gap: 32px;
    }


    .public-service-meta-value {
        font-size: 18px;
    }


    .services-booking {
        padding:
            90px 22px;
    }

}