@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/great-vibes-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/great-vibes-normal-400-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: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/open-sans-italic-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/open-sans-italic-400-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: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/open-sans-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/open-sans-normal-400-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: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/open-sans-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/open-sans-normal-400-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 {
  --red: #dc2527;
  --ink: #303030;
  --paper: #fff;
  --soft: #f7f7f7;
  --line: #e5e5e5;
  --sans: 'Open Sans', Arial, sans-serif;
  --signature: 'Great Vibes', cursive;
  --header-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(24px, 4.8vw, 84px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1.25rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
::selection { color: white; background: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.container { width: calc(100% - var(--gutter) * 2); max-width: 1512px; margin-inline: auto; }
.reading-width { width: calc(100% - 64px); max-width: 820px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: white; font-size: 1rem; }
.skip-link:focus { top: 16px; }

/* Keep the existing logo and header layout. */
.header { position: sticky; top: 0; z-index: 30; background: rgba(249,249,247,.97); backdrop-filter: blur(16px); border-bottom: 1px solid #dedfd9; font-family: var(--header-sans); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { width: 226px; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; gap: 30px; font-size: .875rem; }
.desktop-nav a { position: relative; padding: 12px 0; }
.desktop-nav a::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 0; height: 1px; background: var(--red); transition: width .2s; }
.desktop-nav a:hover::after { width: 100%; }
.header-phone { font-size: 1rem; white-space: nowrap; }
.header-phone:hover { color: var(--red); }
.menu-toggle { display: none; }
.mobile-nav[hidden] { display: none; }

/* Portrait first, followed directly by the quotation. */
.hero { position: relative; background: #211b1f; }
.hero-photo { width: 100%; height: clamp(12rem, 56.25vw, 42rem); object-fit: cover; object-position: 50% 40%; }
.quote-section { padding: 46px 0 42px; background: var(--soft); text-align: center; }
.quote { position: relative; }
.quote blockquote { position: relative; z-index: 1; font-size: 1.6rem; font-style: italic; line-height: 1.65; }
.quote::before { content: '”'; position: absolute; right: -22px; top: -34px; color: #fff; font: 12rem/.9 Georgia, serif; pointer-events: none; }
.signature { font: 400 3.2rem/1.5 var(--signature); color: #1b1b1b; }
.quote .signature { margin-top: 32px; }
.quote .signature::before { content: ''; display: block; width: 64%; max-width: 360px; height: 2px; margin: 0 auto 23px; background: var(--red); }
.intro-section { padding: 42px 0 65px; text-align: center; }
.intro::before { content: ''; display: block; width: 30px; height: 3px; margin: 0 auto 45px; background: var(--red); }
.intro p + p { margin-top: 26px; }

/* All service descriptions stay visible, as in the supplied reference. */
.services-surface { background: var(--soft); }
.service-section { padding-block: 64px; text-align: center; }
h2 { margin-bottom: 38px; font-size: 1.8rem; line-height: 1.4; font-weight: 700; }
h3 { font-size: 1.5rem; line-height: 1.45; font-weight: 700; }
h4 { font-size: 1.25rem; line-height: 1.5; font-weight: 700; }
p + p { margin-top: 22px; }
.sales { padding-bottom: 28px; }
.sales-point + .sales-point { margin-top: 34px; }
.sales-point h3 { font-size: 1.25rem; }
.sales-point p { margin-top: 2px; }
.purchase { padding-top: 46px; }
.purchase h2 { max-width: 760px; margin-inline: auto; }
.purchase-type h3 { margin-bottom: 25px; font-size: 1.7rem; }
.purchase-type + .purchase-type { margin-top: 64px; }
.purchase-type + .purchase-type::before { content: ''; display: block; width: 30px; height: 2px; margin: 0 auto 36px; background: var(--red); }
.verification-note { margin-top: 34px; }
.verification-note h4 { margin-bottom: 18px; }
.additional-surface { background: #fff; }
.additional-surface .service-section + .service-section { border-top: 1px solid var(--line); }
.approach-section { padding: 65px 0; text-align: center; background: var(--soft); }
.priorities { font-weight: 700; }
.reputation { margin: 30px 0 24px; color: var(--red); font-weight: 700; }

.footer { padding: 50px 0 30px; color: #f4f3f6; background: #28272d; text-align: center; }
.contact-label { color: #bdbbc1; font-size: 1.2rem; }
.contact-links { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 18px; }
.contact-phone { font-size: 1.8rem; line-height: 1.4; font-weight: 700; }
.contact-phone:hover { text-decoration: underline; text-underline-offset: 6px; }
.whatsapp-link { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 49px; height: 49px; border-radius: 50%; background: #18b64e; color: #fff; transition: background .2s; }
.whatsapp-link:hover { background: #10913c; }
.requisites { margin-top: 26px; }
.requisites p + p { margin-top: 15px; }
.requisites span { white-space: nowrap; }
.legal-note { margin-top: 35px; padding-top: 28px; border-top: 1px solid #48464c; color: #bdbbc1; font-size: 1rem; line-height: 1.75; }
.legal-note p + p { margin-top: 14px; }
.back-top { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 22px; font-size: .875rem; color: #d9d7dd; }
.footer-intro { margin-bottom: 32px; padding-bottom: 30px; border-bottom: 1px solid #48464c; }
.footer-intro .signature { color: white; margin-bottom: 16px; }
.footer-intro p { color: #bdbbc1; }

/* Messenger shortcuts and public documents. */
.quick-contact { display: none; }
.messenger-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.messenger-link { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 8px 14px; border: 1px solid #5c5961; border-radius: 8px; color: #fff; font-size: .875rem; }
.messenger-link:hover { background: #3e3b43; }
.messenger-link.channel-whatsapp svg { color: #62d58c; }
.messenger-link.channel-telegram svg { color: #6cc8f4; }
.messenger-link.channel-max svg { color: #baabff; }
.legal-links { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px; font-size: .875rem; line-height: 1.6; }
.legal-links a { text-decoration: underline; text-underline-offset: 4px; }
.max-help-link { display: inline-block; padding: 10px; margin-top: 6px; font-size: .8125rem; color: #d9d7dd; text-decoration: underline; text-underline-offset: 3px; }
.document-page { background: #fff; }
.document-main { max-width: 960px; padding-block: 38px 70px; }
.document-back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 26px; font-size: .9375rem; }
.document-back:hover { color: var(--red); }
.document-heading { margin-bottom: 38px; }
.document-eyebrow { margin-bottom: 14px; color: #686868; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
.document-heading h1 { margin-bottom: 20px; font-size: clamp(1.65rem, 4vw, 2.65rem); font-weight: 700; line-height: 1.25; overflow-wrap: break-word; }
.document-heading > p:not(.document-eyebrow) { font-size: 1rem; }
.document-heading .document-meta { margin-top: 16px; color: #666; font-size: .875rem; }
.document-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; margin-top: 22px; border: 1px solid var(--red); border-radius: 6px; background: var(--red); color: #fff; font-size: .9375rem; line-height: 1.5; cursor: pointer; text-align: center; }
.document-button[hidden] { display: none; }
.document-button:hover { background: #b91d20; }
.button-secondary { color: var(--ink); background: white; border-color: #cacaca; }
.button-secondary:hover { background: #f1f1f1; }
.document-toc { margin-bottom: 42px; padding: 25px 28px; border-radius: 10px; background: var(--soft); font-size: .9375rem; line-height: 1.65; }
.document-toc > p { font-weight: 700; margin-bottom: 14px; }
.document-toc ol { padding: 0; margin: 0; list-style: none; }
.document-toc li + li { margin-top: 12px; }
.document-toc a { text-decoration: underline; text-underline-offset: 3px; }
.document-text { font-size: 1rem; line-height: 1.8; overflow-wrap: break-word; }
.document-text h2 { margin: 42px 0 22px; font-size: 1.4rem; line-height: 1.4; }
.document-text h2:first-child { margin-top: 0; }
.document-text p + p { margin-top: 15px; }
.document-text .document-list-item { padding-left: 18px; text-indent: -12px; margin-top: 7px; }
.consent-text { overflow-wrap: anywhere; }
.document-footer { padding: 30px 0; background: #28272d; color: #eee; font-size: .875rem; text-align: center; }
.document-footer .legal-links { margin-block: 22px; }
.max-badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 15px; background: #eeeaff; color: #6345ce; }
.max-badge svg { width: 32px; height: 32px; }
.max-direct { margin-top: 10px; }
.max-contact-card { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.max-contact-card .max-phone { font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.max-contact-card .copy-status { font-size: .875rem; line-height: 1.6; }
.copy-status:empty { display: none; }
.max-steps { padding-left: 23px; margin: 28px 0 0; font-size: 1rem; }
.max-steps li + li { margin-top: 12px; }
.max-alternative { margin-top: 26px; font-size: .9375rem; }
.max-alternative a { text-decoration: underline; text-underline-offset: 3px; }

.cookie-notice { position: fixed; z-index: 40; inset: auto max(20px, calc((100vw - 1180px) / 2)) 20px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 24px; border: 1px solid #ddd; border-radius: 12px; background: rgba(255,255,255,.98); box-shadow: 0 14px 48px #0002; color: var(--ink); font: 400 .875rem/1.55 var(--sans); backdrop-filter: blur(12px); }
.cookie-notice-copy { max-width: 760px; }
.cookie-notice strong { display: block; margin-bottom: 5px; font-size: 1rem; }
.cookie-notice p { margin: 0; }
.cookie-notice-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 9px; }
.cookie-notice-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.cookie-button { min-height: 44px; padding: 10px 18px; border: 1px solid #c93133; border-radius: 6px; font: 600 .875rem/1 var(--sans); cursor: pointer; }
.cookie-button-primary { background: #c93133; color: white; }
.cookie-button-secondary { background: white; color: #912628; }
.cookie-button:hover { filter: brightness(.96); }
.cookie-button:focus-visible, .cookie-notice a:focus-visible { outline: 3px solid #c9313355; outline-offset: 3px; }

@media (max-width: 1100px) {
  .desktop-nav { gap: 18px; }
  .brand { width: 195px; }
  .header-inner { gap: 20px; min-height: 92px; }
  .header-phone { font-size: .875rem; }
  .reading-width { max-width: 760px; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 86px; }
  .brand { width: 183px; }
  .desktop-nav { display: none; }
  .header-phone { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
  .menu-toggle span { display: block; width: 24px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav { display: flex; flex-direction: column; gap: 4px; padding: 16px var(--gutter) 24px; border-top: 1px solid var(--line); font-size: 1rem; }
  .mobile-nav a { padding: 10px 0; }
  .quote blockquote { font-size: 1.35rem; }
  .signature { font-size: 2.7rem; }
  body { font-size: 1.125rem; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 90px; }
  body { font-size: 1.0625rem; line-height: 1.65; }
  .header-inner { min-height: 76px; gap: 12px; }
  .header-phone { display: none; }
  .brand { width: 174px; }
  .menu-toggle { margin-left: auto; }
  .reading-width { width: calc(100% - 48px); }
  .hero-photo { height: auto; aspect-ratio: 1800 / 1012; object-position: center; }
  .quote-section { padding: 24px 0 26px; }
  .quote { width: calc(100% - 60px); }
  .quote blockquote { font-size: 1.125rem; line-height: 1.65; }
  .quote::before { right: -10px; top: -5px; font-size: 7rem; }
  .quote .signature { margin-top: 28px; }
  .signature { font-size: clamp(1.2rem, 6.4vw, 2.4rem); line-height: 1.5; white-space: nowrap; }
  .quote .signature::before { width: 68%; margin-bottom: 15px; }
  .intro-section { padding: 30px 0 43px; }
  .intro::before { margin-bottom: 40px; width: 28px; height: 2px; }
  .intro p + p { margin-top: 28px; }
  .service-section { padding-block: 44px; }
  h2 { font-size: 1.3rem; line-height: 1.45; margin-bottom: 30px; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1.0625rem; }
  p + p { margin-top: 22px; }
  .sales { padding-bottom: 22px; }
  .sales-point h3 { font-size: 1.0625rem; line-height: 1.45; }
  .sales-point + .sales-point { margin-top: 28px; }
  .purchase { padding-top: 44px; }
  .purchase h2 { font-size: 1.18rem; }
  .purchase-type h3 { font-size: 1.5rem; margin-bottom: 25px; }
  .purchase-type + .purchase-type { margin-top: 46px; }
  .purchase-type + .purchase-type::before { margin-bottom: 30px; }
  .approach-section { padding: 44px 0; }
  .reputation { margin: 26px 0 22px; }
  .footer { padding: 35px 0 22px; }
  .contact-label { font-size: 1.0625rem; }
  .contact-links { gap: 16px; margin-top: 15px; flex-wrap: wrap; }
  .contact-phone { font-size: 1.25rem; white-space: nowrap; }
  .whatsapp-link { width: 44px; height: 44px; }
  .requisites { margin-top: 22px; }
  .requisites p + p { margin-top: 12px; }
  .legal-note { margin-top: 27px; padding-top: 24px; font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 820px) {
  html { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .quick-contact { position: fixed; z-index: 25; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 7px max(12px, env(safe-area-inset-right, 0px)) calc(7px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: rgba(255,255,255,.98); border-top: 1px solid #e3e3e3; box-shadow: 0 -4px 24px #0000000a; }
  .quick-contact-link { min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 8px; font: 400 .75rem/1.3 var(--sans); }
  .quick-contact-link:hover { background: #f3f3f3; }
  .quick-contact-link.channel-phone svg { color: #aa2426; }
  .quick-contact-link.channel-whatsapp svg { color: #14833c; }
  .quick-contact-link.channel-telegram svg { color: #167ead; }
  .quick-contact-link.channel-max svg { color: #6848c9; }
  .document-main { padding-block: 24px 44px; }
  .document-back { margin-bottom: 18px; }
  .document-heading { margin-bottom: 28px; }
  .document-text { font-size: .9375rem; line-height: 1.75; }
  .document-text h2 { font-size: 1.2rem; }
  .document-toc { padding: 20px; }
  .max-contact-card { padding: 20px; }
  .max-contact-card .max-phone { font-size: 1.3rem; }
  .mobile-nav { max-height: calc(100svh - 165px - env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
  .cookie-notice { inset: auto 12px calc(82px + env(safe-area-inset-bottom, 0px)); display: block; padding: 17px 18px; border-radius: 10px; font-size: .8125rem; }
  .cookie-notice strong { font-size: .9375rem; }
  .cookie-notice-links { display: grid; gap: 5px; margin-top: 8px; }
  .cookie-notice-actions { margin-top: 14px; }
  .cookie-button { flex: 1; }
}

@media print {
  body { padding-bottom: 0; }
  .header { position: static; }
  .menu-toggle, .mobile-nav, .back-top, .whatsapp-link { display: none !important; }
  .hero-photo { max-height: 300px; }
  .footer { background: white; color: black; }
  .quick-contact, .cookie-notice, .document-page .header, .document-footer, .document-back, .document-toc, .document-button, .document-eyebrow, .document-meta { display: none !important; }
  .document-main { width: 100%; max-width: none; padding: 0; }
  .document-heading h1 { font-size: 20pt; }
  .document-heading { margin-bottom: 20pt; }
  .document-text { font-size: 10.5pt; line-height: 1.45; }
  .document-text h2 { font-size: 13pt; break-after: avoid; }
  .document-text p { orphans: 3; widows: 3; }
}
