/* =========================================================
   明發冷氣 Honest Air-Conditioning
   Design system: Trust & Authority · Enterprise Gateway
   ========================================================= */

:root {
    --navy:        #202326;
    --slate:       #3A3D40;
    --cta:         #B1122A;
    --cta-dark:    #8F1625;
    --bg:          #F3F1ED;
    --text:        #1A1C1E;
    --muted:       #5E625F;
    --line:        #D8D4CE;
    --surface:     #FEFDF9;
    --brand-red:   #D40000;
    --brand-red-soft: #FBE4E7;
    --accent-soft: #F6E9EA;
    --accent-light:        #E5A0A8;
    --radius:      12px;
    --radius-lg:   20px;
    --shadow:      0 24px 60px rgba(32, 35, 38, 0.12);
    --shadow-sm:   0 10px 30px rgba(32, 35, 38, 0.07);
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
    --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
    --max:         1440px;
    --gutter:      clamp(20px, 4vw, 56px);
    --header-h:    78px;
    --topbar-h:    41px;
    /* Typography scale (1rem = 18px via html font-size) */
    --text-xs:     0.75rem;
    --text-sm:     0.875rem;
    --text-base:   1rem;
    --text-md:     0.9375rem;
    --text-lg:     1.125rem;
    --text-xl:     1.25rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 24px);
    font-size: 137.5%; /* 22px base - enlarged, comfortable Traditional Chinese reading */
}

::selection { background: var(--navy); color: #fff; }

h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text);
    line-height: 1.72;
    background: var(--bg);
    /* clip instead of hidden: same overflow guard, but body stays a cheap
       non-scroll-container so the compositor can drive scrolling */
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
.scroll-sentinel {
    position: absolute;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

:focus-visible {
    outline: 2px solid var(--cta);
    outline-offset: 3px;
}

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

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 200;
    padding: 10px 18px;
    border-radius: 0 0 8px 8px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: var(--text-sm);
}
.skip-link:focus { top: 0; }

/* ---------- Icons ---------- */
.icon {
    width: 1.35em;
    height: 1.35em;
    flex-shrink: 0;
    display: block;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 24px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-base);
    cursor: pointer;
    white-space: nowrap;
    transition: background .22s cubic-bezier(.16,1,.3,1), color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s cubic-bezier(.16,1,.3,1);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    background: var(--cta);
    color: #fff;
    box-shadow: 0 4px 14px rgba(179, 38, 62, .24);
}
.btn-primary:hover { background: var(--cta-dark); box-shadow: 0 6px 20px rgba(177, 18, 42, .34); transform: translateY(-1px); }
.btn-ghost {
    color: #fff;
    border-color: rgba(255,255,255,.55);
    background: rgba(255,255,255,.08);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--accent-soft); }
.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--line);
}
.btn-secondary:hover {
    border-color: var(--cta);
    color: var(--cta);
    background: var(--accent-soft);
}
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
    position: relative;
    z-index: 103;
    background: var(--navy);
    color: #A7A39C;
    font-size: var(--text-sm);
    border-bottom: 3px solid var(--brand-red);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    gap: 12px;
    flex-wrap: wrap;
}
.topbar-tag { letter-spacing: .3px; color: #D7D2CA; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s ease;
}
.topbar-contact a:hover { color: #fff; }
.topbar-contact .icon { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    /* Solid-ish fill instead of backdrop-filter: blur() — the blur forces a
       backdrop repaint every scroll frame and is the main source of scroll jank. */
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}
body.nav-open .site-header { z-index: 102; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(15, 23, 42, .08); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    cursor: pointer;
}
.brand-icon {
    height: 46px;
    width: auto;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}
.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.brand-text strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: clamp(0.9rem, 0.55rem + 0.85vw, 1.08rem);
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}
.brand-text > span {
    display: flex;
    flex-direction: column;
    gap: 1px;
    color: var(--muted);
    font-size: clamp(0.68rem, 0.35rem + 0.55vw, 0.875rem);
    letter-spacing: 0.04em;
    line-height: 1.2;
    white-space: nowrap;
}

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    color: var(--slate);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s ease;
    cursor: pointer;
}
.main-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: var(--cta);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}
.main-nav a:not(.nav-cta):hover { color: var(--navy); }
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.main-nav a:not(.nav-cta).active {
    color: var(--navy);
    font-weight: 700;
}
.main-nav a:not(.nav-cta).active::after {
    transform: scaleX(1);
    height: 3px;
    bottom: 4px;
    background: var(--brand-red);
}
.main-nav .nav-cta {
    margin-left: 8px;
    padding-inline: 18px;
    background: var(--cta);
    color: #fff;
    border-radius: 8px;
    transition: background .2s ease, box-shadow .2s ease;
}
.main-nav .nav-cta:hover,
.main-nav .nav-cta.active {
    background: var(--cta-dark);
    color: #fff;
    box-shadow: 0 4px 14px rgba(179, 38, 62, .24);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.nav-toggle:hover { background: var(--accent-soft); border-color: var(--cta); }
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(32,35,38,.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 89;
}
.nav-backdrop.show { opacity: 1; visibility: visible; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(500px, 68vh, 660px);
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--navy);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/images/team-truck.jpg") center 58% / cover no-repeat;
    opacity: .64;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(32,35,38,.94) 0%, rgba(32,35,38,.78) 42%, rgba(32,35,38,.42) 72%, rgba(32,35,38,.28) 100%);
}
.hero .container {
    width: 100%;
    max-width: none;
    padding-inline: var(--gutter);
}
.hero-panel {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: clamp(52px, 7vw, 84px) 0;
}
.hero-eyebrow,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--cta);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero-eyebrow {
    color: #E5A0A8;
    padding: 6px 16px;
    border: 1px solid rgba(186,230,253,.35);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    letter-spacing: .5px;
    text-transform: none;
    font-weight: 600;
    font-size: var(--text-sm);
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.45rem, 4.5vw, 4.1rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}
.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}
.hero-sub {
    margin: 14px 0 10px;
    max-width: 620px;
    color: #E5A0A8;
    font-size: clamp(1rem, 1.7vw, 1.22rem);
    font-weight: 600;
    line-height: 1.55;
}
.hero-desc { max-width: 620px; color: rgba(255,255,255,.84); font-size: var(--text-base); line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.9);
    font-size: var(--text-xs);
    font-weight: 600;
}
.trust-badge .icon { width: 14px; height: 14px; color: var(--accent-light); }

/* ---------- Page hero ---------- */
.page-hero {
    color: #fff;
    padding: clamp(64px, 8vw, 104px) 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/images/team-truck.jpg") center 58% / cover no-repeat;
    opacity: .22;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(32,35,38,.96) 0%, rgba(32,35,38,.82) 52%, rgba(177,18,42,.58) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { max-width: 720px; margin-top: 18px; color: rgba(255,255,255,.85); font-size: var(--text-lg); }
.breadcrumb { margin-bottom: 16px; color: rgba(255,255,255,.65); font-size: var(--text-sm); }
.breadcrumb a { transition: color .2s ease; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 8vw, 112px) 0; }
.section-sm { padding: clamp(52px, 6vw, 80px) 0; }
.bg-soft { background: var(--bg); }
.bg-dark {
    color: #fff;
    background: linear-gradient(160deg, var(--navy), #34383C);
}
.bg-dark .eyebrow { color: var(--accent-light); }

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { max-width: 760px; margin-inline: auto; text-align: center; }
.section-head h2 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.01em;
}
.bg-dark .section-head h2 { color: #fff; }
.section-head h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 16px;
    border-radius: 2px;
    background: var(--brand-red);
}
.section-head.center h2::after { margin-inline: auto; }
.lead { margin-top: 14px; color: var(--muted); font-size: var(--text-lg); }
.bg-dark .lead { color: rgba(255,255,255,.78); }

/* ---------- Stats ---------- */
.stats-band {
    padding: 28px 0;
    background: var(--navy);
    border-top: 3px solid var(--brand-red);
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    color: #fff;
    text-align: center;
}
.stat {
    padding: 14px 20px;
}
.stat + .stat { border-left: 1px solid rgba(255,255,255,.2); }
.stat strong {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    color: #fff;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
}
.stat strong .counter { display: inline-block; }
.stat span {
    display: block;
    margin-top: 10px;
    color: #D7D2CA;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ---------- Enterprise trust strip ---------- */
.brand-trust {
    padding: 30px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.brand-trust-inner {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(0, 3.2fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}
.brand-trust-copy {
    color: var(--muted);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.5;
}
.brand-trust-copy strong {
    display: block;
    margin-bottom: 3px;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.05rem;
}
.brand-trust-logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    gap: clamp(18px, 3vw, 42px);
}
.brand-trust-logos img {
    width: 100%;
    height: 38px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .62;
    transition: filter .25s ease, opacity .25s ease;
}
.brand-trust-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.page-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.page-summary-grid .card:first-child {
    color: #fff;
    background:
        linear-gradient(145deg, rgba(177,18,42,.84), rgba(32,35,38,.98)),
        var(--navy);
    border-color: transparent;
}
.page-summary-grid .card:first-child h3,
.page-summary-grid .card:first-child .card-link { color: #fff; }
.page-summary-grid .card:first-child p { color: rgba(255,255,255,.78); }
.page-summary-grid .card:first-child .card-icon {
    color: #fff;
    background: rgba(255,255,255,.12);
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3vw, 36px);
    box-shadow: var(--shadow-sm);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.16,1,.3,1);
    cursor: pointer;
}
.card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 10px;
    color: var(--cta);
    background: var(--accent-soft);
}
.card-icon .icon { width: 26px; height: 26px; }
.card h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}
.card p { color: var(--muted); font-size: var(--text-base); line-height: 1.65; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--cta);
    font-weight: 700;
    font-size: var(--text-md);
    transition: gap .2s ease, color .2s ease;
    cursor: pointer;
}
.card-link:hover,
.card-link:focus-visible { color: var(--cta-dark); text-decoration: underline; text-underline-offset: .22em; }
.card-link .icon { width: 16px; height: 16px; }

/* ---------- Text panels ---------- */
.text-panel {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 32px;
    align-items: start;
}
.copy-block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.copy-block h2,
.copy-block h3 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.3;
}
.copy-block h2 { margin-bottom: 16px; font-size: clamp(1.5rem, 3vw, 2rem); }
.copy-block h3 { margin: 24px 0 10px; font-size: 1.15rem; }
.copy-block p { color: var(--muted); margin-top: 12px; }
.copy-block > img,
.panel-photo {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
}
.copy-block > img { margin-top: 20px; }

.check-list { display: grid; gap: 12px; margin-top: 18px; }
.check-list li {
    position: relative;
    padding-left: 32px;
    color: var(--muted);
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 2px solid var(--cta);
}
.check-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: calc(.45em + 5px);
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--cta);
    border-bottom: 2px solid var(--cta);
    transform: rotate(-45deg);
}

/* ---------- Services ---------- */
.service-region-bar {
    padding: 0 0 48px;
    margin-top: -28px;
    position: relative;
    z-index: 2;
}
.service-region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.service-region-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: border-color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.service-region-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--cta);
}
.service-region-icon .icon { width: 20px; height: 20px; }
.service-region-label {
    margin-top: 4px;
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.service-region-card strong {
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}
.service-region-card p {
    color: var(--muted);
    font-size: var(--text-md);
    line-height: 1.65;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.service-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.service-card-media {
    position: relative;
    height: 210px;
    overflow: hidden;
}
.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.service-card-num {
    display: none;
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .04em;
}
.service-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    flex: 1;
}
.service-card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--cta);
    background: var(--accent-soft);
}
.service-card-icon .icon { width: 22px; height: 22px; }
.service-card h3 {
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.12rem;
    line-height: 1.4;
}
.service-card p {
    color: var(--muted);
    font-size: var(--text-md);
    line-height: 1.65;
}

.service-industry-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.service-industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 14px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    text-align: center;
    transition: background .2s ease, border-color .2s ease;
}
.service-industry-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--accent-light);
    background: rgba(229,160,168,.12);
}
.service-industry-icon .icon { width: 26px; height: 26px; }
.service-industry-item span {
    color: rgba(255,255,255,.88);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.4;
}

.copy-block .check-list a {
    color: var(--cta);
    font-weight: 700;
    transition: color .2s ease;
    cursor: pointer;
}
.copy-block .check-list a:hover { color: var(--cta-dark); }

/* ---------- About ---------- */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.about-hero-copy .lead {
    max-width: 540px;
    margin-top: 16px;
    color: rgba(255,255,255,.88);
    font-size: var(--text-lg);
    line-height: 1.6;
}
.about-hero-copy .hero-actions { margin-top: 24px; }
.about-hero-copy .trust-badges { margin-top: 20px; }

.about-story {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
}
.about-story-copy h2 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.25;
    margin-bottom: 4px;
}
.about-story-copy > p {
    color: var(--muted);
    margin-top: 14px;
    line-height: 1.75;
}
.about-story-copy > .lead {
    margin-top: 12px;
    margin-bottom: 0;
}

.about-timeline {
    display: grid;
    gap: 0;
    margin-top: 32px;
    padding-left: 0;
    list-style: none;
    border-left: 2px solid var(--line);
}
.about-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    padding: 0 0 28px 24px;
}
.about-timeline-item:last-child { padding-bottom: 0; }
.about-timeline-item::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cta);
    border: 2px solid var(--surface);
    box-shadow: 0 0 0 2px var(--cta);
}
.about-timeline-year {
    color: var(--cta);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1.4;
    padding-top: 2px;
}
.about-timeline-body strong {
    display: none;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.about-timeline-body p {
    color: var(--muted);
    font-size: var(--text-md);
    line-height: 1.65;
}

.about-story-visual {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.about-story-visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.about-story-visual figcaption {
    padding: 14px 18px;
    background: var(--navy);
    color: rgba(255,255,255,.82);
    font-size: var(--text-sm);
    font-weight: 600;
    text-align: center;
}

.about-promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.about-promise-item {
    padding: 24px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: border-color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.about-promise-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 10px;
    color: var(--cta);
    background: var(--accent-soft);
}
.about-promise-icon .icon { width: 24px; height: 24px; }
.about-promise-item h3 {
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.08rem;
    margin-bottom: 8px;
}
.about-promise-item p {
    color: var(--muted);
    font-size: var(--text-md);
    line-height: 1.65;
}

.about-credential-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.about-credential-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
    cursor: pointer;
}
.about-credential-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 6px;
    border-radius: 10px;
    color: var(--cta);
    background: var(--accent-soft);
}
.about-credential-icon .icon { width: 24px; height: 24px; }
.about-credential-card strong {
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.08rem;
    line-height: 1.35;
}
.about-credential-card span {
    color: var(--muted);
    font-size: var(--text-md);
    line-height: 1.55;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.service-list { display: grid; gap: 20px; }
.service-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    align-items: center;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.service-row img {
    width: 100%;
    height: 140px;
    border-radius: var(--radius);
    object-fit: cover;
}
.service-row h3 {
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.service-row p { color: var(--muted); font-size: var(--text-base); }

/* ---------- Cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    border-radius: var(--radius-lg);
    color: #fff;
    background: linear-gradient(160deg, var(--navy), var(--slate));
    box-shadow: var(--shadow-sm);
}
.case-card span { color: var(--accent-light); font-weight: 700; font-size: var(--text-xs); letter-spacing: 1px; text-transform: uppercase; }
.case-card h3 { margin: 8px 0; font-family: var(--font-heading); font-size: 1.2rem; }
.case-card p { color: rgba(255,255,255,.78); font-size: var(--text-md); }

.case-photo {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: border-color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.case-media { position: relative; display: block; overflow: hidden; }
.case-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.case-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    /* Solid fill — no backdrop-filter: 12 of these on the cases grid would
       each force a backdrop sample on every frame */
    background: rgba(32,35,38,.72);
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s cubic-bezier(.16,1,.3,1);
}
.case-zoom .icon { width: 18px; height: 18px; }
.case-photo.js-lightbox:hover .case-zoom,
.case-photo.js-lightbox:focus-visible .case-zoom { opacity: 1; transform: translateY(0); }
.case-photo figcaption {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 15px 20px 17px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}
.case-title {
    color: var(--navy);
    font-weight: 700;
    font-size: var(--text-md);
    line-height: 1.4;
}
.case-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: .05em;
}
.case-meta .icon { width: 14px; height: 14px; color: var(--cta); }
.case-photo.is-hidden { display: none; }
.case-photo.filter-in { animation: case-filter-in .38s cubic-bezier(.16,1,.3,1) both; }
@keyframes case-filter-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

/* ---------- Case filter ---------- */
.case-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 34px;
}
.case-filter-btn {
    min-height: 42px;
    padding: 0 22px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.case-filter-btn:hover { border-color: var(--cta); color: var(--cta); }
.case-filter-btn.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .18);
}

/* ---------- Case lightbox ---------- */
body.lightbox-open { overflow: hidden; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(72px, 9vw, 96px) clamp(16px, 6vw, 96px) clamp(16px, 4vw, 48px);
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26,28,30,.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: lightbox-fade .25s ease both;
    cursor: zoom-out;
}
.lightbox-figure {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-width: min(1080px, 100%);
    max-height: 100%;
    margin: 0;
    animation: lightbox-in .32s cubic-bezier(.16,1,.3,1) both;
}
.lightbox-figure img {
    width: 100%;
    max-height: calc(100dvh - 190px);
    object-fit: contain;
    border-radius: var(--radius);
    background: #17191A;
}
.lightbox-caption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 4px 0;
    color: #fff;
}
.lightbox-caption span:first-child {
    font-weight: 700;
    font-size: var(--text-lg);
    line-height: 1.4;
}
.lightbox-caption span:last-child {
    flex-shrink: 0;
    color: rgba(255, 255, 255, .68);
    font-size: var(--text-sm);
    font-variant-numeric: tabular-nums;
}
.lightbox-btn {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(32,35,38,.6);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.lightbox-btn .icon { width: 20px; height: 20px; }
.lightbox-btn:hover { background: var(--cta); border-color: var(--cta); }
.lightbox-btn:active { transform: scale(.94); }
.lightbox-close { top: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 28px); }
.lightbox-prev,
.lightbox-next { top: 50%; margin-top: -23px; }
.lightbox-prev { left: clamp(12px, 3vw, 32px); }
.lightbox-next { right: clamp(12px, 3vw, 32px); }
@keyframes lightbox-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes lightbox-in {
    from { opacity: 0; transform: scale(.96); }
    to { opacity: 1; transform: none; }
}

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-grid.two { grid-template-columns: repeat(2, 1fr); }
.photo-grid + .spec-grid { margin-top: 24px; }
.photo-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}
.photo-frame {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    background: var(--surface);
    transition: border-color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.photo-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.photo-frame:hover img,
.photo-frame:focus-visible img { transform: scale(1.04); }

/* Shared lightbox trigger affordance */
.js-lightbox { cursor: pointer; }
.js-lightbox:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; }

/* ---------- Brands & certs ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.brand-item {
    grid-column: span 4;
    display: grid;
    place-items: center;
    min-height: 140px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--navy);
    font-weight: 700;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.16,1,.3,1);
    cursor: default;
}
.brand-item:nth-child(n + 10) { grid-column: span 3; }
.brand-item img {
    max-width: 86%;
    max-height: 68px;
    object-fit: contain;
    margin-bottom: 8px;
}
.brand-item small { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; font-size: var(--text-xs); }
.brand-market-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 18px;
    margin-top: 28px;
    padding: 4px 0 4px 14px;
    border-inline-start: 3px solid var(--cta);
    color: var(--muted);
}
.brand-market-bar strong { color: var(--navy); }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: border-color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.cert-card img {
    width: 100%;
    height: 210px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--bg);
    object-fit: contain;
}
.cert-card h3 { color: var(--navy); font-family: var(--font-heading); font-size: 1.02rem; line-height: 1.35; }
.cert-card p { color: var(--muted); font-size: var(--text-md); }

/* ---------- Specs (dark sections) ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spec-box {
    padding: 24px;
    border-left: 3px solid var(--brand-red);
    border-radius: var(--radius);
    background: rgba(255,255,255,.06);
}
.spec-box h3 { color: #fff; margin-bottom: 8px; font-family: var(--font-heading); }
.spec-box p { color: rgba(255,255,255,.75); font-size: var(--text-md); }

.feature-list { display: grid; gap: 12px; margin-top: 20px; }
.feature-list li {
    position: relative;
    padding-left: 28px;
    color: rgba(255,255,255,.82);
    font-size: var(--text-base);
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: var(--brand-red);
}
.feature-list strong { color: #fff; }

/* ---------- Contact ---------- */
.contact-hero { padding: clamp(48px, 6vw, 72px) 0; }
.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.contact-hero-copy .lead {
    max-width: 520px;
    margin-top: 16px;
    color: rgba(255,255,255,.88);
    font-size: var(--text-lg);
    line-height: 1.6;
}
.contact-hero-visual {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.contact-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* ---------- Location band: one unified contact and map surface ---------- */
.map-card {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    align-content: start;
    margin: 0;
    padding: clamp(28px, 4vw, 54px);
    background: var(--surface);
}
.map-card-col > h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: .05em;
    line-height: 1.2;
}
.map-card-col > h3::before {
    content: "";
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: var(--cta);
}
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-emergency-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 60%),
        var(--navy);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .1),
        0 16px 30px -18px rgba(18, 27, 43, .55);
    color: #fff;
    transition: background-color .25s ease, transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease;
}
.contact-emergency-link:hover {
    background-color: var(--cta-dark);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        0 20px 34px -18px rgba(143, 22, 37, .55);
}
.contact-emergency-link:active { transform: translateY(0) scale(.99); }
.contact-emergency-link span { display: grid; gap: 3px; }
.contact-emergency-link small {
    color: rgba(255,255,255,.72);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .12em;
}
.contact-emergency-link strong {
    font-size: clamp(1.45rem, 1.8vw, 1.7rem);
    letter-spacing: .02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.contact-emergency-link .icon {
    width: 24px;
    height: 24px;
    color: var(--accent-light);
    transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.contact-emergency-link:hover .icon { transform: translateX(3px); }
.sidebar-lanes {
    display: grid;
    border-top: 1px solid var(--line);
}
.sidebar-lane-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    background: transparent;
    text-decoration: none;
    color: inherit;
    transition: background-color .25s ease;
}
.sidebar-lane-item:hover { background: rgba(179, 38, 62, .05); }
.lane-icon-sm {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--cta);
    transition: background-color .25s ease, color .25s ease;
}
.sidebar-lane-item:hover .lane-icon-sm {
    background: var(--cta);
    color: #fff;
}
.lane-icon-sm .icon { width: 16px; height: 16px; }
.lane-info { display: grid; gap: 2px; min-width: 0; }
.lane-label {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 600;
}
.lane-info strong {
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.2;
    white-space: nowrap;
}
.sidebar-contact-list {
    display: grid;
}
.sidebar-contact-list li {
    border-bottom: 1px solid var(--line);
}
.sidebar-contact-list li:last-child { border-bottom: 0; }
.sidebar-contact-list li a,
.sidebar-contact-list li span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 4px;
    color: var(--slate);
    font-size: 1.1rem;
    line-height: 1.4;
}
.sidebar-contact-list a {
    transition: color .2s ease;
}
.sidebar-contact-list a:hover { color: var(--cta); }
.sidebar-contact-list .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--cta);
}
#location-map { padding-bottom: clamp(44px, 5vw, 64px); }
#emergency-contact { scroll-margin-top: 100px; }
#location-map .section-head h2 {
    position: relative;
    z-index: 0;
    width: fit-content;
    padding: 12px 28px;
    isolation: isolate;
}
#location-map .section-head h2::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(179, 38, 62, .1);
    transform: skewX(-12deg);
    transform-origin: center;
}
#location-map .section-head h2::after { display: none; }
#location-map .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 56px);
}
#location-map .section-head .lead { max-width: 44ch; margin-top: 0; }
@media (max-width: 760px) {
    #location-map .section-head { display: block; }
    #location-map .section-head .lead { margin-top: 14px; }
}
.map-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin-inline: 0;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--surface);
}
.map-band-frame {
    position: relative;
    min-height: clamp(420px, 55vh, 620px);
    background: var(--line);
}
.map-band-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    /* calm the map into the site palette; full colour returns on hover */
    filter: saturate(.45) sepia(.08);
    transition: filter .5s ease;
}
@media (hover: hover) {
    .map-band-frame:hover iframe { filter: saturate(.9) sepia(0); }
}
@media (min-width: 761px) {
    .map-card { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); row-gap: 34px; }
}
@media (min-width: 1100px) {
    .map-card { grid-template-columns: 1fr 1.25fr 1.15fr 1.2fr; column-gap: clamp(24px, 3vw, 48px); row-gap: 0; }
}
@media (min-width: 1100px) {
    .map-band-frame { min-height: clamp(480px, 55vh, 640px); }
}
.contact-map-address {
    color: var(--slate);
    font-size: 1.28rem;
    line-height: 1.65;
}
.contact-map-meta {
    display: grid;
    gap: 16px;
    margin: 18px 0 0;
}
.contact-map-meta li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.55;
}
.contact-map-meta .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--cta);
}
.contact-map-actions {
    display: grid;
    margin-top: auto;
    padding-top: 26px;
}
.contact-map-actions .btn { width: 100%; }
.contact-map-actions .btn .icon {
    transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.contact-map-actions .btn:hover .icon { transform: translateX(5px); }
.contact-map-actions .btn:active { transform: scale(.98); }

/* Keep the contact and location information compact: one typographic callout,
   plain rows, and a directions button directly below the address. */
#location-map .map-card { align-items: start; }
#location-map .contact-emergency-link {
    justify-content: flex-start;
    margin: 0 0 18px;
    padding: 4px 0 14px 14px;
    border-left: 3px solid var(--cta);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--navy);
    transform: none;
}
#location-map .contact-emergency-link:hover,
#location-map .contact-emergency-link:active {
    background: transparent;
    box-shadow: none;
    transform: none;
}
#location-map .contact-emergency-link small { color: var(--muted); }
#location-map .contact-emergency-link .icon { display: none; }
#location-map .sidebar-lane-item { gap: 10px; padding-block: 10px; }
#location-map .lane-icon-sm,
#location-map .sidebar-contact-list .icon { display: none; }
#location-map .sidebar-lane-item:hover { background: transparent; }
#location-map .sidebar-lane-item:hover .lane-icon-sm {
    background: transparent;
    color: var(--cta);
}
#location-map .sidebar-contact-list li a,
#location-map .sidebar-contact-list li > span { gap: 10px; padding-block: 10px; }
#location-map .map-card-col { min-width: 0; }
#location-map .map-card-col--location { display: block; }
#location-map .contact-map-actions { margin-top: 20px; padding-top: 0; }
#location-map .contact-map-actions .btn { width: fit-content; }

/* Staggered waterfall reveal inside the card (animation keeps each
   child's own hover transitions intact) */
@keyframes mapCardRise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.map-band.in .map-card .map-card-col > * {
    animation: mapCardRise .6s cubic-bezier(.16, 1, .3, 1) both;
}
.map-band.in .map-card .map-card-col > *:nth-child(2) { animation-delay: .07s; }
.map-band.in .map-card .map-card-col > *:nth-child(3) { animation-delay: .14s; }
.map-band.in .map-card .map-card-col > *:nth-child(4) { animation-delay: .21s; }
.map-band.in .map-card .map-card-col > *:nth-child(5) { animation-delay: .28s; }
.map-band.in .map-card .map-card-col > *:nth-child(6) { animation-delay: .35s; }
.map-band.in .map-card .map-card-col > *:nth-child(7) { animation-delay: .42s; }
@media (prefers-reduced-motion: reduce) {
    .map-band.in .map-card .map-card-col > * { animation: none; }
}

.contact-form-wrapper {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}
.contact-form-heading {
    max-width: 620px;
    margin-bottom: 32px;
}
.contact-form-heading h2 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.15;
}
.contact-form-heading p {
    color: var(--muted);
    line-height: 1.6;
}
.contact-form { display: grid; gap: 20px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-field { display: grid; gap: 8px; }
.form-field label {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.875rem;
}
.form-field .required { color: var(--brand-red); }
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #EEECE7;
    color: var(--text);
    font: inherit;
    transition: all .2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #6A6B67; opacity: 1; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--cta);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(179, 38, 62, .08);
}
.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(212, 0, 0, .05);
}
.contact-form .btn:disabled {
    cursor: not-allowed;
    opacity: .72;
    box-shadow: none;
}
.form-status {
    min-height: 0;
    font-size: 0.875rem;
    font-weight: 600;
}
.form-status:not(:empty) { padding: 14px 20px; border-radius: 10px; }
.form-status.is-success {
    color: #065F46;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
}
.form-status.is-error {
    color: #991B1B;
    background: #FEF2F2;
    border: 1px solid #FECACA;
}

/* ---------- CTA band ---------- */
.cta-band {
    padding: clamp(52px, 6vw, 72px) 0;
    color: #fff;
    background:
        linear-gradient(110deg, rgba(32,35,38,.98), rgba(143,22,37,.94)),
        var(--navy);
    border-top: 3px solid var(--brand-red);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.cta-inner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.3;
}
.cta-inner p { color: rgba(255,255,255,.82); margin-top: 8px; font-size: var(--text-base); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: #A7A39C;
    padding-top: 56px;
    border-top: 3px solid var(--brand-red);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
}
.footer-brand .brand-icon { margin-bottom: 14px; height: 40px; width: auto; }
.footer-brand strong { display: block; color: #fff; font-family: var(--font-heading); font-size: 1.1rem; }
.footer-brand > span {
    display: block;
    margin: 4px 0 12px;
    color: var(--accent-light);
    font-size: var(--text-xs);
    letter-spacing: .8px;
    text-transform: uppercase;
}
.footer-brand p { max-width: 340px; color: #6A6B67; font-size: var(--text-sm); }
.footer-col h4 { margin-bottom: 14px; color: #fff; font-size: var(--text-md); font-weight: 700; letter-spacing: .5px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a,
.footer-col li { color: #A7A39C; font-size: var(--text-sm); transition: color .2s ease; }
.footer-col a { cursor: pointer; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    color: #6A6B67;
    font-size: var(--text-xs);
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--cta);
    color: #fff;
    box-shadow: 0 8px 20px rgba(179, 38, 62, .28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease;
    z-index: 90;
    cursor: pointer;
}
.back-to-top .icon { width: 22px; height: 22px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--cta-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(179, 38, 62, .36); }
.back-to-top:active { transform: translateY(0); }

/* ---------- Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .65s cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms),
        transform .65s cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .brand-text > span { display: none; }
}

/* Tighter nav spacing on narrow desktops so the menu stays on one line */
@media (min-width: 1281px) and (max-width: 1460px) {
    .main-nav a:not(.nav-cta) { padding-inline: 9px; }
    .main-nav a:not(.nav-cta)::after { left: 9px; right: 9px; }
    .main-nav .nav-cta { padding-inline: 14px; margin-left: 4px; }
}

@media (max-width: 1280px) {
    .header-inner .brand {
        flex: 1;
        min-width: 0;
        margin-right: 12px;
    }

    .header-inner {
        position: relative;
        isolation: isolate;
    }
    .header-inner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, .97);
        z-index: 0;
        pointer-events: none;
    }
    .header-inner .brand,
    .header-inner .nav-toggle {
        position: relative;
        z-index: 1;
    }

    .main-nav {
        position: fixed;
        top: var(--mobile-nav-top, calc(var(--topbar-h) + var(--header-h)));
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: none;
        display: flex;
        flex-direction: column;
        padding: 16px 22px 20px;
        background: var(--surface);
        box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
        border-bottom: 3px solid var(--brand-red);
        transform: scaleY(0);
        transform-origin: top;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: none;
        z-index: -1;
        overflow: hidden;
    }
    .main-nav.open {
        transform: scaleY(1);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition: transform .3s ease, opacity .25s ease, visibility .25s ease;
    }
    html.is-resizing .main-nav {
        transition: none !important;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        overflow: visible;
    }
    .main-nav a {
        position: relative;
        isolation: isolate;
        min-height: 52px;
        width: 100%;
        padding: 12px 20px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--surface);
        color: var(--navy);
        font-size: 1.05rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        transition: all 0.2s ease;
    }
    .main-nav a:not(.nav-cta)::before,
    .main-nav a:not(.nav-cta)::after { display: none; }

    .main-nav a:not(.nav-cta):hover {
        background: var(--accent-soft);
        color: var(--cta);
        border-color: var(--cta);
    }
    .main-nav a:not(.nav-cta).active {
        color: #fff;
        background: var(--navy);
        border-color: var(--navy);
        font-weight: 700;
    }
    .main-nav a:not(.nav-cta).active:hover {
        color: #fff;
        background: var(--navy);
    }
    .main-nav .nav-cta {
        margin-left: 0;
        /* margin-top: 4px; */
        justify-content: center;
        border-color: transparent;
        background: var(--cta);
        color: #fff;
    }
    .main-nav .nav-cta:hover,
    .main-nav .nav-cta.active {
        background: var(--cta-dark);
        color: #fff;
        box-shadow: 0 4px 14px rgba(179, 38, 62, .24);
    }
    .nav-toggle { display: flex; position: relative; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 960px) {
    .card-grid,
    .card-grid.four,
    .case-grid,
    .cert-grid,
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .text-panel,
    .contact-grid,
    .contact-hero-grid,
    .about-hero-grid,
    .about-story,
    .about-credential-grid,
    .service-card-grid,
    .service-region-grid { grid-template-columns: 1fr; }
    .service-industry-grid { grid-template-columns: repeat(3, 1fr); }
    .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-item,
    .brand-item:nth-child(n + 10) { grid-column: auto; }
    .page-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-trust-inner { grid-template-columns: 1fr; gap: 20px; }
    .brand-trust-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .form-row { grid-template-columns: 1fr; }
    .map-band-frame { height: 400px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .stat {
        padding: 16px 12px;
        border-left: none !important;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }
    .stats-grid .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.2); }
    .stats-grid .stat:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 700px) {
    .topbar-tag { display: none; }
    .topbar-inner { justify-content: center; }
    .main-nav { padding: 14px 18px 16px; }
    .main-nav ul { gap: 6px; }
    .main-nav a {
        min-height: 48px;
        padding: 10px 14px;
        font-size: var(--text-base);
    }
    .section { padding: 56px 0; }
    .card-grid,
    .card-grid.two,
    .card-grid.four,
    .case-grid,
    .cert-grid,
    .photo-grid,
    .spec-grid,
    .stats-grid { grid-template-columns: 1fr; }
    .stats-grid .stat:nth-child(odd) { border-right: none; }
    .stats-grid .stat:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.12); }
    .stats-grid .stat:last-child { border-bottom: none; }
    .page-summary-grid { grid-template-columns: 1fr; }
    .brand-trust { padding: 24px 0; }
    .brand-trust-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
    .brand-trust-logos img { height: 34px; }
    .case-photo:nth-child(n) img { height: auto; }
    .case-filter-btn { min-height: 40px; padding: 0 16px; font-size: var(--text-xs); }
    .case-filter { gap: 8px; margin-bottom: 26px; }
    .lightbox { padding: clamp(64px, 10vw, 96px) 16px 84px; }
    .lightbox-figure img { max-height: calc(100dvh - 210px); }
    .lightbox-prev,
    .lightbox-next { top: auto; bottom: 20px; margin-top: 0; }
    .lightbox-prev { left: calc(50% - 58px); }
    .lightbox-next { right: calc(50% - 58px); }
    .lightbox-caption { flex-direction: column; gap: 2px; padding-top: 12px; }
    .lightbox-caption span:first-child { font-size: var(--text-base); }
    .brand-grid { grid-template-columns: 1fr; }
    .service-row { grid-template-columns: 1fr; }
    .cta-inner { align-items: flex-start; }
}

/* The #inquiry-form anchor target must never sit hidden behind a
   pending reveal animation when the page loads or scrolls to it. */
#inquiry-form .contact-form-wrapper {
    opacity: 1;
    transform: none;
}

@media (max-width: 480px) {
    .brand-icon { height: 46px; }
    .brand-text strong {
        font-size: clamp(0.82rem, 3.4vw, 0.95rem);
    }
}

@media (max-width: 460px) {
    :root { --gutter: 16px; }
    .brand-icon { height: 44px; }
    .topbar-contact { font-size: var(--text-xs); gap: 14px; justify-content: center; }
    .copy-block,
    .card,
    .service-row,
    .contact-form-wrapper { padding: 22px; }
    .map-card { padding: 20px; }
    .service-industry-grid { grid-template-columns: repeat(2, 1fr); }
    .service-region-card { padding: 20px 18px; }
    .about-timeline-item {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-left: 20px;
    }
    .about-timeline-year { padding-top: 0; }
}

/* Evidence-led homepage adjustments */
.hero-kicker {
    margin-bottom: 12px;
    color: rgba(255,255,255,.78);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: .08em;
}
.hero h1 { max-width: 760px; }
.stats-grid--three { grid-template-columns: repeat(3, 1fr); }
.proof-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 760px) {
    .stats-grid--three,
    .proof-grid { grid-template-columns: 1fr; }
}
.hero::before {
    background-image: url("../assets/images/team-truck.jpg");
    background-position: center 58%;
}

/* =========================================================
   Shared visual refresh
   One editorial system across the home page and inner pages.
   ========================================================= */
:root {
    --navy: #121b2b;
    --slate: #344155;
    --cta: #b3263e;
    --cta-dark: #8f1d31;
    --bg: #f4f1ec;
    --text: #172033;
    --muted: #657080;
    --line: #d8d9d6;
    --surface: #fffdfa;
    --brand-red: #b3263e;
    --brand-red-soft: #f8e9ec;
    --accent-soft: #f4e7e9;
    --accent-light: #e9a8b3;
    --shadow: 0 22px 56px rgba(18, 27, 43, .12);
    --shadow-sm: 0 10px 28px rgba(18, 27, 43, .07);
    --max: 1280px;
    --gutter: clamp(20px, 4vw, 56px);
    --header-h: 76px;
    --topbar-h: 36px;
}

html { font-size: 100%; }
body { background: var(--bg); color: var(--text); line-height: 1.7; }
.container { max-width: var(--max); }

.topbar {
    background: var(--navy);
    border-bottom: 2px solid var(--brand-red);
    color: rgba(255,255,255,.72);
    font-size: .8rem;
}
.topbar-inner { min-height: var(--topbar-h); }
.topbar-tag { color: rgba(255,255,255,.8); }
.topbar-contact { gap: 20px; }
.topbar-contact a:hover { color: #fff; }

.site-header {
    background: rgba(255,253,250,.97);
    border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 8px 22px rgba(18,27,43,.1); }
.brand { gap: 14px; }
.brand-icon { height: 42px; }
.brand-text strong { color: var(--navy); font-size: clamp(.98rem, .6rem + .8vw, 1.16rem); }
.brand-text > span { color: #737b86; font-size: .75rem; letter-spacing: .08em; }
.main-nav ul { gap: 2px; }
.main-nav a { color: var(--slate); font-size: .92rem; padding: 8px 10px; }
.main-nav a:not(.nav-cta)::after { left: 10px; right: 10px; background: var(--cta); }
.main-nav a:not(.nav-cta).active { color: var(--navy); }
.main-nav a:not(.nav-cta).active::after { background: var(--cta); }
.main-nav .nav-cta {
    margin-left: 10px;
    background: var(--cta);
    border-radius: 7px;
}
.main-nav .nav-cta:hover,
.main-nav .nav-cta.active { background: var(--cta-dark); box-shadow: 0 6px 16px rgba(179,38,62,.24); }
.nav-toggle { background: var(--surface); border-color: var(--line); }
.nav-toggle:hover { background: var(--accent-soft); border-color: var(--cta); }

.hero,
.page-hero { background: var(--navy); }
.hero::after { background: linear-gradient(100deg, rgba(18,27,43,.96), rgba(18,27,43,.74) 52%, rgba(96,29,47,.52)); }
.hero-panel { max-width: 680px; padding-block: clamp(58px, 8vw, 96px); }
.hero-kicker { color: rgba(255,255,255,.72); font-size: .82rem; letter-spacing: .12em; }
.hero h1,
.page-hero h1 { font-size: clamp(2.3rem, 4.5vw, 4rem); letter-spacing: -.035em; }
.hero-sub { color: var(--accent-light); }
.hero-desc { color: rgba(255,255,255,.78); max-width: 600px; }
.page-hero { padding-block: clamp(60px, 8vw, 100px); }
.page-hero::after { background: linear-gradient(105deg, rgba(18,27,43,.97), rgba(18,27,43,.82) 56%, rgba(96,29,47,.55)); }
.page-hero p { color: rgba(255,255,255,.78); }

.btn-primary { background: var(--cta); box-shadow: 0 5px 16px rgba(179,38,62,.24); }
.btn-primary:hover { background: var(--cta-dark); box-shadow: 0 8px 22px rgba(179,38,62,.32); }
.btn-secondary:hover { border-color: var(--cta); color: var(--cta); background: var(--accent-soft); }
.btn-light { color: var(--navy); }

.section { padding-block: clamp(68px, 8vw, 104px); }
.section-sm { padding-block: clamp(42px, 6vw, 72px); }
.bg-soft { background: #eeece7; }
.bg-dark { background: var(--navy); }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.025em; }
.section-head h2::after { background: var(--cta); width: 42px; height: 2px; margin-top: 14px; }
.lead { color: var(--muted); font-size: 1.05rem; }
.eyebrow { color: var(--cta); letter-spacing: .16em; font-size: .72rem; }
.bg-dark .section-head h2 { color: #fff; }
.bg-dark .lead { color: rgba(255,255,255,.7); }

.stats-band { background: var(--navy); border-top: 2px solid var(--brand-red); padding-block: 22px; }
.stat strong { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.stat span { color: rgba(255,255,255,.65); font-size: .72rem; letter-spacing: .12em; }

.card,
.copy-block,
.service-region-card,
.service-row,
.about-promise-item,
.about-credential-card,
.cert-card,
.brand-item,
.photo-frame,
.case-photo {
    background: var(--surface);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
    border-radius: 16px;
}
.card-icon,
.about-promise-icon,
.about-credential-icon,
.service-region-icon { background: var(--accent-soft); color: var(--cta); }
.card h3,
.copy-block h2,
.copy-block h3,
.service-row h3,
.about-promise-item h3,
.cert-card h3,
.brand-item { color: var(--navy); }
.card-link { color: var(--cta); }
.card-link:hover { color: var(--cta-dark); }

.page-summary-grid .card:first-child {
    background: linear-gradient(145deg, #b3263e, #2a1c2d);
}
.page-summary-grid .card:first-child p { color: rgba(255,255,255,.82); }
.page-summary-grid .card:first-child .card-link { color: #fff; }

.service-region-bar { margin-top: -24px; padding-bottom: 44px; }
.service-region-card {
    --region-slant: clamp(10px, 1.5vw, 20px);
    padding: 22px calc(16px + var(--region-slant));
    border: 0;
    border-radius: 0;
    clip-path: polygon(var(--region-slant) 0, 100% 0, calc(100% - var(--region-slant)) 100%, 0 100%);
}
.service-region-label { color: var(--cta); letter-spacing: .08em; font-size: .72rem; }
.service-region-card strong { color: var(--navy); }
.service-region-card p { color: var(--muted); font-size: .92rem; }

.case-filter-btn { border-color: var(--line); background: var(--surface); color: var(--muted); }
.case-filter-btn:hover { border-color: var(--cta); color: var(--cta); }
.case-filter-btn.is-active { background: var(--navy); border-color: var(--navy); }
.case-filter-btn.is-active:hover,
.case-filter-btn.is-active:focus-visible {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.case-meta .icon { color: var(--cta); }

.spec-box { background: rgba(255,255,255,.055); border-left-color: var(--cta); }
.feature-list li::before { background: var(--cta); }

.cta-band {
    padding-block: clamp(44px, 6vw, 68px);
    background: linear-gradient(110deg, #182235, #3b1d2c 70%, #8f1d31);
    border-top: 2px solid var(--brand-red);
}
.cta-inner h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); }
.cta-inner p { color: rgba(255,255,255,.72); }
.cta-inner .btn-light { background: #fffaf5; }
.cta-inner .btn-light:hover { background: var(--accent-soft); }

.site-footer { background: #101827; border-top: 2px solid var(--brand-red); padding-top: 48px; }
.footer-grid { gap: 44px; min-height: 190px; padding-bottom: 32px; }
.footer-brand .brand-icon { height: 36px; margin-bottom: 12px; }
.footer-brand strong { font-size: 1.3rem; }
.footer-brand > span { color: var(--accent-light); font-size: .8rem; letter-spacing: .08em; }
.footer-brand p { color: rgba(255,255,255,.62); max-width: 340px; font-size: 1.2rem; }
.footer-col h4 { color: #fff; font-size: 1.3rem; }
.footer-col ul { gap: 12px; }
.footer-col a,
.footer-col li { color: rgba(255,255,255,.68); font-size: 1.18rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top-color: rgba(255,255,255,.12); }
.footer-bottom .container { color: rgba(255,255,255,.5); font-size: 1rem; }
.back-to-top { background: var(--cta); box-shadow: 0 8px 20px rgba(179,38,62,.28); }
.back-to-top:hover { background: var(--cta-dark); box-shadow: 0 12px 26px rgba(179,38,62,.36); }

@media (min-width: 1101px) {
    .main-nav { position: static; width: auto; height: auto; display: block; padding: 0; background: transparent; box-shadow: none; border: 0; transform: none; visibility: visible; opacity: 1; pointer-events: auto; overflow: visible; }
    .main-nav ul { flex-direction: row; align-items: center; }
    .main-nav a { min-height: 0; width: auto; border: 0; border-radius: 0; background: transparent; justify-content: initial; text-align: left; }
    .main-nav a:not(.nav-cta):hover { background: transparent; color: var(--navy); }
    .nav-toggle { display: none; }
}

@media (max-width: 1100px) {
    .header-inner .brand { margin-right: 12px; }
    .main-nav { top: calc(var(--topbar-h) + var(--header-h)); }
    .brand-text > span { display: none; }
    .main-nav a:not(.nav-cta).active {
        color: #fff;
        background: var(--navy);
        border-color: var(--navy);
    }
    .main-nav a:not(.nav-cta).active:hover { color: #fff; background: var(--navy); }
}

@media (max-width: 700px) {
    .topbar-contact { font-size: .72rem; }
    .topbar-contact a:nth-child(2) { display: none; }
    .hero h1,
    .page-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
    .hero-actions .btn { width: 100%; }
    .cta-inner { gap: 20px; }
    .cta-inner .btn { width: 100%; }
    .footer-grid { gap: 28px; }
}

/* Muted brand accent: softer than the legacy signal red. */
:root {
    --cta: #b17a5d;
    --cta-dark: #8f604b;
    --brand-red: #b17a5d;
    --brand-red-soft: #f1e8e1;
    --accent-soft: #f1e9e3;
    --accent-light: #d9bba8;
}
.topbar,
.stats-band,
.site-footer { border-color: var(--brand-red); }
.main-nav .nav-cta,
.btn-primary,
.back-to-top { background: var(--cta); }
.main-nav .nav-cta:hover,
.main-nav .nav-cta.active,
.btn-primary:hover,
.back-to-top:hover { background: var(--cta-dark); }
.hero::after,
.page-hero::after { background: linear-gradient(100deg, rgba(18,27,43,.96), rgba(18,27,43,.78) 55%, rgba(104,77,58,.34)); }
.page-summary-grid .card:first-child { background: linear-gradient(145deg, #3b4758, #202a39); }
.cta-band { background: linear-gradient(110deg, #182235, #202a39 70%, #4d4037); }
.cta-band,
.stats-band { border-top-width: 1px; }
.site-footer { border-top-width: 1px; }

/* Keep the full navigation available on compact desktop and tablet widths. */
@media (min-width: 901px) {
    .site-header .main-nav { position: relative; z-index: 1; top: auto !important; left: auto !important; right: auto !important; margin-left: auto; width: auto; height: auto; display: block; padding: 0; background: transparent; box-shadow: none; border: 0; transform: none; visibility: visible; opacity: 1; pointer-events: auto; overflow: visible; }
    .main-nav ul { flex-direction: row; align-items: center; gap: 0; }
    .main-nav a { min-height: 0; width: auto; border: 0; border-radius: 0; background: transparent; justify-content: initial; text-align: left; padding-inline: 7px; font-size: .82rem; }
    .main-nav a:not(.nav-cta):hover { background: transparent; color: var(--navy); }
    .main-nav a:not(.nav-cta)::before { display: none; }
    .main-nav a:not(.nav-cta)::after { display: block; }
    .main-nav a:not(.nav-cta).active {
        color: var(--navy);
        background: transparent;
        border-color: transparent;
    }
    .main-nav .nav-cta { margin-left: 5px; padding-inline: 12px; }
    .nav-toggle { display: none; }
}

@media (max-width: 900px) {
    .main-nav { top: var(--mobile-nav-top, calc(var(--topbar-h) + var(--header-h))) !important; }
}

@media (min-width: 761px) and (max-width: 960px) {
    .stats-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stats-grid--three .stat {
        border-bottom: 0;
        border-left: 0;
        border-right: 0;
    }
    .stats-grid--three .stat + .stat { border-left: 1px solid rgba(255,255,255,.2); }
}

/* Keep the three proof points in one row on tablet-sized screens; stack
   only when the content area is genuinely phone-sized. */
@media (max-width: 700px) {
    .stats-grid--three { grid-template-columns: 1fr; }
    .stats-grid--three .stat {
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }
    .stats-grid--three .stat:last-child { border-bottom: 0; }
}

/* The homepage proof points still fit comfortably beside one another on
   narrow tablets, even while the rest of the mobile layout is stacked. */
@media (min-width: 701px) and (max-width: 760px) {
    .stats-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stats-grid--three .stat {
        border-bottom: 0;
        border-left: 0;
        border-right: 0;
    }
    .stats-grid--three .stat + .stat { border-left: 1px solid rgba(255,255,255,.2); }
}

html.is-resizing .main-nav,
html.is-resizing .nav-backdrop,
html.is-resizing .nav-toggle,
html.is-resizing .main-nav a,
html.is-resizing .site-header,
html.is-resizing .header-inner {
    transition: none !important;
}

/* The open drawer is always a full-width stack, including its CTA. */
.main-nav.open .nav-cta {
    width: 100%;
    margin-left: 0;
}

@media (min-width: 901px) and (max-width: 1100px) {
    .main-nav:not(.open) a:not(.nav-cta).active {
        color: var(--navy);
        background: transparent;
        border-color: transparent;
    }
}

/* Shared desktop navbar treatment across viewport widths. */
.site-header { background: #feffff; }
.site-header .header-inner::before { background: #feffff; }
@media (min-width: 901px) {
    .nav-backdrop,
    .nav-backdrop.show {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .site-header,
    .site-header .header-inner {
        height: var(--header-h);
        min-height: var(--header-h);
    }
    .site-header { background: #feffff; }
    .site-header .header-inner::before { background: #feffff; }
    .main-nav a:not(.nav-cta) { color: var(--slate); }
    .main-nav a:not(.nav-cta):hover,
    .main-nav a:not(.nav-cta).active { color: var(--navy); }
    .site-header .main-nav:not(.open) a:not(.nav-cta).active:hover {
        color: var(--navy);
        background: transparent;
        border-color: transparent;
    }
    .main-nav a:not(.nav-cta).active::after { background: var(--cta); }
    .main-nav .nav-cta {
        height: 42px;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        color: #fff;
        background: var(--cta);
    }
    .main-nav .nav-cta:hover,
    .main-nav .nav-cta.active { color: #fff; background: var(--cta-dark); }
}


/* User-selected brand accent trial. */
:root {
    --cta: #9d2121;
    --cta-dark: #7f1a1a;
    --brand-red: #9d2121;
    --brand-red-soft: #f5e4e4;
    --accent-soft: #f3e8e6;
    --accent-light: #d7a7a2;
}

/* Final footer readability scale across every route. */
.footer-brand strong { font-size: 1.3rem; }
.footer-brand > span { font-size: .8rem; }
.footer-brand p { font-size: 1.2rem; }
.footer-col h4 { font-size: 1.3rem; }
.footer-col ul { gap: 12px; }
.footer-col a, .footer-col li { font-size: 1.18rem; }
.footer-bottom .container { font-size: 1rem; }

/* Improve readability for the shared navigation and homepage metrics. */
.topbar { font-size: .9rem; }
.stat span {
    font-size: clamp(.84rem, .76rem + .18vw, .95rem);
    letter-spacing: .08em;
}

@media (min-width: 901px) {
    .main-nav a {
        font-size: clamp(.86rem, .74rem + .28vw, 1rem);
    }
}

@media (max-width: 700px) {
    .topbar-contact {
        width: 100%;
        justify-content: center;
        gap: 4px 18px;
    }
    .topbar-contact a:nth-child(2) { display: inline-flex; }
}

/* Give the compact header a readable company name without letting it run
   beneath the menu control. */
@media (max-width: 900px) {
    .header-inner { gap: 12px; }
    .header-inner .brand { margin-right: 0; gap: 10px; }
    .brand-text strong {
        font-size: clamp(1.15rem, .95rem + .8vw, 1.45rem);
        line-height: 1.15;
        white-space: normal;
    }
}

@media (max-width: 460px) {
    .brand-icon { height: 40px; }
}

/* Increase the supporting labels under the homepage proof points. */
.stat span {
    font-size: clamp(1rem, .9rem + .25vw, 1.12rem);
    letter-spacing: .06em;
}

/* Keep the proof strip compact and make its supporting copy clear against
   the navy background at tablet and desktop widths. */
.stats-band { padding-block: 18px; }
.stat { padding-block: 12px; }
.stat strong { font-size: clamp(2rem, 4vw, 3.2rem); }
.stat span {
    color: rgba(255,255,255,.82);
    font-weight: 700;
}

/* Make the full desktop navigation easier to scan while keeping its links
   on one line beside the brand and contact button. */
@media (min-width: 901px) {
    .main-nav a {
        font-size: clamp(1rem, .88rem + .3vw, 1.12rem);
        padding-inline: 7px;
    }
    .main-nav .nav-cta { padding-inline: 12px; }
}

/* The inquiry page uses an open editorial form so the map panel can remain
   the only elevated surface on the contact page. */
#inquiry-form {
    background: var(--bg);
}
#inquiry-form .contact-form-wrapper {
    max-width: 1120px;
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
#inquiry-form .contact-form-heading {
    max-width: none;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
#inquiry-form .contact-form {
    gap: 24px;
}
#inquiry-form .form-field {
    gap: 10px;
}
#inquiry-form .contact-form input,
#inquiry-form .contact-form textarea,
#inquiry-form .contact-form select {
    border-radius: 8px;
    background: var(--surface);
}

/* Switch to the drawer before the full navigation can collide with the
   company name. The desktop treatment resumes once the header has room for
   every link. */
@media (max-width: 1020px) {
    .header-inner { gap: 12px; }
    .header-inner .brand { margin-right: 0; gap: 10px; }
    .brand-text strong {
        font-size: clamp(1.05rem, .9rem + .6vw, 1.3rem);
        line-height: 1.15;
        white-space: normal;
    }
    .site-header .main-nav {
        position: fixed;
        top: var(--mobile-nav-top, calc(var(--topbar-h) + var(--header-h))) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100%;
        margin-left: 0;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 16px 22px 20px;
        background: var(--surface);
        box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
        border-bottom: 3px solid var(--brand-red);
        transform: scaleY(0);
        transform-origin: top;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        z-index: 101;
    }
    .site-header .main-nav.open {
        transform: scaleY(1);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        z-index: 101;
    }
    .site-header .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }
    .site-header .main-nav a {
        width: 100%;
        min-height: 52px;
        padding: 12px 20px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--surface);
        color: var(--navy);
        font-size: 1.05rem;
        justify-content: center;
        text-align: center;
    }
    .site-header .main-nav a:not(.nav-cta).active,
    .site-header .main-nav a:not(.nav-cta).active:hover,
    .site-header .main-nav a:not(.nav-cta).active:focus-visible {
        color: #fff;
        background: var(--navy);
        border-color: var(--navy);
    }
    .site-header .main-nav a:not(.nav-cta)::after {
        display: none;
    }
    .site-header .main-nav .nav-cta { margin-left: 0; }
    .site-header .nav-toggle { display: flex; }
    .nav-backdrop.show {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

/* Keep the mobile drawer behind the brand row while it unfolds beneath it. */
@media (max-width: 1020px) {
    body.nav-open .site-header { z-index: 102; }
    /* Do not isolate the menu inside header-inner: that traps its z-index and
       prevents it from sitting behind the brand row. */
    .site-header .header-inner { position: relative; isolation: auto; z-index: auto; }
    .site-header .header-inner::before { z-index: 0; }
    .site-header .header-inner .brand,
    .site-header .header-inner .nav-toggle { position: relative; z-index: 2; }
    .site-header .main-nav,
    .site-header .main-nav.open { z-index: 1; }
}

/* Match the desktop company-name scale while the compact drawer is active. */
@media (min-width: 901px) and (max-width: 1020px) {
    .brand-text strong {
        font-size: 1.16rem;
    }
}

/* Keep the contact details legible on compact tablet widths; the links can
   still wrap as a group when the viewport becomes phone-sized. */
@media (max-width: 700px) {
    .topbar-contact { font-size: .9rem; }
}

/* Keep the homepage proof strip prominent while it remains a three-column
   layout on tablet-sized screens. */
@media (min-width: 701px) and (max-width: 960px) {
    .stats-band { padding-block: 22px; }
    .stats-grid--three .stat { padding: 14px 12px; }
    .stats-grid--three .stat strong {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }
    .stats-grid--three .stat span {
        margin-top: 10px;
        font-size: 1rem;
    }
}

/* Contact details follow the visitor's next action. */
#location-map .map-card { gap: 28px 56px; }
#location-map .map-card-col > h3 { font-size: 1.2rem; margin-bottom: 18px; }
#location-map .contact-emergency-link { padding: 0 0 0 18px; margin-bottom: 0; }
#location-map .contact-emergency-link strong { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
#location-map .lane-label { font-weight: 500; line-height: 1.5; }
#location-map .sidebar-lane-item { padding: 14px 0; }
#location-map .sidebar-contact-list li a,
#location-map .sidebar-contact-list li > span { padding: 12px 0; }
#location-map .sidebar-contact-list li span span,
#location-map .sidebar-contact-list li a span { padding: 0; display: block; }
#location-map .contact-map-address { font-size: 1.3rem; }
#location-map .contact-map-actions { margin-top: 24px; }
@media (min-width: 961px) {
    #location-map .map-card {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        grid-template-areas: "primary location" "departments location" "email location";
        align-items: start;
    }
    #location-map .map-card-col--primary { grid-area: primary; }
    #location-map .map-card-col--departments { grid-area: departments; }
    #location-map .map-card-col--email { grid-area: email; }
    #location-map .map-card-col--location {
        grid-area: location;
        border-left: 1px solid var(--line);
        padding-left: 40px;
        align-self: stretch;
    }
    #location-map .sidebar-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    #location-map .sidebar-contact-list li > a,
    #location-map .sidebar-contact-list li > span { min-height: 48px; }
}

/* Readable inquiry form typography at every viewport width. */
#inquiry-form .contact-form-heading p { font-size: 1.2rem; line-height: 1.65; }
#inquiry-form .form-field label { font-size: 1.1rem; line-height: 1.5; }
#inquiry-form .contact-form input,
#inquiry-form .contact-form textarea,
#inquiry-form .contact-form select { font-size: 1.2rem; line-height: 1.55; }
#inquiry-form .contact-form .btn { font-size: 1.2rem; }

/* One continuous background for the location heading and contact details. */
#location-map {
    border-top: 0;
    background: #eeece7;
    padding-top: clamp(48px, 6vw, 80px);
}
#location-map > .container { padding-bottom: 0; }

#location-map .map-band { border-block: 0; background: transparent; }
#location-map .map-card { background: transparent; }

/* Contact reference: urgent help, store visit, then department details. */
#location-map.contact-reference { background: #111; color: #f6f6f6; border: 0; padding-block: clamp(40px, 5vw, 72px); }
.contact-reference-inner { display: grid; gap: 24px; }
.contact-reference-heading h2 { font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.25; margin-bottom: 12px; }
.contact-reference-heading p { color: #aaa; font-size: 1.15rem; line-height: 1.6; }
.urgent-contact { border: 1px solid #b3263e; border-radius: 20px; padding: clamp(24px, 3vw, 36px); scroll-margin-top: 100px; }
.urgent-contact-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.urgent-contact-top h3, .store-contact h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; }
.urgent-contact-top .icon { color: #f26969; }
.urgent-contact-top > span { padding: 5px 12px; border-radius: 24px; background: #252525; font-size: 1rem; white-space: nowrap; }
.urgent-number { display: block; width: fit-content; font-size: clamp(1.8rem, 4.2vw, 3.3rem); font-weight: 700; line-height: 1.3; margin: 22px 0; font-variant-numeric: tabular-nums; }
.urgent-call { display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px; border-radius: 40px; background: #fafafa; color: #222; font-size: 1.15rem; }
.urgent-call:hover { background: #f4dfe3; }
.store-map-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
.store-contact { background: #0d0d0d; border-radius: 20px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; align-items: start; }
.store-contact h3 { margin-bottom: 24px; }
.store-contact p { color: #aaa; font-size: 1.15rem; line-height: 1.65; margin-bottom: 12px; }
.store-contact .store-street { color: #f6f6f6; font-weight: 600; }
.store-directions { color: #f26969; margin-top: auto; padding-top: 32px; font-size: 1.15rem; font-weight: 600; }
.store-directions:hover, .contact-email:hover { text-decoration: underline; }
.store-real-map { position: relative; min-height: 350px; border-radius: 20px; overflow: hidden; background: #e7e8e1; }
.store-real-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.other-contact > h3 { font-size: 1.3rem; margin: 4px 0 18px; }
.department-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.department-contact-grid > a { display: block; background: #0d0d0d; padding: 26px; border-radius: 20px; }
.department-contact-grid > a:hover { background: #1b1718; }
.department-contact-grid h4 { font-size: 1.2rem; margin-bottom: 10px; }
.department-contact-grid p { color: #aaa; font-size: 1.1rem; margin-bottom: 8px; }
.department-contact-grid strong { font-size: 1.2rem; font-weight: 500; }
.contact-email { display: inline-flex; align-items: center; gap: 10px; color: #bbb; font-size: 1.2rem; margin: 24px 0 10px; overflow-wrap: anywhere; }
.contact-fax { color: #999; font-size: 1.1rem; }
@media (max-width: 700px) {
    .store-map-row, .department-contact-grid { grid-template-columns: 1fr; }
    .urgent-contact-top { align-items: start; }
    .urgent-contact-top h3 { font-size: 1.1rem; }
    .urgent-contact-top > span { font-size: .85rem; }
    .store-real-map { min-height: 320px; }
}

/* Match the contact layout to the site's warm, light palette. */
#location-map.contact-reference { background: var(--bg); color: var(--navy); }
.contact-reference-heading p,
.store-contact p,
.department-contact-grid p { color: var(--muted); }
.urgent-contact { background: var(--surface); border-color: var(--cta); }
.urgent-contact-top .icon { color: var(--cta); }
.urgent-contact-top > span { background: var(--accent-soft); color: var(--cta); }
.urgent-call { background: var(--cta); color: #fff; }
.urgent-call:hover { background: var(--cta-dark); }
.store-contact,
.department-contact-grid > a { background: var(--surface); }
.store-contact .store-street { color: var(--navy); }
.store-directions { color: var(--cta); }
.department-contact-grid > a:hover { background: #f7f0ed; }
.contact-email { color: var(--slate); }
.contact-fax { color: var(--muted); }

/* Present contact information as open sections, with fewer boxed surfaces. */
.urgent-contact {
    border: 0;
    border-left: 3px solid var(--cta);
    border-radius: 0;
    background: transparent;
    padding: 8px 0 8px clamp(20px, 3vw, 32px);
}
.store-map-row { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 8px; }
.store-contact { background: transparent; border-radius: 0; padding: 8px 24px 8px 0; }
.store-real-map { border-radius: 8px; }
.other-contact { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 8px; }
.department-contact-grid > a {
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 0 22px;
}
.department-contact-grid > a:hover { background: transparent; }
.department-contact-grid > a:hover strong { color: var(--cta); }

/* Distinguish the contact section and restore the logo-inspired title accent. */
#location-map.contact-reference { background: #fff; }
.contact-reference-heading h2 {
    position: relative;
    isolation: isolate;
    width: fit-content;
    padding: 10px 26px;
    margin-left: 8px;
    margin-bottom: 18px;
}
.contact-reference-heading h2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #f4dfe3;
    transform: skewX(-12deg);
}

/* A compact call strip and a single slanted brand marker. */
.contact-reference-heading h2 { padding: 0 0 16px; margin-left: 0; }
.contact-reference-heading h2::before {
    inset: auto;
    left: 2px;
    bottom: 0;
    width: 48px;
    height: 5px;
    background: var(--cta);
    transform: skewX(-25deg);
}
.urgent-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label call" "number call";
    column-gap: 32px;
    row-gap: 12px;
    align-items: center;
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.urgent-contact-top { grid-area: label; justify-content: flex-start; }
.urgent-contact-top > span { display: none; }
.urgent-number { grid-area: number; margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.urgent-call { grid-area: call; border-radius: 6px; padding: 14px 24px; }
.store-map-row { border-top: 0; margin-top: 0; padding-top: 12px; }
@media (max-width: 600px) {
    .urgent-contact { grid-template-columns: 1fr; grid-template-areas: "label" "number" "call"; gap: 18px; }
    .urgent-call { justify-self: start; }
}

.section.case-gallery { padding-block-start: clamp(28px, 3vw, 44px); }

.home-services-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 24px;
}
.home-services-heading h2 {
    color: var(--navy);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}
.home-services-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 5vw, 72px);
}
.home-service {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 16px;
    align-content: start;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-block: 24px;
}
.home-service .card-icon { grid-row: 1 / span 2; align-self: start; margin: 0; }
.home-service h3 { color: var(--navy); font-size: 1.2rem; }
.home-service p { grid-column: 2; color: var(--muted); line-height: 1.65; }
@media (max-width: 680px) {
    .home-services-list { grid-template-columns: minmax(0, 1fr); }
}

.case-photo .case-caption-branded { position: relative; }
.case-caption-branded > div { display: grid; gap: 3px; }
.case-brand-placeholder {
    position: absolute;
    top: 0;
    right: 20px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
}
.case-brand-placeholder[hidden] { display: none; }
.case-caption-branded:has(.case-brand-placeholder:not([hidden])) > div { padding-top: .85rem; }
.case-brand-placeholder .icon { width: 18px; height: 18px; }

.brand-grid.dealer-brand-wall {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: clamp(16px, 3vw, 40px);
    row-gap: 0;
    border-top: 1px solid var(--line);
}
.dealer-brand-wall .brand-item {
    grid-column: auto;
    min-width: 0;
    min-height: 0;
    padding: 22px 4px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow-wrap: anywhere;
}
.dealer-brand-wall .brand-item img {
    width: min(100%, 144px);
    height: 58px;
    object-fit: contain;
}
@media (max-width: 960px) {
    .brand-grid.dealer-brand-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .brand-grid.dealer-brand-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.qualification-support {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: clamp(24px, 5vw, 72px);
}
.qualification-support h2 {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.25;
}
.qualification-support h3 { font-size: 1.2rem; }
.qualification-support p { margin-top: 12px; color: var(--muted); }
.qualification-support-related {
    border-inline-start: 1px solid var(--line);
    padding-inline-start: clamp(24px, 4vw, 48px);
}
.qualification-support-related .card-link { margin-top: 16px; }
@media (max-width: 680px) {
    .qualification-support { grid-template-columns: minmax(0, 1fr); }
    .qualification-support-related {
        border-inline-start: 0;
        border-top: 1px solid var(--line);
        padding: 24px 0 0;
    }
}
