:root {
  --bg: #f5f7f2;
  --bg-2: #edf3ec;
  --panel: #ffffff;
  --ink: #131815;
  --muted: #5b6760;
  --line: #d6e0d7;
  --accent: #0d7f63;
  --accent-dark: #0a5d49;
  --warm: #f0c85c;
  --shadow: 0 22px 60px rgba(19, 24, 21, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8fbf7 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 251, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header .shell,
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--panel);
  font-weight: 700;
}

.nav-links,
.lang-switch {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a,
.lang-switch a {
  color: var(--muted);
  font-size: 0.96rem;
}

.lang-switch a.is-active {
  color: var(--accent);
  font-weight: 700;
}

.hero {
  padding: 84px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--ink);
  font-size: 1.08rem;
}

.support {
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button,
.button.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button {
  background: var(--ink);
  color: var(--panel);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.button.secondary:hover {
  transform: translateY(-1px);
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  box-shadow: var(--shadow);
}

.hero-card img {
  max-height: 440px;
  margin: 0 auto;
  object-fit: contain;
}

.hero-card .mini-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(19, 24, 21, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.metric strong {
  display: block;
  font-size: 1.6rem;
  color: var(--accent);
}

.section {
  padding: 54px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.54);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 34px;
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.faq-item,
.article-card,
.lang-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card .tag,
.article-card .tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.cta-band {
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(135deg, #11201a 0%, #0d3328 100%);
  color: var(--panel);
}

.cta-band .support {
  color: rgba(255, 255, 255, 0.78);
}

.article-hero {
  padding: 72px 0 28px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
}

.article-content {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.article-content h2 {
  margin-top: 28px;
  font-size: 1.8rem;
}

.article-content p,
.article-content li {
  color: #27302a;
}

.article-figure {
  margin: 24px 0 32px;
}

.article-figure img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #f5f1ea;
}

.article-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-content ul {
  padding-left: 20px;
}

.article-aside {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 16px;
}

.related-list {
  display: grid;
  gap: 12px;
}

.lang-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.lang-hero {
  padding: 72px 0;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.lang-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lang-note {
  margin-top: 18px;
  color: var(--muted);
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumbs a {
  color: var(--accent);
}

.site-footer {
  margin-top: 28px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}

.site-footer .shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .article-layout,
  .site-footer .shell,
  .lang-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav-links,
  .lang-switch {
    flex-wrap: wrap;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .hero,
  .article-hero {
    padding-top: 44px;
  }
}
