/* =====================================
   ROOT VARIABLES — Nvidia-style
   ===================================== */
:root {
  /* Основные цвета — холодный светлый стиль */
  --bg-dark: #f5f6f7;
  --bg-light: #ffffff;
  --bg-hover: #f0f1f2;
  --accent: #76b900; /* фирменный зелёный Nvidia */
  --accent-hover: #6aa300;
  --border: #dcdcdc;

  /* Текст */
  --text-main: #1a1a1a;
  --text-muted: #5f5f5f;

  /* Типографика */
  --font-main: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
  --font-alt: 'Space Grotesk', 'Poppins', sans-serif;

  /* Эффекты и параметры */
  --transition: 0.25s ease;
  --radius: 4px;
  --shadow: 0 0 18px rgba(0, 0, 0, 0.06);
}

/* =====================================
   GLOBAL RESET + BASE
   ===================================== */
*, *::before, *::after {
  box-sizing: border-box;
}
img, video, iframe {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  background: var(--bg-dark);
}

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.65;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 70px;
}

@media (max-width: 600px) {
  body { padding-top: 60px; font-size: 15px; }
}

/* Ссылки */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
a:hover {
  color: var(--accent-hover);
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-alt);
  color: var(--text-main);
  margin: 1.2em 0 0.6em;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.1rem;
  text-transform: uppercase;
  font-weight: 700;
}
h2 {
  font-size: 1.4rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

/* Текст и списки */
p, li {
  font-size: 16px;
  color: var(--text-main);
}
ul {
  list-style: disc;
  padding-left: 22px;
}
li {
  margin-bottom: 6px;
}

/* Контейнер */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(14px, 4vw, 28px);
}

/* Адаптив базовый */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
}

/* =====================================
   TABLES — светлые, чистые, технологичные
   ===================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-main);
  border: 1px solid var(--border);
  background: var(--bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* --- шапка --- */
thead {
  background: linear-gradient(90deg, #f7f8f8 0%, #eef0f0 100%);
}
thead th {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

/* --- тело таблицы --- */
tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, transform 0.15s ease;
}
tbody tr:hover {
  background: #f9faf9;
  transform: scale(1.002);
}
td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
  text-align: left;
  color: var(--text-muted);
}
td strong {
  color: var(--text-main);
}

/* --- чередование строк --- */
tbody tr:nth-child(even) {
  background: #fafafa;
}

/* --- адаптив под мобильные --- */
@media (max-width: 768px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody tr {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 10px 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 4px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 14px;
  }

  td:last-child {
    border-bottom: none;
  }

  td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    margin-right: 12px;
  }
}

/* =====================================
   BLOCKQUOTE — нейтральный, современный
   ===================================== */
blockquote {
  border-left: 4px solid var(--accent);
  margin: 28px 0;
  padding: 12px 20px;
  background: #f7f8f8;
  color: #444;
  font-style: italic;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* =====================================
   BUTTONS — минималистичные и четкие
   ===================================== */
button,
.btn {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 10px 24px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: all var(--transition);
  box-shadow: 0 0 12px rgba(118,185,0,0.15);
}
button:hover,
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  box-shadow: 0 0 20px rgba(118,185,0,0.25);
}
button:active,
.btn:active {
  transform: scale(0.98);
}

/* Вариант outline */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* =====================================
   RESPONSIVE TYPOGRAPHY
   ===================================== */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  table { font-size: 14px; }
}
@media (max-width: 380px) {
  body { font-size: 15px; line-height: 1.5; }
}

/* =====================================
   MAIN CONTENT — чистая структура статьи
   ===================================== */
.main-content {
  padding: 60px 0 100px;
  background: var(--bg-light);
}

@media (max-width: 600px) {
  .main-content {
    padding: 40px 0 70px;
  }
}

/* --- тело статьи --- */
.article-body {
  padding-inline: clamp(16px, 4vw, 28px);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.75;
}

/* --- заголовки внутри статьи --- */
.article-body h2 {
  margin-top: 70px;
  margin-bottom: 22px;
  position: relative;
  font-family: var(--font-alt);
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.article-body h2::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* --- параграфы --- */
.article-body p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
}

/* --- изображения --- */
.article-body img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  margin: 32px auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-body img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* --- списки --- */
.article-body ul {
  margin: 20px 0 26px;
  padding-left: 22px;
  list-style-type: disc;
  color: var(--text-main);
}
.article-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* --- цитаты внутри статьи --- */
.article-body blockquote {
  border-left: 4px solid var(--accent);
  margin: 30px 0;
  padding: 14px 22px;
  background: #f8f9f9;
  color: #444;
  font-style: italic;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* --- адаптив --- */
@media (max-width: 768px) {
  .article-body {
    font-size: 15.5px;
    line-height: 1.7;
  }
  .article-body h2 {
    margin-top: 60px;
  }
  .article-body img {
    max-height: 320px;
  }
}
@media (max-width: 480px) {
  .article-body {
    font-size: 15px;
    line-height: 1.65;
  }
  .article-body h2::before {
    width: 42px;
  }
}

/* =====================================
   HEADER — фиксированный, светлый, с зелёным акцентом
   ===================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 24px;
  min-height: 68px;
}

/* --- логотип --- */
.header-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0.9) saturate(1.1);
  transition: filter 0.25s ease;
}
.header-logo img:hover {
  filter: brightness(1.1) saturate(1.3);
}

/* =====================================
   DESKTOP NAVIGATION — лаконичное меню
   ===================================== */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* =====================================
   HEADER BUTTONS — вход / регистрация
   ===================================== */
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 4px;
  border: 1px solid var(--accent);
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 0 12px rgba(118,185,0,0.15);
}
.btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 18px rgba(118,185,0,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* =====================================
   BURGER — светлый, контрастный, всегда видимый
   ===================================== */
.burger {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 2001;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.burger:hover {
  border-color: #76B900;
  box-shadow: 0 3px 10px rgba(118,185,0,0.15);
}

/* --- коробка для линий --- */
.burger-box {
  position: relative;
  width: 22px;
  height: 16px;
}

/* --- линии --- */
.burger-line {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  background: #222;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.burger-line::before,
.burger-line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #222;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.burger-line::before {
  top: -6px;
}
.burger-line::after {
  top: 6px;
}

/* --- состояние “крестик” --- */
.burger[aria-expanded="true"] {
  background: #76B900;
  border-color: #76B900;
  box-shadow: 0 0 12px rgba(118,185,0,0.25);
}
.burger[aria-expanded="true"] .burger-line {
  background: #fff;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] .burger-line::before {
  transform: rotate(-90deg);
  top: 0;
  background: #fff;
}
.burger[aria-expanded="true"] .burger-line::after {
  opacity: 0;
}

/* --- адаптив для маленьких экранов --- */
@media (max-width: 480px) {
  .burger {
    width: 36px;
    height: 36px;
    top: 14px;
    right: 14px;
  }
  .burger-box {
    width: 20px;
    height: 14px;
  }
}

/* =====================================
   MOBILE MENU — светлая версия
   ===================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  height: 100vh;
  background: #fff;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
  z-index: 2000;
  border-top: 1px solid #e5e5e5;
}
.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 20px 24px 40px;
}
.mobile-link {
  display: block;
  text-align: left;
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 15px;
  padding: 14px 10px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease;
}
.mobile-link:hover {
  color: var(--accent);
  background: #f6f8f6;
}

.mobile-actions {
  padding: 20px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #eee;
}

/* =====================================
   RESPONSIVE FIXES
   ===================================== */
@media (min-width: 1080px) {
  .burger,
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 1079px) {
  .nav-desktop {
    display: none;
  }
  .header-inner {
    padding-inline: 16px;
  }
  .header-logo img {
    height: 30px;
  }
  .burger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .burger {
    width: 34px;
    height: 34px;
    top: 14px;
    right: 14px;
  }
  .burger-box {
    width: 18px;
    height: 18px;
  }
  .header-logo img {
    height: 26px;
  }
  .mobile-link {
    font-size: 14px;
    padding: 12px 8px;
  }
}

/* =====================================
   HERO SECTION — светлый, премиум, с глубиной и мягким светом
   ===================================== */
.page-hero {
  position: relative;
  width: 100%;
  padding-block: 110px 90px;
  padding-inline: 24px;
  background: linear-gradient(180deg, #f9fafb 0%, #edf0ec 60%, #e8ece6 100%);
  border-bottom: 1px solid #dcdcdc;
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 -40px 80px rgba(0, 0, 0, 0.04);
}

/* --- мягкий световой “halo”-эффект --- */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(118,185,0,0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 60%, rgba(0,0,0,0.06) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(118,185,0,0.08) 0%, transparent 80%);
  mix-blend-mode: soft-light;
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
}

/* --- заголовок --- */
.page-hero h1 {
  font-family: var(--font-alt);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0a0a0a;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 2;
  margin: 0 auto 18px;
  max-width: 800px;
}

/* --- описание --- */
.page-hero p {
  max-width: 740px;
  margin: 18px auto 46px;
  color: #333;
  font-size: 17px;
  line-height: 1.75;
  position: relative;
  z-index: 2;
  text-wrap: balance;
}

/* =====================================
   CTA BUTTON — выразительная, чистая, с hover-объёмом
   ===================================== */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 12px 36px;
  color: #fff;
  background: linear-gradient(90deg, #76B900 0%, #8edc00 100%);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(118,185,0,0.25);
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}
.hero-btn:hover {
  background: linear-gradient(90deg, #8edc00 0%, #76B900 100%);
  box-shadow: 0 8px 28px rgba(118,185,0,0.35);
  transform: translateY(-2px);
  color: white;
}
.hero-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(118,185,0,0.25);
}

/* --- вторичная кнопка (outline) --- */
.hero-btn.outline {
  background: transparent;
  color: #4f7f00;
  border: 1px solid #76B900;
  box-shadow: none;
}
.hero-btn.outline:hover {
  background: #f4faef;
  color: #76B900;
  box-shadow: 0 0 14px rgba(118,185,0,0.2);
}

/* =====================================
   Варианты фона — с изображением и градиентом
   ===================================== */
.page-hero.bg-image {
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(240,243,238,0.95)),
              url('/assets/images/hero-bg-light.webp') center/cover no-repeat;
}
.page-hero.bg-gradient {
  background: linear-gradient(135deg, #f9faf8 0%, #e6eee3 100%);
}

/* =====================================
   Адаптив
   ===================================== */
@media (max-width: 1024px) {
  .page-hero {
    padding-block: 90px 70px;
    padding-inline: 18px;
  }
  .page-hero h1 {
    font-size: 2.1rem;
    max-width: 90%;
  }
  .page-hero p {
    font-size: 16px;
    max-width: 90%;
  }
}
@media (max-width: 600px) {
  .page-hero {
    padding-block: 70px 50px;
    padding-inline: 16px;
  }
  .page-hero h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  .page-hero p {
    font-size: 15px;
    line-height: 1.6;
  }
  .hero-btn {
    font-size: 13.5px;
    padding: 10px 28px;
    border-radius: 5px;
  }
}
@media (max-width: 400px) {
  .page-hero {
    padding-block: 60px 40px;
  }
  .page-hero h1 {
    font-size: 1.5rem;
  }
  .hero-btn {
    padding: 9px 22px;
    font-size: 13px;
  }
}

/* =====================================
   PROS & CONS — чистый, структурный блок сравнения
   ===================================== */
.pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin: 60px 0;
}

/* --- карточки --- */
.pros,
.cons {
  background: #fff;
  padding: 28px 32px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pros:hover,
.cons:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 26px rgba(0,0,0,0.08);
}

/* --- заголовки --- */
.pros h3,
.cons h3 {
  margin-top: 0;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.6px;
  font-weight: 700;
}
.pros h3 { color: #76B900; }
.cons h3 { color: #E53935; }

/* --- списки --- */
.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pros li,
.cons li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

/* --- маркеры (точки) --- */
.pros li::before,
.cons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.pros li::before {
  background: #76B900;
  box-shadow: 0 0 6px rgba(118,185,0,0.4);
}
.cons li::before {
  background: #E53935;
  box-shadow: 0 0 6px rgba(229,57,53,0.3);
}

/* --- адаптив --- */
@media (max-width: 768px) {
  .pros-cons {
    gap: 24px;
    margin: 50px 0;
  }
  .pros,
  .cons {
    padding: 22px 24px;
  }
  .pros li,
  .cons li {
    font-size: 14.5px;
  }
}
@media (max-width: 480px) {
  .pros,
  .cons {
    padding: 20px 18px;
  }
}

/* =====================================
   TOC (anchors) — навигация в начале статьи
   ===================================== */
#toc {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-left: 4px solid #76B900;
  border-radius: 6px;
  padding: 22px 28px;
  margin: 48px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

#toc:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

#toc h2 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #333;
  margin: 0 0 16px;
}

/* --- список --- */
#toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
#toc li {
  margin: 0;
}

/* --- ссылки --- */
#toc a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 10px;
  display: block;
  border-radius: 4px;
  transition: color 0.25s ease, background 0.25s ease;
}
#toc a:hover {
  background: #f3f7ef;
  color: #76B900;
}

/* --- активный якорь (если используется JS для подсветки) --- */
#toc a.active {
  background: #e9f4db;
  color: #76B900;
  font-weight: 600;
}

/* --- адаптив --- */
@media (max-width: 768px) {
  #toc {
    padding: 18px 20px;
    margin: 36px 0;
  }
  #toc a {
    font-size: 14.5px;
  }
}
@media (max-width: 480px) {
  #toc {
    padding: 16px;
    border-left-width: 3px;
  }
}

/* =====================================
   BREADCRUMBS — чистый минимализм в стиле Nvidia
   ===================================== */
.breadcrumbs {
  font-size: 14.5px;
  color: #777;
  margin-bottom: 32px;
  padding: 0;
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  color: #555;
}

/* --- разделитель --- */
.breadcrumbs li::after {
  content: "/";
  color: #ccc;
  margin: 0 8px;
  font-weight: 400;
}
.breadcrumbs li:last-child::after {
  content: none;
}

/* --- ссылки --- */
.breadcrumbs a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.breadcrumbs a:hover {
  color: #76B900;
  text-shadow: 0 0 6px rgba(118,185,0,0.25);
}

/* --- активный элемент (последний пункт) --- */
.breadcrumbs li:last-child {
  color: #111;
  font-weight: 600;
}

/* --- адаптив --- */
@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 13.5px;
    margin-bottom: 24px;
  }
  .breadcrumbs li::after {
    margin: 0 6px;
  }
}

/* =====================================
   FAQ — чистый, минималистичный, с плавной анимацией
   ===================================== */
.faq-list {
  max-width: 860px;
  margin: 80px auto 60px;
  padding: 0 20px;
}

.faq-list h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.6rem;
  color: #76B900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- контейнер вопроса --- */
.faq-item {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: #cde5a2;
  box-shadow: 0 6px 24px rgba(118,185,0,0.08);
}

/* --- заголовок вопроса --- */
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: #222;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
  border-bottom: 1px solid #f2f2f2;
}
.faq-item summary:hover {
  color: #76B900;
  background: #f7faf4;
}
.faq-item summary::-webkit-details-marker {
  display: none; /* убираем стандартный треугольник */
}

/* --- иконка + / – --- */
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  color: #76B900;
  font-size: 20px;
  font-weight: 700;
  margin-left: 14px;
  transition: transform 0.25s ease, color 0.25s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: #4f7f00;
}

/* --- контент внутри --- */
.faq-content {
  padding: 0 22px 18px;
  color: #555;
  line-height: 1.7;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.35s ease;
  background: #fff;
}
.faq-item[open] .faq-content {
  max-height: 800px;
  opacity: 1;
  padding-top: 12px;
}

/* --- элементы внутри --- */
.faq-content p {
  margin: 10px 0;
}
.faq-content a {
  color: #76B900;
  text-decoration: underline;
  transition: color 0.25s ease;
}
.faq-content a:hover {
  color: #4f7f00;
}

/* --- адаптив --- */
@media (max-width: 600px) {
  .faq-list {
    padding: 0 14px;
    margin: 60px auto 40px;
  }
  .faq-item summary {
    font-size: 14px;
    padding: 14px 16px;
  }
  .faq-item summary::after {
    font-size: 18px;
  }
  .faq-content {
    padding: 0 16px 16px;
    font-size: 14px;
  }
}

/* --- доп. визуальная мягкость на телефонах --- */
@media (hover: none) {
  .faq-item summary:hover {
    background: #fff;
    color: #222;
  }
}

/* =====================================
   FOOTER — светлый, чистый, технологичный
   ===================================== */
.footer {
  background: #f8f8f8;
  border-top: 1px solid #e5e5e5;
  padding: 70px 0 50px;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

/* --- сетка --- */
.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  align-items: start;
}

/* --- заголовки секций --- */
.footer h5 {
  font-family: var(--font-alt);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
  color: #76B900;
  font-weight: 700;
}

/* --- списки ссылок --- */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: 8px;
}
.footer-list a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.footer-list a:hover {
  color: #76B900;
  text-shadow: 0 0 6px rgba(118,185,0,0.2);
}

/* --- общий текст --- */
.footer p {
  margin-top: 20px;
  font-size: 13.5px;
  color: #777;
  line-height: 1.6;
}

/* --- копирайт --- */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
  color: #888;
  font-size: 13px;
}
.footer-bottom a {
  color: #76B900;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-bottom a:hover {
  color: #4f7f00;
}

/* --- адаптив --- */
@media (max-width: 768px) {
  .footer {
    padding: 50px 0 40px;
  }
  .footer .container {
    gap: 36px;
  }
}
@media (max-width: 480px) {
  .footer h5 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .footer p {
    font-size: 13px;
  }
}

/* =====================================
   AUTHOR CARD — доверие и аккуратный стиль
   ===================================== */
.author-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px;
  margin: 70px auto;
  max-width: 860px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.author-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

/* --- фото автора --- */
.author-photo {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid #76B900;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(118,185,0,0.25);
}

/* --- текстовая часть --- */
.author-info {
  flex: 1;
  color: #333;
}
.author-name {
  font-weight: 700;
  font-size: 17px;
  color: #76B900;
  margin-bottom: 6px;
}
.author-bio {
  color: #555;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 10px;
}

/* --- ссылка на LinkedIn или профиль --- */
.author-info a {
  color: #4f7f00;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.author-info a::after {
  content: "↗";
  font-size: 13px;
  opacity: 0.7;
}
.author-info a:hover {
  color: #76B900;
  text-shadow: 0 0 6px rgba(118,185,0,0.25);
}

/* --- адаптив --- */
@media (max-width: 600px) {
  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }
  .author-photo {
    width: 76px;
    height: 76px;
  }
  .author-info {
    margin-top: 12px;
  }
}

/* =====================================
   FLOATING CTA — светлая, контрастная, читаемая
   ===================================== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #76B900 0%, #8edc00 100%);
  color: #fffac5;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 12px 34px;
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(118, 185, 0, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 999;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.floating-cta:hover {
  background: linear-gradient(90deg, #8edc00 0%, #76B900 100%);
  box-shadow: 0 6px 28px rgba(118, 185, 0, 0.35);
  transform: translateX(-50%) translateY(-2px);
  color: #fff;
}

.floating-cta:active {
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 3px 14px rgba(118, 185, 0, 0.3);
}

/* --- вариант с контуром (если понадобится вторичная кнопка) --- */
.floating-cta.outline {
  background: #fff;
  color: #76B900;
  border: 1px solid #76B900;
  box-shadow: 0 0 10px rgba(118,185,0,0.15);
}
.floating-cta.outline:hover {
  background: #f8fff2;
  color: #4f7f00;
  box-shadow: 0 0 18px rgba(118,185,0,0.25);
}

/* --- адаптивность --- */
@media (max-width: 768px) {
  .floating-cta {
    bottom: 18px;
    font-size: 13px;
    padding: 10px 26px;
    border-radius: 5px;
  }
}
@media (max-width: 480px) {
  .floating-cta {
    bottom: 16px;
    font-size: 12.5px;
    padding: 9px 22px;
    max-width: 90%;
    text-align: center;
    line-height: 1.4;
    border-radius: 4px;
  }
}

/* =====================================
   ANIMATIONS & MICROINTERACTIONS
   ===================================== */

/* --- плавные переходы для интерактивных элементов --- */
a, button, summary {
  transition: all 0.25s ease;
}

/* --- общее появление блоков при загрузке --- */
.main-content,
.header,
.footer {
  animation: fadeInUp 0.5s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- лёгкое появление при прокрутке (если добавлять js-класс .fade-in) --- */
.fade-in {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- подсветка выделенного текста --- */
::selection {
  background: #b5f57c; /* светло-зелёный акцент, читаемый */
  color: #0a0a0a;
}

/* =====================================
   SCROLLBAR — минималистичный и нейтральный
   ===================================== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-left: 1px solid #e2e2e2;
}
::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 5px;
  transition: background 0.25s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #76B900;
}

/* --- плавное затемнение ссылок/кнопок при фокусе --- */
:focus-visible {
  outline: 2px solid #76B900;
  outline-offset: 2px;
  transition: outline-color 0.25s ease;
}

/* --- микродеталь: кнопки при клике слегка "проседают" --- */
button:active,
.btn:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}