/* ============================================================
   Think Out — style.css
   Архитекторы цифровой устойчивости
   ============================================================ */

:root {
  --bg: #0b1424;
  --bg-2: #0f1c30;
  --bg-3: #132238;
  --card: #14233c;
  --card-hover: #182a47;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e9eef6;
  --muted: #9aa9bd;
  --accent: #ff7a1a;
  --accent-soft: rgba(255, 122, 26, 0.12);
  --accent-2: #2dd4bf;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Чтобы якоря не уходили под фиксированную шапку */
[id] { scroll-margin-top: 84px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #ff944d; }
ul { list-style: none; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }

.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-2); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.label::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 720px; }
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin: 0 auto; }
.section-head--center .label { justify-content: center; }
.section-head--center .label::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #0b1424;
  box-shadow: 0 12px 30px rgba(255, 122, 26, 0.3);
}
.btn--primary:hover { background: #ff8a35; color: #0b1424; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--lg { padding: 18px 38px; font-size: 16px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 20, 36, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.header.scrolled { border-bottom-color: var(--line); background: rgba(11, 20, 36, 0.94); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }

.logo { display: flex; align-items: baseline; font-weight: 800; font-size: 22px; color: var(--text); letter-spacing: -0.02em; }
.logo b { color: var(--accent); }
.logo span { font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 6px; letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; gap: 32px; }
.nav__link { color: var(--muted); font-size: 16px; font-weight: 500; position: relative; padding: 6px 0; }
.nav__link:hover, .nav__link.active { color: var(--text); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.25s; border-radius: 2px;
}
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__phone { color: var(--text); font-weight: 600; font-size: 15px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(255, 122, 26, 0.18), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(45, 212, 191, 0.12), transparent 60%),
    linear-gradient(rgba(11, 20, 36, 0.78), rgba(11, 20, 36, 0.92)),
    url("../images/hero-bg.jpg") center/cover no-repeat,
    var(--bg);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 500px at 70% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(700px 500px at 70% 30%, black, transparent);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 860px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 122, 26, 0.3);
  color: #ffb37a;
  font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 640px; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__meta-item b { display: block; font-size: 26px; font-weight: 800; color: var(--text); }
.hero__meta-item b i { font-style: normal; color: var(--accent); }
.hero__meta-item span { color: var(--muted); font-size: 14px; }

/* ---------- Essence (второй блок) ---------- */
.essence { position: relative; }
.essence__card {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.essence__card::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,122,26,0.15), transparent 70%);
}
.essence__card p { font-size: clamp(18px, 2.4vw, 23px); font-weight: 500; line-height: 1.55; position: relative; z-index: 2; }
.essence__card p b { color: var(--accent); }
.essence__card .essence__meta {
  margin-top: 24px; display: flex; gap: 12px; align-items: center;
  color: var(--muted); font-size: 15px; position: relative; z-index: 2;
}

/* ---------- Problems ---------- */
.problems__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.problem-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.problem-card:hover { transform: translateY(-4px); border-color: rgba(255, 122, 26, 0.4); background: var(--card-hover); }
.problem-card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  margin-bottom: 20px;
}
.problem-card__icon svg { width: 24px; height: 24px; stroke: var(--accent); }
.problem-card p { color: var(--muted); }
.problem-card b { color: var(--text); }
.problems__footer { margin-top: 40px; text-align: center; }
.problems__footer p { font-size: 20px; font-weight: 700; color: var(--text); }
.problems__footer p span { color: var(--accent); }

/* ---------- Steps (Решение) ---------- */
.steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.step-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform 0.25s, border-color 0.25s;
  overflow: hidden;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(255, 122, 26, 0.45); }
.step-card__num {
  position: absolute; top: 16px; right: 24px;
  font-size: 72px; font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  letter-spacing: -0.04em;
}
.step-card__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #ff9d4d);
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.3);
  margin-bottom: 24px;
}
.step-card__icon svg { width: 28px; height: 28px; stroke: #0b1424; }
.step-card h3 { font-size: 21px; margin-bottom: 14px; position: relative; z-index: 1; }
.step-card p { color: var(--muted); font-size: 15px; position: relative; z-index: 1; }

/* ---------- USP ---------- */
.usp__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.usp-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}
.usp-card::before {
  content: "";
  position: absolute; top: 0; left: 32px; right: 32px;
  height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.6;
}
.usp-card h3 { font-size: 19px; margin-bottom: 12px; }
.usp-card p { color: var(--muted); font-size: 15px; }
.usp-card__n { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; display: block; margin-bottom: 10px; }

/* ---------- Case ---------- */
.case {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.case::before {
  content: "«";
  position: absolute; right: 24px; top: -40px;
  font-size: 260px; font-weight: 800;
  color: rgba(255, 122, 26, 0.08);
  line-height: 1;
}
.case__tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.08);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 24px;
}
.case h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 20px; }
.case p { color: var(--muted); font-size: 16px; max-width: 760px; }
.case p + p { margin-top: 14px; }
.case__result {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 122, 26, 0.3);
  color: #ffb37a;
  font-weight: 700;
  padding: 12px 22px; border-radius: 12px;
}
.case__quote { margin-top: 32px; font-style: italic; color: var(--text); font-size: 18px; }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.25s, border-color 0.25s;
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(255, 122, 26, 0.4); }
.team-card__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1424;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 22px;
  margin-bottom: 20px;
}
.team-card h3 { font-size: 20px; }
.team-card__role { color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 14px; display: block; }
.team-card p { color: var(--muted); font-size: 15px; }
.team__footer {
  margin-top: 40px; text-align: center;
  color: var(--muted); font-size: 17px;
}
.team__footer b { color: var(--text); }

/* ---------- For whom ---------- */
.audience__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.audience-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.25s;
}
.audience-item:hover { border-color: rgba(45, 212, 191, 0.4); }
.audience-item__check {
  flex: 0 0 28px; height: 28px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.4);
  display: flex; align-items: center; justify-content: center;
}
.audience-item__check svg { width: 14px; height: 14px; stroke: var(--accent-2); }
.audience-item p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq__item.open { border-color: rgba(255, 122, 26, 0.4); }
.faq__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: none; cursor: pointer;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px; font-weight: 600;
  text-align: left;
  padding: 22px 26px;
}
.faq__q .faq__icon {
  flex: 0 0 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
}
.faq__q .faq__icon svg { width: 14px; height: 14px; stroke: var(--accent); }
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq__a p { padding: 0 26px 24px; color: var(--muted); font-size: 15px; }

/* ---------- CTA / Form ---------- */
.cta {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(255, 122, 26, 0.16), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(45, 212, 191, 0.1), transparent 60%),
    var(--bg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 20px; }
.cta p { color: var(--muted); font-size: 17px; }
.cta__contacts { margin-top: 32px; display: grid; gap: 14px; }
.cta__contact { display: flex; align-items: center; gap: 14px; color: var(--text); font-weight: 600; }
.cta__contact svg { width: 20px; height: 20px; stroke: var(--accent); flex: 0 0 20px; }
.cta__contact small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form__row { margin-bottom: 18px; }
.form label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.03em; }
.form input, .form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
}
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form textarea { resize: vertical; min-height: 90px; }
.form .btn { width: 100%; margin-top: 6px; }
.form__note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.form__ok {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--accent-2);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.footer { background: #070e1a; padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 18px; }
.footer p { color: var(--muted); font-size: 14px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: var(--muted); font-size: 14px; }
.footer__links a:hover { color: var(--accent); }
.footer__socials { display: flex; gap: 12px; margin-top: 18px; }
.footer__socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.footer__socials a:hover { border-color: var(--accent); background: var(--accent-soft); }
.footer__socials svg { width: 18px; height: 18px; stroke: var(--muted); }
.footer__socials a:hover svg { stroke: var(--accent); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- Page head (внутренние страницы) ---------- */
.page-head { padding: 160px 0 60px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); margin: 8px 0 14px; }
.page-head p { color: var(--muted); font-size: 17px; max-width: 640px; }

/* ---------- Services page ---------- */
.service-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  margin-bottom: 28px;
  transition: border-color 0.25s;
}
.service-block:hover { border-color: rgba(255, 122, 26, 0.4); }
.service-block__head { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.service-block__icon {
  width: 56px; height: 56px; flex: 0 0 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #ff9d4d);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.3);
}
.service-block__icon svg { width: 28px; height: 28px; stroke: #0b1424; }
.service-block h2 { font-size: 24px; }
.service-block h3 { font-size: 16px; color: var(--accent); margin: 18px 0 8px; }
.service-block p, .service-block li { color: var(--muted); font-size: 15px; }
.service-block ul { padding-left: 4px; }
.service-block ul li { padding-left: 20px; position: relative; margin-bottom: 8px; }
.service-block ul li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent);
}
.service-block__specs { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.spec {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--muted);
}
.spec b { color: var(--text); }

/* ---------- Blog ---------- */
.blog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s, border-color 0.25s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(255, 122, 26, 0.4); }
.blog-card__tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 5px 12px; border-radius: 100px;
}
.blog-card h3 { font-size: 19px; line-height: 1.4; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--muted); font-size: 14px; flex: 1; }
.blog-card__more { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .cta__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: none; }
  .nav__list { flex-direction: column; gap: 16px; width: 100%; }
  .nav__phone { display: none; }
  .essence__card { padding: 32px 24px; }
  .case { padding: 36px 24px; }
  .form { padding: 28px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .service-block { padding: 30px 24px; }
  .hero__meta { gap: 24px; }
}

/* ---------- Blog article ---------- */
.article-meta {
  display: flex; gap: 12px; align-items: center;
  color: var(--muted); font-size: 14px; margin-bottom: 32px;
}
.article-lead {
  font-size: 19px; line-height: 1.65; color: var(--muted);
  margin-bottom: 36px; padding-left: 20px;
  border-left: 3px solid var(--accent);
}
.article-body { font-size: 17px; line-height: 1.78; }
.article-body p { margin-bottom: 22px; }
.article-body h2 {
  font-size: 25px; margin: 44px 0 18px; padding-top: 8px;
  border-top: 1px solid var(--line);
}
.article-body h2 .step-num { color: var(--accent); }
.article-body ul { list-style: none; margin: 0 0 24px; padding: 0; }
.article-body ul li {
  position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text);
}
.article-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
}
.article-img {
  float: right;
  width: 44%;
  max-width: 380px;
  margin: 10px 0 18px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.article-img img { width: 100%; height: auto; display: block; }
.article-img figcaption {
  font-size: 13px; color: var(--muted); text-align: center;
  padding: 10px 14px; line-height: 1.45; background: var(--bg-3);
}
.article-end { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .article-img { float: none; width: 100%; max-width: 100%; margin: 0 0 24px; }
}

/* ---------- Blog article: h3 + table ---------- */
.article-body h3 { font-size: 21px; margin: 36px 0 14px; padding-top: 6px; }
.article-body h3 .step-num { color: var(--accent); }
.article-table {
  width: 100%; border-collapse: collapse;
  margin: 8px 0 30px; font-size: 15px; line-height: 1.55;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.article-table th, .article-table td {
  border: 1px solid var(--line); padding: 13px 16px;
  text-align: left; vertical-align: top;
}
.article-table thead th { background: var(--bg-3); color: var(--text); font-weight: 700; font-size: 14px; }
.article-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.025); }
.article-table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
  .article-table { font-size: 13px; }
  .article-table th, .article-table td { padding: 10px 10px; }
  .article-table td:first-child { white-space: normal; }
}

/* ---------- Blog article: белый фон, чёрный текст ---------- */
.article-page { background: #ffffff; }
.article-page,
.article-page p,
.article-page li,
.article-page h2,
.article-page h3,
.article-page strong { color: #1d2733; }
.article-page .article-lead { color: #111827; border-left-color: var(--accent); }
.article-page .article-meta { color: #111827; }
.article-page h2 { border-top-color: #e5e7eb; }
.article-page .article-body ul li::before { background: #0d9488; }
.article-page .blog-card__tag {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.35);
}
.article-page .article-table { border-color: #e5e7eb; }
.article-page .article-table th,
.article-page .article-table td { border-color: #e5e7eb; }
.article-page .article-table thead th { background: #f3f4f6; color: #111827; }
.article-page .article-table tbody tr:nth-child(even) td { background: #f9fafb; }
.article-page .article-table td:first-child { color: #111827; }
.article-page .btn--ghost { color: #1d2733; border-color: #d1d5db; }
.article-page .btn--ghost:hover { color: var(--accent); border-color: var(--accent); }

.article-page .article-body { color: #1d2733; }
.article-page .article-body em { color: #1d2733; }

.article-page .article-body ul li { color: #1d2733; }
.article-page .article-body ul li::before { background: #0d9488; }
.article-page .article-body p { color: #1d2733; }
.article-page .article-body h2,
.article-page .article-body h3 { color: #111827; }

/* ---------- Подпись автора в статьях ---------- */
.article-signature {
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid #e5e7eb; text-align: center;
}
.article-signature p { margin: 0 0 4px; font-size: 16px; color: #111827; font-weight: 600; }
.article-signature .article-signature__copy { font-weight: 400; font-size: 13px; color: #4b5563; }
