/* ==========================================================================
   Public website styles
   Design tokens follow the reference design: deep navy, electric blue → purple
   gradients, clean white / soft-blue content sections.
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy-950: #050b26;
  --navy-900: #081133;
  --navy-850: #0a1640;
  --navy-800: #0e1c50;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --ink: #0b1533;
  --text: #334155;
  --muted: #5d6b86;
  --line: #e4e9f4;
  --soft: #f4f7fd;
  --white: #ffffff;
  --grad: linear-gradient(90deg, #2f6bff 0%, #6d4cf5 60%, #8b5cf6 100%);
  --grad-text: linear-gradient(90deg, #4f8dff 0%, #8a6cff 55%, #5aa2ff 100%);
  --grad-icon-a: #3b82f6;
  --grad-icon-b: #8b5cf6;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 80, .06), 0 2px 8px rgba(15, 30, 80, .05);
  --shadow: 0 10px 30px rgba(15, 30, 80, .10);
  --shadow-lg: 0 20px 50px rgba(15, 30, 80, .16);
  --container: 1200px;
  --header-h: 68px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--purple-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #7aa7ff; outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-grad { stroke: url(#icon-gradient); }
.icon-grad-light { stroke: url(#icon-gradient-light); }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .78em 1.4em; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn .icon { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(59, 93, 246, .35); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(91, 76, 245, .45); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .02); }
.btn-outline-light:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-sm { font-size: 13px; padding: .6em 1.1em; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-size: 13.5px; font-weight: 600; color: var(--blue-600); white-space: nowrap; }
.link-arrow .icon { width: 15px; height: 15px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(6, 13, 44, .97); border-bottom: 1px solid rgba(120, 150, 255, .12); transition: box-shadow .25s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(6, 13, 44, .88); backdrop-filter: saturate(160%) blur(12px); } }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; flex: none; min-width: 0; }
.brand:hover { color: #fff; }
.brand-logo { height: 38px; width: auto; max-width: 180px; object-fit: contain; }
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.brand-tagline { font-size: 10.5px; color: rgba(255, 255, 255, .62); letter-spacing: .02em; margin-top: 2px; white-space: nowrap; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; color: rgba(255, 255, 255, .86); font-size: 13.5px; font-weight: 500; border-radius: 6px; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-item.is-active > .nav-link { color: #fff; }
.nav-link[aria-current="page"]::after, .nav-item.is-active > .nav-link::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); }
.nav-link .chev { width: 14px; height: 14px; opacity: .8; transition: transform .2s; }
.dropdown { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 250px; padding: 8px; background: #0d1a4c; border: 1px solid rgba(120, 150, 255, .22); border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: rgba(255, 255, 255, .86); font-size: 13.5px; }
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(96, 165, 250, .14); color: #fff; }
.dropdown .icon { width: 18px; height: 18px; color: var(--blue-400); }
.dropdown .dropdown-all { border-top: 1px solid rgba(120, 150, 255, .18); margin-top: 6px; padding-top: 12px; color: var(--blue-300); font-weight: 600; }
@media (hover: hover) and (min-width: 1101px) {
  .nav-item.has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
  .nav-item.has-dropdown:hover > .nav-link .chev { transform: rotate(180deg); }
}
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
.header-cta { flex: none; }
.nav-item.has-dropdown { display: flex; align-items: center; }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 8px 6px 8px 0; margin-left: -8px; border: 0; background: transparent; color: rgba(255, 255, 255, .8); cursor: pointer; border-radius: 6px; }
.sub-toggle:hover { color: #fff; }
.sub-toggle .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-item.is-open > .sub-toggle .chev { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1101px) { .nav-item.has-dropdown:hover > .sub-toggle .chev { transform: rotate(180deg); } .nav-item.has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; } }
.hero-pause .icon-play { display: none; }
.hero-pause.is-paused .icon-play { display: block; }
.hero-pause.is-paused .icon-pause { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-mobile-cta { display: none; }

/* ---------- Generic sections ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-dark { position: relative; overflow: hidden; color: rgba(255, 255, 255, .82); background: radial-gradient(60% 120% at 85% 10%, rgba(59, 130, 246, .28), transparent 60%), radial-gradient(50% 100% at 10% 100%, rgba(124, 58, 237, .25), transparent 60%), linear-gradient(120deg, #050b28 0%, #0a1748 55%, #0d1352 100%); }
.section-dark::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(147, 197, 253, .5) 1px, transparent 1.2px), radial-gradient(rgba(167, 139, 250, .35) 1px, transparent 1.2px); background-size: 120px 120px, 190px 190px; background-position: 0 0, 60px 80px; opacity: .35; pointer-events: none; }
.section-dark > .container { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #5b97ff; }
.section-title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; margin-bottom: 10px; }
.section-text { color: var(--muted); max-width: 560px; font-size: 15px; }
.section-dark .section-text { color: rgba(255, 255, 255, .78); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head .section-text { margin-bottom: 0; }
.section-head .link-arrow { margin-bottom: 4px; }
.split { display: grid; grid-template-columns: minmax(260px, 4fr) 8fr; gap: 48px; align-items: center; }
.split > .split-intro .section-text { margin-bottom: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: radial-gradient(48% 70% at 74% 42%, rgba(37, 99, 235, .42), transparent 70%), radial-gradient(40% 60% at 95% 90%, rgba(124, 58, 237, .30), transparent 70%), radial-gradient(35% 50% at 5% 10%, rgba(59, 130, 246, .18), transparent 70%), linear-gradient(115deg, #040a24 0%, #081538 45%, #0b1a4e 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(191, 219, 254, .75) 1px, transparent 1.3px), radial-gradient(rgba(147, 197, 253, .45) 1px, transparent 1.3px); background-size: 140px 140px, 230px 230px; background-position: 20px 30px, 100px 60px; opacity: .35; pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(to bottom, transparent, rgba(4, 10, 36, .55)); pointer-events: none; }
.hero-slides { position: relative; min-height: 560px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 24px; align-items: center; min-height: 560px; padding-top: 28px; padding-bottom: 56px; }
.hero-copy { position: relative; z-index: 2; max-width: 560px; }
.hero-title { color: #fff; font-size: clamp(34px, 4.3vw, 54px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 22px; }
.hero-title .grad-text { display: block; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 16.5px; line-height: 1.65; color: rgba(255, 255, 255, .86); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-actions .btn { font-size: 14.5px; padding: .9em 1.6em; }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 460px; }
.hero-visual img { width: 100%; max-width: 640px; height: auto; margin-left: auto; margin-right: -20px; filter: drop-shadow(0 0 40px rgba(59, 130, 246, .25)); }
.hero-badge { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 12px; padding: 13px 18px; min-width: 200px; border-radius: 12px; color: #fff; font-size: 13.5px; font-weight: 500; background: linear-gradient(135deg, rgba(30, 64, 175, .42), rgba(15, 23, 72, .55)); border: 1px solid rgba(96, 165, 250, .55); box-shadow: 0 0 0 1px rgba(96, 165, 250, .08) inset, 0 10px 30px rgba(2, 6, 23, .45), 0 0 22px rgba(59, 130, 246, .25); }
@supports (backdrop-filter: blur(6px)) { .hero-badge { backdrop-filter: blur(8px); } }
.hero-badge .icon { width: 28px; height: 28px; color: var(--blue-400); stroke-width: 1.6; }
.hero-badge-0 { left: 0; top: 16%; }
.hero-badge-1 { left: 0; top: 34%; }
.hero-badge-2 { right: -8px; top: 47%; }
.hero-badge-3 { right: -8px; top: 64%; }
.hero-nav { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: rgba(255, 255, 255, .8); cursor: pointer; border-radius: 50%; transition: background .2s, color .2s; }
.hero-nav:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.hero-nav .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 14px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); background: transparent; cursor: pointer; transition: background .2s, width .2s; }
.hero-dot[aria-current="true"] { background: #fff; width: 22px; border-radius: 6px; }
.hero-pause { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: rgba(255, 255, 255, .8); cursor: pointer; }
.hero-pause .icon { width: 13px; height: 13px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.service-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd8f3; color: inherit; }
.icon-bubble { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(145deg, #eef3ff, #f3eeff); margin-bottom: 14px; }
.icon-bubble .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.service-card h3 { font-size: 13.5px; font-weight: 600; margin: 0 0 8px; min-height: 2.4em; display: flex; align-items: center; }
.service-card p { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 16px; }
.industry-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; color: var(--ink); font-size: 12.5px; font-weight: 500; padding: 10px 4px; border-radius: 10px; transition: background .2s, transform .2s; }
.industry-item:hover { background: #fff; color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.industry-item .icon { width: 32px; height: 32px; stroke-width: 1.6; }

/* ---------- Solutions ---------- */
.solutions-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.media-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: inherit; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.media-card-img { aspect-ratio: 16 / 9.4; background: var(--navy-850); overflow: hidden; }
.media-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media-card:hover .media-card-img img { transform: scale(1.04); }
.media-card-body { padding: 14px 14px 16px; }
.media-card h3 { font-size: 13.5px; font-weight: 600; margin: 0 0 6px; }
.media-card p { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------- Why choose us ---------- */
.why { padding: 52px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; }
.why-item { display: flex; flex-direction: column; gap: 10px; color: rgba(255, 255, 255, .92); font-size: 13.5px; line-height: 1.4; font-weight: 500; max-width: 170px; }
.why-item .icon { width: 34px; height: 34px; stroke-width: 1.5; }

/* ---------- Process ---------- */
.process-steps { display: flex; align-items: flex-start; justify-content: space-between; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.process-step { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; min-width: 0; }
.process-step + .process-step::before { content: ""; position: absolute; top: 19px; left: -14px; width: 14px; height: 14px; border-top: 2px solid #a9b9e6; border-right: 2px solid #a9b9e6; transform: translateX(-50%) rotate(45deg) scale(.55); }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-bottom: 12px; box-shadow: 0 0 0 5px rgba(99, 102, 241, .12), 0 8px 20px rgba(59, 93, 246, .3); }
.process-step h3 { font-size: 13.5px; font-weight: 600; margin: 0 0 4px; }
.process-step p { font-size: 11.5px; color: var(--muted); margin: 0; line-height: 1.4; padding: 0 4px; }

/* ---------- Carousels (technologies, projects, testimonials) ---------- */
.carousel { position: relative; display: flex; align-items: center; gap: 10px; }
.carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 6px 2px 14px; flex: 1; min-width: 0; list-style: none; margin: 0; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: none; }
.carousel-btn { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #8090b8; border-radius: 50%; cursor: pointer; transition: background .2s, color .2s; }
.carousel-btn:hover { color: var(--blue-600); background: #eaf0ff; }
.carousel-btn[disabled] { opacity: .3; cursor: default; background: transparent; }
.carousel-btn .icon { width: 22px; height: 22px; }

.tech-track { gap: 0; }
.tech-item { width: 110px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 12px; color: var(--ink); font-weight: 500; position: relative; }
.tech-item + .tech-item::before { content: "›"; position: absolute; left: -4px; top: 9px; color: #a3b3dc; font-size: 20px; line-height: 1; }
.tech-logo { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.tech-logo svg, .tech-logo img { width: 38px; height: 38px; object-fit: contain; }
.tech-wordmark { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: #232f3e; letter-spacing: -.02em; }

.project-track .project-card { width: calc((100% - 32px) / 3); }
.project-card { display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; color: inherit; box-shadow: 0 6px 22px rgba(15, 30, 80, .10); border: 1px solid #e7ecf7; transition: transform .25s, box-shadow .25s; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.project-card .media-card-img { aspect-ratio: 16 / 9.4; }
.project-card-body { padding: 14px 16px 16px; }
.project-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.project-card h3 { font-size: 13.5px; font-weight: 600; margin: 0; }
.tag { display: inline-block; flex: none; font-size: 11px; font-weight: 600; color: var(--blue-600); background: #edf2ff; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.project-card p { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------- Impact ---------- */
.impact { padding: 44px 0; }
.impact-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.impact-item { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.35; }
.impact-item .icon { width: 36px; height: 36px; stroke-width: 1.5; flex: none; }
.impact-value { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 700; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.05fr; gap: 32px; align-items: start; }
.about-block { display: flex; gap: 14px; }
.about-block .icon { width: 40px; height: 40px; stroke-width: 1.5; flex: none; }
.about-block h3 { font-size: 15px; margin: 4px 0 4px; }
.accent-line { display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--grad); margin: 6px 0 10px; }
.about-block p { font-size: 13.5px; color: var(--muted); margin: 0; }
.about-photo { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ / testimonials / contact band ---------- */
.bottom-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1.1fr; gap: 36px; align-items: start; }
.bottom-grid h2 { font-size: 18px; margin-bottom: 10px; }
.bottom-grid .section-text { font-size: 13.5px; }
.testimonial-wrap { display: flex; align-items: center; gap: 6px; }
.testimonial-track .testimonial { width: 100%; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.testimonial blockquote { margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--text); font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: 10px; }
.testimonial-person img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testimonial-name { display: block; font-weight: 600; color: var(--ink); font-size: 13.5px; }
.testimonial-role { display: block; font-size: 12px; color: var(--muted); }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.carousel-dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 0; background: #c6d0ea; cursor: pointer; }
.carousel-dot[aria-current="true"] { background: var(--blue-600); }
.contact-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.contact-list .icon { width: 18px; height: 18px; color: var(--blue-600); margin-top: 2px; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--blue-600); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 12px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.input, .textarea, .select { width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid #d9e1f0; border-radius: 8px; padding: 11px 13px; transition: border-color .2s, box-shadow .2s; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59, 130, 246, .18); }
.textarea { min-height: 110px; resize: vertical; }
.field-error { color: #c0262d; font-size: 12.5px; margin: 0; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #e0525a; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }
.alert-success { background: #ecfdf3; color: #166534; border: 1px solid #b7ebc9; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fbcaca; }
.form-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.compact-form .input, .compact-form .textarea { font-size: 13.5px; padding: 10px 12px; }
.compact-form .textarea { min-height: 84px; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, #060d2c, #050a24); color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; border-bottom: 1px solid rgba(148, 163, 255, .14); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: rgba(255, 255, 255, .82); font-size: 13px; }
.footer-nav a:hover { color: #fff; }
.social { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; color: #fff; border-radius: 8px; transition: background .2s; }
.social a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0 22px; font-size: 12.5px; color: rgba(255, 255, 255, .6); flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 8px; align-items: center; }
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: #fff; }
.footer-about { max-width: 420px; color: rgba(255, 255, 255, .62); font-size: 13px; margin: 10px 0 0; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 60px; background: radial-gradient(45% 120% at 80% 20%, rgba(37, 99, 235, .45), transparent 70%), radial-gradient(35% 100% at 100% 100%, rgba(124, 58, 237, .35), transparent 70%), linear-gradient(115deg, #040a24 0%, #081538 50%, #0b1a4e 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(191, 219, 254, .7) 1px, transparent 1.3px); background-size: 120px 120px; opacity: .3; pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin: 0 0 12px; letter-spacing: -.02em; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 640px; font-size: 16.5px; margin: 0; }
.page-hero-visual { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 420px; opacity: .55; pointer-events: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .4); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd8f3; color: inherit; }
.feature-card h2, .feature-card h3 { font-size: 18px; margin: 4px 0 0; }
.feature-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.feature-card .link-arrow { margin-top: auto; padding-top: 6px; }
.feature-card .icon-bubble { margin-bottom: 4px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.prose { font-size: 16px; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose > :first-child { margin-top: 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list .icon { width: 20px; height: 20px; color: #16a34a; margin-top: 2px; }
.side-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.side-card h2 { font-size: 18px; }
.side-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.side-card ul a { display: flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--ink); font-size: 14.5px; border-bottom: 1px solid var(--line); }
.side-card ul a:hover, .side-card ul a[aria-current="page"] { color: var(--blue-600); }
.side-card .icon { width: 18px; height: 18px; color: var(--blue-500); }
.detail-image { border-radius: 14px; overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow); }
.cta-band { position: relative; overflow: hidden; border-radius: 18px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: radial-gradient(60% 140% at 90% 0%, rgba(124, 58, 237, .55), transparent 60%), linear-gradient(110deg, #0a1748, #1d3fbf); }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .82); }
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 20px; height: 20px; color: var(--blue-600); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .prose { padding: 0 22px 18px; font-size: 15px; }
.project-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 28px; }
.project-meta div { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.project-meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.project-meta dd { margin: 4px 0 0; color: var(--ink); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.gallery img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.tech-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); text-align: center; }
.tech-card strong { color: var(--ink); font-size: 14.5px; }
.tech-card span { font-size: 12.5px; color: var(--muted); }
.values-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.values-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; color: var(--ink); font-weight: 500; }
.values-list .icon { width: 22px; height: 22px; }
.empty-note { padding: 24px; border: 1px dashed #cbd5ea; border-radius: 12px; color: var(--muted); text-align: center; }
.error-page { text-align: center; padding: 100px 0; }
.error-page .code { font-family: var(--font-head); font-size: 88px; font-weight: 700; line-height: 1; margin-bottom: 8px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-link { padding: 10px 8px; font-size: 13px; }
  .header-inner { gap: 16px; }
  .header-cta .btn { padding: .7em 1em; font-size: 13px; }
}

@media (max-width: 1100px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #060d2c; overflow-y: auto; padding: 16px 20px 40px; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid rgba(148, 163, 255, .12); }
  .nav-link { flex: 1; justify-content: space-between; padding: 15px 4px; font-size: 16px; }
  .nav-item.has-dropdown { flex-wrap: wrap; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; padding: 0; }
  .sub-toggle .chev { width: 20px; height: 20px; }
  .dropdown { flex-basis: 100%; }
  body.nav-open { overflow: hidden; }
  .nav-link[aria-current="page"]::after, .nav-item.is-active > .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--blue-300); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 10px 6px; min-width: 0; }
  .nav-item.is-open > .dropdown { display: block; }
  .nav-mobile-cta { display: block; margin-top: 24px; }
  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .solutions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .process-steps { flex-wrap: wrap; row-gap: 26px; }
  .process-step { flex: 0 0 33.33%; }
  .process-step:nth-child(4)::before { display: none; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .bottom-grid { grid-template-columns: 1fr 1fr; }
  .project-track .project-card { width: calc((100% - 16px) / 2); }
  .hero-badge-2, .hero-badge-3 { right: 0; }
  .page-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .section { padding: 52px 0; }
  .hero-slides, .hero-grid { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 70px; gap: 8px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { min-height: 0; max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-visual img { margin: 0 auto; max-width: 440px; }
  .hero-badge { min-width: 0; padding: 9px 12px; font-size: 12px; gap: 8px; }
  .hero-badge .icon { width: 20px; height: 20px; }
  .hero-badge-0 { top: 8%; } .hero-badge-1 { top: 30%; } .hero-badge-2 { top: 54%; } .hero-badge-3 { top: 76%; }
  .hero-nav { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item { max-width: none; flex-direction: row; align-items: center; gap: 12px; }
  .impact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 8px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .page-hero-visual { display: none; }
  .project-meta { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .brand-name { font-size: 18px; }
  .brand-tagline { display: none; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-badge-1, .hero-badge-3 { display: none; }
  .hero-badge-0 { top: 10%; } .hero-badge-2 { top: 70%; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-card h3 { min-height: 0; }
  .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .why-item { flex-direction: column; align-items: flex-start; font-size: 13px; }
  .process-step { flex: 0 0 50%; }
  .process-step:nth-child(odd)::before { display: none; }
  .process-step:nth-child(4)::before { display: block; }
  .project-track .project-card { width: 86%; }
  .impact-list { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .bottom-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-grid.two { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .tech-item { width: 92px; }
  .carousel-btn { width: 30px; height: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

@media print {
  .site-header, .site-footer, .hero-nav, .hero-controls, .carousel-btn { display: none !important; }
  .hero, .section-dark, .page-hero { background: #fff !important; color: #000 !important; }
}

/* Process step colours: blue → purple progression (inline styles are blocked by the CSP). */
.step-c1 { background: linear-gradient(135deg, #1d4ed8, #2f6bff); }
.step-c2 { background: linear-gradient(135deg, #2563eb, #4f7dff); }
.step-c3 { background: linear-gradient(135deg, #3b5bf0, #5b6cf8); }
.step-c4 { background: linear-gradient(135deg, #4f55ee, #6d5ff5); }
.step-c5 { background: linear-gradient(135deg, #6450ec, #8257f3); }
.step-c6 { background: linear-gradient(135deg, #7c3aed, #9a5cf6); }
.m-0 { margin: 0; } .mt-12 { margin-top: 12px; }
.mt-32 { margin-top: 32px; }
.feature-card.has-image { padding: 0; overflow: hidden; }
.feature-card.has-image > :not(.feature-img) { margin-left: 24px; margin-right: 24px; }
.feature-card.has-image > :last-child { margin-bottom: 24px; }
.feature-img { aspect-ratio: 16 / 9; }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.error-page .section-text { margin: 0 auto 24px; }
.contact-page .feature-card:hover { transform: none; }
@media (max-width: 640px) { .two-up { grid-template-columns: 1fr; } }
/* Grid children must be allowed to shrink so carousels never widen the page. */
.split > *, .bottom-grid > *, .about-grid > *, .hero-grid > *, .page-grid > * { min-width: 0; }
.testimonial-wrap { min-width: 0; }
/* backdrop-filter makes the header the containing block for the fixed mobile menu — disable it there. */
@media (max-width: 1100px) {
  .site-header, .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: #060d2c; }
}
.project-card-title { flex-wrap: wrap; }
.project-card-title h3 { flex: 1 1 60%; }
.work .split { grid-template-columns: minmax(240px, 3fr) 9fr; }
.bottom-grid { grid-template-columns: .9fr 1.45fr 1fr 1fr; }
@media (max-width: 1100px) { .work .split { grid-template-columns: 1fr; } .bottom-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bottom-grid { grid-template-columns: 1fr; } }

/* ---- Density & proportion tuning after side-by-side comparison with the reference design ---- */
.section { padding: 52px 0; }
.section-head { margin-bottom: 24px; }
.hero-slides, .hero-grid { min-height: 520px; }
.hero-grid { grid-template-columns: 6fr 5fr; padding-top: 20px; padding-bottom: 50px; }
.hero-title { font-size: clamp(32px, 3.5vw, 46px); }
.hero-title .grad-text { display: inline; }
.hero-copy { max-width: 640px; }
.hero-visual img { max-width: 600px; }
.technologies .split { grid-template-columns: minmax(240px, 3fr) 9fr; }
.tech-item { width: 92px; }
.about .section-title { font-size: clamp(20px, 1.9vw, 24px); }
.why, .impact { padding: 46px 0; }
@media (max-width: 1100px) { .technologies .split { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .hero-slides, .hero-grid { min-height: 0; } .hero-grid { grid-template-columns: 1fr; } }
.prose a, .form-note a, .legal a { text-decoration: underline; text-underline-offset: 2px; }
.carousel-track:focus-visible { outline: 3px solid #7aa7ff; outline-offset: 4px; border-radius: 10px; }
