/* ==========================================================================
   EUT Global — Design System
   ========================================================================== */

:root {
    --navy-900: #050e22;
    --navy-800: #0a1a3d;
    --navy-700: #0f244f;
    --navy-600: #15306b;
    --blue-500: #117abe;
    --blue-400: #1e97e0;
    --cyan-400: #22d3ee;
    --amber-400: #f5a623;

    --color-primary: var(--navy-800);
    --color-primary-dark: var(--navy-900);
    --color-accent: var(--blue-500);
    --color-accent-light: var(--cyan-400);

    --text-900: #0d1526;
    --text-700: #3b4559;
    --text-500: #656d80;
    --bg-light: #f5f8fc;
    --bg-white: #ffffff;
    --border-light: #e3e8f1;

    --color-success: #1a7f4e;
    --color-success-bg: #e4f8ee;
    --color-success-border: #b7ecd0;
    --color-error: #b4232c;
    --color-error-bg: #fdecec;
    --color-error-border: #f7c6c6;

    --font-heading: 'Manrope', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;

    --shadow-sm: 0 2px 8px rgba(10, 26, 61, 0.06);
    --shadow-md: 0 8px 28px rgba(10, 26, 61, 0.10);
    --shadow-lg: 0 20px 48px rgba(10, 26, 61, 0.16);

    --container-width: 1200px;
    --header-height: 76px;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-900);
    background: var(--bg-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--navy-900); line-height: 1.18; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-700); }
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff;
    padding: 12px 20px; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-light { background: var(--bg-light); }
.bg-navy { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy p { color: #fff; }
.bg-navy p { color: rgba(255,255,255,.78); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--blue-500); margin-bottom: 14px;
}
.eyebrow::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%; flex: none;
    background: var(--color-accent-light); display: inline-block;
    box-shadow: 0 0 0 0 rgba(34,211,238,.55); animation: eyebrow-pulse 2.4s ease-out infinite;
}
@keyframes eyebrow-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34,211,238,.45); }
    70% { box-shadow: 0 0 0 7px rgba(34,211,238,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}
@media (prefers-reduced-motion: reduce) {
    .eyebrow::before { animation: none; }
}

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }

/* ---- Buttons ---- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-heading); font-weight: 700; font-size: .98rem;
    padding: 15px 30px; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
    white-space: nowrap; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 66%);
    transform: translateX(-120%); transition: transform .6s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn-primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--blue-400); }
.btn-accent { background: var(--color-accent-light); color: var(--navy-900); box-shadow: var(--shadow-md); }
.btn-accent:hover { background: #5ce3f7; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--navy-800); border-color: var(--border-light); }
.btn-outline-dark:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-ghost { background: transparent; color: var(--color-accent); padding-left: 0; padding-right: 0; }
.btn-ghost i { transition: transform .18s ease; }
.btn-ghost:hover i { transform: translateX(4px); }

/* ---- Header ---- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.0);
    backdrop-filter: blur(0px);
    transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border-light);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-height);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 36px; width: auto; }
.brand-name { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; color: var(--navy-900); }
.brand-name strong { font-weight: 800; }

.main-nav ul { display: flex; align-items: center; gap: 0; }
.main-nav li { position: relative; }
.main-nav .nav-item-row { display: flex; align-items: center; }
.main-nav a {
    display: flex; align-items: center; gap: 6px; padding: 10px 11px; font-weight: 600; font-size: .88rem;
    color: var(--text-700); border-radius: 999px; transition: color .18s ease, background-color .18s ease;
    white-space: nowrap;
}
.main-nav a i:not(.fa-chevron-down) { font-size: .85em; opacity: .7; }
.main-nav a:hover, .main-nav a.active { color: var(--color-accent); background: rgba(17,122,190,.08); }

.dropdown-toggle {
    background: none; border: none; cursor: pointer; color: var(--text-500); padding: 8px 6px 8px 0;
    display: flex; align-items: center; font-size: .68rem;
}
.dropdown-toggle i { transition: transform .2s ease; }
.has-dropdown.is-open .dropdown-toggle i { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; min-width: 320px;
    background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    padding: 12px; margin: 0; display: none; grid-template-columns: repeat(2, 1fr); gap: 2px;
    opacity: 0; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease;
}
.dropdown-menu li { position: static; }
.dropdown-menu a {
    display: flex; padding: 9px 12px; border-radius: 8px; font-size: .85rem; font-weight: 600;
    color: var(--text-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dropdown-menu a:hover { background: var(--bg-light); color: var(--color-accent); }
.dropdown-menu .dropdown-viewall { grid-column: 1 / -1; border-top: 1px solid var(--border-light); margin-top: 6px; padding-top: 8px; }
.dropdown-menu .dropdown-viewall a { color: var(--color-accent); justify-content: space-between; }

@media (min-width: 761px) {
    .has-dropdown:hover .dropdown-menu,
    .has-dropdown:focus-within .dropdown-menu {
        display: grid; opacity: 1; transform: translateY(0);
    }
    .dropdown-toggle { pointer-events: none; }
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--navy-900); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; margin: 0 auto; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(5,14,34,.5); z-index: 998; opacity: 0; transition: opacity .25s ease; }

/* ---- Hero ---- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
    color: #fff;
    padding: 96px 0 110px;
    overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 15% 20%, rgba(34,211,238,.18), transparent 40%),
                       radial-gradient(circle at 85% 80%, rgba(17,122,190,.35), transparent 45%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero .lead { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 2em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-visual { position: relative; min-width: 0; }
.hero-visual .media-placeholder { aspect-ratio: 4/3.2; }

.scroll-cue {
    position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,.55); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    z-index: 1;
}
.scroll-cue i { animation: scroll-bob 1.8s ease-in-out infinite; }
@keyframes scroll-bob { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .scroll-cue i { animation: none; }
}
@media (max-width: 760px) {
    .scroll-cue { display: none; }
}

.page-hero { padding: 72px 0 90px; }
.page-hero .section-head { margin-bottom: 0; }

/* ---- Media placeholder (used wherever client imagery is pending) ---- */
.media-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    background: linear-gradient(145deg, rgba(17,122,190,.12), rgba(10,26,61,.06));
    border: 1px dashed rgba(17,122,190,.35);
    border-radius: var(--radius-lg);
    color: var(--blue-500);
    text-align: center;
    padding: 32px;
    min-height: 220px;
    width: 100%;
}
.media-placeholder i { font-size: 2.6rem; opacity: .8; }
.media-placeholder span { font-size: .82rem; font-weight: 600; color: var(--text-500); max-width: 240px; }
.hero .media-placeholder { background: linear-gradient(145deg, rgba(34,211,238,.16), rgba(255,255,255,.06)); border-color: rgba(255,255,255,.25); color: #fff; }
.hero .media-placeholder span { color: rgba(255,255,255,.7); }

/* ---- Illustration panels (crafted graphics, not stand-ins) ---- */
.illustration {
    position: relative; min-height: 260px; width: 100%; border-radius: var(--radius-lg);
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, var(--navy-800), var(--navy-700));
    isolation: isolate;
}
.illustration-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 20px 20px;
    -webkit-mask-image: radial-gradient(circle at center, #000 55%, transparent 90%);
    mask-image: radial-gradient(circle at center, #000 55%, transparent 90%);
}
.illustration::before, .illustration::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(34px); z-index: 0;
}
.illustration::before { width: 180px; height: 180px; background: radial-gradient(circle, rgba(34,211,238,.5), transparent 70%); top: -40px; left: -30px; }
.illustration::after { width: 160px; height: 160px; background: radial-gradient(circle, rgba(17,122,190,.55), transparent 70%); bottom: -40px; right: -20px; }
.illustration-b::before { top: auto; bottom: -40px; left: -40px; background: radial-gradient(circle, rgba(17,122,190,.55), transparent 70%); }
.illustration-b::after { bottom: auto; top: -30px; right: -30px; background: radial-gradient(circle, rgba(74,134,232,.45), transparent 70%); }
.illustration-c::before { width: 140px; height: 140px; top: 50%; left: -50px; transform: translateY(-50%); background: radial-gradient(circle, rgba(34,211,238,.45), transparent 70%); }
.illustration-c::after { width: 200px; height: 200px; bottom: -60px; right: -60px; background: radial-gradient(circle, rgba(245,166,35,.28), transparent 70%); }
.illustration-ring {
    position: absolute; z-index: 1; width: 148px; height: 148px; border-radius: 50%;
    border: 1px dashed rgba(34,211,238,.3);
}
.illustration-dot { position: absolute; z-index: 1; border-radius: 50%; background: var(--cyan-400); }
.illustration-dot.d1 { width: 8px; height: 8px; top: 24%; left: 22%; opacity: .75; }
.illustration-dot.d2 { width: 5px; height: 5px; bottom: 28%; right: 26%; background: var(--blue-400); opacity: .8; }
.illustration-dot.d3 { width: 6px; height: 6px; top: 32%; right: 20%; background: var(--amber-400); opacity: .55; }
.illustration-icon {
    position: relative; z-index: 2; width: 104px; height: 104px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(6px); box-shadow: 0 0 0 10px rgba(255,255,255,.04), var(--shadow-lg);
}
.illustration-icon i { font-size: 2.3rem; color: var(--cyan-400); filter: drop-shadow(0 0 14px rgba(34,211,238,.5)); }
.illustration-badge {
    position: absolute; z-index: 2; bottom: 16px; right: 16px;
    display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: rgba(5,14,34,.55); border: 1px solid rgba(255,255,255,.14);
    font-size: .74rem; font-weight: 700; color: rgba(255,255,255,.8); backdrop-filter: blur(4px);
}
.illustration-badge i { color: var(--cyan-400); font-size: .7rem; }

/* ---- FAQ accordion ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border-light); padding: 6px 0;
}
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 4px; cursor: pointer; font-family: var(--font-heading); font-weight: 700;
    color: var(--navy-900); list-style: none; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
    flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-light);
    color: var(--color-accent); display: flex; align-items: center; justify-content: center;
    transition: transform .25s ease, background-color .25s ease;
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--color-accent); color: #fff; }
.faq-item p { padding: 0 4px 20px; margin: 0; color: var(--text-700); }

/* ---- Lifecycle stepper (job flow, mobile-app page) ---- */
.lifecycle { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; }
.lifecycle-step { flex: 1 1 140px; max-width: 170px; text-align: center; padding: 10px 12px; }
.lifecycle-step .step-circle {
    position: relative; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: var(--shadow-sm);
}
.lifecycle-step .step-num {
    position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--cyan-400); color: var(--navy-900); font-size: .7rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff;
}
.lifecycle-step h4 { font-size: .92rem; margin: 0 0 6px; font-family: var(--font-heading); }
.lifecycle-step p { font-size: .8rem; margin: 0; color: var(--text-500); }
.lifecycle-arrow { display: flex; align-items: center; color: var(--border-light); font-size: 1.3rem; padding: 0 2px; }
@media (max-width: 900px) {
    .lifecycle-arrow { display: none; }
    .lifecycle-step { flex: 1 1 45%; max-width: 45%; }
}
@media (max-width: 540px) {
    .lifecycle-step { flex: 1 1 100%; max-width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; padding: 14px 8px; }
    .lifecycle-step .step-circle { margin: 0; flex: none; }
}

/* ---- Live tracking map visual (mobile-app page) ---- */
.tracking-map {
    position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
    background: radial-gradient(ellipse at 40% 30%, var(--navy-700), var(--navy-900));
}
.tracking-map .illustration-grid { opacity: .7; }
.tracking-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tracking-route { fill: none; stroke: var(--cyan-400); stroke-width: 2; stroke-dasharray: 6 6; opacity: .8; animation: dash-flow 4s linear infinite; }
.tracking-pin { fill: #fff; }
.tracking-pin-label {
    position: absolute; transform: translate(-50%, -135%); background: #fff; color: var(--navy-900);
    font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; white-space: nowrap; box-shadow: var(--shadow-sm);
}
.tracking-engineer {
    position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--amber-400);
    transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(245,166,35,.25);
}
.tracking-engineer::after {
    content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(245,166,35,.6);
    animation: pulse 2s ease-out infinite;
}
.tracking-chip {
    position: absolute; top: 18px; left: 18px; background: rgba(5,14,34,.65); backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.14); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
    font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 10px;
}
.tracking-chip i { color: var(--cyan-400); }
.tracking-chip strong { color: var(--cyan-400); }
@media (prefers-reduced-motion: reduce) {
    .tracking-route { animation: none; }
}

/* ---- Browser/dashboard mockup (crafted UI chrome, not a real screenshot) ---- */
.browser-mockup {
    width: 100%; border-radius: var(--radius-md); overflow: hidden;
    background: var(--bg-white); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
}
.browser-bar {
    display: flex; align-items: center; gap: 6px; padding: 10px 14px;
    background: var(--bg-light); border-bottom: 1px solid var(--border-light);
}
.browser-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-light); }
.browser-dot:nth-child(1) { background: #f28b82; }
.browser-dot:nth-child(2) { background: #fdd663; }
.browser-dot:nth-child(3) { background: #81c995; }
.browser-address { flex: 1; height: 14px; margin-left: 10px; border-radius: 999px; background: #fff; border: 1px solid var(--border-light); }
.browser-body { display: flex; gap: 14px; padding: 16px; background: linear-gradient(145deg, #f7fafd, #eef2f8); min-height: 190px; }
.browser-sidebar { width: 26%; display: flex; flex-direction: column; gap: 10px; }
.browser-sidebar span { height: 9px; border-radius: 4px; background: rgba(17,122,190,.18); }
.browser-sidebar span:first-child { width: 70%; background: var(--color-accent); opacity: .8; }
.browser-content { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.browser-block { display: block; height: 10px; border-radius: 4px; background: rgba(10,26,61,.1); width: 60%; }
.browser-block.wide { width: 90%; height: 14px; }
.browser-block.short { width: 38%; }
.browser-chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 6px 0; }
.browser-chart i { display: block; flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--cyan-400), var(--blue-500)); }
.browser-chart i:nth-child(1) { height: 45%; }
.browser-chart i:nth-child(2) { height: 70%; }
.browser-chart i:nth-child(3) { height: 55%; }
.browser-chart i:nth-child(4) { height: 90%; }
.browser-chart i:nth-child(5) { height: 65%; }
.browser-mockup-b .browser-sidebar span:first-child { background: var(--amber-400); }
.browser-mockup-b .browser-chart i { background: linear-gradient(180deg, var(--amber-400), var(--blue-500)); }
.browser-mockup-c .browser-sidebar span:first-child { background: var(--cyan-400); }
.browser-mockup-c .browser-body { background: linear-gradient(145deg, #eef9fb, #e7f1f8); }

/* ---- Hero globe illustration ---- */
.hero-globe {
    position: relative; width: 100%; max-width: 500px; margin: 0 auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,.45));
    animation: globe-float 6s ease-in-out infinite;
}
@keyframes globe-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) {
    .hero-globe { animation: none; }
}
.hero-globe canvas { width: 100%; height: auto; aspect-ratio: 1 / 1; display: block; }

/* ---- Stats band ---- */
.stats-band { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.stats-band::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-icon {
    width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
    background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.25); color: var(--cyan-400); font-size: 1.2rem;
}
.stat-value { font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--color-accent-light); }
.stat-label { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0; }

/* ---- Card grids ---- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    position: relative; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-md);
    padding: 34px 28px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; transform: scaleX(0); transform-origin: left;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
    width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); color: #fff; font-size: 1.4rem; margin-bottom: 20px;
}
.card h3 { margin-bottom: .5em; }
.card p { margin-bottom: 1.1em; font-size: .96rem; }
.card-link { font-weight: 700; font-size: .9rem; color: var(--color-accent); display: inline-flex; align-items: center; gap: 6px; }
.card-link i { font-size: .78rem; transition: transform .18s ease; }
.card:hover .card-link i { transform: translateX(4px); }

/* ---- Zig-zag feature sections ---- */
.zigzag { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.zigzag:not(:last-child) { margin-bottom: 96px; }
.zigzag.reverse .zigzag-media { order: 1; }
.zigzag.reverse .zigzag-content { order: 2; }
.zigzag > .service-process { order: 3; }
.zigzag-content .bullet-list { margin-top: 24px; }

/* ---- Service detail extras: highlight stat, best-for, process stepper ---- */
.service-highlight {
    display: flex; align-items: center; gap: 14px; margin-top: 18px;
    background: var(--bg-light); border: 1px solid var(--border-light); border-radius: var(--radius-sm);
    padding: 14px 18px;
}
.service-highlight-icon {
    width: 42px; height: 42px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center;
    background: rgba(17,122,190,.1); color: var(--color-accent); font-size: 1.1rem;
}
.service-highlight strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; color: var(--navy-900); }
.service-highlight span { font-size: .85rem; color: var(--text-500); }

.service-bestfor {
    margin-top: 14px; padding: 14px 18px; border-radius: var(--radius-sm);
    background: rgba(17,122,190,.06); border: 1px dashed rgba(17,122,190,.3);
    font-size: .88rem; color: var(--text-700);
}
.service-bestfor strong { color: var(--navy-900); }

.service-process {
    margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative;
}
.service-process::before {
    content: ''; position: absolute; top: 20px; left: calc(12.5% + 10px); right: calc(12.5% + 10px);
    height: 2px; background: repeating-linear-gradient(90deg, var(--border-light) 0 8px, transparent 8px 14px);
}
.service-process-step { position: relative; text-align: center; }
.service-process-step .step-number {
    position: relative; z-index: 1; width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 50%;
    background: var(--color-accent); color: #fff; font-family: var(--font-heading); font-weight: 800;
    display: flex; align-items: center; justify-content: center; font-size: .95rem; box-shadow: var(--shadow-sm);
}
.service-process-step h3 { font-size: .92rem; margin: 0 0 4px; font-family: var(--font-heading); font-weight: 700; }
.service-process-step p { font-size: .82rem; margin: 0; color: var(--text-500); }

.bullet-list li {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: .98rem; color: var(--text-700);
}
.bullet-list i { color: var(--color-accent); margin-top: 3px; }

/* ---- Industries strip (home) ---- */
.industry-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-pill {
    display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
    padding: 28px 16px; border-radius: var(--radius-md); background: var(--bg-light);
    border: 1px solid var(--border-light); transition: transform .2s ease, background-color .2s ease;
}
.industry-pill:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow-md); }
.industry-pill i { font-size: 1.6rem; color: var(--color-accent); }
.industry-pill span { font-weight: 700; font-size: .92rem; color: var(--navy-900); }

/* ---- Phone mockup ---- */
.phone-mockup {
    position: relative; border-radius: 42px; padding: 14px; background: var(--navy-900);
    box-shadow: var(--shadow-lg); max-width: 300px; margin: 0 auto;
}
.phone-mockup::before {
    content: ''; position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.2);
}
.phone-mockup img { border-radius: 28px; display: block; }
.phone-stack { display: flex; gap: -40px; justify-content: center; align-items: flex-end; position: relative; }
.phone-stack .phone-mockup:nth-child(2) { margin: 0 -36px; z-index: 2; transform: translateY(-18px) scale(1.04); }
.phone-stack .phone-mockup:nth-child(1) { transform: rotate(-6deg); }
.phone-stack .phone-mockup:nth-child(3) { transform: rotate(6deg); }

/* ---- App feature grid ---- */
.app-feature { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border-light); }
.app-feature:last-child { border-bottom: none; }
.app-feature-icon {
    flex: none; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: rgba(17,122,190,.1); color: var(--color-accent); font-size: 1.15rem;
}
.app-feature h3 { margin: 0 0 .3em; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; }
.app-feature p { margin: 0; font-size: .92rem; }

/* ---- Case studies ---- */
.case-study {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start;
    background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
    padding: 44px; margin-bottom: 36px;
}
.case-study-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem; color: var(--color-accent); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.case-study h2 { margin-bottom: 4px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.case-study .client-name { font-weight: 600; color: var(--text-500); margin-bottom: 18px; font-size: .92rem; }
.case-study-block { margin-bottom: 18px; }
.case-study-block h3 { font-family: var(--font-heading); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--navy-700); margin-bottom: 8px; }
.case-study-block p { margin-bottom: 0; font-size: .95rem; }
.case-study .bullet-list { margin: 0; }
.case-study .bullet-list li { font-size: .92rem; margin-bottom: 10px; }
.bg-navy .case-study-tag { color: var(--cyan-400); }

/* ---- Case study / portfolio single-view detail pages ---- */
.cs-meta-row {
    display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.cs-meta-item { display: flex; align-items: center; gap: 12px; }
.cs-meta-item i { color: var(--cyan-400); font-size: 1.1rem; }
.cs-meta-item strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.55); }
.cs-meta-item span { color: #fff; font-weight: 600; font-size: .92rem; }

.cs-metrics { display: flex; flex-wrap: wrap; gap: 16px; }
.cs-metric {
    flex: 1; min-width: 140px; background: var(--bg-light); border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); padding: 18px 20px; text-align: center;
}
.cs-metric strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-accent); }
.cs-metric span { font-size: .8rem; color: var(--text-500); }

.cs-quote {
    margin: 32px 0 0; padding: 28px 32px; border-radius: var(--radius-md); border-left: 4px solid var(--color-accent-light);
    background: var(--bg-light);
}
.cs-quote p { font-size: 1.1rem; font-style: italic; color: var(--navy-900); margin-bottom: 10px; }
.cs-quote cite { font-size: .85rem; font-weight: 700; color: var(--text-500); font-style: normal; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---- Portfolio ---- */
.portfolio-flagship {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff;
    border-radius: var(--radius-lg); padding: 52px; margin-bottom: 56px;
}
.portfolio-flagship h3, .portfolio-flagship p { color: #fff; }
.portfolio-flagship .eyebrow { color: var(--cyan-400); }
.tag-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .8rem; font-weight: 600; margin-top: 10px; }

/* ---- Coverage map ---- */
.coverage-map-wrap {
    position: relative; background: var(--navy-900); border-radius: var(--radius-lg); padding: 48px;
    overflow: hidden;
}
.coverage-map-wrap svg { width: 100%; height: auto; display: block; }
.map-dot { fill: rgba(34,211,238,.55); cursor: pointer; }
.map-dot.hub { fill: var(--cyan-400); }
.map-dot.planned { fill: rgba(245,166,35,.8); }
.map-pulse { animation: pulse 2.4s ease-out infinite; transform-origin: center; }
@keyframes pulse { 0% { opacity: .6; transform: scale(1);} 100% { opacity: 0; transform: scale(2.6);} }
.map-legend { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.map-legend-item { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.78); }
.map-legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

.world-map {
    position: relative; width: 100%; aspect-ratio: 2 / 1;
    background: radial-gradient(ellipse at 50% 40%, var(--navy-700), var(--navy-900));
    border-radius: var(--radius-md);
    overflow: hidden;
}
.world-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.world-map::after {
    content: ''; position: absolute; left: 0; right: 0; top: -45%; height: 45%;
    background: linear-gradient(180deg, transparent, rgba(34,211,238,.14), transparent);
    animation: scan-sweep 7s linear infinite; pointer-events: none;
}
@keyframes scan-sweep { 0% { top: -45%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) {
    .world-map::after { animation: none; display: none; }
}
.map-marker {
    position: absolute; transform: translate(-50%, -50%); width: 14px; height: 14px; border: none; padding: 0;
    border-radius: 50%; background: var(--color-accent-light); cursor: pointer;
}
.map-marker.hub { width: 16px; height: 16px; box-shadow: 0 0 0 4px rgba(34,211,238,.25); }
.map-marker.planned { background: var(--amber-400); }
.map-marker::after {
    content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(34,211,238,.5);
    animation: pulse 2.2s ease-out infinite;
}
.map-marker.planned::after { border-color: rgba(245,166,35,.6); }
.map-marker .map-tip {
    position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%);
    background: #fff; color: var(--navy-900); padding: 6px 12px; border-radius: 8px; font-size: .78rem; font-weight: 700;
    white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease; box-shadow: var(--shadow-md);
}
.map-marker:hover .map-tip, .map-marker:focus .map-tip { opacity: 1; }

.city-list { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.city-chip {
    display: flex; align-items: center; gap: 10px; background: var(--bg-light); border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9rem;
}
.city-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-accent); flex: none; }
.city-chip.hub .dot { background: var(--cyan-400); box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
.city-chip.planned .dot { background: var(--amber-400); }
.city-chip strong { display: block; color: var(--navy-900); }
.city-chip span.country { color: var(--text-500); font-size: .8rem; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(120deg, var(--blue-500), var(--navy-700)); color: #fff; padding: 56px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2, .cta-band p { color: #fff; margin: 0; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 6px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.8); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.62); font-size: .92rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .92rem; transition: color .18s ease; }
.footer-col a:hover { color: var(--cyan-400); }
.footer-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 20px; row-gap: 11px; }
.footer-links-grid li { margin-bottom: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.5; }
.footer-contact i { color: var(--cyan-400); margin-top: 3px; }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center; transition: background-color .18s ease;
}
.social-icons a:hover { background: var(--color-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-legal a { color: rgba(255,255,255,.55); }

.mobile-sticky-cta {
    display: none; position: fixed; bottom: 18px; right: 18px; z-index: 900;
    background: var(--color-accent); color: #fff; padding: 14px 20px; border-radius: 999px;
    font-weight: 700; box-shadow: var(--shadow-lg); align-items: center; gap: 8px;
}

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--navy-900); }
input, select, textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--border-light); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: .96rem; color: var(--text-900); background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(17,122,190,.12); }
textarea { resize: vertical; min-height: 140px; }

.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.contact-info-card {
    background: var(--bg-light); border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--border-light);
}
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-item i { color: var(--color-accent); font-size: 1.2rem; margin-top: 2px; }
.contact-info-item h4 { margin: 0 0 4px; font-size: 1rem; }
.contact-info-item p { margin: 0; font-size: .92rem; }
.contact-map { margin-top: 12px; overflow: hidden; border-radius: var(--radius-sm); }
.contact-map iframe { filter: grayscale(.15); }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 600; font-size: .92rem; }
.alert-success { background: var(--color-success-bg); color: var(--color-success); border: 1px solid var(--color-success-border); }
.alert-error { background: var(--color-error-bg); color: var(--color-error); border: 1px solid var(--color-error-border); }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Staggered cascade for repeating grids/strips so items don't all pop in at once */
.grid > .reveal:nth-child(1), .industry-strip > .reveal:nth-child(1), .app-feature.reveal:nth-child(1) { transition-delay: .03s; }
.grid > .reveal:nth-child(2), .industry-strip > .reveal:nth-child(2), .app-feature.reveal:nth-child(2) { transition-delay: .09s; }
.grid > .reveal:nth-child(3), .industry-strip > .reveal:nth-child(3), .app-feature.reveal:nth-child(3) { transition-delay: .15s; }
.grid > .reveal:nth-child(4), .industry-strip > .reveal:nth-child(4), .app-feature.reveal:nth-child(4) { transition-delay: .21s; }
.grid > .reveal:nth-child(5), .industry-strip > .reveal:nth-child(5), .app-feature.reveal:nth-child(5) { transition-delay: .27s; }
.grid > .reveal:nth-child(6), .industry-strip > .reveal:nth-child(6), .app-feature.reveal:nth-child(6) { transition-delay: .33s; }
.grid > .reveal:nth-child(7), .industry-strip > .reveal:nth-child(7), .app-feature.reveal:nth-child(7) { transition-delay: .39s; }
.grid > .reveal:nth-child(8), .industry-strip > .reveal:nth-child(8), .app-feature.reveal:nth-child(8) { transition-delay: .45s; }
.case-study.reveal:nth-child(2) { transition-delay: .08s; }
.case-study.reveal:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { transition-delay: 0s !important; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .industry-strip { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .zigzag, .zigzag.reverse { grid-template-columns: 1fr; }
    .zigzag.reverse .zigzag-media, .zigzag.reverse .zigzag-content { order: initial; }
    .case-study { grid-template-columns: 1fr; }
    .portfolio-flagship { grid-template-columns: 1fr; padding: 36px; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .city-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    section { padding: 64px 0; }
    .main-nav {
        position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 82vw);
        background: #fff; z-index: 999; padding: 100px 28px 28px; transition: right .3s ease; overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }
    .main-nav.is-open { right: 0; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .main-nav a { padding: 14px 16px; font-size: 1.02rem; flex: 1; }
    .main-nav .nav-item-row { align-items: stretch; }
    .dropdown-toggle { padding: 14px 16px; font-size: .85rem; min-width: 44px; min-height: 44px; justify-content: center; }
    .dropdown-menu {
        position: static; display: none; grid-template-columns: 1fr; box-shadow: none; border: none;
        background: var(--bg-light); margin: 2px 0 8px; opacity: 1; transform: none; min-width: 0;
    }
    .dropdown-menu a { padding: 12px 16px; font-size: .95rem; }
    .has-dropdown.is-open .dropdown-menu { display: grid; }
    .nav-toggle { display: flex; }
    .nav-overlay.is-open { display: block; opacity: 1; }
    .header-actions .btn-sm { display: none; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .service-process { grid-template-columns: 1fr; gap: 28px; text-align: left; }
    .service-process::before { display: none; }
    .service-process-step { display: flex; align-items: flex-start; gap: 14px; text-align: left; }
    .service-process-step .step-number { margin: 0; flex: none; }
    .industry-strip { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .city-list { grid-template-columns: 1fr 1fr; }
    .cta-band-inner { flex-direction: column; text-align: center; }
    .mobile-sticky-cta { display: flex; }
    .phone-stack { transform: scale(.82); }
    .case-study, .portfolio-flagship { padding: 26px; }
}
