/* =========================================================
   HB GROUP - AREA / LOCATION PAGES
========================================================= */

.areas-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--hb-blue-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.areas-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--hb-blue);
}

.areas-hero,
.local-hero,
.town-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 88px;
    background:
        radial-gradient(circle at 85% 20%, rgba(38, 140, 255, .15), transparent 32%),
        radial-gradient(circle at 95% 85%, rgba(255, 56, 56, .08), transparent 28%),
        #050505;
    color: #fff;
}

.areas-hero::after,
.local-hero::after,
.town-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, #000, transparent);
}

.areas-hero .container,
.local-hero .container,
.town-hero .container {
    position: relative;
    z-index: 1;
}

.areas-hero__grid,
.local-hero__grid,
.town-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 70px;
    align-items: end;
}

.areas-hero h1,
.local-hero h1,
.town-hero h1 {
    max-width: 850px;
    margin: 18px 0 22px;
    font-size: clamp(48px, 6vw, 86px);
    line-height: .96;
    letter-spacing: -.055em;
}

.areas-hero h1 span,
.local-hero h1 span,
.town-hero h1 span {
    color: var(--hb-blue-light);
}

.areas-hero__content>p,
.local-hero__grid>div>p,
.town-hero__grid>div>p {
    max-width: 730px;
    margin: 0;
    color: #a2acba;
    font-size: 16px;
    line-height: 1.8;
}

.areas-hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

.areas-phone {
    color: #fff;
    font-size: 14px;
    font-weight: 750;
}

.areas-hero__stats {
    display: grid;
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .09);
}

.areas-hero__stats>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    background: rgba(5, 5, 5, .88);
}

.areas-hero__stats strong {
    color: #fff;
    font-size: 24px;
}

.areas-hero__stats span {
    color: #7f8998;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.areas-regions,
.towns-section,
.areas-all,
.nearby-section {
    padding: 82px 0;
    background: #f6f7f9;
}

.areas-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 35px;
}

.areas-heading h2 {
    margin: 10px 0 0;
    color: #0b0d11;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -.04em;
}

.areas-heading>p {
    max-width: 520px;
    margin: 0;
    color: #697384;
    font-size: 13px;
    line-height: 1.7;
}

.area-slider {
    position: relative;
}

.area-slider__controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 14px;
}

.area-slider__controls button {
    width: 45px;
    height: 45px;
    border: 1px solid #dce1e8;
    border-radius: 50%;
    background: #fff;
    color: #11151c;
    cursor: pointer;
    transition: .2s ease;
}

.area-slider__controls button:hover {
    background: #050505;
    color: #fff;
    border-color: #050505;
}

.area-slider__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.region-card,
.town-card {
    min-width: 0;
    border: 1px solid #e1e5eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(5, 9, 18, .06);
}

.region-card {
    padding: 26px;
    display: flex;
    flex-direction: column;
    min-height: 470px;
}

.region-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.region-card__number {
    color: var(--hb-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.region-card__type {
    padding: 5px 8px;
    border-radius: 999px;
    background: #f0f3f7;
    color: #7a8494;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.region-card h3 {
    margin: 28px 0 11px;
    color: #080b10;
    font-size: 31px;
    letter-spacing: -.035em;
}

.region-card>p {
    margin: 0;
    color: #6e7888;
    font-size: 12px;
    line-height: 1.7;
}

.region-card__places {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
}

.region-card__places a {
    padding: 6px 8px;
    border: 1px solid #e6eaf0;
    border-radius: 6px;
    color: #536071;
    font-size: 9px;
    font-weight: 650;
}

.region-card__places a:hover {
    border-color: rgba(38, 140, 255, .35);
    color: var(--hb-blue);
}

.region-card__footer {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid #edf0f3;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.region-card__footer span {
    color: #9aa2af;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.region-card__footer a {
    color: #0b0e13;
    font-size: 10px;
    font-weight: 800;
}

.area-slider__progress {
    display: none;
    height: 2px;
    margin-top: 18px;
    background: #dce1e7;
    overflow: hidden;
}

.area-slider__progress span {
    display: block;
    width: 25%;
    height: 100%;
    background: var(--hb-blue);
    transform-origin: left;
}

.areas-services,
.local-service-copy,
.town-services,
.town-faq {
    padding: 90px 0;
    background: #050505;
    color: #fff;
}

.areas-services__grid {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: 80px;
}

.areas-services__intro h2 {
    margin: 14px 0 18px;
    font-size: clamp(35px, 4.3vw, 58px);
    line-height: 1;
    letter-spacing: -.045em;
}

.areas-services__intro p {
    color: #8994a4;
    font-size: 13px;
    line-height: 1.8;
}

.areas-services__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid rgba(255, 255, 255, .08);
}

.areas-services__cards a {
    min-height: 140px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-right: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: background .2s ease;
}

.areas-services__cards a:hover {
    background: rgba(38, 140, 255, .08);
}

.areas-services__cards span {
    color: var(--hb-blue);
    font-size: 9px;
    font-weight: 800;
}

.areas-services__cards strong {
    margin-top: 14px;
    font-size: 16px;
}

.areas-services__cards small {
    margin-top: 4px;
    color: #727c8c;
    font-size: 10px;
}

.areas-directory {
    display: grid;
    gap: 18px;
}

.directory-group {
    border: 1px solid #e2e6ec;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.directory-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid #edf0f3;
}

.directory-group__head h3 {
    margin: 0;
    font-size: 21px;
}

.directory-group__head a {
    color: var(--hb-blue);
    font-size: 10px;
    font-weight: 800;
}

.directory-group__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.directory-group__links a {
    width: 20%;
    padding: 12px 18px;
    border-right: 1px solid #f0f2f5;
    border-bottom: 1px solid #f0f2f5;
    color: #596577;
    font-size: 10px;
}

.directory-group__links a:hover {
    color: var(--hb-blue);
    background: #f8fbff;
}

.areas-cta {
    padding: 55px 0;
    background:
        radial-gradient(circle at 85% 50%, rgba(38, 140, 255, .16), transparent 32%),
        #0a0a0c;
    color: #fff;
}

.areas-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.areas-cta h2 {
    margin: 9px 0 0;
    font-size: clamp(29px, 4vw, 48px);
    letter-spacing: -.04em;
}

.areas-cta__inner>div:last-child {
    display: flex;
    align-items: center;
    gap: 25px;
}

.areas-cta__inner>div:last-child>a:last-child {
    font-weight: 800;
}

/* Region pages */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 44px;
    color: #697587;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.breadcrumbs a:hover {
    color: var(--hb-blue-light);
}

.local-hero__panel,
.town-hero__aside {
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .035);
    backdrop-filter: blur(10px);
}

.local-hero__panel {
    padding: 25px;
}

.local-hero__panel>span,
.town-hero__aside>span {
    display: block;
    margin-bottom: 13px;
    color: #667385;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.local-hero__panel a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .075);
    color: #cbd3de;
    font-size: 11px;
    font-weight: 650;
}

.local-hero__panel a:hover {
    color: var(--hb-blue-light);
}

.town-card-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.town-card-track::-webkit-scrollbar {
    display: none;
}

.town-card {
    min-width: 280px;
    flex: 0 0 280px;
    min-height: 230px;
    padding: 24px;
    scroll-snap-align: start;
    transition: transform .2s ease, border-color .2s ease;
}

.town-card:hover {
    transform: translateY(-4px);
    border-color: rgba(38, 140, 255, .35);
}

.town-card>span {
    color: var(--hb-blue);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.town-card h3 {
    margin: 24px 0 10px;
    font-size: 22px;
    letter-spacing: -.03em;
}

.town-card p {
    margin: 0;
    color: #798393;
    font-size: 11px;
    line-height: 1.6;
}

.town-card strong {
    display: block;
    margin-top: 22px;
    font-size: 10px;
}

.local-service-copy__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, .08);
}

.local-service-copy article {
    padding: 32px;
    background: #090a0d;
}

.local-service-copy article>span {
    color: var(--hb-blue-light);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.local-service-copy h2 {
    margin: 15px 0;
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.local-service-copy p {
    color: #7e8999;
    font-size: 12px;
    line-height: 1.8;
}

.local-service-copy a {
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.article-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-links a {
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 5px;
}

/* Town pages */
.town-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 28px;
}

.town-hero__chips a {
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 5px;
    color: #9ea8b7;
    font-size: 9px;
    font-weight: 700;
}

.town-hero__chips a:hover {
    color: #fff;
    border-color: rgba(38, 140, 255, .4);
}

.town-hero__aside {
    padding: 28px;
}

.town-hero__aside strong {
    display: block;
    margin-bottom: 18px;
    font-size: 23px;
}

.town-hero__aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.town-hero__aside li {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, .075);
    color: #8792a2;
    font-size: 10px;
}

.town-hero__aside li::before {
    content: "✓";
    color: var(--hb-blue-light);
    margin-right: 8px;
}

.town-intro {
    padding: 75px 0;
    background: #fff;
}

.town-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 80px;
}

.town-intro h2 {
    margin: 13px 0 0;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -.04em;
}

.town-intro p {
    margin: 0 0 15px;
    color: #657184;
    font-size: 13px;
    line-height: 1.8;
}

.town-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.town-service-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: #0b0c0f;
}

.town-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--service-colour, var(--hb-blue));
}

.town-service-card--red {
    --service-colour: var(--hb-red);
}

.town-service-card--blue {
    --service-colour: var(--hb-blue);
}

.town-service-card>span {
    color: var(--service-colour);
    font-size: 9px;
    font-weight: 800;
}

.town-service-card h2 {
    margin: 55px 0 14px;
    font-size: 24px;
    line-height: 1.1;
}

.town-service-card p {
    color: #7d8796;
    font-size: 11px;
    line-height: 1.75;
}

.town-service-card a {
    display: inline-block;
    margin-top: 18px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.nearby-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.nearby-links a {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 20px;
    border: 1px solid #e0e5eb;
    border-radius: 10px;
    background: #fff;
    color: #293344;
    font-size: 11px;
    font-weight: 700;
}

.nearby-links a b {
    color: var(--hb-blue);
}

.town-faq__grid {
    display: grid;
    grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
    gap: 80px;
}

.town-faq h2 {
    margin: 13px 0 0;
    font-size: clamp(33px, 4vw, 52px);
    line-height: 1;
}

.faq-list details {
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.faq-list details:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.faq-list summary {
    position: relative;
    padding: 20px 40px 20px 0;
    cursor: pointer;
    color: #e5e9ef;
    font-size: 12px;
    font-weight: 700;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 5px;
    top: 18px;
    color: var(--hb-blue);
    font-size: 18px;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list p {
    margin: 0;
    padding: 0 40px 20px 0;
    color: #778294;
    font-size: 11px;
    line-height: 1.75;
}

.areas-text-link {
    color: var(--hb-blue);
    font-size: 10px;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 1050px) {
    .area-slider__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .directory-group__links a {
        width: 25%;
    }

    .town-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {

    .areas-hero,
    .local-hero,
    .town-hero {
        padding: 60px 0;
    }

    .areas-hero__grid,
    .local-hero__grid,
    .town-hero__grid,
    .areas-services__grid,
    .town-intro__grid,
    .town-faq__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .areas-hero h1,
    .local-hero h1,
    .town-hero h1 {
        font-size: clamp(43px, 12vw, 62px);
    }

    .areas-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .area-slider__controls {
        display: flex;
    }

    .area-slider__track {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .area-slider__track::-webkit-scrollbar {
        display: none;
    }

    .region-card {
        min-width: 86%;
        flex: 0 0 86%;
        scroll-snap-align: start;
        min-height: 430px;
    }

    .area-slider__progress {
        display: block;
    }

    .areas-services__cards {
        grid-template-columns: 1fr;
    }

    .directory-group__links {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .directory-group__links::-webkit-scrollbar {
        display: none;
    }

    .directory-group__links a {
        min-width: 48%;
        width: 48%;
        flex: 0 0 48%;
        scroll-snap-align: start;
    }

    .local-service-copy__grid,
    .town-services__grid {
        grid-template-columns: 1fr;
    }

    .local-service-copy__grid {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        background: transparent;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .local-service-copy__grid article {
        min-width: 88%;
        flex: 0 0 88%;
        scroll-snap-align: start;
        border: 1px solid rgba(255, 255, 255, .08);
    }

    .town-services__grid {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .town-service-card {
        min-width: 88%;
        flex: 0 0 88%;
        scroll-snap-align: start;
    }

    .nearby-links {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .nearby-links a {
        min-width: 72%;
        flex: 0 0 72%;
        scroll-snap-align: start;
    }

    .areas-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {

    .areas-regions,
    .towns-section,
    .areas-all,
    .nearby-section,
    .areas-services,
    .local-service-copy,
    .town-services,
    .town-faq {
        padding: 58px 0;
    }

    .areas-hero__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .areas-hero__actions .btn {
        width: 100%;
    }

    .region-card {
        min-width: 91%;
        flex-basis: 91%;
    }

    .town-card {
        min-width: 86%;
        flex-basis: 86%;
    }

    .directory-group__links a {
        min-width: 70%;
        flex-basis: 70%;
    }

    .areas-cta__inner>div:last-child {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
    }

    .areas-cta__inner .btn {
        width: 100%;
    }
}