/* =====================================
   ROOT VARIABLES — Bplay Argentina Style
   ===================================== */
:root {
  /* Основные цвета — тёплый high-tech */
  --bg-dark: #f8f9fa;
  --bg-light: #ffffff;
  --bg-hover: #f3f4f6;
  --accent: #00c46d; /* зелёный с ноткой лайма — энергичный */
  --accent-hover: #00a85a;
  --border: #e0e0e0;

  /* Дополнительные акценты */
  --accent-secondary: #0076ff; /* лёгкий синий — ассоциация с Аргентиной и небом */
  --gradient-accent: linear-gradient(90deg, #00c46d 0%, #00a85a 100%);
  --gradient-light: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);

  /* Текст */
  --text-main: #111;
  --text-muted: #555;
  --text-inverse: #fff;

  /* Типографика */
  --font-main: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
  --font-alt: 'Space Grotesk', 'Poppins', sans-serif;

  /* Эффекты и параметры */
  --transition: 0.25s ease;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

/* =====================================
   GLOBAL RESET + BASE — Bplay Argentina
   ===================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

/* --- базовые настройки документа --- */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 72px;
  transition: background 0.3s ease, color 0.3s ease;
}

/* --- контейнер, чтобы контент всегда оставался в пределах viewport --- */
.container {
  width: min(1320px, 100%);
  margin-inline: auto;
  padding-inline: clamp(14px, 4vw, 28px);
  overflow-x: hidden;
}

/* --- фиксация потенциальных “выпирающих” эффектов --- */
header, .header, .main-content, footer, .footer {
  overflow-x: clip;
}

/* --- адаптив --- */
@media (max-width: 600px) {
  body {
    padding-top: 60px;
    font-size: 15px;
    line-height: 1.6;
  }
}

/* --- ссылки --- */
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.015em;
  line-height: 1.3;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 1.45rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

/* --- текст и списки --- */
p, li {
  font-size: 16px;
  color: var(--text-main);
}

ul {
  list-style: none;
  padding-left: 0;
  margin: 1em 0;
}

ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: bold;
}

/* --- контейнер --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* --- базовая адаптивность --- */
@media (max-width: 992px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.3rem; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.15rem; }
}

/* =====================================
   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: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* --- шапка таблицы --- */
thead {
  background: linear-gradient(90deg, #f9faf9 0%, #f1f5f1 100%);
  border-bottom: 2px solid var(--accent);
}
thead th {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
thead th:last-child {
  border-right: none;
}

/* --- тело таблицы --- */
tbody tr {
  transition: background 0.25s ease, transform 0.15s ease;
  border-bottom: 1px solid var(--border);
}
tbody tr:hover {
  background: linear-gradient(90deg, #fdfefd 0%, #f7fff9 100%);
  transform: scale(1.002);
}
td {
  padding: 12px 18px;
  border-right: 1px solid #eee;
  vertical-align: middle;
  text-align: left;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
td:last-child {
  border-right: none;
}
td strong {
  color: var(--text-main);
}

/* --- чередование строк --- */
tbody tr:nth-child(even) {
  background: #fbfbfb;
}

/* --- эффекты при наведении на ячейки --- */
td:hover {
  color: var(--text-main);
}

/* --- адаптивность для мобильных устройств --- */
@media (max-width: 768px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody tr {
    margin-bottom: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 10px 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
  }
  tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  }

  td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 4px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    line-height: 1.5;
  }

  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;
    min-width: 120px;
  }
}

/* =====================================
   BLOCKQUOTE — лёгкий акцент, спортивная динамика
   ===================================== */
blockquote {
  position: relative;
  margin: 32px 0;
  padding: 18px 24px 18px 26px;
  background: linear-gradient(180deg, #f9faf9 0%, #f2f5f2 100%);
  color: #333;
  font-style: italic;
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

blockquote::before {
  content: "“";
  position: absolute;
  top: -12px;
  left: 10px;
  font-size: 3rem;
  color: rgba(118,185,0,0.15);
  font-family: var(--font-alt);
  line-height: 1;
  pointer-events: none;
}

blockquote:hover {
  background: linear-gradient(180deg, #f7fff8 0%, #eef8f0 100%);
  box-shadow: 0 5px 18px rgba(0,255,128,0.08);
  transform: translateY(-2px);
}

/* =====================================
   BUTTONS — акцент на чистоту и энергию бренда
   ===================================== */
button,
.btn {
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 11px 26px;
  border: 1px solid var(--accent);
  background: var(--gradient-accent);
  color: #fff;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 3px 12px rgba(118,185,0,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

button:hover,
.btn:hover {
  background: linear-gradient(90deg, var(--accent-hover) 0%, var(--accent) 100%);
  border-color: var(--accent-hover);
  box-shadow: 0 5px 18px rgba(118,185,0,0.35);
  transform: translateY(-2px);
  color: #fff;
}

button:active,
.btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(118,185,0,0.25);
}

/* --- Вариант Outline --- */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 14px rgba(118,185,0,0.25);
}

/* --- Вариант с иконкой справа (например “→”) --- */
.btn-icon::after {
  content: "→";
  margin-left: 8px;
  font-weight: 400;
  font-size: 15px;
  transition: transform 0.25s ease;
}
.btn-icon:hover::after {
  transform: translateX(4px);
}

/* =====================================
   RESPONSIVE TYPOGRAPHY — баланс на мобильных
   ===================================== */
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  table { font-size: 14px; }
  button, .btn {
    padding: 10px 22px;
    font-size: 13.5px;
  }
}
@media (max-width: 400px) {
  body { font-size: 15px; line-height: 1.55; }
  button, .btn {
    padding: 9px 20px;
  }
}

/* =====================================
   MAIN CONTENT — чистая структура и дыхание страницы
   ===================================== */
.main-content {
  padding: 70px 0 110px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8f6 100%);
}

@media (max-width: 600px) {
  .main-content {
    padding: 45px 0 80px;
  }
}

/* --- тело статьи --- */
.article-body {
  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;
  font-size: 1.45rem;
  line-height: 1.3;
}
.article-body h2::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(118,185,0,0.35);
}

/* --- параграфы --- */
.article-body p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
  transition: color 0.3s ease;
}
.article-body p:hover {
  color: var(--text-main);
}

/* --- изображения --- */
.article-body img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  margin: 36px auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-body img:hover {
  transform: scale(1.025);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* --- списки --- */
.article-body ul {
  margin: 20px 0 26px;
  padding-left: 0;
  list-style: none;
  color: var(--text-main);
}
.article-body li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 24px;
  line-height: 1.65;
}
.article-body li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}

/* --- цитаты внутри статьи --- */
.article-body blockquote {
  position: relative;
  margin: 36px 0;
  padding: 18px 24px 18px 30px;
  background: linear-gradient(180deg, #f9faf9 0%, #f2f5f2 100%);
  color: #333;
  font-style: italic;
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.article-body blockquote:hover {
  background: linear-gradient(180deg, #f8fff8 0%, #eef8f0 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(118,185,0,0.08);
}

/* --- адаптивность --- */
@media (max-width: 768px) {
  .article-body {
    font-size: 15.5px;
    line-height: 1.7;
  }
  .article-body h2 {
    margin-top: 60px;
    font-size: 1.3rem;
  }
  .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;
  }
  .article-body li::before {
    font-size: 14px;
  }
}

/* =====================================
   HEADER — фиксированный, адаптивный, без перекосов
   ===================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #111;
  transition: background 0.25s ease;
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 20px;
  min-height: 68px;
  position: relative;
}

/* --- логотип --- */
.header-logo img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 4px rgba(0, 255, 198, 0.25));
  transition: filter 0.25s ease;
}
.header-logo img:hover {
  filter: drop-shadow(0 0 8px rgba(0, 255, 198, 0.5));
}

/* =====================================
   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-muted);
  text-transform: uppercase;
  font-size: 13px;
  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);
}

/* =====================================
   HEADER BUTTONS — вход / регистрация
   ===================================== */
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.btn:hover {
  background: var(--accent);
  color: #000;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: var(--accent-hover);
}

/* =====================================
   BURGER — фиксированный, всегда сверху
   ===================================== */
.burger {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 2001; /* поверх всего */
  width: 38px;
  height: 38px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.burger:hover {
  border-color: var(--accent);
  background: #0f0f0f;
}

.burger-box {
  position: relative;
  width: 20px;
  height: 20px;
}

.burger-line,
.burger-line::before,
.burger-line::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
}

.burger-line {
  top: 50%;
  transform: translateY(-50%);
}
.burger-line::before {
  top: -7px;
}
.burger-line::after {
  top: 7px;
}

/* --- состояние “крестик” --- */
.burger[aria-expanded="true"] {
  background: var(--accent);
  border-color: var(--accent);
}
.burger[aria-expanded="true"] .burger-line {
  background: #000;
  transform: translateY(-50%) rotate(45deg);
}
.burger[aria-expanded="true"] .burger-line::before {
  transform: rotate(-90deg);
  top: 0;
  background: #000;
}
.burger[aria-expanded="true"] .burger-line::after {
  opacity: 0;
}

/* =====================================
   MOBILE MENU — теперь корректно под бургером
   ===================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  height: 100vh;
  background: #000;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
  z-index: 2000; /* ниже бургера */
}
.mobile-menu.is-open {
  transform: translateY(0);
}

/* меню и кнопки */
.mobile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 40px;
}
.mobile-link {
  display: block;
  text-align: left;
  color: #fff;
  text-transform: uppercase;
  font-size: 15px;
  padding: 14px 10px;
  border-bottom: 1px solid #111;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease;
}
.mobile-link:hover {
  color: var(--accent);
  background: #111;
}

.mobile-actions {
  padding: 20px 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #111;
}

/* =====================================
   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: 28px;
  }
  .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: 90px 90px;
  padding-inline: clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(135deg, #dfffe7 0%, #e9fbe4 40%, #f9faf9 100%);
  border-bottom: 1px solid #d9e4d3;
  overflow: hidden;
}

/* --- плавный цветной акцентный фон --- */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(118,185,0,0.25) 0%, transparent 60%),
    radial-gradient(circle at 85% 70%, rgba(0,180,120,0.15) 0%, transparent 80%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

/* --- текстовый контейнер слева --- */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  text-align: left;
}

/* --- заголовок --- */
.page-hero h1 {
  font-family: var(--font-alt);
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a1a1a;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 14px;
}

/* --- описание --- */
.page-hero p {
  color: #444;
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 90%;
}

/* --- CTA-кнопка --- */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 12px 34px;
  color: #fff;
  background: linear-gradient(90deg, #76B900 0%, #6dcc00 100%);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(118,185,0,0.25);
  transition: all 0.25s ease;
}
.hero-btn:hover {
  background: linear-gradient(90deg, #6dcc00 0%, #76B900 100%);
  box-shadow: 0 6px 22px rgba(118,185,0,0.35);
  transform: translateY(-2px);
  color: #fff;
}

/* --- фон-декор справа (можно подставить изображение) --- */
.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: radial-gradient(circle at center, rgba(118,185,0,0.1) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* =====================================
   RESPONSIVE HERO
   ===================================== */
@media (max-width: 900px) {
  .page-hero {
    flex-direction: column;
    text-align: center;
    padding-block: 70px 70px;
  }
  .hero-content {
    max-width: 600px;
    text-align: center;
  }
  .page-hero h1 {
    font-size: 1.9rem;
  }
  .page-hero p {
    font-size: 15.5px;
    margin-inline: auto;
  }
  .hero-btn {
    font-size: 13.5px;
    padding: 10px 28px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding-block: 60px 50px;
  }
  .page-hero h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  .page-hero p {
    font-size: 15px;
  }
}

/* =====================================
   PROS & CONS — чисто, сбалансировано, с объёмом
   ===================================== */
.pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin: 70px 0;
}

/* --- карточки --- */
.pros,
.cons {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9f8 100%);
  padding: 28px 32px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  box-shadow: 0 6px 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 10px 28px rgba(0, 0, 0, 0.08);
}

/* --- заголовки --- */
.pros h3,
.cons h3 {
  margin: 0 0 16px;
  text-transform: uppercase;
  font-size: 15.5px;
  letter-spacing: 0.6px;
  font-weight: 700;
}
.pros h3 { color: var(--accent); }
.cons h3 { color: #E53935; }

/* --- списки --- */
.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pros li,
.cons li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #2b2b2b;
  font-size: 15.2px;
  line-height: 1.65;
  transition: color 0.25s ease;
}
.pros li:hover,
.cons li:hover {
  color: #000;
}

/* --- маркеры --- */
.pros li::before,
.cons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pros li::before {
  background: var(--accent);
  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);
}
.pros li:hover::before,
.cons li:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(118,185,0,0.45);
}

/* --- адаптив --- */
@media (max-width: 768px) {
  .pros-cons {
    gap: 26px;
    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: linear-gradient(180deg, #ffffff 0%, #f8faf6 100%);
  border: 1px solid #e5e5e5;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 24px 28px;
  margin: 52px 0;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
  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: #2a2a2a;
  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: 5px;
  transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
}
#toc a:hover {
  background: #f3f8ef;
  color: var(--accent);
  padding-left: 14px;
}

/* --- активный якорь (при JS-подсветке) --- */
#toc a.active {
  background: #e8f4da;
  color: var(--accent);
  font-weight: 600;
}

/* --- адаптив --- */
@media (max-width: 768px) {
  #toc {
    padding: 18px 20px;
    margin: 40px 0;
  }
  #toc a {
    font-size: 14.5px;
  }
}
@media (max-width: 480px) {
  #toc {
    padding: 16px;
    border-left-width: 3px;
  }
}

/* =====================================
   BREADCRUMBS — минимализм с глубиной
   ===================================== */
.breadcrumbs {
  font-size: 14.5px;
  color: #666;
  margin-bottom: 36px;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 8px;
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0 18px;
  margin: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  color: #444;
}

/* --- разделитель --- */
.breadcrumbs li::after {
  content: "›";
  color: #bbb;
  margin: 0 6px;
  font-weight: 400;
}
.breadcrumbs li:last-child::after {
  content: none;
}

/* --- ссылки --- */
.breadcrumbs a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.breadcrumbs a:hover {
  color: var(--accent);
  text-shadow: 0 0 4px 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;
    border-radius: 6px;
  }
  .breadcrumbs ul {
    padding: 0 12px;
  }
}


/* =====================================
   FAQ — премиальный стиль, карточки с анимацией
   ===================================== */
.faq-list {
  max-width: 860px;
  margin: 80px auto 60px;
  padding: 0 20px;
}

.faq-list h2 {
  text-align: center;
  margin-bottom: 42px;
  font-size: 1.6rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  position: relative;
}
.faq-list h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* --- элемент вопроса --- */
.faq-item {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}
.faq-item:hover {
  border-color: #cde5a2;
  box-shadow: 0 10px 26px rgba(118,185,0,0.08);
  transform: translateY(-2px);
}

/* --- заголовок вопроса --- */
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: #111;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: color 0.25s ease, background 0.25s ease;
  border-bottom: 1px solid #f3f3f3;
}
.faq-item summary:hover {
  color: var(--accent);
  background: #f8faf6;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* --- иконка + / – --- */
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  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: #444;
  line-height: 1.7;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}
.faq-item[open] .faq-content {
  max-height: 600px;
  opacity: 1;
  padding-top: 12px;
}

/* --- внутри --- */
.faq-content p {
  margin: 10px 0;
}
.faq-content a {
  color: var(--accent);
  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: 14.5px;
    padding: 14px 16px;
  }
  .faq-item summary::after {
    font-size: 18px;
  }
  .faq-content {
    padding: 0 16px 16px;
    font-size: 14.2px;
  }
}

/* --- отключаем hover на сенсорных устройствах --- */
@media (hover: none) {
  .faq-item summary:hover {
    background: #fff;
    color: #222;
  }
}

/* =====================================
   FOOTER — светлый, чистый, с глубиной
   ===================================== */
.footer {
  background: linear-gradient(180deg, #f9faf8 0%, #f1f4ef 100%);
  border-top: 1px solid #dfe4d9;
  padding: 80px 0 60px;
  color: #444;
  font-size: 14px;
  line-height: 1.75;
  position: relative;
  overflow: hidden;
}

/* --- декоративный фоновой акцент --- */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(118,185,0,0.15) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

/* --- сетка --- */
.footer .container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  align-items: start;
  z-index: 2;
}

/* --- заголовки секций --- */
.footer h5 {
  font-family: var(--font-alt);
  font-size: 15.5px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 700;
}

/* --- списки ссылок --- */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: 9px;
}
.footer-list a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease, text-shadow 0.25s ease, padding-left 0.25s ease;
}
.footer-list a:hover {
  color: var(--accent);
  text-shadow: 0 0 6px rgba(118,185,0,0.2);
  padding-left: 4px;
}

/* --- общий текст --- */
.footer p {
  margin-top: 20px;
  font-size: 13.5px;
  color: #666;
  line-height: 1.6;
}

/* --- нижняя часть футера --- */
.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #dfe4d9;
  color: #777;
  font-size: 13.5px;
  z-index: 2;
  position: relative;
}
.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-bottom a:hover {
  color: #4f7f00;
}

/* --- адаптив --- */
@media (max-width: 768px) {
  .footer {
    padding: 60px 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: 22px;
  padding: 32px 30px;
  margin: 80px auto;
  max-width: 860px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(200,210,190,0.5);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.author-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

/* --- фото автора --- */
.author-photo {
  flex-shrink: 0;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
  box-shadow: 0 0 10px rgba(118,185,0,0.25);
}

/* --- текстовая часть --- */
.author-info {
  flex: 1;
  color: #333;
}
.author-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
  margin-bottom: 8px;
}
.author-bio {
  color: #555;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 12px;
}

/* --- ссылка на профиль --- */
.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: var(--accent);
  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: 14px;
  }
}

/* =====================================
   FLOATING CTA — глянцевая, живая, с мягким свечением
   ===================================== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #fff;
  background: linear-gradient(92deg, #78c800 0%, #93e12f 100%);
  border: 1px solid rgba(118,185,0,0.5);
  border-radius: 10px;
  padding: 13px 36px;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 8px 28px rgba(118,185,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  z-index: 999;
}

/* --- hover и active --- */
.floating-cta:hover {
  background: linear-gradient(92deg, #8edc00 0%, #76B900 100%);
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 10px 34px rgba(118,185,0,0.4);
  color: #fff;
}
.floating-cta:active {
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 4px 16px rgba(118,185,0,0.25);
}

/* --- светящийся контур (анимация “пульса”) --- */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 18px rgba(118,185,0,0.4); }
  50% { box-shadow: 0 0 26px rgba(118,185,0,0.55); }
  100% { box-shadow: 0 0 18px rgba(118,185,0,0.4); }
}
.floating-cta.glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* --- вторичная кнопка (outline) --- */
.floating-cta.outline {
  background: rgba(255,255,255,0.8);
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 2px 10px rgba(118,185,0,0.15);
  backdrop-filter: blur(6px);
}
.floating-cta.outline:hover {
  background: #f4faef;
  color: #4f7f00;
  box-shadow: 0 4px 18px rgba(118,185,0,0.25);
}

/* --- адаптив --- */
@media (max-width: 768px) {
  .floating-cta {
    bottom: 18px;
    font-size: 13.5px;
    padding: 11px 26px;
    border-radius: 8px;
  }
}
@media (max-width: 480px) {
  .floating-cta {
    bottom: 16px;
    font-size: 12.8px;
    padding: 10px 22px;
    max-width: 92%;
    line-height: 1.45;
    border-radius: 6px;
  }
}

/* =====================================
   ANIMATIONS & MICROINTERACTIONS
   ===================================== */

/* --- плавные переходы --- */
a, button, summary {
  transition: all 0.25s ease;
}

/* --- общее появление сайта --- */
.main-content,
.header,
.footer {
  animation: fadeInSoft 0.6s ease both;
}
@keyframes fadeInSoft {
  from { opacity: 0; transform: translateY(14px); filter: blur(3px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* --- мягкое появление при прокрутке --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- выделение текста --- */
::selection {
  background: rgba(118,185,0,0.35);
  color: #000;
}

/* =====================================
   SCROLLBAR — нейтральный, с фирменным акцентом
   ===================================== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f2f2f2;
}
::-webkit-scrollbar-thumb {
  background: #bcbcbc;
  border-radius: 5px;
  transition: background 0.25s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* --- фокус на интерактивных элементах --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  transition: outline-color 0.25s ease;
}

/* --- кликовая микроанимация --- */
button:active,
.btn:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}