/* =============================================================================
   Location pages — /locations.html, /locations/<city>.html,
                    /locations/<city>/<service>.html
   =============================================================================
   Deliberately plain. These pages live or die on what they say, not on how
   they look, and a heavy layout only gets between the reader and the answer
   they came for. Reuses the site's existing colour variables rather than
   introducing a palette of its own.
   ========================================================================== */

/* The site's --bg-color is #FFFFFF, so leaning on it for a panel tint gives a
   white box on a white card — no separation at all. These panels carry their
   own tint, derived from the accent so it follows a brand change. */
.locations-page, .location-page{
    --loc-tint: rgba(10, 73, 166, .045);
    --loc-rule: rgba(3, 29, 54, .10);
}

/* ── Index: lede ───────────────────────────────────────────────────────── */
.loc-lede{
    max-width: 66ch;
    margin: 0 0 44px;
}
.loc-lede p{ font-size: 18px; line-height: 1.8em; margin: 0 0 12px; }
.loc-lede-note,
.loc-lede-note p{ font-size: 15px; line-height: 1.75em; color: var(--text-color); margin: 0; }
.loc-lede-note a{ color: var(--accent-color); font-weight: 600; }

/* ── Index: feature card ─────────────────────────────────────────────────────
   The first city runs wide. With one city published a plain grid renders as a
   single box floating in a row of empty space, which reads as a bug rather
   than as a short list — this reads as a deliberate lead item either way. */
.loc-feature{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 0;
    background: #fff;
    border: 1px solid rgba(3, 29, 54, .1);
    border-top: 3px solid var(--accent-color, #0A49A6);
    margin-bottom: 28px;
}

.loc-feature-main{ padding: 38px 40px 34px; }
.loc-feature-side{
    padding: 38px 32px 34px;
    background: var(--loc-tint, #F4F7FB);
    border-left: 1px solid var(--loc-rule, rgba(3, 29, 54, .1));
}

.loc-feature-name{ font-size: 34px; line-height: 1.2em; margin: 0 0 14px; }
.loc-feature-name a{ color: var(--primary-color); text-decoration: none; }
.loc-feature-name a:hover{ color: var(--accent-color); }

.loc-feature-intro p{ font-size: 16px; line-height: 1.8em; margin: 0 0 14px; max-width: 58ch; }

.loc-feature-proof,
.loc-card-proof{
    font-size: 14px; color: var(--text-color); margin: 0 0 18px;
}
.loc-feature-proof a,
.loc-card-proof a{ color: var(--accent-color); font-weight: 600; }

.loc-feature-link{
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 700;
    color: var(--accent-color); text-decoration: none;
}
.loc-feature-link:hover span{ transform: translateX(3px); }
.loc-feature-link span{ transition: transform .2s ease; }

.loc-side-kicker{
    font-size: 12px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--accent-color);
    margin: 0 0 12px;
}

/* ── Index: the rest ─────────────────────────────────────────────────────── */
.loc-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.loc-card{
    background: #fff;
    border: 1px solid rgba(3, 29, 54, .1);
    border-top: 3px solid var(--accent-color, #0A49A6);
    padding: 30px 28px 32px;
}

.loc-card-name{ font-size: 24px; line-height: 1.25em; margin: 0 0 12px; }
.loc-card-name a{ color: var(--primary-color); text-decoration: none; }
.loc-card-name a:hover{ color: var(--accent-color); }

.loc-card-region{
    font-size: 12px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--accent-color);
    margin: 0 0 6px;
}

.loc-card-intro p{ font-size: 15px; line-height: 1.75em; margin: 0 0 16px; }

/* Shared by the feature card and the grid cards. */
.loc-link-list{ list-style: none; margin: 0 0 18px; padding: 0; }
.loc-link-list li{
    border-bottom: 1px solid rgba(3, 29, 54, .08);
}
.loc-link-list li:last-child{ border-bottom: 0; }
.loc-link-list a{
    display: block; padding: 9px 0;
    font-size: 15px; font-weight: 600;
    color: var(--primary-color); text-decoration: none;
}
.loc-link-list a:hover{ color: var(--accent-color); }

.loc-empty{ text-align: center; max-width: 560px; margin: 40px auto; }

/* A short list should not sit stranded above a 110px gap. The grid supplies
   the lower rhythm when there is one; without it the section tightens up. */
.loc-index-section:not(:has(.loc-grid)){ padding-bottom: 60px; }

/* ── Draft banner ───────────────────────────────────────────────────────────
   Loud on purpose. An unpublished page that looks published is how a thin
   draft ends up being shared, linked and eventually indexed. */
.loc-draft-note{
    background: #FFF4D6;
    border-bottom: 2px solid #C8962A;
    color: #5A4208;
    font-size: 14px; line-height: 1.6em;
    padding: 12px 20px;
    text-align: center;
}

/* ── Detail ─────────────────────────────────────────────────────────────── */
.loc-breadcrumb{
    font-size: 13px; color: var(--text-color);
    margin-bottom: 26px;
}
.loc-breadcrumb a{ color: var(--accent-color); text-decoration: none; }
.loc-breadcrumb a:hover{ text-decoration: underline; }
.loc-breadcrumb span{ margin: 0 6px; }
.loc-breadcrumb span:last-child{ margin: 0; color: var(--primary-color); font-weight: 600; }

.loc-layout{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 44px;
    align-items: start;
}

.loc-h1{ font-size: 38px; line-height: 1.22em; margin: 0 0 18px; }

/* A measure this wide is about 75 characters at this size — past roughly 90
   the eye loses the start of the next line on every return. */
.loc-intro p{ font-size: 18px; line-height: 1.75em; margin: 0 0 18px; }
.loc-body{ max-width: 68ch; }
.loc-body h2{ font-size: 24px; line-height: 1.3em; margin: 34px 0 12px; }
.loc-body p{ font-size: 16px; line-height: 1.8em; margin: 0 0 16px; }
.loc-body ul{ margin: 0 0 16px 20px; }
.loc-body li{ font-size: 16px; line-height: 1.8em; }

/* ── Local proof ────────────────────────────────────────────────────────── */
.loc-proof{
    background: var(--loc-tint, #F4F7FB);
    border-left: 3px solid var(--accent-color);
    padding: 24px 26px;
    margin: 34px 0;
    max-width: 68ch;
}
.loc-proof-label{
    font-size: 12px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--accent-color); margin: 0 0 6px;
}
.loc-proof-title{ font-size: 20px; margin: 0 0 8px; }
.loc-proof-copy{ font-size: 15px; line-height: 1.7em; margin: 0 0 12px; }
.loc-proof-link{ font-size: 15px; font-weight: 600; color: var(--accent-color); }

/* ── FAQs ───────────────────────────────────────────────────────────────── */
.loc-faqs{ margin-top: 40px; max-width: 68ch; }
.loc-faqs h2{ font-size: 24px; margin: 0 0 16px; }

.loc-faq{
    border-bottom: 1px solid rgba(3, 29, 54, .12);
    padding: 14px 0;
}
.loc-faq summary{
    font-size: 16px; font-weight: 600; cursor: pointer;
    color: var(--primary-color);
    list-style: none;
}
.loc-faq summary::-webkit-details-marker{ display: none; }
.loc-faq summary::after{ content: '+'; float: right; color: var(--accent-color); font-weight: 400; }
.loc-faq[open] summary::after{ content: '\2212'; }
.loc-faq > div{ font-size: 15px; line-height: 1.8em; padding-top: 10px; }

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.loc-side-box{
    background: #fff;
    border: 1px solid rgba(3, 29, 54, .1);
    padding: 22px 22px 24px;
    margin-bottom: 20px;
}
.loc-side-title{ font-size: 17px; margin: 0 0 12px; }
.loc-side-copy{ font-size: 14px; line-height: 1.7em; margin: 0 0 12px; }

.loc-side-list{ list-style: none; margin: 0; padding: 0; }
.loc-side-list li{ font-size: 15px; padding: 7px 0; border-bottom: 1px solid rgba(3, 29, 54, .07); }
.loc-side-list li:last-child{ border-bottom: 0; }
.loc-side-list a{ color: var(--accent-color); text-decoration: none; }
.loc-side-list a:hover{ text-decoration: underline; }
.loc-side-list li.is-current span{ font-weight: 700; color: var(--primary-color); }

.loc-side-draft{
    font-size: 11px; font-style: normal; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    color: #8A6A10; background: #FFF4D6;
    padding: 1px 6px; margin-left: 6px;
}

.loc-side-link{ font-size: 15px; font-weight: 600; color: var(--accent-color); }

.loc-side-cta{ background: var(--primary-color); border-color: var(--primary-color); }
.loc-side-cta .loc-side-title,
.loc-side-cta .loc-side-copy{ color: #fff; }
.loc-side-btn{
    display: inline-block;
    background: var(--accent-color); color: #fff;
    font-size: 14px; font-weight: 600;
    padding: 10px 20px; text-decoration: none;
}
.loc-side-btn:hover{ opacity: .9; color: #fff; }

/* ── Narrow ─────────────────────────────────────────────────────────────── */
@media only screen and (max-width: 991px){
    .loc-layout{ grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .loc-h1{ font-size: 30px; }
    .loc-intro p{ font-size: 16px; }

    /* The side panel stacks under the copy rather than squeezing to nothing. */
    .loc-feature{ grid-template-columns: minmax(0, 1fr); }
    .loc-feature-side{
        border-left: 0;
        border-top: 1px solid rgba(3, 29, 54, .08);
    }
    .loc-feature-main{ padding: 30px 28px 26px; }
    .loc-feature-side{ padding: 26px 28px 30px; }
    .loc-feature-name{ font-size: 28px; }
    .loc-lede p{ font-size: 16px; }
}

@media only screen and (max-width: 575px){
    .loc-h1{ font-size: 26px; }
    .loc-card{ padding: 24px 20px 26px; }
    .loc-feature-main,
    .loc-feature-side{ padding: 24px 20px; }
    .loc-feature-name{ font-size: 24px; }
    .loc-lede{ margin-bottom: 32px; }
}

/* ── Place block on a service×city page ───────────────────────────────────
   Sits below the shared sub-service sections, where the city-specific intro
   and the local case study go. */
.loc-place-section{ padding: 50px 0 10px; }
.loc-place-inner{ max-width: 68ch; }
.loc-place-inner .loc-intro p{ font-size: 17px; line-height: 1.8em; }
.loc-place-inner .loc-proof{ margin-top: 24px; }

/* City hub */
.loc-hub-copy{ max-width: 68ch; margin-bottom: 36px; }
.loc-hub-heading{ font-size: 26px; margin: 0 0 18px; }
