:root {
    --bg: #f6f7f7;
    --surface: #ffffff;
    --ink: #111719;
    --muted: #596367;
    --line: rgba(16, 17, 18, 0.12);
    --steel: #344247;
    --olive: #53605b;
    --signal: #c79a45;
    --green: #517868;
    --shadow: 0 22px 70px rgba(17, 23, 25, 0.14);
    --soft-shadow: 0 14px 38px rgba(17, 23, 25, 0.08);
    --radius: 8px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    width: 100%;
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 247, 247, 0.96) 38%, rgba(255, 255, 255, 0.96)),
        var(--bg);
    color: var(--ink);
    font-family: var(--font);
    line-height: 1.5;
}

body.menu-open {
    overflow: hidden;
}

body.high-contrast {
    --bg: #ffffff;
    --surface: #ffffff;
    --ink: #050505;
    --muted: #333333;
    --line: rgba(0, 0, 0, 0.28);
}

body.loading {
    overflow: hidden;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    background: #f6f7f7;
    color: var(--ink);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: min(100% - 40px, 260px);
    padding: 0;
}

.loader-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

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

.loader-copy strong {
    font-size: 1rem;
}

.loader-copy span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.loader-track {
    grid-column: 1 / -1;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(17, 23, 25, 0.12);
}

.loader-track span {
    display: block;
    width: 34%;
    height: 100%;
    border-radius: inherit;
    background: var(--signal);
    animation: loaderSweep 1.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes loaderSweep {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(260%); }
}

img,
canvas {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(240, 178, 60, 0.85);
    outline-offset: 3px;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    line-height: 1.02;
    letter-spacing: 0;
}

p {
    color: var(--muted);
}

.site-noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.075;
    background-image:
        linear-gradient(90deg, rgba(16, 17, 18, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(16, 17, 18, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
}

.container {
    width: min(100% - 48px, 1220px);
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 96px 0;
}

.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 1000;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    width: min(calc(100% - 32px), 1240px);
    padding: 10px 10px 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 60px rgba(16, 17, 18, 0.11);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--surface);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 3vw, 38px);
}

.nav-links a {
    color: var(--muted);
    font-size: 0.93rem;
    font-weight: 700;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.76);
    color: var(--ink);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.icon-btn:hover {
    transform: translateY(-2px);
    background: var(--ink);
    color: var(--surface);
}

.menu-toggle {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 12px 18px;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--ink);
    color: var(--surface);
    box-shadow: 0 12px 30px rgba(16, 17, 18, 0.2);
}

.btn-primary:hover {
    background: #252626;
}

.btn-light {
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.btn-glass {
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
    color: var(--surface);
    backdrop-filter: blur(12px);
}

.btn-full {
    width: 100%;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    background: rgba(244, 241, 234, 0.96);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.35s;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mobile-menu > a:not(.btn) {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.55rem;
    font-weight: 800;
}

.hero-section {
    padding: 96px 16px 0;
}

.filter-rail {
    display: flex;
    gap: 10px;
    width: min(100%, 1240px);
    margin: 0 auto 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-rail::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
    color: var(--steel);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
    transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.filter-chip:hover,
.filter-chip.active {
    transform: translateY(-2px);
    background: var(--ink);
    color: var(--surface);
}

.hero-stage {
    position: relative;
    min-height: clamp(660px, 76vh, 820px);
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
    background: #111719;
    box-shadow: var(--shadow);
    perspective: 1200px;
    isolation: isolate;
}

.hero-image,
.three-scene,
.hero-vignette,
.hero-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    z-index: 0;
    object-fit: cover;
    opacity: 0.62;
    transform: scale(1.08);
    filter: saturate(0.96) contrast(1.05);
}

.three-scene {
    z-index: 4;
    pointer-events: none;
    opacity: 0.68;
    mix-blend-mode: normal;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 46%, rgba(0, 0, 0, 0.22) 56%, #000 68%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 46%, rgba(0, 0, 0, 0.22) 56%, #000 68%);
}

.hero-vignette {
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(6, 10, 12, 0.94) 0%, rgba(6, 10, 12, 0.72) 39%, rgba(6, 10, 12, 0.34) 70%, rgba(6, 10, 12, 0.5) 100%),
        linear-gradient(180deg, rgba(6, 10, 12, 0.18), rgba(6, 10, 12, 0.78));
}

.hero-grid {
    z-index: 3;
    opacity: 0.28;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 86px 86px;
    transform: perspective(700px) rotateX(68deg) translateY(28%);
    transform-origin: bottom;
}

.hero-copy {
    position: relative;
    z-index: 5;
    width: min(680px, calc(100% - 48px));
    padding: clamp(104px, 13vh, 140px) 0 0 clamp(24px, 6vw, 78px);
    color: var(--surface);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--olive);
}

.hero-copy h1 {
    max-width: 720px;
    margin-bottom: 20px;
    font-size: clamp(2rem, 3.8vw, 3.35rem);
    letter-spacing: 0;
}

.hero-copy h1 span {
    display: block;
}

.hero-copy p {
    max-width: 620px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.96rem, 1.35vw, 1.08rem);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quote-card {
    position: absolute;
    right: clamp(18px, 4vw, 60px);
    top: 50%;
    z-index: 6;
    width: min(392px, calc(100% - 36px));
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(24px);
    transform: translateY(-50%);
    transform-style: preserve-3d;
}

.quote-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.quote-card-header > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: var(--radius);
    background: #172024;
    color: var(--signal);
}

.quote-card h2 {
    margin-bottom: 2px;
    font-size: 1.1rem;
}

.quote-card p {
    margin: 0;
    font-size: 0.82rem;
}

.quote-form {
    display: grid;
    gap: 14px;
}

.quote-form label,
.contact-form {
    display: grid;
    gap: 8px;
}

.quote-form label > span:first-child {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.field-shell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid rgba(16, 17, 18, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.8);
}

.field-shell i {
    color: var(--steel);
    flex: 0 0 auto;
}

.field-shell input,
.field-shell select {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}

.date-shell {
    position: relative;
}

.native-date {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

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

.hero-stats {
    position: absolute;
    left: auto;
    right: clamp(18px, 4vw, 60px);
    top: 92px;
    bottom: auto;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(400px, calc(100% - 36px));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(12, 17, 19, 0.48);
    backdrop-filter: blur(14px);
}

@media (min-width: 1121px) {
    .hero-stats {
        left: auto;
        right: clamp(18px, 4vw, 60px);
        top: 92px;
        bottom: auto;
    }
}

.command-section {
    overflow: hidden;
    padding-top: 110px;
}

.command-section::before {
    content: "";
    position: absolute;
    inset: 24px 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 17, 18, 0.28), transparent);
}

.command-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: clamp(28px, 6vw, 74px);
    align-items: center;
}

.command-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(1.85rem, 3.45vw, 3.45rem);
}

.command-copy p {
    max-width: 620px;
    margin-bottom: 28px;
    font-size: 1.08rem;
}

.command-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.command-metrics div {
    min-height: 116px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 34px rgba(16, 17, 18, 0.08);
}

.command-metrics strong {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.command-metrics span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ops-console {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(13, 19, 22, 0.96), rgba(32, 43, 47, 0.94)),
        #111719;
    box-shadow: 0 30px 90px rgba(17, 23, 25, 0.24);
    color: var(--surface);
}

.ops-console::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0 38%, rgba(199, 154, 69, 0.08) 42%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 100% 9px;
    opacity: 0.55;
}

.console-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.console-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7d8588;
}

.console-topbar span:nth-child(2) {
    background: #9aa3a5;
}

.console-topbar span:nth-child(3) {
    background: var(--signal);
}

.console-topbar strong {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.route-panel {
    position: relative;
    z-index: 1;
    min-height: 340px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 20% 25%, rgba(36, 192, 100, 0.18), transparent 24%),
        radial-gradient(circle at 75% 62%, rgba(240, 178, 60, 0.18), transparent 28%),
        rgba(255, 255, 255, 0.05);
}

.route-grid {
    position: absolute;
    inset: 0;
    opacity: 0.42;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(800px) rotateX(62deg) translateY(16%);
    transform-origin: bottom;
}

.route-line {
    position: absolute;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--signal), var(--green), transparent);
    filter: drop-shadow(0 0 14px rgba(36, 192, 100, 0.42));
    transform-origin: left;
    animation: routePulse 3s ease-in-out infinite;
}

.line-a {
    left: 16%;
    top: 56%;
    width: 55%;
    transform: rotate(-18deg);
}

.line-b {
    left: 48%;
    top: 40%;
    width: 33%;
    transform: rotate(28deg);
    animation-delay: 0.8s;
}

.route-node {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(16, 17, 18, 0.72);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
    font-size: 0.82rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.route-node i {
    color: #c8d2d6;
}

.node-a {
    left: 10%;
    top: 57%;
}

.node-b {
    left: 49%;
    top: 34%;
}

.node-c {
    right: 9%;
    top: 61%;
}

.fleet-scan {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    transform: translateY(-100%);
    animation: scanMove 4.4s linear infinite;
}

.console-stack {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.console-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.console-row.active {
    background: rgba(199, 154, 69, 0.1);
}

.console-row strong {
    color: var(--surface);
}

@keyframes scanMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes routePulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

.hero-stats div {
    padding: 14px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats div:last-child {
    border-right: 0;
}

.hero-stats strong {
    display: block;
    color: var(--surface);
    font-size: clamp(1.25rem, 2vw, 1.72rem);
    line-height: 1;
}

.hero-stats span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-weight: 700;
}

.clients-section {
    position: relative;
    overflow: hidden;
    padding: 72px 0 34px;
    --parallax-y: 0px;
}

.clients-section::before {
    content: "";
    position: absolute;
    inset: 24px 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(17, 23, 25, 0.18), transparent);
}

.clients-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.clients-copy h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.85rem);
}

.clients-copy {
    transform: translate3d(0, calc(var(--parallax-y) * -0.35), 0);
    transition: transform 0.08s linear;
}

.clients-section .reveal {
    opacity: 1;
}

.clients-panel {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(17, 23, 25, 0.1);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 241, 241, 0.88));
    box-shadow: var(--soft-shadow);
    transform: translate3d(0, calc(var(--parallax-y) * 0.42), 0);
    transition: transform 0.08s linear;
}

.clients-section .clients-copy {
    transform: translate3d(0, calc(var(--parallax-y) * -0.35), 0);
}

.clients-section .clients-panel {
    transform: translate3d(0, calc(var(--parallax-y) * 0.42), 0);
}

.clients-panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 20%, rgba(199, 154, 69, 0.13), transparent 18rem),
        linear-gradient(90deg, transparent, rgba(17, 23, 25, 0.04), transparent);
}

.client-logo-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.client-logo {
    display: grid;
    min-height: 96px;
    place-items: center;
    padding: 16px;
    border: 1px solid rgba(17, 23, 25, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 20px rgba(17, 23, 25, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.client-logo:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 16px 36px rgba(17, 23, 25, 0.1);
}

.client-logo.logo-invert {
    background: #111719;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(17, 23, 25, 0.08);
}

.client-logo.logo-invert:hover {
    background: #151f22;
    box-shadow: 0 16px 36px rgba(17, 23, 25, 0.18);
}

.client-logo img {
    max-width: 100%;
    max-height: 58px;
    object-fit: contain;
    filter: saturate(1.04) contrast(1.08);
}

.client-logo.logo-invert img {
    filter: none;
}

.client-logo.wide img {
    max-height: 46px;
}

.client-marquee {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    overflow: hidden;
    border-radius: var(--radius);
    background: #111719;
}

.client-marquee-track {
    display: flex;
    width: max-content;
    gap: 34px;
    padding: 11px 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: marqueeMove 22s linear infinite;
}

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

.about-grid,
.mission-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(22px, 5vw, 64px);
    align-items: center;
}

.section-kicker h2,
.section-header h2 {
    margin-bottom: 12px;
    font-size: clamp(1.75rem, 3.55vw, 3.45rem);
}

.about-panel,
.mission-card,
.testimonial-card,
.contact-layout {
    border: 1px solid rgba(16, 17, 18, 0.08);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(16px);
}

.about-panel {
    padding: clamp(24px, 4vw, 44px);
    transform-style: preserve-3d;
}

.about-panel p {
    margin-bottom: 24px;
    font-size: 1.08rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

.section-header {
    width: min(760px, 100%);
    margin: 0 auto 36px;
    text-align: center;
}

.section-header p {
    margin-bottom: 0;
    font-size: 1.02rem;
}

.section-header.light h2,
.section-header.light p {
    color: var(--surface);
}

.slider {
    position: relative;
}

.slider-viewport {
    overflow: hidden;
    padding: 20px 0 28px;
}

.slider-track {
    display: flex;
    gap: 18px;
    transition: transform 0.55s cubic-bezier(0.2, 0.85, 0.2, 1);
    will-change: transform;
}

.journey-card,
.service-card {
    position: relative;
    flex: 0 0 min(380px, calc(100vw - 72px));
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
    background: var(--ink);
    transform-style: preserve-3d;
}

.journey-card img,
.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.journey-card::after,
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.86));
}

.journey-card h3,
.service-card > div {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    color: var(--surface);
}

.journey-card h3 {
    margin: 0;
    font-size: 1.55rem;
}

.journey-card:hover img,
.service-card:hover img {
    transform: scale(1.08);
}

.slider-btn {
    position: absolute;
    top: 48%;
    z-index: 3;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 32px rgba(16, 17, 18, 0.16);
    color: var(--ink);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.slider-btn:hover {
    transform: translateY(-2px) scale(1.04);
    background: var(--ink);
    color: var(--surface);
}

.slider-btn.prev {
    left: -12px;
}

.slider-btn.next {
    right: -12px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dot {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.slider-dot::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    margin: auto;
    border-radius: 999px;
    background: rgba(16, 17, 18, 0.28);
    transition: width 0.25s ease, background 0.25s ease;
}

.slider-dot.active::after {
    width: 28px;
    background: var(--ink);
}

.testimonials-section .slider-dot::after {
    background: rgba(255, 255, 255, 0.38);
}

.testimonials-section .slider-dot.active::after {
    background: var(--signal);
}

.mission-section {
    padding-top: 48px;
}

.mission-card {
    min-height: 340px;
    padding: clamp(24px, 4vw, 44px);
    transform-style: preserve-3d;
}

.mission-card.inverse {
    background: #141617;
    color: var(--surface);
}

.mission-card.inverse p {
    color: rgba(255, 255, 255, 0.72);
}

.card-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--signal);
    color: var(--ink);
    font-size: 1.25rem;
}

.mission-card h2 {
    margin-bottom: 16px;
    font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.mission-card p {
    margin-bottom: 0;
    font-size: 1.03rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 258px;
    gap: 18px;
}

.service-card {
    flex: unset;
    min-height: unset;
}

.service-card.feature {
    grid-column: span 2;
    grid-row: span 2;
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: clamp(1.1rem, 2vw, 1.65rem);
}

.service-card p {
    width: min(100%, 380px);
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
}

.round-arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.service-tags li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    color: var(--steel);
    font-size: 0.9rem;
    font-weight: 800;
}

.service-tags i {
    color: var(--green);
}

.process-section {
    padding-top: 54px;
    background:
        linear-gradient(180deg, transparent, rgba(66, 81, 94, 0.08), transparent);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.process-card {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(16, 17, 18, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--soft-shadow);
    transform-style: preserve-3d;
}

.process-card::before {
    content: "";
    position: absolute;
    inset: auto 18px 18px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--signal), var(--green), var(--steel));
    transform: scaleX(0.2);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.process-card:hover::before {
    transform: scaleX(1);
}

.process-card span {
    display: block;
    margin-bottom: 54px;
    color: rgba(16, 17, 18, 0.24);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 0.8;
}

.process-card i {
    position: absolute;
    top: 24px;
    right: 24px;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--surface);
}

.process-card h3 {
    margin-bottom: 12px;
    font-size: 1.45rem;
}

.process-card p {
    margin-bottom: 0;
    font-size: 0.94rem;
}

.testimonials-section {
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(240, 178, 60, 0.12), transparent 34%),
        linear-gradient(180deg, #151719, #2b2f32);
}

.testimonials-slider .slider-viewport {
    padding-top: 16px;
}

.testimonial-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-height: 240px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.94);
    transform-style: preserve-3d;
}

.testimonial-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-head img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-head h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.testimonial-head span,
.rating span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 14px;
    color: var(--signal);
}

.rating span {
    margin-left: auto;
}

.testimonial-card p {
    margin-bottom: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    overflow: hidden;
}

.contact-details {
    padding: clamp(28px, 5vw, 56px);
    background: #111314;
    color: var(--surface);
}

.contact-details h3 {
    margin-bottom: 28px;
    font-size: clamp(1.45rem, 3vw, 2.4rem);
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
}

.contact-row i {
    margin-top: 4px;
    color: var(--signal);
}

.hours {
    margin-top: 30px;
}

.hours h4 {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.64);
}

.hours div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
}

.contact-form {
    padding: clamp(28px, 5vw, 56px);
    background: var(--surface);
}

.contact-form h3 {
    margin-bottom: 10px;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-width: 0;
    padding: 15px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(244, 241, 234, 0.58);
    color: var(--ink);
    resize: vertical;
}

.contact-form .btn {
    justify-self: start;
    margin-top: 6px;
}

.contact-form p {
    margin: 10px 0 0;
    font-size: 0.78rem;
}

footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--line);
}

footer p {
    margin-bottom: 0;
    font-size: 0.88rem;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 990;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(16, 17, 18, 0.28);
    font-size: 2rem;
    transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    background: #128c7e;
}

body.menu-open .whatsapp-float {
    opacity: 0;
    pointer-events: none;
}

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.18s;
}

.delay-3 {
    transition-delay: 0.26s;
}

.delay-4 {
    transition-delay: 0.34s;
}

.tilt-card {
    will-change: transform;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

@media (hover: hover) and (pointer: fine) {
    .tilt-card:hover {
        box-shadow: var(--shadow);
    }
}

@media (max-width: 1120px) {
    .navbar {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
    }

    .hero-stage {
        min-height: 920px;
    }

    .hero-copy {
        width: min(760px, calc(100% - 40px));
        padding-top: 104px;
    }

    .quote-card {
        top: auto;
        right: auto;
        left: clamp(20px, 5vw, 56px);
        bottom: 164px;
        transform: none;
    }

    .hero-stats {
        top: auto;
        right: auto;
        width: calc(100% - clamp(40px, 10vw, 112px));
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .command-layout {
        grid-template-columns: 1fr;
    }

    .ops-console {
        min-height: 520px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .container {
        width: min(100% - 32px, 1220px);
    }

    .section {
        padding: 68px 0;
    }

    .hero-section {
        padding: 84px 10px 0;
    }

    .filter-rail {
        display: none;
    }

    .hero-stage {
        min-height: 960px;
    }

    .three-scene {
        opacity: 0.76;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.25) 44%, #000 58%);
        mask-image: linear-gradient(180deg, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.25) 44%, #000 58%);
    }

    .hero-copy {
        width: calc(100% - 32px);
        padding: 92px 16px 0;
    }

    .hero-copy h1 {
        font-size: clamp(1.9rem, 6.4vw, 2.65rem);
        line-height: 1.06;
    }

    .quote-card {
        left: 16px;
        bottom: 178px;
        width: calc(100% - 32px);
    }

    .hero-stats {
        left: 16px;
        bottom: 16px;
        grid-template-columns: 1fr;
        width: calc(100% - 32px);
    }

    .hero-stats div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
        padding: 13px 16px;
    }

    .hero-stats div:last-child {
        border-bottom: 0;
    }

    .hero-stats span {
        text-align: right;
    }

    .about-grid,
    .mission-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-auto-rows: 220px;
        gap: 12px;
    }

    .command-section {
        padding-top: 76px;
    }

    .command-metrics {
        grid-template-columns: 1fr;
    }

    .command-metrics div {
        min-height: auto;
    }

    .ops-console {
        min-height: 480px;
    }

    .route-panel {
        min-height: 290px;
    }

    .service-card.feature {
        grid-column: span 2;
        grid-row: span 1;
    }

    .testimonial-card {
        flex-basis: calc((100% - 18px) / 2);
    }

    .slider-btn {
        display: none;
    }
}

@media (max-width: 620px) {
    .navbar {
        top: 10px;
        width: calc(100% - 20px);
    }

    .brand {
        font-size: 0.95rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .hero-stage {
        min-height: 980px;
    }

    .hero-copy {
        padding-top: 78px;
    }

    .hero-copy p {
        font-size: 0.98rem;
    }

    .hero-cta {
        align-items: stretch;
    }

    .hero-cta .btn {
        flex: 1 1 170px;
    }

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

    .quote-card {
        bottom: 174px;
        padding: 18px;
    }

    .section-header {
        text-align: left;
    }

    .journey-card {
        flex-basis: calc(100vw - 48px);
        min-height: 390px;
    }

    .slider-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 18px;
    }

    .slider-viewport::-webkit-scrollbar {
        display: none;
    }

    .slider-track {
        transform: none !important;
    }

    .journey-card,
    .testimonial-card {
        scroll-snap-align: center;
    }

    .slider-dots {
        display: none;
    }

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

    .services-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card,
    .service-card.feature {
        flex: 0 0 calc(100vw - 48px);
        min-height: 380px;
        scroll-snap-align: center;
    }

    .service-tags {
        justify-content: flex-start;
    }

    .service-tags li {
        width: 100%;
        align-items: flex-start;
    }

    .testimonial-card {
        flex-basis: calc(100vw - 48px);
        min-height: 260px;
    }

    .process-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .process-grid::-webkit-scrollbar {
        display: none;
    }

    .process-card {
        flex: 0 0 calc(100vw - 48px);
        min-height: 270px;
        scroll-snap-align: center;
    }

    .route-node {
        font-size: 0.72rem;
        padding: 8px 9px;
    }

    .node-a {
        left: 6%;
    }

    .node-b {
        left: 38%;
    }

    .node-c {
        right: 5%;
    }

    .contact-form .btn {
        width: 100%;
    }

    .hours div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        right: 18px;
        bottom: 18px;
        font-size: 1.75rem;
    }
}

@media (max-width: 390px) {
    .hero-stage {
        min-height: 1010px;
    }

    .hero-copy h1 {
        font-size: 1.48rem;
    }

    .btn {
        padding-inline: 12px;
    }
}

/* Layout stability pass: keep functional UI panels out of parallax positioning. */
.hero-stage {
    display: grid;
    gap: 20px;
}

.hero-copy,
.quote-card,
.hero-stats {
    position: relative;
    z-index: 6;
    min-width: 0;
}

.quote-card,
.hero-stats {
    transform: none !important;
}

@media (min-width: 1121px) {
    .hero-stage {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
        grid-template-rows: minmax(0, 1fr) auto;
        align-items: center;
        min-height: clamp(660px, 76vh, 820px);
        padding: clamp(86px, 10vh, 118px) clamp(38px, 5vw, 76px) 28px;
    }

    .hero-copy {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        width: min(650px, 100%);
        padding: 0;
    }

    .quote-card {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        inset: auto;
        width: 100%;
        margin: 0;
    }

    .hero-stats {
        grid-column: 2;
        grid-row: 2;
        inset: auto;
        width: 100%;
    }
}

@media (min-width: 861px) and (max-width: 1120px) {
    .hero-stage {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
        grid-template-rows: auto auto;
        align-items: start;
        min-height: auto;
        padding: 104px clamp(22px, 4vw, 48px) 28px;
    }

    .hero-copy {
        grid-column: 1 / -1;
        width: min(760px, 100%);
        padding: 0;
    }

    .quote-card {
        grid-column: 2;
        grid-row: 2;
        inset: auto;
        width: 100%;
    }

    .hero-stats {
        grid-column: 1;
        grid-row: 2;
        align-self: stretch;
        inset: auto;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .hero-stats div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .hero-stats div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 860px) {
    .hero-stage {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        padding: 96px 16px 16px;
    }

    .hero-copy,
    .quote-card,
    .hero-stats {
        width: 100%;
        max-width: 100%;
        inset: auto;
    }

    .hero-copy {
        padding: 0;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(1.62rem, 5.8vw, 2.05rem);
        overflow-wrap: break-word;
    }

    .hero-copy p {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .field-shell,
    .quote-form input,
    .quote-form select {
        min-width: 0;
        max-width: 100%;
    }

    .quote-card {
        margin-top: 8px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .hero-stage {
        padding: 86px 16px 16px;
        gap: 16px;
    }

    .hero-copy h1 {
        font-size: clamp(1.34rem, 5.4vw, 1.5rem);
        line-height: 1.08;
    }

    .hero-copy p {
        margin-bottom: 18px;
    }

    .hero-cta {
        display: grid;
        grid-template-columns: 1fr;
    }

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

    .quote-card .form-grid {
        grid-template-columns: 1fr;
    }

    .quote-card {
        padding: 18px;
    }
}

/* Mobile experience polish: compact, intentional, and less like a stacked desktop page. */
@media (max-width: 620px) {
    body {
        background:
            linear-gradient(180deg, #f7f8f8 0%, #eef1f1 42%, #ffffff 100%);
    }

    .navbar {
        top: 8px;
        width: calc(100% - 16px);
        padding: 8px 10px;
        border-color: rgba(17, 23, 25, 0.08);
        box-shadow: 0 14px 34px rgba(17, 23, 25, 0.12);
    }

    .brand {
        gap: 9px;
        font-size: 0.98rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        font-size: 0.72rem;
    }

    .hero-section {
        padding: 82px 8px 0;
    }

    .filter-rail {
        display: flex;
        width: 100%;
        margin: 0 0 10px;
        padding: 0 2px 3px;
        gap: 8px;
        scroll-snap-type: x mandatory;
    }

    .filter-chip {
        min-height: 34px;
        padding: 7px 11px;
        border-color: rgba(17, 23, 25, 0.12);
        background: rgba(255, 255, 255, 0.86);
        color: #2c383c;
        font-size: 0.75rem;
        scroll-snap-align: start;
        box-shadow: 0 8px 18px rgba(17, 23, 25, 0.06);
    }

    .hero-stage {
        gap: 14px;
        padding: 64px 14px 14px;
        border-radius: 10px;
        background: #101719;
        box-shadow: 0 22px 54px rgba(17, 23, 25, 0.2);
    }

    .hero-stage::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 4;
        pointer-events: none;
        background:
            radial-gradient(circle at 80% 28%, rgba(199, 154, 69, 0.12), transparent 24%),
            linear-gradient(180deg, transparent 0 60%, rgba(199, 154, 69, 0.08));
    }

    .hero-vignette {
        background:
            linear-gradient(180deg, rgba(8, 13, 15, 0.62), rgba(8, 13, 15, 0.74)),
            linear-gradient(90deg, rgba(8, 13, 15, 0.94), rgba(8, 13, 15, 0.48));
    }

    .three-scene {
        opacity: 0.58;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.34) 31%, #000 64%);
        mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.34) 31%, #000 64%);
    }

    .hero-copy {
        z-index: 7;
    }

    .eyebrow {
        margin-bottom: 12px;
        font-size: 0.68rem;
        letter-spacing: 0.06em;
    }

    .hero-copy h1 {
        width: min(100%, 330px);
        margin-bottom: 14px;
        font-size: clamp(1.38rem, 5.8vw, 1.58rem);
        line-height: 1.04;
    }

    .hero-copy p {
        width: min(100%, 330px);
        margin-bottom: 16px;
        color: rgba(255, 255, 255, 0.78);
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .hero-cta {
        gap: 9px;
    }

    .hero-cta .btn {
        min-height: 44px;
        border-radius: 9px;
        font-size: 0.92rem;
    }

    .hero-stats {
        order: 2;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        border: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .hero-stats div {
        display: block;
        min-width: 0;
        min-height: auto;
        padding: 11px 12px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .hero-stats div:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .hero-stats strong {
        font-size: clamp(0.98rem, 4.6vw, 1.14rem);
        white-space: nowrap;
    }

    .hero-stats span {
        display: block;
        margin-top: 4px;
        text-align: left;
        font-size: 0.5rem;
        line-height: 1.25;
        text-transform: uppercase;
        overflow-wrap: anywhere;
    }

    .quote-card {
        order: 3;
        margin-top: 0;
        padding: 16px;
        border-color: rgba(255, 255, 255, 0.5);
        border-radius: 10px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(241, 243, 243, 0.95));
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
    }

    .quote-card-header {
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .quote-card-header > span {
        width: 40px;
        height: 40px;
        border-radius: 9px;
    }

    .quote-card h2 {
        font-size: 1rem;
    }

    .quote-card p {
        font-size: 0.78rem;
    }

    .quote-form {
        gap: 12px;
    }

    .field-shell {
        min-height: 46px;
        border-radius: 9px;
        background: #ffffff;
        box-shadow: inset 0 0 0 1px rgba(17, 23, 25, 0.02);
    }

    .quote-card .btn-full {
        min-height: 46px;
        border-radius: 9px;
    }

    .section-kicker h2,
    .section-header h2,
    .command-copy h2,
    .mission-card h2 {
        font-size: clamp(1.45rem, 6vw, 2rem);
        line-height: 1.08;
    }

    .section-header p,
    .command-copy p,
    .about-panel p,
    .mission-card p {
        font-size: 0.92rem;
        line-height: 1.6;
    }
}

@media (max-width: 380px) {
    .hero-copy h1,
    .hero-copy p {
        width: 100%;
    }

    .hero-copy h1 {
        font-size: 1.34rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .three-scene {
        display: none;
    }

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

    .loader-track span,
    .client-marquee-track {
        animation: none;
    }

    .clients-copy,
    .clients-panel {
        transform: none !important;
    }
}

@media (max-width: 860px) {
    .clients-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 620px) {
    .clients-section {
        padding: 52px 0 24px;
    }

    .clients-copy h2 {
        font-size: 1.42rem;
        line-height: 1.12;
    }

    .clients-panel {
        padding: 12px;
    }

    .client-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .client-logo {
        min-height: 82px;
        padding: 12px;
    }

    .client-logo img {
        max-height: 48px;
    }

    .client-logo.wide img {
        max-height: 36px;
    }
}

/* Final mobile-first optimization pass. */
@media (max-width: 620px) {
    html {
        scroll-padding-top: 76px;
    }

    [id] {
        scroll-margin-top: 84px;
    }

    body {
        font-size: 15px;
    }

    .container {
        width: min(100% - 24px, 1220px);
    }

    .section {
        padding: 50px 0;
    }

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

    .navbar {
        min-height: 58px;
    }

    .brand,
    .icon-btn {
        min-height: 44px;
    }

    .icon-btn {
        width: 44px;
        height: 44px;
    }

    .filter-rail {
        gap: 7px;
        padding-bottom: 5px;
    }

    .filter-chip {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 0.72rem;
    }

    .hero-section {
        padding-top: 80px;
    }

    .hero-stage {
        gap: 12px;
        padding: 54px 12px 12px;
    }

    .three-scene {
        display: none;
    }

    .hero-copy h1 {
        width: min(100%, 320px);
        font-size: clamp(1.32rem, 5.55vw, 1.52rem);
        line-height: 1.06;
    }

    .hero-copy p {
        width: min(100%, 320px);
        margin-bottom: 14px;
        font-size: 0.88rem;
        line-height: 1.48;
    }

    .hero-cta .btn {
        min-height: 44px;
        padding: 11px 14px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .hero-stats div {
        padding: 10px 8px;
    }

    .hero-stats strong {
        font-size: 0.96rem;
    }

    .hero-stats span {
        font-size: 0.48rem;
        line-height: 1.2;
    }

    .quote-card {
        padding: 14px;
    }

    .quote-card-header {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .quote-form {
        gap: 10px;
    }

    .quote-form label > span:first-child {
        margin-bottom: 6px;
        font-size: 0.72rem;
    }

    .field-shell {
        min-height: 44px;
    }

    .quote-form input,
    .quote-form select {
        min-height: 44px;
    }

    .quote-card .btn-full {
        min-height: 44px;
    }

    .clients-section {
        padding: 42px 0 20px;
    }

    .clients-layout {
        gap: 16px;
    }

    .clients-copy h2 {
        font-size: 1.28rem;
    }

    .client-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .client-logo {
        min-height: 68px;
        padding: 9px;
    }

    .client-logo img {
        max-height: 40px;
    }

    .client-logo.wide img {
        max-height: 30px;
    }

    .client-marquee-track {
        padding: 10px 14px;
        gap: 24px;
        font-size: 0.64rem;
    }

    .services-grid,
    .process-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        overflow: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }

    .service-card,
    .service-card.feature {
        flex: none;
        grid-column: auto;
        grid-row: auto;
        min-height: 210px;
        scroll-snap-align: none;
    }

    .service-card > div {
        padding: 18px;
    }

    .service-card h3 {
        font-size: 1.12rem;
    }

    .service-card p {
        font-size: 0.82rem;
    }

    .process-card {
        flex: none;
        min-height: 0;
        padding: 20px;
        scroll-snap-align: none;
    }

    .mobile-menu {
        padding: 18px;
    }

    .mobile-menu > a,
    .mobile-menu .btn {
        min-height: 46px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        right: 12px;
        bottom: 12px;
        font-size: 1.42rem;
    }

    .whatsapp-float.is-hidden-mobile {
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px) scale(0.96);
    }
}

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

    .hero-copy h1 {
        font-size: 1.3rem;
    }

    .hero-stats strong {
        font-size: 0.88rem;
    }
}
