:root {
  --ink: #14213d;
  --ink-soft: #4a5672;
  --bg: #ffffff;
  --bg-alt: #f2f5fa;
  --accent: #ff7a1a;
  --accent-ink: #ffffff;
  --line: #dde3ee;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 560px; }
.muted { color: var(--ink-soft); }

.demo-note {
  background: #fff4d6; color: #6b4e00; font-size: 14px;
  text-align: center; padding: 8px 16px;
}

.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.top-phone { font-weight: 600; text-decoration: none; }

.hero { padding: 40px 0 48px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.eyebrow { color: var(--ink-soft); font-size: 14px; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 7vw, 52px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 16px; max-width: 18ch; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 28px; }

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 800; text-decoration: none; border: 0; cursor: pointer;
  padding: 16px 28px; border-radius: var(--radius); font-size: 18px;
  box-shadow: 0 6px 18px rgba(255, 122, 26, 0.35);
}
.btn:active { transform: translateY(1px); }
.btn.wide { width: 100%; }

.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.facts li { color: var(--ink-soft); }
.facts b { color: var(--ink); font-size: 22px; margin-right: 6px; }

.block { padding: 56px 0; }
.block.alt { background: var(--bg-alt); }
h2 { font-size: clamp(24px, 5vw, 36px); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 8px; }
h3 { font-size: 18px; margin: 0 0 6px; }

.cards { display: grid; gap: 14px; margin-top: 24px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.card p { margin: 0 0 12px; color: var(--ink-soft); }
.price { font-weight: 800; font-size: 20px; }

.trust { display: grid; gap: 20px; margin-top: 24px; }
.trust p { margin: 0; color: var(--ink-soft); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.ph {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #e6ebf4 0 12px, #edf1f8 12px 24px);
  display: flex; align-items: flex-end; padding: 10px; font-size: 14px; color: var(--ink-soft);
}

details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-top: 12px; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--ink-soft); }

form { display: grid; gap: 16px; margin-top: 24px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
input, textarea {
  font: inherit; font-weight: 400; padding: 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-msg.ok { color: #1a7f37; }
.form-msg.err { color: #c62828; }

.foot { padding: 32px 0 40px; border-top: 1px solid var(--line); font-size: 15px; }
.foot p { margin: 4px 0; }

@media (min-width: 720px) {
  .hero { padding: 72px 0 80px; }
  .facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 32px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
