:root {
  --bg: #f3f2ee;
  --surface: #ffffff;
  --text: #1c1c1c;
  --muted: #5a5a5a;
  --line: #d8d6cf;
  --green: #1b6b4a;
  --green-d: #134d36;
  --max: 1040px;
  --font: "Golos Text", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-d); }
button, input, textarea, select { font: inherit; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* top */
.topbar {
  background: var(--green-d);
  color: #e8f2ec;
  font-size: 0.88rem;
  padding: 0.5rem 0;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; }

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--text); text-decoration: none; }
.logo span { color: var(--green); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover,
.nav a.active { color: var(--green); text-decoration: underline; }

.phone-btn {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  font-weight: 600;
}
.phone-btn:hover { background: var(--green-d); }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
}

/* hero — без внешних картинок */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 2.75rem 0 2.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.75rem, 3.8vw, 2.45rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
  max-width: 16ch;
}
.hero .lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  max-width: 34rem;
  font-size: 1.02rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  display: inline-block;
  padding: 0.72rem 1.1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); color: #fff; }
.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
.btn-outline:hover { border-color: #aaa; color: var(--text); }

.hero-aside {
  background: #e8efe9;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.3rem;
}
.hero-aside h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.hero-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.hero-aside li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
}

/* sections */
.section { padding: 2.4rem 0; }
.section h2 {
  margin: 0 0 0.45rem;
  font-size: 1.4rem;
  color: var(--text);
}
.section > .wrap > .muted,
.lead-text {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 40rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.05rem 1.1rem;
}
.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.prices {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.prices th,
.prices td {
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid var(--line);
}
.prices th {
  background: #eae8e1;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.prices tr:last-child td { border-bottom: 0; }
.note {
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
}
.panel h3 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.panel ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}
.panel ol li { margin: 0.35rem 0; }

.cta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
}
.cta-row h3 { margin: 0 0 0.3rem; }
.cta-row p { margin: 0; color: var(--muted); }

.page-title {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1.8rem 0 1.2rem;
}
.page-title h1 {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
}
.page-title p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.form {
  display: grid;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.65rem 0.7rem;
  background: #fff;
  color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.ok { color: var(--green); font-weight: 600; }

.contacts dl { margin: 0; display: grid; gap: 1rem; }
.contacts dt { font-weight: 700; margin: 0; }
.contacts dd { margin: 0.2rem 0 0; color: var(--muted); }

.footer {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  background: #e6e4de;
  padding: 1.5rem 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
}
.footer a { color: var(--muted); }
.footer strong { color: var(--text); display: block; margin-bottom: 0.4rem; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.copy {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #cdcbc3;
  font-size: 0.85rem;
}

.legal { max-width: 42rem; }
.legal h2 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; color: var(--text); }
.legal p { color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid,
  .grid-3,
  .split,
  .footer-grid,
  .form-row { grid-template-columns: 1fr; }
  .menu-btn { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 0.9rem;
    gap: 0.75rem;
  }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; padding: 0.55rem 0 0; min-height: 0; }
  .logo { padding: 0.35rem 0; }
}
