:root {
  --ink: #1c2430;
  --muted: #5c6b7a;
  --accent: #0e6e5c;
  --bg: #ffffff;
  --bg-alt: #f4f6f5;
  --line: #e3e8e6;
  --radius: 10px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
html { scroll-behavior: smooth; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Шапка */
.header { position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--line); z-index: 10; }
.header__inner { display: flex; align-items: center; gap: 24px; padding: 14px 20px; }
.logo { font-weight: 700; font-size: 18px; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); }
.nav { margin-left: auto; display: flex; gap: 20px; }
.nav a, .phone { text-decoration: none; color: var(--ink); font-size: 15px; }
.nav a:hover, .phone:hover { color: var(--accent); }
.phone { font-weight: 600; white-space: nowrap; }

/* Главный экран */
.hero { padding: 90px 0 70px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; }
.hero__sub { max-width: 560px; margin: 0 auto 28px; color: var(--muted); font-size: 18px; }
.hero__points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero__points li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Кнопка */
.btn {
  display: inline-block; padding: 13px 32px; border-radius: var(--radius);
  background: var(--accent); color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 600; border: none; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: #0a5a4b; }

/* Секции */
.section { padding: 64px 0; }
.section--gray { background: var(--bg-alt); }
h2 { font-size: clamp(24px, 3.5vw, 32px); margin: 0 0 32px; }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .grid--3 { grid-template-columns: 1fr; } }

.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card--price { text-align: center; }
.price { font-size: 26px; font-weight: 700; margin: 8px 0; color: var(--accent); }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { border-left: 3px solid var(--accent); padding-left: 16px; }
.step b { display: block; font-size: 22px; color: var(--accent); margin-bottom: 6px; }
.step p { margin: 0; font-size: 15px; }
.note { margin-top: 28px; color: var(--muted); font-size: 14px; }

/* Контакты */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .contacts { grid-template-columns: 1fr; } }
.phone-big a { font-size: 26px; font-weight: 700; text-decoration: none; color: var(--ink); }
.form { display: flex; flex-direction: column; gap: 12px; }
.form input, .form textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; background: #fff;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form__hint { font-size: 12px; color: var(--muted); margin: 0; }

/* Подвал */
.footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 14px; }
/* Галерея */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) {
  .gallery { grid-template-columns: 1fr; }
}

.gallery-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-img {
  width: 100%;
  height: 220px;
  background-color: #f4f6f5;
  background-size: cover;
  background-position: center;
}
.gallery-info {
  padding: 18px;
}
.gallery-info strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}
.gallery-info span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
