:root {
  --graphite: #0f1418;
  --graphite-2: #1b2329;
  --slate: #5a6672;
  --steel: #f1f3f5;
  --white: #ffffff;
  --canvas: #f7f8f9;
  --ink: #0f1418;
  --ink-soft: #5a6672;
  --line: #e4e7ea;
  --red: #e0352b;
  --red-deep: #bf2a21;
  --amber: #f7c548;
  --mint: #d9f2e4;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;
  --shadow-sm: 0 1px 2px rgba(15, 20, 24, 0.05), 0 4px 14px rgba(15, 20, 24, 0.05);
  --shadow-md: 0 2px 6px rgba(15, 20, 24, 0.06), 0 18px 40px -12px rgba(15, 20, 24, 0.16);
  --maxw: 1180px;
  --font: "Segoe UI Variable Display", "Segoe UI", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "Consolas", "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin: 0;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.45rem); }
h3 { font-size: 1.24rem; letter-spacing: -0.015em; }

p { margin: 0 0 1em; }

.wrap {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 100;
  border-radius: var(--r-sm);
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.strip {
  background: transparent;
  color: #7b8792;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.strip .wrap {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  flex-wrap: wrap;
}
.strip strong { color: #3c464f; font-weight: 600; }

.site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(228, 231, 234, 0.9);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 8px;
  z-index: 50;
  margin: 0 auto;
  max-width: var(--maxw);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  width: 100%;
  max-width: none;
  padding-inline: 16px 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--graphite);
  border-radius: 50%;
  color: var(--amber);
  font-weight: 800;
  font-size: 0.95rem;
  font-family: var(--mono);
  line-height: 1;
  letter-spacing: -0.03em;
}
.brand-name {
  font-weight: 750;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-name span {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background-color 0.18s, color 0.18s;
}
.nav a:hover { color: var(--ink); background: var(--steel); }
.nav a[aria-current="page"] {
  color: #fff;
  background: var(--graphite);
  font-weight: 600;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-phone {
  font-weight: 700;
  text-decoration: none;
  font-size: 0.97rem;
  white-space: nowrap;
  padding-left: 6px;
}
.header-phone small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--steel);
  border: 0;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  height: 52px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(224, 53, 43, 0.65);
}
.btn-primary:hover { background: var(--red-deep); box-shadow: 0 10px 26px -8px rgba(224, 53, 43, 0.75); }
.btn-dark {
  background: var(--graphite);
  color: #fff;
}
.btn-dark:hover { background: var(--graphite-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #ccd2d8;
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ghost-light {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn-round { padding: 0 22px 0 8px; gap: 12px; }
.btn-round .icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}
.btn-round.btn-dark .icon,
.btn-round.btn-ghost .icon { background: rgba(15,20,24,0.09); }
.btn-round.btn-ghost-light .icon { background: rgba(255,255,255,0.16); }

.icon-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.18s, border-color 0.18s, transform 0.18s;
}
.icon-round:hover { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.icon-round.solid { background: var(--graphite); border-color: var(--graphite); color: #fff; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.chip-accent {
  background: rgba(224, 53, 43, 0.09);
  border-color: rgba(224, 53, 43, 0.18);
  color: var(--red-deep);
}

/* ---------- Hero ---------- */

main > section:first-child,
main > .page-head:first-child { margin-top: 10px; }

.hero, .page-head, .cta-band, .section-dark {
  width: min(100% - 24px, 1360px);
  margin-inline: auto;
}

.hero {
  background: var(--graphite);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(224, 53, 43, 0.42), rgba(224, 53, 43, 0) 68%);
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-block: 62px 66px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: #cfd6dc;
  padding: 7px 16px 7px 8px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  margin-bottom: 22px;
  background: rgba(255,255,255,0.045);
}
.hero-eyebrow i {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber);
  display: grid; place-items: center;
  color: var(--graphite);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
}
.hero h1 { max-width: 15ch; letter-spacing: -0.035em; }
.hero p.lead {
  font-size: 1.1rem;
  color: #b8c2cb;
  max-width: 44ch;
  margin-top: 20px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.chip-light {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.16);
  color: #cfd6dc;
  height: 32px;
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-panel {
  border-radius: var(--r-lg);
  padding: 26px 26px 22px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}
.hero-panel h2 {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8f9aa4;
  margin-bottom: 16px;
  font-weight: 600;
}
.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fact-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  color: #c2cbd3;
  align-items: center;
}
.fact-list li:first-child { border-top: 0; padding-top: 0; }
.fact-list b {
  color: var(--graphite);
  background: var(--amber);
  font-weight: 700;
  white-space: nowrap;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.87rem;
}

/* ---------- Sections ---------- */

section { padding-block: 76px; }
.section-head {
  max-width: 62ch;
  margin-bottom: 40px;
}
.section-head h2 + p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}
.section-dark {
  background: var(--graphite);
  color: #fff;
  border-radius: var(--r-xl);
}
.section-dark .section-head p { color: #a9b3bc; }
.section-steel { background: transparent; }

/* ---------- Services grid ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.svc {
  background: #fff;
  padding: 26px 26px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.svc:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d5dae0;
}
.svc-num {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--steel);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  white-space: nowrap;
  margin-bottom: 6px;
}
.svc p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.svc .svc-meta {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.svc .svc-meta::after {
  content: "в†’";
  font-size: 1rem;
  color: var(--red);
  letter-spacing: 0;
}
.svc-link { text-decoration: none; color: inherit; }
.svc-link:hover h3 { color: var(--red); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }
.step .step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 74px;
  height: 30px;
  padding: 0 12px;
  white-space: nowrap;
  border-radius: 50%;
  background: var(--graphite);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.8rem;
  margin-bottom: 14px;
}

/* ---------- Split / about ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "вњ“";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(247, 197, 72, 0.16);
  color: var(--amber);
  font-size: 0.75rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.light .checklist li { color: var(--ink-soft); }
.section-dark .checklist li { color: #d3dade; }
.light .checklist li::before { background: rgba(224,53,43,0.1); color: var(--red); }

.footer-brand.light-mark .brand { color: var(--ink); }
.footer-brand.light-mark .brand-name { color: var(--ink); }
.footer-brand.light-mark .brand-name span { color: var(--ink-soft); }
.light .checklist li::before {
  background: rgba(224, 53, 43, 0.1);
  color: var(--red);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.stat {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.stat b {
  display: block;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  color: #fff;
}
.stat span { font-size: 0.85rem; color: #8f9aa4; }

/* ---------- Price table ---------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
table.price {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  min-width: 620px;
}
table.price caption {
  text-align: left;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
table.price th {
  text-align: left;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 11px 22px;
  background: var(--steel);
}
table.price td {
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.price tr:last-child td { border-bottom: 0; }
table.price td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}
table.price td.num small { font-weight: 400; }
table.price td small { display: block; color: var(--ink-soft); font-size: 0.84rem; }
.price-groups { display: grid; gap: 20px; }

.note {
  border-radius: var(--r-md);
  background: #fff7e3;
  border: 1px solid #f6e3b4;
  padding: 16px 20px;
  font-size: 0.92rem;
  color: #6b5518;
}

/* ---------- Form ---------- */

.form-card {
  border-radius: var(--r-lg);
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
}
.field .hint {
  display: block;
  font-weight: 400;
  font-size: 0.83rem;
  color: var(--ink-soft);
  margin-top: 6px;
}
input[type="text"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 13px 16px;
  border: 1.5px solid #dfe3e7;
  border-radius: var(--r-sm);
  background: var(--canvas);
  color: var(--ink);
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #5a6672 50%), linear-gradient(135deg, #5a6672 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(15, 20, 24, 0.07);
}
[aria-invalid="true"] {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 4px rgba(224, 53, 43, 0.12) !important;
}
.error-msg {
  color: var(--red-deep);
  font-size: 0.85rem;
  margin-top: 6px;
  font-weight: 600;
  display: block;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.form-actions small { color: var(--ink-soft); font-size: 0.82rem; max-width: 36ch; line-height: 1.45; }

.result {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: #fdf0ef;
  border: 1px solid #f6cdc9;
  font-size: 0.94rem;
}
.result h3 { font-size: 1rem; margin-bottom: 6px; }
.result p { margin: 0; color: #6f5a58; }
.result[hidden] { display: none; }

/* ---------- Contacts ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.info-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 16px;
}
.info-block h3 { margin-bottom: 10px; }
.info-block p { margin: 0 0 6px; color: var(--ink-soft); }
.info-block a { text-decoration: none; font-weight: 600; color: var(--ink); }
.info-block a:hover { color: var(--red); }

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--graphite);
  color: #fff;
  border-radius: var(--r-xl);
  padding-block: 56px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 197, 72, 0.22), transparent 70%);
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-band h2 { max-width: 24ch; }
.cta-band p { margin: 12px 0 0; color: #a9b3bc; max-width: 46ch; }
.cta-band .btn-dark { background: var(--amber); color: var(--graphite); }
.cta-band .btn-dark:hover { background: #ffd466; }
.cta-band .btn-dark .icon { background: rgba(15,20,24,0.12); }

/* ---------- Footer ---------- */

.site-footer {
  color: var(--ink-soft);
  padding-block: 52px 32px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h3 {
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand p { max-width: 34ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #8b959e;
}

/* ---------- Page head (inner pages) ---------- */

.page-head {
  background: var(--graphite);
  color: #fff;
  border-radius: var(--r-xl);
  padding-block: 46px 50px;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 53, 43, 0.32), transparent 70%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-head p {
  color: #a9b3bc;
  margin: 14px 0 0;
  max-width: 60ch;
}
.crumbs {
  font-size: 0.82rem;
  color: #7b8792;
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 48px 54px; gap: 34px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    flex-direction: column;
    padding: 10px;
    box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; font-size: 1rem; border-radius: 999px; }
  .site-header .wrap { min-height: 60px; padding-inline: 10px 8px; }
  .header-cta .btn { height: 38px; padding: 0 14px; font-size: 0.85rem; }
  .site-header { border-radius: 999px; }
  section { padding-block: 48px; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; border-radius: var(--r-md); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .strip { display: none; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .hero, .page-head, .cta-band, .section-dark { border-radius: var(--r-lg); }
  .wrap { width: min(100% - 28px, var(--maxw)); }
  .btn { height: 48px; padding: 0 20px; }
  .btn-round { padding: 0 18px 0 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .svc:hover { transform: none; }
}

/* ---------- Map card ---------- */

.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.map-head h3 { margin-bottom: 6px; }
.map-head p { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 16px; }

.map-preview {
  position: relative;
  height: 168px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background-color: #e7ebee;
  background-image:
    linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.9) 42%, rgba(255,255,255,0.9) 46%, transparent 46%),
    linear-gradient(25deg, transparent 60%, rgba(255,255,255,0.75) 60%, rgba(255,255,255,0.75) 64%, transparent 64%),
    repeating-linear-gradient(0deg, rgba(180,190,198,0.28) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(180,190,198,0.28) 0 1px, transparent 1px 34px);
  border: 1px solid var(--line);
}
.map-pin {
  position: absolute;
  left: 46%;
  top: 38%;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 5px rgba(224,53,43,0.18);
}
.map-pin::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}
.map-label {
  position: absolute;
  left: 46%;
  top: calc(38% + 34px);
  transform: translateX(-12%);
  background: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.map-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.map-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}
.map-link small {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.map-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.map-yandex:hover { border-color: #fc3f1d; background: #fff6f3; }
.map-google:hover { border-color: #4285f4; background: #f5f8ff; }
.map-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}
.map-yandex .map-icon { background: #fc3f1d; }
.map-google .map-icon { background: #4285f4; }
.map-arrow { color: var(--ink-soft); }
.map-hint {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

@media (max-width: 520px) {
  .map-choice { grid-template-columns: 1fr; }
  .map-preview { height: 140px; }
}

/* checkbox СЃРѕРіР»Р°СЃРёСЏ РЅР° РѕР±СЂР°Р±РѕС‚РєСѓ РґР°РЅРЅС‹С… (СЃС‚СЂР°РЅРёС†Р° Р·Р°РїРёСЃРё) */
.field-consent { margin-top: 18px; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); cursor: pointer; }
.consent input[type="checkbox"] { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--red); cursor: pointer; }
.field-consent[aria-invalid="true"] .consent,
.consent:has(input[aria-invalid="true"]) { color: var(--red-deep); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Переход: только мягкое появление страницы ---------- */

html.page-ready main { animation: page-in 200ms ease-out both; }
@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-header.nav-settle { animation: nav-settle 240ms ease-out both; }
@keyframes nav-settle {
  from { transform: translateY(-8px); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}

.flash-pulse .btn[type="submit"] { animation: btn-pulse 300ms ease; }
@keyframes btn-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.97); }
}

@media (prefers-reduced-motion: reduce) {
  html.page-ready main,
  .site-header.nav-settle { animation: none !important; }
}

/* ---------- Живые анимации: наведение и появление ---------- */

@media (hover: hover) {
  .btn {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
  }
  .btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 520ms ease;
    pointer-events: none;
  }
  .btn:hover::after { transform: translateX(120%); }
  .btn-primary:hover { transform: translateY(-2px); }
  .btn-dark:hover { transform: translateY(-2px); }
  .btn-ghost:hover, .btn-ghost-light:hover { transform: translateY(-2px); }
  .btn-round .icon { transition: transform 220ms cubic-bezier(0.34,1.56,0.64,1); }
  .btn-round:hover .icon { transform: translateX(3px) rotate(-8deg); }

  .header-cta .btn-sm { transition: transform 200ms ease, background-color 180ms ease, box-shadow 200ms ease; }
  .header-cta .btn-sm:hover { transform: scale(1.04); }

  .svc .svc-meta::after {
    transition: transform 240ms cubic-bezier(0.34,1.56,0.64,1);
  }
  .svc:hover .svc-meta::after { transform: translateX(6px); }
  .svc:hover .svc-num { background: var(--ink); color: var(--amber); }
  .svc-num { transition: background-color 220ms ease, color 220ms ease; }

  .step { transition: background-color 240ms ease, border-color 240ms ease, transform 240ms ease; }
  .step:hover { background: #fff; transform: translateY(-4px); border-top-color: var(--amber); }
  .step .step-n { transition: background-color 220ms ease, color 220ms ease; }
  .step:hover .step-n { background: var(--red); color: #fff; }

  .map-link { transition: border-color 200ms ease, background-color 200ms ease, transform 220ms ease, box-shadow 220ms ease; }
  .map-link .map-icon { transition: transform 260ms cubic-bezier(0.34,1.56,0.64,1); }
  .map-link:hover .map-icon { transform: rotate(-10deg) scale(1.1); }
  .map-link:hover .map-arrow { transform: translate(2px, -2px); }
  .map-arrow { transition: transform 200ms ease; }
  .map-pin { animation: pin-drop 700ms cubic-bezier(0.34,1.56,0.64,1) both; }
  .map-pin:hover { transform: rotate(-45deg) scale(1.15); }

  .info-block { transition: border-color 220ms ease, transform 220ms ease; }
  .info-block:hover { border-top-color: var(--red); transform: translateX(3px); }

  table.price tbody tr { transition: background-color 160ms ease; }
  table.price tbody tr:hover { background: #fbfcfd; }

  .checklist li { transition: transform 200ms ease, color 200ms ease; }
  .checklist li:hover { transform: translateX(4px); }

  .footer-grid a { transition: color 160ms ease, transform 180ms ease; display: inline-block; }
  .footer-grid a:hover { transform: translateX(3px); }

  .nav a { transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
  .nav a:hover { transform: translateY(-1px); }

  .brand-mark { transition: transform 320ms cubic-bezier(0.34,1.56,0.64,1), background-color 240ms ease; }
  .brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); background: var(--red); color: #fff; }

  .icon-round { transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 240ms cubic-bezier(0.34,1.56,0.64,1); }
  .icon-round:hover { transform: translateY(-3px) scale(1.05); }
}

@keyframes pin-drop {
  0% { opacity: 0; transform: translateY(-24px) rotate(-45deg) scale(0.5); }
  70% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) rotate(-45deg) scale(1); }
}

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22,1,0.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }

/* Счётчики в блоке «о сервисе» */
.stat b { font-variant-numeric: tabular-nums; }

/* Полоса прогресса чтения */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--red);
  z-index: 60;
  transition: width 90ms linear;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal, .btn, .svc, .step, .nav a, .map-link, .footer-grid a { transition: none !important; }
  .btn::after { display: none; }
  .read-progress { display: none; }
  .map-pin { animation: none; }
}