:root {
  --navy: #0f2744;
  --navy-2: #16365c;
  --accent: #f5c518;
  --accent-dark: #d4a70f;
  --text: #1c2430;
  --muted: #5c6778;
  --line: #e4e8ee;
  --bg: #f4f6f9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 39, 68, 0.08);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent-dark); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0 0 0.6em; line-height: 1.25; color: var(--navy); }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-dark); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.45); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.topbar {
  background: var(--navy);
  color: #d7e3f3;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar a { color: var(--accent); }
.site-header .container {
  width: min(100% - 24px, 1280px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  position: relative;
  flex-wrap: nowrap;
}
.logo-link {
  display: inline-block;
  flex: none;
  line-height: 0;
  overflow: hidden;
  height: 48px;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}
.logo-link:hover,
.logo-link:focus,
.logo-link:focus-visible {
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  color: inherit;
}
.logo-link img,
img.site-logo {
  border: none !important;
  box-shadow: none !important;
  vertical-align: middle;
}
.site-logo {
  display: block;
  width: auto;
  height: 50px;
  max-height: 50px;
  max-width: none;
  object-fit: contain;
  object-position: top center;
  mix-blend-mode: multiply;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  flex: none;
}
.nav {
  display: flex;
  flex: 1;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0 12px;
  min-width: 0;
}
.nav a {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
  white-space: nowrap;
}
.nav a.is-active,
.nav a.active,
.nav a:hover { color: var(--navy); border-bottom: 2px solid var(--accent); }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.phone { font-weight: 800; color: var(--navy); white-space: nowrap; }
.header-msg {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-msg-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  box-shadow: 0 4px 12px rgba(15, 39, 68, 0.16);
}
.header-msg-link.is-tg { background: #2aabee; }
.header-msg-link.is-tg:hover { background: #1d9ad9; color: #fff; }
.header-msg-link.is-max { background: #6c47ff; font-weight: 800; font-size: 12px; letter-spacing: -.06em; }
.header-msg-link.is-max:hover { background: #5834e8; color: #fff; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--navy);
}

.hero {
  background: #0f2744;
  color: var(--white);
  padding: 64px 0 72px;
}
.hero h1 { color: var(--white); font-size: clamp(28px, 4vw, 46px); max-width: 18em; }
.hero p { max-width: 58ch; color: #e8eef6; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero-home {
  position: relative;
  padding: 88px 0 96px;
  background-color: #0f2744;
  background-image:
    linear-gradient(115deg, rgba(11, 22, 41, 0.78) 0%, rgba(15, 39, 68, 0.70) 52%, rgba(11, 22, 41, 0.74) 100%),
    url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-home-inner {
  display: block;
  padding: 0;
  position: relative;
  z-index: 1;
}
.hero-home h1 { max-width: 16em; }
.hero-home .hero-photo { display: none; }
.hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  height: 100%;
  border-radius: 18px;
  background: #0f2744;
}
.hero-photo img {
  width: 170%;
  max-width: none;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: right center;
  margin-left: -70%;
  display: block;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,39,68,.82) 0%, rgba(15,39,68,.35) 28%, rgba(15,39,68,.12) 55%, transparent 78%);
  pointer-events: none;
}
.chip {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}

.section { padding: 56px 0; }
.section-title { font-size: clamp(24px, 3vw, 32px); }
.lead { color: var(--muted); max-width: 70ch; }
.section-soft { background: #f8f9fa; }
.section-white { background: #ffffff; }
.section-accent {
  background: #0d2040;
  color: #c9d7e8;
}
.section-accent .section-title { color: #fff; }
.section-accent .lead { color: #b7c6d8; }
.section-navy {
  background: #0d2040;
  color: #e8eef6;
}
.section-navy h2 { color: #fff; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 22px;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
a.benefit-card:hover {
  color: inherit;
}
.benefit-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(245, 197, 24, 0.5);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.benefit-icon svg {
  width: 24px;
  height: 24px;
}
.benefit-card h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 8px;
}
.benefit-card p {
  margin: 0;
  color: #b7c6d8;
  font-size: 14px;
  line-height: 1.5;
}

.work-timeline {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1fr;
  align-items: start;
  gap: 8px 0;
  list-style: none;
}
.work-step {
  min-width: 0;
  padding: 8px 4px 0 0;
}
.work-step-num {
  display: block;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 12px;
}
.work-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.work-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.work-arrow {
  display: grid;
  place-items: start center;
  padding-top: 22px;
  color: var(--accent);
}
.work-arrow svg {
  width: 28px;
  height: 28px;
}

.works-cta {
  text-align: center;
}
.works-cta p {
  margin: 0 auto 22px;
  max-width: 52ch;
  color: #c9d7e8;
}
.works-cta .btn { min-height: 52px; }

.grid-3, .grid-4, .grid-2 {
  display: grid;
  gap: 18px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.icon-num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-head {
  background: var(--navy);
  color: var(--white);
  padding: 36px 0 32px;
}
.page-head h1 { color: var(--white); }
.crumbs { font-size: 14px; color: #b9c7d8; margin-bottom: 10px; }
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
}
.crumbs li { display: flex; align-items: center; }
.crumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: #b9c7d8;
}
.crumbs a { color: var(--accent); }
.crumbs [aria-current="page"] { color: inherit; }

.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
table.price {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
table.price th,
table.price td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.price th { background: #f8fafc; color: var(--navy); }
table.price td:last-child,
table.price th:last-child { text-align: right; font-weight: 700; }
.price-block { margin-bottom: 36px; }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.gallery-filters button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}
.gallery-filters button.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #dbe3ee;
  aspect-ratio: 4/3;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,18,32,.86);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 24px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; }

.calc-section { padding-top: 32px; }
.calc-wrap { width: min(100% - 32px, 1180px); }
.calc-pro {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.calc-main, .calc-result {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.calc-step { padding: 24px 24px 8px; }
.calc-step + .calc-step { border-top: 1px solid var(--line); }
.calc-step h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
}
.calc-step h2 span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 15px;
}
.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.type-card, .opt-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.type-card:hover, .opt-card:hover { border-color: #c9d6e6; }
.type-card:has(input:checked),
.opt-card:has(input:checked),
.type-card.is-checked,
.opt-card.is-checked {
  border-color: var(--navy);
  background: #fffdf4;
  box-shadow: 0 0 0 3px rgba(245, 197, 24, .35);
}
.type-card input, .opt-card input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.type-card strong, .opt-card strong { color: var(--navy); }
.type-card em, .opt-card em { color: #8a5a00; font-style: normal; font-weight: 700; font-size: 13px; }
.type-card p { margin: 0; color: var(--muted); font-size: 13px; }
.param-block { margin-bottom: 18px; }
.param-grid { display: grid; gap: 8px; }
.param-label { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.area-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.area-head label { font-weight: 700; color: var(--navy); }
.area-value { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); }
.area-value input {
  width: 88px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
  font: inherit;
  font-weight: 800;
  text-align: center;
}
#area-range {
  width: 100%;
  accent-color: var(--accent-dark);
  height: 8px;
}
.range-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 4px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  background: #fbfcfe;
}
.seg label:has(input:checked),
.seg label.is-checked {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.opt-card { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.opt-card::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 2px solid #b7c3d3;
  border-radius: 4px;
  background: var(--white);
}
.opt-card:has(input:checked)::before,
.opt-card.is-checked::before {
  background: var(--accent);
  border-color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--white);
}
.opt-wide { grid-column: 1 / -1; }
.calc-result {
  position: sticky;
  top: 96px;
  padding: 24px;
}
.calc-result h2 { font-size: 22px; }
.estimate { display: grid; gap: 12px; margin-bottom: 16px; }
.estimate li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.estimate strong { color: var(--navy); white-space: nowrap; }
.estimate-total { border: 0; font-size: 22px; padding-top: 6px; }
.rate-note { color: var(--muted); font-size: 13px; }
.disclaimer {
  display: flex;
  gap: 10px;
  background: #eef5ff;
  border: 1px solid #d5e4f7;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0 18px;
  color: #2a4666;
  font-size: 13px;
  line-height: 1.45;
}
.disclaimer p { margin: 0; }
.disclaimer-icon { flex: none; }
.btn-xl { width: 100%; min-height: 56px; font-size: 16px; text-align: center; }
body.modal-open { overflow: hidden; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 90; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 18, 32, .55); }
.modal-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 460px);
  margin: 8vh auto;
  background: var(--white);
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(15, 39, 68, .25);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.modal-note { margin-top: 12px; color: #1f6b3a; font-weight: 600; }

.form {
  display: grid;
  gap: 12px;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  background: var(--white);
}
.form textarea { min-height: 140px; resize: vertical; }

.offices li { margin-bottom: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 20px;
  align-items: start;
}
.contact-form-card .lead-mini,
.contact-offices-card .lead-mini {
  margin: 0 0 16px;
  color: var(--muted);
}
.contact-sub {
  margin: 22px 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}
.contact-offices-card h2 + .contact-sub { margin-top: 8px; }
.office-items { display: grid; gap: 10px; }
.office-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}
.office-item strong {
  display: block;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
}
.office-item p { margin: 0; color: var(--text); }
.office-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff4bf;
  color: var(--navy);
  display: grid;
  place-items: center;
}
.contact-offices-card .geo-badges { margin: 0; }
.direct-contacts { margin-top: 4px; }
.contact-phone-xl {
  display: inline-block;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.msg-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.btn-wa,
.btn-tg,
.btn-max {
  min-height: 42px;
  padding: 8px 16px;
  color: #fff;
  font-weight: 700;
}
.btn-wa { background: #25d366; }
.btn-wa:hover { background: #1ebe57; color: #fff; }
.btn-tg { background: #2aabee; }
.btn-tg:hover { background: #1d9ad9; color: #fff; }
.btn-max { background: #6c47ff; }
.btn-max:hover { background: #5834e8; color: #fff; }
.contact-email {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.contact-email a { color: var(--navy); }
.contact-hours {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.form-consent {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.form-status {
  margin: 8px 0 0;
  font-weight: 600;
  color: #1f6b3a;
}
.office-map {
  height: 440px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dbe3ee;
}
.office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
}
.cta-band h2 { color: var(--white); }
.cta-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }

.site-footer {
  background: #0b1c31;
  color: #c9d6e6;
  padding: 48px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 32px;
}
.site-footer h3 { color: var(--white); font-size: 16px; }
.site-footer a { color: #e8eef6; }
.logo-light { color: var(--white); margin-bottom: 12px; }
.site-footer .logo-link {
  margin-bottom: 12px;
  height: 54px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px 0;
  isolation: isolate;
}
.footer-legal p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
}
.footer-legal p:last-child { margin: 0; }
.footer-msg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.footer-msg a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.footer-msg a.is-tg { background: #2aabee; }
.footer-msg a.is-max { background: #6c47ff; }

.msg-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.msg-float-hint {
  margin: 0;
  background: #0f2744;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.28);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.msg-float:hover .msg-float-hint,
.msg-float:focus-within .msg-float-hint {
  opacity: 1;
  transform: none;
}
.msg-float-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 39, 68, 0.28);
  transition: transform .15s ease, background .15s ease;
}
.msg-fab:hover { transform: translateY(-2px); color: #fff; }
.msg-fab-tg { background: #2aabee; }
.msg-fab-tg:hover { background: #1d9ad9; }
.msg-fab-max { background: #6c47ff; font-weight: 800; font-size: 15px; letter-spacing: -.04em; }
.msg-fab-max:hover { background: #5834e8; }
@media (hover: none) {
  .msg-float-hint { opacity: 1; transform: none; }
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}

.list-check {
  display: grid;
  gap: 14px;
}
.list-check li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 0;
  line-height: 1.55;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.partners img { height: 48px; width: auto; background: var(--white); padding: 6px; border-radius: 8px; }

.review p { color: var(--muted); }
.review .who { font-weight: 700; color: var(--navy); margin-bottom: 6px; }

.price-page { display: grid; gap: 24px; }
.price-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.audience {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a5a00;
}
.price-list { margin-top: 8px; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; padding-bottom: 0; }
.price-row h3 { font-size: 17px; margin-bottom: 4px; }
.price-row p { margin: 0; color: var(--muted); font-size: 14px; }
.price-row strong { font-size: 18px; color: var(--navy); white-space: nowrap; }
.b2b-banner {
  background: #eef5ff;
  border: 1px solid #d5e4f7;
  border-left: 4px solid var(--navy);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 8px 0 16px;
  font-weight: 600;
  color: #2a4666;
}
.include-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.include-item {
  background: #f7f9fc;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
}
.include-item span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-weight: 800;
}
.include-item p { margin: 0; font-size: 14px; }
.price-cta {
  background: var(--navy);
  color: #e8eef6;
  border-radius: 18px;
  padding: 40px 28px;
  text-align: center;
}
.price-cta h2 { color: var(--white); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-actions .btn { min-height: 52px; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.offer-card h2 { font-size: 24px; }
.offer-badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.offer-if { color: var(--navy); font-weight: 700; }
.offer-card .btn { margin-top: auto; }
.offer-card-b2b { border: 2px solid var(--navy); }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.brand-tile {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 110px;
  padding: 16px 10px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
}
.brand-tile strong {
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--navy);
}
.brand-tile span { font-size: 13px; color: var(--muted); }

.hero-dmitrov {
  padding: 48px 0 56px;
  background-color: #0f2744;
  background-image:
    linear-gradient(115deg, rgba(15,39,68,.96) 0%, rgba(15,39,68,.88) 48%, rgba(22,54,92,.78) 100%),
    url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-dmitrov h1 { max-width: 18em; }
.hero-dmitrov .crumbs { margin-bottom: 16px; }
.hero-address {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: #fff;
  font-weight: 700;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 12px 14px;
  max-width: 42em;
}
.hero-address:hover { color: var(--accent); }
.hero-address svg { flex: none; margin-top: 2px; color: var(--accent); }
.hero-address span { line-height: 1.4; }

.service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 39, 68, 0.16);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff8d6;
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.service-card p { margin: 0; color: var(--muted); }

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.tariff-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 2px solid transparent;
}
.tariff-card.featured {
  border-color: var(--navy);
  background: linear-gradient(180deg, #fffdf4, #fff);
}
.tariff-card .audience { margin-bottom: 4px; }
.tariff-card h3 { font-size: 22px; }
.tariff-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin: 4px 0 12px;
}
.tariff-card p { color: var(--muted); flex: 1; }
.tariff-card .btn { width: 100%; margin-top: 8px; }

.geo-lead { margin-bottom: 16px; max-width: none; }
.geo-group { margin-bottom: 14px; }
.geo-group h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.geo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.geo-badges li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(15, 39, 68, 0.04);
}
.geo-badges a { color: inherit; font-weight: 800; }
.geo-badge-more {
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-weight: 600;
}

.geo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 20px;
  align-items: stretch;
}
.geo-cards {
  display: grid;
  gap: 16px;
}
.geo-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.geo-card p { margin-bottom: 12px; }
.geo-card-kicker {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.geo-card-caption {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 4px 0 10px;
}
.geo-card .geo-badges li { background: var(--bg); }
.geo-card .geo-badge-more { background: transparent; }
.geo-visual {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  min-height: 100%;
}
.geo-map {
  position: relative;
  min-height: 440px;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dbe3ee;
}
.geo-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.geo-map-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(15, 39, 68, 0.25);
  pointer-events: none;
}
.geo-map-note {
  margin: 0;
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  box-shadow: var(--shadow);
}
.geo-map-note a {
  font-weight: 800;
  white-space: nowrap;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 22px 18px 20px;
}
.process-step span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
}
.process-step .step-icon {
  border-radius: 12px;
}
.process-step .step-icon svg {
  width: 20px;
  height: 20px;
}
.process-step h3 { font-size: 17px; margin-bottom: 6px; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; }

.capture-band { padding: 56px 0; }
.capture-card {
  background: var(--white);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.capture-card h2 { font-size: clamp(22px, 3vw, 30px); }
.capture-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 8px 0 16px;
}
.capture-card .btn-xl { max-width: 420px; }
.capture-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fact-card {
  padding: 26px 22px;
  min-height: 210px;
  border-left: 4px solid var(--accent);
}
.fact-value {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}
.fact-value span {
  display: block;
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 800;
  color: #8a5a00;
  margin-top: 6px;
}
.fact-card h3 { font-size: 18px; margin-bottom: 8px; }
.fact-card p { margin: 0; color: var(--muted); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.team-card { display: flex; flex-direction: column; }
.team-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: -22px -22px 16px;
  background: linear-gradient(160deg, #e8eef6, #d5e0ee);
  display: grid;
  place-items: center;
  color: var(--navy);
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card .audience { margin-bottom: 4px; }
.team-card p { margin: 0; color: var(--muted); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.review-card { display: flex; flex-direction: column; }
.review-card p { color: var(--muted); flex: 1; }
.review-card .who { font-size: 15px; }
.review-card.featured { border: 2px solid var(--navy); }

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.doc-card {
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed #c9d4e3;
  background: #fbfcfe;
}
.doc-card svg { color: var(--navy); }
.doc-card h3 { font-size: 16px; margin: 0; }
.doc-card p { margin: 0; font-size: 13px; color: var(--muted); }

.lab-cards { align-items: stretch; }
.lab-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
}
.lab-card-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  list-style: none;
  margin: 0;
}
.check-grid.is-single { grid-template-columns: 1fr; }
.check-grid li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.45;
}
.check-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(15, 39, 68, 0.08);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.check-grid li.is-key {
  font-weight: 700;
  color: var(--navy);
}
.check-grid li.is-key::before {
  background: var(--accent);
}
.lab-price-link {
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 700;
}
.lab-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding: 16px;
  background: var(--bg);
  border-radius: 14px;
}
.lab-person img {
  width: 80px;
  height: 80px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}
.lab-person-body { min-width: 0; }
.lab-person-name {
  margin: 0 0 2px;
  font-weight: 800;
  color: var(--navy);
}
.lab-person-role {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}
.lab-person-phone {
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.equip-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.equip-card > a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dbe3ee;
}
.equip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.equip-card > a:hover img { transform: scale(1.06); }
.equip-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(13, 32, 64, 0.85);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}
.equip-card figcaption {
  padding: 16px 18px 20px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.cert-block .section-title,
.cert-block .lead {
  text-align: center;
}
.cert-block .lead { margin: 0 auto 26px; }
.cert-note {
  margin: 24px 0 0;
  text-align: center;
  font-size: 14px;
  color: #b7c6d8;
}
.cert-note a { color: var(--accent); font-weight: 700; }

@media (max-width: 1200px) {
  .header-cta .btn { display: none; }
  .nav { gap: 0 8px; }
  .nav a { font-size: 12px; }
  .site-logo { height: 46px; max-height: 46px; }
  .logo-link { height: 44px; }
}

@media (max-width: 1080px) {
  .grid-4, .grid-3, .grid-2, .gallery, .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-pro { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .include-grid { grid-template-columns: 1fr 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr 1fr 1fr; }
  .tariff-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .capture-fields { grid-template-columns: 1fr 1fr; }
  .hero-home { padding: 56px 0 64px; }
  .hero-home-inner { grid-template-columns: 1fr; padding: 0; }
  .facts-grid, .team-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .docs-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .geo-layout { grid-template-columns: 1fr; }
  .geo-map { min-height: 360px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .work-timeline {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .work-arrow {
    padding-top: 0;
    justify-self: start;
    margin-left: 18px;
    transform: rotate(90deg);
  }
  .equip-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 12px 16px 20px;
    box-shadow: var(--shadow);
    flex: none;
  }
  .nav.is-open { display: flex; }
  .nav-toggle { display: flex; order: 3; }
  .header-cta { margin-left: auto; order: 2; }
  .header-cta .btn { display: none; }
  .msg-float { right: 12px; bottom: 88px; }
  .msg-fab { width: 50px; height: 50px; }
  .site-logo { height: 42px; max-height: 42px; }
  .logo-link { height: 40px; }
}

@media (max-width: 640px) {
  .logo span { font-size: 14px; }
  .phone { font-size: 14px; }
  .grid-4, .grid-3, .grid-2, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 48px; }
  .hero.hero-home { padding: 48px 0 56px; }
  .hero.hero-home h1 { max-width: none; }
  .type-grid, .opt-grid { grid-template-columns: 1fr; }
  .include-grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .tariff-grid, .process-grid, .capture-fields { grid-template-columns: 1fr; }
  .hero-dmitrov h1 { max-width: none; }
  .facts-grid, .team-grid, .review-grid, .docs-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .lab-person { gap: 14px; padding: 14px; }
  .lab-person img { width: 68px; height: 68px; }
}
