@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/golos-text-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/golos-text-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-serif-regular-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-serif-regular-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-serif-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #111315;
  --ink-soft: #171a1e;
  --ink-raised: #20242a;
  --paper: #f3f0e9;
  --paper-deep: #e7e1d7;
  --white: #fffdf8;
  /* Фирменный жёлтый из эмблемы. Сочетание жёлтого с чёрным заимствовано
     из формы военных моряков, основавших компанию в 2002–2003 годах, —
     это не декоративный оттенок, а часть истории марки. */
  --brand-yellow: #ffec00;
  --gold: #d8ad57;
  --gold-bright: #efc873;
  --gold-dark: #7a5a1f;
  /* Золото кнопок: с белым текстом даёт контраст 4,8:1; на светлом золоте (#d8ad57) белый читается только на 2:1. */
  --button: #94691f;
  --button-hover: #7a5a1f;
  --muted: #5c5f62;
  --line: rgba(17, 19, 21, .14);
  --line-dark: rgba(255, 255, 255, .12);
  --shadow: 0 28px 70px rgba(9, 11, 13, .18);
  --radius: 3px;
  --shell: min(1280px, calc(100% - 64px));
  --header-h: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Golos Text", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
address { font-style: normal; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--gold-bright);
  transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  color: var(--white);
  background: linear-gradient(180deg, rgba(11, 13, 15, .94), rgba(11, 13, 15, .72));
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  backdrop-filter: blur(18px);
  transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(14, 16, 18, .96); box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-width: 244px; }
.brand img { width: 58px; height: 58px; object-fit: contain; margin-right: 12px; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand strong { color: var(--white); font-size: 22px; font-weight: 800; letter-spacing: .16em; }
.brand small { margin-top: 7px; color: rgba(255,255,255,.65); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 36px); margin-left: auto; }
.site-nav a { position: relative; padding: 30px 0 27px; color: rgba(255,255,255,.76); font-size: 14px; font-weight: 600; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 21px; left: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.header-phone { white-space: nowrap; font-size: 15px; font-weight: 700; }
.header-phone-second { margin-top: 4px; color: rgba(255,255,255,.72); white-space: nowrap; font-size: 13px; font-weight: 600; }
.header-phone-second:hover { color: var(--white); }
.header-hours { margin-top: 5px; color: rgba(255,255,255,.45); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 25px;
  border: 1px solid var(--button);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--button);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s, color .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); background: var(--button-hover); border-color: var(--button-hover); }
.button-small { min-height: 42px; padding: 10px 16px; font-size: 12px; }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  height: min(92vh, 940px);
  overflow: hidden;
  color: var(--white);
  background: #111418;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,11,13,.95) 0%, rgba(9,11,13,.84) 34%, rgba(9,11,13,.28) 68%, rgba(9,11,13,.1) 100%), linear-gradient(0deg, rgba(9,11,13,.82) 0%, transparent 34%); }
.hero-media { position: absolute; inset: 0; background: url("hero-security.webp") 58% 46%/cover no-repeat; transform: scale(1.02); }
.hero-grid-overlay { position: absolute; z-index: 1; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px); background-size: 82px 82px; mask-image: linear-gradient(90deg, black, transparent 74%); }
.hero-content { position: relative; z-index: 2; height: calc(100% - 112px); padding-top: var(--header-h); display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 9vw; }
.hero-copy { padding-top: 35px; }
/* На тёмных секциях надчерк светло-золотой, на светлых — тёмное золото:
   светлое на #f3f0e9 даёт всего 1.4:1. */
.hero-kicker, .section-kicker { display: inline-flex; align-items: center; gap: 14px; color: var(--gold-dark); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero-kicker::before, .section-kicker::before { content: ""; width: 46px; height: 1px; background: currentColor; }
.hero .hero-kicker,
.services-section .section-kicker,
.services-page-section .section-kicker,
.request-section .section-kicker,
.faq-section .section-kicker,
.inner-hero .section-kicker,
.not-found .section-kicker { color: var(--gold-bright); }
.hero h1, .inner-hero h1 { margin: 25px 0 25px; font-family: "PT Serif", Georgia, "Times New Roman", serif; font-size: clamp(52px, 6vw, 91px); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.hero h1 em { color: var(--gold-bright); font-weight: 400; }
.hero-copy > p { max-width: 670px; margin: 0; color: rgba(255,255,255,.74); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 36px; margin-top: 40px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.text-link span { color: var(--gold-bright); font-size: 19px; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -2px); }
.text-link.dark { color: var(--ink); }
.text-link.dark span { color: var(--gold-dark); }
.hero-license { align-self: end; margin-bottom: 63px; padding: 27px 29px; border-left: 2px solid var(--gold); background: rgba(15, 17, 19, .68); backdrop-filter: blur(15px); }
.hero-license span, .hero-license small { display: block; color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.hero-license strong { display: block; margin: 11px 0 7px; color: var(--white); font-size: 17px; line-height: 1.3; }
.hero-license a { display: inline-block; margin-top: 18px; color: var(--gold-bright); font-size: 12px; font-weight: 700; }
.hero-bottom { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 112px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); }
.hero-bottom > div { display: flex; align-items: center; gap: 14px; padding-inline: 32px; border-right: 1px solid rgba(255,255,255,.13); }
.hero-bottom > div:first-child { padding-left: 0; }
.hero-bottom strong { color: var(--gold-bright); font-family: "PT Serif", Georgia, serif; font-size: 28px; font-weight: 400; white-space: nowrap; }
.hero-bottom span { max-width: 100px; color: rgba(255,255,255,.52); font-size: 12px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }

.section { padding: 116px 0; }
.split-heading { display: grid; grid-template-columns: .75fr 1.4fr 1fr; align-items: start; gap: 52px; }
.split-heading h2, .section-heading h2, .trust-copy > h2, .document-copy h2, .contact-form-wrap h2, .service-main h2 { margin: -8px 0 0; font-family: "PT Serif", Georgia, serif; font-size: clamp(34px, 3.5vw, 50px); font-weight: 400; letter-spacing: -.035em; line-height: 1.06; }
.split-heading > p { margin: 0; color: #5f6265; font-size: 16px; line-height: 1.8; }
.intro-section { background: var(--paper); }
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 75px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-step { position: relative; min-height: 245px; padding: 38px 30px 34px; border-right: 1px solid var(--line); }
.process-step:first-child { padding-left: 0; }
.process-step:last-child { border-right: 0; }
.process-step b { color: var(--gold-dark); font-family: "PT Serif", Georgia, serif; font-size: 14px; font-weight: 400; }
.process-step h3 { margin: 48px 0 10px; font-size: 18px; }
.process-step p { margin: 0; color: #6a6c6f; font-size: 14px; line-height: 1.65; }

.services-section, .services-page-section { color: var(--white); background: var(--ink); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 54px; }
.section-heading h2 { margin-top: 12px; }
.services-section .section-heading h2 { color: var(--white); }
.services-section .text-link { color: var(--gold-bright); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.service-card { position: relative; display: flex; isolation: isolate; flex-direction: column; min-height: 330px; padding: 30px 27px 24px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; background: var(--ink); transition: background .25s, transform .25s; }
.service-card::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(14,17,19,.64) 0%, rgba(14,17,19,.78) 46%, rgba(14,17,19,.97) 100%); pointer-events: none; transition: background .35s; }
.service-card::after { content: ""; position: absolute; z-index: 3; right: -40px; bottom: -70px; width: 160px; height: 160px; border: 1px solid rgba(216,173,87,.25); border-radius: 50%; pointer-events: none; transition: transform .35s, border-color .35s; }
.service-card > :not(.service-card-media) { z-index: 2; }
.service-card-media { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .48; filter: saturate(.72) contrast(1.06); transform: scale(1.025); transition: opacity .35s, filter .35s, transform .55s; }
.service-card:hover { z-index: 1; background: var(--ink-raised); transform: translateY(-4px); }
.service-card:hover::before { background: linear-gradient(180deg, rgba(14,17,19,.46) 0%, rgba(14,17,19,.68) 48%, rgba(14,17,19,.95) 100%); }
.service-card:hover::after { border-color: rgba(216,173,87,.45); transform: scale(1.25); }
.service-card:hover .service-card-media { opacity: .68; filter: saturate(.9) contrast(1.05); transform: scale(1.065); }
.card-number { margin-bottom: 45px; color: var(--gold); font-family: "PT Serif", Georgia, serif; font-size: 34px; }
.service-card > span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.service-card h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { margin: 14px 0 60px; color: #a3a7ac; font-size: 14px; line-height: 1.65; }
.card-footer { position: absolute; right: 27px; bottom: 23px; left: 27px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-footer strong { color: var(--gold-bright); font-size: 13px; }
.card-footer a { color: #c9cbcf; font-size: 12px; text-transform: uppercase; }
.card-footer i { color: var(--gold); font-style: normal; font-size: 16px; }
.services-page-section { padding-top: 30px; }

.client-proof-section { background: var(--paper-deep); }
.client-logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-logo-item { min-width: 0; min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; padding: 22px 18px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s; }
.client-logo-item:hover { position: relative; z-index: 1; background: var(--white); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(17,19,21,.09); }
.client-logo-item img { width: 100%; height: 86px; object-fit: contain; opacity: 1; transition: transform .25s; }
.client-logo-item:hover img { transform: scale(1.025); }
.client-logo-item span { color: #4f5255; font-size: 12px; line-height: 1.35; text-align: center; }

.service-pillar { color: var(--white); background: var(--ink); }
.service-pillar-grid { display: flex; align-items: center; justify-content: space-between; gap: 45px; padding: 42px 0; border-bottom: 1px solid var(--line-dark); }
.service-pillar span { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.service-pillar h2 { margin: 7px 0 4px; font-family: "PT Serif", Georgia, serif; font-size: 31px; font-weight: 400; }
.service-pillar p { margin: 0; color: #8e9296; font-size: 13px; }

.seo-overview { background: var(--paper-deep); }
.seo-overview-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: min(10vw, 104px); align-items: start; }
.seo-overview h2, .faq-heading h2, .rich-copy h2 { margin: 17px 0 0; font-family: "PT Serif", Georgia, serif; font-size: clamp(32px, 3.1vw, 44px); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; }
.rich-copy p { margin: 0 0 20px; color: #5f6265; font-size: 16px; line-height: 1.85; }
.rich-copy .text-link { margin-top: 14px; }

.factor-section { background: var(--paper); }
.factor-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.factor-grid > div { min-height: 245px; padding: 33px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.factor-grid b { color: var(--gold-dark); font-family: "PT Serif", Georgia, serif; font-weight: 400; }
.factor-grid h3 { margin: 55px 0 10px; font-size: 18px; }
.factor-grid p { margin: 0; color: #6b6e71; font-size: 13px; line-height: 1.65; }

.faq-section { color: var(--white); background: #171a1e; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: min(9vw, 96px); align-items: start; }
.faq-heading { position: sticky; top: calc(var(--header-h) + 35px); }
.faq-heading h2 { margin: 16px 0 22px; }
.faq-heading p { max-width: 390px; color: #85898e; font-size: 14px; line-height: 1.75; }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 26px 0; color: var(--white); font-size: 17px; font-weight: 700; line-height: 1.45; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: 0 0 auto; color: var(--gold-bright); font-family: "PT Serif", Georgia, serif; font-size: 25px; font-style: normal; font-weight: 400; transition: transform .2s; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { max-width: 760px; margin: -5px 45px 26px 0; color: #a1a5a9; font-size: 14px; line-height: 1.8; }

.trust-section { background: var(--paper-deep); }
.trust-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; align-items: center; }
.trust-visual { min-height: 530px; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--white); background: radial-gradient(circle at 45% 40%, rgba(216,173,87,.12), transparent 36%), linear-gradient(145deg, #202328, #0f1113); box-shadow: var(--shadow); }
/* Эмблема сама по себе законченный знак: шестиугольная рамка вокруг круглой
   печати спорила с ней, поэтому здесь знак стоит без обрамления. */
.shield-mark { display: grid; place-items: center; }
/* Готово под эмблему: когда появится логотип без надписи «Объединение охранных
   организаций», достаточно заменить <span>С</span> на <img> в build-site.mjs. */
.shield-mark img { width: 232px; height: 232px; object-fit: contain; }
.trust-visual p { margin: 36px 0 0; color: rgba(255,255,255,.55); font-size: 12px; text-align: center; letter-spacing: .13em; line-height: 1.8; text-transform: uppercase; }
.trust-copy > h2 { margin: 15px 0 45px; }
.trust-list { border-top: 1px solid var(--line); }
.trust-list > div { display: grid; grid-template-columns: 55px 1fr 1.1fr; gap: 22px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.trust-list span { color: var(--gold-dark); font-family: "PT Serif", Georgia, serif; }
.trust-list h3 { margin: 0; font-size: 16px; }
.trust-list p { margin: 0; color: #5c5f62; font-size: 13px; line-height: 1.65; }

.request-section { position: relative; color: var(--white); background: #15181b; overflow: hidden; }
.request-section::before { content: ""; position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 70px 70px; }
.request-section::after { content: ""; position: absolute; width: 560px; height: 560px; right: -280px; top: -280px; border: 1px solid rgba(216,173,87,.22); border-radius: 50%; }
.request-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: min(9vw, 96px); padding-top: 105px; padding-bottom: 105px; }
.request-copy h2 { margin: 18px 0 22px; font-family: "PT Serif", Georgia, serif; font-size: clamp(34px, 3.4vw, 52px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
.request-copy > p { color: #a5a8ac; line-height: 1.8; }
.request-phone { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.request-phone span { display: block; color: #7e8287; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.request-phone a { display: inline-block; margin-top: 7px; color: var(--gold-bright); font-family: "PT Serif", Georgia, serif; font-size: 31px; }
.request-form { align-self: center; padding: 35px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.035); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.request-form label { display: block; margin-bottom: 19px; color: #b5b7ba; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.request-form input[type="text"], .request-form input[type="tel"], .request-form input[type="email"], .request-form textarea { width: 100%; margin-top: 8px; padding: 15px 0; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); border-radius: 0; outline: none; resize: vertical; transition: border-color .2s; }
.request-form input[type="text"]:focus, .request-form input[type="tel"]:focus, .request-form input[type="email"]:focus, .request-form textarea:focus { border-color: var(--gold); }
.request-form textarea::placeholder, .request-form input::placeholder { color: #676b70; }
.request-form .consent { display: flex; align-items: flex-start; gap: 11px; margin: 8px 0 25px; color: #8c9094; font-size: 12px; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--gold); }
.consent a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-submit { display: flex; align-items: center; gap: 18px; }
.form-status { color: #b5b7ba; font-size: 12px; line-height: 1.4; }
.form-status.is-error { color: #f0a3a3; }
.form-status.is-success { color: #b8dba8; }
.request-form.is-busy .button { opacity: .6; pointer-events: none; }
.request-compact .request-grid { padding-top: 90px; padding-bottom: 90px; }

.site-footer { padding: 0 0 24px; color: #a7aaad; background: #0d0f11; }
.footer-actionbar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 36px; min-height: 130px; border-bottom: 1px solid var(--line-dark); }
.footer-action-copy { display: flex; flex-direction: column; align-items: flex-start; }
.footer-action-copy > span, .footer-action-phone small, .footer-address-label { color: #8d9195; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-action-copy strong { margin-top: 6px; color: var(--white); font-family: "PT Serif", Georgia, serif; font-size: 27px; font-weight: 400; line-height: 1.2; }
.footer-action-phone { display: flex; flex-direction: column; min-width: 0; white-space: nowrap; }
.footer-action-phone span { margin-top: 4px; color: var(--gold-bright); font-family: "PT Serif", Georgia, serif; font-size: 25px; line-height: 1.2; }
.footer-action-button { min-width: 190px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr .72fr 1.1fr; gap: 0; padding-top: 58px; }
.footer-brand { padding-right: 36px; }
.footer-services, .footer-company, .footer-contacts { padding-left: 34px; border-left: 1px solid var(--line-dark); }
.footer-brand .brand { width: max-content; }
.footer-brand p { max-width: 280px; margin: 24px 0 0; color: #7f8388; font-size: 13px; }
.footer-license { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 22px; color: #8b8f93; line-height: 1.45; }
.footer-license span { font-size: 12px; }
.footer-license i { color: var(--gold-bright); font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-all-services span, .footer-all-contacts span { color: var(--gold-bright); }
.site-footer h2 { margin: 4px 0 24px; color: var(--white); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 11px; }
.site-footer li a, .footer-contacts > a { color: #b0b3b6; font-size: 13px; transition: color .2s; }
.site-footer li a:hover, .footer-contacts > a:hover { color: var(--gold-bright); }
.footer-service-list { display: block; }
.footer-service-list a { line-height: 1.45; }
.footer-all-services, .footer-all-contacts { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-contacts { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact-label, .footer-address-label { color: #8d9195; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-phone { margin: 5px 0 8px; color: var(--gold-bright) !important; font-family: "PT Serif", Georgia, serif; font-size: 24px !important; line-height: 1.25; white-space: nowrap; }
.footer-email { color: #b0b3b6 !important; }
.footer-address-label { display: block; margin-top: 23px; }
.footer-contacts address { max-width: 320px; margin-top: 8px; color: #777b7f; font-size: 13px; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line-dark); color: #7f8388; font-size: 12px; }
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--gold-bright); }

.breadcrumbs { position: relative; z-index: 2; display: flex; gap: 11px; padding-top: calc(var(--header-h) + 32px); color: #8d9297; font-size: 12px; }
.breadcrumbs a, .breadcrumbs span { display: inline-flex; align-items: center; gap: 11px; }
.breadcrumbs a::after { content: "/"; color: #4e5358; }
.breadcrumbs a:hover { color: var(--gold-bright); }
.inner-hero { position: relative; margin-top: calc(-1 * (var(--header-h) + 58px)); padding: 220px 0 115px; color: var(--white); background: radial-gradient(circle at 81% 38%, rgba(216,173,87,.12), transparent 26%), linear-gradient(115deg, #111315, #1c2024); overflow: hidden; }
.inner-hero::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 82px 82px; mask-image: linear-gradient(90deg, black, transparent); }
.inner-hero::after { content: ""; position: absolute; right: -170px; bottom: -300px; width: 640px; height: 640px; border: 1px solid rgba(216,173,87,.2); border-radius: 50%; }
.inner-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 340px; align-items: end; gap: 80px; }
.inner-hero h1 { margin-bottom: 22px; font-size: clamp(42px, 4.8vw, 68px); }
.inner-hero p { max-width: 750px; margin: 0; color: #aaadb1; font-size: 17px; line-height: 1.75; }
.hero-side-note { padding: 26px 28px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.035); }
.hero-side-note span, .hero-side-note small { display: block; color: #9aa0a4; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero-side-note strong { display: block; margin: 8px 0 6px; color: var(--gold-bright); font-family: "PT Serif", Georgia, serif; font-size: 30px; font-weight: 400; }
.hero-service-visual { position: relative; min-height: 355px; overflow: hidden; border: 1px solid var(--line-dark); background: var(--ink-raised); box-shadow: 0 26px 60px rgba(0,0,0,.26); }
.hero-service-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,14,.08), rgba(10,12,14,.78)); pointer-events: none; }
.hero-service-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04); }
.hero-service-visual .hero-side-note { position: absolute; z-index: 2; right: 18px; bottom: 18px; left: 18px; margin: 0; background: rgba(15,17,19,.78); backdrop-filter: blur(14px); }

.understated { background: var(--paper-deep); }
.price-section { padding-top: 75px; }
.price-header, .price-row { display: grid; grid-template-columns: 1.6fr .5fr .8fr 30px; align-items: center; gap: 25px; }
.price-header { padding: 0 24px 14px; color: #65686c; font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.price-row { min-height: 87px; padding: 18px 24px; border-top: 1px solid var(--line); transition: color .2s, background .2s, padding .2s; }
.price-row:last-child { border-bottom: 1px solid var(--line); }
.price-row:hover { padding-inline: 32px 16px; color: var(--ink); background: var(--white); }
.price-row > span { font-size: 18px; font-weight: 700; }
.price-row b { color: #65686c; font-size: 12px; font-weight: 500; }
.price-row strong { color: var(--gold-dark); font-family: "PT Serif", Georgia, serif; font-size: 23px; font-weight: 400; white-space: nowrap; }
.price-row i { color: var(--gold-dark); font-style: normal; font-size: 20px; }
.price-note { display: grid; grid-template-columns: .45fr 1fr; gap: 55px; margin-top: 48px; padding: 30px; border-left: 2px solid var(--gold); background: var(--paper-deep); }
.price-note p { margin: 0; color: #626568; }
.price-disclaimer { margin: 20px 0 0; color: #5c5f62; font-size: 12px; line-height: 1.6; }

.document-section { background: var(--paper-deep); }
.document-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; align-items: center; }
.document-card { padding: 48px; background: var(--white); box-shadow: var(--shadow); }
.document-card img { display: block; margin: 0 auto 25px; }
.document-card > span { display: block; color: #818489; font-size: 12px; text-align: center; letter-spacing: .12em; text-transform: uppercase; }
.document-card > strong { display: block; margin: 8px 0 32px; font-family: "PT Serif", Georgia, serif; font-size: 25px; font-weight: 400; text-align: center; }
.document-card dl { margin: 0 0 30px; border-top: 1px solid var(--line); }
.document-card dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.document-card dt { color: #5c5f62; font-size: 12px; }
.document-card dd { margin: 0; font-size: 12px; font-weight: 700; text-align: right; }
.status-active { color: #44784c; }
.document-card .button { width: 100%; }
/* Лицевая и оборотная стороны лицензии — равнозначные страницы одного
   документа, поэтому колонки одинаковые и выровнены по верху. Прежний
   декоративный сдвиг со смещением читался как ошибка вёрстки. */
.license-preview { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; gap: 16px; margin-bottom: 34px; }
.license-preview a { display: block; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 30px rgba(17,19,21,.1); }
.license-preview img { width: 100%; margin: 0; transition: transform .3s; }
.license-preview a:hover img { transform: scale(1.018); }
.document-copy h2 { margin: 17px 0 25px; }
.document-copy > p { color: #626568; line-height: 1.8; }
.document-facts { margin-top: 38px; border-top: 1px solid var(--line); }
.document-facts > div { display: grid; grid-template-columns: 45px 1fr; gap: 20px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.document-facts b { color: var(--gold-dark); font-family: "PT Serif", Georgia, serif; font-weight: 400; }
.document-facts p { margin: 0; font-size: 14px; }

.contact-section { background: var(--paper-deep); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: start; }
.contact-panel { padding: 48px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.contact-panel > span { display: block; color: #7e8287; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.contact-phone { display: inline-block; margin: 8px 0 5px; color: var(--gold-bright); font-family: "PT Serif", Georgia, serif; font-size: clamp(29px, 3vw, 39px); }
.contact-panel > p { margin: 0; color: #8e9296; font-size: 12px; }
.contact-panel hr { margin: 31px 0; border: 0; border-top: 1px solid var(--line-dark); }
.contact-panel address { margin-top: 9px; color: #c0c2c4; line-height: 1.75; }
.contact-panel > a:not(.contact-phone) { display: inline-block; margin-top: 8px; color: var(--white); }
.contact-form-wrap h2 { margin: 17px 0 31px; }
.standalone-form { padding: 0; border: 0; background: transparent; }
.standalone-form label { color: #55585b; }
.standalone-form input[type="text"], .standalone-form input[type="tel"], .standalone-form input[type="email"], .standalone-form textarea { color: var(--ink); border-color: rgba(17,19,21,.27); }
.standalone-form textarea::placeholder, .standalone-form input::placeholder { color: #9a9b9d; }
.standalone-form .consent { color: #686b6e; }
.standalone-form .form-status { color: #65686b; }
.standalone-form .form-status.is-error { color: #a73333; }
.standalone-form .form-status.is-success { color: #367340; }

.requisites-section { padding-top: 72px; }
.details-card { max-width: 1000px; border-top: 1px solid var(--line); }
.details-card > div { display: grid; grid-template-columns: .45fr 1fr; gap: 40px; padding: 22px 25px; border-bottom: 1px solid var(--line); }
.details-card dt { color: #65686c; font-size: 12px; }
.details-card dd { margin: 0; font-size: 15px; font-weight: 650; }
.details-card a:hover { color: var(--gold-dark); }
.document-link { display: grid; grid-template-columns: .45fr 1fr 30px; gap: 40px; align-items: center; margin-top: 35px; padding: 28px 25px; color: var(--white); background: var(--ink); }
.document-link span { color: #8b8f93; font-size: 12px; text-transform: uppercase; }
.document-link strong { color: var(--gold-bright); font-family: "PT Serif", Georgia, serif; font-size: 21px; font-weight: 400; }
.document-link i { color: var(--gold-bright); font-style: normal; font-size: 20px; }

.principles-section { background: var(--paper-deep); }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle-grid article { min-height: 310px; padding: 45px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-grid b { color: var(--gold-dark); font-family: "PT Serif", Georgia, serif; font-weight: 400; }
.principle-grid h2 { margin: 65px 0 15px; font-family: "PT Serif", Georgia, serif; font-size: 32px; font-weight: 400; }
.principle-grid p { max-width: 500px; margin: 0; color: #686b6e; }

.company-section { background: var(--paper-deep); }
.company-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 8vw; align-items: center; }
.company-visual { position: relative; min-height: 590px; margin: 0; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.company-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(10,12,14,.9)); }
.company-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04); }
.company-visual figcaption { position: absolute; z-index: 1; right: 32px; bottom: 30px; left: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.82); font-size: 12px; letter-spacing: .08em; line-height: 1.6; text-transform: uppercase; }
.company-copy h2, .portfolio-intro h2 { margin: 17px 0 25px; font-family: "PT Serif", Georgia, serif; font-size: clamp(32px, 3.1vw, 46px); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; }
.company-copy > p { margin: 0 0 18px; color: #5f6265; line-height: 1.8; }
.company-facts { margin: 35px 0 0; border-top: 1px solid var(--line); }
.company-facts > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 26px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company-facts dt { color: #5c5f62; font-size: 12px; }
.company-facts dd { margin: 0; font-size: 13px; font-weight: 700; text-align: right; }
.company-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }

.client-projects-section { background: var(--paper); }
.portfolio-intro { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 8vw; margin-bottom: 55px; }
.portfolio-intro h2 { margin-bottom: 0; }
.portfolio-intro p { margin: 0 0 6px; color: #64676a; font-size: 15px; line-height: 1.8; }
.client-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-project-card { min-width: 0; min-height: 380px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: transform .25s, box-shadow .25s; }
.client-project-card:hover { position: relative; z-index: 1; background: var(--white); transform: translateY(-4px); box-shadow: 0 20px 45px rgba(17,19,21,.1); }
.client-project-logo { height: 188px; display: grid; place-items: center; padding: 25px; border-bottom: 1px solid var(--line); background: #fff; }
.client-project-logo img { width: 100%; height: 100%; object-fit: contain; }
.client-project-copy { padding: 28px 27px 30px; }
.client-project-copy > span { color: var(--gold-dark); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.client-project-copy h2 { margin: 24px 0 12px; font-family: "PT Serif", Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.2; }
.client-project-copy p { margin: 0; color: #5c5f62; font-size: 13px; line-height: 1.65; }

.legal-section { padding-top: 72px; }
.legal-copy { max-width: 880px; padding: 55px 64px; background: var(--white); box-shadow: 0 20px 55px rgba(17,19,21,.08); }
.legal-copy .legal-lead { padding-bottom: 28px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 18px; }
.legal-copy h2 { margin: 38px 0 10px; font-size: 20px; }
.legal-copy p { color: #606366; line-height: 1.8; }
.legal-copy a { color: var(--gold-dark); text-decoration: underline; }
.legal-date { margin-top: 45px; padding-top: 23px; border-top: 1px solid var(--line); font-size: 12px; }

.service-detail { background: var(--paper-deep); }
.service-detail-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 9vw; align-items: start; }
.service-main h2 { margin: 16px 0 42px; }
.task-list { border-top: 1px solid var(--line); }
.task-list > div { display: grid; grid-template-columns: 65px 1fr; gap: 25px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.task-list b { color: var(--gold-dark); font-family: "PT Serif", Georgia, serif; font-weight: 400; }
.task-list span { font-size: 17px; font-weight: 650; }
.service-aside { position: sticky; top: calc(var(--header-h) + 30px); padding: 38px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.aside-label { display: block; color: #888c91; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.service-aside > strong { display: block; margin: 12px 0 4px; color: var(--gold-bright); font-family: "PT Serif", Georgia, serif; font-size: 38px; font-weight: 400; }
.service-aside > small { color: #7f8388; text-transform: uppercase; }
.service-aside hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line-dark); }
.service-aside p { color: #a4a7aa; font-size: 13px; line-height: 1.7; }
.service-aside .button { width: 100%; margin-top: 18px; }
.service-context { background: var(--paper); }
.context-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: min(9vw, 96px); align-items: start; }
.context-lists { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.context-card { min-height: 360px; padding: 31px 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.context-card > span { color: var(--gold-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.context-card ul { margin: 42px 0 0; padding: 0; list-style: none; }
.context-card li { position: relative; margin: 0 0 17px; padding-left: 17px; color: #5f6265; font-size: 13px; line-height: 1.55; }
.context-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--gold-dark); }
.workflow-section { color: var(--white); background: var(--ink); }
.workflow-section .section-heading h2 { color: var(--white); }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.workflow-grid > div { min-height: 245px; padding: 31px; border-right: 1px solid var(--line-dark); }
.workflow-grid > div:first-child { padding-left: 0; }
.workflow-grid > div:last-child { border: 0; }
.workflow-grid b { color: var(--gold); font-family: "PT Serif", Georgia, serif; font-weight: 400; }
.workflow-grid h3 { margin: 57px 0 10px; font-size: 17px; }
.workflow-grid p { margin: 0; color: #898d92; font-size: 13px; }

.related-section { background: var(--paper-deep); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.related-card { position: relative; min-height: 230px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, transform .2s; }
.related-card:hover { z-index: 1; background: var(--white); transform: translateY(-3px); }
.related-card > span { color: #707376; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.related-card h3 { max-width: 300px; margin: 45px 0 12px; font-family: "PT Serif", Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.18; }
.related-card strong { color: var(--gold-dark); font-size: 12px; }
.related-card i { position: absolute; right: 26px; bottom: 26px; color: var(--gold-dark); font-size: 19px; font-style: normal; }

.not-found { min-height: 78vh; padding: calc(var(--header-h) + 110px) 0 100px; color: var(--white); background: var(--ink); text-align: center; }
.not-found > .shell > span { display: block; color: var(--gold); font-family: "PT Serif", Georgia, serif; font-size: clamp(90px, 17vw, 220px); line-height: 1; }
.not-found h1 { margin: 10px 0; font-family: "PT Serif", Georgia, serif; font-size: 46px; font-weight: 400; }
.not-found p { color: #8d9195; }
.not-found > .shell > div { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 35px; }

.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1279px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 13px; }
}

@media (max-width: 1220px) {
  /* Подпись под названием дублирует то, что и так есть в меню и подвале,
     поэтому в тесном диапазоне убираем её ради телефона и кнопки расчёта. */
  .brand small { display: none; }
  .brand { min-width: 0; }
}

@media (max-width: 1120px) {
  :root { --shell: min(100% - 42px, 1080px); }
  .header-inner { gap: 22px; }
  .brand { min-width: 210px; }
  .brand small { display: none; }
  .header-contact { display: none; }
  .header-cta { display: none; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .client-project-grid { grid-template-columns: repeat(2, 1fr); }
  .split-heading { grid-template-columns: .55fr 1.2fr 1fr; gap: 34px; }
  .footer-actionbar { grid-template-columns: minmax(0, 1fr) auto auto; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .footer-brand, .footer-company { padding-right: 40px; }
  .footer-services, .footer-contacts { padding-left: 40px; }
  .footer-company, .footer-contacts { margin-top: 38px; padding-top: 38px; border-top: 1px solid var(--line-dark); }
  .footer-company { padding-left: 0; border-left: 0; }
}

@media (max-width: 860px) {
  :root { --header-h: 76px; --shell: calc(100% - 36px); }
  .site-header { height: var(--header-h); }
  .header-inner { justify-content: space-between; }
  .brand { min-width: auto; }
  .brand img { width: 49px; height: 49px; margin-right: 9px; }
  .brand strong { font-size: 19px; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 10px; border: 1px solid rgba(255,255,255,.2); background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 100%; height: 1px; background: var(--white); transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  /* backdrop-filter у шапки делает ее содержащим блоком для position: fixed,
     из-за чего меню растягивалось на высоту шапки, а не на экран. Пока меню
     открыто, размытие отключаем — панель и так закрывает страницу целиком. */
  body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .menu-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; margin-top: auto; padding: 24px 4px 0; }
  .menu-contact > span { color: rgba(255,255,255,.45); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .menu-phone { padding: 0; border: 0; color: var(--gold-bright); font-family: "PT Serif", Georgia, serif; font-size: 30px; }
  .menu-messengers { display: flex; flex-wrap: wrap; gap: 10px; }
  .menu-cta { width: 100%; }
  .site-nav a.menu-phone::after, .site-nav .menu-contact a::after { display: none; }
  .site-nav .menu-contact a { width: auto; padding: 0; border-bottom: 0; font-family: inherit; font-size: inherit; font-weight: inherit; }
  .site-nav .menu-contact a.menu-phone { font-family: "PT Serif", Georgia, serif; font-size: 30px; }
  .site-nav .menu-contact a.messenger-link { padding: 6px 13px; font-size: 12px; font-weight: 700; }
  .site-nav .menu-contact a.menu-cta { min-height: 54px; padding: 14px 25px; font-size: 13px; font-weight: 800; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 26px 18px 34px; background: var(--ink); transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; overflow-y: auto; overscroll-behavior: contain; }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav a { width: 100%; padding: 16px 4px; border-bottom: 1px solid var(--line-dark); font-family: "PT Serif", Georgia, serif; font-size: 26px; font-weight: 400; }
  .site-nav a::after { display: none; }
  .hero { min-height: 720px; height: auto; }
  .hero::after { background: linear-gradient(90deg, rgba(9,11,13,.93), rgba(9,11,13,.58)), linear-gradient(0deg, rgba(9,11,13,.9), transparent 44%); }
  .hero-media { background-position: 64% 50%; }
  .hero-content { min-height: 625px; height: auto; grid-template-columns: 1fr; align-content: center; padding-top: 115px; padding-bottom: 50px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(46px, 11vw, 70px); }
  .hero-license { display: none; }
  .hero-bottom { position: relative; height: 95px; }
  .hero-bottom > div { padding: 14px; }
  .hero-bottom > div:first-child { padding-left: 0; }
  .hero-bottom strong { font-size: 20px; }
  .hero-bottom span { font-size: 12px; }
  .section { padding: 82px 0; }
  .split-heading { grid-template-columns: 1fr; gap: 25px; }
  .split-heading h2 { margin-top: 0; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-grid, .request-grid, .document-grid, .contact-grid, .service-detail-grid, .company-grid { grid-template-columns: 1fr; }
  .seo-overview-grid, .faq-grid, .context-grid { grid-template-columns: 1fr; }
  .faq-heading { position: static; }
  .factor-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-visual { min-height: 430px; }
  .request-grid { gap: 55px; }
  .inner-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .inner-hero { padding: 205px 0 90px; }
  .hero-side-note { max-width: 400px; }
  .hero-service-visual { min-height: 340px; }
  .company-grid { gap: 55px; }
  .company-visual { min-height: 500px; }
  .portfolio-intro { grid-template-columns: 1fr; gap: 22px; }
  .footer-actionbar { grid-template-columns: 1fr auto; gap: 25px; padding: 28px 0; }
  .footer-action-button { grid-column: 1 / -1; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .service-aside { position: static; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .workflow-grid > div:nth-child(2) { border-right: 0; }
  .workflow-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .brand strong { font-size: 17px; }
  .hero-content { min-height: 650px; padding-top: 115px; }
  .hero h1 { margin-top: 20px; font-size: clamp(42px, 13vw, 58px); }
  .hero-copy > p { font-size: 16px; line-height: 1.6; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 30px; }
  .hero-actions .button { width: 100%; }
  /* На узком экране три показателя не помещаются в строку: «1 пост»
     переносился, а цена — самая полезная цифра — вовсе скрывалась.
     Разворачиваем в столбец, чтобы показать все три. */
  .hero-bottom { grid-template-columns: 1fr; height: auto; }
  .hero-bottom > div {
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }
  .hero-bottom > div:last-child { border-bottom: 0; }
  .hero-bottom strong { min-width: 118px; font-size: 21px; }
  .hero-bottom span { max-width: none; }
  .section { padding: 68px 0; }
  .split-heading h2, .section-heading h2, .trust-copy > h2, .document-copy h2, .contact-form-wrap h2, .service-main h2 { font-size: 38px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .process-strip, .service-grid, .workflow-grid, .principle-grid, .client-project-grid { grid-template-columns: 1fr; }
  .client-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .factor-grid, .context-lists { grid-template-columns: 1fr; }
  .service-pillar-grid { align-items: stretch; flex-direction: column; gap: 24px; }
  .service-pillar .button { width: 100%; }
  .factor-grid > div { min-height: 205px; padding: 28px 22px; }
  .factor-grid h3 { margin-top: 38px; }
  .faq-item summary { padding: 22px 0; font-size: 15px; }
  .faq-item p { margin-right: 28px; }
  .context-card { min-height: auto; padding: 27px 23px; }
  .context-card ul { margin-top: 28px; }
  .process-step { min-height: 200px; padding: 28px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:first-child { padding-left: 20px; }
  .process-step h3 { margin-top: 30px; }
  .service-card { min-height: 305px; }
  .service-card-media { opacity: .4; }
  .trust-visual { min-height: 390px; }
  .trust-list > div { grid-template-columns: 35px 1fr; }
  .trust-list p { grid-column: 2; }
  .request-grid { padding-top: 70px; padding-bottom: 70px; }
  .request-form, .document-card, .contact-panel { padding: 27px 22px; }
  .license-preview { gap: 7px; margin-bottom: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-submit { align-items: stretch; flex-direction: column; }
  .form-submit .button { width: 100%; }
  .footer-actionbar { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .footer-action-phone { min-width: 0; }
  .footer-action-button { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; padding-top: 46px; }
  .footer-brand { padding-right: 0; }
  .footer-services, .footer-company, .footer-contacts { margin-top: 32px; padding: 32px 0 0; border-top: 1px solid var(--line-dark); border-left: 0; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .inner-hero { padding-top: 185px; }
  .inner-hero h1 { font-size: 47px; }
  .inner-hero p { font-size: 15px; }
  .price-header { display: none; }
  .price-row { grid-template-columns: 1fr 20px; gap: 7px 15px; padding-block: 20px; }
  .price-row > span { grid-column: 1; }
  .price-row b { grid-column: 1; }
  .price-row strong { grid-column: 1; font-size: 20px; }
  .price-row i { grid-column: 2; grid-row: 1 / 4; }
  .price-note { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .document-card > strong { font-size: 20px; word-break: break-word; }
  .details-card > div { grid-template-columns: 1fr; gap: 6px; padding-inline: 10px; }
  .document-link { grid-template-columns: 1fr 24px; gap: 7px 12px; padding: 24px 20px; }
  .document-link span { grid-column: 1; }
  .document-link strong { grid-column: 1; font-size: 17px; word-break: break-word; }
  .document-link i { grid-column: 2; grid-row: 1 / 3; }
  .principle-grid article { min-height: 260px; padding: 32px 27px; }
  .principle-grid h2 { margin-top: 40px; }
  .company-visual { min-height: 390px; }
  .company-visual figcaption { right: 22px; bottom: 22px; left: 22px; }
  .company-facts > div { grid-template-columns: 1fr; gap: 5px; }
  .company-facts dd { text-align: left; }
  .company-actions { align-items: stretch; flex-direction: column; }
  .client-logo-item { min-height: 150px; padding-inline: 13px; }
  .client-project-card { min-height: 350px; }
  .legal-copy { padding: 34px 23px; }
  .workflow-grid > div { min-height: 200px; padding: 28px 20px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .workflow-grid > div:first-child { padding-left: 20px; }
  .workflow-grid h3 { margin-top: 35px; }
  .not-found h1 { font-size: 38px; }
  .not-found > .shell > div { align-items: stretch; flex-direction: column; }
}

/* ============================================================
   Мессенджеры, быстрые контакты и мобильная панель действий
   ============================================================ */
.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s;
}
.messenger-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.messenger-max::before { background: #7d5cf5; }
.messenger-telegram::before { background: #59a9dd; }
.messenger-link:hover { color: var(--white); background: var(--button); border-color: var(--button); }
.messenger-link:hover::before { background: var(--white); }

.header-messengers { display: flex; gap: 8px; }
.footer-action-messengers { display: none; gap: 8px; }
@media (min-width: 1121px) { .footer-action-messengers { display: flex; } }

.request-messengers { display: flex; gap: 10px; margin-top: 22px; }
.request-phone-second { display: block; margin-top: 8px; color: rgba(255,255,255,.66); font-size: 16px; font-weight: 600; }
.request-phone-second:hover { color: var(--white); }

.contact-messengers { display: flex; gap: 10px; margin-top: 18px; }
.contact-phone-second { display: block; margin-top: 6px; font-family: "PT Serif", Georgia, serif; font-size: 26px; }
.contact-hours { display: block; margin-top: 6px; color: var(--gold-dark); font-size: 17px; font-weight: 700; }

.footer-phone-second { display: block; margin-top: 6px; color: rgba(255,255,255,.7); font-size: 15px; font-weight: 600; }
.footer-phone-second:hover { color: var(--white); }
.footer-hours { display: block; margin-top: 8px; color: rgba(255,255,255,.45); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.mobile-actions { display: none; }
@media (min-width: 861px) { .menu-contact { display: none; } }

/* ============================================================
   Режимы поста
   ============================================================ */
.schedule-note { max-width: 760px; margin: 0 0 34px; color: #5f6265; font-size: 15px; line-height: 1.7; }
.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.schedule-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 34px 30px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.schedule-card h3 { margin: 0; font-size: 20px; font-weight: 700; }
.schedule-hours { color: var(--gold-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.schedule-card p { margin: 0; color: #5f6265; font-size: 14px; line-height: 1.65; }
.schedule-price { margin-top: auto; padding-top: 18px; color: var(--ink); font-family: "PT Serif", Georgia, serif; font-size: 24px; font-weight: 400; }
.schedule-card .text-link { font-size: 12px; }

/* ============================================================
   Требования к сотруднику и порядок при инциденте
   ============================================================ */
.staff-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: start; }
.staff-copy h2 { margin: 14px 0 18px; font-family: "PT Serif", Georgia, serif; font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.15; }
.staff-copy > p { margin: 0 0 22px; color: #5f6265; font-size: 16px; line-height: 1.75; }
.staff-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.staff-list li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
}
.staff-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 14px;
  height: 1px;
  background: var(--gold-dark);
}
.incident-card { padding: 38px 34px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.incident-card > span { display: block; color: var(--gold-bright); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.incident-card p { margin: 20px 0 0; color: #b6b9bc; font-size: 14px; line-height: 1.75; }

/* ============================================================
   Границы услуги и контроль поста
   ============================================================ */
.limits-section { background: var(--paper-deep); }
.limits-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.limit-card { padding: 32px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.limit-card h3 { position: relative; margin: 0 0 14px; padding-left: 26px; font-size: 18px; font-weight: 700; }
.limit-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 1px;
  background: var(--gold-dark);
  box-shadow: 0 5px 0 var(--gold-dark);
  transform: rotate(45deg);
}
.limit-card p { margin: 0; color: #5f6265; font-size: 14px; line-height: 1.7; }

.control-section { background: var(--paper-deep); }
.control-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.control-card { display: grid; grid-template-columns: 34px 1fr; gap: 0 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.control-card b { grid-row: span 2; color: var(--gold-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; padding-top: 4px; }
.control-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.control-card p { margin: 0; color: #5f6265; font-size: 14px; line-height: 1.7; }

/* ============================================================
   Перечень услуг по лицензии
   ============================================================ */
.licensed-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.licensed-card { display: flex; gap: 18px; padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.licensed-card b { color: var(--gold-dark); font-family: "PT Serif", Georgia, serif; font-size: 26px; font-weight: 400; line-height: 1; }
.licensed-card p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.55; }
.licensed-note { margin-top: 48px; padding: 38px 40px; border-left: 2px solid var(--gold); background: var(--white); }
.licensed-note h3 { margin: 0 0 16px; font-family: "PT Serif", Georgia, serif; font-size: 26px; font-weight: 400; }
.licensed-note p { margin: 0 0 14px; color: #5f6265; font-size: 15px; line-height: 1.75; }
.licensed-note p:last-child { margin-bottom: 0; }

/* ============================================================
   Дополнительные направления
   ============================================================ */
.extra-services-section { background: var(--paper-deep); }
.extra-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.extra-service-cta { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); color: var(--white); }
.extra-service-cta strong { font-family: "PT Serif", Georgia, serif; font-size: 22px; font-weight: 400; line-height: 1.25; }
.extra-service-cta p { margin: 0; color: #a4a7aa; font-size: 13px; line-height: 1.6; }
.extra-service-cta .text-link { margin-top: 6px; color: var(--gold-bright); font-size: 12px; }
.extra-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 32px 28px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background .2s, transform .2s;
}
.extra-service-card:hover { transform: translateY(-3px); background: var(--paper); }
.extra-service-card > span { color: var(--gold-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.extra-service-card h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.25; }
.extra-service-card p { margin: 0; color: #5f6265; font-size: 14px; line-height: 1.65; }
.extra-service-card strong { margin-top: auto; padding-top: 16px; color: var(--gold-dark); font-family: "PT Serif", Georgia, serif; font-size: 21px; font-weight: 400; }
.extra-service-card i { position: absolute; right: 24px; bottom: 28px; color: var(--gold-dark); font-style: normal; font-size: 19px; }
.extra-service-hero .hero-side-note { max-width: 420px; }

/* ============================================================
   Пояснение к цене
   ============================================================ */
.price-explainer { background: var(--paper-deep); }
.price-explainer-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: start; }

/* ============================================================
   Карта на контактах (подгружается по клику)
   ============================================================ */
.map-embed {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  background: var(--white);
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 40px 24px;
  text-align: center;
}
.map-placeholder p { margin: 0; max-width: 460px; color: #5f6265; font-size: 15px; line-height: 1.7; }
.map-placeholder strong { color: var(--ink); font-size: 17px; }
.map-embed.is-loaded { min-height: 0; }
.map-embed iframe { display: block; width: 100%; height: 460px; border: 0; }

/* ============================================================
   Формы: подсказки и вспомогательные поля
   ============================================================ */
.request-form label em { color: rgba(255,255,255,.5); font-size: 12px; font-style: normal; letter-spacing: .02em; text-transform: none; }
.standalone-form label em { color: var(--muted); }
.form-hint { margin: 16px 0 0; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.6; }
.form-hint a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.standalone-form .form-hint { color: var(--muted); }
.standalone-form .form-hint a { color: var(--gold-dark); }

/* ============================================================
   Страница благодарности и служебная страница обработчика
   ============================================================ */
.not-found.thanks > .shell > span { color: var(--gold-bright); font-size: clamp(72px, 9vw, 120px); }
.thanks-phone { margin-top: 6px; }
.thanks-phone a { color: var(--gold-bright); font-weight: 700; }
.thanks-messengers { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 6px; }
.not-found.thanks p { margin-inline: auto; max-width: 620px; }

.plain-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 40px 20px; }
.plain-message { max-width: 560px; text-align: center; }
.plain-message h1 { font-family: "PT Serif", Georgia, serif; font-size: 34px; font-weight: 400; }
.plain-message a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Адаптив для новых блоков
   ============================================================ */
@media (max-width: 1420px) {
  .header-messengers { display: none; }
}

@media (max-width: 1120px) {
  .header-messengers { display: none; }
  .schedule-grid, .licensed-grid, .extra-service-grid { grid-template-columns: repeat(2, 1fr); }
  .control-grid { gap: 0 36px; }
  .staff-grid, .price-explainer-grid { gap: 40px; }
}

@media (max-width: 860px) {
  .site-footer { padding-bottom: 64px; }
  .mobile-actions {
    position: fixed;
    z-index: 95;
    inset: auto 0 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    border-top: 1px solid rgba(255, 255, 255, .14);
    background: rgba(13, 15, 17, .97);
    backdrop-filter: blur(14px);
  }
  body.menu-open .mobile-actions { display: none; }
  .mobile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 10px 6px;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .12);
  }
  .mobile-action:last-child { border-right: 0; }
  .mobile-action-primary { color: var(--white); background: var(--button); }
  .schedule-grid, .licensed-grid, .extra-service-grid, .control-grid, .limits-grid { grid-template-columns: 1fr; }
  .staff-grid, .price-explainer-grid { grid-template-columns: 1fr; }
  .incident-card { padding: 30px 26px; }
  .licensed-note { margin-top: 34px; padding: 28px 24px; }
  .map-embed, .map-placeholder { min-height: 320px; }
  .map-embed iframe { height: 340px; }
}

@media (max-width: 560px) {
  .schedule-card, .limit-card, .control-card, .licensed-card, .extra-service-card { padding: 26px 20px; }
  .mobile-action { font-size: 12px; }
  .mobile-actions[data-actions="4"] .mobile-action { padding: 10px 2px; font-size: 12px; letter-spacing: -.01em; }
  .contact-messengers, .request-messengers, .thanks-messengers { flex-wrap: wrap; }
}

/* Переход с главной к направлениям, которых нет в сетке карточек. */
.home-extra-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line-dark); }
.home-extra-note p { margin: 0; max-width: 760px; color: #a4a7aa; font-size: 15px; line-height: 1.7; }
@media (max-width: 860px) {
  .home-extra-note { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================================
   Уведомление о cookie (выводится только вместе со счётчиком)
   ============================================================ */
.cookie-notice {
  position: fixed;
  z-index: 96;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  width: min(380px, calc(100% - 48px));
  padding: 20px 22px;
  color: var(--white);
  background: rgba(13, 15, 17, .97);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
/* Атрибут hidden обязан побеждать display: flex, иначе баннер не скрывается
   ни после выбора, ни до срабатывания скрипта. */
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; color: #b6b9bc; font-size: 13px; line-height: 1.6; }
.cookie-notice a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  /* Поднимаем над липкой панелью действий, чтобы ничего не перекрывалось. */
  .cookie-notice { left: 12px; right: 12px; bottom: 72px; width: auto; padding: 16px 18px; }
}

/* Вторая, равнозначная кнопка уведомления: отказ должен быть так же доступен,
   как согласие, поэтому это полноценная кнопка, а не мелкая ссылка. */
.button-ghost { color: var(--white); background: transparent; border-color: rgba(255, 255, 255, .38); }
.button-ghost:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .button { flex: 1 1 auto; min-width: 120px; }
.footer-cookie-settings { padding: 0; color: inherit; background: none; border: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer-cookie-settings:hover { color: var(--gold-bright); }

/* ============================================================
   Зоны нажатия на сенсорных экранах
   Рекомендуемый минимум — 44 px по высоте. Правила применяются только
   там, где нет курсора, поэтому десктопная вёрстка не меняется.
   Ссылки внутри абзацев не трогаем: их высоту задаёт строка текста.
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .site-footer li { margin: 0; }
  .site-footer li a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-service-list a { line-height: 1.35; padding: 6px 0; }

  .footer-email,
  .footer-phone,
  .footer-phone-second,
  .footer-all-services,
  .footer-all-contacts,
  .footer-license,
  .footer-bottom a,
  .footer-cookie-settings,
  .contact-panel > a,
  .card-footer a,
  .service-card h3 a,
  .text-link,
  .messenger-link,
  .breadcrumbs a,
  .breadcrumbs span {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Хлебные крошки идут в строку — высоту добираем отступами, чтобы
     соседние ссылки не наезжали друг на друга по вертикали. */
  .breadcrumbs { align-items: center; }

  /* Кнопка на заглушке карты и прочие мелкие кнопки. */
  .button-small { min-height: 44px; }

  /* Заголовок карточки услуги — ссылка на всю строку. */
  .service-card h3 a { align-items: flex-start; }
}

/* Тёмные карточки на светлых секциях: ссылка внутри помечена классом для
   светлого фона, поэтому оттенки возвращаем светлые. */
.contact-panel .text-link.dark,
.service-aside .text-link.dark,
.incident-card .text-link.dark,
.extra-service-cta .text-link.dark,
.document-card .text-link.dark { color: var(--white); }
.contact-panel .text-link.dark span,
.service-aside .text-link.dark span,
.incident-card .text-link.dark span,
.extra-service-cta .text-link.dark span,
.document-card .text-link.dark span { color: var(--gold-bright); }

/* ============================================================
   Переносы в заголовках
   Строки выравниваются по длине, чтобы в конце не оставалось
   одиноких коротких слов. На узких экранах принудительные переносы,
   расставленные под широкий макет, отключаются — там они ломают строку.
   ============================================================ */
/* Карточки: заголовки короткие, авторских переносов в них нет —
   выравнивание строк уместно на любой ширине. */
.service-card h3, .related-card h3, .extra-service-card h3, .schedule-card h3, .limit-card h3, .control-card h3 { text-wrap: balance; }

/* Строки заголовков выравниваются по длине, чтобы в конце не оставалось
   одиноких коротких слов и колонка не выглядела рваной. */
h1, h2, h3 { text-wrap: balance; }

@media (min-width: 1025px) {
  /* Там, где перенос расставлен вручную, авторская разбивка важнее
     автоматической — выравнивание для таких заголовков отключаем. */
  h1:has(br), h2:has(br), h3:has(br) { text-wrap: wrap; }
}

@media (max-width: 1024px) {
  /* Принудительные переносы рассчитаны на широкий трёхколоночный макет.
     Ниже 1024 px он уже перестроен, и эти переносы ломают строку. */
  h1 br, h2 br, h3 br { display: none; }
}

.process-note { padding: 56px 0; background: var(--paper-deep); }
.process-note p { max-width: 920px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.process-note strong { color: var(--ink); }
.process-note a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .process-note { padding: 40px 0; } }

.footer-fold > summary { list-style: none; cursor: default; }
.footer-fold > summary::-webkit-details-marker { display: none; }

@media (max-width: 860px) {
  .footer-actionbar { display: none; }
  .site-footer { padding-top: 8px; }
}

@media (max-width: 560px) {
  .footer-grid { display: flex; flex-direction: column; padding-top: 38px; }
  .footer-brand { order: 1; padding-bottom: 8px; }
  .footer-contacts { order: 2; margin-top: 28px; padding: 28px 0 0; }
  .footer-services { order: 3; }
  .footer-company { order: 4; }
  .footer-services, .footer-company { margin-top: 0; padding: 0; border-top: 1px solid var(--line-dark); }
  .footer-services { margin-top: 28px; }
  .footer-fold > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; }
  .footer-fold > summary h2 { margin: 0; }
  .footer-fold > summary::after { content: "+"; color: var(--gold-bright); font-size: 26px; font-weight: 400; line-height: 1; }
  .footer-fold[open] > summary::after { content: "\2212"; }
  .footer-fold[open] { padding-bottom: 14px; }
  .site-footer li { margin: 0; }
  .site-footer li a { display: flex; align-items: center; min-height: 44px; font-size: 15px; }
  .footer-all-services, .footer-all-contacts { min-height: 44px; margin-top: 4px; }
  .footer-contacts > a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-phone { margin: 6px 0 0; }
  .footer-phone-second { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; font-size: 19px; }
  .footer-email { font-size: 15px; }
  .footer-brand p { max-width: none; }
  .footer-license { min-height: 44px; justify-content: center; }
  .footer-bottom { gap: 0; margin-top: 30px; padding-top: 10px; }
  .footer-bottom a, .footer-bottom button { display: flex; align-items: center; min-height: 44px; }
  .footer-bottom span { padding: 8px 0; }
}

.client-project-logo { overflow: hidden; }
.client-project-logo img { width: auto; height: auto; max-width: 100%; max-height: 138px; object-fit: contain; }
.workflow-section .section-kicker { color: var(--gold-bright); }
.principle-grid p { color: var(--muted); }
.hero h1, .inner-hero h1 { overflow-wrap: break-word; }

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(40px, 11.4vw, 52px); }
  .inner-hero h1 { font-size: clamp(32px, 8.8vw, 47px); }
  .section { padding: 56px 0; }
}

@media (max-width: 860px) {
  .site-nav .menu-contact a.menu-phone { display: flex; align-items: center; min-height: 48px; }
  .site-nav .menu-contact a.menu-phone-second { min-height: 44px; color: rgba(255, 255, 255, .8); font-size: 24px; }
  .menu-messengers { width: 100%; }
  .site-nav .menu-contact a.messenger-link { flex: 1 1 100%; justify-content: center; min-height: 50px; font-size: 13px; }
  .site-nav .menu-contact a.menu-cta { width: 100%; }
}

@media (max-width: 560px) {
  .footer-bottom { margin-top: 24px; padding-top: 8px; color: #9a9ea2; }
  .footer-bottom a, .footer-bottom button { min-height: 40px; color: #a4a8ac; }
  .footer-bottom span { padding: 6px 0; }
}

.service-card > span { color: #a7abaf; }
.related-card > span, .document-card > span { color: #5c5f62; }
.standalone-form .consent { color: #5c5f62; }
.standalone-form .consent a { color: var(--gold-dark); }

@media (min-width: 561px) { .home-page .hero h1 { font-size: clamp(46px, 5.1vw, 76px); } }
@media (max-width: 560px) { .hero h1, .inner-hero h1 { hyphens: auto; } }
