/* === Токены — соответствие основному сайту === */
:root {
  --bg: #ffffff;
  --bg-alt: #eff8ee;
  --bg-soft: #f6fbf4;
  --bg-dark: #1e2b1b;
  --surface: #ffffff;
  --fg: #1e2b1b;
  --fg-on-dark: #ffffff;
  --muted: #6b7268;
  --border: #e5ebe5;
  --border-strong: #c7d4c4;
  --accent: #5bae3f;
  --accent-dark: #4a9533;
  --accent-soft: #edfee9;
  --radius: 12px;
  --radius-lg: 16px;
  --space-section: 100px;
  --container: 1280px;
  --reading: 720px;
}

/* === Базовый сброс === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: opacity 160ms ease; }
a:hover { opacity: 0.8; text-decoration: underline; text-underline-offset: 4px; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
hr { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* === Типографика === */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.1;
  color: var(--fg);
}
h1 { font-size: clamp(2.2rem, 4.5vw + 1rem, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 2.4vw + 0.8rem, 2.6rem); line-height: 1.15; }
h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 600; }
h4 { font-size: 1.1rem; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 1.2rem;
  padding: 6px 14px;
  background: var(--accent-soft);
  border-radius: 100px;
}
.eyebrow--on-dark { color: var(--accent); background: rgba(91, 174, 63, 0.15); }

/* === Сетка === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.reading { max-width: var(--reading); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space-section) 0; }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: var(--fg-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--fg-on-dark); }
.section--dark .eyebrow { color: var(--accent); background: rgba(91, 174, 63, 0.15); }
@media (max-width: 768px) { :root { --space-section: 64px; } }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 245, 238, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(30, 43, 27, 0.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
  gap: 20px;
}
.header-brand {
  display: flex; align-items: center; gap: 22px;
  text-decoration: none;
}
.header-brand:hover { opacity: 1; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 44px; width: auto; }
.header-brand-text {
  display: flex; flex-direction: column; line-height: 1;
  text-decoration: none;
}
.header-blog-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--accent);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: max-content;
}
.header-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.header-brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}
.site-nav { display: flex; gap: 32px; align-items: center; }
.site-nav a {
  color: var(--fg);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.site-nav a[aria-current="page"] {
  color: var(--accent);
}
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--accent);
}
.site-phone {
  font-weight: 700; font-size: 1.05rem;
  color: #ffffff;
  background: var(--accent);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 8px;
  transition: background-color 160ms ease;
}
.site-phone:hover { background: var(--accent-dark); opacity: 1; }
.menu-toggle { display: none; padding: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--fg); position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--fg);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
@media (max-width: 980px) {
  .site-nav, .site-phone-desktop { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .header-brand-sub { display: none; }
}
@media (max-width: 980px) {
  .site-nav {
    position: fixed; inset: 80px 0 0 0;
    background: rgba(241, 245, 238, 0.98);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    flex-direction: column; gap: 24px;
    padding: 32px 24px;
    border-top: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 220ms ease;
    align-items: flex-start;
    display: flex;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 1.4rem; }
}

/* === Intro (о блоге) === */
.intro {
  position: relative;
  padding: 140px 0 120px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(20, 32, 18, 0.55) 0%, rgba(20, 32, 18, 0.78) 100%),
    url("../hero-house.jpg") center/cover no-repeat;
  background-color: #1e2b1b;
}
.intro .container { position: relative; z-index: 1; }
.intro .eyebrow {
  color: var(--accent);
  background: rgba(91, 174, 63, 0.15);
  border-color: var(--accent);
}
.intro .lede { color: #ffffff; }
.intro h1 { color: #ffffff; }
.intro-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 64px; align-items: start;
}
@media (max-width: 980px) { .intro-grid { grid-template-columns: 1fr; gap: 32px; } }
.intro h1 {
  font-size: clamp(2rem, 3.6vw + 1rem, 3.4rem);
  margin-bottom: 1.4rem;
  max-width: 22ch;
}
.intro .lede {
  font-size: 1.2rem;
  max-width: 56ch;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
  margin-bottom: 0;
}
.intro-meta {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}
.intro-meta dt {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); font-weight: 700;
}
.intro-meta dd { margin: 0; font-weight: 600; font-size: 1.05rem; color: var(--fg); }
.intro-stats {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.intro-stats dt {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); margin-bottom: 8px;
}
.intro-stats dd { margin: 0; font-weight: 800; font-size: 2rem; line-height: 1; }
@media (max-width: 760px) { .intro-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* === Рубрики === */
.rubrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .rubrics { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .rubrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .rubrics { grid-template-columns: 1fr; } }
.rubric {
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.rubric:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(91, 174, 63, 0.18);
  opacity: 1;
}
.rubric-icon { display: none; }
.rubric-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
  margin: 0;
  letter-spacing: -0.01em;
}
.rubric-count {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* === Hero === */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(1200px 600px at 80% 0%, var(--bg-alt) 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 100%, var(--bg-soft) 0%, transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.hero h1 { max-width: 18ch; margin-bottom: 1.4rem; }
.hero .lede {
  font-size: 1.15rem;
  max-width: 56ch;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 1.6rem;
}
.hero-bullets {
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: grid; gap: 12px;
}
.hero-bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 1rem;
}
.hero-bullets li::before {
  content: ""; width: 20px; height: 20px; flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 4px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.55 17.05l-4.4-4.4 1.4-1.4 3 3 7.6-7.6 1.4 1.4z'/%3E%3C/svg%3E") no-repeat center / 16px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.55 17.05l-4.4-4.4 1.4-1.4 3 3 7.6-7.6 1.4 1.4z'/%3E%3C/svg%3E") no-repeat center / 16px;
  background-color: var(--accent);
}
.hero-image {
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-dl {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-dl dt {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); margin-bottom: 6px;
}
.hero-dl dd { margin: 0; font-weight: 700; font-size: 1.4rem; }
@media (max-width: 768px) { .hero-dl { grid-template-columns: 1fr; gap: 16px; } }

/* === Кнопка === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--fg-on-dark);
  padding: 16px 28px; min-height: 52px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: background-color 160ms ease, transform 160ms ease;
  text-decoration: none;
}
.btn:hover { background: var(--accent-dark); opacity: 1; transform: translateY(-1px); }
.btn--lg { padding: 20px 36px; font-size: 1.05rem; min-height: 60px; }
.btn--ghost {
  background: transparent; color: var(--fg);
  border: 2px solid var(--fg);
}
.btn--ghost:hover { background: var(--fg); color: var(--fg-on-dark); }
.btn--white {
  background: #ffffff; color: var(--accent);
}
.btn--white:hover { background: #f1f1f1; color: var(--accent-dark); opacity: 1; }

/* === Сетка карточек статей === */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(30, 43, 27, 0.08);
}
.card__cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}
.card__cover img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__rubric {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
}
.card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0;
}
.card__title a { color: var(--fg); text-decoration: none; }
.card__title a:hover { color: var(--accent); opacity: 1; }
.card__lede { color: var(--muted); font-size: 0.95rem; margin: 0; }
.card__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card__price { font-weight: 700; color: var(--fg); }

/* === Список статей === */
.article-list { display: flex; flex-direction: column; gap: 24px; }
.article-list .card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  align-items: stretch;
}
.article-list .card__cover { aspect-ratio: auto; min-height: 220px; }
.article-list .card__body { padding: 32px 36px; }
@media (max-width: 760px) {
  .article-list .card { grid-template-columns: 1fr; }
  .article-list .card__cover { aspect-ratio: 16/9; }
}

/* === Страница статьи === */
.article-hero {
  padding: 56px 0 40px;
}
.article-hero .eyebrow { margin-bottom: 1.4rem; }
.article-hero h1 { max-width: 24ch; margin-bottom: 1.4rem; font-size: clamp(2rem, 4vw + 1rem, 3.6rem); }
.article-hero .lede {
  font-size: 1.2rem;
  max-width: 56ch;
  color: var(--muted);
  margin: 0;
}
.article-hero__meta {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem; color: var(--muted);
}
.article-hero__meta strong { color: var(--fg); }
.article-cover {
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  margin: 0 auto 64px;
  max-width: var(--container);
  padding: 0 24px;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.article-body {
  max-width: var(--reading);
  margin: 0 auto;
  padding: 0 24px 64px;
}
.article-body p { font-size: 1.0625rem; line-height: 1.7; margin-bottom: 1.1em; }
.article-body h2 {
  margin-top: 2.4em;
  font-size: 1.8rem;
  padding-top: 1em;
}
.article-body h3 {
  margin-top: 1.8em;
  font-size: 1.25rem;
}
.article-body ul, .article-body ol { margin: 0 0 1.2em 1.2em; padding: 0; }
.article-body li { margin-bottom: 0.4em; }
.article-body blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--fg);
}
.article-body blockquote p { margin: 0; }

.article-body figure {
  margin: 32px 0;
}
.article-body figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.article-body figcaption {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
  font-style: italic;
}

.article-body details {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 12px 0;
  border-left: 4px solid var(--accent);
  transition: background 200ms ease;
}
.article-body details[open] { background: #ffffff; }
.article-body details summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--fg);
  font-size: 1.0625rem;
  line-height: 1.5;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.article-body details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 200ms ease;
}
.article-body details[open] summary::after {
  content: "−";
}
.article-body details p {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

/* === CTA-блок === */
.cta {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: 100px 0;
}
.cta-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.cta h2 { color: var(--fg-on-dark); margin-bottom: 1rem; }
.cta .lede { color: rgba(255,255,255,0.75); margin-bottom: 0; }
.cta .btn--ghost {
  color: var(--fg-on-dark);
  border-color: var(--fg-on-dark);
}
.cta .btn--ghost:hover { background: var(--fg-on-dark); color: var(--fg); }
@media (max-width: 880px) { .cta-wrap { grid-template-columns: 1fr; gap: 32px; } }

/* === Форма === */
.form {
  background: rgba(255,255,255,0.05);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: flex; gap: 12px; }
@media (max-width: 560px) { .form-row { flex-direction: column; } }
.form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7); flex: 1;
}
.form input, .form textarea {
  font: inherit; font-size: 1rem; font-weight: 400;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 14px 16px;
  color: var(--fg-on-dark);
  border-radius: var(--radius);
  text-transform: none; letter-spacing: 0;
  min-height: 52px;
  transition: border-color 160ms ease;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.45); }
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--accent);
}
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { margin-top: 4px; }
.form-note { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 8px; }
.form-status { font-size: 0.9rem; padding: 12px 0; display: none; }
.form-status.success { color: #7ed676; display: block; }
.form-status.error { color: #ff9999; display: block; }

/* === О компании === */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
@media (max-width: 880px) { .about { grid-template-columns: 1fr; gap: 40px; } }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 32px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
@media (max-width: 720px) { .about-stats { grid-template-columns: 1fr; } }
.about-stats dt {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 8px;
  font-weight: 700;
}
.about-stats dd {
  margin: 0; font-weight: 800; font-size: 2rem; line-height: 1;
  color: var(--accent);
  transition: text-shadow 220ms ease, transform 220ms ease;
}
.about-stats > div {
  cursor: default;
  transition: transform 220ms ease;
}
.about-stats > div:hover dd {
  text-shadow: 0 0 18px rgba(91, 174, 63, 0.55), 0 0 40px rgba(91, 174, 63, 0.25);
  transform: translateY(-2px);
}
.about-stats > div:hover dt {
  text-shadow: 0 0 10px rgba(91, 174, 63, 0.45);
}

/* === Промо === */
.promo {
  background: var(--accent);
  color: #fff;
  padding: 56px 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.promo::before, .promo::after {
  content: ""; position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.promo::before { top: -120px; right: -80px; }
.promo::after { bottom: -100px; left: 20%; width: 160px; height: 160px; }
.promo .container { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; position: relative; }
.promo h2 { color: #fff; font-size: clamp(1.4rem, 2vw + 0.6rem, 2rem); margin: 0; }
.promo .btn--white:hover { background: #fff; }
@media (max-width: 760px) { .promo .container { grid-template-columns: 1fr; } }

/* === Steps === */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* === Footer === */
.site-footer {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); margin: 0 0 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.footer-col ul a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-col ul a:hover { color: var(--accent); opacity: 1; }
.footer-col p { margin: 0; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.footer-logo img { height: 44px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
  flex-wrap: wrap; gap: 16px;
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; }
.footer-socials a:hover { color: var(--accent); opacity: 1; }

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* === Фокус === */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
