html {
    scroll-padding-top: 96px;
}

body {
    background:
        linear-gradient(135deg, rgba(31, 135, 201, .08), transparent 36rem),
        linear-gradient(180deg, #f7fbfc 0%, #eef5f6 100%);
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: var(--white);
    background: var(--ink-strong);
}

.hero.has-video { background: var(--hero-image) center / cover no-repeat; }

.hero.has-video::before {
    z-index: 1;
    background: linear-gradient(90deg, rgba(7, 19, 30, .8) 0%, rgba(7, 19, 30, .48) 44%, rgba(17, 97, 146, .26) 100%),
        linear-gradient(180deg, rgba(7, 19, 30, .34), rgba(7, 19, 30, .74));
    transform: none;
    animation: none;
}

.hero.has-video::after { z-index: 1; }

.background-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
}

.is-video-ready > .background-video { opacity: 1; }

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
    linear-gradient(90deg, rgba(7, 19, 30, .8) 0%, rgba(7, 19, 30, .48) 44%, rgba(17, 97, 146, .26) 100%),
    linear-gradient(180deg, rgba(7, 19, 30, .34), rgba(7, 19, 30, .74)),
    var(--hero-image) center / cover no-repeat;
    transform: scale(1.12);
    animation: banner-zoom 14s ease-in-out infinite alternate;
}

@keyframes banner-zoom {
    to {
        transform: scale(1.28);
    }
}

.hero::after {
    position: absolute;
    right: clamp(24px, 9vw, 120px);
    bottom: -1px;
    width: min(38vw, 430px);
    height: 42%;
    content: "";
    clip-path: polygon(68% 0, 100% 0, 44% 100%, 12% 100%);
    background: linear-gradient(180deg, rgba(31, 135, 201, .9), rgba(17, 97, 146, .55));
    opacity: .86;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    max-width: var(--max);
    min-height: 100vh;
    margin: 0 auto;
    padding: 180px clamp(18px, 4vw, 56px) 190px;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .88);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 34px;
    height: 3px;
    content: "";
    border-radius: 999px;
    background: var(--blue-deep);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    line-height: .94;
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    font-size: 7rem;
    text-transform: uppercase;
}

.scramble-word {
    display: inline-block;
    white-space: nowrap;
}

.scramble-character {
    display: inline-block;
    text-align: center;
}

.hero-lead {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.3rem;
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.button-primary {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
    color: var(--white);
    box-shadow: 0 18px 34px rgba(20, 89, 137, .32);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: linear-gradient(135deg, #337dca, #174f7a);
    box-shadow: 0 22px 40px rgba(20, 89, 137, .38);
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, .4);
    color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}

.button:focus-visible {
    outline: 3px solid rgba(47, 184, 207, .5);
    outline-offset: 3px;
}

.button:active {
    transform: translateY(0);
}

.hero-strip {
    position: absolute;
    z-index: 2;
    right: clamp(18px, 4vw, 56px);
    bottom: 24px;
    left: clamp(18px, 4vw, 56px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: var(--max);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, .24);
    box-shadow: var(--shadow);
}

.hero-strip div {
    padding: 22px;
    background: rgba(239, 245, 246, .94);
    color: var(--ink);
}

.hero-strip div + div {
    border-left: 1px solid var(--line);
}

.hero-strip strong {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.6rem;
    line-height: .9;
}

.hero-strip span {
    display: block;
    margin-top: 8px;
    color: var(--steel);
    font-weight: 700;
}

.section {
    padding: clamp(72px, 9vw, 124px) clamp(18px, 4vw, 56px);
}

.section-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--blue-deep);
    font-size: .86rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-kicker::before {
    width: 28px;
    height: 3px;
    content: "";
    border-radius: 999px;
    background: var(--blue-deep);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(320px, 1fr);
    gap: clamp(34px, 6vw, 86px);
    align-items: start;
}

.section h2 {
    max-width: 680px;
    color: var(--ink-strong);
    font-size: 5.9rem;
    text-transform: uppercase;
}

.intro-copy {
    color: var(--steel);
    font-size: 1.17rem;
    line-height: 1.62;
}

.intro-copy p {
    margin: 0 0 20px;
}

.image-panel {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.image-panel img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    transform: scale(1.12);
    animation: banner-zoom 14s ease-in-out infinite alternate;
}

.image-panel.has-video img { transform: none; animation: none; }
.image-panel .background-video { z-index: 1; }

.image-panel::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 44%, rgba(7, 19, 30, .64));
    z-index: 2;
}

.panel-label {
    position: absolute;
    z-index: 3;
    right: 22px;
    bottom: 22px;
    left: 22px;
    color: var(--white);
    font-weight: 800;
}

.panel-label span {
    display: block;
    color: rgba(255, 255, 255, .78);
    font-weight: 600;
}

.services {
    background: var(--white);
}

.customer-logos {
    overflow: hidden;
    padding: clamp(52px, 7vw, 82px) 0;
    border-top: 4px solid var(--blue-deep);
    border-bottom: 1px solid #c3d9e0;
    background: #e6f0f2;
}

.customer-logos-heading {
    max-width: calc(var(--max) + 112px);
    padding: 0 clamp(18px, 4vw, 56px);
}

.customer-logos h2 {
    max-width: none;
    font-size: clamp(2.75rem, 4.5vw, 4rem);
}

.customer-logo-marquee {
    margin-top: clamp(28px, 4vw, 40px);
    overflow: hidden;
}

.customer-logo-track {
    display: flex;
    width: max-content;
    animation: customer-logo-scroll var(--customer-logo-duration) linear infinite;
    will-change: auto;
}

.customer-logo-sequence {
    --customer-logo-gap: clamp(80px, 8vw, 130px);
    display: flex;
    flex: 0 0 auto;
    flex-direction: row-reverse;
    gap: var(--customer-logo-gap);
    width: max-content;
    margin: 0;
    padding: 0 0 0 var(--customer-logo-gap);
    list-style: none;
}

.customer-logo-item {
    display: grid;
    width: 212px;
    height: 132px;
    flex: 0 0 auto;
    grid-template-rows: 80px auto;
    align-content: center;
    gap: 10px;
    place-items: center;
}

.customer-logo-item img {
    display: block;
    width: 180px;
    height: 80px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.customer-logo-name {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@keyframes customer-logo-scroll {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 44px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.service-card {
    display: flex;
    min-width: 0;
    min-height: 335px;
    flex-direction: column;
    padding: 28px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fafb 100%);
}

.service-card + .service-card {
    border-left: 1px solid var(--line);
}

.service-card .icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 26px;
    border-radius: 999px;
    background: rgba(31, 135, 201, .12);
    color: var(--blue-deep);
    font-weight: 900;
}

.service-card h3 {
    color: var(--ink-strong);
    font-size: 1.5rem;
    line-height: .98;
    white-space: nowrap;
    text-transform: uppercase;
}

.service-card small {
    display: block;
    min-height: 46px;
    margin-top: 8px;
    color: var(--blue-deep);
    font-size: .86rem;
    font-weight: 800;
    hyphens: auto;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.service-card p {
    margin: 18px 0 0;
    color: var(--steel);
    line-height: 1.52;
}

.trust-band {
    position: relative;
    overflow: hidden;
    background: var(--ink-strong);
    color: var(--white);
}

.trust-band::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(7, 19, 30, .92), rgba(7, 19, 30, .66));
    opacity: .9;
}

.trust-band.has-video.is-background-ready { background: var(--certifications-image) center / cover no-repeat; }

.trust-band.has-video::before {
    z-index: 1;
    background: linear-gradient(90deg, rgba(7, 19, 30, .92), rgba(7, 19, 30, .66));
    opacity: 1;
}

.trust-band.has-video.is-background-ready::before {
    background: linear-gradient(90deg, rgba(7, 19, 30, .92), rgba(7, 19, 30, .66));
    transform: none;
    animation: none;
}
.trust-band .background-video { z-index: 0; }

.trust-band.is-background-ready::before {
    background:
        linear-gradient(90deg, rgba(7, 19, 30, .92), rgba(7, 19, 30, .66)),
        var(--certifications-image) center / cover no-repeat;
    transform: scale(1.12);
    animation: banner-zoom 14s ease-in-out infinite alternate;
}

.trust-band .section-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(300px, .8fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.trust-band h2 {
    color: var(--white);
}

.trust-copy {
    color: rgba(255, 255, 255, .82);
    font-size: 1.15rem;
    line-height: 1.6;
}

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

.certs a {
    display: grid;
    place-items: center;
    min-height: 158px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
}

.locations {
    position: relative;
    overflow: hidden;
    background: var(--ink-strong);
    color: var(--white);
}

.locations::before {
    position: absolute;
    top: -180px;
    right: -140px;
    width: 520px;
    height: 520px;
    content: "";
    border: 1px solid rgba(47, 184, 207, .18);
    border-radius: 50%;
    box-shadow:
    0 0 0 70px rgba(31, 135, 201, .035),
    0 0 0 140px rgba(53, 189, 104, .025);
    pointer-events: none;
}

.locations .section-inner {
    position: relative;
}

.locations .section-kicker {
    color: var(--brand-cyan);
}

.locations .section-kicker::before { background: var(--brand-cyan); }

.locations h2 {
    color: var(--white);
}

.locations-intro {
    max-width: 510px;
    color: rgba(255, 255, 255, .76);
    font-size: 1.12rem;
    line-height: 1.6;
}

.map-shell {
    position: relative;
    min-height: 570px;
    margin-top: 44px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: #dce8e8;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}

.map-canvas {
    width: 100%;
    height: 570px;
    background:
        linear-gradient(135deg, rgba(31, 135, 201, .14), rgba(53, 189, 104, .12)),
        #e6eff0;
}

.map-message {
    display: grid;
    height: 100%;
    place-items: center;
    padding: 32px;
    color: var(--ink);
    text-align: center;
}

.map-message a {
    color: var(--blue-deep);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.map-panel {
    position: absolute;
    z-index: 1000;
    top: 24px;
    left: 24px;
    width: min(350px, calc(100% - 48px));
    max-height: calc(100% - 48px);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 8px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 54px rgba(7, 19, 30, .24);
    color: var(--ink);
}

.map-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.map-panel-heading strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.55rem;
    line-height: 1;
    text-transform: uppercase;
}

.map-location-count {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--ink-strong);
    color: var(--white);
    font-weight: 900;
}

.map-location-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.map-location-button {
    display: grid;
    width: 100%;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background: #f1f7f8;
    color: var(--ink);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.map-location-button:hover,
.map-location-button:focus-visible {
    background: #e3f0f2;
    outline: 3px solid rgba(31, 135, 201, .18);
    transform: translateX(3px);
}

.map-location-dot {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(31, 135, 201, .14);
}

.map-location-button[data-location-type="project"] .map-location-dot {
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(53, 189, 104, .16);
}

.map-location-copy strong,
.map-location-copy span {
    display: block;
}

.map-location-copy strong {
    font-weight: 900;
}

.map-location-copy span {
    margin-top: 2px;
    color: var(--steel);
    font-size: .91rem;
    line-height: 1.35;
}

.map-marker {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 3px solid var(--white);
    border-radius: 50% 50% 50% 12px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
    box-shadow: 0 12px 28px rgba(7, 19, 30, .35);
    color: var(--white);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 900;
    transform: rotate(-45deg);
}

.map-marker span {
    transform: rotate(45deg);
}

.map-marker-project {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.map-popup-label {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(31, 135, 201, .12);
    color: var(--blue-deep);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.map-popup-label-project {
    background: rgba(53, 189, 104, .14);
    color: var(--green-dark);
}

.map-popup strong,
.map-popup span,
.map-popup a {
    display: block;
}

.map-popup strong {
    color: var(--ink-strong);
    font-size: 1rem;
}

.map-popup span {
    margin-top: 3px;
    color: var(--steel);
}

.map-popup a {
    margin-top: 10px;
    color: var(--blue-deep);
    font-weight: 800;
}

.map-shell .leaflet-control-zoom a {
    color: var(--ink-strong);
}

.map-shell .leaflet-control-attribution {
    color: var(--steel);
    font-size: .7rem;
}

.contact {
    background: linear-gradient(180deg, #f7fbfc 0%, #e8f1f3 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(340px, 1fr);
    gap: clamp(30px, 5vw, 66px);
    align-items: start;
}

.contact-panel,
.form-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 48px rgba(83, 100, 118, .12);
}

.contact-panel {
    padding: 34px;
}

.contact-list {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.contact-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--ink-strong);
    color: var(--green);
    font-weight: 900;
}

.contact-item strong {
    display: block;
    font-weight: 900;
}

.contact-item a {
    display: inline-block;
    color: var(--blue-deep);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.people {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.person {
    padding: 18px;
    border-radius: 8px;
    background: #f4f9fa;
}

.person strong {
    display: block;
    font-weight: 900;
}

.person span {
    color: var(--steel);
    font-weight: 700;
}

.person a {
    display: block;
    margin-top: 4px;
    color: var(--blue-deep);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.form-panel {
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--steel);
    font-size: .95rem;
    font-weight: 800;
}

.full {
    grid-column: 1 / -1;
}

input,
textarea {
    width: 100%;
    border: 1px solid #c9d8dd;
    border-radius: 8px;
    background: #fbfefe;
    color: var(--ink-strong);
    font: inherit;
    font-size: 1rem;
    padding: 13px 14px;
}

textarea {
    min-height: 142px;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--blue);
    outline: 3px solid rgba(31, 135, 201, .14);
}

.form-panel .button {
    width: 100%;
    margin-top: 18px;
}

.form-feedback {
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid #9ed8b3;
    border-radius: 7px;
    color: #17683a;
    background: #effbf3;
    font-weight: 800;
}

.form-feedback.is-error {
    border-color: #efb4af;
    color: #842018;
    background: #fff4f3;
}

.contact-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.reveal-item {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(.99);
    transition:
        opacity .38s ease-out var(--reveal-delay, 0ms),
        transform .48s cubic-bezier(.2, .75, .25, 1) var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: none;
}

html.has-js [data-page="home"] .hero::before,
html.has-js [data-page="home"] .image-panel img,
html.has-js [data-page="home"] .trust-band.is-background-ready::before,
html.has-js [data-page="home"] .customer-logo-track {
    animation-play-state: paused;
}

html.has-js [data-page="home"] .hero.is-motion-active::before,
html.has-js [data-page="home"] .image-panel.is-motion-active img,
html.has-js [data-page="home"] .trust-band.is-motion-active.is-background-ready::before,
html.has-js [data-page="home"] .customer-logos.is-motion-active .customer-logo-track {
    animation-play-state: running;
}

html.has-js [data-page="home"] .customer-logos.is-motion-active .customer-logo-track {
    will-change: transform;
}

html.has-js [data-page="home"].is-scrolling .hero::before,
html.has-js [data-page="home"].is-scrolling .image-panel img,
html.has-js [data-page="home"].is-scrolling .trust-band.is-background-ready::before,
html.has-js [data-page="home"].is-scrolling .customer-logo-track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero::before,
    .image-panel img,
    .trust-band.is-background-ready::before {
        animation: none;
    }

    .customer-logo-track {
        width: auto;
        animation: none;
        transform: none;
        will-change: auto;
    }

    .customer-logo-sequence {
        width: auto;
        min-width: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        padding: 0 clamp(18px, 4vw, 56px);
    }

    .customer-logo-sequence[aria-hidden="true"] { display: none; }
    .customer-logo-item[aria-hidden="true"] { display: none; }

    .reveal-item {
        opacity: 1;
        transform: none;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

}

@media (max-width: 1100px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card + .service-card {
        border-left: 0;
    }

    .service-card:nth-child(even) {
        border-left: 1px solid var(--line);
    }

    .service-card:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    h1 {
        font-size: 5.6rem;
    }

    .section h2 {
        font-size: 4.8rem;
    }
}

@media (max-width: 820px) {
    .hero {
        min-height: auto;
    }

    .hero::after {
        right: -34px;
        width: 190px;
        height: 24%;
        opacity: .58;
    }

    .hero-inner {
        min-height: auto;
        padding-top: 150px;
        padding-bottom: 42px;
    }

    .hero-strip,
    .split,
    .trust-band .section-inner,
    .contact-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-strip {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 0 18px 18px;
    }

    .hero-strip div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    h1 {
        font-size: 4.35rem;
    }

    .hero-lead {
        font-size: 1.15rem;
    }

    .image-panel,
    .image-panel img {
        min-height: 320px;
    }

    .service-card small {
        min-height: auto;
    }

    .section h2 {
        font-size: 3.8rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .service-card + .service-card {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .certs {
        max-width: 490px;
        gap: clamp(8px, 2vw, 14px);
    }

    .certs a {
        min-height: 0;
        aspect-ratio: 1;
        padding: 6px;
    }

    .certs img {
        width: 100%;
        max-width: 150px;
        height: auto;
    }

    .map-shell {
        min-height: 0;
    }

    .map-canvas {
        height: clamp(340px, 55vw, 460px);
    }

    .map-panel {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-height: none;
        overflow: visible;
        padding: 18px;
        border: 0;
        border-top: 1px solid var(--line);
        border-radius: 0;
        box-shadow: none;
    }

    .map-location-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-panel,
    .form-panel {
        padding: 22px;
    }
}

@media (max-width: 520px) {
    .hero-inner {
        padding-top: 122px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .eyebrow,
    .section-kicker {
        font-size: .76rem;
        letter-spacing: .1em;
    }

    h1 {
        font-size: 3.15rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-strip div {
        padding: 18px;
    }

    .image-panel,
    .image-panel img {
        min-height: 260px;
    }

    .map-shell {
        margin-top: 30px;
    }

    .map-canvas {
        height: 360px;
    }

    .map-panel {
        padding: 16px;
    }

    .map-panel-heading {
        padding-bottom: 10px;
    }

    .map-panel-heading strong {
        font-size: 1.35rem;
    }

    .map-location-list {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 10px;
    }

    .map-location-button {
        padding: 9px 10px;
    }

    .map-shell .leaflet-control-zoom {
        margin-bottom: 26px;
    }

    .section h2 {
        font-size: 2.75rem;
    }

    .customer-logo-sequence {
        --customer-logo-gap: 40px;
    }

    .customer-logo-item {
        width: 164px;
        height: 116px;
        grid-template-rows: 64px auto;
        gap: 8px;
    }

    .customer-logo-item img { width: 150px; height: 64px; }

    .customer-logo-name { font-size: .86rem; }

}
