/* =========================================================
   Netoxit â€” site stylesheet
   Hand-authored. No build step, no framework.
   1. Tokens
   2. Reset & base
   3. Layout helpers
   4. Buttons & badges
   5. Header / navigation
   6. Hero
   7. Sections & cards
   8. Services
   9. Projects
   10. Blog & prose
   11. Testimonials
   12. Contact & forms
   13. Footer
   14. Inner page hero
   15. Motion
   16. Responsive
   ========================================================= */

/* ---------------------------------------------------------
   1. Tokens
--------------------------------------------------------- */
:root {
    --brand: #0478F4;   /* logo azure (sampled from wordmark "xit") */
    --accent: #04E494;  /* logo mint  (sampled from mark + wordmark "neto") */
    --accent-ink: color-mix(in srgb, var(--accent) 55%, #002b1f);
    --accent-deep: color-mix(in srgb, var(--accent) 62%, #02352a);
    --brand-deep: color-mix(in srgb, var(--brand) 22%, #03080f);
    --brand-lite: color-mix(in srgb, var(--brand) 55%, #ffffff);
    --brand-light: color-mix(in srgb, var(--brand) 45%, #ffffff);
    --brand-bright: color-mix(in srgb, var(--brand) 75%, #ffffff);
    --brand-pale: color-mix(in srgb, var(--brand) 38%, #ffffff);
    --accent-lite: color-mix(in srgb, var(--accent) 55%, #ffffff);
    --accent-wash: color-mix(in srgb, var(--accent) 10%, #ffffff);
    --ink: #070d1a;
    --ink-2: #0d1526;
    --navy: #111c33;
    --body: #43506b;
    --muted: #6b7891;
    --line: #e3e8f2;
    --line-soft: #eef2f8;
    --surface: #ffffff;
    --surface-2: #f6f8fc;
    --surface-3: #eef3fb;
    --brand-soft: color-mix(in srgb, var(--brand) 10%, #ffffff);
    --brand-tint: color-mix(in srgb, var(--brand) 18%, #ffffff);
    --accent-soft: color-mix(in srgb, var(--accent) 12%, #ffffff);
    --success: #16a36a;
    --danger: #d93a3a;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --shadow-xs: 0 1px 2px rgba(9, 20, 42, .06);
    --shadow-sm: 0 6px 18px -8px rgba(9, 20, 42, .18);
    --shadow-md: 0 18px 42px -22px rgba(9, 20, 42, .35);
    --shadow-lg: 0 34px 70px -32px rgba(9, 20, 42, .42);
    --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --container: 1200px;
    --header-h: 78px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------
   2. Reset & base
--------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .55em;
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.022em;
}

h1 { font-size: clamp(2.35rem, 4.4vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 2.9vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.42rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: color-mix(in srgb, var(--brand) 78%, #000); }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

strong { color: var(--ink); font-weight: 600; }

::selection { background: color-mix(in srgb, var(--brand) 24%, #fff); color: var(--ink); }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

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

/* ---------------------------------------------------------
   3. Layout helpers
--------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--surface-2); }
.section--ink { background: var(--ink); color: #b9c4da; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
    max-width: none; display: flex; align-items: flex-end; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
}
.section-head p { color: var(--body); font-size: 1.03rem; margin-top: 14px; }
.section-head--center p { margin-inline: auto; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-size: .72rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--accent));
    border-radius: 2px; flex: none;
}
.section--ink .eyebrow { color: var(--brand-lite); }
.section--ink .eyebrow::before { background: linear-gradient(90deg, var(--brand-lite), var(--accent)); }

.lede { font-size: 1.09rem; color: var(--body); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------------------------------------------------------
   4. Buttons & badges
--------------------------------------------------------- */
.btn {
    --btn-bg: var(--brand);
    --btn-fg: #fff;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px;
    font-family: var(--font-head); font-size: .9rem; font-weight: 600; letter-spacing: -.01em;
    color: var(--btn-fg); background: var(--btn-bg);
    border: 1px solid transparent; border-radius: 999px;
    cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 68%, color-mix(in srgb, var(--brand) 40%, #00101f)));
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--brand) 65%, transparent);
}
.btn--primary:hover { box-shadow: 0 20px 40px -14px color-mix(in srgb, var(--brand) 72%, transparent); }

.btn--accent {
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 74%, var(--accent-ink)));
    color: #032a1e;
    box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--accent) 70%, transparent);
}

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.btn--light { background: #fff; color: var(--ink); border-color: rgba(255, 255, 255, .6); }
.btn--light:hover { background: #f2f5fb; color: var(--ink); }

.btn--outline-light { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .4); }

.btn--sm { padding: 10px 18px; font-size: .82rem; }
.btn--lg { padding: 17px 30px; font-size: .96rem; }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--ink);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover svg { transform: translateX(4px); }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 13px; border-radius: 999px;
    font-size: .74rem; font-weight: 600; letter-spacing: .02em;
    background: var(--brand-soft); color: var(--brand);
    border: 1px solid color-mix(in srgb, var(--brand) 16%, #fff);
}
.badge--dark { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #d6e2ff; }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }

.tag {
    display: inline-block; padding: 5px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); color: #eaf0ff;
    font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .16);
}

/* ---------------------------------------------------------
   5. Header / navigation
--------------------------------------------------------- */
.topbar {
    background: var(--ink); color: #93a1bd; font-size: .78rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 20px; }
.topbar a { color: #b7c3d8; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: color-mix(in srgb, var(--brand) 60%, #fff); }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__left a + a { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .1); }
.topbar__note { display: inline-flex; align-items: center; gap: 7px; }
.topbar .socials { display: flex; gap: 12px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
.topbar .socials svg { width: 14px; height: 14px; color: #93a1bd; }
.topbar .socials a:hover svg { color: #fff; }

.site-header {
    position: sticky; top: 0; z-index: 90;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(9, 20, 42, .55); background: rgba(255, 255, 255, .96); }

.header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark {
    width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
    background: linear-gradient(140deg, var(--brand), color-mix(in srgb, var(--brand) 55%, color-mix(in srgb, var(--brand) 25%, #00101f)));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 18px -10px color-mix(in srgb, var(--brand) 70%, transparent);
    color: #fff;
}
.brand__mark svg { width: 21px; height: 21px; }
.brand__name { font-family: var(--font-head); font-size: 1.34rem; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.brand__name span { color: var(--brand); }
.brand__tag { display: block; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 5px; }
.brand__logo { max-height: 42px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; margin: 0; }
.nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 13px; border-radius: 8px;
    font-family: var(--font-head); font-size: .875rem; font-weight: 500; color: #2b3852;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link svg { width: 13px; height: 13px; opacity: .55; transition: transform .2s var(--ease); }
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.nav__link.is-active { color: var(--brand); }
.nav__link.is-active::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 2px;
}
.nav__dropdown {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
    width: 330px; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: all .25s var(--ease);
}
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav__item:hover .nav__link svg { transform: rotate(180deg); }
.nav__dropdown a {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 10px 12px; border-radius: 9px; color: var(--ink);
}
.nav__dropdown a:hover { background: var(--surface-2); }
.nav__dropdown svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.nav__dropdown strong { display: block; font-family: var(--font-head); font-size: .86rem; font-weight: 600; }
.nav__dropdown small { display: block; font-size: .75rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.nav__dropdown-all { border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 10px; }

.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header__phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: .84rem; font-weight: 600; color: var(--ink); }
.header__phone svg { width: 16px; height: 16px; color: var(--brand); }
.header__phone small { display: block; font-size: .64rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.nav-toggle {
    display: none; width: 42px; height: 42px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------
   6. Hero
--------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden;
    background: var(--ink); color: #b8c4da;
    padding: 78px 0 96px;
    isolation: isolate;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(760px 520px at 78% 8%, color-mix(in srgb, var(--brand) 34%, transparent), transparent 70%),
        radial-gradient(620px 480px at 12% 88%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 72%),
        linear-gradient(180deg, #070d1a 0%, #0a1223 60%, #0b1426 100%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 78%);
}
.hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }

.hero__title { color: #fff; font-size: clamp(2.5rem, 4.6vw, 4.05rem); letter-spacing: -.04em; margin-bottom: 22px; }
.hero__title em {
    font-style: normal;
    background: linear-gradient(100deg, var(--accent-wash) 0%, var(--accent-lite) 45%, var(--accent) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: 1.06rem; line-height: 1.75; color: #a9b7cf; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 34px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); list-style: none; margin: 0; }
.hero__points li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .84rem; color: #93a2bd; }
.hero__points svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* Hero console */
.console {
    position: relative;
    background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 24%, #060c17), color-mix(in srgb, var(--brand) 12%, #04080f));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-xl);
    padding: 18px;
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
}
.console__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 6px 14px; }
.console__title { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: .78rem; font-weight: 600; color: #dbe6ff; letter-spacing: .01em; }
.console__title .live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); animation: pulse 2.4s infinite; }
.console__meta { font-size: .68rem; color: #7e8dab; letter-spacing: .08em; text-transform: uppercase; }

.console__feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feed {
    position: relative; aspect-ratio: 4 / 2.9; border-radius: 13px; overflow: hidden;
    background: var(--deep-2); border: 1px solid rgba(255, 255, 255, .08);
}
.feed img { width: 100%; height: 100%; object-fit: cover; opacity: .82; filter: saturate(.75) contrast(1.03); transition: transform .6s var(--ease); }
.feed:hover img { transform: scale(1.06); }
.feed::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6, 12, 24, .1) 0%, rgba(6, 12, 24, .05) 45%, rgba(6, 12, 24, .82) 100%);
}
.feed__label {
    position: absolute; left: 10px; top: 10px; z-index: 2;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: #e9f0ff; background: rgba(6, 12, 24, .55); border: 1px solid rgba(255, 255, 255, .14);
    padding: 4px 8px; border-radius: 5px; backdrop-filter: blur(6px);
}
.feed__label i { width: 5px; height: 5px; border-radius: 50%; background: #ff5d5d; animation: pulse 1.8s infinite; }
.feed__foot { position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 2; display: flex; align-items: center; justify-content: space-between; font-size: .62rem; color: #cdd9ef; }
.feed__foot span { display: inline-flex; align-items: center; gap: 5px; }
.feed__foot svg { width: 11px; height: 11px; }

.console__health {
    margin-top: 12px; padding: 13px 14px; border-radius: 13px;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
}
.console__health-head { display: flex; align-items: center; justify-content: space-between; font-size: .68rem; color: #93a3c0; margin-bottom: 10px; letter-spacing: .04em; }
.console__health-head strong { color: #eaf1ff; font-family: var(--font-head); font-size: .76rem; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 38px; }
.bars i {
    flex: 1; border-radius: 3px 3px 1px 1px; display: block;
    background: linear-gradient(180deg, var(--brand-bright), var(--brand));
    opacity: .85; transform-origin: bottom;
    animation: barIn .9s var(--ease) both;
}
.bars i:nth-child(4n) { background: linear-gradient(180deg, var(--accent-lite), var(--accent-deep)); }
.bars i:nth-child(7n) { background: linear-gradient(180deg, var(--accent-lite), var(--accent)); }

.console__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.console__stat { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); border-radius: 11px; padding: 10px 12px; }
.console__stat b { display: block; font-family: var(--font-head); font-size: 1rem; color: #fff; letter-spacing: -.02em; }
.console__stat span { font-size: .6rem; letter-spacing: .07em; text-transform: uppercase; color: #7f8eab; }

.console__float { position: absolute; left: -34px; bottom: -46px; z-index: 3;
    display: flex; align-items: center; gap: 11px;
    background: #fff; border-radius: 14px; padding: 12px 16px;
    box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .6);
    animation: floaty 7s ease-in-out infinite;
}
.console__float .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.console__float .ico svg { width: 17px; height: 17px; }
.console__float b { display: block; font-family: var(--font-head); font-size: .82rem; color: var(--ink); line-height: 1.2; }
.console__float span { font-size: .68rem; color: var(--muted); }

/* ---------------------------------------------------------
   7. Sections & cards
--------------------------------------------------------- */
.trust { padding: 34px 0; background: #fff; border-bottom: 1px solid var(--line-soft); }
.trust__inner { display: flex; align-items: center; gap: 38px; flex-wrap: wrap; justify-content: space-between; }
.trust__label { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 600; max-width: 190px; line-height: 1.6; }
.trust__logos { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.trust__logo {
    font-family: var(--font-head); font-size: .98rem; font-weight: 600; letter-spacing: -.03em;
    color: #6f7c93; display: inline-flex; align-items: center; gap: 8px;
    filter: grayscale(1); opacity: 1; transition: all .25s var(--ease);
}
.trust__logo svg { width: 18px; height: 18px; }
.trust__logo:hover { opacity: 1; filter: none; color: var(--ink); }

.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 30px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); }
.card--soft { background: var(--surface-2); border-color: var(--line-soft); }
.card__icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--brand-soft); color: var(--brand); margin-bottom: 22px;
    border: 1px solid color-mix(in srgb, var(--brand) 14%, #fff);
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .94rem; color: var(--body); margin-bottom: 16px; }
.card__list { list-style: none; padding: 0; margin: 0 0 22px; }
.card__list li { position: relative; padding-left: 22px; font-size: .87rem; color: var(--muted); margin-bottom: 7px; }
.card__list li::before {
    content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px;
    border-radius: 3px; background: color-mix(in srgb, var(--brand) 22%, #fff);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--brand) 60%, #fff);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--wide-left { grid-template-columns: 1.05fr .95fr; }

.media-stack { position: relative; }
.media-stack__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5 / 4.6; }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__sub {
    position: absolute; right: -22px; bottom: -30px; width: 44%;
    border-radius: var(--radius); overflow: hidden; border: 6px solid #fff;
    box-shadow: var(--shadow-md); aspect-ratio: 4 / 3;
}
.media-stack__sub img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__badge {
    position: absolute; left: -24px; top: 26px;
    background: var(--ink); color: #fff; border-radius: var(--radius);
    padding: 18px 20px; text-align: center; box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, .12);
}
.media-stack__badge b { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; letter-spacing: -.04em; }
.media-stack__badge span { display: block; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: #9fadc6; margin-top: 6px; max-width: 92px; line-height: 1.5; }

.checklist { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: .95rem; color: #33415c; }
.checklist .tick {
    width: 22px; height: 22px; border-radius: 7px; flex: none; display: grid; place-items: center;
    background: color-mix(in srgb, var(--success) 12%, #fff); color: var(--success); margin-top: 1px;
}
.checklist .tick svg { width: 13px; height: 13px; }

.stats-band { background: var(--ink); color: #a9b7cf; padding: 54px 0; position: relative; overflow: hidden; }
.stats-band::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 20% 0%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 70%);
}
.stats-band__inner { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 10px 14px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3.2vw, 2.9rem); color: #fff; letter-spacing: -.04em; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #8b9ab6; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process__item { position: relative; padding: 30px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.process__item::after {
    content: ""; position: absolute; top: 48px; right: -22px; width: 22px;
    border-top: 1px dashed color-mix(in srgb, var(--brand) 40%, #fff);
}
.process__item:last-child::after { display: none; }
.process__num {
    font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .1em;
    color: var(--brand); background: var(--brand-soft); display: inline-flex;
    padding: 5px 10px; border-radius: 6px; margin-bottom: 18px;
}
.process__item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.process__item p { font-size: .88rem; color: var(--muted); margin: 0; }

.value-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value-card__num {
    font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: -.04em; margin-bottom: 12px;
    background: linear-gradient(120deg, var(--brand) 15%, var(--accent-deep) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 96%, #001) 0%, color-mix(in srgb, var(--brand) 68%, color-mix(in srgb, var(--accent) 12%, #001a33)) 55%, color-mix(in srgb, var(--brand) 26%, #030b16) 100%); color: #c9d6f2; }
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(500px 300px at 88% 12%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: auto, 90px 90px;
    opacity: .9;
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 44px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { color: #c6d4f0; max-width: 560px; margin: 14px 0 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------
   8. Services
--------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
    position: relative; display: flex; flex-direction: column; gap: 0;
    padding: 34px; border-radius: var(--radius-lg); background: #fff;
    border: 1px solid var(--line); overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card::after {
    content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transition: width .4s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 20%, var(--line)); }
.service-card:hover::after { width: 100%; }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.service-card .card__icon { margin-bottom: 0; }
.service-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.service-card p { font-size: .93rem; margin-bottom: 18px; }
.service-card__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .68rem; color: var(--muted); background: var(--surface-2); border-radius: 5px; padding: 3px 8px; }

.service-detail__hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.service-detail__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3.2; }
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; list-style: none; padding: 0; margin: 24px 0 0; }
.detail-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 0; color: #33415c; }
.detail-list svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 3px; }

.sidebar-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.sidebar-card + .sidebar-card { margin-top: 24px; }
.sidebar-card h4 { font-size: 1rem; margin-bottom: 14px; }
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { margin: 0; border-bottom: 1px solid var(--line); }
.sidebar-nav li:last-child { border-bottom: 0; }
.sidebar-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; font-size: .9rem; font-weight: 500; color: var(--ink); }
.sidebar-nav a:hover, .sidebar-nav a.is-active { color: var(--brand); }
.sidebar-nav svg { width: 14px; height: 14px; opacity: .5; }
.sidebar-card--ink { background: var(--ink); border-color: var(--ink); color: #a9b7cf; }
.sidebar-card--ink h4 { color: #fff; }
.sidebar-card--ink p { font-size: .88rem; color: #9fadc6; }

/* ---------------------------------------------------------
   9. Projects
--------------------------------------------------------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card {
    position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--ink); aspect-ratio: 4 / 4.4; color: #fff;
    box-shadow: var(--shadow-sm);
}
.project-card:nth-child(1), .project-card:nth-child(4) { grid-column: span 1; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: transform .7s var(--ease), opacity .4s; }
.project-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7, 13, 26, .1) 0%, rgba(7, 13, 26, .35) 45%, rgba(7, 13, 26, .95) 100%);
}
.project-card:hover img { transform: scale(1.05); opacity: .72; }
.project-card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 26px; }
.project-card__tag { display: inline-flex; margin-bottom: 12px; }
.project-card h3 { color: #fff; font-size: 1.14rem; margin-bottom: 6px; line-height: 1.3; }
.project-card p { color: #b9c6de; font-size: .84rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-card__arrow {
    position: absolute; top: 20px; right: 20px; z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
    backdrop-filter: blur(8px); transition: all .3s var(--ease);
}
.project-card__arrow svg { width: 16px; height: 16px; }
.project-card:hover .project-card__arrow { background: #fff; color: var(--ink); transform: rotate(-45deg); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters a {
    padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line);
    font-size: .82rem; font-weight: 500; color: var(--body); background: #fff;
    font-family: var(--font-head);
}
.filters a:hover { border-color: var(--brand); color: var(--brand); }
.filters a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.project-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; padding: 22px; background: var(--surface-2); border-radius: var(--radius); border: 1px solid var(--line-soft); }
.project-meta span { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.project-meta b { font-family: var(--font-head); font-size: .92rem; color: var(--ink); font-weight: 600; }

.highlight-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 0; }
.highlight { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.highlight b { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); line-height: 1.4; letter-spacing: -.015em; }

/* ---------------------------------------------------------
   10. Blog & prose
--------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); overflow: hidden; color: inherit;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); color: inherit; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); position: relative; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__cat {
    position: absolute; left: 14px; top: 14px; z-index: 2;
    background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .66rem;
    font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
    padding: 5px 10px; border-radius: 5px;
}
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: .72rem; color: var(--muted); margin-bottom: 10px; }
.post-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.post-card h3 { font-size: 1.07rem; line-height: 1.4; margin-bottom: 10px; }
.post-card p { font-size: .87rem; color: var(--muted); margin-bottom: 18px; }
.post-card .link-arrow { margin-top: auto; }

.post-featured { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; margin-bottom: 40px; }
.post-featured__media { min-height: 340px; }
.post-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.post-featured__body { padding: 42px; display: flex; flex-direction: column; justify-content: center; }

.prose { font-size: 1.02rem; color: #3b4a67; line-height: 1.85; }
.prose h2 { font-size: 1.55rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.18rem; margin: 1.7em 0 .5em; }
.prose p { margin-bottom: 1.25em; }
.prose ul, .prose ol { margin-bottom: 1.4em; }
.prose li { margin-bottom: .55em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
    margin: 1.8em 0; padding: 20px 26px; border-left: 3px solid var(--brand);
    background: var(--brand-soft); border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1.03rem; color: var(--ink);
}
.prose img { border-radius: var(--radius); margin: 1.6em 0; }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------------------------------------------------------
   11. Testimonials
--------------------------------------------------------- */
.testimonial-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 1fr);
    gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 6px 4px 22px; margin: 0 -4px;
    scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.testimonial-track::-webkit-scrollbar { height: 6px; }
.testimonial-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.testimonial {
    scroll-snap-align: start; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column;
}
.testimonial__stars { display: flex; gap: 3px; color: #f5a623; margin-bottom: 16px; }
.testimonial__stars svg { width: 15px; height: 15px; }
.testimonial blockquote { margin: 0 0 24px; font-size: .96rem; line-height: 1.75; color: #33415c; }
.testimonial__person { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.avatar {
    width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none;
    display: grid; place-items: center; background: var(--brand-soft); color: var(--brand);
    font-family: var(--font-head); font-weight: 700; font-size: .9rem;
    border: 1px solid color-mix(in srgb, var(--brand) 16%, #fff);
}
.testimonial__person b { display: block; font-family: var(--font-head); font-size: .88rem; color: var(--ink); line-height: 1.3; }
.testimonial__person span { font-size: .76rem; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card__media { aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); margin-bottom: 18px; position: relative; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s var(--ease), transform .6s var(--ease); }
.team-card:hover .team-card__media img { filter: grayscale(0); transform: scale(1.03); }
.team-card h3 { font-size: 1.02rem; margin-bottom: 3px; }
.team-card__role { font-size: .78rem; color: var(--brand); font-weight: 500; margin-bottom: 10px; }
.team-card p { font-size: .82rem; color: var(--muted); line-height: 1.65; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: var(--shadow-sm); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 20px 24px; cursor: pointer; list-style: none;
    font-family: var(--font-head); font-size: .98rem; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--ink); transition: all .25s var(--ease); }
.faq-item summary .plus svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.faq-item[open] summary .plus { background: var(--brand); color: #fff; }
.faq-item[open] summary .plus svg { transform: rotate(45deg); }
.faq-item__body { padding: 0 24px 22px; font-size: .93rem; color: var(--body); max-width: 720px; }

/* ---------------------------------------------------------
   12. Contact & forms
--------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: .79rem; font-weight: 600; color: var(--ink); letter-spacing: -.005em; }
.field label .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: .92rem; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa6bb; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 13%, transparent);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .74rem; color: var(--muted); }
.field .error { font-size: .75rem; color: var(--danger); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.form-note { font-size: .76rem; color: var(--muted); margin-top: 14px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); margin: 6px 0 20px; }
.form-consent input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--brand); }

.alert { padding: 15px 18px; border-radius: var(--radius); font-size: .88rem; margin-bottom: 24px; display: flex; gap: 10px; align-items: flex-start; }
.alert svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.alert--success { background: #e9f9f1; color: #10724a; border: 1px solid #c6efdc; }
.alert--error { background: #fdeeee; color: #a72a2a; border: 1px solid #f8d4d4; }

.info-list { display: grid; gap: 14px; margin: 0 0 30px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.info-item .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.info-item .ico svg { width: 18px; height: 18px; }
.info-item > span > span { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-item b, .info-item a { font-family: var(--font-head); font-size: .93rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
.info-item a:hover { color: var(--brand); }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--surface-2); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; display: block; filter: grayscale(.25); }

/* ---------------------------------------------------------
   13. Footer
--------------------------------------------------------- */
.site-footer { background: var(--ink); color: #93a1bd; padding: 72px 0 0; position: relative; overflow: hidden; }
.site-footer::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(700px 340px at 10% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%);
    pointer-events: none;
}
.footer__top { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 52px; }
.footer__brand .brand { color: #fff; margin-bottom: 18px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: #7f8eab; }
.footer__brand p { font-size: .87rem; line-height: 1.75; color: #8c9ab6; max-width: 300px; margin-bottom: 22px; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
    width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); color: #a9b6cf;
    transition: all .25s var(--ease);
}
.footer__socials svg { width: 16px; height: 16px; }
.footer__socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }

.footer__col h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 600; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__links li { margin: 0; }
.footer__links a { color: #93a1bd; font-size: .87rem; }
.footer__links a:hover { color: #fff; padding-left: 3px; }

.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 11px; margin: 0; font-size: .86rem; color: #93a1bd; }
.footer__contact svg { width: 15px; height: 15px; color: color-mix(in srgb, var(--brand) 55%, #fff); flex: none; margin-top: 4px; }
.footer__contact a { color: #c3cee2; }
.footer__contact a:hover { color: #fff; }

.newsletter { margin-top: 6px; }
.newsletter p { font-size: .82rem; color: #8c9ab6; margin-bottom: 12px; }
.newsletter__form { display: flex; gap: 8px; }
.newsletter__form input {
    flex: 1; min-width: 0; padding: 11px 14px; border-radius: 9px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
    color: #fff; font-size: .84rem; font-family: var(--font-body);
}
.newsletter__form input::placeholder { color: #7d8aa5; }
.newsletter__form input:focus { outline: none; border-color: color-mix(in srgb, var(--brand) 60%, #fff); }
.newsletter__form button { width: 44px; flex: none; border-radius: 9px; border: 0; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; }
.newsletter__form button:hover { background: color-mix(in srgb, var(--brand) 85%, #000); }
.newsletter__form svg { width: 17px; height: 17px; }

.footer__bottom {
    position: relative; border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: .79rem; color: #7f8eab;
}
.footer__bottom-links { display: flex; gap: 22px; }
.footer__bottom a { color: #8c9ab6; }
.footer__bottom a:hover { color: #fff; }

.back-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 80;
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--ink); color: #fff; display: grid; place-items: center;
    box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .3s var(--ease);
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--brand); }
.back-top svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------
   14. Inner page hero
--------------------------------------------------------- */
.page-hero {
    position: relative; overflow: hidden; background: var(--ink); color: #a9b7cf;
    padding: 74px 0 78px;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(700px 400px at 82% 0%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%),
        radial-gradient(500px 300px at 5% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; opacity: .4;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, #000 10%, transparent 75%);
}
.page-hero__inner { position: relative; max-width: 780px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3.2rem); margin-bottom: 16px; }
.page-hero p { color: #a9b7cf; font-size: 1.02rem; max-width: 640px; margin: 0; }
.page-hero--center .page-hero__inner { margin-inline: auto; text-align: center; }
.page-hero--center p { margin-inline: auto; }

.article-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; font-size: .78rem; color: #93a3c0; }
.article-head .chip-light { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #dbe6ff; padding: 5px 12px; border-radius: 99px; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }

.pagination-wrap { margin-top: 48px; display: flex; justify-content: center; }
.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
    padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); font-size: .83rem;
    color: var(--body); background: #fff; font-family: var(--font-head);
}
.pagination .is-active span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .disabled span { color: #b8c1d1; background: var(--surface-2); }

.empty-state { text-align: center; padding: 70px 24px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty-state svg { width: 34px; height: 34px; margin: 0 auto 14px; color: #b8c1d1; }

/* ---------------------------------------------------------
   15. Motion
--------------------------------------------------------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes barIn { from { transform: scaleY(.15); opacity: 0; } to { transform: scaleY(1); opacity: .85; } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------
   16. Responsive
--------------------------------------------------------- */
@media (max-width: 1100px) {
    .header__phone { display: none; }
    .hero__grid { grid-template-columns: 1fr; gap: 60px; }
    .console { max-width: 620px; }
    .console__float { left: 12px; }
    .split, .split--wide-left, .service-detail__hero { grid-template-columns: 1fr; gap: 44px; }
    .media-stack { max-width: 560px; }
    .post-layout { grid-template-columns: 1fr; }
    .post-aside { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer__col--news { grid-column: 1 / -1; max-width: 420px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .section { padding: 74px 0; }
    .nav {
        position: fixed; inset: calc(var(--header-h) + 42px) 0 auto 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 12px 20px 22px; max-height: calc(100vh - 120px); overflow-y: auto;
        transform: translateY(-12px); opacity: 0; visibility: hidden;
        transition: all .25s var(--ease); box-shadow: var(--shadow-md); margin-left: 0;
    }
    .nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav__link { padding: 12px 8px; font-size: .95rem; justify-content: space-between; }
    .nav__link.is-active::after { display: none; }
    .nav__dropdown {
        position: static; transform: none; width: auto; box-shadow: none; border: 0;
        padding: 0 0 0 12px; display: none; opacity: 1; visibility: visible;
    }
    .nav__item.is-expanded .nav__dropdown { display: block; }
    .nav__item:hover .nav__dropdown { display: none; }
    .nav__item.is-expanded:hover .nav__dropdown { display: block; }
    .nav-toggle { display: flex; }
    .header__actions .btn { display: none; }
    .topbar__right .topbar__note { display: none; }
    .trust__inner { gap: 20px; }
    .trust__logos { gap: 22px; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .process__item::after { display: none; }
    .stats-band__inner { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
    .stat:nth-child(3) { border-left: 0; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .post-featured { grid-template-columns: 1fr; }
    .post-featured__media { min-height: 260px; }
    .post-featured__body { padding: 30px; }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 640px) {
    .container { padding-inline: 18px; }
    .section { padding: 60px 0; }
    body { font-size: 15px; }
    .topbar__inner { min-height: 38px; }
    .topbar__right, .topbar__left a:nth-child(2) { display: none; }
    .topbar__left a + a { border: 0; padding-left: 0; }
    .hero { padding: 52px 0 66px; }
    .hero__sub { font-size: .98rem; }
    .hero__actions .btn { width: 100%; }
    .hero__points { gap: 10px 18px; }
    .console { padding: 12px; border-radius: var(--radius-lg); }
    .console__feeds { gap: 7px; }
    .console__stats { grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
    .console__stat { padding: 8px; }
    .console__stat b { font-size: .85rem; }
    .console__float { position: static; margin-top: 10px; animation: none; width: 100%; }
    .section-head { margin-bottom: 34px; }
    .grid-2, .grid-3, .grid-4, .service-grid, .project-grid, .post-grid, .team-grid, .form-grid { grid-template-columns: 1fr; }
    .detail-list { grid-template-columns: 1fr; }
    .project-card { aspect-ratio: 4 / 3.9; }
    .filters { gap: 6px; }
    .filters a { padding: 8px 13px; font-size: .78rem; }
    .project-meta { grid-template-columns: 1fr; gap: 14px; }
    .highlight-row { grid-template-columns: 1fr; }
    .cta-band__actions .btn { width: 100%; }
    .form-card { padding: 24px; }
    .media-stack__sub { display: none; }
    .media-stack__badge { left: 0; top: 0; border-radius: var(--radius) 0 var(--radius) 0; padding: 14px 16px; }
    .media-stack__badge b { font-size: 1.5rem; }
    .process { grid-template-columns: 1fr; }
    .stats-band__inner { grid-template-columns: 1fr 1fr; }
    .stat { padding: 6px; }
    .stat b { font-size: 1.7rem; }
    .stat span { font-size: .65rem; letter-spacing: .06em; }
    .footer__top { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .back-top { right: 16px; bottom: 16px; }
    .article-head { gap: 10px; }
    .post-featured__body { padding: 24px; }
    .testimonial-track { grid-auto-columns: minmax(280px, 88%); }
}

.btn-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; display: inline-block; vertical-align: -2px; margin-right: 6px; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- detail layout & misc additions --- */
.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 56px;
    align-items: start;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1024px) {
    .service-detail-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* --- refinements --- */
@media (max-width: 900px) {
    .header__inner { gap: 14px; }
    .brand { flex: 1 1 auto; min-width: 0; }
    .brand__name { font-size: 1.2rem; }
    .brand__tag { display: none; }
    .header__actions { margin-left: auto; }
    .nav-toggle { flex: none; }
}

/* --- layout fixes --- */
.section-head--split > div:first-child { max-width: 660px; }
.section-head--split > .btn { flex: none; }
.console__float { left: -34px; bottom: -46px; }
.hero__visual { padding-bottom: 46px; }
@media (max-width: 1100px) { .console__float { left: 12px; bottom: -40px; } }
@media (max-width: 640px) { .console__float { position: static; margin-top: 10px; } .hero__visual { padding-bottom: 0; } }

/* --- typography & card refinements --- */
.hero__title { font-size: clamp(2.45rem, 4vw, 3.55rem); }
.project-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- fixes --- */
.sidebar-card--ink a svg { width: 16px; height: 16px; flex: none; }
.info-item > span > span {
    display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 4px;
}
.info-item > span { text-transform: none; }
.info-item b, .info-item a { text-transform: none; }

/* --- overflow fixes --- */
.msg-item__meta { max-width: 190px; overflow: hidden; }
.msg-item__meta span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-card--ink a { white-space: nowrap; }

/* --- CTA contrast & project copy --- */
.cta-band .eyebrow { color: rgba(255, 255, 255, .78); }
.cta-band .eyebrow::before { background: linear-gradient(90deg, #fff, var(--accent)); }
.cta-band p { color: #dbe5f8; }
.project-card p { -webkit-line-clamp: 3; }
.faq-item summary .plus svg { width: 15px; height: 15px; }

.footer__socials svg { width: 17px; height: 17px; color: #c6d2e6; }
.footer__socials a { color: #c6d2e6; }

/* ---------------------------------------------------------
   17. Visual refresh — richer surfaces, clearer rhythm,
       warmer accents. Appended as one layer so the base
       tokens above stay intact.
--------------------------------------------------------- */
:root {
    --brand-2: color-mix(in srgb, var(--brand) 85%, #001a33);
    --brand-deep: color-mix(in srgb, var(--brand) 20%, #040a14);
    --deep-1: color-mix(in srgb, var(--brand) 9%, #04070e);
    --deep-2: color-mix(in srgb, var(--brand) 13%, #050910);
    --deep-3: color-mix(in srgb, var(--brand) 17%, #060c18);
    --gold: #f5a623;
    --radius-2xl: 32px;
    --shadow-xl: 0 46px 100px -46px rgba(7, 16, 38, .62);
    --hair: rgba(15, 32, 64, .07);
}

h1, h2, h3 { text-wrap: balance; }
h2 { letter-spacing: -.03em; }
p { text-wrap: pretty; }

/* Reading progress */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0); transform-origin: 0 50%;
    transition: transform .12s linear;
    pointer-events: none;
}

/* Reveal is progressive enhancement: content is visible without JS */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Header hairline + nav underline */
.site-header { position: sticky; }
.site-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 45%, transparent), transparent);
    opacity: 0; transition: opacity .3s var(--ease);
}
.site-header.is-scrolled::after { opacity: 1; }
.nav__link.is-active::after { background: linear-gradient(90deg, var(--brand), var(--accent)); }

/* Buttons: a little light */
.btn--primary { overflow: hidden; }
.btn--primary::before {
    content: ""; position: absolute; inset: -60% -20%;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .38) 50%, transparent 62%);
    transform: translateX(-130%); transition: transform .85s var(--ease);
    pointer-events: none;
}
.btn--primary:hover::before { transform: translateX(130%); }
.btn--ghost { background: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */
.hero { padding: 76px 0 82px; }
.hero::before {
    background:
        radial-gradient(920px 620px at 84% -12%, color-mix(in srgb, var(--brand) 46%, transparent), transparent 66%),
        radial-gradient(760px 560px at 2% 102%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 72%),
        radial-gradient(560px 420px at 48% 118%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
        linear-gradient(180deg, var(--deep-1) 0%, var(--deep-2) 52%, var(--deep-3) 100%);
}
.hero::after { opacity: .5; }
.hero__title { font-size: clamp(2.55rem, 3.95vw, 3.6rem); line-height: 1.05; letter-spacing: -.042em; margin-bottom: 24px; }
.hero__sub { color: #aab8d0; max-width: 545px; margin-bottom: 34px; }
.badge--dark {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    letter-spacing: .06em; text-transform: uppercase; font-size: .68rem;
}
.hero__points {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px;
    padding-top: 24px; max-width: 560px;
}
.hero__points li:last-child { grid-column: 1 / -1; }

.hero__visual { position: relative; padding-bottom: 0; }
.hero__visual::before {
    content: ""; position: absolute; inset: -8% -10% -4% -10%; z-index: -1;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 32%, transparent), transparent 76%);
    filter: blur(26px);
}
.console {
    border-color: rgba(255, 255, 255, .16);
    box-shadow:
        0 60px 110px -52px rgba(0, 0, 0, .9),
        0 0 0 1px color-mix(in srgb, var(--brand) 10%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .14);
}
.console__feeds { position: relative; overflow: hidden; border-radius: 13px; }
.console__feeds::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 38%;
    background: linear-gradient(90deg, transparent, rgba(140, 180, 255, .16), transparent);
    animation: sweep 7.5s ease-in-out infinite; pointer-events: none;
}
.console__feeds--slider {
    display: block; aspect-ratio: 16 / 9; background: var(--deep-2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.console__feeds--slider::after { display: none; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; pointer-events: none;
    transition: opacity .9s var(--ease);
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img {
    width: 100%; height: 100%; object-fit: cover; opacity: .94;
    filter: saturate(.9) contrast(1.03);
    transform: scale(1.02);
    transition: transform 7.5s linear, opacity .9s var(--ease);
}
.hero-slide.is-active img { transform: scale(1.1); }
.hero-slide::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(6, 12, 24, .35) 0%, rgba(6, 12, 24, 0) 34%, rgba(6, 12, 24, .1) 58%, rgba(6, 12, 24, .84) 100%);
}
.hero-slide .feed__label { left: 12px; top: 12px; }
.hero-slide .feed__foot { left: 12px; right: 12px; bottom: 10px; font-size: .66rem; z-index: 2; }
.hero-slider__bars {
    position: absolute; top: 12px; right: 12px; z-index: 5;
    display: flex; align-items: center; gap: 5px;
    padding: 7px 9px; border-radius: 99px;
    background: rgba(6, 12, 24, .52); border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(8px);
}
.hero-slider__bars button {
    width: 18px; height: 4px; padding: 0; border: 0; border-radius: 99px;
    background: rgba(255, 255, 255, .38); cursor: pointer;
    transition: background .2s var(--ease), width .25s var(--ease);
}
.hero-slider__bars button:hover { background: rgba(255, 255, 255, .64); }
.hero-slider__bars button.is-active { width: 26px; background: #fff; }
.hero-slider__bars button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.console__float { left: -30px; bottom: -66px; border: 1px solid rgba(15, 32, 64, .06); }
.console__float .ico { background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 20%, #fff), #fff); }

@keyframes sweep {
    0% { transform: translateX(0); opacity: 0; }
    15% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateX(420%); opacity: 0; }
}

/* ---------------------------------------------------------
   Trust strip
--------------------------------------------------------- */
.trust { padding: 30px 0 32px; background: linear-gradient(180deg, #fff, #fbfcff); }
.trust__inner { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 34px; align-items: center; }
.trust__label { max-width: none; line-height: 1.55; font-size: .68rem; letter-spacing: .12em; }
.trust .trust__logos { gap: 18px; justify-content: space-between; }
.trust .trust__logo { font-size: .88rem; gap: 7px; opacity: .82; }
.trust .trust__logo svg { width: 16px; height: 16px; }
.trust .trust__logo:hover { opacity: 1; }

/* ---------------------------------------------------------
   Section headings
--------------------------------------------------------- */
.section { padding: 88px 0; }
.section--soft { background: linear-gradient(180deg, #f7f9fd 0%, #f4f7fc 100%); }
.section-head { margin-bottom: 48px; }
.section-head p { max-width: 600px; }
.section-head--split { align-items: flex-start; }
.section-head--split > .btn { margin-top: 2px; }
.eyebrow { letter-spacing: .17em; }

/* ---------------------------------------------------------
   Service cards
--------------------------------------------------------- */
.service-grid { gap: 26px; }
.service-card {
    padding: 0; border-radius: 26px;
    background: linear-gradient(170deg, #fff 0%, #fbfcff 100%);
    box-shadow: 0 1px 2px rgba(9, 20, 42, .04);
}
.service-card__media { position: relative; }
.service-card__shot {
    position: relative; aspect-ratio: 2 / 1; overflow: hidden;
    border-radius: 25px 25px 0 0; background: var(--deep-3);
}
.service-card__shot img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s var(--ease), filter .4s var(--ease);
}
.service-card__shot::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 13, 26, .05) 0%, rgba(7, 13, 26, 0) 42%, rgba(7, 13, 26, .34) 100%);
}
.service-card:hover .service-card__shot img { transform: scale(1.045); }
.service-card__icon {
    position: absolute; left: 26px; bottom: -24px; z-index: 2;
    margin: 0; width: 56px; height: 56px; border: 4px solid #fff;
    border-radius: 17px; box-shadow: 0 18px 32px -18px rgba(7, 16, 38, .55);
}
.service-card__icon svg { width: 25px; height: 25px; }
.service-card__body {
    display: flex; flex-direction: column; flex: 1;
    padding: 42px 32px 30px;
}
.service-card__top { padding: 32px 32px 0; }
.service-card::before {
    content: ""; position: absolute; right: -70px; top: -90px; width: 240px; height: 240px;
    border-radius: 50%; opacity: .75; pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 10%, transparent), transparent);
    transition: opacity .4s var(--ease);
}
.service-card:hover::before { opacity: 1; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--brand); }
.card__icon {
    background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 20%, #fff), #fff);
    border-color: color-mix(in srgb, var(--brand) 16%, #fff);
    box-shadow: inset 0 1px 0 #fff, 0 12px 22px -16px color-mix(in srgb, var(--brand) 70%, transparent);
}
.service-grid > .service-card:nth-child(4n+2) .card__icon {
    background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 26%, #fff), #fff);
    border-color: color-mix(in srgb, var(--accent) 26%, #fff); color: var(--accent-ink);
    box-shadow: inset 0 1px 0 #fff, 0 12px 22px -16px color-mix(in srgb, var(--accent) 55%, transparent);
}
.service-grid > .service-card:nth-child(4n+3) .card__icon {
    background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 14%, var(--accent) 16%, #fff), #fff);
    border-color: color-mix(in srgb, var(--brand) 12%, var(--accent) 16%, #fff); color: color-mix(in srgb, var(--brand) 40%, var(--accent-deep));
    box-shadow: inset 0 1px 0 #fff, 0 12px 22px -16px color-mix(in srgb, var(--brand) 30%, var(--accent) 25%, transparent);
}
.service-grid > .service-card:nth-child(4n+4) .card__icon {
    background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 12%, #fff), color-mix(in srgb, var(--accent) 10%, #fff));
    border-color: color-mix(in srgb, var(--brand) 18%, #fff); color: var(--brand);
    box-shadow: inset 0 1px 0 #fff, 0 12px 22px -16px color-mix(in srgb, var(--brand) 55%, transparent);
}
.service-card__points {
    list-style: none; margin: 18px 0 20px; padding: 0; display: grid; gap: 8px;
}.service-card__points li {
    display: flex; align-items: flex-start; gap: 9px; margin: 0;
    font-size: .84rem; line-height: 1.5; color: #46546e;
}
.service-card__points svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--brand); }
.service-card__points { margin-top: auto; }
.service-card p { margin-bottom: 14px; }
.service-card__foot { padding-top: 16px; }

/* Plain icon-led service cards (home) */
.service-card__grid {
    position: absolute; top: 0; right: 0; width: 240px; height: 200px;
    background-image: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent) 1px, transparent 1.2px);
    background-size: 15px 15px;
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 100% 0%, #000 5%, transparent 72%);
    mask-image: radial-gradient(ellipse 85% 85% at 100% 0%, #000 5%, transparent 72%);
    opacity: .55; pointer-events: none;
}
.service-card--plain .service-card__body { padding: 34px 34px 30px; }
.service-card__head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 18px; margin-bottom: 26px; position: relative; z-index: 1;
}
.service-card--plain .card__icon {
    width: 62px; height: 62px; margin: 0; border-radius: 19px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card--plain .card__icon svg { width: 30px; height: 30px; }
.service-card--plain:hover .card__icon { transform: translateY(-2px) rotate(-4deg); }
.service-card__num {
    display: inline-flex; align-items: center; gap: 9px; padding-top: 8px;
    font-family: var(--font-head); font-size: .72rem; font-weight: 600;
    letter-spacing: .15em; color: var(--muted);
    transition: color .25s var(--ease);
}
.service-card__num::before {
    content: ""; width: 20px; height: 1px;
    background: color-mix(in srgb, var(--brand) 40%, transparent);
}
.service-card--plain:hover .service-card__num { color: var(--brand); }
.service-card--plain h3 { font-size: 1.34rem; }

@media (max-width: 640px) {
    .service-card--plain .service-card__body { padding: 28px 24px 24px; }
    .service-card--plain .card__icon { width: 54px; height: 54px; border-radius: 17px; }
    .service-card--plain .card__icon svg { width: 26px; height: 26px; }
    .service-card__grid { width: 180px; height: 150px; }
}

/* ---------------------------------------------------------
   About / media stack
--------------------------------------------------------- */
.media-stack__main { border-radius: 26px; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4.3; }
.media-stack__main img { transition: transform .9s var(--ease); }
.media-stack:hover .media-stack__main img { transform: scale(1.03); }
.media-stack__sub { border-width: 7px; border-radius: 18px; box-shadow: 0 26px 50px -28px rgba(7, 16, 38, .55); }
.media-stack__badge {
    border-radius: 18px;
    background: linear-gradient(160deg, #0d1730, #070e1e);
    box-shadow: 0 24px 40px -24px rgba(7, 16, 38, .7), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.media-stack__badge b { background: linear-gradient(180deg, #fff, #a8c0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.checklist .tick { border-radius: 999px; }

/* ---------------------------------------------------------
   Stats band
--------------------------------------------------------- */
.stats-band {
    padding: 64px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: linear-gradient(180deg, #070e1e, #0a1428);
}
.stats-band::before {
    background:
        radial-gradient(720px 340px at 18% -20%, color-mix(in srgb, var(--brand) 32%, transparent), transparent 70%),
        radial-gradient(520px 300px at 88% 120%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%);
}
.stats-band::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 10%, transparent 80%);
}
.stats-band__inner { position: relative; z-index: 1; }
.stat { border-left: 1px solid rgba(255, 255, 255, .09); }
.stat b { font-size: clamp(2.2rem, 3.4vw, 3.05rem); font-variant-numeric: tabular-nums; }
.stat span { color: #9cabc7; font-size: .71rem; letter-spacing: .14em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .stat b {
        background: linear-gradient(180deg, #ffffff 18%, var(--brand-pale) 100%);
        -webkit-background-clip: text; background-clip: text; color: transparent;
    }
}

/* ---------------------------------------------------------
   Process
--------------------------------------------------------- */
.process__item {
    padding: 30px 26px 30px; border-radius: 20px;
    background: linear-gradient(180deg, #fff, #fbfcff);
    box-shadow: 0 1px 2px rgba(9, 20, 42, .04);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.process__item:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--brand) 22%, var(--line));
}
.process__num { border-radius: 8px; background: color-mix(in srgb, var(--brand) 9%, #fff); }
.process__item h3 { font-size: 1.12rem; }
.process__item { position: relative; }
.process__icon {
    position: absolute; top: 20px; right: 20px; width: 42px; height: 42px;
    color: color-mix(in srgb, var(--brand) 55%, #fff); opacity: .55;
    transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none;
}
.process__icon svg { width: 100%; height: 100%; }
.process__item:hover .process__icon { opacity: 1; transform: translateY(-2px) scale(1.04); }
.process__num { position: relative; z-index: 1; }

/* ---------------------------------------------------------
   Projects
--------------------------------------------------------- */
.project-grid { gap: 24px; }
.project-card {
    border-radius: 26px; aspect-ratio: 4 / 4.25;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    box-shadow: 0 1px 2px rgba(9, 20, 42, .08);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project-card__body { padding: 28px; }
.project-card__tag {
    background: rgba(8, 15, 30, .48);
    border-color: rgba(255, 255, 255, .2);
    letter-spacing: .08em;
}
.project-card h3 { font-size: 1.18rem; letter-spacing: -.02em; }

/* ---------------------------------------------------------
   Testimonials
--------------------------------------------------------- */
.testimonial {
    position: relative; overflow: hidden; border-radius: 24px;
    padding: 32px 30px 30px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.testimonial::after {
    content: none;
}
.testimonial__quote {
    position: absolute; top: 26px; right: 26px; width: 30px; height: 30px;
    color: color-mix(in srgb, var(--brand) 12%, #fff); pointer-events: none;
}
.testimonial__quote svg { width: 100%; height: 100%; }
.testimonial:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--brand) 22%, var(--line));
}
.testimonial blockquote { position: relative; z-index: 1; }
.testimonial__stars { color: var(--gold); }
.testimonial__person { position: relative; z-index: 1; }

/* ---------------------------------------------------------
   Blog cards
--------------------------------------------------------- */
.post-card { border-radius: 24px; }
.post-card__media { aspect-ratio: 16 / 9.8; }
.post-card__cat { border-radius: 6px; backdrop-filter: blur(8px); }
.post-card h3 { letter-spacing: -.015em; }
.post-featured { border-radius: 26px; }
.post-featured__body { padding: 46px; }

/* ---------------------------------------------------------
   FAQ split layout
--------------------------------------------------------- */
.faq-layout {
    display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 72px; align-items: start;
}
.faq-layout__head { position: sticky; top: calc(var(--header-h) + 34px); }
.faq-layout__head h2 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); margin-bottom: 14px; }
.faq-layout__head p { color: var(--body); font-size: .98rem; max-width: 380px; margin-bottom: 24px; }
.faq-layout .faq-list { max-width: none; margin: 0; }
.faq-item { border-radius: 16px; }
.faq-item summary { padding: 21px 24px; }

/* ---------------------------------------------------------
   CTA band as a rounded panel
--------------------------------------------------------- */
.cta-band {
    background: transparent; padding: 0 24px 100px; overflow: visible;
}
.cta-band::before { display: none; }
.cta-band__inner {
    position: relative; overflow: hidden; border-radius: var(--radius-2xl);
    background: linear-gradient(122deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 80%, #001a33) 47%, #0a1734 100%);
    box-shadow: 0 50px 96px -52px rgba(9, 22, 52, .7);
    padding-left: 64px; padding-right: 64px;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center;
}
.cta-band__inner::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(620px 340px at 88% -10%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%),
        radial-gradient(560px 320px at 0% 110%, rgba(255, 255, 255, .14), transparent 70%);
}
.cta-band__inner::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: radial-gradient(ellipse 90% 100% at 70% 20%, #000 10%, transparent 78%);
}
.cta-band__inner > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.9rem, 2.9vw, 2.65rem); max-width: 620px; }
.cta-band p { color: #e2eafb; }
.cta-band__actions { justify-content: flex-end; }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.site-footer { padding-top: 82px; }
.newsletter { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.newsletter strong {
    display: block; color: #fff; font-family: var(--font-head); font-size: .84rem;
    font-weight: 600; margin-bottom: 6px; line-height: 1.4;
}
.newsletter p { margin: 0 0 12px; color: #8c9ab6; }
.newsletter__form input { padding: 12px 14px; }
.footer__contact { margin-bottom: 0; }
.footer__col h4 { color: #cdd8ea; }

/* ---------------------------------------------------------
   Inner page hero with radar artwork
--------------------------------------------------------- */
.page-hero { padding: 80px 0 84px; }
.page-hero::before {
    background:
        radial-gradient(760px 420px at 86% -10%, color-mix(in srgb, var(--brand) 34%, transparent), transparent 66%),
        radial-gradient(520px 320px at 4% 106%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 72%),
        linear-gradient(180deg, #050a15, #08101f);
}
.page-hero__grid {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 400px;
    gap: 48px; align-items: center;
}
.page-hero__inner { max-width: none; }
.page-hero h1 { font-size: clamp(2.15rem, 3.7vw, 3.35rem); letter-spacing: -.038em; }
.page-hero p { max-width: 610px; }

.page-hero__art { position: relative; display: grid; place-items: center; min-height: 330px; }
.radar { width: min(100%, 380px); height: auto; filter: drop-shadow(0 30px 60px color-mix(in srgb, var(--brand) 55%, transparent)); }
.radar__sweep { transform-origin: 200px 200px; animation: radarSpin 18s linear infinite; }
.radar__nodes circle { transform-box: fill-box; transform-origin: center; animation: nodePulse 4.5s ease-in-out infinite; }
.radar__nodes circle:nth-child(2) { animation-delay: .6s; }
.radar__nodes circle:nth-child(4) { animation-delay: 1.2s; }
.radar__nodes circle:nth-child(6) { animation-delay: 1.8s; }
.radar__nodes circle:nth-child(7) { animation-delay: 2.3s; }
.radar__nodes circle:nth-child(8) { animation-delay: 2.9s; }
.radar__tag {
    position: absolute; display: inline-flex; align-items: center;
    font-family: var(--font-head); font-size: .64rem; font-weight: 600;
    letter-spacing: .11em; text-transform: uppercase; color: #dbe6ff;
    background: rgba(8, 17, 35, .72); border: 1px solid rgba(255, 255, 255, .16);
    padding: 7px 13px; border-radius: 999px; backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .9); white-space: nowrap;
}
.radar__tag::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%; margin-right: 8px;
    background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.radar__tag--1 { top: 6%; left: -2%; }
.radar__tag--2 { bottom: 6%; right: -2%; }
.radar__tag--2::before { background: var(--accent-lite); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-lite) 16%, transparent); }
.radar__tag--3 { bottom: 6%; left: -2%; }
.radar__tag--3::before { background: var(--brand-light); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-light) 16%, transparent); }
.radar__tag--4 { top: 6%; right: -2%; }
.radar__tag--4::before { background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }

@keyframes radarSpin { to { transform: rotate(360deg); } }
@keyframes nodePulse {
    0%, 100% { opacity: .55; }
    50% { opacity: 1; }
}

/* ---------------------------------------------------------
   Inner page components
--------------------------------------------------------- */
.filters a { border-radius: 999px; transition: all .25s var(--ease); }
.filters a.is-active {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-color: transparent; box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--brand) 80%, transparent);
}
.project-meta { background: linear-gradient(180deg, #f8fafd, #f4f7fc); border-radius: 18px; }
.form-card { border-radius: 26px; box-shadow: var(--shadow-md); }
.info-item { border-radius: 16px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.info-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.team-card__media { border-radius: 20px; }
.sidebar-card { border-radius: 22px; }
.sidebar-card--ink { background: linear-gradient(160deg, #0b1730, #070e1e); }
.post-layout { gap: 60px; }
.pagination a, .pagination span { border-radius: 10px; }
.highlight { border-radius: 18px; }

/* ---------------------------------------------------------
   Responsive refinements
--------------------------------------------------------- */
/* The top bar already carries the phone; keeping a second copy in the
   header pushes the navigation past the 1200px container. */
.header__actions .header__phone { display: none; }

@media (max-width: 1180px) {
    .brand__tag { display: none; }
}

@media (max-width: 1100px) {
    .page-hero__grid { grid-template-columns: 1fr; }
    .page-hero__art { display: none; }
    .faq-layout { gap: 48px; }
    .cta-band__inner { padding-left: 44px; padding-right: 44px; }
    .trust__inner { grid-template-columns: 1fr; gap: 18px; }
    .trust .trust__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; align-items: center; }
    .brand__tag { display: none; }
    .nav__link { padding: 10px 11px; }
    .console__float { left: 12px; }
}

@media (max-width: 900px) {
    .hero__points { max-width: none; }
    .trust__inner { grid-template-columns: 1fr; gap: 18px; }
    .cta-band__inner { grid-template-columns: 1fr; gap: 30px; }
    .cta-band__actions { justify-content: flex-start; }
    .faq-layout { grid-template-columns: 1fr; gap: 34px; }
    .faq-layout__head { position: static; }
    .faq-layout__head p { max-width: 520px; }
    .cta-band { padding-bottom: 76px; }
}

@media (max-width: 640px) {
    .section { padding: 58px 0; }
    .hero { padding: 42px 0 58px; }
    .hero__title { font-size: clamp(1.95rem, 8.4vw, 2.3rem); line-height: 1.08; }
    .hero__sub { font-size: .96rem; }
    .hero__points { grid-template-columns: 1fr; gap: 10px; }
    .hero__points li:last-child { grid-column: auto; }
    .console__float { left: 0; bottom: 0; }
    .trust { padding: 24px 0; }
    .trust__inner { grid-template-columns: 1fr; gap: 16px; }
    .trust .trust__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: center; }
    .trust__label { max-width: none; }
    .service-card { padding: 0; border-radius: 22px; }
    .service-card__shot { border-radius: 21px 21px 0 0; }
    .service-card__body { padding: 38px 24px 24px; }
    .service-card__icon { left: 22px; width: 50px; height: 50px; }
    .service-card__icon svg { width: 22px; height: 22px; }
    .service-card__points { margin-top: 14px; }
    .stats-band { padding: 48px 0; }
    .process__item { padding: 24px 22px; }
    .testimonial { padding: 26px 24px 24px; }
    .testimonial__quote { width: 26px; height: 26px; top: 20px; right: 20px; }
    .post-featured__body { padding: 26px; }
    .faq-item summary { padding: 17px 18px; font-size: .94rem; }
    .faq-item__body { padding: 0 18px 20px; }
    .cta-band { padding: 0 18px 62px; }
    .cta-band .container.cta-band__inner { padding-left: 24px; padding-right: 24px; }
    .cta-band h2 { font-size: 1.75rem; }
    .page-hero { padding: 54px 0 60px; }
    .page-hero h1 { font-size: 2.05rem; }
    .site-footer { padding-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
    .console__feeds::after,
    .radar__sweep,
    .radar__nodes circle { animation: none !important; }
    .btn--primary::before { display: none; }
}

/* Footer compact layouts when a menu column is hidden */
@media (min-width: 901px) {
    .footer__top--no-services { grid-template-columns: 1.5fr 1fr 1.3fr; }
    .footer__top--no-company { grid-template-columns: 1.5fr 1fr 1.3fr; }
    .footer__top--no-services.footer__top--no-company { grid-template-columns: 1.5fr 1.3fr; }
}

/* --- footer uses the main logo, rendered white on the dark band --- */
.footer__brand .brand__logo { max-height: 40px; width: auto; filter: brightness(0) invert(1); }
