/* ==========================================================================
   MaghrebDev — Global Design System
   "North African Identity. Global Digital Expertise."
   Deep-blue identity · Outfit/Inter · 8-pointed star motif
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #002644;
  --royal: #003A7F;
  --blue: #004CB2;
  --electric: #0059DB;
  --white: #FFFFFF;
  --ink: #090D14;
  --surface: #111A28;
  --surface-2: #0D1520;
  --soft: #F5F7FA;
  --lightblue: #EDF4FF;
  --muted: #97A6BB;
  --text-light: #E8EEF6;
  --text-dark: #14243B;
  --line-dark: rgba(255, 255, 255, .09);
  --line-light: rgba(0, 38, 68, .12);
  --grad-brand: linear-gradient(135deg, #004CB2 0%, #003A7F 48%, #002644 100%);
  --grad-accent: linear-gradient(135deg, #004CB2 0%, #0059DB 100%);
  --grad-text: linear-gradient(120deg, #4d8dff 0%, #ffffff 45%, #4d8dff 100%);
  --font-head: "Outfit", sans-serif;
  --font-body: "IBM Plex Sans", "Inter", -apple-system, sans-serif;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-card: 0 18px 50px rgba(0, 10, 30, .45);
  --shadow-glow: 0 12px 40px rgba(0, 76, 178, .35);
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --star-tile: url("/assets/img/brand/emblem-tile-white.png");
  --star-tile-dark: url("/assets/img/brand/emblem-tile-blue.png");
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.67;
  color: var(--text-light);
  background: var(--ink);
  overflow-x: hidden;
  padding: 0;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--white);
}
p { color: var(--muted); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 3000;
  background: var(--blue); color: #fff; padding: 10px 22px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { left: 16px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
/* section head — editorial left variant with meta column */
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.section-head--split .section-head__main { max-width: 700px; margin-bottom: 0; }
.section-head__meta { font-size: 14px; color: #7f92ab; max-width: 300px; text-align: right; padding-bottom: 6px; }
.section-head__meta b { color: #c3d2e6; display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.section--light .section-head__meta, .section--white .section-head__meta { color: #5b6c84; }
.section--light .section-head__meta b, .section--white .section-head__meta b { color: var(--text-dark); }
@media (max-width: 760px) {
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .section-head__meta { text-align: left; padding-bottom: 0; }
}

.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section--light { background: var(--soft); }
.section--light h2, .section--light h3, .section--light h4 { color: var(--text-dark); }
.section--light p { color: #4a5c74; }
.section--white { background: #fff; }
.section--white h2, .section--white h3, .section--white h4 { color: var(--text-dark); }
.section--white p { color: #4a5c74; }

/* Geometric section decorations */
.geo-tile {
  position: absolute; inset: 0; pointer-events: none;
  background-image: var(--star-tile); background-size: 96px 96px; opacity: .05;
}
.section--light .geo-tile, .section--white .geo-tile { background-image: var(--star-tile-dark); opacity: .05; }
.geo-glow {
  position: absolute; width: 720px; height: 720px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0, 89, 219, .22) 0%, transparent 62%);
  filter: blur(10px);
}
.geo-glow--tr { top: -280px; right: -220px; }
.geo-glow--bl { bottom: -320px; left: -260px; }
.geo-glow--tl { top: -300px; left: -240px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #6ea8ff; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background-color: currentColor;
  -webkit-mask: url("/assets/img/brand/emblem-official.webp") center / contain no-repeat;
  mask: url("/assets/img/brand/emblem-official.webp") center / contain no-repeat;
}
.section--light .eyebrow, .section--white .eyebrow { color: var(--blue); }

.h2 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 18px; }
.h3 { font-size: clamp(24px, 3vw, 32px); }
.lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 640px; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.text-grad {
  background: linear-gradient(120deg, #4d8dff, #9cc2ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--light .text-grad, .section--white .text-grad {
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px; letter-spacing: .01em;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 1.1em; transition: transform .3s var(--ease); }
.btn:hover i { transform: translate(3px, -3px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { box-shadow: 0 18px 50px rgba(0, 89, 219, .5); }
.btn--outline { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); color: var(--white); backdrop-filter: blur(6px); }
.btn--outline:hover { border-color: var(--electric); background: rgba(0, 89, 219, .12); }
.btn--dark { background: var(--grad-brand); color: #fff; box-shadow: 0 14px 36px rgba(0, 38, 68, .4); }
.btn--dark:hover { box-shadow: 0 20px 48px rgba(0, 76, 178, .5); }
.btn--ghost-light { border-color: rgba(0, 38, 68, .25); color: var(--royal); background: transparent; }
.btn--ghost-light:hover { background: var(--lightblue); border-color: var(--blue); }
.btn--sm { padding: 10px 22px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Badge / pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); color: var(--text-light);
  backdrop-filter: blur(8px);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; }
.pill img { width: 14px; height: 14px; }

/* ==========================================================================
   NAVIGATION — floating dark pill
   ========================================================================== */
.nav-wrap { position: fixed; top: 18px; left: 0; right: 0; z-index: 1000; padding-inline: clamp(14px, 3vw, 32px); transition: top .35s var(--ease); }
.nav {
  max-width: 1200px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 12px 10px 20px; border-radius: 999px;
  background: rgba(9, 13, 20, .72); border: 1px solid var(--line-dark);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 44px rgba(0, 8, 24, .5);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled { background: rgba(9, 13, 20, .92); box-shadow: 0 20px 54px rgba(0, 8, 24, .65); border-color: rgba(255, 255, 255, .14); }
.nav__logo img { height: 40px; width: auto; transition: transform .3s var(--ease); }
.nav__logo:hover img { transform: scale(1.03); }
.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__menu a {
  position: relative; display: inline-block; padding: 9px 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: #c3d2e6;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 0; height: 2px; border-radius: 2px; background: var(--grad-accent); transition: width .3s var(--ease);
}
.nav__menu a:hover { color: #fff; }
.nav__menu a:hover::after { width: 22px; }
.nav__menu a[aria-current="page"] { color: #fff; background: rgba(0, 89, 219, .16); }
.nav__menu a[aria-current="page"]::after { width: 22px; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; padding: 8px 13px; border-radius: 999px;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  color: #aebfd6; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04);
  transition: all .25s var(--ease);
}
.lang-switch:hover { color: #fff; border-color: var(--electric); background: rgba(0, 89, 219, .14); }
.nav__burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 990; display: flex; flex-direction: column; justify-content: center;
  padding: 100px 30px 40px; background: rgba(9, 13, 20, .97); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-head); font-size: clamp(26px, 7vw, 34px); font-weight: 600; color: var(--text-light);
  padding: 12px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: #6ea8ff; }
.mobile-menu .btn { margin-top: 30px; }
body.nav-open { overflow: hidden; }

/* ==========================================================================
   HERO — cinematic dark
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + 70px); padding-bottom: 70px; overflow: hidden; background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg .geo-glow--main { top: -340px; left: 50%; transform: translateX(-50%); width: 1100px; height: 900px; opacity: .8; }
.hero__grid {
  position: absolute; inset: auto -20% -34% -20%; height: 62%;
  background:
    linear-gradient(transparent 0%, rgba(9, 13, 20, .35) 78%, var(--ink) 100%),
    repeating-linear-gradient(90deg, rgba(110, 168, 255, .13) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(110, 168, 255, .13) 0 1px, transparent 1px 72px);
  transform: perspective(680px) rotateX(58deg); transform-origin: top center;
  mask-image: linear-gradient(#000 30%, transparent 92%);
  -webkit-mask-image: linear-gradient(#000 30%, transparent 92%);
}
.hero__tile { position: absolute; inset: 0; background-image: var(--star-tile); background-size: 96px 96px; opacity: .05; }
.hero__bigtype {
  position: absolute; top: 11%; left: 0; right: 0; display: flex; justify-content: center;
  pointer-events: none; user-select: none; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.hero__bigtype-inner {
  display: flex; gap: .32em; white-space: nowrap; line-height: 1;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(64px, 12.5vw, 190px); letter-spacing: .02em;
  will-change: transform;
}
.hero__bigtype .bw { color: transparent; -webkit-text-stroke: 1.5px rgba(110, 168, 255, .17); }
.hero__bigtype .pu {
  color: transparent;
  background: linear-gradient(175deg, #4d7fd0 0%, #16345e 78%);
  -webkit-background-clip: text; background-clip: text;
  opacity: .58;
}

/* marquee strip between hero and stats */
.hero__marquee {
  position: relative; overflow: hidden; padding: 15px 0;
  border-top: 1px solid var(--line-dark); background: rgba(9, 13, 20, .55); backdrop-filter: blur(6px);
}
.hero__marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.hero__marquee-track:hover { animation-play-state: paused; }
.hero__marquee-track > span {
  display: inline-flex; align-items: center; gap: 54px; padding-right: 54px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  letter-spacing: .26em; color: #54688a; white-space: nowrap;
}
.hero__marquee-track img { width: 13px; height: 13px; opacity: .65; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero__inner { position: relative; z-index: 2; text-align: center; }
.hero__badge { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(42px, 7.4vw, 92px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
  margin-bottom: 24px; max-width: 1000px; margin-inline: auto;
}
.hero__sub { font-size: clamp(16px, 1.8vw, 19px); max-width: 640px; margin: 0 auto 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 22px; }
.hero__meta { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #7f92ab; margin-bottom: 30px; }
.hero__meta strong { color: #c3d2e6; font-weight: 600; }
.tech-row { display: flex; flex-wrap: wrap; gap: 0; justify-content: center; align-items: center; }
.tech-chip {
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #7f92ab; padding: 0;
}
.tech-chip + .tech-chip::before { content: "·"; margin: 0 12px; color: #3a4c66; }

/* Hero showcase mockups */
.showcase { position: relative; z-index: 2; margin-top: clamp(44px, 6vw, 74px); perspective: 1400px; }
.showcase__main { max-width: 880px; margin-inline: auto; }
.mock {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(160deg, #131e30 0%, #0d1420 100%);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-card);
  transform: rotateX(4deg); transition: transform .6s var(--ease);
}
.showcase:hover .mock { transform: rotateX(0deg) translateY(-4px); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--line-dark); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; }
.mock__dot:nth-child(1) { background: #ff5f57; } .mock__dot:nth-child(2) { background: #febc2e; } .mock__dot:nth-child(3) { background: #28c840; }
.mock__title { margin-left: 10px; font-size: 12.5px; color: #8fa2ba; font-family: var(--font-body); }
.mock__badge { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: #8fa2ba; background: transparent; border: 1px solid var(--line-dark); padding: 3px 10px; border-radius: 999px; }
.mock__body { padding: clamp(18px, 3vw, 30px); }

/* dashboard steps */
.dash-flow { display: grid; gap: 14px; }
.dash-step { display: flex; align-items: center; gap: 16px; padding: 15px 18px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-dark); }
.dash-step__num {
  width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #fff; background: var(--grad-accent);
}
.dash-step--done .dash-step__num { background: rgba(61, 220, 132, .15); color: #3ddc84; border: 1px solid rgba(61, 220, 132, .4); }
.dash-step__txt { flex: 1; text-align: left; }
.dash-step__txt b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text-light); }
.dash-step__txt span { font-size: 12.5px; color: #7f92ab; }
.dash-step__status { font-size: 12px; font-weight: 600; color: #3ddc84; display: inline-flex; align-items: center; gap: 6px; }
.dash-step__status .spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(110, 168, 255, .3); border-top-color: #6ea8ff; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.mock__stat { padding: 14px; border-radius: 12px; background: rgba(0, 89, 219, .08); border: 1px solid rgba(0, 89, 219, .2); }
.mock__stat b { display: block; font-family: var(--font-head); font-size: 21px; color: #fff; font-variant-numeric: tabular-nums; }
.mock__stat span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #7f92ab; }

/* floating side panels */
.showcase__side { position: absolute; top: 50%; width: min(330px, 34vw); transform: translateY(-50%); z-index: 3; }
.showcase__side--left { left: 0; animation: float-l 7s ease-in-out infinite; }
.showcase__side--right { right: 0; animation: float-r 8s ease-in-out infinite; }
@keyframes float-l { 0%,100% { transform: translateY(-54%); } 50% { transform: translateY(-46%); } }
@keyframes float-r { 0%,100% { transform: translateY(-46%); } 50% { transform: translateY(-54%); } }
.term { font-family: "Cascadia Code", "Fira Code", ui-monospace, Menlo, Consolas, monospace; font-size: 12.8px; line-height: 1.75; text-align: left; }
.term .ln { display: block; white-space: pre; color: #b9c9dd; }
.term .p { color: #6ea8ff; } .term .ok { color: #3ddc84; } .term .dim { color: #62748d; } .term .warn { color: #ffd166; }
.term .cursor { display: inline-block; width: 8px; height: 15px; background: #6ea8ff; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.browser-prev { text-align: left; }
.browser-prev__frame { aspect-ratio: 16 / 10.5; border-radius: 10px; background: linear-gradient(160deg, #0e1930, #0a111c); border: 1px solid var(--line-dark); display: grid; place-items: center; overflow: hidden; position: relative; }
.browser-prev__frame::before { content: ""; position: absolute; inset: 0; background-image: var(--star-tile); opacity: .06; }
.browser-prev__frame img { position: absolute; inset: 14px 14px 44px; object-fit: cover; border-radius: 8px; opacity: .9; }
.browser-prev__frame .bar { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.browser-prev__frame .bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 68%; border-radius: 6px; background: var(--grad-accent); opacity: .85; }
.browser-prev__cap { margin-top: 12px; font-size: 12px; color: #7f92ab; text-align: center; }

@media (max-width: 1080px) { .showcase__side { display: none; } }

/* ==========================================================================
   STATS TRUST BAR
   ========================================================================== */
.stats { border-block: 1px solid var(--line-dark); background: var(--surface-2); position: relative; overflow: hidden; }
.stats .geo-tile { opacity: .035; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(30px, 4vw, 52px) 18px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--line-dark); }
.stat__num { font-family: var(--font-head); font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; color: #fff; }
.stat__num em { font-style: normal; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: 13.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; margin-top: 4px; }

/* ==========================================================================
   BENTO SERVICES GRID
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento__cell--big { grid-column: span 3; }
.bento__cell--mid { grid-column: span 2; }
.bento__cell--wide { grid-column: span 6; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--big { grid-column: span 2; }
  .bento__cell--mid { grid-column: span 1; }
  .bento__cell--wide { grid-column: span 2; }
}
@media (max-width: 620px) { .bento__cell--mid { grid-column: span 2; } }

.svc {
  position: relative; height: 100%; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(165deg, #121c2e 0%, #0c1320 100%);
  border: 1px solid var(--line-dark);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.svc::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(560px circle at 85% -10%, rgba(0, 89, 219, .16), transparent 45%);
}
.svc:hover { transform: translateY(-6px); border-color: rgba(0, 89, 219, .45); box-shadow: 0 26px 60px rgba(0, 12, 34, .55); }
.svc:hover::before { opacity: 1; }
.svc__top { display: flex; align-items: center; justify-content: space-between; }
.svc__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: #6ea8ff;
  background: rgba(0, 89, 219, .13); border: 1px solid rgba(0, 89, 219, .3);
}
.svc__num { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: rgba(151, 166, 187, .55); letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.svc h3 { font-size: clamp(20px, 2vw, 24px); }
.svc > p { font-size: 15px; }
.svc__viz { margin: 6px 0 2px; border-radius: 14px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .025); padding: 16px; }
.svc__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.svc__list li { font-size: 12.5px; color: #aebfd6; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-dark); padding: 5px 12px; border-radius: 999px; }
.svc__meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.svc__time { font-size: 12.5px; color: #7f92ab; display: inline-flex; gap: 7px; align-items: center; }
.svc__link { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: #6ea8ff; display: inline-flex; align-items: center; gap: 7px; }
.svc__link i { transition: transform .3s var(--ease); }
.svc__link:hover { color: #9cc2ff; } .svc__link:hover i { transform: translate(3px, -3px); }

/* mini visualizations inside service cards */
.viz-bars { display: flex; align-items: flex-end; gap: 8px; height: 74px; }
.viz-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad-accent); opacity: .85; }
.viz-bars i:nth-child(2n) { opacity: .55; }
.viz-bars i:nth-child(1) { height: 45%; } .viz-bars i:nth-child(2) { height: 70%; }
.viz-bars i:nth-child(3) { height: 55%; } .viz-bars i:nth-child(4) { height: 88%; }
.viz-bars i:nth-child(5) { height: 62%; } .viz-bars i:nth-child(6) { height: 78%; }
.viz-bars i:nth-child(7) { height: 96%; }
.viz-code { font-family: ui-monospace, Consolas, monospace; font-size: 12.3px; line-height: 1.8; color: #b9c9dd; }
.viz-code .c { color: #62748d; } .viz-code .k { color: #6ea8ff; } .viz-code .s { color: #8fd3a7; }
.viz-nodes { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px; }
.viz-node { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 89, 219, .12); border: 1px solid rgba(0, 89, 219, .3); color: #6ea8ff; font-size: 19px; position: relative; }
.viz-node--lock { background: rgba(61, 220, 132, .08); border-color: rgba(61, 220, 132, .3); color: #3ddc84; }
.viz-link { flex: 1; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, rgba(110, 168, 255, .5) 0 6px, transparent 6px 12px); }
.viz-browser { border-radius: 10px; border: 1px solid var(--line-dark); overflow: hidden; }
.viz-browser__bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02); }
.viz-browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.viz-browser__body { height: 68px; background-image: var(--star-tile); background-size: 48px; display: grid; place-items: center; }

/* ==========================================================================
   SHOWCASE SPLIT (feature sections)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(60px, 8vw, 110px); }
.split--rev .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: var(--shadow-card); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.split__media:hover img { transform: scale(1.045); }
.split__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0, 76, 178, .22), transparent 55%); }
.split__media .split__chip {
  position: absolute; z-index: 2; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 9px;
  background: rgba(9, 13, 20, .78); border: 1px solid var(--line-dark); backdrop-filter: blur(10px);
  padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #cfe0ff;
}
.split__body .btn { margin-top: 28px; }
.check-list { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.check-list li i { color: var(--electric); font-size: 19px; margin-top: 1px; }
.section--light .check-list li, .section--white .check-list li { color: #4a5c74; }
.section--light .check-list li i, .section--white .check-list li i { color: var(--blue); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process::before { content: ""; position: absolute; top: 44px; left: 7%; right: 7%; height: 1px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px); opacity: .35; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: #fff; border: 2px solid var(--blue); color: var(--royal);
  font-family: var(--font-head); font-weight: 800; font-size: 19px; box-shadow: 0 0 0 8px var(--soft);
}
.section--white .step__num { box-shadow: 0 0 0 8px #fff; }
.step__num::after {
  content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px;
  background-color: var(--electric);
  -webkit-mask: url("/assets/img/brand/emblem-official.webp") center / contain no-repeat;
  mask: url("/assets/img/brand/emblem-official.webp") center / contain no-repeat;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 14.5px; }

/* ==========================================================================
   WHY CHOOSE (image cards)
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark);
  background: var(--surface); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.why-card:nth-child(even) { transform: translateY(26px); }
.why-card:hover { transform: translateY(-8px); border-color: rgba(0, 89, 219, .5); box-shadow: 0 30px 64px rgba(0, 12, 34, .55); }
.why-card:nth-child(even):hover { transform: translateY(18px); }
.why-card__img { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; }
.why-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.why-card:hover .why-card__img img { transform: scale(1.07); }
.why-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(9, 13, 20, .92)); }
.why-card__img::before { content: ""; position: absolute; inset: 0; z-index: 1; background-image: var(--star-tile); background-size: 64px; opacity: .07; }
.why-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 2; }
.why-card__body i.why-ic { font-size: 23px; color: #6ea8ff; margin-bottom: 10px; display: block; }
.why-card__body h3 { font-size: 19px; margin-bottom: 6px; }
.why-card__body p { font-size: 13.8px; line-height: 1.55; }

/* ==========================================================================
   DEVELOPER SECTION
   ========================================================================== */
.dev { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.dev__photo { position: relative; max-width: 420px; margin-inline: auto; }
.dev__photo img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); position: relative; z-index: 2; }
.dev__frame { position: absolute; inset: -18px; z-index: 1; border-radius: calc(var(--radius-lg) + 10px); border: 1.5px solid rgba(110, 168, 255, .35); }
.dev__frame::before, .dev__frame::after { content: ""; position: absolute; width: 46px; height: 46px; border: 1.5px solid rgba(110, 168, 255, .5); }
.dev__frame::before { top: -23px; left: -23px; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; transform: rotate(0deg); }
.dev__frame::after { bottom: -23px; right: -23px; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.dev__star {
  position: absolute; top: -34px; right: -30px; z-index: 3; width: 56px; height: 56px;
  background: url("/assets/img/brand/emblem-official.webp") center / contain no-repeat;
  opacity: .9; filter: drop-shadow(0 0 14px rgba(110, 168, 255, .45));
  animation: slowspin 24s linear infinite;
}
@keyframes slowspin { to { transform: rotate(360deg); } }
.dev__name { font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 6px; }
.dev__role { color: #6ea8ff; font-weight: 600; font-family: var(--font-head); font-size: 16.5px; margin-bottom: 18px; }
.dev__bio { max-width: 560px; }
.dev__skills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.dev__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   SOLUTIONS (illustrative concepts)
   ========================================================================== */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol-card {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line-dark);
  display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.sol-card:hover { transform: translateY(-6px); border-color: rgba(0, 89, 219, .45); box-shadow: 0 26px 60px rgba(0, 12, 34, .55); }
.sol-card__viz { position: relative; aspect-ratio: 16 / 9.5; border-bottom: 1px solid var(--line-dark); background: linear-gradient(160deg, #101a2c, #0b1220); display: grid; place-items: center; overflow: hidden; }
.sol-card__viz::before { content: ""; position: absolute; inset: 0; background-image: var(--star-tile); background-size: 72px; opacity: .05; }
.sol-card__viz img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sol-card__viz .sol-tag { z-index: 2; }
.sol-card__viz i { font-size: 52px; color: #6ea8ff; }
.sol-card__viz .sol-tag { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffd166; background: rgba(9, 13, 20, .75); border: 1px solid rgba(255, 209, 102, .35); padding: 4px 12px; border-radius: 999px; }
.sol-card__body { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sol-card__body h3 { font-size: 20px; }
.sol-card__body p { font-size: 14.5px; flex: 1; }
.sol-card__body .svc__link { margin-top: 6px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.faq-card {
  position: relative; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); overflow: hidden;
  background: var(--grad-brand); box-shadow: var(--shadow-card);
}
.faq-card::before { content: ""; position: absolute; inset: 0; background-image: var(--star-tile); opacity: .07; }
.faq-card::after { content: ""; position: absolute; top: -90px; right: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(0, 89, 219, .35); filter: blur(48px); }
.faq-card > * { position: relative; z-index: 2; }
.faq-card h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 12px; }
.faq-card p { color: rgba(232, 238, 246, .82); }
.faq-card .btn { margin-top: 26px; background: #fff; color: var(--royal); box-shadow: 0 12px 30px rgba(0, 10, 30, .35); }
.faq-card .btn:hover { box-shadow: 0 18px 44px rgba(0, 10, 30, .5); }
.faq-card__mail { display: block; margin-top: 18px; font-size: 14px; color: rgba(232, 238, 246, .75); }
.faq-card__mail:hover { color: #fff; }

.acc { display: grid; gap: 14px; }
.acc__item { border: 1px solid var(--line-dark); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color .3s var(--ease); }
.acc__item:hover, .acc__item.open { border-color: rgba(0, 89, 219, .45); }
.acc__btn {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: none; border: 0; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--text-light);
}
.acc__btn i.ic { font-size: 21px; color: #6ea8ff; flex: none; }
.acc__btn .chev { margin-left: auto; flex: none; transition: transform .35s var(--ease); color: #7f92ab; }
.acc__item.open .chev { transform: rotate(180deg); color: #6ea8ff; }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc__panel p { padding: 0 22px 22px 59px; font-size: 15px; }
.acc__panel strong { color: #cfe0ff; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line-dark); transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-6px); border-color: rgba(0, 89, 219, .45); box-shadow: 0 26px 60px rgba(0, 12, 34, .55); }
.post-card__img { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__cat {
  position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(9, 13, 20, .78); border: 1px solid rgba(110, 168, 255, .4); color: #9cc2ff;
  padding: 5px 13px; border-radius: 999px; backdrop-filter: blur(8px);
}
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { display: flex; gap: 14px; font-size: 12.5px; color: #7f92ab; }
.post-card__meta i { margin-right: 5px; }
.post-card h3 { font-size: 18.5px; line-height: 1.3; }
.post-card h3 a:hover { color: #9cc2ff; }
.post-card p { font-size: 14px; flex: 1; }
.post-card .svc__link { font-size: 14px; }

/* featured post */
.post-feat { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); background: var(--surface); margin-bottom: 26px; }
.post-feat__img { position: relative; min-height: 300px; }
.post-feat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-feat__body { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.post-feat__body h3 { font-size: clamp(22px, 2.6vw, 30px); }
.post-feat__body h3 a:hover { color: #9cc2ff; }
.post-feat__body p { font-size: 15.5px; }

/* blog toolbar */
.blog-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); color: #aebfd6;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: rgba(0, 89, 219, .5); color: #fff; }
.chip.active { background: var(--grad-accent); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(0, 89, 219, .35); }
.blog-search { position: relative; flex: 1; min-width: 230px; max-width: 340px; }
.blog-search input {
  width: 100%; padding: 12px 18px 12px 44px; border-radius: 999px; font: inherit; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line-dark); color: var(--text-light);
}
.blog-search input:focus { border-color: var(--electric); outline: none; box-shadow: 0 0 0 3px rgba(0, 89, 219, .22); }
.blog-search i { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: #7f92ab; }
.blog-empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 15px; }

/* article page */
.article { position: relative; }
.article__hero { position: relative; padding-top: calc(var(--nav-h) + 80px); padding-bottom: 54px; overflow: hidden; }
.article__hero-img { position: absolute; inset: 0; }
.article__hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.article__hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 13, 20, .55) 0%, rgba(9, 13, 20, .82) 60%, var(--ink) 100%); }
.article__head { position: relative; z-index: 2; max-width: 820px; }
.article__head h1 { font-size: clamp(30px, 4.6vw, 52px); margin: 16px 0 18px; }
.article__head .lead { max-width: 700px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: #8fa2ba; margin-top: 20px; }
.article__meta i { margin-right: 6px; color: #6ea8ff; }
.article__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 34px); border: 1px solid var(--line-dark); border-radius: 16px; background: var(--surface); padding: 22px; }
.toc h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #7f92ab; margin-bottom: 14px; }
.toc ol { list-style: none; display: grid; gap: 4px; counter-reset: toc; }
.toc a { display: block; font-size: 13.5px; color: var(--muted); padding: 7px 10px; border-radius: 9px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.active { color: #9cc2ff; background: rgba(0, 89, 219, .1); border-left-color: var(--electric); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 52px 0 16px; scroll-margin-top: calc(var(--nav-h) + 30px); }
.prose h3 { font-size: 21px; margin: 36px 0 12px; scroll-margin-top: calc(var(--nav-h) + 30px); }
.prose p { margin-bottom: 18px; font-size: 16.5px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--electric); }
.prose strong { color: #dbe6f5; }
.prose a { color: #6ea8ff; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #9cc2ff; }
.prose blockquote {
  margin: 26px 0; padding: 20px 26px; border-left: 3px solid var(--electric); border-radius: 0 14px 14px 0;
  background: rgba(0, 89, 219, .07); color: #c9d8ec; font-style: italic;
}
.prose code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .88em;
  background: rgba(0, 89, 219, .14); color: #9cc2ff; padding: 2px 7px; border-radius: 6px;
}
.prose pre {
  margin: 24px 0; padding: 22px 24px; border-radius: 16px; overflow-x: auto; position: relative;
  background: #0a1019; border: 1px solid var(--line-dark); line-height: 1.7;
}
.prose pre code { background: none; color: #c3d2e6; padding: 0; font-size: 13.5px; }
.prose pre .c { color: #62748d; } .prose pre .k { color: #6ea8ff; } .prose pre .s { color: #8fd3a7; } .prose pre .f { color: #ffd166; }
.prose .takeaways { border: 1px solid rgba(0, 89, 219, .35); background: rgba(0, 89, 219, .07); border-radius: 16px; padding: 24px 28px; margin: 34px 0; }
.prose .takeaways h3 { margin-top: 0; color: #9cc2ff; }
.article__foot { margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.share-row { display: flex; gap: 10px; align-items: center; }
.share-row span { font-size: 13.5px; color: #7f92ab; }
.share-row a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: #aebfd6;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line-dark);
}
.share-row a:hover { background: var(--grad-accent); color: #fff; border-color: transparent; }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 24px; border: 1px solid var(--line-dark); border-radius: 18px; background: var(--surface); }
.author-box img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(110, 168, 255, .5); }
.author-box b { font-family: var(--font-head); font-size: 17px; color: var(--white); display: block; }
.author-box span { font-size: 13px; color: #7f92ab; }
.author-box a { margin-left: auto; }
.local-note { font-size: 12px; color: #62748d; margin-top: 10px; }
.related { margin-top: 64px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(26px, 4vw, 54px); align-items: stretch; }
.contact-info {
  position: relative; border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 44px); overflow: hidden;
  background: var(--grad-brand); display: flex; flex-direction: column; gap: 26px; box-shadow: var(--shadow-card);
}
.contact-info::before { content: ""; position: absolute; inset: 0; background-image: var(--star-tile); opacity: .06; }
.contact-info::after { content: ""; position: absolute; bottom: -110px; right: -110px; width: 300px; height: 300px; border-radius: 50%; background: rgba(0, 89, 219, .3); filter: blur(52px); }
.contact-info > * { position: relative; z-index: 2; }
.contact-info h2 { font-size: clamp(26px, 3vw, 36px); }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-item i { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; font-size: 20px; color: #cfe0ff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.ci-item b { display: block; font-family: var(--font-head); font-size: 15px; color: #fff; margin-bottom: 2px; }
.ci-item a, .ci-item span { font-size: 14.5px; color: rgba(232, 238, 246, .8); }
.ci-item a:hover { color: #fff; }
.contact-social { display: flex; gap: 11px; margin-top: auto; }
.contact-social a {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 19px; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); transition: all .3s var(--ease);
}
.contact-social a:hover { background: #fff; color: var(--royal); transform: translateY(-3px); }

.form-card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-dark); padding: clamp(28px, 3.4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .field--full { grid-column: span 2; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: #c3d2e6; margin-bottom: 8px; }
.field label .req { color: #6ea8ff; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 17px; border-radius: 13px; font: inherit; font-size: 15px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line-dark); color: var(--text-light);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--electric); box-shadow: 0 0 0 3px rgba(0, 89, 219, .22); }
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: 12px; color: #62748d; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #ff6b6b; }
.field .err { display: none; font-size: 12.5px; color: #ff8787; margin-top: 6px; }
.field.invalid .err { display: block; }
.form-note { font-size: 12.5px; color: #62748d; margin-top: 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 15px 20px; border-radius: 13px; font-size: 14.5px; }
.form-status.ok { display: block; background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .35); color: #7ce6a5; }
.form-status.fail { display: block; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .35); color: #ff9c9c; }
.btn[disabled] { opacity: .65; pointer-events: none; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta { position: relative; overflow: hidden; text-align: center; }
.final-cta .star-mark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(300px, 44vw, 560px); height: clamp(300px, 44vw, 560px);
  background: url("/assets/img/brand/emblem-watermark.webp") center / contain no-repeat;
  opacity: .07; pointer-events: none; user-select: none;
}
.final-cta h2 { font-size: clamp(32px, 5vw, 58px); max-width: 860px; margin-inline: auto; }
.final-cta .lead { margin: 18px auto 36px; }
.final-cta__mail { display: block; margin-top: 22px; font-size: 15px; color: #8fa2ba; }
.final-cta__mail:hover { color: #9cc2ff; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: linear-gradient(180deg, #071019 0%, #050a12 100%); border-top: 1px solid var(--line-dark); overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0; background-image: var(--star-tile); opacity: .028; }
.footer__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 54px); padding-block: clamp(54px, 7vw, 84px); }
.footer img.footer-logo { height: 44px; width: auto; margin-bottom: 20px; }
.footer__desc { font-size: 14.5px; max-width: 320px; margin-bottom: 22px; }
.footer__mails a { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 9px; }
.footer__mails a i { color: #6ea8ff; font-size: 16px; }
.footer__mails a:hover { color: #fff; }
.footer h5 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; border-radius: 2px; background: var(--grad-accent); }
.footer__links { list-style: none; display: grid; gap: 11px; }
.footer__links a { font-size: 14.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.footer__links a i { font-size: 13px; color: #4d6f9e; transition: transform .3s var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__links a:hover i { transform: translateX(4px); color: #6ea8ff; }
.footer__hours { font-size: 13.5px; color: var(--muted); border-left: 3px solid var(--blue); padding: 12px 16px; border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, .03); margin-bottom: 20px; }
.footer__hours b { color: #c3d2e6; display: block; font-size: 14px; }
.footer__bottom { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.footer__bottom p { font-size: 13.5px; color: #62748d; }
.footer__bottom i { color: #ff5f57; }
.footer__bottom a { color: #62748d; font-size: 13.5px; }
.footer__bottom a:hover { color: #9cc2ff; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + 90px); padding-bottom: clamp(54px, 7vw, 90px); overflow: hidden; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 64px); margin-bottom: 18px; }
.page-hero .lead { margin-inline: auto; }
.breadcrumb { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; color: #7f92ab; margin-top: 26px; }
.breadcrumb a:hover { color: #9cc2ff; }
.breadcrumb i { font-size: 12px; }

/* ==========================================================================
   MISC — 404, dividers, cookie, scrolltop, reveal
   ========================================================================== */
.err-404 { text-align: center; }
.err-404__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(110px, 22vw, 230px); line-height: 1; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-404__star {
  width: 54px; height: 54px; margin: 0 auto 10px;
  background: url("/assets/img/brand/emblem-official.webp") center / contain no-repeat;
  filter: drop-shadow(0 0 16px rgba(110, 168, 255, .5));
}

.divider-geo { height: 1px; background: linear-gradient(90deg, transparent, rgba(110, 168, 255, .35), transparent); position: relative; }
.divider-geo::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  background-color: rgba(110, 168, 255, .7);
  -webkit-mask: url("/assets/img/brand/emblem-official.webp") center / contain no-repeat;
  mask: url("/assets/img/brand/emblem-official.webp") center / contain no-repeat;
}

.scroll-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-size: 19px; color: #fff; background: var(--grad-accent);
  box-shadow: var(--shadow-glow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--ease); border: 0;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: none; }

.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 1500; max-width: 640px; margin-inline: auto;
  display: none; gap: 18px; align-items: center; flex-wrap: wrap;
  background: rgba(13, 21, 32, .96); border: 1px solid rgba(110, 168, 255, .3); border-radius: 20px;
  padding: 20px 24px; box-shadow: 0 30px 80px rgba(0, 8, 24, .8); backdrop-filter: blur(16px);
}
.cookie-banner.show { display: flex; animation: cookieup .45s var(--ease); }
@keyframes cookieup { from { transform: translateY(24px); opacity: 0; } }
.cookie-banner p { font-size: 13.5px; color: #c3d2e6; flex: 1; min-width: 220px; }
.cookie-banner p a { color: #6ea8ff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 9px 18px; font-size: 13.5px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 60ms; } .reveal[data-delay="2"] { transition-delay: 120ms; }
.reveal[data-delay="3"] { transition-delay: 180ms; } .reveal[data-delay="4"] { transition-delay: 240ms; }
.reveal[data-delay="5"] { transition-delay: 300ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .dev { grid-template-columns: 1fr; text-align: center; }
  .dev__bio, .dev__cta, .dev__skills, .tech-row { justify-content: center; margin-inline: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .article__layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .post-feat { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .nav__menu, .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .process::before { display: none; }
  .why-grid, .sol-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card:nth-child(even) { transform: none; }
  .why-card:nth-child(even):hover { transform: translateY(-8px); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .why-grid, .sol-grid, .blog-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field--full { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .mock__stats { grid-template-columns: 1fr 1fr; }
  .hero__bigtype { display: none; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
}

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

/* ---------- Print ---------- */
@media print {
  .nav-wrap, .mobile-menu, .scroll-top, .cookie-banner, .footer { display: none !important; }
  body { background: #fff; color: #000; }
}
