*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --navy: #0A1628; --accent: #1D4ED8; --accent2: #3B82F6;
      --text: #0F172A; --muted: #64748B; --border: #E2E8F0;
      --bg: #FFFFFF; --soft: #F8FAFC;
    }
    html { scroll-behavior: smooth; }
    body { font-family: "Inter", sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; padding-top: 68px; }
    button { font-family: inherit; }
    img { display: block; max-width: 100%; }

    /* ══════════ HEADER ══════════ */
    .header {
      position: fixed; inset: 0 0 auto; z-index: 200;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(226,232,240,0.8);
    }
    .header__inner {
      max-width: 1200px; margin: 0 auto; padding: 0 48px;
      height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
    }
    .header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
    .header__logo-mark {
      width: 36px; height: 36px; background: var(--navy); border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 13px; font-weight: 800; letter-spacing: -0.5px; flex-shrink: 0;
    }
    .header__logo-name { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.2; display: block; }
    .header__logo-role { font-size: 11px; font-weight: 500; color: var(--muted); display: block; }
    .header__nav { display: flex; gap: 2px; align-items: center; }
    .header__nav a {
      font-size: 14px; font-weight: 600; color: var(--muted);
      text-decoration: none; padding: 6px 13px; border-radius: 8px;
      transition: color .18s, background .18s;
    }
    .header__nav a:hover, .header__nav a.active { color: var(--navy); background: var(--soft); }
    .header__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
    .header__phone { font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none; letter-spacing: -0.3px; transition: color .15s; }
    .header__phone:hover { color: var(--accent); }
    .header__cta {
      font-size: 13.5px; font-weight: 800; color: #fff;
      background: var(--accent); border: none; border-radius: 11px;
      padding: 10px 20px; cursor: pointer; text-decoration: none;
      transition: background .18s, transform .18s;
    }
    .header__cta:hover { background: #1e40af; transform: translateY(-1px); }
    @media (max-width: 900px) {
      .header__nav { display: none; }
      .header__inner { padding: 0 20px; }
    }

    /* ══════════ ARTICLE HERO ══════════ */
    .case-hero {
      background: var(--navy); padding: 56px 0 64px; position: relative; overflow: hidden;
    }
    .case-hero::before {
      content: ""; position: absolute; inset: 0;
      background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
      background-size: 28px 28px; pointer-events: none;
    }
    .case-hero::after {
      content: ""; position: absolute; top: -80px; right: -40px;
      width: 480px; height: 480px; border-radius: 50%;
      background: radial-gradient(circle, rgba(59,130,246,0.14) 0%, transparent 70%);
      pointer-events: none;
    }
    .case-hero__inner {
      max-width: 1200px; margin: 0 auto; padding: 0 48px;
      position: relative; z-index: 1;
    }
    .case-hero__breadcrumb {
      display: flex; align-items: center; gap: 6px;
      margin-bottom: 20px;
    }
    .case-hero__breadcrumb a {
      font-size: 13px; color: rgba(255,255,255,0.4);
      text-decoration: none; transition: color .18s;
    }
    .case-hero__breadcrumb a:hover { color: rgba(255,255,255,0.75); }
    .case-hero__breadcrumb svg { color: rgba(255,255,255,0.2); }
    .case-hero__breadcrumb span { font-size: 13px; color: rgba(255,255,255,0.55); }
    .case-hero__label {
      display: inline-flex; align-items: center; gap: 7px;
      background: rgba(29,78,216,0.35); border: 1px solid rgba(59,130,246,0.4);
      border-radius: 8px; padding: 5px 12px;
      font-size: 12px; font-weight: 700; color: #93C5FD;
      letter-spacing: 0.3px; text-transform: uppercase;
      margin-bottom: 20px;
    }
    .case-hero__label svg { opacity: 0.8; }
    .case-hero__title {
      font-size: clamp(28px, 4vw, 44px); font-weight: 900;
      color: #fff; letter-spacing: -1.5px; line-height: 1.1;
      margin-bottom: 32px;
    }
    .case-hero__meta {
      display: flex; gap: 20px; flex-wrap: wrap;
    }
    .case-hero__chip {
      display: inline-flex; align-items: center; gap: 7px;
      background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
      border-radius: 9px; padding: 8px 14px;
    }
    .case-hero__chip-label { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 600; letter-spacing: 0.3px; display: block; margin-bottom: 1px; }
    .case-hero__chip-val { font-size: 14px; font-weight: 800; color: #fff; letter-spacing: -0.2px; display: block; }
    .case-hero__chip--result .case-hero__chip-val { color: #4ADE80; }

    /* ══════════ ARTICLE LAYOUT ══════════ */
    .case-article {
      max-width: 1200px; margin: 0 auto; padding: 0 48px;
    }

    /* Cover image */
    .case-cover {
      margin: 48px 0 0;
      border-radius: 20px; overflow: hidden;
      border: 1.5px solid var(--border);
      box-shadow: 0 8px 40px rgba(10,22,40,0.08);
      aspect-ratio: 16/9;
      background: linear-gradient(135deg, #0A1628 0%, #1e3a5f 60%, #1D4ED8 100%);
      position: relative;
    }
    .case-cover::before {
      content: ''; position: absolute; inset: 0;
      background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
      background-size: 24px 24px;
    }
    .case-cover img {
      width: 100%; height: 100%; object-fit: cover;
      transition: opacity .3s;
    }
    .case-cover__placeholder {
      position: absolute; inset: 0;
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
      color: rgba(255,255,255,0.25);
    }
    .case-cover__placeholder p { font-size: 13px; font-weight: 500; }

    /* ══════════ CLIENT BLOCK ══════════ */
    .client-block {
      margin: 40px 0;
      display: grid; grid-template-columns: 220px 1fr; gap: 0;
      border: 1.5px solid var(--border); border-radius: 20px; overflow: hidden;
    }
    .client-block__logo-col {
      background: var(--soft); border-right: 1.5px solid var(--border);
      padding: 32px 24px;
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
    }
    .client-block__logo {
      width: 80px; height: 80px; border-radius: 16px;
      background: #fff; border: 1.5px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }
    .client-block__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
    .client-block__logo-placeholder {
      font-size: 22px; font-weight: 900; color: var(--navy); letter-spacing: -1px;
    }
    .client-block__site {
      font-size: 12px; font-weight: 600; color: var(--accent);
      text-decoration: none; transition: opacity .18s;
    }
    .client-block__site:hover { opacity: 0.75; }
    .client-block__info-col { padding: 28px 32px; }
    .client-block__row { margin-bottom: 20px; }
    .client-block__row:last-child { margin-bottom: 0; }
    .client-block__row-label {
      font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
      text-transform: uppercase; color: var(--muted);
      margin-bottom: 8px;
    }
    .client-block__row-text {
      font-size: 14.5px; color: var(--text); line-height: 1.65;
    }

    /* ══════════ ARTICLE BODY ══════════ */
    .case-body { padding: 0 0 64px; }

    .case-section { margin-bottom: 48px; }

    .case-h2 {
      font-size: 24px; font-weight: 900; color: var(--navy);
      letter-spacing: -0.8px; line-height: 1.2;
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 2px solid var(--border);
    }

    .case-h3 {
      font-size: 17px; font-weight: 800; color: var(--navy);
      letter-spacing: -0.4px; line-height: 1.35;
      margin: 28px 0 12px;
    }

    .case-p {
      font-size: 16px; color: #334155; line-height: 1.8;
      margin-bottom: 18px;
    }
    .case-p:last-child { margin-bottom: 0; }
    .case-p strong { color: var(--navy); font-weight: 700; }

    .case-list {
      margin: 0 0 18px 0; padding: 0; list-style: none;
      display: flex; flex-direction: column; gap: 10px;
    }
    .case-list li {
      display: flex; gap: 12px; align-items: flex-start;
      font-size: 15.5px; color: #334155; line-height: 1.65;
    }
    .case-list li::before {
      content: ''; display: block; flex-shrink: 0;
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--accent); margin-top: 8px;
    }

    /* Screenshot */
    .case-screenshot {
      margin: 32px 0;
      border-radius: 16px; overflow: hidden;
      border: 1.5px solid var(--border);
      box-shadow: 0 4px 24px rgba(10,22,40,0.07);
    }
    .case-screenshot img { width: 100%; height: auto; display: block; }
    .case-screenshot__placeholder {
      aspect-ratio: 16/9;
      background: var(--soft);
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
      color: var(--muted);
    }
    .case-screenshot__placeholder p { font-size: 13px; font-weight: 500; }
    .case-screenshot__caption {
      padding: 12px 16px; background: var(--soft);
      border-top: 1px solid var(--border);
      font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.4;
    }

    /* Highlight box */
    .case-highlight {
      background: #EFF6FF; border: 1.5px solid #BFDBFE;
      border-left: 4px solid var(--accent);
      border-radius: 0 12px 12px 0;
      padding: 18px 22px; margin: 24px 0;
    }
    .case-highlight p { font-size: 15px; color: #1e40af; line-height: 1.7; font-weight: 500; }
    .case-highlight strong { font-weight: 800; color: var(--navy); }

    /* ══════════ RESULTS METRICS ══════════ */
    .case-metrics {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 16px; margin: 28px 0;
    }
    .case-metric {
      background: var(--soft); border: 1.5px solid var(--border);
      border-radius: 16px; padding: 22px 20px;
      display: flex; flex-direction: column; gap: 6px;
      transition: border-color .2s, box-shadow .2s;
    }
    .case-metric:hover { border-color: #BFDBFE; box-shadow: 0 4px 16px rgba(29,78,216,0.08); }
    .case-metric--positive { border-color: #BBF7D0; background: #F0FDF4; }
    .case-metric--positive:hover { border-color: #86EFAC; }
    .case-metric__icon {
      width: 36px; height: 36px; border-radius: 9px;
      background: rgba(29,78,216,0.1);
      display: flex; align-items: center; justify-content: center;
      color: var(--accent); margin-bottom: 4px;
    }
    .case-metric--positive .case-metric__icon { background: rgba(34,197,94,0.12); color: #16A34A; }
    .case-metric__val {
      font-size: 28px; font-weight: 900; color: var(--navy);
      letter-spacing: -1px; line-height: 1;
    }
    .case-metric--positive .case-metric__val { color: #15803D; }
    .case-metric__label {
      font-size: 13px; color: var(--muted); font-weight: 500; line-height: 1.4;
    }

    /* ══════════ BLOCKQUOTE (цитата) ══════════ */
    .case-blockquote {
      position: relative;
      margin: 28px 0;
      padding: 22px 24px 22px 52px;
      background: var(--soft);
      border-left: 4px solid var(--accent);
      border-radius: 0 14px 14px 0;
    }
    .case-blockquote::before {
      content: '\201C';
      position: absolute; top: 10px; left: 14px;
      font-size: 52px; font-weight: 900; line-height: 1;
      color: var(--accent); opacity: 0.25;
      font-family: Georgia, serif;
    }
    .case-blockquote p {
      font-size: 16px; font-style: italic; font-weight: 500;
      color: #1e3a5f; line-height: 1.75; margin: 0;
    }
    .case-blockquote cite {
      display: block; margin-top: 12px;
      font-size: 12.5px; font-style: normal; font-weight: 700;
      color: var(--muted); letter-spacing: 0.3px;
    }
    .case-blockquote cite::before { content: '— '; }

    /* ══════════ ADDITIONAL METRIC PALETTES ══════════ */
    .case-metric--warning {
      border-color: #FED7AA; background: #FFF7ED;
    }
    .case-metric--warning:hover { border-color: #FDBA74; }
    .case-metric--warning .case-metric__icon {
      background: rgba(234,88,12,0.1); color: #EA580C;
    }
    .case-metric--warning .case-metric__val { color: #C2410C; }

    /* ══════════ TIMELINE ══════════ */
    /* Auto-numbering via CSS counter */
    .case-timeline {
      counter-reset: case-step;
      margin: 24px 0; position: relative;
      padding-left: 28px;
      border-left: 2px solid var(--border);
      display: flex; flex-direction: column; gap: 28px;
    }
    .case-timeline__item {
      counter-increment: case-step;
      position: relative;
    }
    .case-timeline__dot {
      position: absolute; left: -37px; top: 4px;
      width: 16px; height: 16px; border-radius: 50%;
      background: var(--accent); border: 3px solid #fff;
      box-shadow: 0 0 0 2px var(--accent);
    }
    /* Step label is generated by counter — element content should be empty */
    .case-timeline__week {
      font-size: 11px; font-weight: 700; letter-spacing: 0.7px;
      text-transform: uppercase; color: var(--accent);
      margin-bottom: 6px;
    }
    .case-timeline__week::before {
      content: 'Этап ' counter(case-step);
    }
    .case-timeline__title {
      font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px;
    }
    .case-timeline__text { font-size: 14.5px; color: #334155; line-height: 1.7; }

    /* ══════════ CASE CTA ══════════ */
    .case-cta {
      background: var(--navy); position: relative; overflow: hidden;
      padding: 72px 0;
    }
    .case-cta::before {
      content: ""; position: absolute; inset: 0;
      background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 28px 28px; pointer-events: none;
    }
    .case-cta::after {
      content: ""; position: absolute; bottom: -80px; left: -60px;
      width: 400px; height: 400px; border-radius: 50%;
      background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
      pointer-events: none;
    }
    .case-cta__inner {
      max-width: 1200px; margin: 0 auto; padding: 0 48px;
      position: relative; z-index: 1;
      display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: center;
    }
    .case-cta__title {
      font-size: clamp(26px, 3vw, 38px); font-weight: 900;
      color: #fff; letter-spacing: -1.2px; line-height: 1.15;
      margin-bottom: 14px;
    }
    .case-cta__title em { font-style: normal; color: #60A5FA; }
    .case-cta__sub {
      font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.65;
      max-width: 520px; margin-bottom: 32px;
    }
    .case-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
    .case-cta__btn {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 800;
      padding: 14px 28px; border-radius: 13px;
      text-decoration: none; border: none; cursor: pointer;
      transition: all .2s;
    }
    .case-cta__btn--primary {
      background: var(--accent); color: #fff;
      box-shadow: 0 4px 16px rgba(29,78,216,0.4);
    }
    .case-cta__btn--primary:hover { background: #1e40af; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,78,216,0.45); }
    .case-cta__btn--ghost {
      background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
      border: 1.5px solid rgba(255,255,255,0.15);
    }
    .case-cta__btn--ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }

    .case-cta__photo-wrap { position: relative; display: flex; justify-content: center; }
    .case-cta__photo {
      width: 220px; height: 260px; border-radius: 20px; overflow: hidden;
      border: 3px solid rgba(255,255,255,0.12);
      background: linear-gradient(160deg, #1A3260 0%, #0A1628 100%);
      position: relative;
    }
    .case-cta__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
    .case-cta__badge {
      position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
      background: rgba(29,78,216,0.9); backdrop-filter: blur(8px);
      border: 1px solid rgba(59,130,246,0.5); border-radius: 12px;
      padding: 10px 16px; white-space: nowrap; text-align: center;
      min-width: 190px;
    }
    .case-cta__badge-name { font-size: 13px; font-weight: 800; color: #fff; display: block; margin-bottom: 2px; }
    .case-cta__badge-role { font-size: 11px; color: rgba(255,255,255,0.65); display: block; }
