/* СтАК: standalone styles; no framework or external font requests. */
:root {
  color-scheme: dark;
  --background: #1a1a1a;
  --surface: #f2f3f4;
  --text: #ffffff;
  --muted: #dddddd;
  --accent: #a8cff1;
  --button-hover: #e8eaeb;
  --button-hover-border: #aeb3b6;
  --width: 1140px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f5cf75; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
p, li { overflow-wrap: break-word; }
h1 { font-size: clamp(2.15rem, 4.1vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 28px; }
h3 { font-size: 1.2rem; }
p + p { margin-top: 20px; }
section, article { scroll-margin-top: 104px; }
.container { width: min(var(--width), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 24px; padding: 8px 16px; background: #fff; color: #1a1a1a; transform: translateY(-180%); z-index: 10; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 800; background: var(--background); border-bottom: 1px solid #3d3d3d; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 42px; object-fit: contain; }
.brand span { font-size: 2.25rem; line-height: 1; }
#navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 444px; max-width: 100%; }
#navigation a { display: inline-flex; align-items: center; justify-content: center; min-width: 0; height: 44px; padding: 10px 16px; border: 0; background: transparent; color: white; font-size: 1rem; font-weight: 500; text-transform: uppercase; text-decoration: none; text-decoration-thickness: 2px; text-underline-offset: .45em; white-space: nowrap; }
#navigation a:hover { background: transparent; color: var(--button-hover); text-decoration: underline; }
.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 7px 12px; border: 1px solid #888; background: transparent; color: inherit; }
.hero { position: relative; isolation: isolate; min-height: clamp(660px, 60vw, 880px); padding: clamp(56px, 7vw, 100px) 0; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(18 22 26 / .38), rgb(18 22 26 / .16) 44%, transparent 74%); z-index: -1; }
.hero-content { position: relative; }
.eyebrow { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; }
.hero h1 { max-width: 780px; font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-shadow: 0 2px 14px rgb(0 0 0 / .2); }
.hero .eyebrow { font-weight: 500; letter-spacing: .1em; }
.hero .eyebrow, .hero-description { text-shadow: 0 2px 8px rgb(0 0 0 / .25); }
.hero-description { font-size: 1.25rem; line-height: 1.5; margin-top: 24px; max-width: 650px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.actions .button { min-width: 204px; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 12px 24px; border: 2px solid white; background: white; color: #1a1a1a; font-size: 1rem; font-weight: 700; text-decoration: none; line-height: 1.4; }
.button:hover { background: var(--button-hover); border-color: var(--button-hover-border); color: #222; }
.button-outline { background: transparent; color: white; }
.section { padding-block: 72px; }
.section-muted { background: var(--surface); color: #222; color-scheme: light; }
.section-muted a:hover { color: #234d70; }
.section-muted :focus-visible { outline-color: #385c7b; }
.section-muted .button { background: #333; border-color: #333; color: white; }
.section-muted .button:hover { background: var(--button-hover); border-color: var(--button-hover-border); color: #222; }
.intro { text-align: center; }
.intro p { max-width: 760px; margin-inline: auto; font-size: 1.125rem; }
.service-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 16px; margin-top: 32px; }
.service-links a { display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 16px 12px; padding: 20px; border: 1px solid #d5d9dc; background: white; color: #222; text-align: left; text-decoration: none; line-height: 1.4; }
.service-links a:hover { background: var(--button-hover); border-color: var(--button-hover-border); color: #222; }
.service-link-number, .service-link-arrow { color: #666; font-size: 1.125rem; }
.service-link-title { grid-column: 1 / -1; font-size: 1rem; font-weight: 700; }
.prose { max-width: 900px; }
.prose h2 { text-align: center; }
.prose p, .prose li { font-size: 1rem; line-height: 1.6; }
ul { margin-block: 20px; padding-left: 24px; }
li + li { margin-top: 10px; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.about-copy { max-width: none; min-width: 0; }
.about-copy h2 { text-align: left; }
.about-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.about-heading h2 { margin-bottom: 0; }
.about-copy .about-kicker { margin-bottom: 12px; color: #606060; font-size: .75rem; font-weight: 700; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.about-since { padding: 8px 12px; border: 1px solid #c5c8cb; color: #555; font-size: .8125rem; white-space: nowrap; }
.about-copy .about-lead { font-size: 1.125rem; }
.about-principles { list-style: none; display: grid; gap: 12px; margin-block: 24px; padding: 20px 0; border-block: 1px solid #d1d4d6; }
.about-principles li { display: flex; align-items: baseline; gap: 12px; }
.about-principles li + li { margin-top: 0; }
.about-principles li::before { content: '✓'; color: #555; }
.about-copy .about-motto { margin-top: 28px; color: #606060; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.about-photo { min-width: 0; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.services { background: var(--background); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; align-items: start; }
.service-card { display: grid; min-width: 0; background: white; color: #222; border-top: 3px solid #888; }
.service-grid > .service-card { display: block; }
.service-heading { padding: 28px 32px; }
.service-label { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; color: #555; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }
.service-label span { color: #777; font-size: 1.25rem; font-weight: 400; letter-spacing: 0; }
.service-heading h2 { margin-bottom: 0; font-size: clamp(1.75rem, 2.6vw, 2rem); }
.service-detail { padding: 24px 32px; border-top: 1px solid #e4e4e4; }
.service-detail h3, .service-result h3 { margin-bottom: 12px; font-size: .75rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; }
.service-detail p, .service-detail li, .service-result p { font-size: 1rem; line-height: 1.6; }
.service-detail ul { margin: 0; padding-left: 20px; }
.service-detail p + ul { margin-top: 16px; }
.service-detail ul + p { margin-top: 20px; }
.service-detail li { padding-left: 4px; }
.service-detail li::marker { color: #888; }
.service-detail li + li { margin-top: 8px; }
.service-detail .service-detail-note { margin-top: 16px; color: #555; font-size: .875rem; }
.service-result { padding: 24px 32px; background: #f1f2f3; border-top: 1px solid #d8dcdf; }
.service-result h3 { display: flex; align-items: center; gap: 10px; }
.service-result h3 span { font-size: 1rem; line-height: 1; }
.service-grid .service-heading { padding: 28px 32px; }
.service-grid .service-label { margin-bottom: 12px; }
.service-grid .service-heading h2 { max-width: 12em; }
.service-grid .service-detail, .service-grid .service-result { padding: 24px 32px; }
.service-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
.service-wide > .service-heading, .service-wide > .service-result { grid-column: 1 / -1; }
.service-wide .service-heading h2 { max-width: 850px; }
.service-wide > .service-detail + .service-detail { border-left: 1px solid #e4e4e4; }
.service-wide > .service-result { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.service-terms { border-left: 1px solid #cdd1d4; padding-left: 32px; }
.service-result .service-rate { font-size: 1.5rem; font-weight: 700; line-height: 1.4; }
.service-result .service-terms-note { margin-top: 8px; color: #555; font-size: .875rem; }
.service-terms .button { margin-top: 20px; }
.contacts { padding-block: 48px; background: var(--background); }
.contacts h2 { text-align: left; }
.contacts-kicker { margin-bottom: 12px; line-height: 1.4; color: #bbb; text-transform: uppercase; font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.contacts-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: stretch; margin-top: 28px; }
.contact-card { line-height: 1.5; min-width: 0; background: #2a2a2a; border-top: 3px solid #888; }
.contact-head { padding: 18px 20px; }
.contact-label { margin-bottom: 12px; color: #ccc; text-transform: uppercase; font-size: .75rem; line-height: 1.4; font-weight: 700; letter-spacing: .06em; }
.contact-address { font-size: 1.5rem; line-height: 1.3; }
.contact-city { color: var(--muted); margin-top: 6px; font-size: .9375rem; }
.contact-section { padding: 14px 20px; border-top: 1px solid #484848; }
.contact-section > h3 { text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; line-height: 1.4; color: #ccc; margin-bottom: 12px; }
.contact-details { display: grid; gap: 0; }
.contact-details p { margin: 0; font-size: 1.125rem; overflow-wrap: anywhere; }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 4px; }
.contact-hours p { display: flex; justify-content: space-between; gap: 16px; font-size: 1rem; }
.contact-hours p + p { margin-top: 8px; }
.contact-note { color: var(--muted); font-size: 1rem; }
.metro-access { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 10px; margin-inline: -10px; border-bottom: 1px solid #484848; text-decoration: none; }
.metro-access:hover { color: #222; background: var(--button-hover); }
.metro-access:hover .metro-description > span { color: #555; }
.metro-symbol { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #c8343a; color: white; font-size: .875rem; font-weight: 700; }
.metro-access strong { display: block; font-size: 1rem; }
.metro-description > span { display: block; color: var(--muted); font-size: .75rem; margin-top: 2px; }
.metro-time { white-space: nowrap; font-size: 1rem; font-weight: 700; }
.contact-routes .contact-route-note { margin-top: 10px; color: #bbb; font-size: .75rem; line-height: 1.6; }
.map-panel { display: flex; flex-direction: column; min-width: 0; background: #2a2a2a; }
.yandex-map { display: block; flex: 1; width: 100%; min-height: 440px; border: 0; background: #e8e8e8; color-scheme: light; }
.site-footer { padding-block: 40px 28px; border-top: 1px solid #383838; background: #141414; font-size: .875rem; color: #bdbdbd; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 24px; padding-bottom: 28px; }
.footer-brand > a { display: inline-block; color: white; font-size: 2rem; line-height: 1.2; text-decoration: none; }
.footer-brand > a:hover { color: var(--button-hover); }
.footer-brand p { margin-top: 10px; line-height: 1.5; }
.footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 20px 40px; border-top: 1px solid #383838; padding-top: 24px; }
.footer-copyright { line-height: 1.6; }
.footer-copyright span { display: block; color: #999; }
.footer-credit { margin: 0; white-space: nowrap; }
.footer-credit a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 5px; color: #ddd; }
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-photo img { height: auto; aspect-ratio: 4 / 3; object-position: center 65%; }
  .service-grid { grid-template-columns: 1fr; row-gap: 24px; }
  .service-wide { grid-template-columns: 1fr; }
  .service-wide > .service-detail + .service-detail { border-left: 0; }
  .service-wide > .service-result { grid-template-columns: 1fr; gap: 24px; }
  .service-terms { border-left: 0; border-top: 1px solid #cdd1d4; padding: 24px 0 0; }
  .contacts-layout { grid-template-columns: 1fr; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .hero { min-height: calc(100vw + 160px); }
  .hero-image { object-position: center bottom; }
  .hero h1 { font-size: 2.5rem; }
}
@media (max-width: 800px) {
  .footer-bottom { grid-template-columns: 1fr; justify-items: start; gap: 8px; }
  .service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #navigation a { padding-inline: 10px; }
}
@media (max-width: 640px) {
  section, article { scroll-margin-top: 88px; }
  .container { width: calc(100% - 32px); }
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 0 16px; padding-block: 12px; }
  .brand { gap: 12px; }
  .brand img { width: 40px; height: 35px; }
  .brand span { font-size: 1.75rem; }
  .menu-toggle { display: inline-flex; }
  #navigation { width: 100%; gap: 4px; padding-top: 16px; }
  #navigation a { text-align: center; padding: 10px 6px; height: 44px; font-size: .9375rem; }
  .hero { min-height: max(720px, 170vw); padding: 40px 0 280px; }
  .hero-image { object-position: center bottom; }
  .hero::after { background: linear-gradient(180deg, rgb(18 22 26 / .3), rgb(18 22 26 / .12) 48%, transparent 68%); }
  .hero h1 { font-size: clamp(2rem, 8.7vw, 3rem); letter-spacing: -.025em; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .07em; }
  .eyebrow { font-size: .8rem; letter-spacing: .08em; }
  .hero-description { font-size: 1.0625rem; margin-top: 20px; }
  .actions { gap: 12px; }
  .actions .button { width: 100%; }
  .section { padding-block: 48px; }
  .prose p, .prose li { font-size: 1rem; }
  .about-heading { gap: 12px; }
  .about-since { padding: 6px 8px; font-size: .75rem; }
  .service-grid { gap: 24px; }
  .service-heading, .service-detail, .service-result { padding: 24px; }
  .service-grid .service-heading, .service-grid .service-detail, .service-grid .service-result { padding: 24px; }
  .service-label { gap: 10px; }
  .contacts-layout { gap: 20px; margin-top: 28px; }
  .contacts { padding-block: 36px; }
  .contact-head, .contact-section { padding: 18px 20px; }
  .metro-access { gap: 10px; }
  .metro-access strong { font-size: 1rem; }
  .yandex-map { min-height: 300px; }
  .service-links a { padding: 16px; }
  .site-footer { padding-block: 28px 20px; }
  .footer-top { gap: 16px; padding-bottom: 24px; }
  .footer-brand p { max-width: 25ch; font-size: .8125rem; }
  .footer-bottom { padding-top: 20px; }
  .footer-copyright { margin-bottom: 8px; }
}
@media (max-width: 360px) { .hero { min-height: 780px; } }
@media print {
  :root { color-scheme: light; }
  body, .section, .contacts, .service-card { background: white; color: black; }
  .hero-image, .about-photo, .map-panel, .menu-toggle, #navigation, .skip-link, .actions, .service-links { display: none !important; }
  .hero::after { display: none; }
  .hero { min-height: auto; padding-block: 24px; }
  .section { padding-block: 24px; }
  .about-layout, .service-grid, .contacts-layout { display: block; }
  .contact-card { background: white; color: black; }
  .service-result { background: #f1f2f3; color: black; }
  a, .site-footer, .footer-brand > a, .footer-credit a, .footer-copyright span { color: black; }
  .site-footer { background: white; }
  .contact-city, .contact-note, .metro-description > span, .contact-label, .contacts-kicker, .contact-section > h3, .contact-route-note { color: black; }
}
/* Analytics preferences and optional motion. */
.consent-footer { border: 0; padding: 8px 0; min-height: 44px; max-width: 100%; background: transparent; color: #ddd; font-size: .875rem; line-height: 1.5; text-align: left; text-decoration: underline; text-underline-offset: .22em; }
.consent-banner { position: fixed; z-index: 1000; left: 50%; bottom: 16px; transform: translateX(-50%); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; width: min(1140px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; border: 1px solid #c8c8c8; background: white; color: #222; box-shadow: 0 8px 40px #0004; color-scheme: light; }
.consent-banner h2 { margin-bottom: 8px; font-size: 1.125rem; text-align: left; }
.consent-banner p { max-width: 680px; font-size: .875rem; line-height: 1.6; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 200px; }
.consent-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid #666; background: white; color: #222; font-size: .875rem; font-weight: 700; line-height: 1.4; }
.consent-button:hover { background: var(--button-hover); border-color: var(--button-hover-border); color: #222; }
.consent-primary { background: #333; color: white; border-color: #333; }
.consent-primary:hover { background: var(--button-hover); border-color: var(--button-hover-border); color: #222; }
.reading-progress { position: fixed; z-index: 900; inset: 0 0 auto; height: 3px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: #aeb8bf; transform: scaleX(0); transform-origin: left; }
.scroll-top { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid #666; background: transparent; color: white; font-size: .8125rem; white-space: nowrap; }
.scroll-top span { margin-left: 12px; }
#navigation a[aria-current="location"] { background: transparent; color: white; text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .reveal-pending { opacity: 0; transform: translateY(16px); }
  .reveal-pending.reveal-visible { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
  .service-links a, .button, .consent-button { transition: background-color .2s ease, border-color .2s ease; }
}
@media (max-width: 900px) {
  .consent-banner { grid-template-columns: 1fr; gap: 16px; }
  .consent-actions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .consent-banner { padding: 20px; bottom: 12px; }
  .consent-actions { grid-template-columns: 1fr 1fr; }
}
@media print {
  .reveal-pending { opacity: 1; transform: none; }
}

.consent-banner :focus-visible { outline-color: #555; }
@media print { .consent-banner, .consent-footer, .scroll-top, .reading-progress { display: none !important; } }

.button, .menu-toggle, #navigation a, .service-links a, .consent-button, .consent-footer, .scroll-top { border-radius: 0; }
.menu-toggle:hover, .scroll-top:hover, .consent-footer:hover { background: var(--button-hover); border-color: var(--button-hover-border); color: #222; }

@media print { .site-header { position: static; } section, article { scroll-margin-top: 0; } }
