:root{--orange:#FF6600;--orange-h:#E55A00;--orange-soft:#FFF3EC;--orange-glow:rgba(255,102,0,0.18);--black:#0F0F12;--dark:#18181B;--mid:#27272A;--gray:#52525B;--gray-light:#F4F4F5;--gray-border:#E4E4E7;--white:#FEFEFE;--hero-bg:#FFF8F0;--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);--r:0.75rem;--r2:1.25rem;--max:1240px;--pad:2.5rem;--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}
    body{font-family:'Inter',system-ui,-apple-system,sans-serif;font-size:0.9375rem;line-height:1.7;color:var(--black);background:var(--white);overflow-x:hidden;-webkit-font-smoothing:antialiased}
    a{color:inherit;text-decoration:none;transition:color 0.2s}
    img{max-width:100%;display:block}
    .container{max-width:var(--max);margin:0 auto;padding:0 var(--pad);width:100%}
    h1,h2,h3,h4{font-family:'Montserrat',sans-serif;font-weight:800;line-height:1.15;letter-spacing:-0.02em}
    .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%}
    .badge{display:inline-flex;align-items:center;gap:0.375rem;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;background:var(--orange-soft);color:var(--orange)}
    .badge-icon{width:1rem;height:1rem;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
    .btn{display:inline-flex;align-items:center;justify-content:center;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;text-decoration:none}
    .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);color:#fff}
    .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;
  }
}
/* Lightbox */
.lb-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.85);z-index:3000;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity 0.25s,visibility 0.25s;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.lb-overlay.open{opacity:1;visibility:visible}
.lb-overlay img.lb-img{max-width:90vw;max-height:85vh;object-fit:contain;border-radius:0.5rem;box-shadow:0 8px 32px rgba(0,0,0,0.4);transition:opacity 0.2s;user-select:none;-webkit-user-drag:none}
.lb-overlay img.lb-img.loading{opacity:0.3}
.lb-close{position:absolute;top:1rem;right:1.5rem;width:2.5rem;height:2.5rem;background:rgba(255,255,255,0.15);border:none;border-radius:50%;color:#fff;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background 0.2s;line-height:1;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.lb-close:hover{background:rgba(255,255,255,0.3)}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:2.5rem;height:2.5rem;background:rgba(255,255,255,0.15);border:none;border-radius:50%;color:#fff;font-size:1.25rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background 0.2s;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.lb-nav:hover{background:rgba(255,255,255,0.3)}
.lb-prev{left:1rem}
.lb-next{right:1rem}
.lb-counter{position:absolute;bottom:1rem;left:50%;transform:translateX(-50%);color:rgba(255,255,255,0.7);font-size:0.8125rem;font-family:'Inter',system-ui,sans-serif;pointer-events:none}
.lb-overlay .lb-img-wrap{position:relative;display:flex;align-items:center;justify-content:center}
@media(max-width:600px){
  .lb-nav{width:2rem;height:2rem;font-size:1rem}
  .lb-prev{left:0.25rem}
  .lb-next{right:0.25rem}
  .lb-close{top:0.5rem;right:0.75rem;width:2rem;height:2rem;font-size:1.25rem}
  .lb-overlay img.lb-img{max-width:95vw;max-height:80vh}
}

    /* Breadcrumb */
    .breadcrumb{display:flex;align-items:center;gap:0.5rem;margin-bottom:1.5rem;font-size:0.8125rem;color:var(--gray);flex-wrap:wrap}
    .breadcrumb a{color:var(--gray);transition:color 0.2s}
    .breadcrumb a:hover{color:var(--orange)}
    .breadcrumb .sep{color:var(--gray-border)}
    .breadcrumb .current{color:var(--black);font-weight:600}

    /* Article hero */
    .article-hero{padding:10rem 0 4rem;background:var(--hero-bg);position:relative;overflow:hidden}
    .article-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}
    .article-meta{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem;flex-wrap:wrap}
    .article-reading{font-size:0.8125rem;color:var(--gray)}
    .article-hero h1{font-size:clamp(2rem,4.5vw,3.25rem);margin-bottom:0}

    /* Article layout */
    .article-layout{display:grid;grid-template-columns:1fr 17.5rem;gap:3rem;padding:3rem 0 6rem;align-items:start}
    .article-content{min-width:0}
    .article-content p{margin-bottom:1.25rem;color:var(--black);font-size:1rem;line-height:1.8}
    .article-content h2{font-size:1.375rem;margin-top:2.5rem;margin-bottom:1rem;color:var(--black)}
    .article-content h3{font-size:1.125rem;margin-top:1.75rem;margin-bottom:0.75rem}
    .article-content ul,.article-content ol{margin-bottom:1.25rem;padding-left:1.5rem}
    .article-content li{margin-bottom:0.5rem;font-size:1rem;line-height:1.7}
    .article-content strong{font-weight:700}
    .article-content a{color:var(--orange);font-weight:600;border-bottom:1px solid transparent;transition:border-color 0.2s}
    .article-content a:hover{border-bottom-color:var(--orange)}
    .article-content blockquote{margin:1.75rem 0;padding:1.25rem 1.5rem;background:var(--orange-soft);border-left:4px solid var(--orange);border-radius:0 var(--r) var(--r) 0;font-size:0.9375rem;line-height:1.7}
    .article-content img{max-width:100%;border-radius:var(--r);margin:1rem 0}
    .article-content .info-box{margin:1.75rem 0;padding:1.25rem 1.5rem;background:var(--gray-light);border-radius:var(--r);font-size:0.875rem;line-height:1.7}
    .article-content .info-box strong{display:block;margin-bottom:0.375rem;font-family:'Montserrat',sans-serif;font-size:0.875rem;color:var(--orange)}

    /* Sidebar */
    .article-sidebar{position:sticky;top:6rem;align-self:start}
    .sidebar-card{background:var(--white);border:1px solid var(--gray-border);border-radius:var(--r2);padding:1.5rem;margin-bottom:1.5rem;transition:border-color 0.3s}
    .sidebar-card:hover{border-color:var(--orange)}
    .sidebar-card h4{font-family:'Montserrat',sans-serif;font-size:0.8125rem;font-weight:700;text-transform:uppercase;letter-spacing:0.06em;color:var(--black);margin-bottom:1rem}
    .sidebar-card ul{list-style:none}
    .sidebar-card li{margin-bottom:0.625rem}
    .sidebar-card li a{font-size:0.875rem;color:var(--gray);display:block;padding:0.375rem 0;border-bottom:1px dashed var(--gray-border);transition:color 0.2s}
    .sidebar-card li a:hover{color:var(--orange)}
    .sidebar-card li:last-child a{border-bottom:none}
    .sidebar-cta{background:var(--orange);border-radius:var(--r2);padding:1.75rem 1.5rem;text-align:center;margin-bottom:1.5rem;position:relative;overflow:hidden}
    .sidebar-cta::before{content:'';position:absolute;top:-30%;right:-20%;width:12.5rem;height:12.5rem;background:rgba(255,255,255,0.08);border-radius:50%;pointer-events:none}
    .sidebar-cta h4{color:white;font-size:1rem;margin-bottom:0.5rem;position:relative}
    .sidebar-cta p{color:rgba(255,255,255,0.9);font-size:0.8125rem;margin-bottom:1rem;position:relative}
    .sidebar-cta .btn{background:white;color:var(--orange);font-weight:700;position:relative}
    .sidebar-cta .btn:hover{background:var(--gray-light)}
    .sidebar-share{display:flex;gap:0.625rem;flex-wrap:wrap}
    .share-btn{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--r);background:var(--gray-light);border:none;cursor:pointer;transition:background 0.2s;padding:0.375rem}
    .share-btn:hover{background:var(--orange-soft)}
    .share-btn svg{width:100%;height:100%;display:block}
    .share-btn img{width:100%;height:100%;object-fit:contain;display:block}

    /* Mobile TOC */
    .mobile-toc{display:none;margin-bottom:1.5rem}
    .mobile-toc-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;background:var(--gray-light);border-radius:var(--r);cursor:pointer;font-family:'Montserrat',sans-serif;font-size:0.875rem;font-weight:700;color:var(--black);border:1px solid var(--gray-border);transition:border-color 0.2s}
    .mobile-toc-header:hover{border-color:var(--orange)}
    .mobile-toc-header .arrow{transition:transform 0.3s;font-size:1.125rem;line-height:1}
    .mobile-toc-header.open .arrow{transform:rotate(180deg)}
    .mobile-toc-body{max-height:0;overflow:hidden;transition:max-height 0.35s ease}
    .mobile-toc-body.open{max-height:25rem}
    .mobile-toc-body ul{list-style:none;padding:0.75rem 1.25rem 0.25rem}
    .mobile-toc-body li a{display:block;padding:0.5rem 0;font-size:0.875rem;color:var(--gray);border-bottom:1px dashed var(--gray-border);transition:color 0.2s}
    .mobile-toc-body li:last-child a{border-bottom:none}
    .mobile-toc-body li a:hover{color:var(--orange)}

    /* Related */
    .related{padding:5rem 0;background:var(--gray-light)}
    .related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(18.75rem,1fr));gap:1.5rem;margin-top:2rem}
    .related-card{background:var(--white);padding:1.75rem;border-radius:var(--r2);border:1px solid var(--gray-border);transition:border-color 0.3s,box-shadow 0.3s,transform 0.25s cubic-bezier(0.4,0,0.2,1);display:flex;flex-direction:column;text-decoration:none;color:var(--black)}
    .related-card:hover{border-color:var(--orange);box-shadow:var(--shadow-lg);transform:translateY(-4px)}
    .related-card .badge{margin-bottom:0.75rem}
    .related-card-image{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:0.5rem;display:block;margin-bottom:0.75rem;background:var(--gray-light)}
    .related-card h3{font-size:1.0625rem;margin-bottom:0.5rem;line-height:1.35}
    .related-card p{font-size:0.875rem;color:var(--gray);line-height:1.65;flex:1}
    .related-card .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}
    .related-card .card-link:hover{gap:0.625rem}
    .related-card .card-link::after{content:'\2192'}

    /* CTA inside article */
    .cta-block{background:var(--orange);border-radius:var(--r2);padding:2.5rem;text-align:center;margin-top:2.5rem;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}

    /* Footer */
    .site-footer{background:var(--dark);padding:4rem 0 2rem;color:rgba(255,255,255,0.72)}
    .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}
    .site-footer h4{color:white;font-size:0.875rem;margin-bottom:1rem;font-weight:700}
    .site-footer a{display:block;margin-bottom:0.75rem;font-size:0.8125rem;transition:color 0.2s,padding-left 0.2s}
    .site-footer a:hover{color:var(--orange);padding-left:4px}
    .footer-bottom{border-top:1px solid rgba(255,255,255,0.1);padding-top:1.5rem;text-align:center;font-size:0.75rem}

    .loading{text-align:center;padding:3rem;color:var(--gray)}
    .not-found{text-align:center;padding:5rem 2rem}
    .not-found h1{font-size:2rem;margin-bottom:1rem}

    /* Reveal animation */
    .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:900px){
      :root{--pad:1.5rem}
      .article-hero{padding:8rem 0 3rem}
      .article-layout{grid-template-columns:1fr}
      .article-sidebar{display:none}
      .mobile-toc{display:block}
      .footer-grid{grid-template-columns:1fr}
      .cta-block{padding:2rem 1.5rem}
    }

    @media(max-width:600px){
      .btn{padding:0.75rem 1.375rem;font-size:0.8125rem;border-radius:0.625rem}
      .related-grid{grid-template-columns:1fr}
    }