/* =========================================================
   MLEXA — Design System v1-2
   Bento-driven, asymmetric, e-commerce/digital-agency identity
   Type: Syne (display) + DM Sans (body) + JetBrains Mono (data/labels)
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* brand core (approved) */
  --navy: #060F3C;
  --navy-2: #0A1857;
  --ink: #04081B;
  --blue: #1A56F0;
  --blue-dark: #0C3BBF;
  --blue-light: #4C7DFF;
  --light-blue: #E8EFFE;
  --cream: #F4F3F0;
  --white: #FFFFFF;

  /* signal accents — bento color-blocking, not gradients */
  --lime: #D9FF3F;
  --lime-ink: #1B2200;
  --coral: #FF5A3C;
  --green: #0EA875;
  --orange: #F0A020;
  --purple: #5A4BB8;

  --text-dark: #0D1117;
  --text-muted: #62677A;

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --r-lg: 26px;
  --r-md: 16px;
  --r-sm: 10px;

  --container: 1240px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  cursor: default;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }
svg { display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ===== GRAIN OVERLAY ===== */
.grain {
  position: fixed; inset: 0; z-index: 2;
  pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a, button { cursor: pointer; }

/* ===== SCROLL PROGRESS ===== */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--blue));
  z-index: 999; transform-origin: left; transform: scaleX(0);
}

/* ===== ANIMATIONS ===== */
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(0deg); } 33% { transform: translateY(-14px) rotate(1.5deg); } 66% { transform: translateY(-6px) rotate(-1deg); } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes highlightGrow { from { transform: rotate(-1.4deg) scaleX(0); } to { transform: rotate(-1.4deg) scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInSoft { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleInSoft { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .06s; } .reveal-d2 { transition-delay: .12s; }
.reveal-d3 { transition-delay: .18s; } .reveal-d4 { transition-delay: .24s; } .reveal-d5 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001s !important; }
}

/* ===== EYEBROW ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--blue); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--lime); border-radius: 2px; transform: rotate(45deg); flex-shrink: 0; }
.eyebrow span.slash { opacity: .45; }
section.on-dark .eyebrow { color: var(--lime); }

.section-head { max-width: 640px; }
.section-title { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--text-muted); line-height: 1.65; }
section.on-dark .section-title { color: var(--white); }
section.on-dark .section-sub { color: rgba(255,255,255,0.5); }
.section-head.center { margin: 0 auto; text-align: center; }

/* ===== SECTION BACKDROPS ===== */
section.bg-navy { background: var(--navy); color: var(--white); }
section.bg-cream { background: var(--cream); }
section.bg-blue-tint { background: var(--light-blue); }
section.bg-white { background: var(--white); }
.has-orbs { position: relative; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 15px 28px; border-radius: 100px; border: none;
  cursor: pointer; text-decoration: none; position: relative;
  transition: transform .25s var(--ease-spring), box-shadow .25s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease-spring); }
.btn--primary { background: var(--lime); color: var(--ink); box-shadow: 0 6px 0 var(--navy); }
.btn--primary:hover { transform: translate(-2px,-3px); box-shadow: 4px 9px 0 var(--navy); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(6,15,60,0.35); }
.btn--outline { background: transparent; border: 1.5px solid rgba(13,17,23,0.18); color: var(--text-dark); }
.btn--outline.on-dark { border-color: rgba(255,255,255,0.25); color: var(--white); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--outline.on-dark:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.btn--ghost { background: rgba(26,86,240,0.12); color: var(--blue-light); border: 1px solid rgba(26,86,240,0.3); }
.btn--ghost:hover { background: rgba(26,86,240,0.2); color: var(--white); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 11px 20px; font-size: 13.5px; }

/* ===== LOGO ===== */
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; background: var(--blue); border-radius: 11px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  position: relative; overflow: hidden; transform: rotate(-4deg);
  transition: transform .35s var(--ease-spring);
}
.logo:hover .logo-mark { transform: rotate(2deg) scale(1.06); }
.logo-mark::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 60%); }
.logo-mark svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.logo-bilingual { display: flex; align-items: baseline; gap: 7px; }
.logo-ru { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--white); letter-spacing: 0.03em; }
.logo-divider { color: var(--lime); font-size: 9px; opacity: 0.65; line-height: 1; align-self: center; }
.logo-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; }
.logo-subtitles { display: flex; align-items: center; gap: 6px; }
.logo-ru-tag { font-family: var(--font-mono); font-size: 8px; color: rgba(255,255,255,0.38); letter-spacing: 0.13em; text-transform: uppercase; }
.logo-subdot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--lime); opacity: 0.45; flex-shrink: 0; }
.logo-tag { font-family: var(--font-mono); font-size: 8px; color: rgba(255,255,255,0.28); letter-spacing: 0.13em; text-transform: uppercase; }

/* ===== NAV ===== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0; transition: background .4s, padding .4s, box-shadow .4s;
}
.site-nav.is-scrolled {
  background: rgba(6,15,60,0.88); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07), 0 8px 32px rgba(0,0,0,0.3); padding: 13px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.62);
  text-decoration: none; position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; right: 0; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--white); }
.nav-links a.is-active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; width: 38px; height: 38px; border: none; background: rgba(255,255,255,0.08); border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 1.6px; background: var(--white); transition: transform .25s, opacity .25s; }

/* ===== HERO (home only) ===== */
.hero { min-height: 100vh; background: var(--navy); position: relative; display: flex; align-items: center; overflow: hidden; padding: 130px 0 90px; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%); }
.hero .orb-1 { width: 520px; height: 520px; background: rgba(26,86,240,0.2); top: -120px; right: -120px; animation: floatY 9s ease-in-out infinite; }
.hero .orb-2 { width: 320px; height: 320px; background: rgba(217,255,63,0.08); bottom: -40px; left: 6%; animation: floatY 12s ease-in-out infinite reverse; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-tag-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(217,255,63,0.1); border: 1px solid rgba(217,255,63,0.3); border-radius: 100px; padding: 7px 16px 7px 12px; margin-bottom: 30px; font-family: var(--font-mono); font-size: 12px; color: var(--lime); animation: fadeInSoft .8s var(--ease-out) .15s both; }
.hero-dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; position: relative; }
.hero-dot::after { content: ''; position: absolute; inset: -3px; background: var(--lime); border-radius: 50%; opacity: .5; animation: pulseRing 2s ease-out infinite; }
.hero h1 { font-size: clamp(38px, 5vw, 62px); color: var(--white); margin-bottom: 26px; animation: fadeUp .9s var(--ease-out) .3s both; }
.hero h1 .hl { position: relative; display: inline-block; color: var(--ink); padding: 0 10px; }
.hero h1 .hl::before { content: ''; position: absolute; inset: 4px -2px; background: var(--lime); z-index: -1; border-radius: 6px; transform-origin: left; animation: highlightGrow .6s var(--ease-out) 1.1s both; }
.hero p.lede { font-size: 18.5px; color: rgba(255,255,255,0.55); max-width: 480px; margin-bottom: 40px; line-height: 1.7; animation: fadeUp .9s var(--ease-out) .46s both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp .9s var(--ease-out) .6s both; }

.hero-visual { position: relative; animation: scaleInSoft 1s var(--ease-out) .5s both; }
.hero-badge {
  position: absolute; top: -22px; right: 4%; z-index: 2;
  background: var(--white); border-radius: 16px; padding: 14px 18px;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--navy);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35); transform: rotate(-3deg);
  animation: floatY 6s ease-in-out infinite;
}
.hero-badge small { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 400; color: var(--text-muted); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .06em; }
.hero-stack { background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-lg); padding: 22px; backdrop-filter: blur(14px); box-shadow: 0 32px 64px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.06); }
.hero-stack-label { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; padding-left: 2px; }
.hero-row { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 13px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); margin-bottom: 10px; transition: transform .3s var(--ease-spring), background .2s, border-color .2s; }
.hero-row:last-child { margin-bottom: 0; }
.hero-row:hover { transform: translateX(5px); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.hero-row-ic { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-row-ic svg { width: 20px; height: 20px; }
.ic-lime { background: rgba(217,255,63,0.18); color: var(--lime); }
.ic-blue { background: rgba(26,86,240,0.22); color: #87a8ff; }
.ic-coral { background: rgba(255,90,60,0.18); color: var(--coral); }
.hero-row-text p { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.hero-row-text strong { font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; color: var(--white); }

/* ===== MARQUEE ===== */
.marquee-strip { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; padding: 0 28px; font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,0.42); white-space: nowrap; }
.marquee-item b { color: var(--lime); font-weight: 500; }

/* ===== STATS ===== */
.stats-band { background: var(--light-blue); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stat { text-align: center; padding: 32px 22px; position: relative; }
.stat::after { content: ''; position: absolute; right: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(26,86,240,0.14); }
.stat:last-child::after { display: none; }
.stat-num { font-family: var(--font-mono); font-size: 46px; font-weight: 600; color: var(--blue); line-height: 1; margin-bottom: 10px; letter-spacing: -0.01em; }
.stat-label { font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }

/* ===== BENTO GRID (services) ===== */
.section--services { padding: 100px 0; background: var(--white); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 52px; }
.bento__cell {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: 32px; border: 1px solid rgba(13,17,23,0.08);
  transition: transform .35s var(--ease-spring), box-shadow .35s;
  cursor: default; background: var(--white);
}
.bento__cell.s2 { grid-column: span 2; } .bento__cell.s3 { grid-column: span 3; }
.bento__cell.s4 { grid-column: span 4; } .bento__cell.s6 { grid-column: span 6; }
.bento__cell .cell-num { position: absolute; bottom: -22px; right: -8px; font-family: var(--font-display); font-size: 130px; font-weight: 800; line-height: 1; pointer-events: none; transform: rotate(-7deg); opacity: .06; color: var(--ink); }
/* Color variants */
.bento__cell--navy { background: var(--navy); color: var(--white); border-color: transparent; }
.bento__cell--navy .cell-num { color: var(--white); opacity: .08; }
.bento__cell--navy .cell-icon { background: rgba(255,255,255,0.1); }
.bento__cell--navy .cell-icon svg { color: var(--lime); }
.bento__cell--navy p { color: rgba(255,255,255,0.55); }
.bento__cell--navy .ctag { background: rgba(217,255,63,0.16); color: var(--lime); }

.bento__cell--lime { background: var(--lime); color: var(--ink); border-color: transparent; }
.bento__cell--lime .cell-num { color: var(--ink); opacity: .1; }
.bento__cell--lime .cell-icon { background: rgba(4,8,27,0.1); }
.bento__cell--lime .cell-icon svg { color: var(--ink); }
.bento__cell--lime p { color: rgba(27,34,0,0.7); }
.bento__cell--lime .ctag { background: rgba(4,8,27,0.1); color: var(--ink); }

/* NEW: coral card */
.bento__cell--coral { background: var(--coral); color: var(--white); border-color: transparent; }
.bento__cell--coral .cell-num { color: var(--white); opacity: .07; }
.bento__cell--coral .cell-icon { background: rgba(255,255,255,0.18); }
.bento__cell--coral .cell-icon svg { color: var(--white); }
.bento__cell--coral p { color: rgba(255,255,255,0.7); }
.bento__cell--coral .ctag { background: rgba(255,255,255,0.2); color: var(--white); }
.bento__cell--coral .cell-eyebrow { color: rgba(255,255,255,0.6); }
.bento__cell--coral h3 { color: var(--white); }

/* NEW: blue card */
.bento__cell--blue { background: var(--blue); color: var(--white); border-color: transparent; }
.bento__cell--blue .cell-num { color: var(--white); opacity: .07; }
.bento__cell--blue .cell-icon { background: rgba(255,255,255,0.18); }
.bento__cell--blue .cell-icon svg { color: var(--white); }
.bento__cell--blue p { color: rgba(255,255,255,0.7); }
.bento__cell--blue .ctag { background: rgba(255,255,255,0.2); color: var(--white); }
.bento__cell--blue .cell-eyebrow { color: rgba(255,255,255,0.6); }
.bento__cell--blue h3 { color: var(--white); }

.bento__cell--cream { background: var(--cream); border-color: transparent; }
.bento__cell:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: 0 20px 44px rgba(6,15,60,0.12); }
.cell-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--light-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; position: relative; z-index: 1; }
.cell-icon svg { width: 22px; height: 22px; color: var(--blue); }
.cell-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; margin-bottom: 14px; opacity: .55; position: relative; z-index: 1; }
.bento__cell h3 { font-size: 20px; margin-bottom: 10px; position: relative; z-index: 1; }
.bento__cell p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; position: relative; z-index: 1; max-width: 46ch; }
.cell-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; position: relative; z-index: 1; }
.ctag { font-family: var(--font-mono); font-size: 11.5px; padding: 5px 11px; border-radius: 7px; background: rgba(26,86,240,0.1); color: var(--blue-dark); }

/* ===== SERVICE DETAIL SECTION ===== */
.section--service-detail { padding: 80px 0; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 52px; }
.service-detail-item { padding: 32px; border-radius: var(--r-lg); border: 1px solid rgba(13,17,23,0.07); background: var(--white); transition: box-shadow .3s; }
.service-detail-item:hover { box-shadow: 0 12px 36px rgba(6,15,60,0.08); }
.service-detail-num { font-family: var(--font-mono); font-size: 11px; color: var(--blue); letter-spacing: 0.08em; margin-bottom: 12px; }
.service-detail-item h3 { font-size: 22px; margin-bottom: 12px; }
.service-detail-item p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feat-list li { font-size: 13.5px; color: var(--text-muted); display: flex; align-items: flex-start; gap: 8px; }
.feat-list li::before { content: ''; width: 6px; height: 6px; background: var(--lime); border-radius: 2px; transform: rotate(45deg); flex-shrink: 0; margin-top: 5px; }

/* ===== CASES ===== */
.section--cases { background: var(--navy); padding: 100px 0; position: relative; overflow: hidden; }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; }
.cases-grid.single { grid-template-columns: 1fr; }
.case-card { background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-lg); padding: 38px; position: relative; overflow: hidden; transition: transform .35s var(--ease-spring), border-color .3s; cursor: default; }
.case-card:hover { transform: translateY(-7px); border-color: rgba(217,255,63,0.35); }
.case-ghost { position: absolute; top: 22px; right: 28px; font-family: var(--font-display); font-size: 76px; font-weight: 800; color: rgba(255,255,255,0.04); line-height: 1; pointer-events: none; }
.case-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; background: rgba(217,255,63,0.12); color: var(--lime); padding: 6px 13px; border-radius: 100px; margin-bottom: 22px; }
.case-card h3 { font-size: 22px; color: var(--white); margin-bottom: 13px; max-width: 24ch; }
.case-card p { font-size: 14.5px; color: rgba(255,255,255,0.46); margin-bottom: 28px; line-height: 1.7; max-width: 46ch; }
.case-results { display: flex; gap: 32px; flex-wrap: wrap; }
.case-result { position: relative; padding-left: 16px; }
.case-result::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 2px; background: var(--lime); border-radius: 2px; }
.case-result-num { font-family: var(--font-mono); font-size: 26px; font-weight: 600; color: var(--white); line-height: 1; margin-bottom: 4px; }
.case-result-label { font-size: 11.5px; color: rgba(255,255,255,0.42); }
.cases-cta { text-align: center; margin-top: 48px; }

/* ===== CASE FILTERS ===== */
.case-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.case-filter { font-family: var(--font-mono); font-size: 12px; padding: 8px 18px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.5); background: transparent; cursor: pointer; transition: all .2s; }
.case-filter:hover, .case-filter.is-active { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* ===== USP / ABOUT ===== */
.section--usp { background: var(--cream); padding: 100px 0; }
.usp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.usp-list { display: flex; flex-direction: column; gap: 26px; margin-top: 36px; }
.usp-point { display: flex; gap: 16px; }
.usp-ic { width: 30px; height: 30px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.usp-ic svg { width: 14px; height: 14px; color: var(--lime); }
.usp-point h4 { font-size: 16px; margin-bottom: 6px; }
.usp-point p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.int-panel { background: var(--white); border-radius: var(--r-lg); padding: 34px; border: 1px solid rgba(13,17,23,0.08); box-shadow: 0 18px 50px rgba(6,15,60,0.07); transform: rotate(0.6deg); }
.int-group { margin-bottom: 22px; } .int-group:last-child { margin-bottom: 0; }
.int-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.int-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.int-pill { font-family: var(--font-mono); font-size: 12px; padding: 7px 13px; border-radius: 9px; background: var(--light-blue); color: var(--blue-dark); border: 1px solid rgba(26,86,240,0.1); transition: transform .25s var(--ease-spring), background .2s; cursor: default; }
.int-pill:hover { background: rgba(26,86,240,0.14); transform: translateY(-2px) rotate(-1deg); }
.int-panel--wide { max-width: none; transform: none; margin-top: 40px; }
.int-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ===== ABOUT-specific ===== */
.about-stack { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.about-card { background: var(--navy); color: var(--white); border-radius: var(--r-lg); padding: 38px; position: relative; overflow: hidden; }
.about-card .cell-num { position: absolute; bottom: -30px; right: -10px; font-family: var(--font-display); font-size: 160px; font-weight: 800; color: var(--white); opacity: .06; line-height: 1; transform: rotate(-6deg); }
.about-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; position: relative; z-index: 1; }
.about-meta { background: rgba(255,255,255,0.06); border-radius: 14px; padding: 18px; border: 1px solid rgba(255,255,255,0.08); }
.about-meta .num { font-family: var(--font-mono); font-size: 26px; color: var(--lime); font-weight: 600; }
.about-meta .lbl { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.value-list { display: flex; flex-direction: column; gap: 18px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: var(--white); border-radius: 16px; border: 1px solid rgba(13,17,23,0.07); }
.value-num { font-family: var(--font-mono); color: var(--blue); font-weight: 600; font-size: 14px; flex-shrink: 0; }
.value-item h4 { font-size: 15.5px; margin-bottom: 5px; }
.value-item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* ===== ABOUT TIMELINE ===== */
.section--timeline { background: var(--navy); padding: 100px 0; position: relative; overflow: hidden; }
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 52px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.08); }
.timeline-item { display: flex; gap: 32px; align-items: flex-start; padding-bottom: 44px; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { width: 54px; height: 54px; border-radius: 50%; background: var(--navy-2); border: 1.5px solid rgba(26,86,240,0.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--lime); position: relative; z-index: 1; }
.timeline-content { padding-top: 14px; }
.timeline-year { font-family: var(--font-mono); font-size: 11px; color: var(--lime); opacity: 0.7; margin-bottom: 6px; letter-spacing: 0.08em; }
.timeline-content h4 { font-size: 17px; color: var(--white); margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.65; max-width: 56ch; }

/* ===== PACKAGES ===== */
.section--packages { background: var(--light-blue); padding: 100px 0; }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.package { background: var(--white); border-radius: var(--r-lg); padding: 38px; border: 2px solid transparent; position: relative; overflow: hidden; transition: transform .35s var(--ease-spring), box-shadow .3s; cursor: default; }
.package:hover { transform: translateY(-8px); box-shadow: 0 26px 56px rgba(6,15,60,0.12); }
.package--popular { background: var(--navy); border-color: var(--lime); color: var(--white); }
.package--popular:hover { transform: translateY(-11px) rotate(-0.4deg); }
.popular-flag { position: absolute; top: 22px; right: -34px; background: var(--lime); color: var(--ink); font-family: var(--font-mono); font-size: 11px; font-weight: 500; padding: 5px 40px; transform: rotate(40deg); }
.package-name { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.package--popular .package-name { color: var(--lime); }
.package-price { font-family: var(--font-display); font-size: 34px; font-weight: 800; margin-bottom: 4px; }
.package-time { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-bottom: 26px; }
.package--popular .package-time { color: rgba(255,255,255,0.45); }
.package-desc { font-size: 13.5px; color: var(--text-muted); margin-bottom: 26px; line-height: 1.6; }
.package--popular .package-desc { color: rgba(255,255,255,0.5); }
.package-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.package-feats li { font-size: 14px; display: flex; align-items: center; gap: 10px; }
.package--popular .package-feats li { color: rgba(255,255,255,0.8); }
.package-feats li svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }
.package--popular .package-feats li svg { color: var(--lime); }

/* ===== PROCESS ===== */
.section--process { background: var(--white); padding: 100px 0; }
.process-rail { position: relative; margin-top: 60px; }
.process-line { position: absolute; top: 27px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(26,86,240,0.25) 12%, rgba(26,86,240,0.25) 88%, transparent); }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; z-index: 1; }
.process-step { text-align: center; }
.step-num { width: 54px; height: 54px; margin: 0 auto 20px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-mono); font-size: 17px; font-weight: 600; position: relative; transition: transform .35s var(--ease-spring), background .3s; cursor: default; }
.step-num::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(26,86,240,0.22); transition: transform .3s, border-color .3s; }
.process-step:hover .step-num { background: var(--blue); transform: scale(1.14) rotate(-4deg); }
.process-step:hover .step-num::before { transform: scale(1.18); border-color: rgba(217,255,63,0.5); }
.process-step h4 { font-size: 14.5px; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ===== CTA / FORM ===== */
.section--cta { background: var(--navy); padding: 100px 0; position: relative; overflow: hidden; }
.cta-inner { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(28px, 3.6vw, 46px); color: var(--white); margin-bottom: 14px; }
.cta-inner > p { font-size: 17px; color: rgba(255,255,255,0.5); margin-bottom: 44px; line-height: 1.6; }
.cta-form { display: flex; flex-direction: column; gap: 13px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 7px; letter-spacing: 0.05em; text-transform: uppercase; }
.cta-form input, .cta-form textarea {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 13px; padding: 15px 18px; color: var(--white); font-family: var(--font-body); font-size: 15px;
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,0.25); }
.cta-form input:focus, .cta-form textarea:focus { border-color: var(--lime); background: rgba(255,255,255,0.09); box-shadow: 0 0 0 3px rgba(217,255,63,0.15); }
.cta-form textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12px; color: rgba(255,255,255,0.28); text-align: center; margin-top: 6px; line-height: 1.5; }
.form-guarantees { display: flex; justify-content: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.form-guarantee { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,0.42); }
.form-guarantee svg { width: 14px; height: 14px; opacity: .7; }

/* contact page two-col layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; text-align: left; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; text-decoration: none; transition: transform .25s var(--ease-spring), background .2s; }
.contact-link:hover { transform: translateX(5px); background: rgba(255,255,255,0.08); }
.contact-link-ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(217,255,63,0.14); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-link-ic svg { width: 18px; height: 18px; color: var(--lime); }
.contact-link p { font-size: 11.5px; color: rgba(255,255,255,0.4); margin-bottom: 2px; }
.contact-link strong { font-family: var(--font-mono); font-size: 14.5px; color: var(--white); font-weight: 500; }

/* ===== FAQ ===== */
.section--faq { background: var(--cream); padding: 100px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 52px; max-width: 780px; }
.faq-item { background: var(--white); border-radius: var(--r-md); border: 1px solid rgba(13,17,23,0.07); overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; cursor: pointer; }
.faq-question h4 { font-size: 16px; font-weight: 700; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--light-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s var(--ease-out), background .2s; }
.faq-icon svg { width: 14px; height: 14px; color: var(--blue); transition: transform .3s; }
.faq-item.is-open .faq-icon { background: var(--navy); transform: rotate(180deg); }
.faq-item.is-open .faq-icon svg { color: var(--lime); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out), padding .3s; }
.faq-answer p { padding: 0 26px 22px; font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }
.faq-item.is-open .faq-answer { max-height: 300px; }

/* ===== PAGE HEADER (subpages) ===== */
.page-header { background: var(--navy); padding: 150px 0 76px; position: relative; overflow: hidden; }
.page-header .orb-1 { width: 480px; height: 480px; background: rgba(26,86,240,0.16); top: -100px; right: -80px; }
.page-header .crumb { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.page-header .crumb a { color: rgba(255,255,255,0.6); text-decoration: none; } .page-header .crumb a:hover { color: var(--lime); }
.page-header h1 { font-size: clamp(34px, 4.6vw, 56px); color: var(--white); max-width: 720px; }
.page-header p { font-size: 17px; color: rgba(255,255,255,0.5); max-width: 540px; margin-top: 18px; line-height: 1.65; }
.page-header-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); padding: 56px 0 36px; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 56px; margin-bottom: 48px; align-items: start; }
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,0.35); margin-top: 16px; line-height: 1.65; max-width: 270px; }
.footer-col-title { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.52); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.22); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-badge { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2)::after { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__cell.s2, .bento__cell.s3, .bento__cell.s4, .bento__cell.s6 { grid-column: span 2; }
  .cases-grid { grid-template-columns: 1fr; }
  .usp-grid, .about-stack, .contact-grid, .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .int-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .process-line { display: none; }
  .packages-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(82vw, 340px); background: var(--navy); flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 36px; gap: 26px; transform: translateX(100%); transition: transform .4s var(--ease-out); z-index: 90; }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 18px; }
  .nav-toggle { display: flex; }
  .nav-right .btn--primary.nav-cta { display: none; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell.s2, .bento__cell.s3, .bento__cell.s4, .bento__cell.s6 { grid-column: span 1; }
  .form-row, .about-meta-grid { grid-template-columns: 1fr; }
  .int-grid-5 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat::after { display: none; }
  .case-results { gap: 22px; }
}
