/* =====================================================
   BLACATZ — Шаблон по дизайн
   Цветове и шрифтове са изведени като променливи —
   сменяте ги от едно място.
   ===================================================== */

/* Self-hosted Inter (variable) — no render-blocking Google Fonts */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-cyrillic.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy-900: #07142b;
  --navy-800: #0a1e3f;
  --navy-700: #0e2a55;
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-100: #dbeafe;
  --bg: #f5f8fc;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 40, 90, .07);
  --font: 'Inter', system-ui, sans-serif;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: rgba(37, 99, 235, .22); }
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open {
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  cursor: pointer;
  border: none;
}
.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(4px); }
.btn--lg {
  padding: 15px 28px;
  font-size: 15px;
  border-radius: 12px;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-600) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, .35), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, .45), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }

/* ===== Header ===== */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 20, 43, .97);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .2s ease, background .2s ease;
}
/* Блур ефектът само на десктоп — backdrop-filter създава containing block
   и чупи fixed позиционирането на мобилното меню */
@media (min-width: 769px) {
  .header-wrap {
    background: rgba(7, 20, 43, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}
.header-wrap.is-scrolled {
  box-shadow: 0 8px 32px rgba(7, 20, 43, .35);
  background: rgba(7, 20, 43, .95);
}
.header-wrap__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .5px;
  color: var(--white);
  flex-shrink: 0;
  transition: opacity .15s ease;
}
.logo:hover { opacity: .9; }
.logo__icon { font-size: 24px; }
.logo__text span { color: var(--blue-400); }
.logo__img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.logo--footer .logo__img { height: 32px; }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__link {
  position: relative;
  color: #9db0c9;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-radius: 0;
  transition: color .2s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav__link:hover,
.nav__link--active {
  color: var(--white);
  background: transparent;
}
.nav__link--active::after {
  transform: scaleX(1);
}
.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__dropdown {
  position: relative;
}
.nav__dropdown-head {
  display: flex;
  align-items: center;
}
.nav__dropdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: -2px;
  border: none;
  background: transparent;
  color: #9db0c9;
  border-radius: 6px;
  cursor: default;
  pointer-events: none;
  transition: color .2s ease;
}
.nav__dropdown:hover .nav__dropdown-btn,
.nav__dropdown--active .nav__dropdown-btn {
  color: var(--white);
}
.nav__chevron {
  transition: transform .2s ease;
  flex-shrink: 0;
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(7, 20, 43, .18);
  padding: 6px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 10;
}
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu,
.nav__dropdown.open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown:hover .nav__link,
.nav__dropdown--active .nav__link {
  color: var(--white);
  background: transparent;
}
.nav__dropdown:hover .nav__link::after,
.nav__dropdown--active .nav__link::after {
  transform: scaleX(1);
}
.nav__dropdown:hover .nav__chevron,
.nav__dropdown.open .nav__chevron {
  transform: rotate(180deg);
}
.nav__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.nav__menu a:hover {
  background: var(--blue-100);
  color: var(--blue-600);
}
.nav__menu-all {
  font-weight: 600 !important;
  color: var(--blue-600) !important;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
  border-radius: 8px 8px 0 0 !important;
}
.nav__menu-all:hover {
  background: var(--blue-100) !important;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.1);
}
.nav__cta-mobile { display: none; }

.header__cta {
  padding: 9px 18px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13.5px;
  border-radius: 9px;
  background: var(--blue-500);
  box-shadow: none;
}
.header__cta:hover {
  background: var(--blue-600);
  transform: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .3);
}

.nav-backdrop {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  transition: background .2s ease, border-color .2s ease;
}
.burger:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
}
.burger span {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.burger.open {
  background: rgba(37, 99, 235, .2);
  border-color: rgba(59, 130, 246, .35);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 480px at 78% 8%, rgba(37, 99, 235, .22), transparent 62%),
    radial-gradient(600px 320px at 8% 88%, rgba(29, 78, 216, .14), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding-top: 84px;
  padding-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, .16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 99px;
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(59, 130, 246, .32);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 22px;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .55);
  animation: badge-pulse 2.2s ease-out infinite;
}
@keyframes badge-pulse {
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hero__title {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hero__title span {
  background: linear-gradient(92deg, #60a5fa 0%, #3b82f6 55%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__desc {
  color: #a7b6cc;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 30px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 0;
  list-style: none;
}
.hero__trust li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
}
.hero__trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(59, 130, 246, .22);
  color: #93c5fd;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.g-logo {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: #4285F4;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.stars { color: #fbbf24; letter-spacing: 2px; }
.rating__note { color: #94a3b8; }

.hero__photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow:
    0 24px 60px rgba(0,0,0,.4),
    0 0 0 1px rgba(255,255,255,.12),
    0 0 80px rgba(37, 99, 235, .18);
}
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), transparent 55%);
  pointer-events: none;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background:
    radial-gradient(120px 60px at 65% 35%, rgba(251,191,36,.25), transparent 70%),
    linear-gradient(135deg, #11264d, #0a1830);
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
/* Котешки очи — декоративен плейсхолдър, докато добавите снимка */
.cat-eyes {
  position: absolute;
  top: 32%; left: 58%;
  width: 90px; height: 26px;
}
.cat-eyes::before, .cat-eyes::after {
  content: '';
  position: absolute;
  width: 30px; height: 22px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 55%, #0a1830 18%, #f59e0b 20%, #fbbf24 70%);
  box-shadow: 0 0 24px rgba(251,191,36,.6);
}
.cat-eyes::after { right: 0; }

/* ===== Clients strip ===== */
.clients {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  padding: 28px 0 32px;
  transform: translateY(48px);
  margin-top: -20px;
  overflow: hidden;
}
.clients__head {
  text-align: center;
  padding: 0 32px 22px;
}
.clients__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0;
}
.clients__marquee {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.clients__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: clients-marquee 50s linear infinite;
  padding: 6px 0;
  will-change: transform;
}
.clients__marquee:hover .clients__track {
  animation-play-state: paused;
}
@keyframes clients-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.clients__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 88px;
  padding: 0 4px;
}
.clients__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-decoration: none;
}
.clients__item img {
  max-height: 38px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.25s ease, transform 0.25s ease;
}
.clients__item a:hover img,
.clients__item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.06);
}
.clients__name {
  font-weight: 700;
  color: #475569;
  font-size: 15px;
  letter-spacing: 0.04em;
  opacity: 0.72;
  white-space: nowrap;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.clients__item a:hover .clients__name {
  opacity: 1;
  color: #0f172a;
}
@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 28px;
    gap: 20px 44px;
  }
  .clients__marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ===== Sections ===== */
.section { padding: 88px 0 56px; }
.section--why { padding-top: 40px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-500);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
}
.section__title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 40px;
  color: #0f172a;
  max-width: 720px;
}
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.section__head .section__title { margin-bottom: 16px; }

/* ===== Grid & Cards ===== */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #c7d7f5;
  box-shadow: 0 16px 40px rgba(15, 40, 90, .14);
}

/* ===== Services ===== */
.service { padding: 30px 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.service:hover::before { transform: scaleX(1); }
.service__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-100), #eff6ff);
  border: 1px solid #d6e4ff;
  color: var(--blue-500);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.service:hover .service__icon {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  border-color: var(--blue-600);
  color: var(--white);
}
.service__icon svg { width: 30px; height: 30px; }
.service h3 { font-size: 18px; margin-bottom: 10px; color: #0f172a; }
.service p { color: var(--text-muted); font-size: 14px; flex: 1; }
.service__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 12px;
}
.service__list li {
  margin: 0;
  padding: 0;
}
.service-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  margin: 0 -6px;
  box-sizing: border-box;
  border-radius: 8px;
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.service-sub-link__content {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.service-sub-link__bullet {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 5px;
  background: currentColor;
  border-radius: 50%;
}
.service-sub-link__label {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.service-sub-link__arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  opacity: .85;
  transition: transform .15s ease;
}
.service-sub-link__arrow svg {
  display: block;
}
.service-sub-link:hover {
  background: #eff6ff;
  color: var(--blue-600);
}
.service-sub-link:hover .service-sub-link__label {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.service-sub-link:hover .service-sub-link__arrow {
  transform: translateX(3px);
  opacity: 1;
}
.service-sub-link:active {
  background: var(--blue-100);
  color: var(--blue-600);
}
.service-sub-link:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 2px;
}
.service .link-more {
  margin-top: 20px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}
.link-more {
  color: var(--blue-500);
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
  display: inline-block;
  transition: color .15s ease;
}
.link-more:hover { text-decoration: underline; color: var(--blue-600); }
.link-more:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 2px;
  border-radius: 4px;
}
.link-more--light { color: #93c5fd; }
.link-more--light:hover { color: #bfdbfe; }

/* ===== Why / Stats ===== */
.why {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text);
}
.checklist li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--white);
  font-size: 11px;
  display: grid;
  place-items: center;
}
.why__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stat {
  padding: 30px 24px;
  text-align: center;
}
.stat svg {
  width: 38px; height: 38px;
  color: var(--blue-500);
  margin: 0 auto 12px;
}
.stat strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--text-muted); font-size: 13px; }

/* ===== Focus banner ===== */
.focus-banner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background:
    radial-gradient(520px 280px at 18% 20%, rgba(37, 99, 235, .28), transparent 62%),
    linear-gradient(120deg, var(--navy-900), var(--navy-800));
  border-radius: 16px;
  overflow: hidden;
  color: var(--white);
  box-shadow: 0 24px 56px rgba(7, 20, 43, .28);
}
.focus-banner__img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 24px 44px 44px;
}
.focus-banner__visual {
  width: 100%;
  max-width: 460px;
}
.focus-banner__text { padding: 40px; align-self: center; }
.focus-banner__text h3 { font-size: 23px; letter-spacing: -0.01em; margin-bottom: 12px; }
.focus-banner__text p { color: #a7b6cc; font-size: 15px; }

/* ===== Image placeholders ===== */
.img-placeholder {
  width: 100%; height: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, #dbe4f0, #b9c8dd);
  position: relative;
}
.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 20px 20px;
}
.img-placeholder--wide { min-height: 260px; }

/* ===== Team ===== */
.team-card { overflow: hidden; display: flex; flex-direction: column; }
.team-card__photo { position: relative; aspect-ratio: 1/1; }
.team-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__photo .img-placeholder { position: absolute; inset: 0; min-height: 0; }
.team-card__monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.team-card__monogram::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 22px 22px;
}
.team-card__monogram span {
  position: relative;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .94);
  text-shadow: 0 4px 18px rgba(7, 20, 43, .35);
}
.team-card__monogram--1 { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.team-card__monogram--2 { background: linear-gradient(135deg, #0e2a55, #1d4ed8); }
.team-card__monogram--3 { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.team-card__monogram--4 { background: linear-gradient(135deg, #172554, #2563eb); }
.badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, .94);
  color: var(--navy-800);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(7, 20, 43, .25);
}
.team-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.team-card__body h3 { font-size: 16px; color: #0f172a; }
.team-card__role { color: var(--blue-500); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.team-card__body p { color: var(--text-muted); font-size: 13px; flex: 1; }

.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 30px; height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all .15s;
}
.socials a:hover { background: var(--blue-500); color: var(--white); border-color: var(--blue-500); }

/* ===== Case studies ===== */
.case { overflow: hidden; }
.case__img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #e8eef5; }
.case__img .img-placeholder { position: absolute; inset: 0; min-height: 0; }
.case__img .ui-mockup {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tag {
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 2;
  background: rgba(15, 23, 42, .85);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
}
.case__body { padding: 22px; }
.case__body h3 { font-size: 17px; margin-bottom: 8px; color: #0f172a; }
.case__body > p { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.case__result {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.case__result strong { font-size: 24px; font-weight: 800; color: var(--blue-600); white-space: nowrap; }
.case__result span { font-size: 12px; color: var(--text-muted); flex: 1; }
.trend { width: 36px; height: 18px; color: var(--blue-500); flex-shrink: 0; }

/* ===== Testimonials ===== */
.section--testimonials { padding-top: 32px; }
.quote { padding: 26px 24px; display: flex; flex-direction: column; }
.quote__stars {
  color: #fbbf24;
  font-size: 15px;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 4px;
}
.quote p { font-size: 14px; line-height: 1.6; color: var(--text); margin: 10px 0 20px; flex: 1; }
.quote--result p { margin-top: 0; }
.quote footer { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
}
.avatar--1 { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.avatar--2 { background: linear-gradient(135deg, #0ea5e9, #1d4ed8); }
.avatar--3 { background: linear-gradient(135deg, #6366f1, #1e40af); }
.avatar--4 { background: linear-gradient(135deg, #3b82f6, #172554); }
.quote footer strong { display: block; font-size: 13px; }
.quote footer span { font-size: 11px; color: var(--text-muted); }
.quote__brand {
  margin-left: auto;
  font-weight: 800;
  font-size: 12px !important;
  color: #475569 !important;
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  background:
    radial-gradient(700px 340px at 88% 100%, rgba(37, 99, 235, .2), transparent 62%),
    radial-gradient(500px 260px at 6% 0%, rgba(29, 78, 216, .14), transparent 60%),
    var(--navy-900);
  color: var(--white);
  padding: 80px 0;
  margin-top: 40px;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .6), transparent);
}
.cta-section__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-section h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; }
.cta-section h2 span { color: var(--blue-400); }
.cta-section__text p { color: #a7b6cc; margin: 14px 0 26px; max-width: 440px; font-size: 15px; }
.cta-section__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.cta-section__features { display: grid; gap: 20px; }
.cta-feature { display: flex; align-items: center; gap: 14px; }
.cta-feature__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .18);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.cta-feature strong { display: block; font-size: 14px; }
.cta-feature span { font-size: 13px; color: #94a3b8; }

/* ===== Footer ===== */
.footer {
  background: var(--navy-900);
  color: #94a3b8;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 56px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}
.footer__brand p { font-size: 13px; margin: 14px 0 18px; }
.socials--footer a { border-color: rgba(255,255,255,.15); color: #94a3b8; }
.footer__col h4 { color: var(--white); font-size: 14px; margin-bottom: 14px; }
.footer__col a, .footer__col span {
  display: block;
  font-size: 13px;
  margin-bottom: 9px;
  transition: color .15s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 12px;
}
.footer__bottom a { margin-left: 20px; }
.footer__bottom a:hover { color: var(--white); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .header-wrap__inner { gap: 16px; }
  .nav { gap: 12px; }
  .nav__links { gap: 18px; }
  .nav__link { padding: 6px 0; font-size: 13px; }
  .nav__actions { padding-left: 12px; margin-left: 4px; }
  .header__cta { padding: 8px 15px; font-size: 13px; }
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__image { display: none; }
}

@media (max-width: 768px) {
  .header-wrap__inner {
    gap: 16px;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 68px 0 0;
    background: rgba(7, 20, 43, .72);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 1;
    pointer-events: none;
  }
  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 24px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid rgba(255,255,255,.08);
    z-index: 2;
  }
  .nav.open {
    display: flex;
  }
  .header-wrap.nav-is-open .header-wrap__inner {
    border-bottom-color: transparent;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav__link {
    width: 100%;
    padding: 14px 12px;
    font-size: 15px;
    border-radius: 10px;
  }
  .nav__link::after { display: none; }
  .nav__link:hover,
  .nav__link--active {
    background: rgba(255,255,255,.08);
  }

  .nav__dropdown::before { display: none; }
  .nav__dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .nav__dropdown-head .nav__link {
    flex: 1;
  }
  .nav__dropdown-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-left: 0;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.04);
    cursor: pointer;
    pointer-events: auto;
    color: #cbd5e1;
  }
  .nav__dropdown-btn:hover {
    background: rgba(255,255,255,.1);
    color: var(--white);
  }

  .nav__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, margin .3s ease, padding .3s ease, background .2s ease, border-color .2s ease;
  }
  .nav__dropdown.open .nav__menu {
    max-height: 480px;
    padding: 4px;
    margin: 4px 0 8px 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
  }
  .nav__dropdown:hover .nav__menu {
    transform: none;
  }
  .nav__menu a {
    color: #cbd5e1;
    padding: 12px 14px;
  }
  .nav__menu a:hover {
    background: rgba(255,255,255,.08);
    color: var(--white);
  }
  .nav__menu-all {
    color: var(--blue-400) !important;
    border-bottom-color: rgba(255,255,255,.1);
  }
  .nav__menu-all:hover {
    background: rgba(37, 99, 235, .15) !important;
    color: var(--white) !important;
  }

  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin: 20px 0 0;
    padding: 20px 0 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .lang-switch {
    align-self: center;
    margin-left: 0;
    gap: 10px;
  }
  .lang-switch a {
    font-size: 14px;
    padding: 8px 10px;
  }
  .lang-switch a + a::before { left: -6px; height: 14px; }
  .nav__cta-mobile {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }

  .header__cta { display: none; }
  .burger { display: flex; margin-left: auto; }

  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .why, .cta-section__inner, .focus-banner { grid-template-columns: 1fr; }
  .why__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0 40px; }
  .section--portfolio { padding: 36px 0 20px; }
  .clients { padding: 22px 0 26px; transform: translateY(32px); }
  .clients__head { padding: 0 20px 16px; }

  .hero { padding-top: 56px; }
  .hero__actions .btn,
  .cta-section__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 200px;
  }
  .team-card__photo { aspect-ratio: 16/10; }
  .team-card__monogram span { font-size: 42px; }
  .focus-banner__img { padding: 28px 20px 0; }
  .focus-banner__text { padding: 28px 24px 32px; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .why__stats { gap: 12px; }
  .stat { padding: 20px 14px; }
  .stat strong { font-size: 28px; }
  .stat svg { width: 30px; height: 30px; margin-bottom: 8px; }
  .stat span { font-size: 12px; }
}

/* =====================================================
   ВЪТРЕШНИ СТРАНИЦИ
   ===================================================== */

/* ===== Page hero (заглавна лента) ===== */
.page-hero {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(37, 99, 235, .18), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 64px 0;
}
.breadcrumbs {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
}
.breadcrumbs a { color: #94a3b8; transition: color .15s; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs span { color: var(--blue-400); }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
}
.page-hero h1 em { font-style: normal; color: var(--blue-400); }
.page-hero p {
  color: #94a3b8;
  max-width: 560px;
  margin-top: 14px;
  font-size: 15px;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ===== Process grid (страница Услуги) ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  counter-reset: none;
}
.process-grid__step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.process-grid__step:hover {
  transform: translateY(-4px);
  border-color: #c7d7f5;
  box-shadow: 0 16px 40px rgba(15, 40, 90, .14);
}
.process-grid__step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 26px;
  right: -18px;
  color: #b8c8e2;
  font-size: 15px;
  font-weight: 700;
}
.process-grid__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
.process-grid__step h3 {
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 6px;
}
.process-grid__step p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}
.focus-banner__text .btn { margin-top: 20px; }

/* ===== Контакти ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: start;
}
.contact-form { padding: 32px; }
.contact-form h2 { font-size: 20px; margin-bottom: 6px; color: #0f172a; }
.contact-form > p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

.contact-aside { display: grid; gap: 20px; }
.info-card { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.info-card__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-500);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.info-card h3 { font-size: 15px; color: #0f172a; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 13px; color: var(--text-muted); display: block; }
.info-card a:hover { color: var(--blue-500); }

/* ===== Legal pages ===== */
.legal-page { max-width: 820px; }
.legal-page__meta {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}
.legal-page__meta p { color: var(--text-muted); font-size: 14px; margin: 0; }
.legal-page__meta p + p { margin-top: 8px; color: var(--text); }
.legal-page__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.legal-page__nav a {
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}
.legal-page__nav a:hover,
.legal-page__nav a.is-active {
  border-color: var(--blue-500);
  color: var(--blue-500);
  background: var(--blue-100);
}
.legal-page__section + .legal-page__section { margin-top: 28px; }
.legal-page__section h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}
.legal-page__section p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
  max-width: 72ch;
}
.form-note a { color: var(--blue-500); text-decoration: underline; }

/* ===== За нас ===== */
.about-history h2 { font-size: 26px; font-weight: 800; color: #0f172a; margin-bottom: 16px; }
.about-history p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; max-width: 72ch; }

.values-grid { margin-top: 24px; }
.value-card { padding: 28px 24px; text-align: left; }
.value-card .service__icon { margin-bottom: 14px; }
.value-card h3 { font-size: 16px; color: #0f172a; margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: 13px; }

.timeline { position: relative; padding-left: 28px; margin-top: 8px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -28px; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--blue-500);
}
.timeline strong { display: block; color: var(--blue-600); font-size: 14px; }
.timeline span { font-size: 13px; color: var(--text-muted); }

/* ===== Портфолио ===== */
.section--portfolio {
  padding: 56px 0 28px;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover { border-color: var(--blue-500); color: var(--blue-500); }
.filter-btn.active { background: var(--blue-500); border-color: var(--blue-500); color: var(--white); }
.case.hidden { display: none; }

/* ===== Единичен проект ===== */
.project-media {
  margin-top: -48px;
}

.project-media__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-media__slide {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.project-media__slide--hero {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

.project-media__slide:not(.project-media__slide--hero) {
  aspect-ratio: 16 / 10;
}

.project-media__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.project-media__dots {
  display: none;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, .96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 24px;
}

.project-lightbox[hidden] {
  display: none !important;
}

.project-lightbox__stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.project-lightbox__close,
.project-lightbox__prev,
.project-lightbox__next {
  position: absolute;
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  transition: background .15s;
}

.project-lightbox__close:hover,
.project-lightbox__prev:hover,
.project-lightbox__next:hover {
  background: rgba(255, 255, 255, .22);
}

.project-lightbox__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
}

.project-lightbox__prev,
.project-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
}

.project-lightbox__prev { left: 12px; }
.project-lightbox__next { right: 12px; }

.project-lightbox__counter {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
}

body.lightbox-open {
  overflow: hidden;
}

.project-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21/9;
  position: relative;
  margin-top: -48px;
  box-shadow: var(--shadow);
}
.project-hero-img .img-placeholder { position: absolute; inset: 0; min-height: 0; }

.single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}

.section--project-body {
  padding-top: 48px;
}
.single-content h2 { font-size: 22px; font-weight: 800; color: #0f172a; margin: 32px 0 14px; }
.single-content h2:first-child { margin-top: 0; }
.single-content p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.single-content .checklist { margin: 18px 0; }

/* ===== Blog article ===== */
.blog-hero-media {
  margin-top: -64px;
  position: relative;
  z-index: 2;
}
.blog-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 620px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
}
.blog-content {
  font-size: 16px;
  line-height: 1.8;
}
.single-content.blog-content p {
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 22px;
}
.single-content.blog-content h2 {
  color: #0f172a;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.25;
  margin: 48px 0 18px;
}
.single-content.blog-content h3 {
  color: #0f172a;
  font-size: 20px;
  line-height: 1.35;
  margin: 34px 0 14px;
}
.blog-content ul,
.blog-content ol {
  color: #475569;
  margin: 0 0 24px 24px;
}
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li {
  padding-left: 6px;
  margin-bottom: 8px;
}
.blog-content strong { color: #0f172a; }
.blog-content a {
  color: var(--blue-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-content blockquote {
  border-left: 4px solid var(--blue-500);
  background: #eff6ff;
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
}
.blog-content blockquote p { margin: 0; }

@media (max-width: 768px) {
  .blog-hero-media { margin-top: 0; }
  .blog-hero-media img { border-radius: 14px; }
  .single-content.blog-content h2 { margin-top: 38px; }
}
.checklist--links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.checklist--links a:hover {
  color: var(--blue-500);
  text-decoration: underline;
}
.aside-nav__parent {
  font-weight: 700;
  border-bottom: 1px solid var(--border, #e2e8f0);
  margin-bottom: 4px;
  padding-bottom: 8px;
}

.meta-card { padding: 26px; position: sticky; top: 92px; }
.meta-card h3 { font-size: 16px; color: #0f172a; margin-bottom: 18px; }
.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.meta-list li:last-child { border-bottom: none; }
.meta-list span { color: var(--text-muted); }
.meta-list strong { color: var(--text); text-align: right; }
.meta-card .btn { width: 100%; justify-content: center; margin-top: 18px; }

.result-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 8px;
}
.result-box {
  padding: 22px;
  text-align: center;
  background: var(--blue-100);
  border-radius: var(--radius);
}
.result-box strong { display: block; font-size: 26px; font-weight: 800; color: var(--blue-600); }
.result-box span { font-size: 12px; color: var(--text-muted); }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.gallery .img-placeholder { border-radius: 10px; min-height: 180px; }

/* ===== Единична услуга ===== */
.process-steps { display: grid; gap: 0; margin-top: 8px; counter-reset: step; }
.process-step {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
}
.process-step h3 { font-size: 15px; color: #0f172a; margin-bottom: 4px; }
.process-step p { font-size: 13px; margin-bottom: 0; }

.aside-nav { padding: 8px; }
.aside-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all .15s;
}
.aside-nav a:hover { background: var(--blue-100); color: var(--blue-600); }
.aside-nav a.active { background: var(--blue-500); color: var(--white); }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 14px;
  color: #0f172a;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--blue-500); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 16px; font-size: 13px; color: var(--text-muted); }

.mini-cta {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 24px;
}
.mini-cta h3 { font-size: 17px; margin-bottom: 8px; }
.mini-cta p { font-size: 13px; color: #94a3b8; margin-bottom: 18px; }
.mini-cta .btn { width: 100%; justify-content: center; }

/* ===== Service landing ===== */
.service-hero { padding: 64px 0; }
.service-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px 48px;
  align-items: center;
}
.service-hero__content .breadcrumbs { margin-bottom: 12px; }
.service-hero__content h1 { max-width: none; }
.service-hero__lead { font-size: 16px; line-height: 1.65; max-width: 640px; }
.service-hero__visual {
  position: relative;
  min-width: 0;
}
.service-hero-mockup .ui-mockup--browser-hero {
  max-width: 480px;
  margin-left: auto;
}
.service-hero__photo {
  position: relative;
  max-width: 480px;
  margin-left: auto;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
}
.service-hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), transparent 55%);
  pointer-events: none;
}
.service-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn--ghost-light {
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, .45);
  background: transparent;
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
}
.service-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 28px;
  list-style: none;
  padding: 0;
}
.service-hero__points li {
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  position: relative;
  padding-left: 22px;
}
.service-hero__points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-400);
  font-weight: 800;
}
.service-trust {
  background: var(--blue-100);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.service-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
  list-style: none;
  padding: 0;
}
.service-trust__grid li {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}
.service-content p,
.single-content.service-content p {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
}
.service-content h2,
.single-content.service-content h2 {
  font-size: 24px;
  margin-top: 40px;
}
.service-content h2:first-child { margin-top: 0; }
.subservice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.service-icon-badge {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: grid;
  place-items: center;
}
.service-icon-badge svg { width: 20px; height: 20px; }
.subservice-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.subservice-card:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow);
}
.subservice-card h3 {
  font-size: 16px;
  color: #0f172a;
  margin: 0;
}
.subservice-card p {
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.audience-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audience-card .service-icon-badge { margin-bottom: 2px; }
.audience-card h3 {
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 8px;
}
.audience-card p {
  font-size: 14px;
  margin: 0;
}
.benefits-list,
.tech-list,
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.benefits-list li,
.tech-list li,
.pricing-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
}
.benefits-list li::before,
.tech-list li::before,
.pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.service-section-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-top: 40px;
}
.service-section-card:first-child { margin-top: 0; }
.service-section-card h2 {
  margin-top: 0;
  font-size: 22px;
}
.service-section-card h2:not(:first-child) { margin-top: 0; }
.service-section-card--plain {
  background: transparent;
  border-color: transparent;
  padding: 0;
}
.service-section-card .checklist { margin-bottom: 0; }
.service-section-card .benefits-list,
.service-section-card .tech-list,
.service-section-card .pricing-list { margin-bottom: 0; }
.service-sidebar {
  align-self: start;
}
@media (min-width: 992px) {
  .service-sidebar {
    position: sticky;
    top: 100px;
  }
}
.section-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.service-final-cta {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 56px 0;
  margin-top: 16px;
}
.service-final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.service-final-cta h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 10px;
}
.service-final-cta p {
  color: #94a3b8;
  font-size: 15px;
  max-width: 560px;
  margin: 0;
}
.service-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}
.info-card--contact .info-card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin: 10px 0 2px;
}
.info-card--contact .info-card__label:first-of-type { margin-top: 0; }
.service-body { padding-top: 48px; }
.process-step p { font-size: 14px; line-height: 1.6; }
.faq-item summary { font-size: 15px; padding: 16px 0; }
.faq-item p { font-size: 14px; line-height: 1.65; }

/* ===== Responsive за вътрешни ===== */
@media (max-width: 1024px) {
  .single-layout { grid-template-columns: 1fr; }
  .meta-card { position: static; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid__step:not(:last-child)::after { display: none; }
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .page-hero__actions .btn { flex: 1 1 auto; justify-content: center; min-width: 200px; }
  .result-strip { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .project-media { margin-top: -24px; }
  .project-media__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .project-media__track::-webkit-scrollbar { display: none; }
  .project-media__slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    aspect-ratio: 16 / 10;
    cursor: pointer;
  }
  .project-media__slide--hero { aspect-ratio: 16 / 9; }
  .project-media__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }
  .project-media__dot {
    appearance: none;
    border: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    padding: 0;
    background: #cbd5e1;
    cursor: pointer;
    transition: transform .15s, background .15s;
  }
  .project-media__dot.is-active {
    background: var(--blue-500);
    transform: scale(1.15);
  }
  .section--project-body {
    padding-top: 20px;
  }
  .section--project-body .single-layout {
    margin-top: 0;
  }
  .page-hero--project {
    padding-bottom: 32px !important;
  }
  .page-hero { padding: 44px 0; }
  .project-hero-img { margin-top: -24px; aspect-ratio: 16/9; }
  .service-hero__inner { grid-template-columns: 1fr; }
  .service-hero-mockup .ui-mockup--browser-hero,
  .service-hero__photo {
    max-width: 420px;
    margin: 8px auto 0;
  }
  .service-trust__grid { grid-template-columns: 1fr 1fr; text-align: left; }
  .subservice-grid,
  .audience-grid { grid-template-columns: 1fr; }
  .service-final-cta__inner { flex-direction: column; align-items: flex-start; }
  .service-final-cta__actions { width: 100%; }
  .service-final-cta__actions .btn { flex: 1; justify-content: center; min-width: 140px; }
  .service-hero__actions .btn { flex: 1; justify-content: center; min-width: 140px; }
  .service-aside { order: 2; }
  .service-hero__visual { display: none; }
}

/* ===== Кликаеми кейс карти + качени снимки ===== */
.case { position: relative; }
.case__link { position: absolute; inset: 0; z-index: 2; }
.case__img .tag { z-index: 3; }
.case__img img,
.project-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; display: block; }

/* ===== UI mockup placeholders ===== */
.ui-mockup { position: relative; width: 100%; }
.ui-mockup__glow {
  position: absolute;
  inset: -12% -8% -8%;
  background: radial-gradient(ellipse at 60% 40%, rgba(37, 99, 235, .35), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.ui-mockup__window {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .06);
}
.ui-mockup--browser-hero .ui-mockup__window { border-radius: 14px; }
.ui-mockup__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.ui-mockup__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, .45);
}
.ui-mockup__dot:first-child { background: #f87171; }
.ui-mockup__dot:nth-child(2) { background: #fbbf24; }
.ui-mockup__dot:nth-child(3) { background: #34d399; }
.ui-mockup__url {
  flex: 1;
  height: 18px;
  margin-left: 8px;
  border-radius: 99px;
  background: rgba(15, 23, 42, .65);
}
.ui-mockup__body {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  padding: 14px;
}
.ui-mockup__site-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.ui-mockup__site-nav span {
  height: 6px;
  border-radius: 99px;
  background: #cbd5e1;
}
.ui-mockup__site-nav span:first-child { width: 28px; background: var(--blue-500); }
.ui-mockup__site-nav span:nth-child(2) { width: 36px; }
.ui-mockup__site-nav span:nth-child(3) { width: 32px; }
.ui-mockup__site-nav span:nth-child(4) { width: 24px; }
.ui-mockup__site-nav--short span:nth-child(4) { display: none; }
.ui-mockup__site-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 10px;
  margin-bottom: 12px;
}
.ui-mockup__site-hero-text b {
  display: block;
  height: 10px;
  width: 85%;
  border-radius: 99px;
  background: #334155;
  margin-bottom: 8px;
}
.ui-mockup__site-hero-text i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: #cbd5e1;
  margin-bottom: 6px;
}
.ui-mockup__site-hero-text i:last-of-type { width: 70%; }
.ui-mockup__site-hero-text em {
  display: block;
  width: 52px;
  height: 18px;
  border-radius: 6px;
  background: var(--blue-500);
  margin-top: 8px;
}
.ui-mockup__site-hero-visual {
  border-radius: 8px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  min-height: 64px;
}
.ui-mockup__site-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ui-mockup__site-cards span {
  height: 36px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.ui-mockup__block {
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
}
.ui-mockup__block--wide { height: 48px; }
.ui-mockup__block--cta {
  height: 22px;
  width: 42%;
  background: var(--blue-500);
  border: none;
}
.ui-mockup__block-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.ui-mockup__block-row span {
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.ui-mockup__body--shop { padding: 12px; }
.ui-mockup__shop-nav {
  height: 8px;
  width: 55%;
  border-radius: 99px;
  background: #334155;
  margin-bottom: 12px;
}
.ui-mockup__shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.ui-mockup__product {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.ui-mockup__product i {
  display: block;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}
.ui-mockup__product b {
  display: block;
  height: 5px;
  width: 70%;
  border-radius: 99px;
  background: #94a3b8;
}
.ui-mockup--phone-app {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.ui-mockup__phone {
  width: 72%;
  max-width: 120px;
  border-radius: 16px;
  background: #1e293b;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}
.ui-mockup__phone-notch {
  width: 28%;
  height: 4px;
  border-radius: 99px;
  background: #334155;
  margin: 0 auto 6px;
}
.ui-mockup__phone-screen {
  border-radius: 12px;
  background: #f8fafc;
  padding: 8px;
  min-height: 100px;
}
.ui-mockup__app-bar {
  height: 6px;
  width: 40%;
  border-radius: 99px;
  background: #334155;
  margin-bottom: 8px;
}
.ui-mockup__app-hero {
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
  margin-bottom: 8px;
}
.ui-mockup__app-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}
.ui-mockup__app-cards span {
  height: 22px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.ui-mockup__app-list span {
  display: block;
  height: 5px;
  border-radius: 99px;
  background: #cbd5e1;
  margin-bottom: 5px;
}
.ui-mockup__app-list span:nth-child(2) { width: 85%; }
.ui-mockup__app-list span:nth-child(3) { width: 65%; }
.ui-mockup--compact .ui-mockup__window { border-radius: 0; box-shadow: none; }
.ui-mockup--compact .ui-mockup__chrome { padding: 6px 8px; }
.ui-mockup--compact .ui-mockup__dot { width: 5px; height: 5px; }
.ui-mockup--compact .ui-mockup__url { height: 12px; margin-left: 4px; }
.ui-mockup--compact .ui-mockup__body { padding: 8px; }
.ui-mockup--compact .ui-mockup__site-hero { margin-bottom: 8px; }
.ui-mockup--compact .ui-mockup__site-hero-visual { min-height: 36px; }
.ui-mockup--compact .ui-mockup__site-cards span { height: 24px; }
.ui-mockup--compact .ui-mockup__block--wide { height: 32px; }
.ui-mockup--compact .ui-mockup__block-row span { height: 24px; }
.ui-mockup--compact .ui-mockup__product i { height: 28px; }
.ui-mockup--compact .ui-mockup__phone { max-width: 100px; }
.ui-mockup--compact .ui-mockup__phone-screen { min-height: 80px; padding: 6px; }

/* ===== Езиков превключвател ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-switch a {
  position: relative;
  padding: 4px 5px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #64748b;
  transition: color .2s ease;
}
.lang-switch a + a::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(148, 163, 184, .35);
}
.lang-switch a.active {
  color: var(--white);
}
.lang-switch a:hover:not(.active) {
  color: #cbd5e1;
}
