:root {
  --bg: #f4f1e8;
  --soft: #ebe4d6;
  --text: #1f271f;
  --muted: #667066;
  --card: #fffaf0;
  --line: rgba(31, 39, 31, .12);
  --accent: #3f5f36;
  --accent-dark: #2f4829;
  --accent-soft: #dbe7d4;
  --shadow: 0 20px 60px rgba(31, 39, 31, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 241, 232, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark { width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: white; display: grid; place-items: center; }\n
.brand__mark svg {
  width: 22px;
  height: 22px;
  display: block;
}

.nav { display: flex; gap: 22px; color: var(--muted); font-size: 15px; }
.nav a:hover, .header__phone:hover { color: var(--accent); }
.header__phone { font-weight: 700; }
.section { padding: 82px 0; }
.hero { padding-top: 96px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.badge { display: inline-flex; padding: 9px 13px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; margin-bottom: 18px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(40px, 6vw, 74px); line-height: .98; letter-spacing: -0.04em; margin-bottom: 22px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 18px; }
h3 { font-size: 21px; line-height: 1.2; margin-bottom: 10px; }
.lead { font-size: 21px; color: var(--muted); max-width: 720px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero__note { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--line); font-weight: 700; cursor: pointer; font-size: 16px; }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; }
.btn--wide { width: 100%; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.form-card { padding: 30px; }
.form-card form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; font-size: 14px; color: var(--muted); }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px; font: inherit; color: var(--text); background: #fffdf8; outline: none; }
input:focus, textarea:focus { border-color: var(--accent); }
.policy { font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.section__head { max-width: 760px; margin-bottom: 34px; }
.section__head p { font-size: 19px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 24px; box-shadow: none; }
.feature p { color: var(--muted); margin-bottom: 0; }
.section--soft { background: var(--soft); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { background: rgba(255, 250, 240, .68); border: 1px solid var(--line); border-radius: 24px; padding: 20px; }
.step span { width: 34px; height: 34px; display: grid; place-items: center; background: var(--accent); color: #fff; border-radius: 50%; font-weight: 700; margin-bottom: 16px; }
.step p { color: var(--muted); margin-bottom: 0; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.docs { padding: 24px 28px; box-shadow: none; }
.docs ul { margin: 0; padding-left: 20px; }
.docs li { margin: 8px 0; }
.faq { max-width: 900px; }
details { background: rgba(255, 250, 240, .75); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 12px 0 0; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.disclaimer { color: var(--muted); font-size: 14px; margin-top: 24px; }
.contact-card { padding: 24px; display: grid; gap: 12px; box-shadow: none; }
.contact-link { display: flex; padding: 16px; border-radius: 16px; background: #fffdf8; border: 1px solid var(--line); font-weight: 700; }
.contact-link:hover { border-color: var(--accent); color: var(--accent); }
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; }
@media (max-width: 960px) {
  .nav { display: none; }
  .hero__grid, .split, .contacts__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header__phone { display: none; }
  .section { padding: 58px 0; }
  .hero { padding-top: 70px; }
  .features, .steps { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .footer__inner { flex-direction: column; }
}

/* Header phones: one under another */
.header__phones {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 2px !important;
  line-height: 1.25 !important;
}

.header__phones .header__phone {
  display: block !important;
  white-space: nowrap !important;
}

@media (max-width: 640px) {
  .header__phones {
    display: none !important;
  }
}
