:root {
  --brand-green: #2E8B3C;
  --brand-green-soft: #F1FAF4;
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --border: #E6E8EB;
  --text: #1A1918;
  --text-2: #6D6C6A;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }

/* Шапка и подвал */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 80px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-green); font-weight: 800; font-size: 20px; letter-spacing: 0.05em; }
.site-nav { display: flex; gap: 32px; }
.site-nav a { color: var(--text-2); font-weight: 500; font-size: 15px; }
.site-nav a:hover, .footer-links a:hover { color: var(--brand-green); }
.site-footer { border-top: 1px solid var(--border); padding: 36px 80px 40px; display: grid; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-links a { color: var(--text-2); font-size: 14px; font-weight: 500; }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--text-2); font-size: 13px; }
.footer-meta a { color: var(--brand-green); font-weight: 500; }

/* Текстовые страницы */
.article { max-width: 680px; margin: 0 auto; padding: 72px 20px 96px; }
.article h1 { font-size: 40px; font-weight: 800; line-height: 1.15; }
.article-date { margin: 12px 0 0; color: var(--text-2); font-size: 15px; }
.article-body { margin-top: 32px; font-size: 17px; line-height: 1.6; }
.article-body h2, .article-body h3 { font-size: 22px; font-weight: 700; margin: 28px 0 8px; }
.article-body p, .article-body > div { margin: 0 0 12px; } /* Trix пишет абзацы как <div> */
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body a { color: var(--brand-green); text-decoration: underline; }
.contacts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 32px 0 0; font-size: 17px; }
.contacts dt { color: var(--text-2); }
.contacts dd { margin: 0; }
.contacts a { color: var(--brand-green); font-weight: 600; }

/* Главная */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 88px 80px 0; gap: 28px; }
.hero h1 { font-size: 60px; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; max-width: 820px; }
.hero p { margin: 0; max-width: 640px; color: var(--text-2); font-size: 20px; line-height: 1.45; }
.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; text-align: left;
  padding: 10px 18px 10px 14px; border-radius: 12px; background: var(--text); color: #fff;
}
.badge-soon { opacity: 0.55; cursor: default; }
.badge small { display: block; font-size: 11px; color: #D9D9D6; }
.badge strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.1; }
.phone { width: 320px; height: 420px; margin-top: 36px; padding: 12px 12px 0; border-radius: 44px 44px 0 0; background: var(--text); overflow: hidden; text-align: left; }
.phone-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px 34px 0 0; }
.screen { height: 100%; padding: 18px 16px 0; border-radius: 34px 34px 0 0; background: var(--bg); display: grid; gap: 14px; align-content: start; }
.screen-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.screen-search { padding: 10px 14px; border-radius: 14px; background: var(--surface); color: var(--text-2); font-size: 13px; }
.screen-banner { height: 96px; border-radius: 18px; background: var(--brand-green); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: flex-end; padding: 14px; }
.screen-section { font-size: 15px; font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { height: 78px; padding: 10px; border-radius: 14px; background: var(--surface); font-size: 11px; font-weight: 600; display: flex; align-items: flex-end; }

.section { padding: 72px 80px; }
.section-white { background: var(--surface); }
.section-soft { background: var(--brand-green-soft); }
.section h2 { text-align: center; font-size: 36px; font-weight: 800; margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 960px; margin: 0 auto; }
.card { padding: 28px; border-radius: 24px; background: var(--bg); display: grid; gap: 14px; align-content: start; }
.card-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-green); color: #fff; display: grid; place-items: center; font-size: 22px; }
.card h3 { font-size: 24px; font-weight: 700; line-height: 1.2; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 500; }
.chip img, .chip-fallback { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.chip-fallback { display: grid; place-items: center; background: var(--brand-green-soft); color: var(--brand-green); font-size: 11px; font-weight: 800; }
.zones-map { width: 100%; height: 220px; border-radius: 16px; object-fit: cover; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 960px; margin: 0 auto; }
.step { display: grid; gap: 12px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--brand-green); font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { margin: 0; color: var(--text-2); font-size: 15px; }

@media (max-width: 720px) {
  .site-header, .site-footer { padding-left: 20px; padding-right: 20px; }
  .site-header { padding-top: 16px; padding-bottom: 16px; }
  .site-nav a:last-child { display: none; }
  .footer-links { flex-direction: column; gap: 14px; }
  .footer-meta { flex-direction: column; }
  .article { padding: 44px 20px 64px; }
  .article h1 { font-size: 30px; }
  .hero { padding: 44px 20px 0; gap: 20px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .phone { width: 290px; height: 340px; margin-top: 28px; }
  .section { padding: 44px 20px; }
  .section h2 { font-size: 28px; }
  .cards, .steps { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 20px; }
  .zones-map { height: 190px; }
  .step { grid-template-columns: 36px 1fr; column-gap: 14px; }
  .step h3 { grid-column: 2; }
  .step p { grid-column: 2; }
}
