/* Стили из макета svc (multlock-servis.ru), перенесены без изменений; правлены только пути к файлам (+ строка в конце). */

@font-face {
  font-family: Manrope;
  src: url('../fonts/Manrope-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --price-accent: #3f4fc0;
  --accent: #4151bf;
  --accent-dark: #313fa4;
  --ink: #192a32;
  --body: #4b5961;
  --muted: #657178;
  --line: #dfe4e3;
  --paper: #f2f3fa;
  --white: #ffffff;
  --content: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 112px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { border: 0; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible, [role=tab]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
input::placeholder { color: #737e84; opacity: 1; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 750; color: var(--ink); line-height: 1.22; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3vw, 40px); }
h3 { font-size: 24px; letter-spacing: -.025em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 750; }
[hidden] { display: none !important; }
.container { width: min(var(--content), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 80px; }
.section-heading { margin-bottom: 32px; }
.icon { width: 24px; height: 24px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 750;
  transition: background .18s, border-color .18s;
}
.button .icon { width: 20px; height: 20px; }
.button-primary { background: var(--accent); color: #ffffff; }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { background: #ffffff; border-color: #d4dcda; }
.button-secondary:hover { border-color: var(--accent); color: var(--accent-dark); }
.button-secondary .icon { color: var(--accent); }
.button-white { background: #ffffff; color: var(--accent-dark); }
.button-white:hover { background: #e9ebf8; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--ink); color: #ffffff; }
.skip-link:focus { top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.topbar { background: var(--paper); border-bottom: 1px solid #e9ece9; color: var(--muted); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 8px; }
.topbar-inner > span { display: flex; align-items: center; gap: 8px; }
.topbar .icon { width: 16px; height: 16px; color: var(--accent); }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #edf0ee; background: #ffffff; }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 88px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo-crop { position: relative; display: block; width: 108px; height: 35px; overflow: hidden; }
.logo-crop img { position: absolute; top: -22.68px; left: 0; width: 108px; height: 81px; max-width: none; }
.main-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: 28px; font-size: 15px; font-weight: 700; }
.main-nav > a { position: relative; padding: 20px 0; white-space: nowrap; }
.main-nav a:hover { color: var(--accent-dark); }
.nav-current::after { content: ''; position: absolute; right: 0; bottom: 12px; left: 0; height: 2px; background: var(--accent); }
.nav-dropdown { position: relative; display: flex; align-items: center; padding-block: 20px; white-space: nowrap; }
.dropdown-toggle { display: none; place-items: center; min-width: 32px; min-height: 44px; padding: 8px 0 8px 6px; background: none; }
.dropdown-toggle .icon { width: 16px; height: 16px; }
.dropdown-toggle[aria-expanded=true] .icon { transform: rotate(180deg); }
.submenu { position: absolute; top: 100%; left: -18px; width: 320px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #ffffff; box-shadow: 0 12px 35px #192a3215; white-space: normal; }
.submenu a { display: block; padding: 11px 13px; border-radius: 4px; font-size: 14px; }
.submenu a:hover { background: var(--paper); }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; margin-left: auto; }
.header-phone { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.header-phone .icon { width: 20px; height: 20px; color: var(--accent); }
.header-contact > span { font-size: 13px; color: var(--muted); }
.header-cta { min-height: 46px; padding: 12px 18px; font-size: 14px; white-space: nowrap; }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; background: none; }

/* First screen and its six-row price panel */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e2e3ee none center bottom / cover no-repeat;
}
/* Keep the whole lock visible; the empty texture extends the scene on wide screens. */
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  left: 50%;
  width: auto;
  height: 100%;
  aspect-ratio: 1024 / 341;
  transform: translateX(-50%);
  background: none center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000000 10%, #000000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000000 10%, #000000 90%, transparent);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 64px; padding-block: 60px; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(52px, 5.4vw, 80px); font-weight: 800; line-height: 1.06; letter-spacing: -.06em; }
.hero-description { max-width: 510px; margin-top: 26px; font-size: 21px; line-height: 1.55; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.hero-actions .button { font-size: 15px; }
.hero-prices { min-width: 0; padding: 30px; border: 1px solid #dde3e0; border-radius: 8px; background: #ffffff; }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; }
.price-table caption { margin-bottom: 18px; color: var(--ink); font-size: 23px; font-weight: 750; line-height: 1.3; letter-spacing: -.025em; text-align: left; }
.price-table th { padding: 12px 18px 12px 0; color: var(--body); font-weight: 500; text-align: left; }
.price-table td { width: 106px; padding-block: 12px; font-weight: 750; text-align: right; white-space: nowrap; }
.benefit-strip { border-bottom: 1px solid var(--line); background: #ffffff; }
.benefits-inline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-block: 34px; }
.benefit { min-width: 0; padding: 0 20px; border-right: 1px solid var(--line); }
.benefit:first-child { padding-left: 0; }
.benefit:last-child { padding-right: 0; border-right: 0; }
.benefit > .icon { width: 36px; height: 36px; object-fit: contain; margin-bottom: 14px; color: var(--accent); }
.benefit strong { display: block; margin-bottom: 8px; font-size: 16px; line-height: 1.5; }
.benefit p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Services and catalog */
.services { background: var(--paper); padding-block: 64px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 150px; padding: 25px 52px 25px 25px; border: 1px solid var(--line); border-radius: 7px; background: #ffffff; color: var(--ink); text-align: left; transition: border-color .18s; }
.service-card:hover { border-color: var(--accent); }
.service-card > .service-icon { position: absolute; z-index: -1; top: 50%; left: 50%; width: 80%; height: 80%; max-width: 480px; margin: 0; object-fit: contain; opacity: .1; transform: translate(-50%, -50%); pointer-events: none; }
.service-card > span { display: block; font-size: 18px; line-height: 1.4; font-weight: 750; }
.service-card > small { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-card .card-arrow { position: absolute; top: 28px; right: 24px; width: 20px; height: 20px; color: var(--accent); }
.catalog-section { padding-bottom: 72px; }
.catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.catalog-link { display: inline-flex; align-items: center; flex-shrink: 0; gap: 18px; color: var(--accent-dark); font-size: 15px; font-weight: 700; }
.catalog-link .icon { width: 20px; height: 20px; }
.catalog-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.category-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px 26px 28px; border: 1px solid var(--line); border-radius: 7px; background: #ffffff; transition: border-color .18s; }
.category-card:hover { border-color: var(--accent); }
.category-image { display: block; width: 100%; height: 195px; margin-bottom: 22px; overflow: hidden; }
.category-image img { width: 100%; height: 100%; object-fit: contain; }
.category-copy { display: block; padding-right: 30px; }
.category-copy strong { display: block; font-size: 21px; line-height: 1.4; }
.category-copy small { display: block; margin-top: 9px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.category-card > .icon { position: absolute; right: 23px; bottom: 63px; width: 20px; height: 20px; color: var(--accent); }

/* Work process */
.process-section { padding-top: 0; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.process-grid li { position: relative; padding-top: 25px; border-top: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 22px; font-size: 36px; font-weight: 500; line-height: 1; letter-spacing: -.06em; color: var(--accent); }
.process-grid h3 { margin-bottom: 12px; font-size: 22px; }
.process-grid p { color: var(--body); font-size: 16px; line-height: 1.75; }

/* Forms */
.callback-band { padding-block: 55px; background: var(--accent); color: #ffffff; }
.callback-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.callback-grid h2 { font-size: 38px; line-height: 1.22; color: #ffffff; }
.callback-copy > p { max-width: 540px; margin-top: 20px; font-size: 16px; line-height: 1.7; }
.callback-note { padding-top: 18px; border-top: 1px solid #ffffff40; }
.callback-note strong { font-size: 16px; font-weight: 650; }
.callback-note span { display: block; margin-top: 7px; font-size: 14px; }
.request-form { min-width: 0; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.request-form label > span { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 650; line-height: 1.5; }
.request-form input:not([type=checkbox]) { width: 100%; min-width: 0; min-height: 50px; padding: 12px; border: 1px solid #d3dcda; border-radius: 5px; color: var(--ink); background: #ffffff; font-size: 16px; line-height: 1.5; }
.form-action { display: flex; align-items: end; gap: 18px; margin-top: 18px; }
.captcha-field { display: flex; align-items: center; gap: 12px; flex: 1; }
.request-form .captcha-field > span { flex: 1; min-width: 0; max-width: 130px; margin-bottom: 0; font-size: 13px; font-weight: 500; line-height: 1.55; }
.request-form .captcha-field > input { width: 80px; flex-shrink: 0; }
.form-action > .button { flex: 1; min-height: 50px; padding-inline: 16px; gap: 12px; white-space: nowrap; font-size: 14px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; cursor: pointer; }
.consent input { appearance: auto; width: 18px; height: 18px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.request-form .consent > span { margin: 0; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.6; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-light .consent > span { color: #ffffff; }
.form-light input[type=checkbox] { accent-color: var(--ink); }
.form-light input:focus { outline-color: #ffffff; }
.form-status { margin-top: 14px; font-size: 14px; line-height: 1.7; }
.form-status:empty { margin: 0; }
.form-status:not(:empty) { padding: 14px; border: 1px solid currentColor; border-radius: 5px; }
.request-form [aria-invalid=true] { border-color: #2131a1 !important; box-shadow: 0 0 0 2px #2131a135; }
.form-light [aria-invalid=true] { outline: 2px solid #131b56; outline-offset: 2px; }
.request-context { margin-bottom: 16px; font-size: 16px; font-weight: 650; }

/* Original introductory text */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 72px; }
.intro-grid h2 { margin-bottom: 25px; }
.prose { color: var(--body); font-size: 16px; line-height: 1.85; }
.prose p + p { margin-top: 21px; }
.prose h3 { margin-top: 32px; margin-bottom: 17px; font-size: 24px; }
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 18px 0; padding-left: 21px; list-style: disc; }
.prose li { margin: 5px 0; padding-left: 4px; }
.prose li::marker { color: var(--accent); }
.door-types { padding-left: 32px; border-left: 1px solid var(--line); }
.door-types > p { margin-bottom: 22px; font-size: 16px; font-weight: 650; line-height: 1.7; }
.door-types ul { display: grid; gap: 15px; }
.door-types li { display: flex; align-items: center; gap: 14px; color: var(--body); font-size: 16px; line-height: 1.6; }
.door-types .icon { width: 23px; height: 23px; color: var(--accent); }

/* Region tabs change places only. Both travel tables are outside their panels. */
.regions-section { background: var(--paper); }
.region-heading { max-width: 900px; margin-bottom: 30px; }
.region-heading h2 { font-size: clamp(30px, 3vw, 40px); }
.region-heading p { max-width: 850px; margin-top: 18px; color: var(--body); font-size: 16px; }
.region-tabs { display: flex; flex-wrap: wrap; gap: 9px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.region-tab { min-height: 44px; padding: 9px 18px; border: 1px solid #d2d9d6; border-radius: 5px; background: #ffffff; font-size: 14px; font-weight: 650; line-height: 1.45; }
.region-tab:hover { border-color: var(--accent); color: var(--accent-dark); }
.region-tab.is-active { border-color: var(--accent); background: var(--accent); color: #ffffff; }
.region-panel { padding-top: 24px; }
.region-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.locality-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px 24px; }
.locality { display: flex; align-items: center; justify-content: space-between; min-width: 0; min-height: 44px; gap: 6px; padding-block: 7px; color: var(--body); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.travel-prices { margin-top: 34px; }
.travel-block { padding-top: 28px; border-top: 1px solid var(--line); }
.travel-block + .travel-block { margin-top: 28px; }
.travel-block h3 { margin-bottom: 18px; font-size: 25px; }
.travel-table-wrap { overflow: hidden; border: 1px solid #d7dfdc; border-radius: 7px; background: #ffffff; }
.travel-table { width: 100%; table-layout: fixed; border-collapse: collapse; line-height: 1.5; }
.travel-table th { padding: 16px 20px; border-bottom: 1px solid var(--line); background: #edf0ed; color: var(--ink); font-size: 14px; font-weight: 650; text-align: left; vertical-align: top; }
.travel-table td { padding: 20px; font-size: 19px; font-weight: 700; vertical-align: top; }
.travel-table th + th, .travel-table td + td { border-left: 1px solid var(--line); }
.travel-note { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Original SEO text, with independent in-place disclosure */
.editorial { padding-bottom: 0; }
.reading-title { max-width: 970px; margin-bottom: 29px; }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 60px; align-items: start; }
.editorial-photo { overflow: hidden; }
.editorial-photo img { width: 100%; height: 310px; object-fit: cover; object-position: center 55%; border-radius: 5px; }
.text-disclosure { margin-top: 18px; }
.text-disclosure summary { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; padding: 6px 0; color: var(--accent-dark); font-size: 15px; font-weight: 700; line-height: 1.5; list-style: none; cursor: pointer; }
.text-disclosure summary::-webkit-details-marker { display: none; }
.text-disclosure summary .icon { width: 18px; height: 18px; }
.read-less-label { display: none; }
.text-disclosure[open] .read-less-label { display: inline; }
.text-disclosure[open] .read-more-label { display: none; }
.text-disclosure[open] summary .icon { transform: rotate(180deg); }
.disclosure-copy { padding-top: 14px; }
.collapse-text { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 18px; padding: 6px 0; background: transparent; color: var(--accent-dark); font-size: 15px; font-weight: 700; }
.tag-cloud-group { --tag-preview-rows: 2; margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--line); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
/* Only the height is restricted: every tag remains a link in the initial HTML. */
.tag-cloud.is-collapsed { max-height: var(--tag-collapsed-height); overflow: hidden; overflow: clip; }
.tag-cloud .tag:focus-visible { outline-offset: -3px; }
.collapse-text .icon { width: 16px; height: 16px; }
.tag-cloud-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; background: #ffffff; color: var(--accent-dark); }
.tag-cloud-toggle:hover { border-color: var(--accent); background: var(--paper); }
.tag-cloud-toggle .icon { width: 22px; height: 22px; }
.tag-cloud-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
@media print { .tag-cloud.is-collapsed { max-height: none; overflow: visible; } .tag-cloud-toggle { display: none; } }
.tag { display: inline-flex; align-items: center; max-width: 100%; min-height: 42px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 4px; background: #ffffff; font-size: 14px; line-height: 1.5; }
.tag:hover { border-color: var(--accent); color: var(--accent-dark); }
.service-detail { padding-block: 0; }
.service-detail > .container { margin-top: 50px; padding-top: 50px; border-top: 1px solid var(--line); }
.service-detail h2 { margin-bottom: 25px; }
.service-detail-grid { max-width: 980px; }
.professional-section { padding-block: 0; }
.professional-section > .container { margin-top: 50px; padding-top: 50px; border-top: 1px solid var(--line); }
.professional-intro { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: center; gap: 60px; }
.professional-intro h2 { margin-bottom: 25px; }
.professional-photo img { width: 100%; max-height: 290px; object-fit: contain; }

/* The final form is immediately before the footer */
.final-section { padding-block: 70px 80px; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.final-copy h2 { max-width: 570px; font-size: clamp(28px, 2.55vw, 36px); line-height: 1.4; }
.final-phone { display: flex; align-items: center; gap: 14px; margin-top: 27px; font-size: 26px; font-weight: 800; line-height: 1.5; letter-spacing: -.035em; }
.final-phone .icon { color: var(--accent); }
.final-copy > p:last-child { margin-top: 9px; color: var(--muted); font-size: 14px; }
.final-form { min-width: 0; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.final-form h3 { font-size: 25px; line-height: 1.35; }
.offer { display: flex; align-items: end; gap: 34px; margin: 22px 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.offer-price > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 13px; }
.offer-price strong { font-size: 21px; }
.offer-price.old strong { color: var(--muted); font-weight: 500; text-decoration: line-through; }
.offer-price.new strong { color: var(--accent-dark); font-size: 27px; }
.final-form .form-fields { grid-template-columns: 1fr; }

/* Footer and modal */
.site-footer { padding-top: 36px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 30px; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; font-weight: 650; }
.footer-contact { text-align: right; }
.footer-contact > a { font-size: 20px; font-weight: 800; }
.footer-contact > p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-block: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a:hover { color: var(--accent-dark); }

.cookie-note { display: flex; align-items: center; gap: 22px; padding-block: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.cookie-note button { min-width: 48px; min-height: 40px; padding: 6px 12px; border: 1px solid #cad3cf; border-radius: 4px; background: #ffffff; font-size: 14px; }

dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 38px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #ffffff; }
dialog::backdrop { background: #16272c75; }
dialog h2 { padding-right: 20px; font-size: 34px; }
dialog > p { margin-top: 14px; color: var(--body); font-size: 16px; }
.dialog-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); }
.dialog-close .icon { width: 20px; height: 20px; }
.dialog-close:hover { color: var(--accent-dark); }
.dialog-phone { display: block; margin: 16px 0 24px; font-size: 25px; font-weight: 800; }
dialog .form-fields { grid-template-columns: 1fr; }


/* Hero composition: reserve the middle for the lock on desktop. */
@media (min-width: 1200px) {
  .hero-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(280px, 24vw, 340px); }
  .hero-description { font-size: 19px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { gap: 12px; padding-inline: 18px; font-size: 14px; }
}
/* Uniform light overlay over the entire background, below all hero content. */
@media (max-width: 1199px) {
  .hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(255, 255, 255, .82);
    pointer-events: none;
  }
}

/* Tablet and small desktop */
@media (max-width: 1199px) {
  .container { width: calc(100% - 64px); }
  .header-contact { display: none; }
  .header-inner { gap: 24px; }
  .main-nav { gap: 24px; }
  .hero-inner { gap: 38px; }
  .hero h1 { font-size: clamp(48px, 5.9vw, 68px); }
  .hero-description { font-size: 19px; }
  .hero-prices { padding: 25px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { padding-inline: 18px; font-size: 14px; }
  .benefit { padding-inline: 15px; }
  .category-grid { gap: 16px; }
  .category-card { padding-inline: 22px; }
  .category-copy strong { font-size: 19px; }
  .callback-grid, .intro-grid, .final-grid { gap: 45px; }
  .callback-grid h2 { font-size: 34px; }
  .form-action { flex-direction: column; align-items: stretch; }
  .captcha-field { justify-content: flex-start; flex: unset; }
  .request-form .captcha-field > span { flex: unset; max-width: none; }
  .request-form .captcha-field > input { width: 100px; }
  .locality-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .editorial-grid { gap: 40px; }
  .professional-intro { gap: 40px; }
  .footer-top { gap: 24px; }
  .footer-top nav { gap: 18px; }
}
@media (max-width: 959px) {
  .section { padding-block: 64px; }
  .header-inner { min-height: 76px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 46px; }
  .hero-copy { max-width: 750px; }
  .hero h1 { font-size: 64px; }
  .hero-description { max-width: 650px; }
  .hero-prices { padding: 28px; }
  .hero-actions .button { font-size: 16px; }
  .price-table caption { font-size: 25px; }
  .benefits-inline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 32px; }
  .benefit, .benefit:first-child, .benefit:last-child { padding: 0; border-right: 0; }
  .benefit:nth-child(n+4) { padding-top: 23px; border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .category-card { padding: 20px; }
  .category-image { height: 155px; margin-bottom: 19px; }
  .category-copy strong { font-size: 18px; }
  .category-copy small { font-size: 15px; }
  .category-card > .icon { right: 18px; }
  .process-section { padding-top: 0; }
  .process-grid { gap: 30px; }
  .process-grid h3 { font-size: 20px; }
  .callback-grid, .final-grid { grid-template-columns: 1fr; gap: 32px; }
  .callback-copy > p { max-width: 720px; }
  .callback-grid > form { max-width: 720px; width: 100%; }
  .callback-grid .form-action { flex-direction: row; align-items: end; }
  .callback-grid .captcha-field { flex: 1; }
  .callback-grid .captcha-field > span { max-width: 140px; }
  .intro-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
  .intro-grid h2 { font-size: 32px; }
  .door-types { padding-left: 24px; }
  .locality-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .travel-table th { padding: 15px; }
  .travel-table td { padding: 18px 15px; font-size: 18px; }
  .editorial { padding-bottom: 0; }
  .editorial-grid { grid-template-columns: minmax(0, 1fr) 190px; gap: 30px; }
  .editorial-photo img { height: 260px; }
  .service-detail, .professional-section { padding-block: 0; }
  .professional-intro { grid-template-columns: minmax(0, 1fr) 180px; gap: 30px; }
  .final-copy h2 { max-width: 780px; font-size: 34px; }
  .final-form { width: 100%; max-width: 720px; }
  .final-form .form-fields { grid-template-columns: 1fr 1fr; }
  .final-form .form-action { flex-direction: row; align-items: end; }
  .final-form .captcha-field { flex: 1; }
  .footer-top { flex-wrap: wrap; }
  .footer-top nav { order: 2; width: 100%; justify-content: space-between; }
}

/* Mobile */
@media (max-width: 767px) {
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .topbar-inner { justify-content: center; padding-block: 7px; }
  .topbar-inner > span:first-child { display: none; }
  .topbar { font-size: 13px; }
  .header-inner { min-height: 70px; gap: 12px; }
  .logo-crop { width: 92px; height: 30px; }
  .logo-crop img { width: 92px; height: 69px; top: -19.32px; }
  .header-cta { margin-left: auto; padding: 11px 14px; font-size: 13px; min-height: 42px; }
  .menu-toggle { display: flex; order: 3; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); background: #ffffff; box-shadow: 0 15px 25px #192a3210; }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav > a { padding-block: 14px; font-size: 16px; }
  .nav-current::after { right: auto; bottom: 8px; width: 32px; }
  .nav-dropdown { flex-wrap: wrap; justify-content: space-between; padding-block: 0; }
  .nav-dropdown > a { flex: 1; padding-block: 14px; font-size: 16px; }
  .dropdown-toggle { display: grid; min-width: 44px; padding: 14px; }
  .submenu { position: static; width: 100%; margin-bottom: 12px; padding: 5px 8px; border: 0; border-left: 2px solid var(--accent); border-radius: 0; box-shadow: none; }
  .submenu a { padding: 11px; font-size: 16px; }
  .hero-inner { gap: 30px; padding-block: 38px; }
  .hero h1 { font-size: clamp(46px, 11.3vw, 64px); }
  .hero-description { max-width: 560px; margin-top: 23px; font-size: 18px; }
  .hero-actions { flex-wrap: nowrap; gap: 12px; margin-top: 26px; }
  .hero-actions .button { gap: 10px; padding: 13px 15px; font-size: 14px; }
  .hero-actions .icon { width: 18px; height: 18px; }
  .hero-prices { padding: 23px; }
  .price-table caption { margin-bottom: 16px; font-size: 23px; }
  .price-table th { padding: 13px 16px 13px 0; }
  .price-table td { width: 102px; padding-block: 13px; }
  .benefits-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
  .benefit:nth-child(n+3) { padding-top: 23px; border-top: 1px solid var(--line); }
  .benefit:last-child { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 18px; }
  .benefit:last-child > .icon { margin-top: 4px; }
  .benefit strong { font-size: 16px; }
  .benefit p { font-size: 14px; }
  .section { padding-block: 50px; }
  .section-heading { margin-bottom: 26px; }
  h2 { font-size: 31px; }
  .service-grid { gap: 12px; }
  .service-card { padding: 21px 48px 21px 18px; }
  .service-card > span { font-size: 17px; }
  .service-card > small { font-size: 14px; }
  .service-card .card-arrow { right: 17px; top: 25px; }
  .catalog-heading { display: block; margin-bottom: 26px; }
  .catalog-link { margin-top: 16px; min-height: 36px; }
  .category-grid { grid-template-columns: 1fr; gap: 14px; }
  .category-card { display: grid; grid-template-columns: 100px minmax(0, 1fr) 20px; align-items: center; gap: 20px; padding: 22px; }
  .category-image { height: 116px; margin: 0; }
  .category-copy { padding: 0; }
  .category-copy strong { font-size: 19px; }
  .category-copy small { font-size: 15px; }
  .category-card > .icon { position: static; width: 20px; height: 20px; }
  .process-section { padding-top: 0; }
  .process-grid { grid-template-columns: 1fr; gap: 25px; }
  .process-grid li { min-height: 120px; padding: 23px 0 0 60px; }
  .step-number { position: absolute; left: 0; top: 25px; font-size: 32px; }
  .process-grid h3 { margin-bottom: 10px; font-size: 22px; }
  .process-grid p { font-size: 16px; }
  .callback-band { padding-block: 40px; }
  .callback-grid h2 { font-size: 33px; }
  .callback-grid .form-action { flex-direction: column; align-items: stretch; }
  .callback-grid .captcha-field > span { max-width: none; }
  .callback-note strong { font-size: 16px; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-grid h2 { font-size: 31px; }
  .door-types { padding: 25px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .door-types ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .door-types li { align-items: flex-start; gap: 10px; }
  .door-types .icon { width: 22px; height: 22px; margin-top: 3px; }
  .region-heading h2 { font-size: 31px; }
  .region-tabs { gap: 8px; }
  .region-tab { padding-inline: 14px; font-size: 14px; }
  .locality-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 20px; }
  .locality { font-size: 16px; }
  .locality .icon { display: none; }
  .travel-prices { margin-top: 28px; }
  .travel-block { padding-top: 25px; }
  .travel-block h3 { font-size: 24px; }
  .travel-note { font-size: 14px; }
  .editorial { padding-bottom: 0; }
  .reading-title { font-size: 31px; margin-bottom: 25px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 28px; }
  .prose, .prose p, .prose li { font-size: 16px; }
  .prose h3 { font-size: 23px; }
  .editorial-photo { display: block; padding: 18px; border-radius: 6px; background: var(--paper); }
  .editorial-photo img { height: 250px; }


  .tag-cloud-group { --tag-preview-rows: 3; margin-top: 25px; padding-top: 24px; }
  .tag-cloud { gap: 8px; }
  .tag { font-size: 14px; padding: 9px 11px; }
  .service-detail, .professional-section { padding-block: 0; }
  .service-detail > .container, .professional-section > .container { margin-top: 40px; padding-top: 40px; }
  .professional-intro { grid-template-columns: 1fr; gap: 25px; }
  .professional-intro h2 { font-size: 31px; }
  .professional-photo { width: min(280px, 85%); margin-inline: auto; }
  .professional-photo img { max-height: 220px; }
  .final-section {
    margin-top: 48px;
    padding-block: 40px 48px;
    border-top: 1px solid var(--line);
    background: var(--paper);
  }
  .final-grid { gap: 30px; }
  .final-copy h2 { font-size: 29px; }
  .final-phone { gap: 12px; font-size: 25px; }
  .final-copy > p:last-child { font-size: 14px; }
  .final-form { padding: 25px; background: var(--white); }
  .final-form h3 { font-size: 24px; }
  .final-form .form-fields { grid-template-columns: 1fr; }
  .final-form .form-action { flex-direction: column; align-items: stretch; }
  .final-form .captcha-field > span { max-width: none; }
  .footer-top { align-items: flex-start; gap: 28px; }
  .footer-contact { max-width: calc(100% - 122px); }
  .footer-contact > a { font-size: 17px; white-space: nowrap; }
  .footer-contact > p { font-size: 13px; }
  .footer-top nav { gap: 14px; font-size: 14px; }
  .footer-bottom { align-items: flex-start; gap: 14px; font-size: 13px; }
  .footer-bottom > div { gap: 12px 20px; }

  .cookie-note { align-items: flex-start; gap: 15px; font-size: 13px; }






  dialog { padding: 32px 24px; }
  dialog h2 { font-size: 29px; }
  .dialog-phone { font-size: 23px; }
}

/* The table cells become readable labelled rows on narrow screens. */
@media (max-width: 639px) {
  .travel-table, .travel-table tbody, .travel-table tr { display: block; width: 100%; }
  .travel-table thead { position: absolute; width: 1px; height: 1px; padding: 0; clip: rect(0,0,0,0); overflow: hidden; }
  .travel-table td { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(85px, 1fr); align-items: center; gap: 20px; width: 100%; padding: 18px; text-align: right; font-size: 18px; }
  .travel-table td + td { border-left: 0; border-top: 1px solid var(--line); }
  .travel-table td::before { content: attr(data-label); color: var(--body); text-align: left; font-size: 14px; line-height: 1.6; font-weight: 500; }
}
@media (max-width: 479px) {
  .container { width: calc(100% - 36px); }
  .hero h1 { font-size: clamp(43px, 11.8vw, 56px); }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .hero-actions .button { justify-content: space-between; font-size: 16px; }
  .hero-prices { padding: 20px; }
  .price-table { font-size: 16px; }
  .price-table caption { font-size: 23px; }
  .price-table th { padding-right: 12px; }
  .price-table td { width: 96px; }
  .benefits-inline { grid-template-columns: 1fr; gap: 0; padding-block: 8px; }
  .benefit, .benefit:first-child, .benefit:last-child, .benefit:nth-child(n+3) { display: flex; align-items: flex-start; gap: 18px; padding: 23px 0; border: 0; border-bottom: 1px solid var(--line); }
  .benefit:last-child { border-bottom: 0; }
  .benefit > .icon { margin-top: 3px; margin-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 0; padding: 22px 56px 22px 70px; }
  .service-card > .service-icon { z-index: 0; top: 50%; left: 21px; width: 31px; height: 31px; max-width: none; opacity: 1; transform: translateY(-50%); }
  .service-card > span { font-size: 18px; }
  .service-card > small { margin-top: 6px; }
  .service-card .card-arrow { top: 50%; right: 21px; transform: translateY(-50%); }
  .category-card { grid-template-columns: 80px minmax(0, 1fr); gap: 17px; padding: 20px; }
  .category-image { height: 110px; }
  .category-copy strong { font-size: 18px; }
  .category-copy small { font-size: 14px; }
  .category-card > .icon { display: none; }
  .form-fields { grid-template-columns: 1fr; }
  .intro-grid h2 { font-size: clamp(26px, 7.3vw, 31px); }
  .door-types ul { grid-template-columns: 1fr; gap: 18px; }
  .final-form { padding: 22px; }
  .footer-contact { width: 100%; max-width: none; text-align: left; }
  .footer-contact > a { font-size: 20px; }
  .footer-contact > p { font-size: 14px; }
  .footer-top nav { justify-content: flex-start; gap: 12px 22px; }
  .footer-bottom { display: block; }
  .footer-bottom > div { margin-top: 12px; }

}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-prices { padding: 17px; }
  .price-table td { width: 92px; }
  .locality-list { grid-template-columns: 1fr; }
  .final-phone { font-size: 22px; }



  .travel-table td { gap: 14px; padding: 16px; font-size: 17px; }
  .request-form .captcha-field > input { width: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .topbar, dialog, .cookie-note, .request-form, .text-disclosure summary, .collapse-text { display: none !important; }
  .container { width: 100%; }
  .section { padding-block: 24px; }
  .text-disclosure > .disclosure-copy { display: block !important; }
  .region-panel[hidden] { display: block !important; }
  .site-footer { padding-bottom: 0; }
  .callback-band { color: var(--ink); background: #eeeeee; }
  .callback-grid h2 { color: var(--ink); }
}


/* Original topTop appearance; no mobile action bar in v3. */
.topTop {
  display: inline-block;
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: var(--accent) url('../images/arrow-top.png') no-repeat center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
  transition: background-color .3s, opacity .5s, visibility .5s;
}
.topTop:hover { background-color: var(--accent-dark); }
.topTop:active { background-color: #555555; }
.topTop.show { opacity: 1; visibility: visible; pointer-events: auto; }
@media (min-width: 500px) { .topTop { margin: 30px; } }
@media (max-width: 767px) {
  .topTop { right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); margin: 0; }
}
@media (max-width: 359px) {
  .professional-intro { grid-template-columns: minmax(0, 1fr); }
  .professional-intro h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .topTop { transition: none; } }
@media print { .topTop { display: none; } }

/* v13: price panel styling from kale-zamena-offline-v7. */
.hero .hero-prices {
  --price-accent:#3f4fc0;
  padding:25px 26px 20px;
  border:1px solid #e6e7e4;
  border-radius:14px;
  background:#ffffff;
  box-shadow:0 18px 38px rgba(29,31,45,.19),0 5px 12px rgba(29,31,45,.14);
  overflow:hidden;
}
.hero .price-table {font-size:16px;line-height:1.5}
.hero .price-table caption {
  position:relative;
  margin:0;
  padding:0 0 24px 26px;
  border-bottom:1px solid #e9ecea;
  background:transparent;
  color:#13212b;
  font-size:24px;
  font-weight:800;
  line-height:1.35;
}
.hero .price-table caption::before {
  content:"";
  position:absolute;
  left:0;top:3px;bottom:27px;
  width:5px;border-radius:1px;
  background:var(--price-accent);
}
.hero .price-table tbody tr,
.hero .price-table tbody tr:nth-child(even) {background:transparent;border-color:#edf0ee}
.hero .price-table th {padding:14px 14px 14px 0;color:#182730;font-weight:600}
.hero .price-table td {width:101px;padding:14px 0;color:var(--price-accent);font-size:18px;line-height:1.55;font-weight:800;font-variant-numeric:tabular-nums}
.hero .price-table tbody tr:last-child th,
.hero .price-table tbody tr:last-child td {padding-bottom:8px}
@media(max-width:767px){
  .hero .hero-prices {padding:24px 23px 18px}
  .hero .price-table {font-size:15px}
  .hero .price-table caption {padding:0 0 22px 24px;font-size:23px}
  .hero .price-table caption::before {bottom:25px}
  .hero .price-table th {padding:14px 12px 14px 0}
  .hero .price-table td {width:96px;padding:14px 0;font-size:17px}
}
@media(max-width:479px){
  .hero .hero-prices {padding:22px 20px 16px}
  .hero .price-table {font-size:14px}
  .hero .price-table caption {padding:0 0 21px 22px;font-size:22px}
  .hero .price-table caption::before {width:4px;bottom:24px}
  .hero .price-table th {padding:13px 10px 13px 0}
  .hero .price-table td {width:88px;padding:13px 0;font-size:16px}
}
@media(max-width:359px){
  .hero .hero-prices {padding:20px 17px 15px}
  .hero .price-table caption {font-size:21px;padding-left:19px}
  .hero .price-table td {width:83px;font-size:15px}
}
@media print{
  .hero .hero-prices {box-shadow:none}
  .hero .price-table caption {background:transparent;color:#13212b}
}


/* Alternate header: full-width background, container-aligned logo gradient. */
.site-header {
  --header-width:min(var(--content), calc(100vw - 96px));
  --header-red:#2438c5;
  border-radius:0; border-bottom:1px solid #e1e2ea;
  background:#ffffff; box-shadow:0 6px 18px #21233018;
  color:#102a39;
}
.site-header .header-inner { width:var(--header-width); display:grid; grid-template-columns:minmax(320px,30%) minmax(0,1fr); gap:28px; min-height:144px; }
.site-header .header-brand-panel { position:relative; isolation:isolate; display:flex; align-items:center; align-self:stretch; }
.site-header .header-brand-panel::before {
  content:""; position:absolute; z-index:-2; inset-block:0;
  left:calc((var(--header-width) - 100vw) / 2); right:-8px;
  background:linear-gradient(115deg,#e5e7f4,#f5f6fa);
  clip-path:polygon(0 0,100% 0,calc(100% - 65px) 100%,0 100%);
  pointer-events:none;
}
.site-header .brand { position:relative; align-self:stretch; flex:0 0 45%; isolation:isolate; }
.site-header .brand::before {
  content:""; position:absolute; z-index:-1; inset-block:0;
  left:calc((var(--header-width) - 100vw) / 2); right:-45px;
  background:linear-gradient(115deg,#192579 0%,#2030a5 45%,#2e42d3 100%);
  clip-path:polygon(0 0,100% 0,calc(100% - 65px) 100%,0 100%);
  pointer-events:none;
}
.site-header .logo-crop { width:150px; height:50px; }
.site-header .logo-crop img { width:150px; height:112.5px; top:-31.5px; filter:brightness(0) invert(1); }
.site-header .header-description { display:flex; align-items:center; gap:11px; padding:0 30px 0 12px; font-size:16px; line-height:1.4; letter-spacing:-.04em; }
.site-header .header-description .icon { width:34px; height:42px; color:var(--header-red); }
.site-header .header-right { min-width:0; align-self:stretch; display:flex; flex-direction:column; }
.site-header .topbar { background:transparent; border:0; color:#18303e; font-size:14px; }
.site-header .topbar-inner { width:100%; min-height:52px; padding:9px 0; align-items:center; justify-content:flex-start; gap:26px; border-bottom:1px solid #dce0e2; }
.site-header .topbar-inner > span { gap:10px; white-space:nowrap; }
.site-header .topbar-inner > span + span { border-left:1px solid #cbd1d5; padding-left:26px; }
.site-header .topbar .icon { width:24px; height:24px; color:var(--header-red); stroke-width:1.8; }
.site-header .header-main-row { display:flex; align-items:center; gap:28px; min-height:92px; flex:1; }
.site-header .main-nav { justify-content:space-between; gap:22px; font-size:17px; font-weight:800; letter-spacing:-.045em; }
.site-header .main-nav > a, .site-header .nav-dropdown { padding-block:24px; }
.site-header .main-nav a:hover { color: #294ed0; }
.site-header .nav-current::after { height:4px; bottom:12px; border-radius:3px; background: var(--accent); }
.site-header .header-contact { display:flex; align-items:flex-start; padding-left:54px; border-left:1px solid #cbd1d5; position:relative; }
.site-header .header-phone { font-size:23px; letter-spacing:-.05em; line-height:1.45; }
.site-header .header-phone .icon { position:absolute; left:18px; top:6px; width:29px; height:29px; color:var(--header-red); stroke-width:1.8; }
.site-header .header-contact > span { font-size:14px; letter-spacing:-.035em; color:#62707b; }
.site-header .header-cta { min-height:54px; padding:14px 22px; font-size:17px; background: var(--accent); border-radius:8px; letter-spacing:-.04em; }
.site-header .header-cta:hover { background:#1b2da9; }
@media (min-width:1200px) {
  .site-header .header-inner { grid-template-columns:29% minmax(0,1fr); gap:22px; min-height:132px; }
  .site-header .logo-crop { width:126px; height:42px; }
  .site-header .logo-crop img { width:126px; height:94.5px; top:-26.46px; }
  .site-header .header-description { font-size:13px; gap:8px; padding-left:6px; padding-right:22px; }
  .site-header .header-description .icon { width:27px; height:34px; }
  .site-header .topbar { font-size:12px; }
  .site-header .topbar-inner { gap:18px; min-height:48px; }
  .site-header .topbar-inner > span + span { padding-left:18px; }
  .site-header .topbar .icon { width:21px; height:21px; }
  .site-header .header-main-row { min-height:84px; gap:18px; }
  .site-header .main-nav { font-size:14px; gap:18px; }
  .site-header .header-contact { padding-left:42px; }
  .site-header .header-phone { font-size:19px; }
  .site-header .header-phone .icon { left:12px; width:24px; height:24px; }
  .site-header .header-contact > span { font-size:12px; }
  .site-header .header-cta { min-height:48px; font-size:14px; padding:12px 18px; }
}
@media (max-width:1199px) and (min-width:768px) {
  .site-header .header-inner { grid-template-columns:175px minmax(0,1fr); gap:26px; min-height:124px; }
  .site-header .header-description, .site-header .header-contact { display:none; }
  .site-header .brand { flex:1; }
  .site-header .brand::before { right:0; }
  .site-header .header-brand-panel::before { display:none; }
  .site-header .logo-crop { width:120px; height:40px; }
  .site-header .logo-crop img { width:120px; height:90px; top:-25.2px; }
  .site-header .topbar { font-size:11px; }
  .site-header .topbar-inner { min-height:48px; gap:12px; flex-wrap:wrap; }
  .site-header .topbar-inner > span { gap:6px; }
  .site-header .topbar-inner > span + span { padding-left:12px; }
  .site-header .topbar .icon { width:18px; height:18px; }
  .site-header .header-main-row { min-height:76px; gap:20px; }
  .site-header .main-nav { font-size:14px; gap:18px; }
  .site-header .header-cta { min-height:46px; padding:12px 16px; font-size:13px; }
}
@media (max-width:959px) and (min-width:768px) {
  .site-header .header-inner { grid-template-columns:140px minmax(0,1fr); gap:20px; }
  .site-header .logo-crop { width:104px; height:35px; }
  .site-header .logo-crop img { width:104px; height:78px; top:-21.84px; }
  .site-header .brand::before { right:-8px; clip-path:polygon(0 0,100% 0,calc(100% - 38px) 100%,0 100%); }
  .site-header .topbar-inner { gap:4px 12px; padding-block:6px; }
  .site-header .topbar-inner > span + span { border-left:0; padding-left:0; }
  .site-header .header-main-row { gap:16px; }
  .site-header .main-nav { font-size:13px; gap:14px; }
  .site-header .header-cta { padding-inline:12px; font-size:12px; }
}
@media (max-width:767px) {
  .site-header { --header-width:calc(100vw - 40px); }
  .site-header .header-inner { display:flex; min-height:78px; gap:16px; }
  .site-header .header-brand-panel { flex:0 0 126px; }
  .site-header .brand { flex:1; }
  .site-header .brand::before { right:0; clip-path:polygon(0 0,100% 0,calc(100% - 30px) 100%,0 100%); }
  .site-header .header-brand-panel::before, .site-header .header-description, .site-header .header-contact { display:none; }
  .site-header .logo-crop { width:90px; height:30px; }
  .site-header .logo-crop img { width:90px; height:67.5px; top:-18.9px; }
  .site-header .header-right { flex:1; }
  .site-header .topbar { font-size:10px; }
  .site-header .topbar-inner { min-height:28px; padding:4px 0; border-bottom:1px solid #e2e5e6; gap:0; justify-content:flex-end; }
  .site-header .topbar-inner > span:first-child { display:none; }
  .site-header .topbar-inner > span + span { padding-left:0; border-left:0; gap:5px; }
  .site-header .topbar .icon { width:14px; height:14px; }
  .site-header .header-main-row { min-height:50px; gap:8px; justify-content:flex-end; }
  .site-header .header-cta { display:inline-flex; min-height:36px; margin-left:0; padding:8px 12px; font-size:12px; }
  .site-header .menu-toggle { margin-left:0; min-width:40px; min-height:40px; padding:8px; }
  .site-header .main-nav { gap:0; }
  .site-header .main-nav > a { padding-block:14px; }
  .site-header .nav-dropdown { padding-block:0; }
  .site-header .nav-dropdown > a.nav-current { position:relative; }
  .site-header .nav-current::after { bottom:8px; height:3px; }
}
@media (max-width:479px) {
  .site-header .header-inner { gap:8px; }
  .site-header .header-brand-panel { flex-basis:100px; }
  .site-header .logo-crop { width:76px; height:26px; }
  .site-header .logo-crop img { width:76px; height:57px; top:-15.96px; }
  .site-header .brand::before { right:-2px; clip-path:polygon(0 0,100% 0,calc(100% - 22px) 100%,0 100%); }
  .site-header .topbar { font-size:9px; letter-spacing:-.04em; }
  .site-header .topbar .icon { display:none; }
  .site-header .header-cta { padding-inline:10px; font-size:11px; }
}
@media (max-width:359px) {
  .site-header .header-brand-panel { flex-basis:82px; }
  .site-header .logo-crop { width:64px; height:22px; }
  .site-header .logo-crop img { width:64px; height:48px; top:-13.44px; }
  .site-header .header-main-row { gap:2px; }
  .site-header .header-cta { padding-inline:7px; }
}


/* Variant B: gradient footer panel follows the logo container. */
.footer-b { --footer-width:min(var(--content), calc(100vw - 96px)); width:100%; margin:0; padding:0; border:0; border-radius:0; background:var(--paper); box-shadow:none; }
.footer-b .footer-top { display:grid; grid-template-columns:24% 30% minmax(0,1fr); gap:28px; align-items:stretch; padding-bottom:0; }
.footer-b .footer-brand-panel { position:relative; isolation:isolate; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:32px 24px 32px 0; color:white; }
.footer-b .footer-brand-panel::before { content:""; position:absolute; z-index:-1; inset-block:0; left:calc((var(--footer-width) - 100vw) / 2); right:-22px; background:linear-gradient(115deg,#192579 0%,#2030a5 45%,#2e42d3 100%); clip-path:polygon(0 0,100% 0,calc(100% - 58px) 100%,0 100%); pointer-events:none; }
.footer-b .logo-crop { width:158px; height:53px; }
.footer-b .logo-crop img { width:158px; height:118.5px; top:-33.18px; filter:brightness(0) invert(1); }
.footer-b .footer-brand-panel p { margin-top:24px; font-size:15px; line-height:1.5; letter-spacing:-.025em; }
.footer-b .footer-contact { display:flex; flex-direction:column; justify-content:center; gap:22px; width:auto; max-width:none; text-align:left; padding:30px 0 30px 16px; }
.footer-b .footer-contact-row { display:flex; align-items:center; gap:16px; font-size:15px; line-height:1.5; }
.footer-b .footer-contact-row > svg { width:27px; height:27px; flex:0 0 27px; color:#273ee3; }
.footer-b .footer-phone { font-size:23px; font-weight:800; white-space:nowrap; line-height:1.4; letter-spacing:-.04em; }
.footer-b .footer-region { margin-top:4px; color:var(--muted); font-size:14px; }
.footer-b .footer-right { position:relative; isolation:isolate; min-width:0; margin-block:30px; padding-left:28px; border-left:1px solid #d3d4df; display:flex; flex-direction:column; justify-content:center; gap:34px; }
.footer-b .footer-top nav { width:auto; order:initial; display:flex; flex-wrap:wrap; justify-content:space-evenly; gap:12px 18px; font-size:16px; font-weight:800; line-height:1.5; }
.footer-b .footer-top nav a { position:relative; padding-bottom:12px; }
.footer-b .footer-top nav a:hover { color:#1c2fb8; }
.footer-b .footer-benefits { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0; padding:0; list-style:none; }
.footer-b .footer-benefits li { display:flex; align-items:center; gap:10px; padding:12px 10px; border-radius:12px; background:#e6e8f7; font-size:13px; line-height:1.4; }
.footer-b .footer-benefits svg { width:30px; height:30px; flex:0 0 30px; color:#243deb; }
.footer-b .footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px 24px; padding-block:18px; border-top:1px solid #d3d5e0; color:var(--ink); font-size:13px; line-height:1.5; }
.footer-b .footer-bottom > div { display:flex; flex-wrap:wrap; gap:12px 20px; margin:0; }
.footer-b .footer-bottom > div a + a { border-left:1px solid #a5a9c0; padding-left:20px; }
@media(max-width:1200px) {

 .footer-b .footer-top { grid-template-columns:24% 32% minmax(0,1fr); gap:22px; }
 .footer-b .footer-brand-panel p { font-size:13px; }
 .footer-b .footer-phone { font-size:20px; }
 .footer-b .footer-contact-row { gap:12px; font-size:13px; }
 .footer-b .footer-region { font-size:12px; }
 .footer-b .footer-right { padding-left:20px; }
 .footer-b .footer-top nav { font-size:14px; gap:10px 16px; }
 .footer-b .footer-benefits { gap:8px; }
 .footer-b .footer-benefits li { flex-direction:column; align-items:flex-start; padding:10px; font-size:12px; }
}
@media(max-width:960px) {
 .footer-b .footer-top { grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:0 32px; }
 .footer-b .footer-brand-panel { padding-block:30px; }
 .footer-b .footer-right { grid-column:1 / -1; border:0; border-top:1px solid #d3d5e0; padding:26px 0 0; margin:0 0 26px; gap:24px; }
 .footer-b .footer-top nav { justify-content:space-evenly; gap:22px; font-size:15px; }
 .footer-b .footer-benefits li { flex-direction:row; align-items:center; font-size:14px; }
}
@media(max-width:1199px) { .footer-b { --footer-width:calc(100vw - 64px); } }
@media(max-width:767px) { .footer-b { --footer-width:calc(100vw - 40px); } }
@media(max-width:600px) {

 .footer-b .footer-top { grid-template-columns:minmax(0,1fr); gap:0; }
 .footer-b .footer-brand-panel { padding:28px 30px 28px 0; }
 .footer-b .footer-brand-panel::before { right:calc((var(--footer-width) - 100vw) / 2); clip-path:polygon(0 0,100% 0,calc(100% - 45px) 100%,0 100%); }
 .footer-b .footer-brand-panel p { font-size:15px; }
 .footer-b .footer-contact { padding:28px 0; gap:20px; }
 .footer-b .footer-contact-row { font-size:14px; }
 .footer-b .footer-phone { font-size:21px; }
 .footer-b .footer-right { grid-column:auto; }
 .footer-b .footer-top nav { flex-direction:column; align-items:flex-start; gap:12px; }
 .footer-b .footer-benefits { grid-template-columns:minmax(0,1fr); gap:10px; }
 .footer-b .footer-benefits li { gap:16px; padding:14px; }
 .footer-b .footer-benefits br { display:none; }
 .footer-b .footer-bottom { flex-direction:column; align-items:flex-start; font-size:12px; }
 .footer-b .footer-bottom > div { flex-direction:column; gap:10px; }
 .footer-b .footer-bottom > div a + a { border:0; padding:0; }
}
@media(max-width:479px) { .footer-b { --footer-width:calc(100vw - 36px); } }
@media(max-width:359px) { .footer-b { --footer-width:calc(100vw - 32px); } }
/* Cookie notice spans the viewport; its content follows the page container. */
.cookie-note {
  position:fixed;
  inset:auto 0 0;
  z-index:50;
  display:block;
  width:100%;
  margin:0;
  padding:0;
  border-top:1px solid #d5d7e5;
  background:var(--paper);
  box-shadow:0 -3px 14px rgb(25 42 50 / 6%);
  color:var(--body);
}
.cookie-note-inner { display:flex; align-items:center; justify-content:space-between; gap:22px; padding-block:14px; padding-bottom:calc(14px + env(safe-area-inset-bottom, 0px)); }
.cookie-note-inner p { min-width:0; }
.cookie-note button { flex-shrink:0; }
@media (max-width:600px) {
 .cookie-note-inner { align-items:center; gap:14px; padding-top:12px; padding-bottom:calc(12px + env(safe-area-inset-bottom, 0px)); }
 .cookie-note-inner p { font-size:12px; line-height:1.5; }
}

/* B-04: extend the logo gradient to the bottom of the entire footer. */
@media (min-width:961px) {
  .footer-b { position:relative; isolation:isolate; }
  .footer-b .footer-brand-panel { position:static; isolation:auto; }
  .footer-b .footer-brand-panel::before {
    inset-block:0;
    left:0;
    right:auto;
    width:calc((100% - var(--footer-width)) / 2 + var(--footer-width) * .24 + 22px);
  }
}

/* B-05: logo column spans both rows, centered across the full footer height. */
.footer-b .footer-bottom { width:100%; margin:0; grid-column:1 / -1; }
@media (min-width:961px) {
  .footer-b .footer-top { row-gap:0; }
  .footer-b .footer-brand-panel { grid-column:1; grid-row:1 / 3; justify-content:center; }
  .footer-b .footer-contact { grid-column:2; grid-row:1; }
  .footer-b .footer-right { grid-column:3; grid-row:1; }
  .footer-b .footer-bottom { grid-column:2 / -1; grid-row:2; }
}

/* B-06: match header width and gutters to the shared page container. */
@media (max-width:1199px) and (min-width:768px) {
  .site-header { --header-width:calc(100vw - 64px); }
}
@media (max-width:479px) {
  .site-header { --header-width:calc(100vw - 36px); }
}
@media (max-width:359px) {
  .site-header { --header-width:calc(100vw - 32px); }
}

/* B-07: header typography and spacing. */
.site-header .topbar-inner { justify-content:space-between; }
.site-header .topbar-inner > span + span { border-left:0; padding-left:0; }
.site-header .main-nav { justify-content:space-evenly; }
@media (min-width:1200px) {
  .site-header .topbar { font-size:14px; }
  .site-header .main-nav { font-size:16px; gap:12px; }
  .site-header .header-main-row { gap:14px; }
}
@media (max-width:767px) {
  .site-header .topbar-inner { justify-content:flex-end; }
  .site-header .main-nav { justify-content:flex-start; }
}

/* B-08: shield above the centered service label. */
@media (min-width:1200px) {
  .site-header .header-description {
    flex:1;
    min-width:0;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px 26px 12px 12px;
    text-align:center;
    font-size:14px;
    line-height:1.4;
    letter-spacing:-.025em;
  }
  .site-header .header-description .icon { width:30px; height:34px; }
  .site-header .header-description > span { white-space:nowrap; }
}

/* B-09: more space between the service label and the light diagonal edge. */
@media (min-width:1200px) {
  .site-header .header-brand-panel::before { right:-30px; }
}

/* B-10: desktop spacing and service label centered inside the light band. */
@media (min-width:1200px) {
  .site-header .header-inner { gap:35px; }
  .site-header .header-description {
    padding:12px 0;
    transform:translateX(5px);
  }
}

/* B-11: centered benefits without separators. */
.benefits-inline .benefit {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0;
  padding:0 16px;
  border:0;
  text-align:center;
}
.benefits-inline .benefit > .icon { margin:0 auto 14px; }
@media (max-width:479px) {
  .benefits-inline { gap:28px; padding-block:28px; }
}

/* B-12: compact gradient callback section with a stacked form card. */
.callback-band { padding-block:40px; background:linear-gradient(115deg,#192579 0%,#2030a5 45%,#2e42d3 100%); }
.callback-band .callback-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:72px; align-items:center; }
.callback-band .callback-copy h2 { font-size:50px; line-height:1.2; }
.callback-band .callback-copy > p { margin-top:24px; font-size:17px; line-height:1.6; }
.callback-band .request-form { width:100%; max-width:560px; justify-self:end; padding:28px; border:1px solid #ffffff99; border-radius:20px; background:#ffffff; color:var(--ink); box-shadow:0 12px 28px #0f164833; }
.callback-band .form-fields { grid-template-columns:minmax(0,1fr); gap:14px; }
.callback-band .callback-field { position:relative; display:block; }
.callback-band .callback-field::after { content:""; position:absolute; top:14px; bottom:14px; left:58px; width:1px; background:#b6bbdf; pointer-events:none; }
.callback-band .callback-field-icon { position:absolute; left:17px; top:50%; transform:translateY(-50%); width:26px; height:26px; color:#273abd; pointer-events:none; }
.callback-band .request-form input:not([type=checkbox]) { min-height:54px; border:1px solid #c1c5e3; border-radius:12px; background:#f2f3fc; font-size:16px; padding:12px 16px; }
.callback-band .request-form .callback-field > input { padding-left:76px; }
.callback-band .request-form input::placeholder { color:#5e6385; opacity:1; }
.callback-band .request-form input:focus { outline:2px solid #273abd; outline-offset:2px; }
.callback-band .form-action { display:flex; flex-direction:column; align-items:stretch; gap:16px; margin-top:14px; }
.callback-band .request-form .captcha-field { display:flex; align-items:center; justify-content:space-between; width:100%; gap:16px; flex:0 0 auto; }
.callback-band .request-form .captcha-field > span { flex:1; max-width:none; margin:0; font-size:16px; font-weight:700; line-height:1.4; }
.callback-band .request-form .captcha-field > input { width:38%; max-width:170px; min-height:48px; }
.callback-band .form-action > .button { width:100%; flex:0 0 auto; min-height:52px; padding:12px 18px; border:1px solid #3b4ed8; border-radius:12px; color:white; background:linear-gradient(180deg,#2d41cf,#1c2da6); font-size:18px; font-weight:750; }
.callback-band .form-action > .button:hover { background:linear-gradient(180deg,#2538bd,#182790); }
.callback-band .request-form .consent { gap:12px; margin-top:17px; }
.callback-band .request-form .consent > span { color:#43475f; font-size:12px; line-height:1.5; }
.callback-band .consent a { color:#1e2fa7; }
.callback-band .consent input { width:19px; height:19px; margin-top:2px; accent-color:#2436b8; }
.callback-band .form-status { color:#1f2d91; }
@media(max-width:1199px) { .callback-band .callback-grid { gap:40px; } .callback-band .callback-copy h2 { font-size:34px; } .callback-band .request-form { padding:24px; } }
@media(max-width:959px) {
 .callback-band .callback-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
 .callback-band .request-form { justify-self:start; max-width:600px; }
 .callback-band .callback-copy > p { margin-top:16px; max-width:600px; }
}
@media(max-width:479px) {
 .callback-band { padding-block:28px; }
 .callback-band .callback-copy h2 { font-size:30px; }
 .callback-band .callback-copy > p { font-size:15px; }
 .callback-band .request-form { padding:20px 16px; border-radius:16px; }
 .callback-band .request-form .captcha-field { gap:12px; }
 .callback-band .request-form .captcha-field > span { font-size:14px; }
 .callback-band .request-form .captcha-field > input { width:88px; }
 .callback-band .form-action > .button { font-size:16px; }
}

/* B-15: remove the header bottom border. */
.site-header { border-bottom:0; }

/* B-16: desktop submenu text and benefits border. */
@media (min-width:1200px) {
  .submenu a { font-size:16px; }
  .benefit-strip { border-bottom:0; }
}

/* B-17: white service-area section with rose table headers. */
.regions-section { background:#ffffff; }
.regions-section .region-heading { max-width: none; margin-bottom:28px; }
.regions-section .region-heading h2 { font-size:40px; line-height:1.15; font-weight:800; letter-spacing:-.04em; }
.regions-section .region-heading p { max-width:900px; margin-top:16px; font-size:17px; line-height:1.5; }
.regions-section .region-tabs { gap:10px; padding-bottom:18px; border-color:#dedfe2; }
.regions-section .region-tab { min-height:44px; padding:9px 20px; border:1px solid #d5d8de; border-radius:10px; background:#ffffff; color:var(--ink); font-size:16px; font-weight:750; }
.regions-section .region-tab:hover { border-color:#2438c5; color:#2030a5; background:#f2f3fc; }
.regions-section .region-tab.is-active { border-color:#1c31c7; color:#ffffff; background: linear-gradient(115deg, #192579 0%, #2030a5 45%, #2e42d3 100%); }
.regions-section .region-panel { padding-top:16px; }
.regions-section .locality-list { gap:4px 24px; }
.regions-section .locality { min-height:32px; padding-block:3px; color:var(--ink); font-size:16px; line-height:1.5; }
.regions-section .travel-prices { margin-top:20px; }
.regions-section .travel-block { padding-top:18px; border-top:1px solid #d9dce1; }
.regions-section .travel-block + .travel-block { margin-top:18px; }
.regions-section .travel-block h3 { margin-bottom:16px; font-size:30px; font-weight:800; line-height:1.25; }
.regions-section .travel-table-wrap { border:1px solid #dbdde6; border-radius:12px; background:#ffffff; box-shadow:0 6px 12px rgb(22 23 30 / 10%); }
.regions-section .travel-table th { padding:12px 24px; border-bottom:1px solid #dddee7; background:#ebedf8; font-size:16px; font-weight:650; }
.regions-section .travel-table td { padding:10px 24px; background:#ffffff; color:var(--ink); font-size:22px; font-weight:800; }
.regions-section .travel-table th + th, .regions-section .travel-table td + td { border-left-color:#dbdde6; }
.regions-section .travel-table td:last-child { color: var(--price-accent); }
.regions-section .travel-note { margin-top:10px; color:var(--body); font-size:15px; line-height:1.5; }
@media(max-width:1199px) {
 .regions-section .region-heading h2 { font-size:36px; }
 .regions-section .region-tab { padding-inline:16px; }
 .regions-section .travel-table th { padding:12px 16px; font-size:14px; }
 .regions-section .travel-table td { padding:12px 16px; font-size:20px; }
}
@media(max-width:767px) {
 .regions-section .region-heading h2 { font-size:30px; }
 .regions-section .region-heading p { font-size:16px; }
 .regions-section .region-tabs { gap:8px; }
 .regions-section .region-tab { padding:9px 14px; font-size:14px; }
 .regions-section .locality-list { gap:6px 20px; }
 .regions-section .locality { font-size:15px; }
 .regions-section .travel-block h3 { font-size:25px; }
 .regions-section .travel-table td { padding:14px 16px; font-size:19px; }
 .regions-section .travel-table td + td { border-left:0; }
 .regions-section .travel-table td::before { font-weight:500; }
 .regions-section .travel-note { font-size:14px; }
}
@media(max-width:479px) {
 .regions-section .region-heading h2 { font-size:28px; }
 .regions-section .travel-block h3 { font-size:23px; }
 .regions-section .travel-table td { grid-template-columns:minmax(0,1.5fr) minmax(80px,1fr); gap:12px; font-size:18px; }
}

/* B-18: paper-colored table headers and a decorative vector map. */
.regions-section .travel-table th { background:var(--paper); }
.regions-section > .container { position:relative; isolation:isolate; }
.regions-section > .container::before {
  content:"";
  position:absolute;
  z-index:-1;
  top:-74px;
  right:-170px;
  width:840px;
  height:900px;
  background:url('../images/moscow-oblast.svg') center / contain no-repeat;
  filter:hue-rotate(-16deg) saturate(.85);
  opacity:.13;
  pointer-events:none;
}
@media (min-width:1200px) {
  .regions-section .region-heading { max-width: none; }
}
@media (max-width:1199px) {
  .regions-section > .container::before { display:none; }
}

/* Keep the oversized decorative map from causing horizontal scrolling. */
.regions-section { overflow-x:clip; }

/* B-22: service cards with diagonal gradient panels and existing SVG icons. */
.services .service-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.services .service-card {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  min-height:250px;
  padding:136px 24px 26px;
  border:1px solid #d5d7e2;
  border-radius:12px;
  background:#ffffff;
  box-shadow:0 3px 8px rgb(20 22 35 / 8%);
  transition:border-color .18s, box-shadow .18s;
}
.services .service-card::before {
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  left:0;
  width:100%;
  height:120px;
  background:linear-gradient(115deg,#192579 0%,#2030a5 45%,#2e42d3 100%);
  clip-path:polygon(0 0,100% 0,100% 80%,0 100%);
  pointer-events:none;
}
.services .service-card > .service-icon {
  z-index:0;
  top:20px;
  left:50%;
  width:66px;
  height:66px;
  max-width:none;
  margin:0;
  opacity:1;
  transform:translateX(-50%);
  filter:brightness(0) invert(1);
}
.services .service-card > span { font-size:20px; line-height:1.35; font-weight:800; letter-spacing:-.03em; }
.services .service-card > small { margin-top:10px; padding-right:28px; color:var(--body); font-size:14px; line-height:1.5; }
.services .service-card .card-arrow {
  top:auto;
  right:18px;
  bottom:18px;
  width:28px;
  height:28px;
  padding:4px;
  border:1.5px solid #2335b4;
  border-radius:50%;
  color:#2335b4;
  transform:none;
}
.services .service-card:hover { border-color:#4b59ba; box-shadow:0 6px 16px rgb(24 33 96 / 14%); }
@media(max-width:1199px) {
 .services .service-grid { gap:18px; }
 .services .service-card { padding-inline:18px; }
 .services .service-card > span { font-size:18px; }
}
@media(max-width:959px) { .services .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; } }
@media(max-width:479px) {
 .services .service-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
 .services .service-card { min-height:142px; justify-content:center; padding:22px 48px 22px 112px; }
 .services .service-card::before { width:98px; height:100%; clip-path:polygon(0 0,100% 0,calc(100% - 22px) 100%,0 100%); }
 .services .service-card > .service-icon { top:50%; left:18px; width:48px; height:48px; transform:translateY(-50%); }
 .services .service-card > span { font-size:18px; }
 .services .service-card > small { margin-top:8px; padding-right:0; font-size:13px; }
 .services .service-card .card-arrow { right:12px; bottom:14px; width:25px; height:25px; }
}

/* B-27: door type icon sizes and list spacing. */
.door-types .icon { width:40px; height:40px; }
.door-types ul { gap:5px; }

/* B-29: white footer benefit cards and accent-colored icons. */
.footer-b .footer-benefits li {
  background:#ffffff;
  box-shadow:0 3px 8px rgb(20 22 35 / 8%);
}
.footer-b .footer-benefits svg,
.footer-b .footer-contact-row > svg { color:var(--accent); }

/* B-30: tablet header keeps desktop typography and the phone contact. */
@media (min-width:768px) and (max-width:1199px) {
  .site-header .header-description,
  .site-header .header-brand-panel::before { display:none; }
  .site-header .topbar { font-size:14px; }
  .site-header .topbar-inner { min-height:48px; gap:8px 18px; padding-block:9px; justify-content:space-between; flex-wrap:wrap; }
  .site-header .topbar-inner > span { gap:10px; }
  .site-header .topbar-inner > span + span { border-left:0; padding-left:0; }
  .site-header .topbar .icon { width:21px; height:21px; }
  .site-header .header-main-row {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:8px 14px;
    padding-block:12px;
  }
  .site-header .header-contact { display:flex; grid-column:1; grid-row:1; margin-left:0; padding-left:36px; border-left:0; }
  .site-header .header-phone { font-size:19px; }
  .site-header .header-phone .icon { left:0; top:4px; width:24px; height:24px; }
  .site-header .header-contact > span { font-size:12px; }
  .site-header .header-cta { grid-column:2; grid-row:1; min-height:48px; padding:12px 18px; font-size:14px; }
  .site-header .main-nav { grid-column:1 / -1; grid-row:2; min-width:0; font-size:16px; gap:12px; justify-content:space-evenly; }
  .site-header .main-nav > a,
  .site-header .nav-dropdown { padding-block:14px; }
  .site-header .nav-current::after { bottom:5px; }
}

/* B-31: use the two-row header layout only below 960px. */
@media (min-width:960px) and (max-width:1199px) {
  .site-header .header-main-row { display:flex; gap:14px; }
  .site-header .header-contact { margin-left:auto; }
  .site-header .main-nav { flex:1; }
}

/* B-32: hide the top information row while scrolling. */
.site-header .topbar {
  max-height:var(--topbar-height, 140px);
  overflow:hidden;
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  transition:max-height .32s ease, opacity .24s ease, transform .32s ease, visibility 0s;
}
.site-header.is-scrolled .topbar {
  max-height:0;
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:max-height .32s ease, opacity .24s ease, transform .32s ease, visibility 0s .32s;
}
/* (27.11) высота шапки при прокрутке больше не меняется — см. sticky.css */
@media (prefers-reduced-motion:reduce) {
  .site-header .topbar, .site-header.is-scrolled .topbar { transition:none; transform:none; }
}

/* B-34: readable mobile header with address and phone retained. */
@media (max-width:767px) {
  .site-header .topbar { font-size:12px; letter-spacing:normal; }
  .site-header .topbar-inner { justify-content:space-between; flex-wrap:wrap; gap:5px 14px; padding-block:7px; }
  .site-header .topbar-inner > span:first-child { display:flex; }
  .site-header .topbar-inner > span { white-space:normal; align-items:flex-start; gap:6px; line-height:1.45; }
  .site-header .topbar .icon { flex-shrink:0; margin-top:2px; }
  .site-header .header-main-row { flex-wrap:wrap; justify-content:space-between; gap:8px; padding-block:8px; }
  .site-header .header-contact { display:flex; margin-left:0; padding-left:24px; border-left:0; }
  .site-header .header-phone { font-size:16px; white-space:nowrap; line-height:1.4; }
  .site-header .header-phone .icon { left:0; top:3px; width:18px; height:18px; }
  .site-header .header-contact > span { font-size:11px; line-height:1.4; }
  .site-header .header-cta { font-size:14px; min-height:40px; padding:9px 10px; }
  .site-header .menu-toggle { flex-shrink:0; }
}
@media (max-width:600px) {
  .site-header .header-contact { flex-basis:100%; }
  .site-header .header-cta { flex:1 1 auto; }
}

/* B-35: mobile CTA right alignment and single-row topbar. */
@media (max-width:767px) {
  .site-header .header-cta { margin-left:auto; flex:0 0 auto; }
  .site-header .topbar-inner { flex-wrap:nowrap; }
  .site-header .topbar-inner > span { min-width:0; }
}

/* B-36: phone and menu share one row on small screens. */
@media (max-width:600px) {
  .site-header .header-cta { display:none; }
  .site-header .header-main-row { flex-wrap:nowrap; }
  .site-header .header-contact { flex:1 1 auto; min-width:0; }
  .site-header .menu-toggle { flex:0 0 40px; margin-left:auto; }
}

/* B-37: rectangular mobile footer gradient and horizontal brand content. */
@media (max-width:600px) {
  .footer-b .footer-brand-panel::before { clip-path:none; }
  .footer-b .footer-brand-panel { flex-direction:row; align-items:center; justify-content:flex-start; gap:20px; padding:24px 0; }
  .footer-b .footer-brand-panel p { min-width:0; margin-top:0; font-size:13px; line-height:1.5; }
  .footer-b .footer-brand-panel .logo-crop { width:112px; height:38px; }
  .footer-b .footer-brand-panel .logo-crop img { width:112px; height:84px; top:-23.52px; }
}
@media (max-width:359px) {
  .footer-b .footer-brand-panel { gap:14px; }
  .footer-b .footer-brand-panel .logo-crop { width:90px; height:30px; }
  .footer-b .footer-brand-panel .logo-crop img { width:90px; height:67.5px; top:-18.9px; }
  .footer-b .footer-brand-panel p { font-size:12px; }
}

/* B-38: final section retains desktop background colors on mobile. */
@media (max-width:767px) {
  .final-section { background:var(--white); }
  .final-section .final-form { background:var(--paper); }
}

/* B-39: centered mobile footer content. */
@media (max-width:600px) {
  .footer-b .footer-top nav { align-items:center; justify-content:center; text-align:center; }
  .footer-b .footer-benefits li { justify-content:center; text-align:center; }
  .footer-b .footer-bottom { align-items:center; justify-content:center; text-align:center; }
  .footer-b .footer-bottom > div { align-items:center; justify-content:center; }
  .footer-b .footer-brand-panel { justify-content:space-evenly; }
}

/* B-40: center footer contacts on mobile. */
@media (max-width:600px) {
  .footer-b .footer-contact { align-items:center; text-align:center; }
  .footer-b .footer-contact-row { justify-content:center; }
}

/* B-42: footer column spacing and benefit alignment. */
@media (min-width:961px) {
  .footer-b .footer-top { column-gap:20px; }
}
.footer-b .footer-benefits li { justify-content:center; }
@media (max-width:1200px) {
  .footer-b .footer-benefits li { align-items:center; text-align:center; }
}

/* B-43: desktop footer contact spacing and navigation padding. */
@media (min-width:961px) {
  .footer-b .footer-contact { gap:18px; }
  .footer-b .footer-top nav a { padding-bottom:0; }
}

/* B-44: highlighted region panels with decorative location markers. */
.regions-section .region-tabs { border-bottom:0; padding-bottom:0; }
.regions-section .region-panel {
  margin-top:20px;
  padding:20px 24px;
  border:1px solid #babfe4;
  border-radius:12px;
  background:var(--paper);
  box-shadow:0 4px 10px rgb(20 22 35 / 8%);
}
.regions-section .region-panel .locality-list { gap:8px 18px; }
.regions-section .region-panel .locality {
  display:grid;
  grid-template-columns:14px minmax(0,1fr);
  justify-content:normal;
  align-items:start;
  gap:10px;
  min-height:30px;
  padding-block:3px;
  color:var(--ink);
  font-size:16px;
  line-height:1.5;
}
.regions-section .region-panel .locality::before {
  content:"";
  width:14px;
  height:16px;
  margin:4px 0 0;
  border:0;
  border-radius:0;
  transform:none;
  background:url("../images/location-blue.svg") center / contain no-repeat;
}
@media (max-width:1199px) {
  .regions-section .region-panel { padding:18px 20px; }
}
@media (max-width:767px) {
  .regions-section .region-panel { padding:16px; margin-top:16px; }
  .regions-section .region-panel .locality-list { gap:8px 16px; }
  .regions-section .region-panel .locality { font-size:15px; gap:8px; }
}

/* B-48: full-color transparent emblem, uncropped and undistorted. */
.site-header .brand .logo-crop { width:112px; height:96px; overflow:visible; }
.site-header .brand .logo-crop img,
.footer-b .footer-brand-panel .logo-crop img {
  position:static;
  inset:auto;
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:contain;
  filter:none;
}
.footer-b .footer-brand-panel .logo-crop { width:128px; height:110px; overflow:visible; }
@media(max-width:1199px) and (min-width:960px) {
 .site-header .brand .logo-crop { width:100px; height:86px; }
}
@media(max-width:959px) and (min-width:768px) {
 .site-header .brand .logo-crop { width:88px; height:76px; }
}
@media(max-width:767px) {
 .site-header .brand .logo-crop { width:80px; height:69px; }
}
@media(max-width:600px) {
 .footer-b .footer-brand-panel .logo-crop { width:108px; height:93px; }
}
@media(max-width:479px) {
 .site-header .brand .logo-crop { width:70px; height:60px; }
}
@media(max-width:359px) {
 .site-header .brand .logo-crop { width:58px; height:50px; }
 .footer-b .footer-brand-panel .logo-crop { width:90px; height:78px; }
}

/* B-49: wrapping mobile topbar with visible icons. */
@media (max-width:479px) {
  .site-header .topbar-inner { flex-wrap:wrap; }
  .site-header .topbar .icon { display:block; }
}

/* B-50: remove section dividers and adjust desktop travel spacing. */
.travel-block,
.regions-section .travel-block,
.tag-cloud-group,
.service-detail > .container,
.professional-section > .container { border-top:0; }
@media (min-width:1200px) {
  .regions-section .travel-block { padding-top:30px; }
}

/* B-51: hero action button font size. */
.hero .hero-actions .button { font-size:16px; }

/* B-52: center hero button text on small screens. */
@media (max-width:479px) {
  .hero .hero-actions .button { justify-content:center; text-align:center; }
}

/* B-54: vertically center service card arrows on small screens. */
@media (max-width:479px) {
  .services .service-card .icon.card-arrow { top:50%; bottom:auto; left:auto; right:12px; transform:translateY(-50%); }
}

/* Shared request dialog: fields from the homepage, action and consent from the service page. */
#request-dialog .wpcf7-form {
  grid-template-columns: minmax(0, 1fr);
}
#request-dialog .form__label-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
#request-dialog .wpcf7-form input[type="submit"] {
  width: 100%;
  min-height: 48px;
  border-radius: 5px;
}
#request-dialog .wpcf7-form .consent {
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}
#request-dialog .wpcf7-form .consent > input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  padding: 0;
}
#request-dialog .wpcf7-form .consent > span {
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
}

:root{--accent:#121a89;--accent-dark:#0b115d;--ink:#192343;--body:#45516a;--paper:#f3f5fb;--price-accent:#182391}
.site-header .header-brand-panel,.footer-b .footer-brand-panel{background:linear-gradient(110deg,#fff 65%,#f2f4fb)}
.site-header .brand .logo-crop,.footer-b .brand .logo-crop{display:flex;align-items:center;width:clamp(132px,13vw,185px);height:auto;overflow:visible}
.site-header .brand .logo-crop img,.footer-b .brand .logo-crop img{position:static;width:100%;max-width:100%;height:auto;inset:auto;transform:none;mix-blend-mode:multiply;object-fit:contain}
.hero{background:linear-gradient(110deg,#f4f6fb 0%,#fff 54%,#e9edf8 100%)}
.hero::before,.hero::after{display:none}.hero .hero-inner{position:relative;isolation:isolate}
.hero-copy{position:relative}.hero-description{max-width:430px}.hero .hero-prices{background:rgba(255,255,255,.98)}
.more-prices{margin-top:12px}.more-prices summary{cursor:pointer;color:var(--accent);font-weight:700}.more-prices[open] summary{margin-bottom:10px}
.benefit-strip .benefit img{object-fit:contain}.service-links{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.service-links a{padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;border-block:1px solid #cad1e3;color:var(--ink);font-size:clamp(18px,1.7vw,24px);font-weight:700}.service-links a:after{content:'↗';color:var(--accent)}.service-links a:hover{color:var(--accent)}.category-card .category-image img{object-fit:contain;background:white}
.original-shots{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-self:center;gap:8px}.original-shots img{width:100%;height:auto;aspect-ratio:449/750;object-fit:cover;border-radius:6px}
.regions-section .locality-list li:before{background:var(--accent);mask:none;width:6px;height:6px;border-radius:50%}
.reviews-section{background:#f3f5fa}.reviews-slider{position:relative}.reviews-heading{padding-right:100px;margin-bottom:28px}.review-controls{position:absolute;right:0;bottom:calc(100% + 24px)}.review-buttons{display:flex;gap:8px}.review-buttons button{width:42px;height:42px;border:1px solid #c9d0e1;background:white;border-radius:50%;cursor:pointer;color:var(--accent)}.review-buttons button:disabled{opacity:.4}.review-buttons svg{width:18px;height:18px}.review-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:20px;touch-action:pan-y pinch-zoom}.review-card{flex:0 0 calc((100% - 40px)/3);min-width:0;scroll-snap-align:start;padding:26px;border:1px solid #d9deea;border-radius:10px;background:#fff}.review-card-header,.review-author{display:flex;align-items:center;gap:12px}.review-card-header{flex-wrap:wrap;justify-content:space-between;margin-bottom:16px}.initials{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:#edf0fb;color:var(--accent);font-weight:750}.review-author h3{font-size:18px}.review-stars{color:#182391;letter-spacing:1px}.review-dots{display:flex;justify-content:center;gap:7px;margin-top:20px}.review-dots button{border:0;background:#c2c9da;border-radius:50%;width:10px;height:10px;padding:0;cursor:pointer}.review-dots button[aria-pressed=true]{background:var(--accent)}
.footer-benefits li img{width:28px;height:28px;object-fit:contain}.footer-b .footer-brand-panel p{color:var(--ink)}
.wpcf7{min-width:0}.wpcf7 form{position:relative;display:grid;gap:12px}.wpcf7 form p{margin:0}.wpcf7 form input:not([type=hidden]):not([type=submit]){width:100%;max-width:100%;padding:13px 15px;background:white;color:var(--ink);border:1px solid #bcc5d8;border-radius:7px;font:inherit}.wpcf7 form input[type=submit]{cursor:pointer;border:0;border-radius:7px;padding:14px 24px;background:var(--accent);color:white;font:inherit;font-weight:700}.wpcf7 form input[type=submit]:hover{background:var(--accent-dark)}.wpcf7 form .row{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px}.wpcf7 form .row>*,.wpcf7-form-control-wrap{min-width:0}.wpcf7 form .form__subtitle,.wpcf7 form .form__agreement{font-size:13px}.wpcf7 form .form__label-captcha{display:block}.wpcf7 form input[type=number]{margin-top:4px}.wpcf7 .screen-reader-response{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}#request-dialog{max-height:90dvh;overflow:auto}
@media(max-width:959px){.review-card{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:650px){.service-links,.wpcf7 form .row{grid-template-columns:1fr}.service-links{gap:0}.service-links a+a{border-top:0}.original-shots{gap:5px}.review-card{flex-basis:100%}.reviews-heading{padding:0}.review-controls{display:none}.hero .hero-inner:before{display:none}.hero h1{font-size:clamp(38px,10vw,56px)}}
.site-header .brand::before,.footer-b .footer-brand-panel::before{background:linear-gradient(108deg,#e0e5fa,#eef1fc 70%,#f5f7fc)}.site-header .brand .logo-crop img,.footer-b .footer-brand-panel .logo-crop img{filter:none;mix-blend-mode:multiply}
.footer-b .footer-brand-panel .logo-crop{height:auto;width:clamp(115px,13vw,185px)}.footer-b .footer-brand-panel .logo-crop img{height:auto}
.form__agreement{font-size:13px;line-height:1.5;margin-top:12px}.price-table td{color:#162389}
@media(max-width:959px){.hero .hero-inner:before{display:none}}
@media(min-width:768px) and (max-width:959px){.site-header .header-main-row{display:flex;justify-content:space-between;position:static}.site-header .menu-toggle{display:grid;place-items:center;width:44px;height:44px}.site-header .main-nav{display:none;position:absolute;inset:100% 0 auto;padding:16px 24px;background:white;border-bottom:1px solid var(--line);box-shadow:0 12px 20px #18224214}.site-header .main-nav.is-open{display:flex;align-items:stretch;flex-direction:column}.site-header .nav-dropdown{display:flex;flex-wrap:wrap;align-items:center}.site-header .dropdown-toggle{display:inline-flex}.site-header .submenu{position:static;width:100%}.site-header .submenu[hidden]{display:none}}
/* Header layout based on the supplied Mul-T-Lock reference. */
.site-header.header-reference {
  --header-red: #000a7e;
  --header-logo-width: clamp(180px, 16.3vw, 235px);
  background: linear-gradient(100deg, #edf1f8 0%, #f2f5fa 45%, #fff 100%);
  box-shadow: none;
  color: #14203d;
}
.header-reference .topbar {
  background: linear-gradient(100deg, #070d70, #000a7e);
  color: #fff;
  font-size: 14px;
}
.header-reference .topbar .topbar-inner {
  width: var(--header-width);
  min-height: 43px;
  justify-content: space-between;
  border: 0;
}
.header-reference .topbar .topbar-inner > span + span { border: 0; padding-left: 0; }
.header-reference .topbar .icon { width: 20px; height: 20px; color: currentColor; }
.header-reference.site-header .header-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: clamp(28px, 3vw, 43px);
  min-height: 0;
}
.header-reference .header-inner .header-brand-panel {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 12px;
  background: none;
}
.header-reference .header-brand-panel::before {
  display: block;
  right: -54px;
  background: linear-gradient(125deg, #e9eef9 calc(100% - 140px), #e0e7f6 calc(100% - 140px), #e0e7f6 calc(100% - 117px), #d5dff5 calc(100% - 117px));
  clip-path: polygon(0 0, 100% 0, calc(100% - 68px) 100%, 0 100%);
}
.header-reference .header-brand-panel .brand { flex: 0 0 auto; align-self: flex-start; isolation: auto; }
.header-reference .header-brand-panel .brand::before { display: none; }
.header-reference .brand .logo-crop { width: var(--header-logo-width); }
.header-reference .header-brand-panel .header-description {
  display: block;
  margin-top: -4px;
  padding: 0 0 0 calc(var(--header-logo-width) * .21);
  color: #000a7e;
  font-size: clamp(10px, .9vw, 13px);
  letter-spacing: normal;
  white-space: nowrap;
}
.header-reference .header-inner .header-main-row {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 112px;
  justify-content: space-between;
  gap: clamp(12px, 1.5vw, 22px);
  padding: 0;
}
.header-reference .header-main-row .main-nav {
  flex: 1 1 auto;
  justify-content: space-evenly;
  gap: clamp(11px, 1.5vw, 22px);
  font-size: clamp(13px, 1.04vw, 15px);
  font-weight: 550;
  letter-spacing: -.02em;
}
.header-reference .main-nav > a,
.header-reference .main-nav .nav-dropdown { padding-block: 20px; }
.header-reference .main-nav .nav-current { color: #000a7e; font-weight: 800; }
.header-reference .main-nav .nav-current::after {
  bottom: 10px;
  height: 3px;
  border-radius: 0;
  background: #000a7e;
}
.header-reference .header-main-row .header-contact {
  display: flex;
  flex: 0 0 auto;
  margin: 0;
  margin-inline-start: auto;
  align-items: flex-end;
  text-align: right;
  padding: 0;
  border: 0;
}
.header-reference .header-main-row .header-phone {
  gap: 8px;
  color: #14203d;
  font-size: clamp(15px, 1.37vw, 20px);
  letter-spacing: -.025em;
}
.header-reference .header-phone .icon {
  position: static;
  width: 21px;
  height: 21px;
  color: #000a7e;
}
.header-reference .header-main-row .header-cta {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 10px clamp(13px, 1.25vw, 18px);
  border-radius: 5px;
  background: #000a7e;
  font-size: clamp(13px, 1.04vw, 15px);
  letter-spacing: normal;
}
.header-reference .header-main-row .header-cta:hover { background: #253ba0; }

@media (min-width: 1200px) {
  .site-header.header-reference { position: relative; top: auto; }
  .header-reference .header-brand-panel .header-description {
    width: calc(var(--header-logo-width) * .75);
    margin-top: -10px;
    margin-left: calc(var(--header-logo-width) * .25);
    padding: 0;
    text-align: center;
    transform: none;
  }
  .header-reference .header-description-last { display: block; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .header-reference.site-header .header-inner { gap: 30px; }
  .header-reference .header-inner .header-main-row { gap: 14px; }
}
@media (max-width: 1199px) {
  .site-header.header-reference { --header-logo-width: clamp(104px, 20vw, 200px); }
  .header-reference.site-header .header-inner { position: static; gap: 12px; }
  .header-reference .header-inner .header-main-row {
    min-height: 68px;
    justify-content: flex-end;
    position: static;
  }
  .header-reference .header-main-row .menu-toggle { display: grid; place-items: center; margin-left: 0; }
  .header-reference .header-main-row .main-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    max-height: min(70dvh, 480px);
    overflow: auto;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e1e6ef;
    box-shadow: 0 8px 16px #14203d14;
    font-size: 15px;
  }
  .header-reference .header-main-row .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .header-reference .main-nav > a,
  .header-reference .main-nav .nav-dropdown { padding-block: 10px; }
  .header-reference .main-nav .nav-current::after { display: none; }
  .header-reference .main-nav .nav-dropdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-block: 0; }
  .header-reference .nav-dropdown > a { flex: 1; padding-block: 10px; }
  .header-reference .nav-dropdown .dropdown-toggle { display: grid; }
  .header-reference .nav-dropdown .submenu { position: static; width: 100%; border: 0; box-shadow: none; }
}
@media (max-width: 767px) {
  .header-reference .topbar { font-size: 12px; }
  .header-reference .topbar .topbar-inner { gap: 4px 12px; }
  .header-reference .topbar .icon { width: 16px; height: 16px; }
  .header-reference .header-brand-panel::before { right: -32px; clip-path: polygon(0 0, 100% 0, calc(100% - 36px) 100%, 0 100%); }
  .header-reference .header-brand-panel .header-description { display: none; }
  .header-reference .header-inner .header-main-row { gap: 5px; }
  .header-reference.site-header .header-inner { gap: 8px; }
  .header-reference .header-brand-panel .brand .logo-crop { width: var(--header-logo-width); }
  .header-reference .header-main-row .header-cta { margin-inline-start: 0; }
  .header-reference .header-main-row .header-phone { gap: 4px; font-size: clamp(12px, 3.3vw, 16px); }
  .header-reference .header-phone .icon { width: 15px; height: 15px; }
}
@media (max-width: 359px) {
  .site-header.header-reference { --header-logo-width: 104px; }
  .header-reference .header-brand-panel .header-description { font-size: 8px; }
}
/* First screen and overlapping price panel. */
.hero.hero-reference { background: #fff; color: #14203d; }
.hero-reference .hero-top {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(120deg, #070d70, #253ba0);
  color: #fff;
}
.hero-reference .hero-top::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(125deg, transparent 68%, #ffffff0d 68% 74%, #ffffff1a 74%);
}
.hero.hero-reference .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(20px, 5vw, 80px);
  padding-block: clamp(34px, 5vw, 72px) clamp(76px, 8vw, 116px);
}
.hero.hero-reference .hero-inner::before { display: none; }
.hero.hero-reference h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.hero.hero-reference .hero-description {
  max-width: 560px;
  margin-top: 18px;
  color: #edf1f8;
  font-size: 18px;
  line-height: 1.55;
}
.hero-reference .hero-actions { margin-top: 24px; }
.hero-reference .hero-actions .button {
  min-height: 48px;
  border-radius: 5px;
  padding-inline: clamp(16px, 2.25vw, 32px);
}
.hero-reference .hero-actions .button-primary {
  border-color: #fff;
  background: #fff;
  color: #000a7e;
}
.hero-reference .hero-actions .button-primary:hover { background: #edf1f8; }
.hero-reference .hero-actions .button-secondary {
  border-color: #a7b5e2;
  background: transparent;
  color: #fff;
}
.hero-reference .hero-actions .button-secondary:hover { background: #ffffff1a; }
/* Both layers follow the lock's position and scale. */
.hero-reference .hero-copy { z-index: 1; }
.hero-reference .hero-visual {
  --hero-lock-x: 44cqw;
  --hero-lock-y: 72cqh;
  --hero-lock-height: min(230cqh, 174cqw);
  position: absolute;
  inset: 0 0 38px auto;
  width: 43%;
  container-type: size;
  pointer-events: none;
}
.hero-reference .hero-visual::before {
  --hero-ring-radius: clamp(230px, 23.3vw, 390px);
  position: absolute;
  left: calc(var(--hero-lock-x) + var(--hero-lock-height) * .072);
  top: calc(var(--hero-lock-y) - var(--hero-lock-height) * .043);
  width: calc(2 * var(--hero-ring-radius) + 4px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  content: "";
  background: radial-gradient(circle var(--hero-ring-radius),
      transparent calc(40% - .65px), #ffffff22 40%, transparent calc(40% + .65px),
      transparent calc(40% + 1px) calc(55% - .65px), #ffffff22 55%, transparent calc(55% + .65px),
      transparent calc(55% + 1px) calc(70% - .65px), #ffffff22 70%, transparent calc(70% + .65px),
      transparent calc(70% + 1px) calc(85% - .65px), #ffffff22 85%, transparent calc(85% + .65px),
      transparent calc(85% + 1px) calc(100% - .65px), #ffffff22 100%, transparent calc(100% + .65px),
      transparent calc(100% + 1px));
}
.hero-reference .hero-visual img {
  position: absolute;
  top: var(--hero-lock-y);
  left: var(--hero-lock-x);
  width: auto;
  max-width: none;
  height: var(--hero-lock-height);
  transform: translate(-50%, -50%) rotate(22deg);
  filter: drop-shadow(8px 10px 14px #070d7059);
}
.hero-reference .hero-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  margin-top: -38px;
  border: 1px solid #d8e0ee;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}
.hero.hero-reference .hero-prices {
  position: relative;
  padding: 20px clamp(16px, 2vw, 28px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  --price-accent: #000a7e;
}
.hero-reference .hero-prices .price-table caption {
  padding: 0 0 8px;
  border: 0;
  color: #14203d;
  font-size: clamp(20px, 2vw, 28px);
}
.hero-reference .hero-prices .price-table caption::before { display: none; }
.hero-reference .hero-prices :is(#service-prices, .more-prices .price-table) { display: block; }
.hero-reference .hero-prices #service-prices caption { display: flex; align-items: center; gap: 10px; }
#service-prices .price-caption-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 5px;
  background: #000a7e;
}
.hero-reference .hero-prices :is(#service-prices, .more-prices .price-table) tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(12px, 2vw, 24px);
}
.hero-reference .hero-prices :is(#service-prices, .more-prices .price-table) tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
}
.hero-reference .hero-prices .price-table tbody th,
.hero-reference .hero-prices .price-table tbody td { padding-block: 8px; font-size: 16px; }
.hero-reference .hero-prices .price-table th { font-weight: 500; }
.hero-reference .hero-prices :is(#service-prices, .more-prices .price-table) td { width: auto; }
.hero-reference .hero-prices .more-prices summary { color: #000a7e; font-size: 14px; }
.hero-reference .benefit-strip {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 20px clamp(16px, 2vw, 28px);
  border: 0;
  background: #edf1f8;
}
.hero-reference .benefits-inline { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; padding: 0; }
.hero-reference .benefit {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  border: 0;
  text-align: left;
}
.hero-reference .benefit::before {
  content: "";
  flex: 0 0 13px;
  height: 8px;
  margin-top: 9px;
  border: solid #000a7e;
  border-width: 0 0 2px 2px;
  transform: translateY(-3px) rotate(-45deg);
}
.hero-reference .benefit > .benefit-icon { display: none; }
.hero-reference .benefit strong { margin: 0; font-weight: 550; }
@media (min-width: 1100px) {
  .hero-reference .hero-prices #service-prices caption { padding-right: 168px; }
  .hero-reference .hero-prices .more-prices summary { position: absolute; top: 24px; right: clamp(16px, 2vw, 28px); }
}
@media (min-width: 960px) {
  .hero-reference .benefit-strip { border-left: 1px solid var(--line); }
  .hero-reference .hero-overview:has(.more-prices[open]) {
    border-color: transparent;
    background: transparent;
    overflow: visible;
  }
  .hero-reference .hero-overview:has(.more-prices[open]) > .hero-prices {
    border-radius: 4px 0 4px 4px;
    overflow: visible;
  }
  .hero-reference .hero-overview:has(.more-prices[open]) > .benefit-strip {
    position: relative;
    align-self: start;
    min-height: var(--closed-prices-height, 0px);
    border-radius: 0 4px 4px 0;
  }
  .hero-reference .hero-overview:has(.more-prices[open]) > :is(.hero-prices, .benefit-strip)::after {
    content: "";
    position: absolute;
    border: 1px solid #d8e0ee;
    pointer-events: none;
  }
  /* The benefits panel covers the price outline along the shared edge. */
  .hero-reference .hero-overview:has(.more-prices[open]) > .hero-prices::after {
    inset: -1px;
    border-radius: 5px 0 5px 5px;
  }
  .hero-reference .hero-overview:has(.more-prices[open]) > .benefit-strip::after {
    inset: -1px -1px -1px 0;
    border-left: 0;
    border-radius: 0 5px 5px 0;
  }
}
@media (max-width: 959px) {
  .hero-reference .hero-overview { grid-template-columns: 1fr; }
  .hero-reference .benefits-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (max-width: 600px) {
  .hero.hero-reference .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero.hero-reference h1 { font-size: clamp(36px, 9vw, 48px); }
  .hero.hero-reference .hero-description { font-size: 16px; }
  .hero-reference .hero-visual { display: none; }
  .hero-reference .benefits-inline,
  .hero-reference .hero-prices :is(#service-prices, .more-prices .price-table) tbody { grid-template-columns: minmax(0, 1fr); }
  .hero-reference .hero-prices .price-table tbody td { font-size: 14px; }
}
@media (max-width: 479px) {
  .hero-reference .hero-overview { width: 100%; }
}
/* Compact catalog cards. */
.catalog-section {
  padding-block: clamp(40px, 5.2vw, 76px);
  background: #fff;
  color: #14203d;
}
.catalog-section .catalog-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: clamp(22px, 3vw, 40px);
}
.catalog-section .catalog-heading h2 {
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.15;
}
.catalog-section .catalog-link {
  min-height: 0;
  margin: 0;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: #000a7e;
}
.catalog-section .catalog-link:hover { color: #253ba0; text-decoration: none; }
.catalog-section .category-grid { gap: 18px; }
.catalog-section .category-card {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.25vw, 18px);
  min-height: 156px;
  padding: 16px 40px 16px 16px;
  border: 1px solid #d4ddef;
  border-radius: 5px;
  background: #ffffffa6;
  color: #14203d;
}
.catalog-section .category-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border: solid #000a7e;
  border-width: 1.5px 1.5px 0 0;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.catalog-section .category-card:hover,
.catalog-section .category-card:focus-visible { border-color: #253ba0; background: #fff; }
.catalog-section .category-image {
  height: clamp(94px, 9vw, 132px);
  margin: 0;
  mix-blend-mode: multiply;
}
.catalog-section .category-image img { display: block; object-fit: contain; }
.catalog-section .category-copy { padding: 0; }
.catalog-section .category-copy strong { font-size: clamp(17px, 1.42vw, 21px); line-height: 1.25; }
.catalog-section .category-copy small { margin-top: 8px; color: #354464; font-size: 14px; line-height: 1.5; }

@media (max-width: 1100px) {
  .catalog-section .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .catalog-section .category-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .catalog-section .category-card {
    grid-template-columns: clamp(72px, 24vw, 120px) minmax(0, 1fr);
    min-height: 122px;
    padding: 12px 40px 12px 12px;
  }
}
/* Callback banner and stacked form. */
#feedback-form-first.callback-band {
  padding-block: 60px;
  background:
    linear-gradient(125deg, transparent 64%, #ffffff20 64%, #ffffff20 64.1%, transparent 64.1% 68%, #ffffff0d 68% 74%, #ffffff1a 74%),
    linear-gradient(120deg, #070d70, #253ba0);
  color: #fff;
}
#feedback-form-first .callback-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px);
}
#feedback-form-first .callback-copy h2 {
  color: #fff;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -.035em;
}
#feedback-form-first .callback-copy > p {
  color: #fff;
  margin-top: clamp(14px, 2vw, 28px);
  font-size: 20px;
  line-height: 1.5;
}
#feedback-form-first .wpcf7 form .row {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.5vw, 22px);
}
#feedback-form-first form input[type="text"],
#feedback-form-first form input[type="tel"],
#feedback-form-first form input[type="submit"] {
  width: 100%;
  border: 1px solid #dbe4f7;
  border-radius: 5px;
  background: #fff;
  font-size: 16px;
}
#feedback-form-first form input[type="submit"] { padding: 10px; color: #000a7e; font-size: 18px; font-weight: 800; }
#feedback-form-first form input[type="submit"]:hover { background: #edf1f8; }
#feedback-form-first form input:focus-visible { outline: 2px solid #c0d0ff; outline-offset: 3px; }
#feedback-form-first form .consent { margin: 0; color: #fff; }
#feedback-form-first form .consent > span { font-size: 14px; line-height: 1.5; }
#feedback-form-first form .consent > input[type="checkbox"] {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: #000a7e;
}
#feedback-form-first form .consent a { color: inherit; }
@media (max-width: 767px) {
  #feedback-form-first .callback-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #feedback-form-first .callback-copy h2 { font-size: 34px; }
}
#about.intro-section .intro-grid h2,
#about.intro-section .prose .sub-title { color: #14203d; }
#about.intro-section .original-shots { grid-template-columns: minmax(0, 1fr); aspect-ratio: 3 / 2; overflow: hidden; }
#about.intro-section .original-shots img { display: block; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; object-fit: cover; }
#reviews .review-buttons button {
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 5px;
}
#reviews .review-buttons svg { display: block; }
/* Professional services and the original pre-footer offer. */
#professional.professional-section {
  padding-block: clamp(40px, 5vw, 72px);
  color: #14203d;
  background: #fff;
}
#professional.professional-section > .container { margin-top: 0; padding-top: 0; }
#professional .professional-intro {
  --professional-gap: clamp(24px, 3vw, 48px);
  grid-template-columns: minmax(0, 1fr) min(480px, calc((100% - var(--professional-gap)) / 2));
  gap: var(--professional-gap);
}
#professional .professional-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.12;
  color: #14203d;
}
#professional .prose .sub-title { color: #14203d; font-size: 16px; line-height: 1.7; }
#professional .prose .sub-title + .sub-title { margin-top: 16px; }
#professional .professional-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
#professional .professional-benefits .info__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 5px;
  background: #edf1f8;
  color: #14203d;
  font-size: 15px;
  line-height: 1.4;
}
#professional .professional-benefits .item__img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  object-fit: contain;
}
#professional .final-form {
  width: 100%;
  max-width: 480px;
  justify-self: end;
  padding: clamp(16px, 2.2vw, 32px);
  border: 1px solid #d4ddef;
  border-radius: 5px;
  background: #fff;
}
#professional .final-form-heading { text-align: center; }
#professional .final-form h3 { color: #000a7e; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.15; }
#professional .offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 8px 14px;
  margin: 20px 0 16px;
  padding: 0;
  border: 0;
}
#professional .offer-price { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding: 8px 10px; }
#professional .offer-price > span { margin: 0; color: #14203d; font-size: 16px; }
#professional .offer-price.old::before { content: ""; order: 1; flex: 1; border-bottom: 1px dotted #a8b4cd; }
#professional .offer-price.old strong { order: 2; text-decoration: none; }
#professional .offer-price.new { justify-content: space-between; }
#professional .offer-price strong { font-size: clamp(16px, 1.45vw, 22px); white-space: nowrap; }
#professional .offer-price.new { border-radius: 5px; background: #edf1f8; }
#professional .offer-price.new span { color: #000a7e; font-weight: 750; }
#professional .offer-price.new strong { color: #000a7e; font-size: 22px; }
#professional .final-form form { grid-template-columns: minmax(0, 1fr); }
#professional .final-form .form__label-captcha {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-weight: 750;
}
#professional .final-form input[type="text"],
#professional .final-form input[type="tel"] { min-height: 48px; border-radius: 5px; }
#professional .final-promo {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 5px;
  background: #edf1f8;
  color: #14203d;
  font-size: 14px;
}
#professional .final-promo .icon { width: 36px; height: 36px; flex: 0 0 auto; color: #000a7e; }
#professional .final-promo strong { color: #000a7e; font-size: 16px; }
#professional .final-form input[type="submit"] {
  width: 100%;
  min-height: 50px;
  border-radius: 5px;
  background: #000a7e;
  color: #fff;
}
#professional .final-form input[type="submit"]:hover { background: #253ba0; }
#professional .final-form .consent { margin: 0; color: #14203d; font-size: 13px; }
#professional .final-form .consent input[type="checkbox"] { width: 18px; height: 18px; padding: 0; accent-color: #000a7e; }
#professional .final-form .consent a { color: #000a7e; }
@media (max-width: 850px) {
  #professional .professional-intro { grid-template-columns: minmax(0, 1fr); }
  #professional .final-form { justify-self: center; }
}
/* Work order. */
.work-order.section { padding-block: clamp(32px, 4vw, 58px); background: #f3f5fa; color: #14203d; }
.work-order h2 { margin-bottom: clamp(24px, 3vw, 38px); font-size: clamp(30px, 3vw, 40px); line-height: 1.15; }
.work-order-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.work-order-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
.work-order-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(64px, 6.2vw, 88px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff;
  color: #000a7e;
}
.work-order-icon svg { display: block; width: 61%; height: 61%; }
.work-order-number {
  position: absolute;
  top: -5px;
  left: -5px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #000a7e;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.work-order-text h3 { margin: 2px 0 6px; font-size: 22px; line-height: 1.2; }
.work-order-text p { margin: 0; font-size: 16px; line-height: 1.5; }
@media (min-width: 1101px) {
  .work-order-step:not(:last-child)::after {
    position: absolute;
    top: min(3.1vw, 44px);
    left: calc(100% + 5px);
    width: clamp(14px, 1.8vw, 26px);
    height: 1px;
    background: #9db0d5;
    content: "";
  }
}
@media (max-width: 1100px) {
  .work-order-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .work-order-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (min-width: 1440px) {
  :root { --content: 1360px; }
  .container { width: min(var(--content), calc(100% - 80px)); }
  .site-header { --header-width: min(var(--content), calc(100vw - 80px)); }
  .footer-b { --footer-width: min(var(--content), calc(100vw - 80px)); }
}
/* Footer layout based on the supplied Mul-T-Lock reference. */
.site-footer.footer-reference {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: linear-gradient(125deg,
    transparent 77%, #253ba052 77% 83%, transparent 83% 86%, #253ba065 86% 89%, transparent 89%),
    linear-gradient(110deg, #14203d, #070d70);
  color: #fff;
}
.footer-reference .footer-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  padding-block: 28px;
}
.footer-reference .footer-top > * {
  min-width: 0;
  padding-inline: clamp(16px, 2.5vw, 36px);
}
.footer-reference .footer-brand-panel { padding-left: 0; }
.footer-reference .logo-crop { width: min(100%, 218px); height: auto; overflow: visible; }
.footer-reference .logo-crop img { position: static; display: block; width: 100%; max-width: 100%; height: auto; filter: grayscale(1) invert(1) contrast(1.45); mix-blend-mode: screen; }
.footer-reference .footer-brand-panel p { margin-top: 8px; font-size: 16px; line-height: 1.35; }
.footer-reference .footer-top nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  width: auto;
  order: initial;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}
.footer-reference a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-reference .footer-top nav a:hover { color: #b9caff; text-decoration: none; }
.footer-reference .footer-contact {
  display: grid;
  gap: 8px;
  width: auto;
  max-width: none;
  text-align: left;
  line-height: 1.4;
}
.footer-reference .footer-contact-row { display: flex; align-items: center; gap: clamp(10px, 1.5vw, 20px); }
.footer-reference .footer-contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 36px;
  border-radius: 5px;
  background: #253ba0;
  color: #fff;
}
.footer-reference .footer-contact-icon svg { width: 24px; height: 24px; }
.footer-reference .footer-phone { color: #fff; font-size: 25px; font-weight: 800; white-space: nowrap; }
.footer-reference .footer-region { color: #edf1f8; font-size: 13px; }
.footer-reference .footer-cta-panel {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
  text-align: left;
  justify-content: center;
  min-height: 108px;
  padding-inline: 22px 0;
}
.footer-reference .footer-cta {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 16px;
  border-color: #edf1f8;
  border-radius: 5px;
  background: #fff;
  color: #000a7e;
  white-space: nowrap;
}
.footer-reference .footer-cta:hover { background: #edf1f8; }
.footer-reference .footer-cta .icon { width: 21px; height: 21px; flex: 0 0 21px; }
.footer-reference :is(a, button):focus-visible { outline-color: #fff; }
.footer-reference .footer-bottom {
  justify-content: space-between;
  padding-block: 14px;
  border-top: 1px solid #edf1f859;
  color: #edf1f8;
  font-size: 14px;
}
.footer-reference .footer-bottom a:hover { color: #fff; }

@media (max-width: 1199px) {
  .footer-reference .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .footer-reference .footer-top > * { padding-inline: 20px; }
  .footer-reference .footer-brand-panel,
  .footer-reference .footer-contact { padding-left: 0; }
}
@media (max-width: 640px) {
  .footer-reference .footer-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .footer-reference .footer-top > * { padding-inline: 0; }
  .footer-reference .footer-brand-panel { text-align: center; }
  .footer-reference .footer-brand-panel .brand { justify-content: center; }
  .footer-reference .footer-top nav {
    align-items: center;
    text-align: center;
    padding-block: 16px;
    border: 0;
    border-block: 1px solid #edf1f859;
  }
  .footer-reference .footer-contact { width: fit-content; max-width: 100%; justify-self: center; }
  .footer-reference .footer-cta-panel { min-height: 0; border: 0; align-items: center; text-align: center; }
  .footer-reference .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 8px; }
  .footer-reference .footer-bottom > div { justify-content: center; gap: 5px 12px; }
}
/* Compact request form on the first screen. */
.hero.hero-reference .hero-inner {
  grid-template-columns: minmax(0, 1.58fr) minmax(0, .94fr) minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 26px);
  padding-block: 28px 66px;
}
.hero-reference .hero-visual {
  --hero-lock-x: 39cqw;
  --hero-lock-y: 53cqh;
  --hero-lock-height: min(165cqh, 186cqw, 700px);
  grid-column: 2 / 3;
  inset: 0 -12px 38px;
  width: auto;
}
.hero-reference .hero-request {
  position: relative;
  z-index: 1;
  grid-column: 3;
  width: 100%;
  max-width: 440px;
  padding: clamp(14px, 1.4vw, 20px);
  border: 1px solid #d4ddef;
  border-radius: 8px;
  background: #fff;
  color: #14203d;
}
.hero-reference .hero-request h2 {
  margin: 0 0 12px;
  color: #000a7e;
  font-size: clamp(22px, 1.85vw, 28px);
  line-height: 1.18;
  text-align: center;
}
.hero-reference .hero-request-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 10px;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 5px;
  background: #edf1f8;
  font-size: 14px;
}
.hero-reference .hero-request-price strong { color: #000a7e; font-size: 22px; white-space: nowrap; }
.hero-reference .hero-request form { gap: 9px; grid-template-columns: minmax(0, 1fr); }
.hero-reference .hero-request form input:not([type="checkbox"]) { width: 100%; padding: 8px 11px; border-radius: 5px; }
.hero-reference .hero-request form input[type="submit"] { background: #000a7e; }
.hero-reference .hero-request form input[type="submit"]:hover { background: #253ba0; }
.hero-reference .hero-request-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 750;
}
.hero-reference .hero-request .consent { gap: 8px; margin: 2px 0 0; font-size: 12px; line-height: 1.4; }
.hero-reference .hero-request .consent > input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; padding: 0; }
.hero-reference .hero-request .consent > span { min-width: 0; }
.hero-reference .hero-request .consent a { color: #000a7e; }
@media (max-width: 1099px) {
  .hero.hero-reference .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .hero-reference .hero-visual { display: none; }
  .hero-reference .hero-request { grid-column: 2; justify-self: end; }
}
@media (max-width: 639px) {
  .hero.hero-reference .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-reference .hero-request { grid-column: 1; justify-self: start; }
}
@media (min-width: 480px) and (max-width: 639px) {
  .hero-reference .hero-request { max-width: none; }
}
@media (min-width: 640px) and (max-width: 767px) {
  .hero.hero-reference .hero-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
/* The service hero follows the Kale layout and uses the Mul-T-Lock price component. */
.replacement-page {
  --service-blue: #000a7e;
  --service-wash: #edf1f8;
  --service-rule: #d8e0ee;
  --service-gradient: linear-gradient(120deg, #070d70, #253ba0);
}
.service-hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  color: #e7ecff;
  font-size: 14px;
}
.service-hero .breadcrumbs a:hover { text-decoration: underline; }
.hero.hero-reference.service-hero .hero-inner {
  grid-template-columns: minmax(0, 1.17fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 82px);
  padding-block: clamp(25px, 4vw, 64px) clamp(36px, 5vw, 76px);
  align-items: center;
}
.hero.hero-reference.service-hero h1 { max-width: 660px; }
.hero.hero-reference.service-hero .hero-description { max-width: 620px; }
.hero.hero-reference.service-hero .hero-description + .hero-description { margin-top: 12px; }
.hero.hero-reference.service-hero .hero-prices {
  border: 1px solid var(--service-rule);
  border-radius: 5px;
  color: var(--ink);
}
.service-hero .hero-prices #service-prices caption { padding-right: 0; }
.service-hero .hero-prices :is(#service-prices, .more-prices .price-table) tbody { grid-template-columns: minmax(0, 1fr); }
.service-hero .hero-prices .more-prices summary { position: static; }
.service-hero > .benefit-strip {
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--service-rule);
}
.service-hero > .benefit-strip .benefits-inline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px 28px;
}
.service-hero .benefit strong { font-size: 15px; line-height: 1.45; }

.nav-dropdown > .nav-current { position: relative; }
.header-reference .nav-dropdown > .nav-current::after { bottom: -9px; }
@media (max-width: 1199px) {
  .header-reference .nav-dropdown > .nav-current::after { display: none; }
}
@media (max-width: 959px) {
  .hero.hero-reference.service-hero .hero-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-hero > .benefit-strip .benefits-inline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .hero.hero-reference.service-hero .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .service-hero > .benefit-strip .benefits-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .service-hero > .benefit-strip .benefits-inline { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* Numbered steps and photo cards share the layout used on the Kale service. */
.call-process { padding-block: clamp(38px, 5vw, 72px); }
.call-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.call-steps > li {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  min-width: 0;
  border: 1px solid var(--service-rule);
  border-left: 4px solid var(--service-blue);
  border-radius: 5px;
  background: #f8f9fd;
}
.call-step-number {
  display: grid;
  place-items: center;
  padding: 14px 8px;
  border-radius: 0;
  background: var(--service-wash);
  color: var(--service-blue);
  font-size: 41px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  line-height: 1;
}
.call-step-number:hover { background: #e1e8f7; }
.call-step-number:focus-visible { outline-offset: -4px; }
.call-steps p { align-self: center; padding: 18px 15px; line-height: 1.55; overflow-wrap: break-word; }
.master-request {
  color: white;
  background: linear-gradient(55deg, transparent 0 38%, #ffffff0d 38% 46%, transparent 46% 49%, #ffffff1a 49% 51%, transparent 51% 73%, #ffffff0a 73% 88%, transparent 88%), linear-gradient(100deg, #070d70 15%, #253ba0f2 74%, #182a83c9), url("../images/dlinnyj_banner_fon-3.jpg") center / cover no-repeat;
  padding-block: clamp(34px, 5vw, 64px);
}
.slogan-text { max-width: 1110px; color: white; font-size: clamp(25px, 3vw, 40px); line-height: 1.25; }
.service-tiles.services { background: #fff; }
.service-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--service-rule);
  border-radius: 5px;
  background: #fff;
  text-align: left;
}
.service-tile:hover { border-color: var(--service-blue); box-shadow: 0 4px 14px #121a891a; }
.service-tile-image { width: 100%; height: 150px; }
.service-tile-image img { width: 100%; height: 100%; object-fit: cover; }
.service-tile-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  grid-template-rows: 1fr auto;
  gap: 10px;
  flex: 1;
  width: 100%;
  padding: 18px 20px;
  background: var(--service-wash);
}
.service-tile-copy strong { grid-column: 1 / -1; font-size: 18px; line-height: 1.4; }
.service-tile-price { align-self: center; color: var(--service-blue); font-weight: 800; }
.service-tile-copy .icon { width: 26px; height: 26px; padding: 4px; color: var(--service-blue); border: 1px solid; border-radius: 50%; }
@media (max-width: 1199px) {
  .call-steps, .service-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .call-steps, .service-photo-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 479px) {
  .call-steps > li { grid-template-columns: 57px minmax(0, 1fr); }
  .call-step-number { font-size: 36px; }
}

/* Request bands and forms use the Mul-T-Lock palette and controls. */
.replacement-page .service-callback { padding-block: clamp(30px, 4vw, 60px); }
.replacement-page .service-callback .callback-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 76px);
}
.replacement-page .service-callback .callback-copy h2 {
  font-size: clamp(30px, 3.1vw, 40px);
  line-height: 1.2;
}
.replacement-page .service-callback .callback-copy > p { font-size: clamp(16px, 1.65vw, 20px); }
.replacement-page section.service-callback.callback-pale,
.replacement-page #feedback-form-first.service-callback.callback-pale {
  background: var(--service-wash);
  color: var(--ink);
}
.replacement-page .service-callback.callback-pale .callback-copy :is(h2, p),
.replacement-page #feedback-form-first.callback-pale .callback-copy :is(h2, p) { color: var(--ink); }
.replacement-page .service-callback.callback-blue {
  background: linear-gradient(145deg, transparent 0 20%, #ffffff0a 20% 34%, transparent 34% 38%, #ffffff1a 38% 40%, transparent 40% 67%, #ffffff0d 67% 72%, transparent 72%), var(--service-gradient);
  color: #fff;
}
.replacement-page .service-callback .request-form {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  padding: clamp(16px, 2.25vw, 30px);
  border: 1px solid var(--service-rule);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.replacement-page .service-callback .request-form input:not([type="checkbox"]) {
  border: 1px solid #c9d3e9;
  border-radius: 5px;
  background: #fff;
}
.replacement-page .service-callback .request-form .consent {
  color: var(--ink);
  margin-top: 15px;
  align-items: flex-start;
}
.replacement-page .service-callback .request-form .consent a { color: var(--service-blue); }
.replacement-page .service-callback .request-form .button-primary {
  color: #fff;
  border-color: var(--service-blue);
  border-radius: 5px;
  background: var(--service-blue);
}
.replacement-page .service-callback .request-form .button-primary:hover { background: #253ba0; }
.replacement-page .form-fields .visually-hidden { position: absolute !important; }
.replacement-page #request-dialog .request-form .form-action,
.replacement-page .final-form .request-form .form-action { flex-direction: column; align-items: stretch; }
.replacement-page :is(#request-dialog, .final-form) .request-form .captcha-field { justify-content: space-between; }
.replacement-page :is(#request-dialog, .final-form) .request-form .captcha-field > span { max-width: none; }
.replacement-page #request-dialog .request-form input { border-radius: 5px; }
.replacement-page #request-dialog .request-context { color: var(--service-blue); }
.replacement-page #request-dialog .request-form .button-primary { width: 100%; }
.replacement-page .final-form .final-promo { margin-top: 15px; }
@media (max-width: 767px) {
  .replacement-page .service-callback .callback-grid { grid-template-columns: minmax(0, 1fr); }
  .replacement-page .service-callback .request-form { justify-self: start; }
  .replacement-page .service-callback .callback-copy h2 { font-size: 34px; }
}
@media (max-width: 479px) {
  .replacement-page .form-fields { grid-template-columns: minmax(0, 1fr); }
}

/* Keep the original content for each service-area tab within the shared design. */
.replacement-page #regions { overflow: clip; }
.replacement-page .region-tabs { position: relative; }
.replacement-page .region-offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}
.replacement-page .region-offers a {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--service-rule);
  border-radius: 5px;
  background: #fff;
  line-height: 1.4;
}
.region-offers a:hover { border-color: var(--service-blue); }
.region-offers strong { color: var(--service-blue); white-space: nowrap; }
.region-panel .locality-list + .region-offers,
.region-panel .locality-list + .region-request { margin-top: 18px; }
.region-request .button { min-height: 44px; }
.replacement-page .review-author > img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.replacement-page .review-author p { color: var(--muted); font-size: 13px; line-height: 1.35; }
.replacement-page .review-rating { color: var(--service-blue); white-space: nowrap; }

/* The service copy, FAQ, and pre-footer gallery use the reference page layouts. */
.service-intro { background: #fff; }
.service-intro .intro-grid { gap: clamp(26px, 5vw, 65px); }
.intro-lock-image { max-width: 360px; justify-self: center; }
.intro-lock-image img { width: 100%; height: auto; max-height: 480px; object-fit: contain; border-radius: 5px; }
.intro-benefits { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.intro-benefits li {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--service-rule);
  border-radius: 5px;
  line-height: 1.4;
}
.intro-benefits img { width: 25px; height: 25px; object-fit: contain; }
.service-editorial .editorial-photo img { height: auto; max-height: 360px; object-fit: contain; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--service-rule); border-radius: 5px; background: #fff; }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: clamp(15px, 2vw, 22px);
  cursor: pointer;
  list-style: none;
  font-size: clamp(16px, 1.45vw, 18px);
  font-weight: 750;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -4px; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--service-blue); }
.faq-answer { padding: 0 clamp(15px, 2vw, 22px) 22px; }
.faq-sign { position: relative; display: block; width: 18px; height: 18px; flex-shrink: 0; color: var(--service-blue); }
.faq-sign::before, .faq-sign::after { position: absolute; top: 8px; left: 1px; width: 16px; height: 2px; background: currentColor; content: ""; }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: none; }
.service-closing .original-shots { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 959px) {
  .service-closing .original-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .service-intro .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-lock-image img { max-height: 320px; }
}
@media (max-width: 479px) {
  .service-closing .original-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.local-gallery-open { overflow: hidden; }

.service-hero .brand-word { white-space: nowrap; }

.service-hero > .benefit-strip .benefit::before { display: none; }
.service-hero > .benefit-strip .benefit-source-icon { display: block; width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain; }

/* Service catalog with connected side tabs. */
#tags.service-catalog { padding-block: clamp(40px, 5vw, 76px); background: #fff; color: #192343; }
.service-catalog-heading { margin-bottom: 32px; }
.service-catalog-heading h2 { color: #192343; font-size: clamp(30px, 3vw, 40px); line-height: 1.2; }
.service-catalog-heading p { margin-top: 14px; color: #45516a; font-size: 16px; line-height: 1.5; }
.service-catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0; align-items: stretch; }
.service-catalog-tabs { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 32px 0 160px 14px; background: #151575; border-radius: 5px; box-shadow: 2px 0px 10px rgb(20 22 35 / 8%); overflow: hidden; }
.service-catalog-tabs::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(125deg, transparent 77%, #253ba052 77% 83%, transparent 83% 86%, #253ba065 86% 89%, transparent 89%); pointer-events: none; }
.service-catalog-tab { position: relative; display: flex; align-items: center; width: 100%; min-height: 68px; padding: 18px 22px; border-radius: 8px 0 0 8px; background: transparent; color: #fff; text-align: left; font-size: 20px; font-weight: 700; line-height: 1.35; }
.service-catalog-tab + .service-catalog-tab::before { position: absolute; top: 0; left: 22px; right: 28px; content: ""; border-top: 1px solid #ffffff33; }
.service-catalog-tab[aria-selected="true"] { color: #151575; background: #fff; border-radius: 5px 0 0 5px; }
.service-catalog-tab[aria-selected="true"]::before,
.service-catalog-tab[aria-selected="true"] + .service-catalog-tab::before { display: none; }
.service-catalog-tab:hover { background: #ffffff0f; }
.service-catalog-tab[aria-selected="true"]:hover { background: #fff; }
.service-catalog-tab:focus-visible { outline: 2px solid #aebeff; outline-offset: -4px; }
.service-catalog-panels { min-width: 0; padding: 10px 28px; border: 0; border-radius: 0 5px 5px 0; background: #fff; box-shadow: 2px 0px 10px rgb(20 22 35 / 8%); }
.service-catalog-panel { display: grid; grid-template-columns: minmax(0, 1fr); }
.service-catalog-card { display: grid; grid-template-columns: 178px minmax(0, 1fr) auto; align-items: center; gap: 24px; min-width: 0; padding-block: 20px; background: #fff; }
.service-catalog-card + .service-catalog-card { border-top: 1px solid #d5ddef; }
.service-catalog-card > img { width: 178px; height: 100px; object-fit: cover; border-radius: 3px; }
.service-catalog-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.service-catalog-name { color: #192343; font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.service-catalog-description { color: #45516a; font-size: 16px; line-height: 1.5; }
.service-catalog-price { color: #000a7e; font-size: 22px; font-weight: 750; line-height: 1.25; white-space: nowrap; text-align: right; }
@media (max-width: 1199px) {
 .service-catalog-layout { grid-template-columns: 260px minmax(0, 1fr); }
 .service-catalog-card { grid-template-columns: 130px minmax(0, 1fr) auto; gap: 18px; }
 .service-catalog-card > img { width: 130px; height: 100px; }
 .service-catalog-price { font-size: 20px; }
}
@media (max-width: 900px) {
 .service-catalog-layout { grid-template-columns: minmax(0, 1fr); }
 .service-catalog-tabs { flex-direction: row; padding: 8px 8px 0; }
 .service-catalog-tabs::after { display: none; }
 .service-catalog-tab { justify-content: center; min-height: 62px; padding: 12px; }
 .service-catalog-tab + .service-catalog-tab::before { display: none; }
 .service-catalog-panels { border-top: 0; }
 .service-catalog-heading { margin-bottom: 24px; }
}
@media (max-width: 650px) {
 .service-catalog-card { grid-template-columns: 110px minmax(0, 1fr); align-items: start; gap: 10px 14px; padding-block: 20px; }
 .service-catalog-card > img { grid-column: 1; grid-row: 1 / 3; width: 110px; height: 120px; }
 .service-catalog-copy { grid-column: 2; }
 .service-catalog-price { grid-column: 2; font-size: 20px; text-align: left; }
 .service-catalog-name { font-size: 24px; }
 .service-catalog-description { font-size: 16px; line-height: 1.45; }
 .service-catalog-tab { font-size: 16px; }
}
@media (max-width: 359px) {
 .service-catalog-card { grid-template-columns: 85px minmax(0, 1fr); gap: 10px; }
 .service-catalog-card > img { width: 85px; height: 110px; }
 .service-catalog-name { font-size: 24px; }
 .service-catalog-price { font-size: 18px; }
 .service-catalog-tab { font-size: 14px; }
}

/* Lock comparison table. */
#comparison-table { padding-block: clamp(40px, 5vw, 72px); background: #fff; }
#comparison-table .section-title { margin-bottom: 32px; font-size: clamp(28px, 3vw, 40px); }
#comparison-table .table-responsive { overflow-x: auto; }
#comparison-table table { width: 100%; min-width: 1000px; table-layout: fixed; border-collapse: separate; border-spacing: 0; color: #192343; text-align: left; font-size: 16px; line-height: 1.4; }
#comparison-table th { padding: 16px 20px; background: #151575; color: #fff; font-size: 16px; font-weight: 650; line-height: 1.4; }
#comparison-table th:first-child { width: 21%; border-radius: 5px 0 0 0; }
#comparison-table th:nth-child(2) { width: 29%; }
#comparison-table th:nth-child(3) { width: 29%; }
#comparison-table th:last-child { width: 21%; border-radius: 0 5px 0 0; }
#comparison-table td { padding: 18px 20px; vertical-align: middle; font-size: 16px; line-height: 1.4; background: #fff; }
#comparison-table tbody tr:nth-child(even) td { background: #f6f7fb; }
#comparison-table tbody tr:last-child td { border-bottom: 1px solid #d5ddef; }
#comparison-table .d-flex { display: flex; align-items: center; gap: 16px; }
#comparison-table .flex-column { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
#comparison-table .img-wrap { display: flex; flex: 0 0 72px; width: 72px; height: 72px; }
#comparison-table .img-wrap img { width: 72px; height: 72px; object-fit: contain; }
#comparison-table .title { font-weight: 700; }
#comparison-table .o-tovare .title { color: #000a7e; }
#comparison-table .desc { color: #45516a; }

.regions-section :is(.region-tab, .region-panel, .travel-table-wrap, .travel-table, .button) { border-radius: 5px; }

#official-site.service-editorial { background: #f3f5fa; padding-bottom: 80px; }
@media (max-width: 767px) { #official-site.service-editorial { padding-bottom: 48px; } }

.master-request .master-request-form-title { margin: 0 0 20px; color: #000a7e; font-size: 26px; line-height: 1.2; }

.master-request .request-form .form-fields { grid-template-columns: minmax(0, 1fr); }
.master-request .request-form .form-action { flex-direction: column; align-items: stretch; }
.master-request .request-form .captcha-field { display: flex; flex-direction: row; align-items: center; width: 100%; }
.master-request .request-form .captcha-field > span { flex: 1; max-width: none; }

#professional.service-closing .professional-intro { grid-template-columns: minmax(0, 1fr); }

#professional.service-closing .professional-intro {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}
#professional .closing-gallery { display: flex; align-items: stretch; gap: 8px; min-width: 0; width: 100%; height: clamp(420px, 42vw, 600px); overflow: hidden; }
#professional .closing-gallery-item { position: relative; flex: 1 1 0; min-width: 26px; padding: 0; border: 0; border-radius: 5px; overflow: hidden; background: #edf1f8; transition: flex-grow .4s ease; }
#professional .closing-gallery-item.is-active { flex-grow: 7; }
#professional .closing-gallery-item img { position: absolute; top: 0; bottom: 0; left: 50%; width: var(--gallery-image-width, 100%); max-width: none; height: 100%; transform: translateX(-50%); object-fit: cover; object-position: center; }
#professional .closing-gallery-item:focus-visible { outline: 3px solid #000a7e; outline-offset: -4px; }
@media (max-width: 959px) {
 #professional.service-closing .professional-intro { grid-template-columns: minmax(0, 1fr); }
 #professional .closing-gallery { height: 480px; max-width: 680px; justify-self: center; }
}
@media (max-width: 479px) {
 #professional .closing-gallery { height: 360px; gap: 6px; }
 #professional .closing-gallery-item { min-width: 22px; }
}
@media (prefers-reduced-motion: reduce) {
 #professional .closing-gallery-item { transition: none; }
}

#professional .closing-gallery-item img { filter: none; transition: filter .3s ease; }
#professional .closing-gallery.has-active .closing-gallery-item:not(.is-active) img { filter: blur(3px); }
#professional .closing-gallery-item.is-active img { filter: none; }
@media (prefers-reduced-motion: reduce) { #professional .closing-gallery-item img { transition: none; } }

#professional .closing-gallery-item::after { content: ""; position: absolute; inset: 0; background: rgb(0 10 126 / 55%); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
#professional .closing-gallery.has-active .closing-gallery-item:not(.is-active)::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { #professional .closing-gallery-item::after { transition: none; } }

.hero-reference .benefits-inline .benefit { align-items: center; }
@media (min-width: 960px) { .hero .hero-actions .button { font-size: 18px; } }
#comparison-table th { background: #0b0c7d; }
.regions-section .region-tab.is-active { background: #0b0c7d; border-color: #0b0c7d; }
.callback-band .request-form .consent > span { font-size: 14px; }
.site-header .header-contact > span { font-size: 14px; }
@media (max-width: 650px) {
 #comparison-table .o-tovare > .d-flex { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
 .replacement-page .service-callback .request-form { padding: 20px; }
 .callback-band .request-form .consent > span { font-size: 12px; }
 .callback-grid h2,
 .replacement-page .service-callback .callback-copy h2 { font-size: 30px; }
}
@media (max-width: 359px) {
 .header-reference .header-phone .icon { display: none; }
 .header-reference .header-main-row .header-phone { font-size: 15px; }
 .hero.hero-reference.service-hero .hero-prices .price-table tbody th { font-size: 14px; }
 .regions-section .travel-table td { font-size: 16px; }
}

@media (max-width: 600px) {
 .hero.hero-reference .hero-prices .price-table tbody td { font-size: 16px; }
}
@media (max-width: 479px) {
 .service-catalog-card { grid-template-columns: 85px minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: start; gap: 8px 12px; }
 .service-catalog-card > img { grid-column: 1; grid-row: 1 / 3; width: 85px; height: 100px; }
 .service-catalog-copy { display: contents; }
 .service-catalog-name { grid-column: 2; grid-row: 1; font-size: 18px; }
 .service-catalog-price { grid-column: 2; grid-row: 2; align-self: start; }
 .service-catalog-description { grid-column: 1 / -1; grid-row: 3; }
}

@media (max-width: 900px) {
 .service-catalog-tabs { background: transparent; padding: 0; gap: 10px; border-radius: 0; box-shadow: none; overflow: visible; }
 .service-catalog-tabs .service-catalog-tab { flex: 1 1 0; width: auto; border: 1px solid #d5ddef; border-radius: 5px; background: #fff; color: #0b0c7d; }
 .service-catalog-tabs .service-catalog-tab[aria-selected="true"] { border-color: #0b0c7d; border-radius: 5px; background: #0b0c7d; color: #fff; }
 .service-catalog-tabs .service-catalog-tab:hover { background: #edf1f8; }
 .service-catalog-tabs .service-catalog-tab[aria-selected="true"]:hover { background: #0b0c7d; }
 .service-catalog-panels { margin-top: 16px; }
}

@media (max-width: 900px) {
 .service-catalog-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
 .service-catalog-tabs .service-catalog-tab { min-width: 0; width: 100%; height: 100%; white-space: normal; overflow-wrap: anywhere; }
}

@media (max-width: 479px) {
 .service-catalog-panels { box-shadow: none; padding-inline: 0; margin-top: 0; }
}

@media (max-width: 767px) {
 .header-reference .header-main-row .header-phone { font-size: 15px; }
}
@media (max-width: 479px) {
 .site-header .header-contact > span { font-size: 12px; }
}
@media (max-width: 359px) {
 .header-reference .header-main-row .header-phone { font-size: 14px; }
 .site-header .header-contact > span { font-size: 11px; }
}

/* WordPress-плагины задают footer { margin: 30px 0 } — в макете отступа нет. */
body > footer.site-footer { margin: 0; }
/* У Manrope с отрицательным letter-spacing пробел почти исчезает (в макете слова в меню слипались) — возвращаем ширину пробела. */
.main-nav a, .header-contact span, .header-description { word-spacing: .2em; }
