/* ==========================================================================
   Beldenn Chartered Accountants — site stylesheet
   Design tokens → base → layout → components. Edit colours/fonts in :root.
   ========================================================================== */

:root {
    /* Brand palette: deep blue-navy + professional blue accent + cool neutrals */
    --ink:          #0B2138;
    --ink-700:      #0E2A45;
    --ink-600:      #163A5A;
    --ink-500:      #1F4D72;
    --brand:        #1A66A8;   /* primary blue — buttons, links, accents */
    --brand-dark:   #134E78;   /* button hover (darker for contrast) */
    --brand-bright: #2E86DE;   /* lighter blue for dark backgrounds & hovers */
    --brand-soft:   rgba(26, 102, 168, .10);

    --paper:        #F4F6F8;
    --paper-2:      #EAEEF1;
    --surface:      #FFFFFF;
    --line:         #DCE3E9;
    --line-strong:  #C7D1D9;

    --text:         #162834;
    --muted:        #4E6573;
    --muted-light:  #A7B8C4;   /* secondary text on dark */

    --success:      #1C7A50;
    --success-soft: #E4F2EB;
    --danger:       #C0392B;
    --danger-soft:  #FBEAE8;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body:    'Libre Franklin', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    --container: 1180px;
    --radius-sm: 9px;
    --radius:    15px;
    --radius-lg: 24px;

    --shadow-sm: 0 1px 2px rgba(11,34,51,.06), 0 1px 3px rgba(11,34,51,.05);
    --shadow:    0 14px 36px -16px rgba(11,34,51,.20);
    --shadow-lg: 0 28px 64px -24px rgba(11,34,51,.30);

    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------- reset/base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
a { color: var(--ink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand); }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------------ layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.25rem); }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--alt { background: var(--paper); }
.section--intro { padding-bottom: clamp(2rem, 4vw, 3rem); }

.grid-2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.grid-2--wide { grid-template-columns: 1.1fr .9fr; align-items: center; }
.grid-2--start { align-items: start; }
.grid-2--contact { grid-template-columns: 1fr 1.05fr; align-items: start; }

.section-head { max-width: 720px; margin: 0 auto clamp(2.25rem, 4vw, 3.25rem); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section__title { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem); }
.section__title--light { color: #fff; }
.section__lead { font-size: 1.15rem; color: var(--muted); margin-top: 1rem; margin-bottom: 0; }
.section__action { margin-top: clamp(2rem, 4vw, 2.75rem); text-align: center; }
.section-head--left + * .section__action,
.section-head--left ~ .section__action { text-align: left; }

.prose p { color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------- eyebrow (sig) */
.eyebrow {
    display: inline-flex; align-items: center; gap: .7rem;
    font-family: var(--font-mono); font-weight: 600; font-size: .72rem;
    letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
    margin-bottom: 1.1rem;
}
.eyebrow__rule { width: 30px; height: 2px; background: var(--brand); display: inline-block; flex: none; }
.eyebrow--light { color: var(--brand-bright); }
.eyebrow--light .eyebrow__rule { background: var(--brand); }

/* ------------------------------------------------------------------ buttons */
.btn {
    --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--font-body); font-weight: 600; font-size: .98rem; line-height: 1;
    padding: .85rem 1.5rem; border-radius: 999px; cursor: pointer;
    background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
    transition: transform .15s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn__icon { width: 1.1em; height: 1.1em; }

.btn--primary { --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand); box-shadow: 0 10px 24px -12px rgba(26,102,168,.65); }
.btn--primary:hover { --btn-bg: var(--brand-dark); --btn-bd: var(--brand-dark); --btn-fg: #fff; }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.7); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); }
.link-arrow__icon { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover .link-arrow__icon { transform: translateX(4px); }

/* icons inherit current text colour */
.icon { width: 1.4em; height: 1.4em; color: inherit; }

/* =============================================================== HEADER/NAV */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); letter-spacing: -.01em; }
.brand__tag { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .19em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__link {
    display: inline-block; padding: .55rem .85rem; border-radius: 8px;
    font-weight: 500; font-size: .97rem; color: var(--text);
}
.nav__link:hover { color: var(--ink); background: var(--paper); }
.nav__link.active { color: var(--ink); }
.nav__link.active { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 8px 8px 0 0; }

.nav__cta { display: flex; align-items: center; gap: 1.1rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav__phone:hover { color: var(--brand); }
.nav__phone-icon { width: 1.05em; height: 1.05em; color: var(--brand); }

.nav-toggle, .nav-burger { display: none; }
.nav-burger { width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 11px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); background: var(--surface); }
.nav-burger__close { display: none; }

/* ==================================================================== HERO */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(120% 90% at 85% -10%, rgba(26,102,168,.20), transparent 55%),
        radial-gradient(90% 80% at 8% 110%, rgba(30,71,95,.55), transparent 60%),
        linear-gradient(160deg, #0B2233 0%, #0C2A3E 60%, #0B2233 100%);
}
.hero__bg::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: repeating-linear-gradient(180deg, transparent 0 38px, rgba(255,255,255,.035) 38px 39px);
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.75rem, 8vw, 6.75rem); }
.hero__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4rem); color: #fff; margin: .25rem 0 1.25rem; max-width: 14ch; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: #DCE6EC; max-width: 54ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.25rem; }
.hero__points { display: flex; flex-direction: column; gap: .65rem; }
.hero__points li { display: flex; align-items: center; gap: .65rem; color: #C7D6DE; font-size: 1rem; }
.hero__tick { width: 1.15em; height: 1.15em; color: var(--brand-bright); flex: none; }

/* glance card */
.hero__aside { display: flex; justify-content: center; }
.glance-card {
    width: 100%; max-width: 380px; background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
    padding: 1.9rem; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.glance-card__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.glance-card__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-bright); white-space: nowrap; }
.glance-card__rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(26,102,168,.6), transparent); }
.glance-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; margin: 0 0 1.7rem; }
.glance-stat__figure { font-family: var(--font-mono); font-weight: 600; font-size: 2.1rem; color: #fff; line-height: 1; margin: 0; }
.glance-stat__label { font-size: .82rem; color: var(--muted-light); margin: .5rem 0 0; line-height: 1.35; }
.glance-card__foot { display: flex; align-items: center; gap: .6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #C7D6DE; }
.glance-card__pin { width: 1.2em; height: 1.2em; color: var(--brand-bright); flex: none; }

/* ================================================================== TRUST */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust__inner { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; justify-content: center; padding-block: 1.75rem; }
.trust__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin: 0; }
.accreditations { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; justify-content: center; }
.accreditation { display: inline-flex; align-items: center; padding: .5rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.accreditation__abbr { font-family: var(--font-mono); font-weight: 600; font-size: .82rem; letter-spacing: .04em; color: var(--ink); }

/* ================================================================== INTRO */
.intro__body p { color: var(--muted); font-size: 1.1rem; }
.intro__body .link-arrow { margin-top: .5rem; }

/* =========================================================== SERVICE CARDS */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.service-grid--compact { grid-template-columns: repeat(2, 1fr); }

.service-card {
    position: relative; display: flex; flex-direction: column; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.9rem 1.75rem; box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
    overflow: hidden;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--brand); transition: width .3s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); color: var(--text); }
.service-card:hover::before { width: 100%; }
.service-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 13px; background: var(--brand-soft); color: var(--ink); margin-bottom: 1.25rem; }
.service-card__icon .icon { width: 1.7em; height: 1.7em; }
.service-card__icon--sm { width: 46px; height: 46px; margin-bottom: 0; flex: none; }
.service-card__title { font-size: 1.3rem; margin-bottom: .55rem; }
.service-card__text { color: var(--muted); margin-bottom: 1.25rem; font-size: .99rem; }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.service-card__arrow { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.service-card:hover .service-card__arrow { transform: translateX(4px); color: var(--brand); }
.service-card:hover .service-card__more { color: var(--brand); }

.service-card--compact { flex-direction: row; align-items: center; gap: 1.1rem; padding: 1.35rem 1.5rem; }
.service-card--compact .service-card__title { font-size: 1.12rem; margin-bottom: .25rem; }
.service-card--compact .service-card__text { margin-bottom: 0; font-size: .92rem; }
.service-card__arrow--standalone { margin-left: auto; color: var(--muted); flex: none; }
.service-card--compact:hover .service-card__arrow--standalone { color: var(--brand); transform: translateX(4px); }

/* ============================================================ MTD FEATURE */
.mtd-feature { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.mtd-feature::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(80% 120% at 100% 0%, rgba(26,102,168,.16), transparent 55%); }
.mtd-feature__lead { color: #CFDDE5; font-size: 1.15rem; margin-bottom: 1.6rem; max-width: 52ch; }
.check-list { display: flex; flex-direction: column; gap: .85rem; margin: 0 0 1.9rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; }
.check-list__icon { width: 1.3em; height: 1.3em; color: var(--success); flex: none; margin-top: .12em; }
.check-list--light li { color: #DCE6EC; }
.check-list--light .check-list__icon { color: var(--brand-bright); }
.check-list--lg li { font-size: 1.08rem; }

.software-panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 1.9rem; }
.software-panel--light { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.software-panel__title { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--brand-bright); margin-bottom: 1.3rem; }
.software-panel--light .software-panel__title { color: var(--muted); }
.software-panel__grid { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.software-chip { display: inline-flex; align-items: center; padding: .55rem 1rem; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-weight: 600; font-size: .92rem; color: #fff; }
.software-panel--light .software-chip { background: var(--paper); border-color: var(--line); color: var(--ink); }
.software-chip--muted { background: transparent; border-style: dashed; color: var(--muted-light); font-weight: 500; }
.software-panel--light .software-chip--muted { color: var(--muted); }
.software-panel__note { display: flex; gap: .7rem; align-items: flex-start; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .92rem; color: #C7D6DE; }
.software-panel--light .software-panel__note { border-color: var(--line); color: var(--muted); }
.software-panel__icon { width: 1.5em; height: 1.5em; color: var(--brand-bright); flex: none; }
.software-panel--light .software-panel__icon { color: var(--brand); }

/* ============================================================ VALUE CARDS */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.value-card { padding: 1.75rem 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand); box-shadow: var(--shadow-sm); }
.value-card__title { font-size: 1.18rem; margin-bottom: .6rem; }
.value-card__text { color: var(--muted); font-size: .97rem; margin: 0; }

/* ================================================================== STEPS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 1rem; }
.step__num { font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; color: var(--brand); width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--brand); border-radius: 50%; }
.step__title { font-size: 1.18rem; margin-bottom: .45rem; }
.step__text { color: var(--muted); font-size: .97rem; margin: 0; }

/* ================================================================ SECTORS */
.sector-cloud { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; max-width: 940px; margin-inline: auto; }
.sector-pill { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.2rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-weight: 500; font-size: .98rem; color: var(--ink); }
.sector-pill__icon { width: 1.25em; height: 1.25em; color: var(--brand); }

.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.sector-card { padding: 1.85rem 1.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.sector-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sector-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; background: var(--brand-soft); color: var(--ink); margin-bottom: 1.1rem; }
.sector-card__icon .icon { width: 1.6em; height: 1.6em; }
.sector-card__title { font-size: 1.22rem; margin-bottom: .55rem; }
.sector-card__text { color: var(--muted); font-size: .97rem; margin: 0; }

.panel-note { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.6rem, 3vw, 2.25rem); background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); }
.panel-note__icon { width: 2.4em; height: 2.4em; color: var(--brand); flex: none; }
.panel-note__title { font-size: 1.3rem; margin-bottom: .5rem; }
.panel-note p { color: var(--muted); margin-bottom: .75rem; }

/* ============================================================ TESTIMONIALS */
.section--quote { background: var(--ink-700); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.section--quote::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(70% 90% at 0% 0%, rgba(30,71,95,.6), transparent 55%); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.quote-card { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); padding: 2rem 1.8rem; margin: 0; }
.quote-card__mark { position: absolute; top: .35rem; right: 1.1rem; font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: var(--brand); opacity: .4; }
.quote-card__text { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.5; color: #EAF1F5; margin: 0 0 1.5rem; position: relative; }
.quote-card__by { display: flex; flex-direction: column; gap: .15rem; }
.quote-card__author { font-weight: 600; color: #fff; }
.quote-card__company { font-size: .9rem; color: var(--muted-light); }

/* ================================================================ OFFICES */
.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.office-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.office-map { width: 100%; height: 260px; background: var(--paper-2); position: relative; }
.office-map__fallback { display: flex; align-items: center; justify-content: center; height: 100%; }
.office-card__body { padding: 1.6rem 1.7rem 1.8rem; }
.office-card__name { font-size: 1.35rem; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .8rem; }
.office-card__badge { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: .3rem .6rem; border-radius: 6px; }
.office-card__address { display: flex; flex-direction: column; gap: .15rem; color: var(--muted); margin-bottom: 1.1rem; }
.office-card__contacts { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.office-card__contacts a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.office-card__ic { width: 1.1em; height: 1.1em; color: var(--brand); }

.office-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.office-row:last-child { border-bottom: none; }
.office-row__map .office-map { height: 340px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.office-row__name { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; margin-bottom: 1rem; }
.office-row__address { display: flex; flex-direction: column; gap: .2rem; color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; }
.office-row__postcode { font-weight: 600; color: var(--text); }
.office-row__contacts { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.6rem; }
.office-row__contacts li { display: flex; align-items: center; gap: .75rem; }
.office-row__contacts a { font-weight: 600; }
.office-row__ic { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; background: var(--brand-soft); color: var(--ink); flex: none; }
.office-row__ic .icon { width: 1.2em; height: 1.2em; }

/* leaflet tweaks */
.leaflet-container { font-family: var(--font-body); }
.leaflet-popup-content { font-size: .92rem; }
.map-popup__name { font-weight: 700; color: var(--ink); display: block; margin-bottom: .15rem; }
.map-popup__addr { color: var(--muted); }
.map-popup__link { display: inline-block; margin-top: .4rem; font-weight: 600; color: var(--ink); }

/* ============================================================== PAGE HERO */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(110% 140% at 90% -20%, rgba(26,102,168,.18), transparent 55%),
        linear-gradient(155deg, #0B2233 0%, #0D2B40 65%, #0B2233 100%);
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: repeating-linear-gradient(180deg, transparent 0 38px, rgba(255,255,255,.03) 38px 39px);
    mask-image: linear-gradient(180deg, transparent, #000 40%, #000 75%, transparent);
}
.page-hero__inner { padding-block: clamp(3rem, 6vw, 5rem); max-width: 820px; }
.page-hero__title { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); color: #fff; margin: .35rem 0 0; }
.page-hero__lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: #D2DFE7; margin: 1.15rem 0 0; max-width: 60ch; }

.breadcrumb { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: var(--muted-light); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--muted-light); }
.breadcrumb a:hover { color: var(--brand-bright); }
.breadcrumb__sep { color: rgba(255,255,255,.3); }
.breadcrumb [aria-current="page"] { color: #fff; }

/* ============================================================ DETAIL PAGE */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.detail-main__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 15px; background: var(--brand-soft); color: var(--ink); margin-bottom: 1.5rem; }
.detail-main__icon .icon { width: 1.9em; height: 1.9em; }
.detail-main__summary { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.45; color: var(--ink); margin-bottom: 1.5rem; }
.detail-main p { color: var(--muted); font-size: 1.06rem; }
.detail-main__subhead { font-size: 1.5rem; margin: 2.25rem 0 1.25rem; }
.detail-main__cta { margin-top: 2.25rem; }

.detail-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.25rem; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); }
.aside-card__title { font-size: 1.05rem; font-family: var(--font-mono); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 1.2rem; }
.aside-links { display: flex; flex-direction: column; gap: .2rem; }
.aside-links a { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 9px; font-weight: 500; font-size: .97rem; color: var(--text); }
.aside-links a:hover { background: var(--paper); color: var(--ink); }
.aside-links__icon { width: 1.25em; height: 1.25em; color: var(--brand); flex: none; }
.aside-card__all { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: .9rem; }
.aside-card--contact { background: var(--ink); color: #fff; border-color: var(--ink); }
.aside-card--contact .aside-card__title { color: var(--brand-bright); }
.aside-card--contact p { color: #C7D6DE; font-size: .97rem; margin-bottom: 1.25rem; }
.aside-phone { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: #fff; margin-bottom: 1.25rem; }
.aside-phone:hover { color: var(--brand-bright); }
.aside-phone__icon { width: 1.1em; height: 1.1em; color: var(--brand-bright); }
.aside-card--contact .btn--outline { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.aside-card--contact .btn--outline:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

/* ================================================================ MTD page */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.85rem 1.7rem; box-shadow: var(--shadow-sm); }
.info-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; background: var(--brand-soft); color: var(--ink); margin-bottom: 1.1rem; }
.info-card__icon .icon { width: 1.55em; height: 1.55em; }
.info-card__title { font-size: 1.2rem; margin-bottom: .55rem; }
.info-card__text { color: var(--muted); font-size: .98rem; margin: 0; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 0; }
.timeline__item { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 1.75rem; padding-bottom: 2.25rem; }
.timeline__item::before { content: ""; position: absolute; left: 145px; top: .65rem; bottom: -.4rem; width: 2px; background: var(--line-strong); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }
.timeline__dot { position: absolute; left: 138px; top: .45rem; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--brand); z-index: 1; }
.timeline__date { font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; color: var(--ink); text-align: right; padding-top: .25rem; }
.timeline__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm); }
.timeline__threshold { font-size: 1.2rem; margin-bottom: .4rem; }
.timeline__detail { color: var(--muted); font-size: .98rem; margin: 0; }

.callout { display: flex; gap: .85rem; align-items: flex-start; max-width: 760px; margin: 1.5rem auto 0; padding: 1.3rem 1.5rem; background: var(--success-soft); border: 1px solid #BFE0CF; border-radius: var(--radius); color: #14543A; font-size: .98rem; }
.callout__icon { width: 1.4em; height: 1.4em; color: var(--success); flex: none; margin-top: .1em; }
.callout span { line-height: 1.55; }

/* ================================================================== TEAM */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.team-card { text-align: center; }
.team-card__photo { width: 100%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--ink-600), var(--ink)); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__monogram { font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; color: var(--brand-bright); letter-spacing: .02em; }
.team-card__name { font-size: 1.2rem; margin-bottom: .2rem; }
.team-card__role { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: .6rem; }
.team-card__bio { color: var(--muted); font-size: .94rem; margin: 0; }

/* ============================================================== STAT STRIP */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.stat-strip__item { text-align: center; }
.stat-strip__figure { font-family: var(--font-mono); font-weight: 600; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); color: var(--ink); line-height: 1; margin: 0; }
.stat-strip__label { color: var(--muted); font-size: .92rem; margin: .55rem 0 0; }

/* ==================================================================== FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .85rem; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.6rem; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__chevron { width: 1.3em; height: 1.3em; color: var(--brand); flex: none; transition: transform .25s var(--ease); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__a { padding: 0 1.6rem 1.4rem; }
.faq__a p { color: var(--muted); margin: 0; }

/* ========================================================== CONTACT FORM */
.section--contact { background: var(--paper); }
.contact-intro .section__lead { margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-details li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-details__ic { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); color: var(--brand); flex: none; }
.contact-details__ic .icon { width: 1.3em; height: 1.3em; }
.contact-details__k { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact-details a { font-weight: 600; }

.contact-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-offices__name { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; margin-bottom: .5rem; }
.contact-offices__pin { width: 1.1em; height: 1.1em; color: var(--brand); }
.contact-offices address { color: var(--muted); font-size: .95rem; margin-bottom: .35rem; }

.contact-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.6rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--muted); }
.input { width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: .8rem .95rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.input:hover { border-color: var(--muted-light); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.input--select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234E6573' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.6rem; cursor: pointer; }
.input--textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.field--consent { margin-top: .25rem; }
.consent { display: flex; align-items: flex-start; gap: .65rem; font-weight: 400; font-size: .95rem; color: var(--muted); cursor: pointer; }
.consent input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--brand); flex: none; cursor: pointer; }

.contact-form__note { font-size: .85rem; color: var(--muted); text-align: center; margin: 1rem 0 0; }

/* Blazor validation states */
.input.invalid, .input.modified.invalid { border-color: var(--danger); }
.input.invalid:focus { box-shadow: 0 0 0 3px var(--danger-soft); }
.validation-message { color: var(--danger); font-size: .85rem; font-weight: 500; }

.form-success { text-align: center; padding: 1rem .5rem 1.5rem; }
.form-success__icon { width: 64px; height: 64px; margin: 0 auto 1.4rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--success-soft); color: var(--success); }
.form-success__icon .icon { width: 2em; height: 2em; }
.form-success__title { font-size: 1.7rem; margin-bottom: .75rem; }
.form-success p { color: var(--muted); }
.form-success__meta { margin-top: 1rem; }
.form-success__meta a { font-weight: 600; }

/* ============================================================== CTA BAND */
.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(80% 130% at 100% 0%, rgba(26,102,168,.20), transparent 55%), radial-gradient(70% 120% at 0% 100%, rgba(30,71,95,.5), transparent 55%); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding-block: clamp(3rem, 5vw, 4.5rem); flex-wrap: wrap; }
.cta-band__title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); color: #fff; margin: .35rem 0 .6rem; max-width: 18ch; }
.cta-band__sub { color: #C7D6DE; font-size: 1.1rem; margin: 0; max-width: 46ch; }
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ================================================================= ERROR */
.error-ref { color: var(--muted); margin-bottom: 1.5rem; }
.error-ref code { font-family: var(--font-mono); background: var(--paper); padding: .2rem .5rem; border-radius: 6px; font-size: .9rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1080px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .sector-grid { grid-template-columns: repeat(2, 1fr); }
    .quote-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
    .info-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .team-grid { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin-inline: auto; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-aside { position: static; flex-direction: row; flex-wrap: wrap; }
    .detail-aside > .aside-card { flex: 1 1 280px; }
}

@media (max-width: 900px) {
    /* Mobile navigation: collapse into a checkbox-toggled panel */
    .nav-burger { display: inline-flex; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--surface); border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow); padding: .75rem clamp(1.1rem, 4vw, 2.25rem) 1.5rem;
        max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
        transform: translateY(-8px); transition: max-height .3s var(--ease), opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    }
    .nav-toggle:checked ~ .nav { max-height: 80vh; overflow-y: auto; opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-toggle:checked ~ .nav-burger .nav-burger__open { display: none; }
    .nav-toggle:checked ~ .nav-burger .nav-burger__close { display: inline-flex; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__link { padding: .85rem .25rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .nav__link.active { box-shadow: inset 3px 0 0 var(--brand); border-radius: 0; padding-left: .75rem; }
    .nav__cta { flex-direction: column; align-items: stretch; gap: 1rem; margin-top: 1.25rem; }
    .nav__phone { justify-content: center; padding: .5rem; }
    .nav__cta .btn { width: 100%; }

    .hero__inner { grid-template-columns: 1fr; }
    .hero__aside { justify-content: flex-start; }
    .glance-card { max-width: 100%; }
    .grid-2, .grid-2--wide, .grid-2--contact, .grid-2--start { grid-template-columns: 1fr; gap: 2.25rem; }
    .office-grid { grid-template-columns: 1fr; }
    .office-row { grid-template-columns: 1fr; }
    .office-row__map { order: -1; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .contact-offices { grid-template-columns: 1fr; }
    .section-head { text-align: left; margin-inline: 0; }
}

@media (max-width: 620px) {
    body { font-size: 1rem; }
    .service-grid, .service-grid--compact, .value-grid, .steps, .sector-grid, .team-grid { grid-template-columns: 1fr; }
    .stat-strip { grid-template-columns: 1fr 1fr; gap: 1.25rem .75rem; }
    .service-card--compact { flex-direction: row; }
    .detail-aside { flex-direction: column; }
    .field-grid { grid-template-columns: 1fr; }
    .timeline__item { grid-template-columns: 64px 1fr; gap: 1rem; }
    .timeline__item::before { left: 79px; }
    .timeline__dot { left: 72px; }
    .timeline__date { font-size: .82rem; }
    .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 auto; }
    .brand__tag { display: none; }
}

/* ---------------------------------------------------- leaflet stack guard */
.leaflet-pane, .leaflet-top, .leaflet-bottom { z-index: 5; }
.leaflet-control { z-index: 6; }

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* header shadow once scrolled (added by site.js) */
.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(11,34,51,.5); }

/* ===================================================================
   ADDED: blue-theme brand mark, dropdown nav, compact footer, anchors
   =================================================================== */

/* brand mark colour (uses currentColor) */
.brand__mark { color: var(--ink); }
.brand-mark { width: 100%; height: 100%; display: block; }

/* hero italic accent word */
.hero__accent { font-style: italic; font-weight: 500; color: var(--brand-bright); }

/* offset anchored sections so the sticky header doesn't cover headings */
section[id] { scroll-margin-top: 96px; }

/* ----------------------------- dropdown mega-menu (desktop) ------------- */
.nav__item { position: relative; }
.nav__link--parent { display: inline-flex; align-items: center; gap: .3rem; }
.nav__chevron { width: .85em; height: .85em; opacity: .65; transition: transform .2s var(--ease); }
.nav__item--has-menu:hover .nav__chevron,
.nav__item--has-menu:focus-within .nav__chevron { transform: rotate(180deg); }

.nav__panel {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
    min-width: 330px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .55rem;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .16s var(--ease);
    z-index: 120;
}
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.nav__item--has-menu:hover .nav__panel,
.nav__item--has-menu:focus-within .nav__panel { opacity: 1; visibility: visible; pointer-events: auto; }
.nav__sub { display: grid; gap: 2px; }
.nav__sublink { display: block; padding: .6rem .7rem; border-radius: 10px; }
.nav__sublink:hover { background: var(--paper); }
.nav__sublink-title { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav__sublink-desc { display: block; font-size: .82rem; color: var(--muted); margin-top: .1rem; line-height: 1.35; }
.nav__sublink:hover .nav__sublink-title { color: var(--brand); }

/* --------------------------------------------- compact footer ----------- */
.site-footer { background: var(--ink); color: #C2D0DC; padding-block: clamp(2.5rem, 4vw, 3.25rem) 1.5rem; }
.footer-top { display: grid; grid-template-columns: 1.15fr 2fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand--footer { margin-bottom: .9rem; }
.brand--footer .brand__mark { color: #fff; width: 38px; height: 38px; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: var(--muted-light); }
.footer-brand__blurb { color: #A9BBC9; max-width: 34ch; margin: 0 0 1.05rem; font-size: .9rem; line-height: 1.55; }
.footer-social { display: flex; gap: .55rem; }
.footer-social__link { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; border: 1px solid rgba(255,255,255,.16); color: #fff; }
.footer-social__link:hover { background: rgba(255,255,255,.1); color: #fff; transform: translateY(-2px); }
.footer-social__link .icon { width: 1.15em; height: 1.15em; }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
.footer-col__title { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 600; margin: 0 0 .9rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a, .footer-contact a { color: #B7C5D2; font-size: .9rem; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-offices { margin-top: 1rem; display: flex; flex-direction: column; gap: .65rem; }
.footer-office { margin: 0; color: #95A8B6; font-size: .82rem; line-height: 1.5; }
.footer-office__name { display: block; color: #D2DCE4; font-weight: 600; font-size: .88rem; margin-bottom: .05rem; }

.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.4rem; }
.footer-bottom__legal { margin: 0; color: #879CAB; font-size: .8rem; max-width: 78ch; line-height: 1.5; }
.footer-bottom__copy { margin: 0; color: #879CAB; font-size: .8rem; white-space: nowrap; }

/* ----------------------- mobile: dropdowns + footer --------------------- */
@media (max-width: 900px) {
    .nav__item, .nav__item--has-menu { display: block; width: 100%; }
    .nav__link--parent { width: 100%; justify-content: space-between; }
    .nav__chevron { display: none; }
    .nav__panel {
        position: static; transform: none; min-width: 0; opacity: 1; visibility: visible;
        pointer-events: auto; background: transparent; border: none; box-shadow: none;
        padding: 0 0 .4rem .25rem; z-index: auto;
    }
    .nav__panel::before { display: none; }
    .nav__sublink { padding: .5rem .25rem .5rem 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav__sublink-desc { display: none; }
    .nav__sublink-title { font-weight: 500; font-size: 1rem; }

    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.5rem; }
    .footer-bottom { flex-direction: column; gap: .5rem; }
    .footer-bottom__copy { white-space: normal; }
}

@media (max-width: 560px) {
    .footer-nav { grid-template-columns: 1fr; }
}
