/* ==========================================================================
   Microtel Netlinks
   Brand colours sampled from the official logo: blue #267abd, red #ed3237.
   ========================================================================== */

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    font-weight: 500 800;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --blue: #267abd;
    --blue-600: #1e66a3;      /* white text passes WCAG AA */
    --blue-700: #17578c;
    --blue-300: #8cc0e8;
    --blue-100: #d8e9f7;
    --blue-50: #edf5fc;
    --red: #ed3237;
    --red-600: #cf262c;
    --navy: #101c2c;
    --navy-800: #15263b;
    --navy-700: #1d3149;
    --mist: #f4f7fb;
    --line: #dce4ee;
    --line-dark: rgba(255, 255, 255, .12);
    --text: #17253a;
    --muted: #536276;
    --muted-light: #a9b8ca;
    --white: #fff;

    --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(16, 28, 44, .06);
    --shadow: 0 2px 6px rgba(16, 28, 44, .05), 0 12px 32px rgba(16, 28, 44, .08);
    --shadow-lg: 0 24px 60px rgba(16, 28, 44, .18);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --container: 1240px;
    --header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-100); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
.display-2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.display-3 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--text); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Eyebrow & helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue-600); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); flex: none; }
.eyebrow--icon::before { display: none; }
.eyebrow__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.eyebrow__icon .icon { width: 16px; height: 16px; }
.eyebrow--light { color: var(--blue-300); }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--blue-600); }
.text-link .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.note { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 24px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
    font-family: var(--font-display); font-size: .98rem; font-weight: 700; line-height: 1.2; letter-spacing: .005em;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 18px rgba(30, 102, 163, .28); }
.btn--primary:hover { background: var(--blue-700); color: #fff; box-shadow: 0 8px 22px rgba(30, 102, 163, .36); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-600); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }
@media (min-width: 960px) { .section { padding: 112px 0; } }
.section--tight { padding: 64px 0; }
@media (min-width: 960px) { .section--tight { padding: 88px 0; } }
.section--tight-top { padding-top: 48px; }
.section--flush-top { padding-top: 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--muted-light); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p:last-child { margin-bottom: 0; }
.section-head__text { color: var(--muted); font-size: 1.1rem; }
.section--navy .section-head__text { color: var(--muted-light); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; gap: 20px; align-items: end; }
.section-head--split h2 { margin-bottom: 0; }
@media (min-width: 960px) { .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 64px; } }

/* Image frames */
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-800); aspect-ratio: 4 / 3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
    border: 1px solid var(--line-dark); border-radius: 999px; font-size: .9rem; font-weight: 500;
    color: #fff; text-decoration: none; background: rgba(255, 255, 255, .04); transition: background .2s, border-color .2s;
}
.chip .icon { width: 17px; height: 17px; color: var(--blue-300); }
.chip:hover { background: rgba(38, 122, 189, .25); border-color: var(--blue); color: #fff; }
.chips--dark .chip { color: var(--navy); border-color: var(--line); background: #fff; }
.chips--dark .chip .icon { color: var(--blue); }
.chips--dark .chip:hover { border-color: var(--blue); background: var(--blue-50); color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: var(--muted-light); font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__offices { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.topbar__offices .icon { color: var(--red); width: 15px; height: 15px; }
.topbar__links { display: flex; gap: 24px; }
.topbar a { color: #dfe7f0; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a .icon { width: 15px; height: 15px; color: var(--blue-300); }
.topbar a:hover { color: #fff; }
@media (max-width: 720px) { .topbar__offices { display: none; } .topbar__inner { justify-content: center; } .topbar__links { gap: 18px; } }
@media (max-width: 420px) { .topbar__links a:last-child span { font-size: .78rem; } }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; background: #fff;
    border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(16, 28, 44, .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 54px; width: auto; }
@media (max-width: 480px) { .brand img { height: 44px; } }
.brand__text { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.brand__blue { color: var(--blue); }
.brand__red { color: var(--red); }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link {
    position: relative; display: block; padding: 10px 14px; font-family: var(--font-display); font-weight: 600; font-size: .97rem;
    color: var(--navy); text-decoration: none; border-radius: var(--radius-sm); transition: color .2s;
}
.nav-link:hover { color: var(--blue-600); }
.nav-link[aria-current="page"] { color: var(--blue-600); }
.sub-toggle { display: inline-grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--navy); border-radius: var(--radius-sm); }
.sub-toggle .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-nav__head, .site-nav__foot, .nav-overlay { display: none; }
.nav-toggle { display: none; }

.sub-menu__grid { list-style: none; margin: 0; padding: 0; }
.sub-link { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: background .2s; }
.sub-link__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: var(--radius); background: var(--blue-50); color: var(--blue); transition: background .2s, color .2s; }
.sub-link__icon .icon { width: 22px; height: 22px; }
.sub-link__text { display: flex; flex-direction: column; line-height: 1.3; }
.sub-link__name { font-family: var(--font-display); font-weight: 700; font-size: .96rem; }
.sub-link__desc { font-size: .8rem; color: var(--muted); }
.sub-link:hover { background: var(--mist); color: var(--navy); }
.sub-link:hover .sub-link__icon, .sub-link[aria-current="page"] .sub-link__icon { background: var(--blue); color: #fff; }
.sub-menu__all { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; text-decoration: none; }
.sub-menu__all .icon { width: 16px; height: 16px; }

/* Desktop navigation */
@media (min-width: 1121px) {
    .nav-list { display: flex; align-items: center; gap: 2px; }
    .nav-list > li { position: relative; }
    .nav-link::after {
        content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--blue);
        transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
    }
    .nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
    .has-sub__row { display: flex; align-items: center; }
    .has-sub__row .nav-link { padding-right: 4px; }
    .sub-toggle { width: 24px; height: 36px; }
    .nav-list__cta { margin-left: 14px; }

    .sub-menu {
        position: absolute; top: calc(100% + 14px); left: 50%; width: 620px; padding: 16px;
        background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
        transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    }
    .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
    .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .sub-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
    .sub-menu__all { margin: 10px 12px 2px; padding-top: 14px; border-top: 1px solid var(--line); width: calc(100% - 24px); }
}

/* Mobile navigation drawer */
@media (max-width: 1120px) {
    .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
        width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer;
    }
    .nav-toggle__bar { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }
    .nav-overlay { display: block; position: fixed; inset: 0; z-index: 140; background: rgba(16, 28, 44, .55); opacity: 0; transition: opacity .3s var(--ease); }
    .nav-overlay[hidden] { display: none; }
    body.nav-open .nav-overlay { opacity: 1; }
    .site-nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(400px, 88vw);
        display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-lg);
        transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
        overflow-y: auto; overscroll-behavior: contain;
    }
    .site-nav.is-open { transform: none; visibility: visible; }
    .site-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
    .site-nav__title { font-family: var(--font-display); font-weight: 800; color: var(--navy); }
    .site-nav__close { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; color: var(--navy); }
    .nav-list { padding: 8px 20px; }
    .nav-list > li { border-bottom: 1px solid var(--line); }
    .nav-link { padding: 15px 0; font-size: 1.05rem; }
    .has-sub__row { display: flex; align-items: center; justify-content: space-between; }
    .sub-toggle { width: 44px; height: 44px; }
    .sub-menu { display: none; padding: 0 0 14px; }
    .has-sub.is-open .sub-menu { display: block; }
    .sub-link { padding: 8px 6px; }
    .sub-link__icon { width: 36px; height: 36px; }
    .sub-link__desc { display: none; }
    .sub-menu__all { margin: 8px 6px 0; }
    .nav-list__cta { border-bottom: 0 !important; padding: 20px 0 8px; }
    .nav-list__cta .btn { width: 100%; padding: 14px; font-size: 1rem; }
    .site-nav__foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding: 20px; background: var(--mist); }
    .site-nav__foot a { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 500; }
    .site-nav__foot .icon { color: var(--blue); }
}

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(16, 28, 44, .97) 0%, rgba(16, 28, 44, .9) 38%, rgba(16, 28, 44, .45) 70%, rgba(16, 28, 44, .25) 100%),
        linear-gradient(0deg, rgba(16, 28, 44, .7), transparent 40%);
}
.hero__lines { position: absolute; right: 0; top: 0; height: 100%; width: 60%; color: var(--blue-300); opacity: .28; z-index: -1; pointer-events: none; }
.hero__inner { display: flex; align-items: center; min-height: min(720px, calc(100vh - 120px)); padding-top: 96px; padding-bottom: 136px; }
.hero__content { max-width: 880px; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.75rem); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 28px; }
.hero__title span { display: block; }
.hero__title-accent { background: linear-gradient(90deg, #6fb2e8, var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.65; color: #c9d6e4; max-width: 600px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 640px) {
    .hero::before { background: linear-gradient(180deg, rgba(16, 28, 44, .82), rgba(16, 28, 44, .94)); }
    .hero__inner { min-height: 0; padding-top: 64px; padding-bottom: 104px; }
    .hero__actions .btn { width: 100%; }
}

/* Service rail (overlaps hero) */
.service-rail { position: relative; z-index: 5; margin-top: -64px; }
.service-rail__list {
    list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.service-rail a {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius);
    font-family: var(--font-display); font-weight: 700; font-size: .95rem; line-height: 1.25; color: var(--navy); text-decoration: none;
    transition: background .2s, color .2s;
}
.service-rail__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--radius); background: var(--blue-50); color: var(--blue); transition: background .2s, color .2s; }
.service-rail__icon .icon { width: 21px; height: 21px; }
.service-rail a:hover { background: var(--mist); color: var(--blue-700); }
.service-rail a:hover .service-rail__icon { background: var(--blue); color: #fff; }
@media (min-width: 1181px) { .service-rail__list { grid-template-columns: repeat(5, 1fr); } .service-rail a { padding: 12px; gap: 10px; font-size: .9rem; } }
@media (max-width: 1000px) { .service-rail__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
    .service-rail { margin-top: -48px; }
    .service-rail__list { padding: 6px; gap: 2px; }
    .service-rail a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 10px; font-size: .84rem; }
    .service-rail__icon { width: 34px; height: 34px; }
    .service-rail__icon .icon { width: 18px; height: 18px; }
}

.service-rail__list--static { box-shadow: var(--shadow); }
.service-rail__list--static .service-rail { margin: 0; }

/* ---------- Services bento ---------- */
.bento { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile--feature, .tile--wide { grid-column: span 2; } }
@media (min-width: 1080px) {
    .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; }
    .tile--feature { grid-column: span 2; grid-row: span 2; }
    .tile--wide { grid-column: span 2; }
}
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); min-height: 300px; isolation: isolate; }
@media (min-width: 1080px) { .tile { min-height: 0; } }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 28, 44, .1) 0%, rgba(16, 28, 44, .55) 45%, rgba(16, 28, 44, .94) 100%); transition: background .4s; }
@media (max-width: 1079px) { .tile::before { background: linear-gradient(180deg, rgba(16, 28, 44, .2) 0%, rgba(16, 28, 44, .8) 40%, rgba(16, 28, 44, .96) 100%); } }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: flex; flex-direction: column; }
.tile__group { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 8px; }
.tile__title { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.tile__title a { color: inherit; text-decoration: none; }
.tile__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile__text { color: #c9d6e4; font-size: .95rem; line-height: 1.55; margin-bottom: 14px; max-width: 46ch; }
.tile__more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: #fff; }
.tile__more .icon { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.tile:hover .tile__img { transform: scale(1.06); }
.tile:hover .tile__more .icon { transform: translateX(4px); }
.tile:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.tile--feature .tile__body { padding: 36px; }
.tile--feature .tile__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.tile--feature .tile__text { font-size: 1.05rem; }
@media (min-width: 1080px) {
    .tile:not(.tile--feature):not(.tile--wide) .tile__text { display: none; }
}

/* ---------- About split (home) ---------- */
.about-split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .about-split { grid-template-columns: 1fr 1fr; gap: 88px; } }
.about-split__media { position: relative; padding: 0 0 48px 0; }
.media-frame--tall { aspect-ratio: 4 / 5; max-width: 86%; }
.media-frame--inset { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 8px solid var(--mist); border-radius: var(--radius-lg); }
.about-split__media::before { content: ""; position: absolute; left: -18px; top: 40px; width: 72px; height: 72px; border-left: 3px solid var(--red); border-top: 3px solid var(--red); }
.pillars { list-style: none; margin: 32px 0 36px; padding: 0; display: grid; gap: 4px; }
.pillars li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.pillars h3 { font-size: 1.05rem; margin-bottom: 2px; }
.pillars p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Context (layers) ---------- */
.context { overflow: hidden; isolation: isolate; }
.context__media { position: absolute; inset: 0; z-index: -1; opacity: .16; }
.context__media img { width: 100%; height: 100%; object-fit: cover; }
.context::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 15% 20%, rgba(38, 122, 189, .25), transparent 55%); }
.context__inner { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1000px) { .context__inner { grid-template-columns: .9fr 1.1fr; gap: 80px; } .context__intro { position: sticky; top: calc(var(--header-h) + 40px); } }
.context__intro p { color: var(--muted-light); }
.layers { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.layers::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--red), var(--blue)); opacity: .7; }
.layers__item { position: relative; display: flex; gap: 22px; padding: 24px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(21, 38, 59, .92); transition: border-color .3s, transform .3s var(--ease); }
.layers__item:hover { border-color: rgba(140, 192, 232, .4); transform: translateX(4px); }
.layers__num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; margin-left: -4px; border-radius: 50%; background: var(--navy); border: 2px solid var(--blue); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .95rem; }
.layers__item:first-child .layers__num { border-color: var(--red); }
.layers__body h3 { margin-bottom: 4px; }
.layers__body p { color: var(--muted-light); font-size: .97rem; margin-bottom: 14px; }

/* ---------- Needs ---------- */
.needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .needs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .needs { grid-template-columns: repeat(3, 1fr); } }
.needs__item { padding: 36px 28px 32px; border-bottom: 1px solid var(--line); position: relative; transition: background .3s; }
@media (min-width: 700px) { .needs__item { border-right: 1px solid var(--line); } }
@media (min-width: 700px) and (max-width: 1039px) { .needs__item:nth-child(2n) { border-right: 0; } }
@media (min-width: 1040px) { .needs__item:nth-child(3n) { border-right: 0; } }
.needs__item::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--blue); transition: width .4s var(--ease); }
.needs__item:hover { background: var(--mist); }
.needs__item:hover::before { width: 100%; }
.needs__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: var(--radius); background: var(--blue-50); color: var(--blue); }
.needs__icon .icon { width: 26px; height: 26px; }
.needs__item p { color: var(--muted); }
.needs__links { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.needs__links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; }
.needs__links .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.needs__links a:hover .icon { transform: translateX(4px); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #c9d6e4; isolation: isolate; padding: 88px 0; }
@media (min-width: 960px) { .cta-band { padding: 112px 0; } }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(16, 28, 44, .96) 20%, rgba(23, 87, 140, .82) 100%); }
.cta-band__inner { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1.3fr auto; gap: 64px; } }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.9rem); max-width: 18ch; }
.cta-band p { font-size: 1.1rem; max-width: 56ch; margin-bottom: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 520px) { .cta-band__actions .btn { width: 100%; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #c9d6e4; isolation: isolate; }
.page-hero__inner { position: relative; padding-top: 72px; padding-bottom: 80px; }
@media (min-width: 960px) { .page-hero__inner { padding-top: 104px; padding-bottom: 112px; } }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 28, 44, .96) 0%, rgba(16, 28, 44, .86) 45%, rgba(16, 28, 44, .5) 100%); }
.page-hero--plain { background: radial-gradient(ellipse at 85% 0%, rgba(38, 122, 189, .35), transparent 55%), var(--navy); }
.page-hero__pattern { position: absolute; right: 0; top: 0; height: 100%; width: 60%; color: var(--blue-300); opacity: .22; z-index: -1; }
.page-hero::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--red) 0 120px, var(--blue) 120px 100%); }
.page-hero__title { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.03em; max-width: 16ch; margin-bottom: 18px; }
.page-hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 620px; margin: 0; color: #c9d6e4; }

.breadcrumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: .88rem; }
.breadcrumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 12px 2px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.breadcrumbs a { color: inherit; text-decoration: none; opacity: .85; }
.breadcrumbs a:hover { opacity: 1; text-decoration: underline; }
.breadcrumbs [aria-current] { font-weight: 600; }
.page-hero .breadcrumbs { color: var(--blue-300); }
.page-hero .breadcrumbs [aria-current] { color: #fff; }

/* ---------- Service page hero ---------- */
.svc-hero { position: relative; background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); overflow: hidden; }
.svc-hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(38, 122, 189, .08), transparent 60%); pointer-events: none; }
.svc-hero__inner { display: grid; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
@media (min-width: 960px) { .svc-hero__inner { grid-template-columns: 1fr 1fr; gap: 72px; padding-top: 72px; padding-bottom: 96px; } }
.svc-hero .breadcrumbs { color: var(--muted); }
.svc-hero .breadcrumbs [aria-current] { color: var(--navy); }
.svc-hero__title { font-size: clamp(2.4rem, 4.8vw, 3.9rem); letter-spacing: -.035em; margin-bottom: 18px; }
.svc-hero__tagline { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.45; color: var(--muted); max-width: 30ch; margin-bottom: 34px; letter-spacing: -.01em; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 520px) { .svc-hero__actions .btn { width: 100%; } }
.svc-hero__media { position: relative; }
.svc-hero__frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); background: var(--navy-800); }
.svc-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero__media::before { content: ""; position: absolute; right: -16px; bottom: -16px; width: 55%; height: 55%; border-radius: var(--radius-lg); background: var(--blue); opacity: .12; z-index: -1; }
.svc-hero__media::after { content: ""; position: absolute; left: -14px; top: 28px; width: 4px; height: 90px; background: var(--red); border-radius: 2px; }
.svc-hero__badge { position: absolute; left: 24px; bottom: -26px; display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.svc-hero__badge .icon { width: 34px; height: 34px; }

/* In-page navigation */
.page-nav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.page-nav__list::-webkit-scrollbar { display: none; }
.page-nav a { display: block; padding: 16px 14px; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.page-nav a:hover, .page-nav a.is-active { color: var(--navy); border-bottom-color: var(--blue); }

/* Overview */
.overview { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .overview { grid-template-columns: 1.4fr .8fr; gap: 80px; } }
.overview__text { max-width: 720px; }
.overview__text p:not(.lead) { color: var(--muted); }
.glance { padding: 32px; border-radius: var(--radius-lg); background: var(--navy); color: #c9d6e4; }
@media (min-width: 960px) { .glance { position: sticky; top: calc(var(--header-h) + 90px); } }
.glance__title { color: #fff; font-size: 1.2rem; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.glance__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.glance__list li { display: flex; gap: 12px; font-size: .97rem; line-height: 1.45; }
.glance__list .icon { color: var(--blue-300); width: 18px; height: 18px; margin-top: 2px; }
.glance .text-link { color: #fff; }

/* Numbered challenges */
.numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .numbered { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.numbered__item { position: relative; padding: 32px 32px 28px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.numbered__item:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.numbered__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--blue-100); margin-bottom: 16px; letter-spacing: -.03em; }
.numbered__item p { margin: 0; color: var(--muted); }

/* Feature split */
.feature-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .feature-split { grid-template-columns: .95fr 1.05fr; gap: 80px; } }
.feature-split__media .media-frame { aspect-ratio: 4 / 5; }
@media (max-width: 959px) { .feature-split__media .media-frame { aspect-ratio: 16 / 10; } }
.feature-split__content > p { color: var(--muted); }
.features { margin: 28px 0 0; display: grid; gap: 0; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.features__item { padding: 18px 0; border-top: 1px solid var(--line); }
.features dt { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.features dt .icon { color: var(--blue); width: 18px; height: 18px; }
.features dd { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.6; }

/* Applications */
.apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .apps { grid-template-columns: repeat(4, 1fr); } }
.apps__item { padding: 32px 28px; background: var(--navy); transition: background .3s; }
.apps__item:hover { background: var(--navy-800); }
.apps__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: var(--radius); background: rgba(38, 122, 189, .18); color: var(--blue-300); font-family: var(--font-display); font-weight: 800; font-size: .95rem; }
.apps__item p { margin: 0; font-size: .97rem; }

/* Planning steps */
.planning { display: grid; gap: 48px; }
@media (min-width: 960px) { .planning { grid-template-columns: .8fr 1.2fr; gap: 80px; } .planning__intro { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; } }
.planning__intro p { color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps__item { position: relative; display: flex; gap: 24px; padding-bottom: 32px; }
.steps__item:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 48px; bottom: 6px; width: 2px; background: var(--line); }
.steps__num { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue-600); font-family: var(--font-display); font-weight: 800; background: #fff; }
.steps__item:first-child .steps__num { background: var(--blue); color: #fff; }
.steps h3 { margin: 8px 0 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Benefits */
.benefits { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .benefits { grid-template-columns: 1.3fr .7fr; gap: 72px; } }
.benefits__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .benefits__list { grid-template-columns: 1fr 1fr; } }
.benefits__list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); font-weight: 500; line-height: 1.5; }
.benefits__tick { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; }
.benefits__tick .icon { width: 15px; height: 15px; }
.enquiry-card { padding: 36px; border-radius: var(--radius-lg); background: var(--navy); color: #c9d6e4; position: relative; overflow: hidden; }
.enquiry-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 24px solid rgba(38, 122, 189, .18); }
.enquiry-card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: var(--radius); background: var(--blue); color: #fff; }
.enquiry-card__title { color: #fff; font-size: 1.45rem; }
.enquiry-card p { font-size: .98rem; margin-bottom: 24px; }
.enquiry-card__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: #fff; text-decoration: none; font-weight: 600; }
.enquiry-card__phone:hover { color: var(--blue-300); }

/* FAQ */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.faq-wrap__intro p { color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none;
    font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: var(--navy); transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-600); }
.faq__icon { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line); color: var(--blue); transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.faq__icon .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq__answer { padding: 0 56px 24px 0; color: var(--muted); }
.faq__answer p { margin: 0; }

/* Related services */
.related { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related__item { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.related__item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.related__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.related__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.related__item:hover .related__media img { transform: scale(1.06); }
.related__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.related__body h3 a { color: var(--navy); text-decoration: none; }
.related__body h3 a::after { content: ""; position: absolute; inset: 0; }
.related__body p { color: var(--muted); font-size: .96rem; flex: 1; }

/* ---------- Services overview ---------- */
.portfolio-intro { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .portfolio-intro { grid-template-columns: 1fr 1fr; gap: 80px; } }
.portfolio-intro p:not(.lead) { color: var(--muted); }
.groups { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.groups__item { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .groups__item { grid-template-columns: 170px 1fr; gap: 24px; } }
.groups dt { font-family: var(--font-display); font-weight: 800; color: var(--navy); }
.groups dd { margin: 0; }
.groups dd p { color: var(--muted); font-size: .96rem; margin-bottom: 12px; }

.svc-row { display: grid; gap: 36px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.svc-row:first-child { padding-top: 96px; }
.svc-row:last-child { border-bottom: 0; }
@media (min-width: 960px) {
    .svc-row { grid-template-columns: 1fr 1fr; gap: 80px; padding: 72px 0; }
    .svc-row--reverse .svc-row__media { order: 2; }
}
.svc-row__media { position: relative; }
.svc-row__media .media-frame { aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.svc-row__media:hover .media-frame img { transform: scale(1.04); }
.svc-row__num { position: absolute; top: -22px; left: 24px; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius); background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow); }
.svc-row--reverse .svc-row__num { left: auto; right: 24px; }
.svc-row h2 a { color: var(--navy); text-decoration: none; }
.svc-row h2 a:hover { color: var(--blue-600); }
.svc-row__tagline { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy); line-height: 1.45; }
.svc-row__content > p:not(.svc-row__tagline):not(.eyebrow) { color: var(--muted); }
.svc-row__list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .svc-row__list { grid-template-columns: 1fr 1fr; } }
.svc-row__list li { display: flex; gap: 10px; font-size: .96rem; font-weight: 500; }
.svc-row__list .icon { color: var(--blue); width: 18px; height: 18px; margin-top: 3px; }

/* ---------- About page ---------- */
.editorial { display: grid; gap: 32px; }
@media (min-width: 960px) { .editorial { grid-template-columns: 1fr 1fr; gap: 80px; } }
.editorial__body p:not(.lead) { color: var(--muted); }
.focus { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .focus { grid-template-columns: repeat(3, 1fr); } }
.focus__item { padding: 36px 32px; background: #fff; border-radius: var(--radius-lg); border-top: 3px solid var(--blue); box-shadow: var(--shadow-sm); }
.focus__item:first-child { border-top-color: var(--red); }
.focus__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: var(--radius); background: var(--blue-50); color: var(--blue); }
.focus__icon .icon { width: 26px; height: 26px; }
.focus__item > p { color: var(--muted); }
.focus__links { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.focus__links a { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-weight: 600; font-size: .96rem; text-decoration: none; color: var(--navy); }
.focus__links a:hover { color: var(--blue-600); }
.focus__links .icon { width: 16px; height: 16px; color: var(--blue); }

.svc-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 800px) { .svc-index { grid-template-columns: 1fr 1fr; } }
.svc-index__link { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); text-decoration: none; color: var(--muted-light); transition: background .25s, border-color .25s; }
.svc-index__link:hover { background: var(--navy-800); border-color: rgba(140, 192, 232, .4); color: var(--muted-light); }
.svc-index__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--radius); background: rgba(38, 122, 189, .2); color: var(--blue-300); }
.svc-index__text { display: flex; flex-direction: column; gap: 2px; font-size: .92rem; line-height: 1.5; flex: 1; }
.svc-index__text strong { color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.svc-index__arrow { color: var(--blue-300); transition: transform .25s var(--ease); }
.svc-index__link:hover .svc-index__arrow { transform: translateX(4px); }

.office-pair { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
@media (min-width: 760px) { .office-pair { grid-template-columns: 1fr 1fr; } }
.office { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.office__label { display: inline-block; font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600); margin-bottom: 6px; }
.office__city { font-size: 1.8rem; margin-bottom: 10px; }
.office address { color: var(--muted); margin-bottom: 18px; }

/* ---------- Contact ---------- */
.quick-contact { position: relative; z-index: 5; margin-top: -44px; }
.quick-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .quick-contact__list { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.quick-card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); text-decoration: none; color: var(--navy); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.quick-card:hover { transform: translateY(-3px); border-color: var(--blue-100); color: var(--navy); }
.quick-card__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; }
.quick-card__label { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; }
.quick-card__value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; word-break: break-word; }

.contact-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1.45fr .85fr; gap: 40px; } }
.form-card { padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
@media (max-width: 520px) { .form-card { padding: 24px 20px; } }
.form-card__intro { color: var(--muted); }
.field { margin-bottom: 20px; }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 7px; font-family: var(--font-display); font-weight: 700; font-size: .93rem; color: var(--navy); }
.req { color: var(--red-600); }
.optional { color: var(--muted); font-weight: 500; font-size: .85rem; font-family: var(--font-body); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--mist);
    padding: 13px 15px; border: 1.5px solid transparent; border-radius: var(--radius-sm);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #8796a8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(38, 122, 189, .15); }
.field [aria-invalid="true"] { border-color: var(--red-600); background: #fff; }
.field__error { color: var(--red-600); font-size: .87rem; margin: 7px 0 0; font-weight: 500; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; }
.alert .icon { margin-top: 3px; }
.alert--success { background: #e9f7ef; border: 1px solid #a7dcbc; color: #145c33; }
.alert--error { background: #fdeeee; border: 1px solid #f2b0b2; color: #8f1a1e; }
.contact-form .btn[disabled] { opacity: .7; cursor: progress; }

.info-panel { padding: 36px; border-radius: var(--radius-lg); background: var(--navy); color: #c9d6e4; }
@media (min-width: 1000px) { .info-panel { position: sticky; top: calc(var(--header-h) + 24px); } }
.info-panel__title { color: #fff; font-size: 1.3rem; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.info-panel__list { list-style: none; margin: 0; padding: 0; }
.info-panel__list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.info-panel__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-panel__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: var(--radius); background: rgba(38, 122, 189, .2); color: var(--blue-300); }
.info-panel h3 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.info-panel a { color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; }
.info-panel a:hover { color: var(--blue-300); }
.info-panel address { font-size: .95rem; line-height: 1.6; }

.map-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .map-grid { grid-template-columns: 1fr 1fr; } }
.map-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-card__frame { position: relative; aspect-ratio: 16 / 10; background: var(--blue-50); }
.map-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card__frame::before { content: "Loading map…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; }
.map-card__body { padding: 28px; }
.map-card__city { font-size: 1.5rem; margin-bottom: 8px; }
.map-card address { color: var(--muted); margin-bottom: 18px; }

/* ---------- Office pages ---------- */
.office-layout { display: grid; gap: 40px; align-items: stretch; }
@media (min-width: 960px) { .office-layout { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.info-list { list-style: none; margin: 24px 0 32px; padding: 0; border-top: 1px solid var(--line); }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--radius); background: var(--blue-50); color: var(--blue); }
.info-list h3 { font-size: 1rem; margin-bottom: 4px; }
.info-list address, .info-list a { color: var(--muted); }
.info-list a { font-weight: 600; color: var(--blue-600); text-decoration: none; word-break: break-word; }
.office-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map-card--tall .map-card__frame { aspect-ratio: auto; height: 100%; min-height: 360px; }
.other-office { display: grid; gap: 6px; max-width: 760px; margin: 0 auto; padding: 32px 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); transition: box-shadow .3s, transform .3s var(--ease); }
.other-office:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.other-office__city { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--navy); }
.other-office__address { color: var(--muted); margin-bottom: 8px; }

.local-band__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .local-band__inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.local-band__inner p:not(.eyebrow) { color: var(--muted); margin: 0; }
.local-band__offices { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 560px) { .local-band__offices { grid-template-columns: 1fr 1fr; } }
.local-office { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--muted); font-size: .92rem; line-height: 1.5; transition: border-color .25s, box-shadow .25s; }
.local-office strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); }
.local-office:hover { border-color: var(--blue-100); box-shadow: var(--shadow); color: var(--muted); }
.footer-address__name { color: #fff !important; }

/* ---------- Video testimonials ---------- */
.video-testimonials { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .video-testimonials { grid-template-columns: 1.55fr 1fr; gap: 36px; } }
.video-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-card__frame { position: relative; background: var(--navy); }
.video-card__frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--navy); }
.video-card--portrait .video-card__frame { max-height: 78vh; margin: 0 auto; }
.video-card__body { position: relative; padding: 26px 28px 24px; }
.video-card__mark { position: absolute; right: 24px; top: 20px; color: var(--blue-100); }
.video-card__mark .icon { width: 40px; height: 40px; }
.video-card__name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy); padding-right: 48px; }
.video-card__role { margin: 2px 0 14px; color: var(--blue-600); font-weight: 600; font-size: .95rem; }
.video-card__summary { color: var(--muted); font-size: .98rem; }
.video-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; }
.video-card__meta > span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }

/* ---------- Placeholders, testimonials, clients ---------- */
.placeholder { max-width: 760px; margin: 0 auto; text-align: center; padding: 56px 32px; border: 1px dashed #c4d1df; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--mist), #fff); }
.placeholder__mark { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 24px; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(38, 122, 189, .35); }
.placeholder__mark .icon { width: 34px; height: 34px; }
.placeholder p { color: var(--muted); max-width: 56ch; margin-left: auto; margin-right: auto; }
.placeholder__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.testimonial-grid, .client-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.testimonial-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.testimonial { padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.testimonial__mark { color: var(--blue); display: block; margin-bottom: 14px; }
.testimonial__mark .icon { width: 36px; height: 36px; }
.testimonial blockquote { margin: 0 0 18px; font-size: 1.1rem; color: var(--navy); }
.testimonial__author { margin: 0; display: flex; flex-direction: column; color: var(--muted); }
.client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 640px) { .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 960px) { .client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .client-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.client { display: grid; place-items: center; min-width: 0; height: 112px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.client img { width: auto; height: auto; max-width: 100%; max-height: 72px; object-fit: contain; }
.client:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-3px); }
@media (min-width: 960px) { .client { height: 136px; padding: 20px 24px; } .client img { max-height: 88px; } }


/* 404 */
.notfound__inner { text-align: center; max-width: 640px; }
.notfound__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; margin: 0 0 12px; letter-spacing: -.05em; background: linear-gradient(90deg, var(--red), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .lead { color: var(--muted-light); }

/* ---------- Social links ---------- */
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); color: #fff !important; background: rgba(255, 255, 255, .04); transition: background .2s, border-color .2s, transform .2s var(--ease); }
.social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.social .icon { width: 19px; height: 19px; }
.site-footer__follow { margin: 28px 0 12px !important; color: #fff; font-family: var(--font-display); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.info-panel__social { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.info-panel__social h3 { margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1522; color: var(--muted-light); font-size: .95rem; }
.site-footer__top { display: grid; gap: 40px; padding-top: 80px; padding-bottom: 56px; }
@media (min-width: 720px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .site-footer__top { grid-template-columns: 1.4fr 1fr .8fr 1.2fr; gap: 56px; } }
.site-footer__brand { display: inline-block; margin-bottom: 22px; }
.site-footer__brand img { height: 58px; width: auto; }
.site-footer__about p { max-width: 38ch; line-height: 1.7; margin-bottom: 24px; }
.site-footer__title { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 22px; }
.site-footer a { color: var(--muted-light); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .btn--primary { color: #fff; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-contact li { margin-bottom: 12px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; word-break: break-word; }
.footer-contact .icon { color: var(--blue-300); }
.footer-address { margin-top: 20px; line-height: 1.65; display: flex; flex-direction: column; gap: 2px; }
.footer-address strong { color: #fff; font-family: var(--font-display); }
.footer-address a { color: var(--blue-300); font-weight: 600; font-size: .9rem; }
.site-footer__bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; font-size: .87rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer__bottom p { margin: 0; }

/* ---------- Rendering performance ---------- */
/* Skip layout and paint for off-screen sections until they approach the viewport. */
main > .section:not(:first-child), main > .cta-band { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.bento [data-reveal]:nth-child(2), .needs [data-reveal]:nth-child(2), .related [data-reveal]:nth-child(2), .numbered [data-reveal]:nth-child(2) { transition-delay: .08s; }
.bento [data-reveal]:nth-child(3), .needs [data-reveal]:nth-child(3), .related [data-reveal]:nth-child(3), .numbered [data-reveal]:nth-child(3) { transition-delay: .16s; }
.bento [data-reveal]:nth-child(4), .numbered [data-reveal]:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
    .topbar, .site-header, .page-nav, .cta-band, .site-footer, .map-grid { display: none; }
}
