/* ==========================================================================
   Sidewalk Repairs Manhattan — Design System
   Loaded AFTER Bootstrap. Owns every visual decision on the site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Brand — safety amber on structural charcoal */
    --brand: #f5a524;
    --brand-600: #dd8c0b;
    --brand-700: #b86f00;
    --brand-200: #ffe0a6;
    --brand-100: #fff4e0;

    /* Structure */
    --ink: #080d13;
    --ink-2: #101a25;
    --ink-3: #1a2735;
    --ink-4: #26364a;

    /* Text */
    --head: #0b1520;
    --body: #55637a;
    --body-soft: #7b869a;

    /* Surface */
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --bg-soft-2: #eef2f7;
    --line: #e2e8f0;
    --line-soft: #eef1f6;

    /* Shape */
    --r-xs: 8px;
    --r-sm: 12px;
    --r: 18px;
    --r-lg: 26px;
    --r-pill: 999px;

    /* Elevation */
    --sh-xs: 0 1px 2px rgba(9, 18, 30, .06);
    --sh-sm: 0 4px 14px rgba(9, 18, 30, .07);
    --sh: 0 14px 40px -12px rgba(9, 18, 30, .16);
    --sh-lg: 0 30px 70px -20px rgba(9, 18, 30, .28);
    --sh-brand: 0 16px 34px -12px rgba(245, 165, 36, .55);

    /* Motion */
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);
    --dur: .55s;

    /* Layout */
    --container: 1200px;
    --gutter: 24px;
    --nav-h: 84px;

    /* Type */
    --f-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
    --f-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
    /* `clip`, not `hidden`: hidden would turn these into scroll containers and
       silently break every `position: sticky` descendant. */
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body.is-locked {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-700);
    text-decoration: none;
    transition: color .25s var(--ease);
}

a:hover {
    color: var(--brand-600);
}

::selection {
    background: var(--brand);
    color: var(--ink);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: #c3ccd9;
    border-radius: 99px;
    border: 3px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand);
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3 {
    font-family: var(--f-display);
    color: var(--head);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.022em;
    margin: 0 0 .55em;
}

h1,
.h1 {
    font-size: clamp(2.35rem, 1.35rem + 3.3vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -.032em;
}

h2,
.h2 {
    font-size: clamp(1.95rem, 1.25rem + 2.1vw, 3rem);
    font-weight: 800;
    letter-spacing: -.028em;
}

h3,
.h3 {
    font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem);
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1.06rem;
}

h6 {
    font-size: .95rem;
}

p {
    margin: 0 0 1.15rem;
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    font-weight: 700;
    color: var(--head);
}

/* Eyebrow / kicker */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--f-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand-700);
    margin-bottom: 1rem;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
    flex: none;
}

.eyebrow--center {
    justify-content: center;
}

.eyebrow--light {
    color: var(--brand);
}

.lead {
    font-size: 1.16rem;
    line-height: 1.72;
    color: var(--body);
}

.text-balance {
    text-wrap: balance;
}

/* Marker underline on a word */
/* .mark {
    position: relative;
    display: inline-block;
    color: inherit;
    z-index: 0;
}

.mark::after {
    content: "";
    position: absolute;
    left: -.06em;
    right: -.06em;
    bottom: -.02em;
    height: .26em;
    background: linear-gradient(90deg, var(--brand-200), var(--brand));
    border-radius: 3px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .8s var(--ease) .25s;
}

.is-in .mark::after,
.mark.is-in::after {
    transform: scaleX(1);
}

.txt-brand {
    color: var(--brand);
} */

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.wrap {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.wrap--narrow {
    max-width: 880px;
}

.wrap--wide {
    max-width: 1360px;
}

.sec {
    position: relative;
    padding-block: clamp(64px, 7vw, 116px);
}

.sec--tight {
    padding-block: clamp(48px, 5vw, 76px);
}

.sec--soft {
    background: var(--bg-soft);
}

.sec--dark {
    background: var(--ink);
    color: #9fb0c4;
}

.sec--dark h1,
.sec--dark h2,
.sec--dark h3,
.sec--dark h4,
.sec--dark strong {
    color: #fff;
}

/* Section heading block */
.sec-head {
    max-width: 760px;
    margin-bottom: clamp(38px, 4vw, 62px);
}

.sec-head--center {
    margin-inline: auto;
    text-align: center;
}

.sec-head p {
    font-size: 1.09rem;
    margin-bottom: 0;
}

.sec-head h2 {
    margin-bottom: .5rem;
}

/* Generic grids */
.grid {
    display: grid;
    gap: 26px;
}

/* minmax(0, 1fr) rather than 1fr: a long unbroken string (an email address,
   a phone number) must not be able to widen its own column. */
.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* auto-fit rather than a hard 1fr 1fr: a .split nested inside the narrower
   main column of .layout-aside collapses to one column on its own instead of
   squeezing a headline into ~380px. */
.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
}

/* When one column is much taller, pin the media instead of floating it
   in a sea of whitespace. Put .is-sticky on whichever column should pin. */
.split--sticky {
    align-items: start;
}

.split .is-sticky {
    position: sticky;
    top: calc(var(--nav-h) + 28px);
}

@media (max-width: 991px) {
    .split .is-sticky {
        position: static;
    }
}

@media (max-width: 991px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 599px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Decorative background blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
    pointer-events: none;
    z-index: 0;
}

.blob--brand {
    background: rgba(245, 165, 36, .34);
}

.blob--steel {
    background: rgba(60, 110, 190, .2);
}

.sec>.wrap {
    position: relative;
    z-index: 1;
}

/* Grid paper texture */
.texture-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn,
.btn:focus {
    --btn-bg: var(--brand);
    --btn-fg: #16202c;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 1rem 1.9rem;
    font-family: var(--f-body);
    font-size: .97rem;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.2;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 0;
    border-radius: var(--r-pill);
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    box-shadow: var(--sh-brand);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s var(--ease), background .3s var(--ease);
    text-decoration: none;
    white-space: nowrap;
}

/* Sheen sweep */
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
    transform: translateX(-130%);
    transition: transform .75s var(--ease);
}

.btn:hover::before {
    transform: translateX(130%);
}

.btn:hover {
    color: var(--btn-fg);
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -14px rgba(245, 165, 36, .7);
}

.btn:active {
    transform: translateY(-1px);
}

.btn i,
.btn svg {
    font-size: .95em;
}

.btn--dark {
    --btn-bg: var(--ink-2);
    --btn-fg: #fff;
    box-shadow: 0 16px 34px -14px rgba(8, 13, 19, .7);
}

.btn--dark:hover {
    box-shadow: 0 22px 44px -16px rgba(8, 13, 19, .8);
}

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--head);
    box-shadow: inset 0 0 0 2px var(--line);
}

.btn--ghost:hover {
    box-shadow: inset 0 0 0 2px var(--brand);
    color: var(--brand-700);
}

.btn--ghost-light {
    --btn-bg: transparent;
    --btn-fg: #fff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28);
}

.btn--ghost-light:hover {
    --btn-fg: var(--ink);
    background: #fff;
    box-shadow: inset 0 0 0 2px #fff;
}

.btn--white {
    --btn-bg: #fff;
    --btn-fg: var(--ink);
    box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45);
}

.btn--lg {
    padding: 1.15rem 2.35rem;
    font-size: 1.03rem;
}

.btn--sm {
    padding: .7rem 1.35rem;
    font-size: .86rem;
}

.btn--block {
    width: 100%;
}

/* Text link with animated arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .93rem;
    letter-spacing: .01em;
    color: var(--head);
}

.link-arrow i {
    transition: transform .35s var(--ease);
    color: var(--brand);
}

.link-arrow:hover {
    color: var(--brand-700);
}

.link-arrow:hover i {
    transform: translateX(6px);
}

/* Pulsing phone ring */
.ring {
    position: relative;
}

.ring::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid var(--brand);
    opacity: 0;
    animation: ring 2.6s var(--ease) infinite;
    pointer-events: none;
}

@keyframes ring {
    0% {
        transform: scale(.98);
        opacity: .55;
    }

    70% {
        transform: scale(1.1);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   6. Reveal animations
   -------------------------------------------------------------------------- */
/* <picture> wrappers must not become a layout box of their own, or rules like
   `.card-x__media img { height: 100% }` would resolve against the picture
   instead of the framed parent. */
picture {
    display: contents;
}

/* The Tawk.to chat widget appends its containers straight to <body> with
   randomised ids, and for a beat they sit in normal flow — the greeting bubble
   alone measured 0.229 CLS on mobile, which is the whole page's layout-shift
   budget spent by a third party. Taking any body-level iframe wrapper out of
   flow costs nothing (Tawk sets its own inline position: fixed a moment later,
   which wins over this) and removes the shift entirely.
   Our own markup has no body > div > iframe: the GTM noscript frame sits
   inside <noscript>, so nothing of ours is caught by this. */
body>div:has(>iframe) {
    position: fixed;
}

/* Font Awesome is loaded without blocking the first paint, so for a moment
   these <i> elements are empty and would occupy no width. Reserving a square
   the size of one em up front means the icons appear into space that was
   already there — no layout shift when the icon font lands. */
.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands {
    display: inline-block;
    min-width: 1em;
    min-height: 1em;
    line-height: 1;
    text-align: center;
    font-style: normal;
}

[data-reveal] {
    opacity: 0;
    transition: opacity .85s var(--ease), transform .85s var(--ease), clip-path .95s var(--ease);
    transition-delay: var(--d, 0ms);
    /* No will-change here on purpose: a page carries ~100 reveal elements and
       promoting every one of them to its own compositor layer costs far more
       memory than the transition saves. */
}

[data-reveal="up"],
[data-reveal=""] {
    transform: translateY(34px);
}

[data-reveal="down"] {
    transform: translateY(-30px);
}

[data-reveal="left"] {
    transform: translateX(-44px);
}

[data-reveal="right"] {
    transform: translateX(44px);
}

[data-reveal="zoom"] {
    transform: scale(.9);
}

[data-reveal="flip"] {
    transform: perspective(900px) rotateX(14deg) translateY(30px);
    transform-origin: top;
}

[data-reveal="mask"] {
    clip-path: inset(0 0 100% 0);
    opacity: 1;
}

[data-reveal="mask-x"] {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
}

/* On narrow screens a sideways start offset is both pointless and a source of
   phantom horizontal scroll — move everything vertically instead. */
@media (max-width: 767px) {

    [data-reveal="left"],
    [data-reveal="right"] {
        transform: translateY(26px);
    }
}

/* --- Above the fold: never gate the first paint on JavaScript -------------
   Everything else fades in when the scroll observer reaches it, which means
   opacity:0 until theme.js runs. For the hero that would make the <h1> — the
   LCP element on most pages — invisible until a deferred script executes, so
   Largest Contentful Paint gets billed for the whole JS round trip.
   Hero content therefore paints immediately and entrances with a
   transform-only animation: movement is preserved, but the element is opaque
   from the very first frame, which is all LCP cares about. */
.hero [data-reveal],
.phero [data-reveal],
.hero [data-stagger]>*,
.phero [data-stagger]>* {
    opacity: 1;
    clip-path: none;
    transform: none;
    will-change: auto;
}

@media (prefers-reduced-motion: no-preference) {

    .hero [data-reveal],
    .phero [data-reveal] {
        animation: rise-in .8s var(--ease) both;
    }

    /* Keeps the original cascade without JS having to set --d. */
    .hero [data-reveal][data-delay],
    .phero [data-reveal][data-delay] {
        animation-delay: 60ms;
    }

    .hero [data-reveal][data-delay="140"],
    .phero [data-reveal][data-delay="140"],
    .hero [data-reveal][data-delay="160"],
    .phero [data-reveal][data-delay="160"] {
        animation-delay: 120ms;
    }

    .hero [data-reveal][data-delay="210"],
    .phero [data-reveal][data-delay="210"],
    .hero [data-reveal][data-delay="280"],
    .phero [data-reveal][data-delay="280"] {
        animation-delay: 180ms;
    }
}

@keyframes rise-in {
    from {
        transform: translateY(16px);
    }

    to {
        transform: none;
    }
}

/* Stagger children */
[data-stagger]>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

[data-stagger].is-in>* {
    opacity: 1;
    transform: none;
}

[data-stagger].is-in>*:nth-child(1) {
    transition-delay: .05s;
}

[data-stagger].is-in>*:nth-child(2) {
    transition-delay: .14s;
}

[data-stagger].is-in>*:nth-child(3) {
    transition-delay: .23s;
}

[data-stagger].is-in>*:nth-child(4) {
    transition-delay: .32s;
}

[data-stagger].is-in>*:nth-child(5) {
    transition-delay: .41s;
}

[data-stagger].is-in>*:nth-child(6) {
    transition-delay: .5s;
}

[data-stagger].is-in>*:nth-child(7) {
    transition-delay: .59s;
}

[data-stagger].is-in>*:nth-child(8) {
    transition-delay: .68s;
}

[data-stagger].is-in>*:nth-child(9) {
    transition-delay: .77s;
}

[data-stagger].is-in>*:nth-child(n+10) {
    transition-delay: .86s;
}

/* Floating loop */
@keyframes float-y {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

.float {
    animation: float-y 6s ease-in-out infinite;
}

.float--slow {
    animation-duration: 9s;
}

@keyframes spin-slow {
    to {
        transform: rotate(360deg);
    }
}

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--ink);
    color: #93a3b8;
    font-size: .84rem;
    line-height: 1;
    position: relative;
    z-index: 1002;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 44px;
    padding-block: 10px;
}

.topbar__list {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.topbar a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 500;
}

.topbar a:hover {
    color: var(--brand);
}

.topbar i {
    color: var(--brand);
    font-size: .9em;
}

.topbar__social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar__social a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition: background .3s var(--ease), transform .3s var(--ease), color .3s;
}

.topbar__social a:hover {
    background: var(--brand);
    color: var(--ink);
    transform: translateY(-2px);
}

.topbar__social a i {
    color: inherit;
}

@media (max-width: 991px) {
    .topbar {
        display: none;
    }
}

/* Sticky header shell */
.site-head {
    position: sticky;
    top: 0;
    z-index: 1001;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}

.site-head.is-stuck {
    box-shadow: 0 10px 34px -18px rgba(9, 18, 30, .35);
    border-bottom-color: var(--line-soft);
    background: rgba(255, 255, 255, .95);
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--nav-h);
}

.nav__brand {
    flex: none;
    display: inline-flex;
    align-items: center;
    margin-right: auto;
}

.nav__brand img {
    height: 52px;
    width: auto;
    transition: height .35s var(--ease);
}

.is-stuck .nav__brand img {
    height: 44px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem .95rem;
    font-family: var(--f-body);
    font-size: .94rem;
    font-weight: 600;
    color: var(--head);
    border-radius: var(--r-xs);
    white-space: nowrap;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: .95rem;
    right: .95rem;
    bottom: .42rem;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--brand-700);
}

.nav__link:hover::after,
.nav__link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav__link .caret {
    font-size: .62rem;
    transition: transform .35s var(--ease);
    opacity: .6;
}

.nav__item {
    position: relative;
}

.nav__item:hover .caret {
    transform: rotate(180deg);
}

/* Dropdown */
.nav__drop {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 320px;
    padding: 10px;
    background: #fff;
    border-radius: var(--r);
    border: 1px solid var(--line-soft);
    box-shadow: var(--sh);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 14px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    list-style: none;
    margin: 0;
}

.nav__item:hover>.nav__drop,
.nav__item:focus-within>.nav__drop {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav__drop::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.nav__drop a {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .72rem .85rem;
    border-radius: var(--r-xs);
    font-size: .92rem;
    font-weight: 600;
    color: var(--head);
    transition: background .25s var(--ease), color .25s var(--ease), padding-left .25s var(--ease);
}

.nav__drop a i {
    width: 30px;
    height: 30px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-size: .8rem;
    background: var(--brand-100);
    color: var(--brand-700);
    transition: background .25s, color .25s;
}

.nav__drop a:hover {
    background: var(--bg-soft);
    color: var(--brand-700);
    padding-left: 1.05rem;
}

.nav__drop a:hover i {
    background: var(--brand);
    color: var(--ink);
}

/* Header CTA */
.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .62rem 1.35rem .62rem .62rem;
    background: var(--brand);
    color: var(--ink);
    border-radius: var(--r-pill);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -.01em;
    box-shadow: var(--sh-brand);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    white-space: nowrap;
}

.nav__cta:hover {
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -14px rgba(245, 165, 36, .75);
}

.nav__cta span.ic {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--brand);
    font-size: .95rem;
}

.nav__cta small {
    display: block;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    opacity: .62;
    line-height: 1;
    margin-bottom: 3px;
}

/* Burger */
.burger {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 13px;
    background: var(--bg-soft);
    cursor: pointer;
    padding: 0;
    place-items: center;
    flex: none;
    transition: background .3s var(--ease);
}

.burger:hover {
    background: var(--brand-100);
}

.burger span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: var(--head);
    transition: transform .4s var(--ease), opacity .3s var(--ease);
}

.burger span+span {
    margin-top: 5px;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(.2);
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1099px) {

    .nav__menu,
    .nav__cta-phone-text {
        display: none;
    }

    .burger {
        display: grid;
    }
}

@media (max-width: 599px) {
    .nav__cta {
        padding: .5rem;
    }

    .nav__cta .nav__cta-body {
        display: none;
    }
}

/* Mobile drawer.
   The panel is parked off-screen with translateX(100%). A fixed, clipping host
   keeps that off-screen box from widening the document — position:fixed is not
   clipped by overflow-x on <body>, so without this the whole site gets a
   horizontal scrollbar on small screens. */
.drawer-host {
    position: fixed;
    inset: 0;
    z-index: 1200;
    overflow: hidden;
    pointer-events: none;
}

.drawer {
    position: absolute;
    inset: 0 0 0 auto;
    pointer-events: auto;
    width: min(400px, 88vw);
    background: var(--ink);
    color: #b8c4d4;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.drawer.is-open {
    transform: none;
}

.drawer__scrim {
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 17, .6);
    backdrop-filter: blur(3px);
    z-index: 1199;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
}

.drawer__scrim.is-open {
    opacity: 1;
    visibility: visible;
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.drawer__head img {
    height: 44px;
}

.drawer__close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background .3s, transform .3s;
}

.drawer__close:hover {
    background: var(--brand);
    color: var(--ink);
    transform: rotate(90deg);
}

.drawer__nav {
    list-style: none;
    margin: 0;
    padding: 14px 16px;
    flex: 1;
}

.drawer__nav>li {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.drawer.is-open .drawer__nav>li {
    opacity: 1;
    transform: none;
}

.drawer.is-open .drawer__nav>li:nth-child(1) {
    transition-delay: .1s;
}

.drawer.is-open .drawer__nav>li:nth-child(2) {
    transition-delay: .16s;
}

.drawer.is-open .drawer__nav>li:nth-child(3) {
    transition-delay: .22s;
}

.drawer.is-open .drawer__nav>li:nth-child(4) {
    transition-delay: .28s;
}

.drawer.is-open .drawer__nav>li:nth-child(5) {
    transition-delay: .34s;
}

.drawer.is-open .drawer__nav>li:nth-child(6) {
    transition-delay: .4s;
}

.drawer__nav a,
.drawer__nav .drawer__toggle>span {
    display: block;
    padding: .85rem 1rem;
    border-radius: 12px;
    color: #e2e8f0;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 1.06rem;
    transition: background .25s, color .25s, padding-left .25s;
}

.drawer__nav a:hover,
.drawer__nav .drawer__toggle:hover>span {
    background: rgba(255, 255, 255, .07);
    color: var(--brand);
    padding-left: 1.3rem;
}

.drawer__sub {
    list-style: none;
    margin: 2px 0 8px;
    padding: 0 0 0 14px;
    border-left: 1px solid rgba(255, 255, 255, .1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease);
}

.drawer__sub.is-open {
    max-height: 460px;
}

.drawer__sub a {
    font-family: var(--f-body);
    font-size: .93rem;
    font-weight: 500;
    padding: .6rem 1rem;
    color: #9fb0c4;
}

.drawer__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.drawer__toggle i {
    color: var(--brand);
    font-size: .8rem;
    margin-right: 1rem;
    transition: transform .35s var(--ease);
}

.drawer__toggle.is-open i {
    transform: rotate(180deg);
}

.drawer__foot {
    padding: 22px 24px 30px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: grid;
    gap: 12px;
}

.drawer__foot .btn {
    width: 100%;
}

.drawer__foot p {
    font-size: .87rem;
    margin: 0;
}

.drawer__foot a {
    color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: var(--ink);
    color: #b4c2d4;
    overflow: hidden;
    padding-block: clamp(64px, 7vw, 104px) clamp(72px, 8vw, 120px);
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
    opacity: .9;
    transform: scale(1.08);
    animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
    from {
        transform: scale(1.05) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.16) translate3d(-1.5%, -2%, 0);
    }
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(8, 13, 19, .95) 6%, rgba(8, 13, 19, .8) 34%, rgba(8, 13, 19, .42) 66%, rgba(8, 13, 19, .3) 100%),
        linear-gradient(180deg, rgba(8, 13, 19, .5) 0%, rgba(8, 13, 19, .18) 42%, rgba(8, 13, 19, .72) 100%);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(34px, 4vw, 66px);
    align-items: center;
}

@media (max-width: 991px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }
}

.hero h1 {
    color: #fff;
    margin-bottom: 1.1rem;
}

.hero p {
    color: #a9b8cb;
    font-size: 1.09rem;
    max-width: 60ch;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .5rem 1.05rem .5rem .5rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: .84rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(6px);
}

.hero__badge b {
    display: inline-grid;
    place-items: center;
    padding: .28rem .6rem;
    border-radius: var(--r-pill);
    background: var(--brand);
    color: var(--ink);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 2rem;
}

.hero__points {
    list-style: none;
    margin: 2.2rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
    max-width: 560px;
}

.hero__points li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .95rem;
    font-weight: 600;
    color: #d5dee9;
}

.hero__points i {
    color: var(--brand);
    margin-top: .35rem;
    font-size: .82rem;
    flex: none;
}

@media (max-width: 479px) {
    .hero__points {
        grid-template-columns: 1fr;
    }
}

/* Quote card */
.quote-card {
    background: #fff;
    border-radius: var(--r-lg);
    padding: clamp(26px, 3vw, 38px);
    box-shadow: var(--sh-lg);
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--brand), var(--brand-200), var(--brand));
    background-size: 200% 100%;
    animation: slide-bg 4s linear infinite;
}

@keyframes slide-bg {
    to {
        background-position: 200% 0;
    }
}

.quote-card h2,
.quote-card .h2 {
    font-size: 1.6rem;
    margin-bottom: .3rem;
}

.quote-card__note {
    font-size: .9rem;
    color: var(--body-soft);
    margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */
.field {
    position: relative;
    margin-bottom: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

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

@media (max-width: 479px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.field input,
.field select,
.field textarea,
.form-control {
    width: 100%;
    padding: .95rem 1.1rem;
    font-family: var(--f-body);
    font-size: .97rem;
    color: var(--head);
    background: var(--bg-soft);
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    outline: none;
    transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
    appearance: none;
    -webkit-appearance: none;
}

.field textarea,
textarea.form-control {
    min-height: 128px;
    resize: vertical;
    line-height: 1.6;
}

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2355637a'%3E%3Cpath d='M8 11.2 2.8 6l1.1-1.1L8 9l4.1-4.1L13.2 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 15px;
    padding-right: 2.6rem;
    cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.form-control:focus {
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(245, 165, 36, .17);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--body-soft);
}

.field .is-invalid,
.form-control.is-invalid {
    border-color: #e04f4f;
    background: #fef4f4;
}

.field .invalid-feedback,
.invalid-feedback {
    display: block;
    font-size: .82rem;
    color: #d63b3b;
    margin-top: .35rem;
    font-weight: 600;
}

.alert-success {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.25rem;
    border-radius: var(--r-sm);
    background: #eafaf0;
    border: 1px solid #b7e8ca;
    color: #17663a;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pop-in .5s var(--ease);
}

@keyframes pop-in {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(.98);
    }
}

.form-consent {
    font-size: .8rem;
    color: var(--body-soft);
    margin-top: .9rem;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. Trust / logos marquee
   -------------------------------------------------------------------------- */
.trust {
    background: var(--bg-soft);
    border-block: 1px solid var(--line-soft);
    padding-block: 34px;
    overflow: hidden;
}

.trust__label {
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--body-soft);
    margin-bottom: 24px;
}

.marquee {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 84px);
    padding-right: clamp(40px, 6vw, 84px);
    flex: none;
    animation: marquee 32s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

@keyframes marquee {
    to {
        transform: translateX(-100%);
    }
}

.marquee img {
    height: clamp(40px, 5vw, 58px);
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .55;
    transition: filter .4s var(--ease), opacity .4s var(--ease), transform .4s var(--ease);
}

.marquee a:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */
.card-x {
    position: relative;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}

.card-x:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh);
    border-color: transparent;
}

.card-x__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--bg-soft-2);
}

.card-x__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.card-x:hover .card-x__media img {
    transform: scale(1.08);
}

.card-x__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(8, 13, 19, .55));
    opacity: 0;
    transition: opacity .5s var(--ease);
}

.card-x:hover .card-x__media::after {
    opacity: 1;
}

.card-x__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .42rem .85rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(6px);
    color: var(--head);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.card-x__body {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-x__body h3 {
    font-size: 1.24rem;
    margin-bottom: .55rem;
}

.card-x__body h3 a {
    color: inherit;
}

.card-x__body h3 a:hover {
    color: var(--brand-700);
}

.card-x__body p {
    font-size: .96rem;
    margin-bottom: 1.35rem;
}

.card-x__body .link-arrow {
    margin-top: auto;
}

/* Icon feature card */
.feature {
    position: relative;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    padding: 32px 28px;
    overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
    z-index: 0;
}

.feature::before {
    content: "";
    position: absolute;
    inset: auto -30% -60% -30%;
    height: 190px;
    background: radial-gradient(circle at 50% 100%, rgba(245, 165, 36, .3), transparent 70%);
    opacity: 0;
    transition: opacity .55s var(--ease);
    z-index: -1;
}

.feature:hover {
    transform: translateY(-7px);
    box-shadow: var(--sh);
    border-color: transparent;
}

.feature:hover::before {
    opacity: 1;
}

.feature__ic {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(145deg, var(--brand-100), #fff);
    box-shadow: inset 0 0 0 1px var(--brand-200);
    color: var(--brand-700);
    font-size: 1.36rem;
    margin-bottom: 20px;
    transition: transform .55s var(--ease), background .45s, color .45s, box-shadow .45s;
}

.feature:hover .feature__ic {
    transform: rotate(-8deg) scale(1.06);
    background: var(--brand);
    color: var(--ink);
    box-shadow: var(--sh-brand);
}

.feature h3 {
    font-size: 1.16rem;
    margin-bottom: .5rem;
}

.feature p {
    font-size: .95rem;
    margin: 0;
}

.feature--dark {
    background: var(--ink-2);
    border-color: rgba(255, 255, 255, .08);
}

.feature--dark h3 {
    color: #fff;
}

.feature--dark p {
    color: #96a5b8;
}

.feature--dark .feature__ic {
    background: rgba(245, 165, 36, .13);
    box-shadow: inset 0 0 0 1px rgba(245, 165, 36, .25);
    color: var(--brand);
}

/* Numbered card */
.numbered {
    position: relative;
    padding: 34px 28px 30px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.numbered:hover {
    transform: translateY(-7px);
    box-shadow: var(--sh);
}

.numbered__n {
    position: absolute;
    top: -12px;
    right: 10px;
    font-family: var(--f-display);
    font-size: 5.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--bg-soft-2);
    transition: color .5s var(--ease);
    pointer-events: none;
    user-select: none;
}

.numbered:hover .numbered__n {
    color: var(--brand-200);
}

.numbered h3 {
    font-size: 1.13rem;
    position: relative;
}

.numbered p {
    font-size: .95rem;
    margin: 0;
    position: relative;
}

/* --------------------------------------------------------------------------
   12. Stats / counters
   -------------------------------------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    background: var(--line-soft);
    border-radius: var(--r);
    overflow: hidden;
}

.stats--dark {
    background: rgba(255, 255, 255, .09);
}

.stat {
    background: #fff;
    padding: 34px 24px;
    text-align: center;
}

.stats--dark .stat {
    background: var(--ink);
}

.stat__n {
    font-family: var(--f-display);
    font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.3rem);
    font-weight: 800;
    line-height: 1;
    color: var(--head);
    letter-spacing: -.04em;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stats--dark .stat__n {
    color: #fff;
}

.stat__n .suffix {
    color: var(--brand);
}

.stat__l {
    margin: .7rem 0 0;
    font-size: .87rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--body-soft);
}

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

/* --------------------------------------------------------------------------
   13. Process timeline
   -------------------------------------------------------------------------- */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.steps::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
    z-index: 0;
}

.step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.step__n {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--line), var(--sh-sm);
    font-family: var(--f-display);
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--head);
    transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}

.step:hover .step__n {
    background: var(--brand);
    color: var(--ink);
    box-shadow: var(--sh-brand);
    transform: translateY(-5px) scale(1.05);
}

.step h3 {
    font-size: 1.08rem;
    margin-bottom: .45rem;
}

.step p {
    font-size: .93rem;
    margin: 0;
}

.sec--dark .step__n {
    background: var(--ink-2);
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14);
}

.sec--dark .steps::before {
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 8px, transparent 8px 16px);
}

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

    .steps::before {
        display: none;
    }
}

@media (max-width: 519px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .step {
        display: grid;
        grid-template-columns: 68px 1fr;
        gap: 18px;
        text-align: left;
        align-items: start;
    }

    .step__n {
        margin: 0;
    }
}

/* Vertical timeline (about page) */
.tl {
    position: relative;
    padding-left: 34px;
}

.tl::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand), var(--line));
}

.tl__item {
    position: relative;
    padding-bottom: 34px;
}

.tl__item:last-child {
    padding-bottom: 0;
}

.tl__item::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 7px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--brand);
    transition: background .4s var(--ease);
}

.tl__item:hover::before {
    background: var(--brand);
}

.tl__year {
    display: inline-block;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-700);
    margin-bottom: .3rem;
}

.tl__item h3 {
    font-size: 1.12rem;
    margin-bottom: .35rem;
}

.tl__item p {
    font-size: .95rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   14. Media / split blocks
   -------------------------------------------------------------------------- */
.media-frame {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh);
}

.media-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.media-frame:hover img {
    transform: scale(1.05);
}

.media-frame--tall img {
    aspect-ratio: 3 / 4;
}

.media-stack {
    position: relative;
    padding-bottom: 56px;
    padding-right: 46px;
}

.media-stack__main {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh);
}

.media-stack__main img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.media-stack__sub {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    border-radius: var(--r);
    overflow: hidden;
    border: 7px solid #fff;
    box-shadow: var(--sh);
}

.media-stack__sub img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.media-stack__badge {
    position: absolute;
    left: -14px;
    top: 26px;
    background: var(--brand);
    color: var(--ink);
    border-radius: var(--r);
    padding: 16px 20px;
    box-shadow: var(--sh-brand);
    text-align: center;
    z-index: 2;
}

.media-stack__badge b {
    display: block;
    font-family: var(--f-display);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--ink);
}

.media-stack__badge span {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: .78;
}

@media (max-width: 575px) {
    .media-stack {
        padding-right: 0;
        padding-bottom: 0;
    }

    .media-stack__sub {
        display: none;
    }
}

/* Checklist */
.checks {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.checks--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
}

@media (max-width: 575px) {
    .checks--2 {
        grid-template-columns: 1fr;
    }
}

.checks li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .98rem;
    color: var(--body);
}

.checks li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    flex: none;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: .66rem;
}

.sec--dark .checks li {
    color: #a9b8cb;
}

.sec--dark .checks li::before {
    background: rgba(245, 165, 36, .16);
    color: var(--brand);
}

/* Rich content blocks — "term: description" rows */
.deflist {
    display: grid;
    gap: 14px;
    margin: 1.5rem 0 0;
}

.def {
    position: relative;
    padding: 20px 22px 20px 26px;
    background: var(--bg-soft);
    border-radius: var(--r-sm);
    border-left: 3px solid var(--brand);
    transition: transform .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}

.def:hover {
    transform: translateX(6px);
    background: #fff;
    box-shadow: var(--sh-sm);
}

.def b,
.def strong {
    display: block;
    font-family: var(--f-display);
    font-size: 1.04rem;
    color: var(--head);
    margin-bottom: .3rem;
}

.def p {
    margin: 0;
    font-size: .96rem;
}

/* --------------------------------------------------------------------------
   15. Accordion / FAQ
   -------------------------------------------------------------------------- */
.faq {
    display: grid;
    gap: 14px;
}

.faq__item {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    overflow: hidden;
    transition: box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.faq__item.is-open {
    box-shadow: var(--sh);
    border-color: transparent;
}

.faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--f-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--head);
    line-height: 1.4;
    transition: color .3s var(--ease);
}

.faq__q:hover {
    color: var(--brand-700);
}

.faq__ic {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--head);
    font-size: .78rem;
    transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease);
}

.faq__item.is-open .faq__ic {
    background: var(--brand);
    color: var(--ink);
    transform: rotate(180deg);
}

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .55s var(--ease);
}

.faq__a-inner {
    padding: 0 24px 24px;
    font-size: .99rem;
    color: var(--body);
}

.faq__a-inner p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   16. Testimonials
   -------------------------------------------------------------------------- */
.quotes {
    position: relative;
}

.quotes__viewport {
    overflow: hidden;
    padding: 8px 4px 20px;
}

.quotes__track {
    display: flex;
    gap: 24px;
    transition: transform .7s var(--ease);
}

.quote {
    flex: 0 0 calc((100% - 48px) / 3);
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}

.quote:hover {
    box-shadow: var(--sh);
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .quote {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 639px) {
    .quote {
        flex-basis: 100%;
    }
}

.quote__stars {
    color: var(--brand);
    font-size: .88rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.quote__text {
    font-size: 1rem;
    line-height: 1.72;
    color: var(--body);
    margin-bottom: 22px;
    flex: 1;
}

.quote__who {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}

.quote__av {
    width: 44px;
    height: 44px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--brand), var(--brand-600));
    color: var(--ink);
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 1rem;
}

.quote__who b {
    display: block;
    font-family: var(--f-display);
    font-size: .99rem;
    color: var(--head);
    line-height: 1.3;
}

.quote__who span {
    font-size: .84rem;
    color: var(--body-soft);
}

.quotes__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.quotes__btn {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--line), var(--sh-xs);
    color: var(--head);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}

.quotes__btn:hover:not(:disabled) {
    background: var(--brand);
    color: var(--ink);
    box-shadow: var(--sh-brand);
    transform: translateY(-2px);
}

.quotes__btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.quotes__dots {
    display: flex;
    gap: 7px;
    margin-inline: 10px;
}

.quotes__dot {
    width: 8px;
    height: 8px;
    border: 0;
    padding: 0;
    border-radius: 99px;
    background: var(--line);
    cursor: pointer;
    transition: width .4s var(--ease), background .4s var(--ease);
}

.quotes__dot.is-active {
    width: 26px;
    background: var(--brand);
}

/* Review source badge */
.quote__src {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-left: auto;
    padding: .3rem .6rem;
    border-radius: var(--r-pill);
    background: var(--bg-soft);
    color: var(--body-soft);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.quote__src i {
    font-size: .85em;
    color: var(--brand-700);
}

a.quote__src {
    text-decoration: none;
    transition: background .3s var(--ease), color .3s var(--ease);
}

a.quote__src:hover {
    background: var(--brand-100);
    color: var(--head);
}

/* Reviewer photo (Google supplies one; manual entries fall back to an initial) */
.quote__av img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Source attribution under the slider */
.attrib {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 16px 0 0;
    font-size: .82rem;
    color: var(--body-soft);
}

.attrib i {
    color: var(--brand-700);
}

.quote__date {
    display: block;
    font-size: .8rem;
    color: var(--body-soft);
    margin-bottom: 14px;
}

/* Rating summary panel */
.rating {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(24px, 3vw, 42px);
    align-items: center;
    padding: clamp(26px, 3vw, 38px);
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
}

@media (max-width: 639px) {
    .rating {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.rating__score {
    text-align: center;
    padding-right: clamp(24px, 3vw, 42px);
    border-right: 1px solid var(--line-soft);
}

@media (max-width: 639px) {
    .rating__score {
        padding-right: 0;
        padding-bottom: 24px;
        border-right: 0;
        border-bottom: 1px solid var(--line-soft);
    }
}

.rating__n {
    font-family: var(--f-display);
    font-size: clamp(3rem, 2rem + 3vw, 4.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--head);
}

.rating__n span {
    font-size: .4em;
    color: var(--body-soft);
    font-weight: 700;
}

.rating__stars {
    color: var(--brand);
    font-size: 1.05rem;
    letter-spacing: 3px;
    margin: 12px 0 8px;
}

.rating__count {
    font-size: .88rem;
    color: var(--body-soft);
    margin: 0;
}

.rating__bars {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.rating__legend {
    margin: 0 0 12px;
    font-size: .82rem;
    color: var(--body-soft);
}

.rbar {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 12px;
    font-size: .84rem;
    color: var(--body-soft);
}

.rbar__track {
    height: 8px;
    border-radius: 99px;
    background: var(--bg-soft-2);
    overflow: hidden;
}

.rbar__fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--brand-600), var(--brand));
    width: 0;
    transition: width 1.1s var(--ease);
    transition-delay: var(--d, 0ms);
}

.is-in .rbar__fill,
.rating.is-in .rbar__fill {
    width: var(--w, 0%);
}

.rbar__label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.rbar__label i {
    color: var(--brand);
    font-size: .72em;
}

.rbar__pct {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Static review grid (reviews page) */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
    gap: 24px;
    align-items: start;
}

.review-grid .quote {
    flex: 1 1 auto;
}

/* Empty / awaiting-content notice */
.notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 26px;
    border-radius: var(--r);
    background: var(--brand-100);
    border: 1px solid var(--brand-200);
    color: #6b4a06;
}

.notice i {
    flex: none;
    font-size: 1.15rem;
    color: var(--brand-700);
    margin-top: 2px;
}

.notice h3 {
    font-size: 1.05rem;
    margin-bottom: .35rem;
    color: #4a3304;
}

.notice p {
    font-size: .95rem;
    margin: 0;
}

.notice code {
    background: rgba(0, 0, 0, .07);
    padding: 1px 6px;
    border-radius: 5px;
    font-size: .9em;
}

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.cta {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: #a9b8cb;
    isolation: isolate;
}

.cta__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .2;
}

.cta__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 13, 19, .96) 30%, rgba(8, 13, 19, .74));
}

.cta__inner {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 34px;
    align-items: center;
    padding-block: clamp(52px, 6vw, 84px);
}

@media (max-width: 900px) {
    .cta__inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .cta .eyebrow {
        justify-content: center;
    }
}

.cta h2 {
    color: #fff;
    margin-bottom: .6rem;
}

.cta p {
    font-size: 1.08rem;
    max-width: 62ch;
    margin: 0;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* Ribbon strip */
.ribbon {
    background: var(--brand);
    color: var(--ink);
    overflow: hidden;
    padding-block: 14px;
}

.ribbon .marquee__track {
    animation-duration: 26s;
    gap: 0;
    padding: 0;
}

.ribbon__item {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding-inline: 22px;
    font-family: var(--f-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

.ribbon__item i {
    font-size: .6rem;
    opacity: .55;
}

/* --------------------------------------------------------------------------
   18. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.phero {
    position: relative;
    background: var(--ink);
    color: #a9b8cb;
    padding-block: clamp(64px, 7vw, 104px);
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

.phero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.phero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
    transform: scale(1.06);
    animation: kenburns 26s ease-in-out infinite alternate;
}

.phero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(1100px 560px at 50% 40%, rgba(8, 13, 19, .74), rgba(8, 13, 19, .93) 72%);
}

.phero h1 {
    color: #fff;
    max-width: 20ch;
    margin-inline: auto;
    margin-bottom: 1rem;
}

.phero h1.is-wide {
    max-width: 26ch;
}

.phero p {
    max-width: 68ch;
    margin-inline: auto;
    font-size: 1.08rem;
}

.phero .eyebrow {
    justify-content: center;
}

.phero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    justify-content: center;
    margin-top: 2rem;
}

/* Breadcrumb */
.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    font-size: .87rem;
    font-weight: 500;
}

.crumbs li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8697ab;
}

.crumbs li+li::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .5rem;
    color: #566577;
}

.crumbs a {
    color: #cbd5e1;
}

.crumbs a:hover {
    color: var(--brand);
}

.crumbs [aria-current] {
    color: var(--brand);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   19. Article / prose (blog detail, legal pages)
   -------------------------------------------------------------------------- */
.prose {
    font-size: 1.07rem;
    line-height: 1.82;
    color: var(--body);
}

.prose>*:first-child {
    margin-top: 0;
}

.prose h2 {
    font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.05rem);
    margin-top: 2.4em;
    margin-bottom: .6em;
}

.prose h3 {
    font-size: clamp(1.24rem, 1.1rem + .5vw, 1.5rem);
    margin-top: 1.9em;
    margin-bottom: .5em;
}

.prose h4 {
    margin-top: 1.6em;
    margin-bottom: .45em;
}

.prose p {
    margin-bottom: 1.3em;
}

.prose img {
    border-radius: var(--r);
    margin-block: 2em;
    box-shadow: var(--sh-sm);
}

.prose ul,
.prose ol {
    margin: 0 0 1.5em;
    padding-left: 0;
    list-style: none;
}

.prose ol {
    counter-reset: li;
}

.prose li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .7em;
}

.prose ul>li::before {
    content: "";
    position: absolute;
    left: .35rem;
    top: .68em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}

.prose ol>li {
    counter-increment: li;
}

.prose ol>li::before {
    content: counter(li);
    position: absolute;
    left: 0;
    top: .1em;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: .76rem;
    font-weight: 800;
    font-family: var(--f-display);
}

.prose blockquote {
    margin: 2em 0;
    padding: 24px 28px;
    border-left: 4px solid var(--brand);
    background: var(--bg-soft);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--head);
}

.prose blockquote p:last-child {
    margin-bottom: 0;
}

.prose a {
    color: var(--brand-700);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--brand-200);
    text-underline-offset: 3px;
    transition: text-decoration-color .3s;
}

.prose a:hover {
    text-decoration-color: var(--brand);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-block: 2em;
    font-size: .96rem;
}

.prose th,
.prose td {
    padding: 12px 16px;
    border: 1px solid var(--line);
    text-align: left;
}

.prose th {
    background: var(--bg-soft);
    font-family: var(--f-display);
    color: var(--head);
}

.prose-scroll {
    overflow-x: auto;
}

/* Content + sidebar layout */
.layout-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: clamp(32px, 4vw, 60px);
    align-items: start;
}

.layout-aside--left {
    grid-template-columns: 350px minmax(0, 1fr);
}

@media (max-width: 991px) {

    .layout-aside,
    .layout-aside--left {
        grid-template-columns: 1fr;
    }

    .layout-aside--left>aside {
        order: 2;
    }
}

/* Sticky sidebar */
.aside-card {
    position: sticky;
    top: calc(var(--nav-h) + 22px);
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    padding: 26px 24px;
    box-shadow: var(--sh-sm);
}

.aside-card+.aside-card {
    margin-top: 20px;
}

.aside-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.aside-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.aside-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: .7rem .9rem;
    border-radius: var(--r-xs);
    font-size: .93rem;
    font-weight: 600;
    color: var(--head);
    background: var(--bg-soft);
    transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.aside-list a i {
    font-size: .68rem;
    color: var(--brand);
    transition: transform .3s var(--ease);
}

.aside-list a:hover,
.aside-list a.is-active {
    background: var(--brand);
    color: var(--ink);
    transform: translateX(4px);
}

.aside-list a:hover i,
.aside-list a.is-active i {
    color: var(--ink);
    transform: translateX(3px);
}

.aside-cta {
    background: var(--ink);
    color: #a9b8cb;
    border-radius: var(--r);
    padding: 30px 26px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aside-cta h3 {
    color: #fff;
    font-size: 1.25rem;
}

.aside-cta p {
    font-size: .94rem;
    margin-bottom: 1.4rem;
}

.aside-cta .btn {
    width: 100%;
}

/* --------------------------------------------------------------------------
   20. Areas served
   -------------------------------------------------------------------------- */
.areas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

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

@media (max-width: 575px) {
    .areas {
        grid-template-columns: 1fr;
    }
}

.area {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    padding: 26px 24px;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.area:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh);
}

.area h3 {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.06rem;
    margin-bottom: 1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--line-soft);
}

.area h3 i {
    color: var(--brand);
    font-size: .92rem;
}

.area ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 7px;
}

.area li {
    display: flex;
    gap: .6rem;
    font-size: .92rem;
    line-height: 1.5;
}

.area li b {
    flex: none;
    font-family: var(--f-display);
    font-size: .84rem;
    font-weight: 700;
    color: var(--brand-700);
    background: var(--brand-100);
    border-radius: 6px;
    padding: 1px 7px;
    height: fit-content;
    margin-top: 1px;
}

/* --------------------------------------------------------------------------
   21. Contact blocks
   -------------------------------------------------------------------------- */
.contact-tiles {
    display: grid;
    gap: 16px;
}

.ctile {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}

.ctile:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh);
    border-color: transparent;
}

.ctile__ic {
    flex: none;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: 1.12rem;
    transition: background .4s var(--ease), color .4s var(--ease);
}

.ctile:hover .ctile__ic {
    background: var(--brand);
    color: var(--ink);
}

.ctile h3 {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--body-soft);
    margin-bottom: .35rem;
}

.ctile p,
.ctile a {
    display: block;
    font-family: var(--f-display);
    font-size: 1.03rem;
    font-weight: 600;
    color: var(--head);
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
}

.ctile a:hover {
    color: var(--brand-700);
}

.map-frame {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh);
    line-height: 0;
    background: var(--bg-soft-2);
}

.map-frame iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
    filter: grayscale(.35) contrast(1.05);
    transition: filter .5s var(--ease);
}

.map-frame:hover iframe {
    filter: none;
}

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
.site-foot {
    position: relative;
    background: var(--ink);
    color: #8e9db2;
    overflow: hidden;
}

.site-foot__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: clamp(30px, 4vw, 56px);
    padding-block: clamp(56px, 6vw, 84px) 46px;
}

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

@media (max-width: 575px) {
    .site-foot__top {
        grid-template-columns: 1fr;
    }
}

.site-foot h3 {
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: .85rem;
}

.site-foot h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

.site-foot__logo img {
    height: 60px;
    width: auto;
    margin-bottom: 22px;
}

.site-foot p {
    font-size: .95rem;
    line-height: 1.75;
}

.foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 11px;
}

.foot-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .95rem;
    color: #9fb0c4;
    transition: color .3s var(--ease), transform .3s var(--ease);
}

.foot-links a::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .48rem;
    color: var(--brand);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.foot-links a:hover {
    color: var(--brand);
    transform: translateX(4px);
}

.foot-links a:hover::before {
    opacity: 1;
    transform: none;
}

.foot-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.foot-contact li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    font-size: .95rem;
    line-height: 1.6;
}

.foot-contact i {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    color: var(--brand);
    font-size: .85rem;
    transition: background .35s var(--ease), color .35s var(--ease);
}

.foot-contact li:hover i {
    background: var(--brand);
    color: var(--ink);
}

.foot-contact a {
    color: #cbd5e1;
}

.foot-contact a:hover {
    color: var(--brand);
}

.foot-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.foot-social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
    color: #cbd5e1;
    font-size: 1rem;
    transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}

.foot-social a:hover {
    background: var(--brand);
    color: var(--ink);
    transform: translateY(-4px);
}

/* Certification strip */
.certs {
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-block: 28px;
}

.certs__label {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #6c7c92;
    text-align: center;
    margin-bottom: 22px;
}

.certs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 5vw, 60px);
}

.certs__list img {
    height: clamp(38px, 5vw, 54px);
    width: auto;
    object-fit: contain;
    /* These marks are dark artwork; knock them out to white for the dark footer. */
    filter: grayscale(1) brightness(0) invert(1);
    opacity: .55;
    transition: filter .4s var(--ease), opacity .4s var(--ease), transform .4s var(--ease);
}

.certs__list a:hover img {
    filter: none;
    opacity: 1;
    transform: translateY(-3px) scale(1.04);
}

.site-foot__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 26px;
    font-size: .89rem;
}

.site-foot__bottom p {
    margin: 0;
}

.site-foot__bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.site-foot__bottom a {
    color: #9fb0c4;
}

.site-foot__bottom a:hover {
    color: var(--brand);
}

@media (max-width: 575px) {
    .site-foot__bottom {
        justify-content: center;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   23. Floating actions
   -------------------------------------------------------------------------- */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
    font-size: .95rem;
    cursor: pointer;
    box-shadow: var(--sh-brand);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(.85);
    transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
    z-index: 900;
}

.to-top.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    transform: translateY(-4px);
}

.to-top__ring {
    position: absolute;
    inset: -4px;
    transform: rotate(-90deg);
}

.to-top__ring circle {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2.5;
    stroke-dasharray: 170;
    stroke-dashoffset: var(--prog, 170);
    opacity: .28;
    transition: stroke-dashoffset .1s linear;
}

/* Mobile sticky call bar */
.callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 890;
    display: none;
    grid-template-columns: 1fr 1fr;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(100%);
    transition: transform .45s var(--ease);
}

.callbar.is-on {
    transform: none;
}

.callbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: 15px 10px;
    font-family: var(--f-display);
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
}

.callbar a+a {
    background: var(--brand);
    color: var(--ink);
}

.callbar a i {
    font-size: .9rem;
}

@media (max-width: 767px) {
    .callbar {
        display: grid;
    }

    .to-top {
        bottom: 74px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    body {
        padding-bottom: 54px;
    }
}

/* Scroll progress bar */
.progress-bar-top {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--brand), var(--brand-600));
    z-index: 1300;
    transition: width .12s linear;
}

/* --------------------------------------------------------------------------
   24. Misc helpers
   -------------------------------------------------------------------------- */
.text-center {
    text-align: center;
}

.mx-auto {
    margin-inline: auto;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .95rem;
    border-radius: var(--r-pill);
    background: var(--brand-100);
    color: var(--brand-700);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus ring for keyboard users */
:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   25. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

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

    [data-reveal],
    [data-stagger]>* {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }

    .hero__bg img,
    .phero__bg img {
        animation: none;
        transform: scale(1.02);
    }
}