/* ===== Дизайн-система — оранжево-тёмный, без AI slop ===== */
    :root {
      --orange: #FF6600;
      --orange-h: #E55A00;
      --orange-soft: #FFF3EC;
      --orange-glow: rgba(255, 102, 0, 0.18);
      --orange-deep: #CC5200;
      --black: #0F0F12;
      --dark: #18181B;
      --mid: #27272A;
      --gray: #52525B;
      --gray-light: #F4F4F5;
      --gray-border: #E4E4E7;
      --white: #FEFEFE;
      --tg: #2AABEE;
      --tg-h: #229ED9;
      --max-red: #EE2E24;
      --max-red-h: #D1261E;
      --footer-text: rgba(255,255,255,0.72);
      --footer-border: rgba(255,255,255,0.1);
      --overlay: rgba(0,0,0,0.72);
      --hero-bg: #FFF8F0;
      --max: 1240px;
      --pad: 2.5rem;
      --r: 0.75rem;
      --r2: 1.25rem;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
      --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
      --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
      --shadow-xl: 0 24px 60px rgba(0,0,0,0.1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      font-size: 100%;
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background: var(--white);
      color: var(--black);
      font-size: 0.9375rem;
      line-height: 1.7;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s;
    }

    img {
      max-width: 100%;
      display: block;
    }

    /* Skip-to-content */
.container {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 var(--pad);
      width: 100%;
    }

    /* Focus-visible — глобально */
    :focus-visible {
      outline: 3px solid var(--orange);
      outline-offset: 2px;
      border-radius: 4px;
    }

    /* ----- Типографика ----- */
    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.6875rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--orange);
      background: var(--orange-soft);
      padding: 0.375rem 0.875rem;
      border-radius: 100px;
      margin-bottom: 1rem;
    }

    .section-tag::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--orange);
      border-radius: 50%;
    }

    h1, h2, h3 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.02em;
    }

    h1 {
      font-size: clamp(2.25rem, 5.5vw, 3.875rem);
      margin-bottom: 1.25rem;
      color: var(--black);
    }

    h2 {
      font-size: clamp(1.75rem, 4vw, 2.75rem);
      margin-bottom: 1rem;
      color: var(--black);
    }

    h3 {
      font-size: 1.125rem;
      margin-bottom: 0.625rem;
      color: var(--black);
    }

    /* ----- Кнопки ----- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.875rem 1.875rem;
      border-radius: 0.75rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
      border: none;
      transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s;
      white-space: nowrap;
    }

    .btn-orange {
      background: var(--orange);
      color: var(--white);
      box-shadow: 0 4px 14px var(--orange-glow);
    }

    .btn-orange:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px var(--orange-glow);
    }

    .btn-orange:active {
      transform: translateY(0);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--orange);
      color: var(--orange);
    }

    .btn-outline:hover {
      background: var(--orange-soft);
      transform: translateY(-2px);
    }

  /* ----- Header ----- */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254,254,254,0.97);
    border-bottom: 1px solid transparent;
    transition: border-color 0.35s, box-shadow 0.35s;
  }

  header.scrolled {
    border-color: var(--gray-border);
    box-shadow: var(--shadow-md);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.75rem;
    gap: 1.5rem;
    transition: height 0.35s;
  }

  header.scrolled .header-inner {
    height: 3.5rem;
  }

  header.scrolled nav a {
    font-size: 0.8125rem;
  }

  header.scrolled .hdr-phone {
    font-size: 0.875rem;
  }

  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .logo img {
    height: 3.5rem;
    width: auto;
    max-width: none;
    flex-shrink: 0;
    transition: height 0.35s;
    object-fit: contain;
  }

  header.scrolled .logo img {
    height: 2.75rem;
  }

  .logo span {
    color: var(--orange);
  }

  nav {
    display: flex;
    gap: 2rem;
  }

  nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray);
    transition: color 0.2s, font-size 0.35s;
    position: relative;
  }

  nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transition: width 0.3s;
  }

  nav a:hover {
    color: var(--orange);
  }

  nav a:hover::after {
    width: 100%;
  }

  nav a.active {
    color: var(--orange);
  }

  nav a.active::after {
    width: 100%;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }

  .hdr-phone {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--black);
    font-size: 0.9375rem;
    transition: font-size 0.35s;
  }

  .skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--orange);
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 9999;
    font-size: 0.875rem;
  }

  .skip-link:focus {
    left: 0;
  }

  /* Burger */
  .burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.625rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .burger span {
    width: 24px;
    height: 2.5px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* Mobile Menu */
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 200;
    flex-direction: column;
    padding: 5.5rem 1.5rem 2.5rem;
    overflow-y: auto;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mobile-menu nav a {
    font-size: 1.375rem;
    font-weight: 700;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-border);
  }

  .mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-border);
  }

  .mobile-menu-logo img {
    height: 2.5rem;
    width: auto;
    max-width: none;
    object-fit: contain;
  }

  .mobile-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.75rem;
    background: var(--gray-light);
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }

  .mobile-close:hover {
    background: var(--gray-border);
  }

  /* Responsive */
  @media (max-width: 1024px) {
    nav {
      display: none;
    }
    .burger {
      display: flex;
    }
  }

  @media (max-width: 900px) {
    .hdr-phone {
      display: none;
    }
  }
/* ===== FAB-кнопки ===== */
.fab {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 90;
}

.fab-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.125rem;
  border-radius: 0.875rem;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

.fab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
}

.fab-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.fab-btn-up {
  background: var(--white);
  color: var(--black);
}

.fab-btn-up:hover {
  background: var(--gray-light);
}

.fab-btn-tg {
  background: var(--tg);
  color: #fff;
}

.fab-btn-tg:hover {
  background: var(--tg-h);
}

.fab-btn-max {
  background: var(--max-red);
  color: #fff;
}

.fab-btn-max:hover {
  background: var(--max-red-h);
}

.fab-btn-call {
  background: var(--orange);
  color: #fff;
}

.fab-btn-call:hover {
  background: var(--orange-h);
}

/* Мобильная плашка */
.fab-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
  z-index: 190;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
  touch-action: manipulation;
}

.fab-mobile a,
.fab-mobile button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--gray);
  padding: 0.375rem 0.25rem;
  text-decoration: none;
  transition: color 0.2s;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.fab-mobile a:hover,
.fab-mobile button:hover {
  color: var(--orange);
}

.fab-mobile svg {
  width: 1.375rem;
  height: 1.375rem;
}

.fab-mobile .fab-m-tg { color: var(--tg); }
.fab-mobile .fab-m-max { color: var(--max-red); }
.fab-mobile .fab-m-call { color: var(--orange); }
.fab-m-menu {
  color: var(--white) !important;
  background: var(--orange) !important;
  border-radius: var(--r);
  padding: 0.375rem 0.75rem !important;
  min-width: 52px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}
.fab-m-menu:hover {
  background: var(--orange-h) !important;
  color: var(--white) !important;
}
.fab-m-menu:active {
  transform: scale(0.95);
}
.fab-m-menu svg {
  width: 1.125rem;
  height: 1.125rem;
}

@media (max-width: 900px) {
  .fab {
    display: none;
  }
  .fab-mobile {
    display: flex;
  }
  body {
    padding-bottom: 70px;
  }
}
/* ===== FAB-кнопки ===== */
.fab {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 90;
}

.fab-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.125rem;
  border-radius: 0.875rem;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

.fab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
}

.fab-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.fab-btn-up {
  background: var(--white);
  color: var(--black);
}

.fab-btn-up:hover {
  background: var(--gray-light);
}

.fab-btn-tg {
  background: var(--tg);
  color: #fff;
}

.fab-btn-tg:hover {
  background: var(--tg-h);
}

.fab-btn-max {
  background: var(--max-red);
  color: #fff;
}

.fab-btn-max:hover {
  background: var(--max-red-h);
}

.fab-btn-call {
  background: var(--orange);
  color: #fff;
}

.fab-btn-call:hover {
  background: var(--orange-h);
}

/* Мобильная плашка */
.fab-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
  z-index: 190;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
  touch-action: manipulation;
}

.fab-mobile a,
.fab-mobile button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--gray);
  padding: 0.375rem 0.25rem;
  text-decoration: none;
  transition: color 0.2s;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.fab-mobile a:hover,
.fab-mobile button:hover {
  color: var(--orange);
}

.fab-mobile svg {
  width: 1.375rem;
  height: 1.375rem;
}

.fab-mobile .fab-m-tg { color: var(--tg); }
.fab-mobile .fab-m-max { color: var(--max-red); }
.fab-mobile .fab-m-call { color: var(--orange); }
.fab-m-menu {
  color: var(--white) !important;
  background: var(--orange) !important;
  border-radius: var(--r);
  padding: 0.375rem 0.75rem !important;
  min-width: 52px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}
.fab-m-menu:hover {
  background: var(--orange-h) !important;
  color: var(--white) !important;
}
.fab-m-menu:active {
  transform: scale(0.95);
}
.fab-m-menu svg {
  width: 1.125rem;
  height: 1.125rem;
}

@media (max-width: 900px) {
  .fab {
    display: none;
  }
  .fab-mobile {
    display: flex;
  }
  body {
    padding-bottom: 70px;
  }
}
    /* ----- Hero ----- */
    section {
      padding: 6rem 0;
    }

    .blog-hero {
      padding: 10rem 0 4rem;
      background: var(--hero-bg);
      position: relative;
      overflow: hidden;
    }

    .blog-hero::before {
      content: '';
      position: absolute;
      top: -12.5rem;
      right: -12.5rem;
      width: 37.5rem;
      height: 37.5rem;
      background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .blog-hero p {
      color: var(--gray);
      max-width: 37.5rem;
      font-size: 1.125rem;
    }

    /* ----- Tabs (sticky) ----- */
    .tabs-wrap {
      position: sticky;
      top: 4.75rem;
      z-index: 50;
      background: rgba(254,254,254,0.97);
      border-bottom: 1px solid var(--gray-border);
      padding: 1rem 0;
      transition: box-shadow 0.35s;
    }

    .tabs-wrap.scrolled {
      box-shadow: var(--shadow-sm);
    }

    .tabs {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .tab-btn {
      padding: 0.625rem 1.375rem;
      border-radius: 100px;
      border: 2px solid var(--gray-border);
      background: var(--white);
      font-family: 'Inter', sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--gray);
      cursor: pointer;
      transition: all 0.25s;
    }

    .tab-btn:hover {
      border-color: var(--orange);
      color: var(--orange);
    }

    .tab-btn.active {
      background: var(--orange);
      border-color: var(--orange);
      color: var(--white);
    }

    /* ----- Card grid ----- */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
      gap: 1.5rem;
      padding: 3rem 0 2rem;
    }

    .card {
      background: var(--white);
      border-radius: var(--r2);
      border: 1px solid var(--gray-border);
      overflow: hidden;
      transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: inherit;
    }

    .card:hover {
      border-color: var(--orange);
      box-shadow: var(--shadow-lg);
      transform: translateY(-4px);
    }

    .card-image {
      width: 100%;
      border-radius: 0.5rem;
      display: block;
      margin-bottom: 0.75rem;
    }

    .card-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      background: var(--orange-soft);
      color: var(--orange);
      font-family: 'Montserrat', sans-serif;
      font-size: 0.6875rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      padding: 0.375rem 0.75rem;
      border-radius: 0.5rem;
      margin-bottom: 0.75rem;
    }

    .badge-icon {
      width: 1rem;
      height: 1rem;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    .card-body {
      padding: 1.75rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .card-body h3 {
      font-size: 1.0625rem;
      margin-bottom: 0.5rem;
      line-height: 1.35;
    }

    .card-body p {
      font-size: 0.875rem;
      color: var(--gray);
      line-height: 1.65;
      flex: 1;
    }

    .card-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 1rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--orange);
      transition: gap 0.2s;
    }

    .card-link:hover {
      gap: 0.625rem;
    }

    .card-link::after {
      content: '\2192';
    }

    .card.hidden {
      display: none;
    }

    /* ----- Pagination ----- */
    .pagination {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0 0 6rem;
    }

    .pagination button {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 44px;
      height: 44px;
      padding: 0 0.875rem;
      border: 2px solid var(--gray-border);
      border-radius: var(--r);
      background: var(--white);
      font-family: 'Inter', sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--gray);
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }

    .pagination button:hover {
      border-color: var(--orange);
      color: var(--orange);
    }

    .pagination button.active {
      background: var(--orange);
      border-color: var(--orange);
      color: var(--white);
    }

    .pagination button:disabled {
      opacity: 0.4;
      cursor: default;
      border-color: var(--gray-border);
      color: var(--gray);
    }

    .pagination-arrow {
      font-size: 1.125rem;
      line-height: 1;
    }

    /* ----- CTA ----- */
    .cta-block {
      background: var(--orange);
      border-radius: var(--r2);
      padding: 4rem 3rem;
      text-align: center;
      margin: 3rem 0;
      position: relative;
      overflow: hidden;
    }

    .cta-block::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 25rem;
      height: 25rem;
      background: rgba(255,255,255,0.08);
      border-radius: 50%;
      pointer-events: none;
    }

    .cta-block h3 {
      color: white;
      font-size: clamp(1.5rem, 3vw, 2rem);
      margin-bottom: 1rem;
      position: relative;
    }

    .cta-block p {
      color: rgba(255,255,255,0.9);
      margin-bottom: 1.5rem;
      position: relative;
    }

    /* ----- Footer ----- */
    footer {
      background: var(--dark);
      padding: 4rem 0 2rem;
      color: var(--footer-text);
    }

    .footer-logo-row {
      margin-bottom: 2rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
      gap: 2.5rem;
      margin-bottom: 3rem;
    }

    .footer-col h4 {
      color: white;
      font-size: 0.875rem;
      margin-bottom: 1rem;
      font-weight: 700;
    }

    .footer-col a {
      display: block;
      margin-bottom: 0.75rem;
      font-size: 0.8125rem;
      transition: color 0.2s, padding-left 0.2s;
    }

    .footer-col a:hover {
      color: var(--orange);
      padding-left: 4px;
    }

    .footer-bottom {
      border-top: 1px solid var(--footer-border);
      padding-top: 1.5rem;
      text-align: center;
      font-size: 0.75rem;
    }

    /* ----- Анимация появления ----- */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.in {
      opacity: 1;
      transform: none;
    }

    /* ----- Адаптив ----- */
    @media (max-width: 1024px) {
      nav {
        display: none;
      }
      .burger {
        display: flex;
      }
    }

    @media (max-width: 900px) {
      :root {
        --pad: 1.5rem;
      }
      .hdr-phone {
        display: none;
      }
      section {
        padding: 4rem 0;
      }
      .blog-hero {
        padding: 8rem 0 3rem;
      }
      .card-grid {
        grid-template-columns: 1fr;
      }
      .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
      }
      .cta-block {
        padding: 2.5rem 1.5rem;
      }
    }

    @media (max-width: 600px) {
      .btn {
        padding: 0.75rem 1.375rem;
        font-size: 0.8125rem;
        border-radius: 0.625rem;
      }
      .card-body {
        padding: 1.375rem;
      }
    }