:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --ink: #1d2826;
  --muted: #5b6764;
  --line: #e6e0d8;
  --brand: #0f5e59;
  --brand-ink: #ffffff;
  --accent: #e0803f;
  --accent-soft: #fbeadd;
  --brand-soft: #e3f0ee;
  --ok: #1d7a46;
  --err: #b3261e;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 30, 28, .06), 0 8px 24px rgba(20, 30, 28, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111716; --surface: #19211f; --ink: #eef3f1; --muted: #a3b1ad; --line: #2b3633;
    --brand: #3fb5a9; --brand-ink: #0b1312; --accent: #f0a06a; --accent-soft: #3a2a1f; --brand-soft: #16302d;
    --ok: #6fd39a; --err: #ff8a80; --shadow: none;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 "Noto Sans Armenian", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
section { padding: 64px 0; }
.sub { color: var(--muted); margin-bottom: 28px; }

.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn:disabled { opacity: .6; cursor: wait; }

/* шапка */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 18px; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.switches { display: flex; gap: 8px; align-items: center; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 6px 11px; font: inherit; font-size: 15px; cursor: pointer; }
.seg button.active { background: var(--brand); color: var(--brand-ink); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; }

/* первый экран */
.hero { padding: 72px 0 56px; background: radial-gradient(900px 400px at 85% 0%, var(--accent-soft), transparent 70%), radial-gradient(700px 400px at 0% 100%, var(--brand-soft), transparent 70%); }
.where { display: inline-block; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 14px; color: var(--muted); }
.lead { font-size: 20px; color: var(--muted); max-width: 680px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* не знаете что нужно */
.help { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.help-item { display: block; padding: 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.help-item:hover { border-color: var(--brand); }
.help-item p { color: var(--muted); font-size: 15px; }
.go { color: var(--brand); font-weight: 600; font-size: 15px; }

/* услуги */
.rate-note { font-size: 14px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 9px 18px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.tab.active { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card[hidden] { display: none; }
.card.featured { border: 2px solid var(--accent); }
.badge { position: absolute; top: -12px; left: 20px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.desc { color: var(--muted); font-size: 15px; }
.inc { list-style: none; padding: 0; margin: 0 0 20px; font-size: 15px; }
.inc li { padding-left: 24px; position: relative; margin-bottom: 6px; }
.inc li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.price { margin-top: auto; margin-bottom: 16px; font-size: 28px; font-weight: 800; }
.unit { font-size: 15px; font-weight: 400; color: var(--muted); }

/* шаги */
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-list li { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-list p { color: var(--muted); font-size: 15px; margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; margin-bottom: 12px; }

/* вопросы */
.faq { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 24px; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* форма */
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
input, select, textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { margin: 0; min-height: 1.5em; font-weight: 600; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }
.direct { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.foot { padding: 32px 0; color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .switches { margin-left: auto; }
  .help-grid, .step-list { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .lead { font-size: 18px; }
}
@media (max-width: 420px) {
  .logo { font-size: 17px; }
  .logo-mark { width: 30px; height: 30px; }
  .seg button { padding: 6px 8px; }
  .hero-btns .btn { width: 100%; }
}

/* направления и страницы услуг */
.dirs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; }
.dirs-t { color: var(--muted); font-size: 14px; margin-right: 4px; }
.dir { font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.dir:hover, .dir.active { border-color: var(--brand); color: var(--brand); }
.foot .dirs { margin: 0 0 16px; }
.hero-sm { padding: 40px 0 44px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.whom-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.whom-list li { padding: 20px 20px 20px 48px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.whom-list li::before { content: "✓"; position: absolute; left: 20px; top: 19px; color: var(--brand); font-weight: 800; }
@media (max-width: 860px) { .whom-list { grid-template-columns: 1fr; } }

/* отзывы и счётчик выполненного (msg 571) */
.done { margin: -8px 0 14px; font-size: 14px; color: var(--ok); font-weight: 600; }
.reviews { border-top: 1px solid var(--line); }
.rv-list { display: grid; gap: 14px; margin-bottom: 20px; }
.review { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.review p { margin: 8px 0 0; }
.rv-head { font-size: 15px; }
.stars { color: var(--accent); letter-spacing: 1px; margin-right: 6px; }
.rv-svc { color: var(--muted); }
.rv-video { display: block; width: 100%; max-height: 420px; margin-top: 10px; border-radius: 10px; background: #000; }
.rv-link { display: inline-block; margin-top: 10px; font-weight: 600; }
.rv-form-wrap > summary { display: inline-block; cursor: pointer; list-style: none; }
.rv-form-wrap > summary::-webkit-details-marker { display: none; }
.rv-form-wrap[open] > summary { margin-bottom: 16px; }
#review { display: grid; gap: 12px; margin-bottom: 14px; }
