/* ==========================================================================
   Brillscan — modern UI
   Self-contained design system (replaces the old template CSS stack).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --navy-950: #051428;
    --navy-900: #0a2142;
    --navy-800: #0f2f57;
    --blue-700: #1d4f78;
    --blue-600: #28658f;
    --blue-500: #3a7fb0;
    --blue-100: #dde9f4;
    --blue-50: #f0f5fa;
    --accent: #ff5e14;
    --accent-600: #e84e06;
    --accent-100: #fff0e8;

    --ink: #0d1b2a;
    --body: #47576b;
    --muted: #6b7a8d;
    --line: #e2e8f0;
    --surface: #ffffff;
    --bg: #f5f8fb;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgb(13 27 42 / .06), 0 1px 3px rgb(13 27 42 / .08);
    --shadow: 0 4px 6px -1px rgb(13 27 42 / .05), 0 14px 28px -8px rgb(13 27 42 / .12);
    --shadow-lg: 0 28px 56px -16px rgb(10 33 66 / .3);

    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 84px;

    --grid-line: rgb(255 255 255 / .06);
    --blueprint: linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px,
                 linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 48px 48px;
}

/* Registered so the drawer backdrop can interpolate (see drawer section). */
@property --drawer-backdrop {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

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

a {
    color: var(--blue-600);
    text-decoration: none;
    transition: color .2s ease;
}
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

p { margin: 0 0 1em; }

button { font: inherit; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

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

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 1000;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tint { background: var(--bg); }
.section--flush-top { padding-top: 0; }

/* Eyebrow / section titles */
.eyebrow,
.section-title > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: var(--mono);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
}
.eyebrow::before,
.section-title > span::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.section-title {
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    text-align: center;
}
.section-title > span { justify-content: center; }
.section-title > p {
    margin: 0 0 6px;
    font-weight: 600;
    color: var(--muted);
}
.section-title h1,
.section-title h2,
.display-title {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -.035em;
    text-transform: capitalize;
}
.display-title { text-transform: none; }

.text-gradient {
    background: linear-gradient(90deg, var(--blue-600), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Buttons ---------- */
.btn,
.submit-btn {
    --btn-bg: var(--accent);
    --btn-fg: #fff;
    --btn-border: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65em;
    padding: .95em 1.7em;
    border: 1.5px solid var(--btn-border);
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .01em;
    text-transform: capitalize;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover,
.submit-btn:hover {
    color: var(--btn-fg);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgb(255 94 20 / .6);
}
.btn i { transition: translate .25s ease; }
.btn:hover i { translate: 4px 0; }

.btn--ghost {
    --btn-bg: rgb(255 255 255 / .06);
    --btn-border: rgb(255 255 255 / .35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
    --btn-bg: #fff;
    --btn-fg: var(--navy-900);
    box-shadow: 0 14px 28px -10px rgb(0 0 0 / .4);
}
.btn--dark { --btn-bg: var(--navy-900); }
.btn--dark:hover { --btn-bg: var(--accent); }
.btn--outline {
    --btn-bg: transparent;
    --btn-fg: var(--navy-900);
    --btn-border: var(--line);
}
.btn--outline:hover {
    --btn-bg: var(--navy-900);
    --btn-fg: #fff;
    --btn-border: var(--navy-900);
    box-shadow: var(--shadow);
}
.btn--block { width: 100%; }

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--navy-900);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.icon-btn:hover:not(:disabled) {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
}
.icon-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Top bar ---------- */
.topbar {
    position: relative;
    z-index: 51;
    background: var(--navy-950);
    color: #b8c6d8;
    font-size: .82rem;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 56px;
    padding-block: 8px;
}
.topbar__welcome {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #fff;
    font-weight: 600;
}
.topbar__welcome::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgb(34 197 94 / .18);
}
.topbar__right {
    display: flex;
    align-items: center;
    gap: 28px;
}
.topbar__info {
    display: flex;
    align-items: center;
    gap: 28px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.info-item__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgb(255 255 255 / .06);
    color: var(--accent);
    font-size: .8rem;
}
.info-item h5,
.info-item__label {
    margin: 0 0 1px;
    font-family: var(--mono);
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
    color: #7f93ad;
}
.info-item span,
.info-item span a {
    display: block;
    color: #e6edf5;
    line-height: 1.4;
}
.info-item a:hover { color: var(--accent); }

.social-links {
    display: flex;
    gap: 8px;
}
.social-links a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgb(255 255 255 / .14);
    border-radius: 50%;
    color: #fff;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(255 255 255 / .86);
    border-bottom: 1px solid rgb(226 232 240 / .8);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}

/* Elevate the header as the page scrolls (decorative, progressive). */
@supports (animation-timeline: scroll()) {
    .site-header {
        animation: header-elevate linear both;
        animation-timeline: scroll();
        animation-range: 0 160px;
    }
    @keyframes header-elevate {
        to {
            background: rgb(255 255 255 / .95);
            box-shadow: 0 12px 32px -14px rgb(10 33 66 / .22);
        }
    }
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: var(--header-h);
}
.brand { flex: none; display: inline-flex; }
.brand img {
    display: block;
    width: auto;
    height: 56px;
}

.main-nav { margin-inline: auto; }
.main-nav > ul {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a[aria-current="page"] {
    background: var(--accent-100);
    color: var(--accent);
}
.main-nav .caret {
    font-size: .65rem;
    transition: rotate .25s ease;
}
.main-nav .has-sub:hover .caret,
.main-nav .has-sub:focus-within .caret { rotate: 180deg; }

/* hover bridge between link and dropdown */
.main-nav .has-sub::after {
    content: "";
    position: absolute;
    inset: 100% 0 auto;
    height: 14px;
}
.main-nav .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 300px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    translate: -50% 10px;
    transition: opacity .22s ease, translate .22s ease, visibility 0s linear .22s;
}
.main-nav .has-sub:hover .sub-menu,
.main-nav .has-sub:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    translate: -50% 0;
    transition-delay: 0s;
}
.main-nav .sub-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease;
}
.main-nav .sub-menu a::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--blue-100);
    transition: background-color .2s ease, rotate .2s ease;
}
.main-nav .sub-menu a:hover { background: var(--bg); color: var(--accent); }
.main-nav .sub-menu a:hover::before { background: var(--accent); rotate: 45deg; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.header-call {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}
.header-call__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--blue-50);
    color: var(--blue-600);
}
.header-call small {
    display: block;
    font-family: var(--mono);
    font-size: .64rem;
    letter-spacing: .12em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--muted);
}
.header-call strong {
    display: block;
    font-size: .98rem;
    line-height: 1.3;
}
.header-call:hover { color: var(--accent); }

.nav-toggle {
    display: none;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: var(--navy-900);
    color: #fff;
    cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; width: 14px; }

/* ---------- Mobile navigation drawer ----------
   Scroll-snap drawer: the sheet and an empty spacer are two snap stops;
   swiping, tapping outside or Escape all close it. */
.drawer {
    --drawer-width: min(22rem, 86vw);
    --drawer-backdrop: 0;
    position: fixed;
    inset: 0;
    z-index: 100;
}
.drawer[hidden] { display: none; }
.drawer__backdrop {
    position: absolute;
    inset: 0;
    background: var(--navy-950);
    opacity: calc(var(--drawer-backdrop) * .7);
    pointer-events: none;
}
.drawer__scroller {
    position: relative;
    display: grid;
    grid-template-columns: var(--drawer-width) 100%;
    height: 100%;
    overflow-x: scroll;
    overscroll-behavior: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}
.drawer__scroller::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .drawer__scroller { scroll-behavior: smooth; }
}
.drawer__scroller::after {
    content: "";
    scroll-snap-align: end;
    scroll-initial-target: nearest;
}
.drawer__sheet {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100svh;
    padding: 20px 22px 28px;
    overflow-y: auto;
    scroll-snap-align: start;
    scrollbar-width: none;
    background: var(--blueprint), var(--navy-950);
    color: #c4d1e0;
    outline: none;
}
@supports (animation-timeline: scroll()) {
    .drawer {
        timeline-scope: --drawer-fade;
        animation: fade-drawer-backdrop linear both;
        animation-timeline: --drawer-fade;
    }
    .drawer__scroller { scroll-timeline: --drawer-fade x; }
    @keyframes fade-drawer-backdrop {
        0% { --drawer-backdrop: 1; }
        100% { --drawer-backdrop: 0; }
    }
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.drawer__head .brand img {
    width: auto;
    height: 44px;
    padding: 6px 10px;
    border-radius: 12px;
    background: #fff;
}
.drawer__close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / .15);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
}
.drawer-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}
.drawer-nav > li { border-bottom: 1px solid rgb(255 255 255 / .08); }
.drawer-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 4px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}
.drawer-nav > li > a::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .8rem;
    color: rgb(255 255 255 / .35);
    transition: color .2s ease, translate .2s ease;
}
.drawer-nav > li > a:hover::after,
.drawer-nav > li > a[aria-current="page"]::after { color: var(--accent); translate: 4px 0; }
.drawer-nav > li > a[aria-current="page"] { color: var(--accent); }
.drawer-nav .sub-menu {
    margin: -4px 0 12px;
    padding: 0 0 0 14px;
    list-style: none;
    border-left: 2px solid rgb(255 255 255 / .1);
}
.drawer-nav .sub-menu a {
    display: block;
    padding: 7px 0;
    color: #a9b9cc;
    font-size: .95rem;
    font-weight: 500;
}
.drawer-nav .sub-menu a:hover { color: var(--accent); }
.drawer .action-bar {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgb(255 255 255 / .08);
    border-radius: var(--radius);
    background: rgb(255 255 255 / .03);
}
.drawer .action-bar .info-item { align-items: flex-start; }
.drawer .action-bar span { word-break: break-word; }
.drawer .social-links { margin-top: auto; }

/* ---------- Hero slider ---------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy-950);
    color: #fff;
}
.hero__slides { display: grid; }
.hero__slide {
    grid-area: 1 / 1;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(600px, 88svh, 800px);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity .9s ease, visibility 0s;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scale: 1.08;
    transition: scale 7s ease-out;
}
.hero__slide.is-active .hero__bg { scale: 1; }
.hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(100deg, rgb(5 20 40 / .95) 0%, rgb(5 20 40 / .84) 36%, rgb(5 20 40 / .4) 68%, rgb(5 20 40 / .2) 100%),
        linear-gradient(0deg, rgb(5 20 40 / .75) 0%, transparent 45%);
}
.hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--blueprint);
    -webkit-mask-image: radial-gradient(120% 90% at 0% 50%, #000 20%, transparent 70%);
    mask-image: radial-gradient(120% 90% at 0% 50%, #000 20%, transparent 70%);
}

/* Decorative GPR radar sweep */
.hero__radar {
    position: absolute;
    top: 50%;
    right: -10%;
    z-index: -1;
    width: min(58vw, 760px);
    aspect-ratio: 1;
    border-radius: 50%;
    translate: 0 -50%;
    pointer-events: none;
    background:
        linear-gradient(transparent calc(50% - .5px), rgb(255 255 255 / .1) 0 calc(50% + .5px), transparent 0),
        linear-gradient(90deg, transparent calc(50% - .5px), rgb(255 255 255 / .1) 0 calc(50% + .5px), transparent 0),
        repeating-radial-gradient(circle, transparent 0 63px, rgb(255 255 255 / .1) 64px 65px);
    -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 71%);
    mask-image: radial-gradient(circle, #000 52%, transparent 71%);
}
.hero__radar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg 290deg, rgb(255 94 20 / .08) 320deg, rgb(255 94 20 / .45) 360deg);
}
.hero__radar::after {
    content: "";
    position: absolute;
    top: 30%;
    left: 64%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgb(255 94 20 / .2), 0 0 24px 4px rgb(255 94 20 / .6);
    opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .hero__slide.is-active .hero__radar::before { animation: radar-sweep 6s linear infinite; }
    .hero__slide.is-active .hero__radar::after { animation: radar-blip 6s ease-out infinite; }
}
@keyframes radar-sweep { to { rotate: 1turn; } }
@keyframes radar-blip {
    0%, 8% { opacity: 0; scale: .4; }
    12% { opacity: 1; scale: 1.2; }
    40% { opacity: .9; scale: 1; }
    70%, 100% { opacity: 0; scale: 1; }
}

.hero__content {
    position: relative;
    padding-block: 120px 220px;
}
.hero__content > * { max-width: 740px; }
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 8px 16px;
    border: 1px solid rgb(255 255 255 / .16);
    border-radius: 999px;
    background: rgb(255 255 255 / .06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-family: var(--mono);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
}
.hero__eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgb(255 94 20 / .25);
}
.hero__title {
    margin-bottom: 24px;
    font-size: clamp(2.6rem, 6.4vw, 5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.04em;
    background: linear-gradient(95deg, #fff 40%, #a9cbe8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__title-loc {
    display: block;
    margin-top: .3em;
    font-size: .42em;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.015em;
}
.hero__text {
    max-width: 620px;
    margin-bottom: 38px;
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 1.75;
    color: #c9d6e5;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Staggered content entrance on slide change */
@media (prefers-reduced-motion: no-preference) {
    .hero__slide .hero__content > * {
        opacity: 0;
        translate: 0 28px;
        transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1);
    }
    .hero__slide.is-active .hero__content > * { opacity: 1; translate: 0 0; }
    .hero__slide.is-active .hero__content > :nth-child(2) { transition-delay: .1s; }
    .hero__slide.is-active .hero__content > :nth-child(3) { transition-delay: .2s; }
    .hero__slide.is-active .hero__content > :nth-child(4) { transition-delay: .3s; }
}

.hero__controls {
    position: absolute;
    inset: auto 0 112px;
    z-index: 2;
}
.hero__controls .container {
    display: flex;
    align-items: center;
    gap: 22px;
}
.hero__counter {
    font-family: var(--mono);
    font-size: .85rem;
    color: rgb(255 255 255 / .6);
    letter-spacing: .08em;
}
.hero__counter strong { color: #fff; font-weight: 500; }
.hero__dots { display: flex; gap: 8px; }
.hero__dot {
    position: relative;
    width: 56px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.hero__dot::before,
.hero__dot::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    translate: 0 -50%;
}
.hero__dot::before { background: rgb(255 255 255 / .22); }
.hero__dot::after {
    background: var(--accent);
    transform-origin: left center;
    scale: 0 1;
}
.hero__dot.is-active::after { scale: 1 1; }
@media (prefers-reduced-motion: no-preference) {
    .hero[data-autoplay] .hero__dot.is-active::after {
        animation: hero-progress var(--hero-interval, 6s) linear forwards;
    }
    .hero.is-paused .hero__dot.is-active::after { animation-play-state: paused; }
}
@keyframes hero-progress { from { scale: 0 1; } to { scale: 1 1; } }

.hero__buttons {
    display: flex;
    gap: 8px;
    margin-left: auto;
}
.hero__btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / .22);
    border-radius: 50%;
    background: rgb(255 255 255 / .06);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.hero__btn:hover {
    background: #fff;
    border-color: #fff;
    color: var(--navy-900);
}

/* ---------- Feature strip ---------- */
.features {
    position: relative;
    z-index: 3;
    margin-top: -72px;
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.feature {
    position: relative;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 30px 28px;
    transition: background-color .3s ease;
}
.feature + .feature { border-left: 1px solid var(--line); }
.feature:hover { background: var(--bg); }
.feature__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue-600), var(--navy-900));
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -8px rgb(40 101 143 / .7);
    transition: rotate .3s ease, background .3s ease;
}
.feature:hover .feature__icon {
    rotate: -6deg;
    background: linear-gradient(135deg, var(--accent), var(--accent-600));
}
.feature__text strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.3;
}
.feature__text span {
    display: block;
    font-size: .88rem;
    line-height: 1.55;
    color: var(--muted);
}

/* ---------- About (home) ---------- */
.about {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.about__media { position: relative; }
.about__media::before {
    content: "";
    position: absolute;
    inset: 28px -28px -28px 28px;
    z-index: -1;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(rgb(40 101 143 / .12) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgb(40 101 143 / .12) 1px, transparent 1px) 0 0 / 28px 28px,
        var(--blue-50);
}
.about__media img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about__badge {
    position: absolute;
    left: -24px;
    bottom: 36px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px 16px 16px;
    border-radius: 18px;
    background: rgb(255 255 255 / .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}
.about__badge i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 1.15rem;
}
.about__badge strong { display: block; color: var(--ink); line-height: 1.3; }
.about__badge span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.3; }

.block-contents h1,
.block-contents h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.035em;
}
.block-contents h4,
.block-contents .block-lead {
    margin-bottom: 18px;
    color: var(--ink);
    font-size: clamp(1.08rem, 1.6vw, 1.25rem);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -.01em;
}
.block-contents h4 b { color: var(--accent); }
.block-contents .lead-muted { color: var(--body); }

.checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 26px 0 34px;
    padding: 0;
    list-style: none;
}
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.45;
}
.checklist li::before {
    content: "\f00c";
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--accent-100);
    color: var(--accent);
    font-family: "Font Awesome 6 Free";
    font-size: .65rem;
    font-weight: 900;
}

/* ---------- Service cards & carousel ---------- */
.svc-card {
    counter-increment: svc;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: translate .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.svc-card:hover {
    translate: 0 -6px;
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}
.svc-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--navy-900);
}
.svc-card__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    transition: scale .6s ease;
}
.svc-card:hover .svc-card__img { scale: 1.06; }
.svc-card__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgb(5 20 40 / .55), transparent 55%);
}
.svc-card__media::after {
    content: counter(svc, decimal-leading-zero);
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgb(255 255 255 / .9);
    backdrop-filter: blur(6px);
    color: var(--navy-900);
    font-family: var(--mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
}
.svc-card__cat {
    position: absolute;
    right: 16px;
    bottom: -24px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    transition: rotate .4s ease, background-color .3s ease;
}
.svc-card__cat:hover { color: #fff; background: var(--navy-900); }
.svc-card:hover .svc-card__cat { rotate: -45deg; }
.svc-card__media:has(.svc-card__cat) { overflow: visible; }
.svc-card__media:has(.svc-card__cat) .svc-card__img,
.svc-card__media:has(.svc-card__cat)::before { border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.svc-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 30px 28px 28px;
}
.svc-card__heading { margin: 0; }
.svc-card__title,
.svc-card__body h2,
.svc-card__body h3 {
    margin: 0;
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
}
.svc-card__title,
.svc-card__body h2 a,
.svc-card__body h3 a { color: var(--ink); }
.svc-card__title:hover,
.svc-card__body h2 a:hover,
.svc-card__body h3 a:hover { color: var(--accent); }
.svc-card__body p { margin: 0; color: var(--body); font-size: .95rem; }
.svc-card__body p a { color: inherit; }
.svc-card__body p a:hover { color: var(--blue-600); }
.read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--navy-900);
    font-size: .92rem;
    font-weight: 700;
}
.read-btn i { transition: translate .25s ease; }
.read-btn:hover i,
.svc-card:hover .read-btn i { translate: 5px 0; }

.svc-grid {
    counter-reset: svc;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.carousel { counter-reset: svc; }
.carousel__track {
    --per-view: 3;
    --gap: 24px;
    display: grid;
    grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
    grid-auto-flow: column;
    gap: var(--gap);
    margin: -10px;
    padding: 10px 10px 28px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 10px;
    scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}
.carousel__nav[hidden] { display: none; }

/* ---------- CTA ---------- */
.cta {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: center;
    overflow: hidden;
    padding: clamp(36px, 5.5vw, 72px);
    border-radius: var(--radius-lg);
    background: radial-gradient(120% 140% at 100% 0%, var(--blue-600) 0%, var(--navy-900) 52%, var(--navy-950) 100%);
    color: #fff;
}
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--blueprint);
    -webkit-mask-image: radial-gradient(80% 120% at 100% 0%, #000, transparent 75%);
    mask-image: radial-gradient(80% 120% at 100% 0%, #000, transparent 75%);
}
.cta::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    z-index: -1;
    width: 420px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(255 94 20 / .35), transparent 65%);
}
.cta .eyebrow { color: #ffb38f; }
.cta-heading {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 3.6vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.12;
}
.cta-phone {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 28px 20px 20px;
    border: 1px solid rgb(255 255 255 / .14);
    border-radius: 22px;
    background: rgb(255 255 255 / .06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.cta-phone .icon {
    position: relative;
    flex: none;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.25rem;
}
.cta-phone a {
    display: block;
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -.01em;
    white-space: nowrap;
}
.cta-phone a:hover { color: #ffb38f; }
.cta-phone span { display: block; font-size: .86rem; color: #9fb3c8; }

/* Pulsing ring for call icons */
.pulse::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .pulse::before { animation: pulse-ring 2.4s ease-out infinite; }
}
@keyframes pulse-ring {
    0% { opacity: .6; scale: 1; }
    100% { opacity: 0; scale: 1.6; }
}
.cta-phone .pulse::before { border-color: var(--accent); }

/* ---------- Contact / forms ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
    gap: 28px;
    align-items: stretch;
}
.contact-aside {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow: hidden;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-lg);
    background: var(--blueprint), linear-gradient(160deg, var(--navy-800), var(--navy-950));
    color: #b8c6d8;
}
.contact-aside::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    z-index: -1;
    width: 260px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(255 94 20 / .35), transparent 65%);
}
.contact-aside__title {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
}
.contact-aside .info-item { align-items: flex-start; }
.contact-aside .info-item__icon { width: 44px; height: 44px; border-radius: 12px; font-size: .95rem; }
.contact-aside .label {
    display: block;
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #7f93ad;
}
.contact-aside .info-item a,
.contact-aside .info-item p { margin: 0; color: #fff; font-weight: 600; word-break: break-word; }
.contact-aside .info-item a:hover { color: var(--accent); }

.contact-form {
    padding: clamp(24px, 4vw, 48px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}
.form-grid .field--full { grid-column: 1 / -1; }
.single-personal-info label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 600;
}
.single-personal-info input,
.single-personal-info textarea {
    display: block;
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid transparent;
    border-radius: 14px;
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: .98rem;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.single-personal-info input::placeholder,
.single-personal-info textarea::placeholder { color: #94a3b4; }
.single-personal-info input:hover,
.single-personal-info textarea:hover { border-color: var(--line); }
.single-personal-info input:focus,
.single-personal-info textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgb(58 127 176 / .15);
}
.single-personal-info textarea { min-height: 160px; resize: vertical; }
.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: .85rem;
    color: var(--muted);
}
.form-note i { color: #22c55e; }
.submit-btn { min-width: 180px; padding-inline: 2.4em; }

/* Contact page cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.single-contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    padding: 34px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: translate .35s ease, box-shadow .35s ease;
}
.single-contact-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue-600));
    transform-origin: left;
    scale: 0 1;
    transition: scale .45s ease;
}
.single-contact-card:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); }
.single-contact-card:hover::before { scale: 1 1; }
.single-contact-card .top-part { display: flex; align-items: center; gap: 16px; }
.single-contact-card .top-part .icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue-600), var(--navy-900));
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 12px 24px -10px rgb(40 101 143 / .8);
}
.single-contact-card.card2 .top-part .icon { background: linear-gradient(135deg, var(--accent), var(--accent-600)); box-shadow: 0 12px 24px -10px rgb(255 94 20 / .7); }
.single-contact-card h2,
.single-contact-card h4 { margin: 0; font-size: 1.2rem; }
.single-contact-card .bottom-part {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
}
.single-contact-card .info { color: var(--ink); font-weight: 600; word-break: break-word; }
.single-contact-card .info p { margin: 0 0 4px; }
.single-contact-card .info a { color: var(--ink); }
.single-contact-card .info a:hover { color: var(--accent); }
.single-contact-card .bottom-part .icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--muted);
    font-size: .85rem;
    transition: background-color .3s ease, color .3s ease, rotate .3s ease;
}
.single-contact-card:hover .bottom-part .icon { background: var(--accent); color: #fff; rotate: -45deg; }

.contact-map-wrap {
    margin-top: clamp(40px, 5vw, 64px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.contact-map-wrap iframe {
    display: block;
    width: 100%;
    height: clamp(320px, 42vw, 460px);
    border: 0;
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner-wrap {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(96px, 12vw, 160px) clamp(72px, 8vw, 112px);
    background-color: var(--navy-950);
    background-position: center;
    background-size: cover;
    color: #fff;
}
.page-banner-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(100deg, rgb(5 20 40 / .94) 0%, rgb(5 20 40 / .78) 45%, rgb(5 20 40 / .45) 100%),
        linear-gradient(0deg, rgb(5 20 40 / .6), transparent 50%);
}
.page-banner-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--blueprint);
    -webkit-mask-image: radial-gradient(90% 120% at 0% 100%, #000 20%, transparent 70%);
    mask-image: radial-gradient(90% 120% at 0% 100%, #000 20%, transparent 70%);
}
.page-banner-wrap .hero__radar { right: -18%; width: min(60vw, 620px); }
.page-banner-wrap .hero__radar::before { animation: none; }
@media (prefers-reduced-motion: no-preference) {
    .page-banner-wrap .hero__radar::before { animation: radar-sweep 8s linear infinite; }
}
.breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
    padding: 8px 18px;
    list-style: none;
    border: 1px solid rgb(255 255 255 / .16);
    border-radius: 999px;
    background: rgb(255 255 255 / .07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: var(--mono);
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.breadcrumb-item { color: #c9d6e5; }
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin-right: 8px;
    color: rgb(255 255 255 / .35);
}
.breadcrumb-item a { color: #fff; }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active { color: var(--accent); }
.page-heading h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.04;
}
.page-heading__sub {
    display: block;
    margin-top: .5em;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.35;
    color: rgb(255 255 255 / .82);
}

/* ---------- Content + sidebar layout ---------- */
.layout-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}
.sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: grid;
    gap: 24px;
}
.widget {
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.widget__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 700;
}
.widget__title::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 4px;
    background: var(--accent);
}
.widget-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.widget-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.widget-links a i { color: var(--muted); font-size: .8rem; transition: translate .2s ease, color .2s ease; }
.widget-links a:hover,
.widget-links a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.widget-links a:hover i,
.widget-links a[aria-current="page"] i { color: var(--accent); translate: 3px 0; }
.widget-links a[aria-current="page"] { background: var(--accent-100); }

.widget--cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 0;
    background: var(--blueprint), linear-gradient(160deg, var(--navy-800), var(--navy-950));
    color: #b8c6d8;
}
.widget--cta::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    z-index: -1;
    width: 220px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(255 94 20 / .4), transparent 65%);
}
.widget--cta .widget__title { color: #fff; }
.widget--cta p { font-size: .95rem; }
.widget--cta .phone {
    display: block;
    margin-bottom: 18px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
}
.widget--cta .phone:hover { color: var(--accent); }

.intro-card {
    position: relative;
    margin-bottom: 40px;
    padding: clamp(26px, 4vw, 40px);
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--blue-50), #fff 70%);
    border: 1px solid var(--line);
}
.intro-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(var(--accent), var(--blue-600));
}
.intro-card h4,
.intro-card .block-lead { margin: 0; }

.content-label {
    margin-bottom: 18px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

.feature-media {
    margin-bottom: 36px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.feature-media .single-service-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 8;
    background-position: center;
    background-size: cover;
}

/* ---------- Rich text from the admin editor ---------- */
.prose {
    color: var(--body);
    font-size: 1.04rem;
    line-height: 1.85;
}
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    margin: 2em 0 .6em;
    color: var(--ink);
    letter-spacing: -.025em;
}
.prose h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.prose h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
.prose h4 { font-size: 1.12rem; }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent); font-weight: 700; }
.prose hr {
    height: 1px;
    margin: 2.6em 0;
    border: 0;
    background: linear-gradient(90deg, var(--line), var(--accent) 50%, var(--line));
    opacity: .7;
}
.prose img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-block: 1.4em;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.prose figure { max-width: 100%; margin: 1.6em 0; }
.prose figure img { margin: 0; width: 100%; }
.prose figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); text-align: center; }
.prose .image_resized { max-width: 100%; }
.prose figure.table { overflow-x: auto; }
.prose table {
    width: 100%;
    margin: 1.6em 0;
    border-collapse: collapse;
    font-size: .95rem;
}
.prose th, .prose td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--bg); color: var(--ink); }
.prose blockquote {
    margin: 1.8em 0;
    padding: 18px 26px;
    border-left: 4px solid var(--accent);
    border-radius: 0 14px 14px 0;
    background: var(--bg);
    color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy-950);
    color: #9fb0c4;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--blueprint);
    -webkit-mask-image: radial-gradient(70% 90% at 100% 0%, #000, transparent 70%);
    mask-image: radial-gradient(70% 90% at 100% 0%, #000, transparent 70%);
}
.site-footer::after {
    content: "";
    position: absolute;
    left: -160px;
    bottom: -200px;
    z-index: -1;
    width: 480px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(40 101 143 / .45), transparent 65%);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.25fr;
    gap: clamp(32px, 5vw, 64px);
    padding-block: clamp(64px, 8vw, 96px) clamp(40px, 5vw, 64px);
}
.wid-title h2,
.wid-title h4 {
    position: relative;
    margin-bottom: 26px;
    padding-bottom: 14px;
    color: #fff;
    font-size: 1.1rem;
}
.wid-title h2::after,
.wid-title h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
}
.site-footer p { color: #9fb0c4; }
.site-footer .social_link { display: flex; gap: 10px; margin-top: 22px; }
.site-footer .social_link a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgb(255 255 255 / .12);
    border-radius: 12px;
    color: #fff;
    transition: background-color .2s ease, border-color .2s ease, translate .2s ease;
}
.site-footer .social_link a:hover {
    background: var(--accent);
    border-color: var(--accent);
    translate: 0 -3px;
}
.footer-links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b5c3d3;
    transition: color .2s ease, translate .2s ease;
}
.footer-links a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: rgb(255 255 255 / .2);
    transition: background-color .2s ease, rotate .2s ease;
}
.footer-links a:hover { color: #fff; translate: 4px 0; }
.footer-links a:hover::before { background: var(--accent); rotate: 45deg; }

.single-contact-info {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}
.single-contact-info .icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgb(255 255 255 / .06);
    color: var(--accent);
}
.single-contact-info span {
    display: block;
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #7f93ad;
}
.single-contact-info p { margin: 2px 0 0; color: #fff; font-weight: 600; word-break: break-word; }
.single-contact-info a { color: #fff; }
.single-contact-info a:hover { color: var(--accent); }

.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); }
.footer-bottom__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding-block: 26px;
    font-size: .88rem;
}
.copyright-info p { margin: 0; }
.copyright-info a { color: #fff; }
.copyright-info a:hover { color: var(--accent); }
.footer-logo img {
    display: block;
    width: auto;
    height: 46px;
    padding: 6px 12px;
    border-radius: 12px;
    background: #fff;
}
.footer-bottom__end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    padding-right: 76px; /* keep clear of the WhatsApp button */
}
.scroll-up-btn a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    transition: translate .2s ease, background-color .2s ease;
}
.scroll-up-btn a:hover { translate: 0 -3px; background: #fff; color: var(--navy-900); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 14px 30px -8px rgb(37 211 102 / .65);
    transition: scale .25s ease;
}
.whatsapp-fab:hover { color: #fff; scale: 1.08; }
.whatsapp-fab::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .whatsapp-fab::before { animation: pulse-ring 2.4s ease-out infinite; }
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        .reveal,
        .reveal-stagger > * {
            animation: reveal-in auto cubic-bezier(.2, .7, .2, 1) backwards;
            animation-timeline: view();
            animation-range: entry 0% entry 90%;
        }
        @media (min-width: 992px) {
            .reveal--left { animation-name: reveal-left; }
            .reveal--right { animation-name: reveal-right; }
        }
    }
}
@keyframes reveal-in { from { opacity: 0; translate: 0 48px; } }
@keyframes reveal-left { from { opacity: 0; translate: -56px 0; } }
@keyframes reveal-right { from { opacity: 0; translate: 56px 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .header-call { display: none; }
    .topbar .info-item--address { display: none; }
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .feature:nth-child(3) { border-left: 0; }
    .feature:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .layout-sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 991px) {
    :root { --header-h: 72px; }
    .topbar__info { display: none; }
    .main-nav,
    .header-actions .btn { display: none; }
    .nav-toggle { display: grid; }
    .header-actions { margin-left: auto; }
    .brand img { height: 46px; }

    .hero__content { padding-block: 96px 200px; }
    .hero__radar { right: -40%; width: 110vw; opacity: .6; }

    .about { grid-template-columns: 1fr; }
    .about__media { max-width: 620px; margin-inline: auto; width: calc(100% - 28px); }
    .about__badge { left: 16px; }

    .carousel__track { --per-view: 2; }
    .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .cta { grid-template-columns: 1fr; text-align: center; }
    .cta .eyebrow { justify-content: center; }
    .cta-phone { justify-self: center; text-align: left; }

    .contact-layout { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr 1fr; }
    .contact-cards > :last-child { grid-column: 1 / -1; }

    .layout-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: 1fr 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .topbar { font-size: .78rem; }
    .topbar__inner { min-height: 46px; }
    .topbar .social-links a { width: 30px; height: 30px; }

    .hero__slide { min-height: 640px; }
    .hero__content { padding-block: 72px 190px; }
    .hero__actions .btn { flex: 1 1 auto; }
    .hero__controls { bottom: 100px; }
    .hero__controls .container { gap: 14px; }
    .hero__dot { width: 36px; }
    .hero__buttons [data-hero-prev],
    .hero__buttons [data-hero-next] { display: none; }

    .features { margin-top: -64px; }
    .features__grid { grid-template-columns: 1fr; }
    .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
    .feature { padding: 22px; }

    .checklist { grid-template-columns: 1fr; }
    .about__badge { left: 12px; bottom: 16px; padding: 12px 16px 12px 12px; }

    .carousel__track { --per-view: 1.12; --gap: 16px; }
    .svc-grid { grid-template-columns: 1fr; }

    .cta-phone { flex-direction: column; text-align: center; padding: 24px; width: 100%; }

    .form-grid { grid-template-columns: 1fr; }
    .form-actions { flex-direction: column-reverse; align-items: stretch; }
    .submit-btn { width: 100%; }

    .contact-cards { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .footer-bottom__end { justify-content: center; flex-direction: column; padding-right: 0; }
    .footer-bottom__inner { padding-bottom: 92px; }
    .footer-logo { grid-row: 1; }

    .whatsapp-fab { width: 54px; height: 54px; font-size: 27px; right: 16px; bottom: 16px; }
}
