/* ==========================================================================
   Eye Web Solutions: site stylesheet
   Plain CSS: custom properties, grid and flexbox. No framework, no build step.
    1 Fonts      2 Tokens     3 Base        4 Layout & backgrounds
    5 Buttons    6 Components 7 Forms       8 Header & navigation
    9 Home       10 Inner pages: hero, about, services, contact, legal
   11 Footer    12 Diagrams   13 Motion     14 Responsive
   ========================================================================== */

/* 1. Fonts (self-hosted, latin subset) ----------------------------------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/jakarta-latin.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }

/* 2. Tokens --------------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f6fe;
  --line: #e6e9f5;
  --line-strong: #cdd3ea;
  --ink: #0b1437;
  --navy: #1b2559;
  --body: #4a5578;
  --muted: #6b7491;
  --accent: #2f54eb;
  --accent-ink: #2f54eb;
  --accent-deep: #1e3fd0;
  --accent-soft: #eef2ff;
  --accent-line: #c7d2fe;
  --accent-bright: #ff7a50;
  --coral: #ff6b3d;
  --coral-ink: #c2410c;
  --coral-soft: #fff1ea;
  --violet: #7c3aed;
  --violet-soft: #f3efff;
  --green-soft: #eafaf3;
  --danger: #b91c1c;

  --grad-brand: linear-gradient(120deg, #2f54eb 0%, #4338ca 55%, #7c3aed 100%);
  --grad-warm: linear-gradient(120deg, #ff8a5b 0%, #ff6b3d 100%);
  --grad-text: linear-gradient(100deg, #2f54eb 0%, #7c3aed 55%, #ff6b3d 100%);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(11 20 55 / .04);
  --shadow: 0 2px 4px rgb(11 20 55 / .03), 0 18px 40px -20px rgb(47 84 235 / .22);
  --shadow-lg: 0 2px 4px rgb(11 20 55 / .04), 0 30px 64px -28px rgb(47 84 235 / .35);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --header-h: 84px;
  --section-y: clamp(72px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--body); overflow-x: clip;
  font: 400 1rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.125rem; letter-spacing: -.01em; line-height: 1.3; }
h1, h2 { text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: #dde4ff; color: var(--ink); }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-warm { background: linear-gradient(100deg, #ffb38f, #ff6b3d); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 4. Layout & section backgrounds ------------------------------------------ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section-tight { padding-block: calc(var(--section-y) * .6); }

/* Gradient "mesh" backgrounds with slowly drifting light blobs */
.mesh { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.mesh::before, .mesh::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .9; pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
.mesh::before { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; top: -18%; left: -12%; }
.mesh::after { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; bottom: -22%; right: -10%; animation-delay: -11s; }
.bg-cool { background: linear-gradient(180deg, #f7f8ff 0%, #ffffff 100%); }
.bg-cool::before { background: #e3e8ff; }
.bg-cool::after { background: #efe6ff; }
.bg-warm { background: linear-gradient(180deg, #fffaf7 0%, #fbf8ff 100%); }
.bg-warm::before { background: #ffe5d8; }
.bg-warm::after { background: #e6e9ff; }
.bg-dark { color: #b8c0e0; background: linear-gradient(160deg, #0b1437 0%, #121c4d 55%, #1b1650 100%); }
.bg-dark::before { background: rgb(47 84 235 / .45); }
.bg-dark::after { background: rgb(255 107 61 / .22); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-brand { color: #dbe2ff; background: var(--grad-brand); }
.bg-brand::before { background: rgb(255 255 255 / .16); }
.bg-brand::after { background: rgb(255 107 61 / .35); }
.bg-brand h2, .bg-brand h3 { color: #fff; }

/* faint engineering grid layer (a separate element so it doesn't fight the mesh blobs) */
.grid-layer {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, rgb(47 84 235 / .07) 1px, transparent 1px), linear-gradient(to bottom, rgb(47 84 235 / .07) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 20%, transparent 75%);
}
.bg-dark .grid-layer { background-image: linear-gradient(to right, rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / .05) 1px, transparent 1px); }

.section-head { display: grid; gap: 16px; max-width: 700px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { max-width: 780px; margin-inline: auto; text-align: center; justify-items: center; }
.section-head.split { max-width: none; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 20px 64px; }
.section-head.split .lead { padding-bottom: 6px; }
.section-head .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.7; }
.bg-dark .lead, .bg-brand .lead { color: inherit; }

/* 5. Buttons ---------------------------------------------------------------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  font: 700 .9375rem/1 var(--font-body); white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-position .5s var(--ease), border-color .2s, color .2s, background-color .2s;
}
.btn > svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover > svg { transform: translateX(3px); }
.btn-ico { display: grid; place-items: center; width: 30px; height: 30px; margin-right: -14px; border-radius: 50%; background: #fff; color: var(--accent-ink); transition: transform .3s var(--ease); }
.btn-ico svg { width: 16px; height: 16px; }
.btn:hover .btn-ico { transform: rotate(-45deg); }
.btn-primary { color: #fff; background: var(--grad-brand); background-size: 180% 100%; box-shadow: 0 14px 28px -14px rgb(67 56 202 / .75), inset 0 1px 0 rgb(255 255 255 / .2); }
.btn-primary::after { /* shine sweep */
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .35), transparent); transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn-primary:hover { color: #fff; background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 20px 34px -16px rgb(67 56 202 / .85); }
.btn-primary:hover::after { left: 120%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgb(255 255 255 / .7); border-color: var(--line-strong); color: var(--ink); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 14px 28px -16px rgb(0 0 0 / .5); }
.btn-light:hover { color: var(--accent-ink); transform: translateY(-2px); }
.btn-light .btn-ico { background: var(--grad-brand); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgb(255 255 255 / .4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgb(255 255 255 / .08); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .875rem; }
.btn-sm .btn-ico { width: 26px; height: 26px; margin-right: -10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9375rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 6. Components --------------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.icon-tile { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); border: 1px solid #dde4ff; color: var(--accent-ink); }
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.sm { width: 38px; height: 38px; border-radius: 12px; }
.icon-tile.sm svg { width: 18px; height: 18px; }
.icon-tile.grad { background: var(--grad-brand); border: 0; color: #fff; box-shadow: 0 12px 24px -12px rgb(67 56 202 / .7); }
.icon-tile.warm { background: var(--grad-warm); border: 0; color: #fff; box-shadow: 0 12px 24px -12px rgb(255 107 61 / .7); }
.tone-blue { background: var(--accent-soft); border-color: #dde4ff; color: var(--accent-ink); }
.tone-coral { background: var(--coral-soft); border-color: #ffe0d3; color: var(--coral-ink); }
.tone-violet { background: var(--violet-soft); border-color: #e6ddff; color: #6d28d9; }
.tone-green { background: var(--green-soft); border-color: #cdf1e1; color: #047857; }

.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f54eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--body); font-size: .8125rem; font-weight: 600; line-height: 1.4; }

/* hover lift + gradient border */
.lift { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s; }
.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.glow-border { border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--line), var(--line)) border-box; }
.glow-border:hover { background: linear-gradient(#fff, #fff) padding-box, var(--grad-text) border-box; }

/* direct contact card */
.direct-card {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 14px; padding: 30px;
  border-radius: var(--radius-lg); color: #dbe2ff; background: var(--grad-brand); box-shadow: 0 30px 60px -30px rgb(67 56 202 / .75);
}
.direct-card::after { content: ""; position: absolute; z-index: -1; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .22); box-shadow: 0 0 0 36px rgb(255 255 255 / .05), 0 0 0 72px rgb(255 255 255 / .03); }
.direct-card h3 { color: #fff; font-size: 1.3rem; }
.direct-card.big h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.direct-card .line { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / .1); color: #fff; font-weight: 700; font-size: 1.0625rem; overflow-wrap: anywhere; transition: background-color .2s, transform .2s var(--ease); }
.direct-card .line:hover { background: rgb(255 255 255 / .18); color: #fff; transform: translateX(4px); }
.direct-card .line small { display: block; color: #c7d2fe; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.direct-card .icon-tile { background: rgb(255 255 255 / .16); border-color: rgb(255 255 255 / .22); color: #fff; }
.direct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px;
  padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: #dbe2ff; background: var(--grad-brand); box-shadow: 0 40px 80px -40px rgb(67 56 202 / .8);
}
.cta-band::before { content: ""; position: absolute; z-index: -1; left: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgb(255 107 61 / .45); filter: blur(60px); animation: drift 18s ease-in-out infinite alternate; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); box-shadow: 0 0 0 48px rgb(255 255 255 / .05), 0 0 0 96px rgb(255 255 255 / .03); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin-bottom: 10px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* image slot with graceful fallback (main.js adds .no-img when a file is missing) */
.media > .media-fallback { display: none; }
.media.no-img > .media-img { display: none; }
.media.no-img > .media-fallback { display: block; }
.media-img img { width: 100%; height: 100%; object-fit: cover; }

/* floating info chip + round badge */
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); border-radius: 18px; box-shadow: var(--shadow-lg); color: var(--ink); font-size: .8125rem; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.chip small { display: block; color: var(--muted); font-size: .72rem; font-weight: 500; }
.chip .icon-tile { width: 38px; height: 38px; border-radius: 12px; }
.chip .icon-tile svg { width: 18px; height: 18px; }
.chip .spark { width: 56px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.badge-round {
  position: absolute; z-index: 2; display: grid; place-content: center; text-align: center; width: 108px; height: 108px; border-radius: 50%;
  background: #d24510; color: #fff; box-shadow: 0 0 0 8px rgb(255 255 255 / .8), 0 18px 36px -14px rgb(210 69 16 / .7);
}
.badge-round .num { font: 800 2.1rem/1 var(--font-head); letter-spacing: -.04em; }
.badge-round small { margin-top: 4px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* 7. Forms ----------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { color: var(--ink); font-size: .875rem; font-weight: 600; }
.field .opt { color: var(--muted); font-weight: 400; }
.input { width: 100%; min-height: 50px; padding: 12px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; font-size: .9375rem; line-height: 1.4; color: var(--ink); transition: border-color .15s, box-shadow .15s, background-color .15s; }
.input::placeholder { color: #98a0bd; }
.input:hover { border-color: var(--line-strong); }
.input:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(47 84 235 / .12); }
textarea.input { min-height: 132px; resize: vertical; }
select.input { appearance: none; padding-right: 40px; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7491' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .8125rem; }
.field-error:empty { display: none; }
.field-hint { color: var(--muted); font-size: .8125rem; }
fieldset.field { margin: 0; padding: 0; border: 0; }
fieldset.field legend { margin-bottom: 8px; padding: 0; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--body); font-size: .875rem; font-weight: 500; transition: all .15s; }
.choice span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-strong); background: #fff center / 10px no-repeat; transition: all .15s; }
.choice:hover span { border-color: var(--accent-line); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.choice input:checked + span::before { border-color: var(--accent-ink); background-color: var(--accent-ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
fieldset[aria-invalid="true"] .choice span { border-color: #fca5a5; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.form-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8125rem; }
.form-note svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.form-card { padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.form-card > h3, .form-card > h2 { margin-bottom: 6px; font-size: 1.3rem; }
.form-card > p { margin-bottom: 24px; font-size: .9375rem; }
.form-success { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.form-success[hidden] { display: none; }
.form-success .icon-tile { width: 52px; height: 52px; border-radius: 50%; }
.form-success h3 { font-size: 1.375rem; }

/* 8. Header & navigation ---------------------------------------------------------------- */
.topbar { background: var(--ink); color: #b8c0e0; font-size: .8125rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--accent-bright); }
.topbar ul { display: flex; gap: 24px; }
.topbar a { color: #e6e9f5; font-weight: 600; }
.topbar a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; padding-block: 10px; margin-bottom: calc(-1 * var(--header-h)); }
.nav-shell {
  position: relative; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 10px 0 18px;
  background: rgb(255 255 255 / .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgb(255 255 255 / .9); border-radius: 20px; box-shadow: 0 1px 0 rgb(11 20 55 / .04), 0 12px 32px -18px rgb(47 84 235 / .35);
  transition: box-shadow .25s, background-color .25s;
}
.site-header.is-scrolled .nav-shell { background: rgb(255 255 255 / .95); box-shadow: 0 1px 0 rgb(11 20 55 / .05), 0 18px 40px -18px rgb(47 84 235 / .45); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 36px; height: 36px; transition: transform .4s var(--ease); }
.brand:hover svg { transform: rotate(-8deg) scale(1.05); }
.brand-name { font: 800 1.0625rem/1 var(--font-head); letter-spacing: -.02em; }
.brand-name span { color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; flex: 1; gap: 20px; height: 100%; }
.nav-list { display: flex; align-items: center; gap: 4px; margin-inline: auto; height: 100%; }
.nav-item { position: static; display: flex; align-items: center; height: 100%; }
.nav-link { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 12px; color: var(--navy); font: 600 .9375rem/1 var(--font-body); transition: color .2s, background-color .2s; }
.nav-link:hover { color: var(--accent-ink); background: var(--accent-soft); }
.nav-link[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); }
.mega-toggle { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: -10px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.mega-toggle svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.has-mega.is-open .mega-toggle svg { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.call-btn { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--coral-soft); color: var(--coral-ink); transition: transform .25s var(--ease), background-color .2s, color .2s; }
.call-btn svg { width: 19px; height: 19px; }
.call-btn:hover { background: var(--coral); color: #fff; transform: rotate(-12deg); }
.call-btn.mobile-only { display: none; }

.mega { position: absolute; top: calc(100% + 12px); left: 50%; width: min(980px, calc(100vw - 2 * var(--gutter))); translate: -50% 10px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s var(--ease), translate .2s var(--ease), visibility .2s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; } /* hover bridge */
.has-mega.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; translate: -50% 0; }
@media (hover: hover) and (min-width: 1081px) {
  .has-mega:hover .mega { opacity: 1; visibility: visible; pointer-events: auto; translate: -50% 0; }
  .has-mega:hover .mega-toggle svg { transform: rotate(180deg); }
}
.mega-inner { padding: 12px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-col { padding: 16px 12px 8px; }
.mega-col + .mega-col { border-left: 1px solid var(--line); }
.mega-title { margin: 0 8px 10px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.mega-link { display: flex; gap: 12px; padding: 10px 8px; border-radius: 12px; color: var(--ink); transition: background-color .15s, transform .2s var(--ease); }
.mega-link:hover { background: var(--surface-2); color: var(--ink); transform: translateX(3px); }
.mega-link strong { display: block; font-size: .9063rem; font-weight: 700; line-height: 1.3; }
.mega-link small { display: block; margin-top: 2px; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.mega-link .icon-tile { width: 36px; height: 36px; border-radius: 11px; }
.mega-link .icon-tile svg { width: 18px; height: 18px; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 16px 20px; border-radius: 14px; background: var(--grad-brand); color: #dbe2ff; font-size: .875rem; }
.mega-foot a { color: #fff; font-weight: 700; }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--ink); color: #fff; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* 9. Home -------------------------------------------------------------------------- */
.hero { padding-block: calc(var(--header-h) + clamp(32px, 5vw, 64px)) clamp(72px, 9vw, 112px); background: linear-gradient(180deg, #fff7f3 0%, #f6f7ff 60%, #fff 100%); }
.hero.mesh::before { background: #ffd9c8; }
.hero.mesh::after { background: #d9dfff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(40px, 5vw, 72px); }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .lead { max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hl { position: relative; z-index: 0; white-space: nowrap; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl::after { content: ""; position: absolute; z-index: -1; left: -3%; right: -3%; bottom: -.14em; height: .34em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10C45 3 85 2 112 6s60 6 85-3' fill='none' stroke='%23ff6b3d' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 4px; padding-top: 22px; border-top: 1px solid rgb(11 20 55 / .08); width: 100%; }
.hero-contact li { display: flex; align-items: center; gap: 12px; }
.hero-contact small { display: block; color: var(--muted); font-size: .75rem; font-weight: 600; }
.hero-contact a { color: var(--ink); font-weight: 700; }
.hero-contact a:hover { color: var(--accent-ink); }
.doodle { position: absolute; pointer-events: none; fill: none; stroke: var(--coral); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.doodle-arrow { width: 84px; left: -16%; bottom: 26%; }

.hero-figure { position: relative; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 1; }
.hero-figure::before { content: ""; position: absolute; inset: -3%; border-radius: 50%; border: 1.5px dashed var(--accent-line); animation: spin 80s linear infinite; }
.hero-figure .frame { position: absolute; inset: 4%; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, #e4e9ff, #ffece3); box-shadow: 0 0 0 10px rgb(255 255 255 / .75), 0 40px 80px -36px rgb(47 84 235 / .55); }
.hero-figure.no-img { aspect-ratio: auto; width: 100%; }
.hero-figure.no-img::before, .hero-figure.no-img .chip, .hero-figure.no-img .doodle, .hero-figure.no-img .badge-round { display: none; }
.hero-figure .media-fallback svg { width: 100%; height: auto; overflow: visible; }
.hero-figure .badge-round { top: 2%; right: 0; }
.chip-1 { top: 9%; left: -10%; }
.chip-2 { top: 50%; right: -12%; }
.chip-3 { bottom: 4%; left: 4%; }

/* services ticker */
.marquee { overflow: hidden; padding-block: 20px; color: #fff; background: linear-gradient(90deg, #0b1437, #1b1a5c 50%, #0b1437); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 700 clamp(1rem, 1.6vw, 1.3rem)/1 var(--font-head); letter-spacing: -.01em; white-space: nowrap; }
.marquee li::after { content: "\2726"; color: var(--coral); font-size: .85em; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 26px 26px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.pillar p { font-size: .9375rem; }
.pillar ul { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .875rem; }
.pillar ul a { display: inline-flex; align-items: center; gap: 8px; color: var(--body); }
.pillar ul a::before { content: ""; width: 12px; height: 2px; border-radius: 2px; background: var(--line-strong); transition: width .2s, background-color .2s; }
.pillar ul a:hover { color: var(--ink); }
.pillar ul a:hover::before { width: 18px; background: var(--coral); }
.pillar .link-arrow { margin-top: auto; padding-top: 6px; }
.pillar-num { position: absolute; top: 22px; right: 24px; font: 800 2rem/1 var(--font-head); letter-spacing: -.04em; background: linear-gradient(180deg, var(--line-strong), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* bento (Why us) */
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: minmax(250px, auto); gap: 20px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 24px; background: rgb(255 255 255 / .85); border: 1px solid rgb(255 255 255 / .9); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.tile h3 { font-size: 1.2rem; }
.tile p { font-size: .9375rem; }
.tile-photo { grid-row: span 2; min-height: 520px; padding: 0; background: var(--grad-brand); border: 0; }
.tile-photo > .media-img { position: absolute; inset: 0; }
.tile-photo > .media-fallback { position: absolute; inset: 0; padding: 28px 24px 0; }
.tile-photo .media-fallback svg { width: 100%; height: auto; }
.tile-photo .d-dash { stroke: rgb(255 255 255 / .7); }
.tile-photo .caption { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; padding: 20px 22px; border-radius: 18px; background: rgb(255 255 255 / .94); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.tile-photo .caption strong { display: block; color: var(--ink); font: 800 1.15rem/1.3 var(--font-head); letter-spacing: -.02em; margin-bottom: 4px; }
.tile-photo .caption p { font-size: .875rem; }
.tile-dark { background: linear-gradient(160deg, #0b1437, #1d1b5e); border: 0; color: #b8c0e0; }
.tile-dark h3 { color: #fff; }
.tile .viz { margin-top: auto; padding-top: 8px; }
.code-viz { display: grid; gap: 7px; padding: 16px; border-radius: 14px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .08); }
.code-viz i { display: block; height: 7px; border-radius: 4px; background: #3b4a86; }
.code-viz i:nth-child(1) { width: 46%; background: #ff7a50; }
.code-viz i:nth-child(2) { width: 72%; margin-left: 12%; }
.code-viz i:nth-child(3) { width: 58%; margin-left: 12%; background: #8ea8ff; }
.code-viz i:nth-child(4) { width: 64%; margin-left: 24%; }
.code-viz i:nth-child(5) { width: 30%; background: #ff7a50; }
.chat-viz { display: grid; gap: 8px; }
.chat-viz span { max-width: 86%; padding: 9px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface-2); color: var(--navy); font-size: .8125rem; font-weight: 600; }
.chat-viz span:nth-child(2) { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--grad-brand); color: #fff; }
.status-viz { display: grid; gap: 8px; }
.status-viz span { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-radius: 12px; background: var(--surface-2); color: var(--navy); font-size: .8125rem; font-weight: 700; }
.status-viz span::after { content: "Active"; padding: 2px 10px; border-radius: 999px; background: #d9f7e9; color: #047857; font-size: .72rem; }
.bars-viz { display: flex; align-items: flex-end; gap: 8px; height: 92px; }
.bars-viz i { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #8ea8ff, #2f54eb); transform-origin: bottom; transition: transform .9s var(--ease) .2s; }
.bars-viz i:nth-child(1) { height: 30%; } .bars-viz i:nth-child(2) { height: 42%; } .bars-viz i:nth-child(3) { height: 38%; }
.bars-viz i:nth-child(4) { height: 60%; } .bars-viz i:nth-child(5) { height: 74%; } .bars-viz i:nth-child(6) { height: 100%; background: var(--grad-warm); }

/* journey (How we deliver) */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.journey::before { content: ""; position: absolute; top: 46px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, #2f54eb, #7c3aed, #ff6b3d); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.journey.pending::before { transform: scaleX(0); }
.journey-step { position: relative; display: grid; gap: 14px; align-content: start; padding: 26px 24px 24px; border-radius: 22px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); backdrop-filter: blur(8px); transition: transform .35s var(--ease), background-color .35s, border-color .35s; }
.journey-step:hover { transform: translateY(-6px); background: rgb(255 255 255 / .09); border-color: rgb(142 168 255 / .45); }
.journey-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--grad-brand); color: #fff; box-shadow: 0 0 0 6px #121a48, 0 10px 30px -6px rgb(124 58 237 / .7); }
.journey-step:nth-child(4) .journey-icon { background: var(--grad-warm); }
.journey-icon svg { width: 20px; height: 20px; }
.journey-num { position: absolute; top: 14px; right: 20px; font: 800 3.25rem/1 var(--font-head); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .22); }
.journey-step p { font-size: .9375rem; }
.journey-out { margin-top: 4px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .1); color: #fff; font-size: .8125rem; font-weight: 600; }
.journey-out b { color: #ffb59a; font-weight: 700; }
.journey-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 22px 26px; border-radius: 20px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); color: #dbe2ff; }
.journey-foot strong { color: #fff; }

/* industries */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: 22px; box-shadow: var(--shadow); }
.industry h3 { margin-bottom: 6px; }
.industry p { font-size: .9375rem; }

/* Delhi NCR */
.ncr { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.ncr-copy { display: grid; gap: 20px; justify-items: start; }
.city-list { display: flex; flex-wrap: wrap; gap: 10px; }
.city-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 700; font-size: .9375rem; transition: transform .25s var(--ease), border-color .2s; }
.city-list li:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.city-list svg { width: 16px; height: 16px; color: var(--coral); }
.city-list li.home { background: var(--grad-brand); border-color: transparent; color: #fff; }
.city-list li.home svg { color: #ffb59a; }
.map-card { margin: 0; padding: 18px; border-radius: 26px; background: rgb(255 255 255 / .9); box-shadow: var(--shadow-lg); }
.map-card figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--muted); font-size: .8125rem; }

/* statement band */
.big-words { display: flex; flex-wrap: wrap; gap: 0 .3em; font: 800 clamp(3rem, 10vw, 8rem)/.95 var(--font-head); letter-spacing: -.045em; text-transform: uppercase; }
.big-words .o { color: transparent; -webkit-text-stroke: 2px rgb(255 255 255 / .65); }
.big-words .f { color: #fff; }
.big-words .c { color: #ffb59a; }
.big-band-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgb(255 255 255 / .18); }
.big-band-foot p { max-width: 560px; font-size: 1.0625rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); justify-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: rgb(255 255 255 / .9); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--accent-line); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px 20px 26px; color: var(--ink); font: 700 1.0625rem/1.4 var(--font-head); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font: 500 1.4rem/1 var(--font-body); transition: transform .25s var(--ease), background-color .25s, color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent-deep); color: #fff; }
.faq details p { padding: 0 26px 24px; }

/* contact strip */
.contact-strip { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-strip .section-head { margin-bottom: 28px; }

/* 10. Inner pages ------------------------------------------------------------------------- */
.page-hero { padding-block: calc(var(--header-h) + clamp(40px, 6vw, 80px)) clamp(56px, 7vw, 96px); background: linear-gradient(180deg, #fff7f3 0%, #f4f5ff 100%); }
.page-hero.mesh::before { background: #ffd9c8; }
.page-hero.mesh::after { background: #d9dfff; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.page-hero .copy { display: grid; gap: 20px; justify-items: start; }
.breadcrumb ol { display: inline-flex; flex-wrap: wrap; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgb(255 255 255 / .8); border: 1px solid var(--line); color: var(--muted); font-size: .8125rem; font-weight: 600; }
.breadcrumb a { color: var(--accent-ink); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.hero-points { display: grid; gap: 14px; }
.hero-points li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgb(255 255 255 / .85); box-shadow: var(--shadow); color: var(--ink); font-weight: 600; }
.hero-points a { color: var(--ink); }
.hero-points a:hover { color: var(--accent-ink); }
.hero-points svg { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: var(--grad-brand); color: #fff; }

/* about */
.about-media { position: relative; }
.about-media .media-img { aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #e4e9ff, #ffece3); box-shadow: var(--shadow-lg); }
.about-media .badge-round { width: 92px; height: 92px; top: -18px; right: -14px; }
.about-media .badge-round .num { font-size: 1.75rem; }
.about-media.no-img .badge-round { display: none; }
.details { overflow: hidden; box-shadow: var(--shadow-lg); }
.details-head { display: flex; align-items: center; gap: 14px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.details-head h2 { font-size: 1.15rem; }
.details-head p { color: var(--muted); font-size: .875rem; }
.details-list li { display: flex; align-items: center; gap: 14px; padding: 16px 28px; border-bottom: 1px solid var(--line); }
.details-list li:last-child { border-bottom: 0; }
.details-list small { display: block; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.details-list strong, .details-list a { display: block; margin-top: 2px; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.details-list a:hover { color: var(--accent-ink); }
.overview { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.overview > div:first-child { display: grid; gap: 20px; }
.statement { color: var(--ink); font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.3 var(--font-head); letter-spacing: -.025em; }
.overview-cols { display: grid; gap: 16px; }
.overview-cols article { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 26px; border-radius: 22px; box-shadow: var(--shadow); }
.overview-cols h3 { margin-bottom: 8px; }
.profile-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.expect { display: grid; gap: 8px; }
.expect .section-head { margin-bottom: 8px; }
.expect ol { counter-reset: ex; display: grid; gap: 12px; }
.expect ol li { counter-increment: ex; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 20px; border-radius: 18px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.expect ol li::before { content: counter(ex); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--grad-warm); color: #fff; font-weight: 700; font-size: .875rem; }
.expect ol strong { display: block; margin-bottom: 2px; color: #fff; }
.standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.standard { display: grid; gap: 16px; align-content: start; padding: 28px 24px; border-radius: 22px; box-shadow: var(--shadow); }
.standard .check-list { gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .875rem; }

/* services */
.catalog-index { padding: 8px; border-radius: 24px; background: rgb(255 255 255 / .88); box-shadow: var(--shadow-lg); }
.catalog-index > div { padding: 16px 20px; }
.catalog-index > div + div { border-top: 1px solid var(--line); }
.catalog-index h2 { margin-bottom: 12px; color: var(--muted); font: 700 .8125rem/1 var(--font-body); letter-spacing: 0; }
.catalog-index ul { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.catalog-index a { display: inline-flex; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-size: .8125rem; font-weight: 600; transition: all .2s; }
.catalog-index a:hover { border-color: transparent; background: var(--accent-deep); color: #fff; }
.filter-bar { position: sticky; top: var(--header-h); z-index: 20; padding-block: 6px; margin-bottom: 20px; }
.filter-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 999px; background: rgb(255 255 255 / .92); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; padding: 9px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--body); font-size: .875rem; font-weight: 600; transition: all .2s; }
.filter:hover { color: var(--ink); background: var(--surface-2); }
.filter[aria-pressed="true"] { background: var(--grad-brand); color: #fff; }
.filter-count { padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--muted); font-size: .8125rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-sm); }
.section-catalog { padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.service-list { display: grid; gap: 24px; }
.service { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 28px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 80px); }
.service[hidden] { display: none; }
.service:nth-child(even) .service-visual { order: -1; }
.service-copy { display: grid; gap: 18px; }
.service-copy .link-arrow { justify-self: start; }
.service-head { display: flex; align-items: center; gap: 14px; }
.service-cat { color: var(--muted); font-size: .8125rem; font-weight: 700; }
.service-copy h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.service-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.service-cols h3 { margin-bottom: 12px; color: var(--muted); font: 700 .8125rem/1.3 var(--font-body); }
.service-cols .check-list { gap: 8px; font-size: .9063rem; }
.fit { display: flex; flex-wrap: wrap; gap: 6px; }
.service-visual { position: relative; overflow: hidden; padding: clamp(16px, 2.5vw, 28px); border-radius: 20px; background: linear-gradient(160deg, #f4f6ff, #fff5f0); border: 1px solid var(--line); }
.service-visual svg { position: relative; width: 100%; height: auto; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-side { display: grid; gap: 24px; }
.next-steps { padding: 24px 28px; }
.next-steps h2 { margin-bottom: 14px; font-size: 1.05rem; }
.next-steps ol { display: grid; gap: 8px; padding-left: 20px; list-style: decimal; font-size: .9375rem; }
.next-steps li::marker { color: var(--accent-ink); font-weight: 700; }

/* legal + 404 */
.prose { max-width: 820px; padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.prose h2 { margin: 36px 0 12px; font-size: 1.375rem; }
.prose h2:first-of-type { margin-top: 28px; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--accent); }
.updated { color: var(--muted); font-size: .875rem; }
.not-found { padding-top: calc(var(--header-h) + var(--section-y)); min-height: 64vh; display: grid; place-items: center; text-align: center; }
.not-found .code { font: 800 clamp(5rem, 14vw, 9rem)/1 var(--font-head); letter-spacing: -.05em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 11. Footer --------------------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(56px, 7vw, 88px); color: #98a2c8; font-size: .9375rem; background: linear-gradient(170deg, #0b1437 0%, #10183f 60%, #1a1650 100%); }
.site-footer::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 520px; height: 520px; border-radius: 50%; background: rgb(47 84 235 / .25); filter: blur(90px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name span { color: #98a2c8; }
.footer-about p { margin: 20px 0 24px; max-width: 36ch; }
.footer-contact { display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { flex: none; width: 16px; height: 16px; color: var(--accent-bright); }
.footer-contact a, .footer-contact span { color: #e6e9f5; }
.site-footer h2 { margin-bottom: 18px; color: #fff; font: 700 .9375rem/1 var(--font-head); letter-spacing: 0; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #98a2c8; transition: color .2s, padding .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-areas li { color: #98a2c8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid rgb(255 255 255 / .08); color: #7d87ab; font-size: .8125rem; }
.footer-bottom a { color: #b8c0e0; }

/* 12. Diagram primitives (inline SVG) ------------------------------------------------------------ */
.d-card { fill: #fff; stroke: var(--line); }
.d-card-strong { fill: #fff; stroke: var(--line-strong); }
.d-soft { fill: var(--surface-2); }
.d-soft-line { fill: var(--surface-2); stroke: var(--line); }
.d-mute { fill: var(--line-strong); }
.d-faint { fill: var(--line); }
.d-ink { fill: var(--ink); }
.d-navy { fill: var(--navy); }
.d-acc { fill: var(--accent); }
.d-acc-soft { fill: #dde4ff; }
.d-acc-tint { fill: var(--accent-soft); stroke: var(--accent-line); }
.d-stroke { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.d-stroke-acc { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.d-hair { fill: none; stroke: var(--line); stroke-width: 1; }
.d-dash { fill: none; stroke: #94a3b8; stroke-width: 1.25; stroke-dasharray: 4 5; }
.d-node { fill: #fff; stroke: var(--accent); stroke-width: 1.5; }
.d-arc { fill: none; stroke: var(--line); stroke-width: 8; stroke-linecap: round; }
.d-arc-acc { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; }
.d-tick { fill: none; stroke: var(--accent-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.d-river { fill: none; stroke: #d3e4f0; stroke-width: 7; stroke-linecap: round; }
.d-text { fill: var(--ink); font: 600 11px var(--font-body); letter-spacing: -.01em; }
.d-label { fill: var(--muted); font: 500 9.5px var(--font-body); }
.d-mono { fill: var(--ink); font: 500 10px ui-monospace, Consolas, monospace; }
.d-mono-acc { fill: var(--accent-ink); font: 700 9.5px ui-monospace, Consolas, monospace; }
.d-term { fill: #e2e8f0; font: 500 9.5px ui-monospace, Consolas, monospace; }
.d-term-acc { fill: var(--accent-bright); }
.d-term-dim { fill: #64748b; }
.d-white { fill: #fff; font: 600 10px var(--font-body); }
.d-score { fill: var(--ink); font: 700 24px var(--font-head); letter-spacing: -.03em; }
.d-center { text-anchor: middle; }
.d-icon { color: var(--accent); }
.d-shadow { filter: drop-shadow(0 10px 18px rgb(11 20 55 / .08)) drop-shadow(0 1px 1px rgb(11 20 55 / .04)); }

/* 13. Motion ----------------------------------------------------------------------------------- */
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, 8%) scale(1.08); } 100% { transform: translate(-4%, 4%) scale(.96); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes flow { to { stroke-dashoffset: -18; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }
.flow { animation: flow 1.6s linear infinite; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
.float { animation: float 6s ease-in-out infinite; }
.float.delay { animation-delay: -3s; }

/* Scroll reveal: main.js adds .pending only to elements that start below the fold, so nothing flashes. */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .35s var(--ease), background .35s; }
.reveal.pending { opacity: 0; transform: translateY(28px); }
.reveal-group > .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-group > .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-group > .reveal:nth-child(4) { transition-delay: .24s; }
.reveal-group > .reveal:nth-child(5) { transition-delay: .32s; }
.reveal-group > .reveal:nth-child(6) { transition-delay: .4s; }
.reveal-group > .reveal.shown { transition-delay: 0s; }
.bars-viz.pending i { transform: scaleY(.15); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pending { opacity: 1; transform: none; }
  .journey.pending::before { transform: none; }
  .bars-viz.pending i { transform: none; }
}

/* 14. Responsive --------------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .pillars, .standards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .nav-link { padding-inline: 12px; }
}
@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .topbar { display: none; }
  .nav-shell { height: 56px; padding: 0 8px 0 14px; gap: 10px; }
  .call-btn.mobile-only { display: grid; margin-left: auto; width: 40px; height: 40px; }
  .nav-toggle { display: grid; }
  .site-header.nav-open .nav-shell { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; height: auto; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px var(--gutter) 32px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; height: auto; margin: 0; gap: 0; }
  .nav-item { flex-wrap: wrap; height: auto; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 16px 4px; font-size: 1.0625rem; color: var(--ink); background: none !important; }
  .nav-link[aria-current="page"] { color: var(--accent-ink); }
  .mega-toggle { width: 44px; height: 44px; margin: 0; }
  .mega { position: static; width: 100%; translate: none; display: none; opacity: 1; visibility: visible; pointer-events: auto; transition: none; }
  .mega::before { display: none; }
  .has-mega.is-open .mega { display: block; translate: none; }
  .mega-inner { padding: 0 0 16px; border: 0; box-shadow: none; }
  .mega-cols { grid-template-columns: 1fr; }
  .mega-col { padding: 8px 0; }
  .mega-col + .mega-col { border-left: 0; border-top: 1px solid var(--line); }
  .mega-title { margin-inline: 0; }
  .mega-link { padding: 8px 0; }
  .mega-link small, .mega-foot { display: none; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .call-btn { display: none; }
  .nav-cta .btn { width: 100%; }

  .hero-grid, .page-hero-grid, .ncr, .faq-grid, .contact-strip, .overview, .profile-wrap, .contact-grid { grid-template-columns: 1fr; }
  .hero-figure { width: min(100%, 460px); }
  .chip-1 { left: -4%; } .chip-2 { right: -4%; }
  .doodle-arrow { display: none; }
  .faq-grid .section-head { position: static; }
  .section-head.split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-photo { grid-column: span 2; grid-row: auto; min-height: 460px; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey::before { display: none; }
  .service, .service:nth-child(even) { grid-template-columns: 1fr; }
  .service:nth-child(even) .service-visual { order: 0; }
}
@media (max-width: 680px) {
  .brand-name { font-size: 1rem; }
  .brand svg { width: 32px; height: 32px; }
  .pillars, .standards, .journey, .industries, .bento, .form-row, .service-cols, .footer-grid { grid-template-columns: 1fr; }
  .tile-photo { grid-column: auto; min-height: 400px; }
  .cta-band { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; padding-inline: 22px; }
  .direct-card { padding: 22px; }
  .direct-card .line { padding: 12px; gap: 12px; font-size: .9375rem; }
  .chip { padding: 8px 12px 8px 8px; font-size: .75rem; }
  .chip small { display: none; }
  .chip .icon-tile { width: 30px; height: 30px; }
  .chip-1 { left: 0; } .chip-2 { right: 0; } .chip-3 { left: 6%; }
  .badge-round { width: 84px; height: 84px; }
  .badge-round .num { font-size: 1.6rem; }
  .badge-round small { font-size: .65rem; }
  .filter-count { display: none; }
  .details-list li, .details-head, .next-steps { padding-inline: 20px; }
  .overview-cols article { grid-template-columns: 1fr; }
  .industry { padding: 22px; }
}
@media print {
  .topbar, .site-header, .site-footer, .filter-bar, .hero-figure, .service-visual, .marquee { display: none !important; }
}
