@font-face {
  font-family: "Oswald";
  src: url("assets/oswald-cyrillic.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #50504d;
  --paper: #fff;
  --light: #f5f5f3;
  --line: #deded9;
  --yellow: #ffcf20;
  --telegram: #097ab6;
  --viber: #6d58e8;
  --heading: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.125rem, 5vw, 5rem);
  --size: 77.5rem;
  --header-height: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1px + env(safe-area-inset-top));
}
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body); -webkit-tap-highlight-color: transparent; }
main, section { min-width: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #7a5400; outline-offset: 4px; }
.skip { position: fixed; z-index: 10; top: .5rem; left: .5rem; transform: translateY(-160%); padding: .65rem .85rem; background: var(--yellow); font-weight: 700; }
.skip:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--size)); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 5; padding-top: env(safe-area-inset-top); background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-height); display: flex; justify-content: space-between; align-items: center; gap: .4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; flex-shrink: 0; }
.brand-mark { position: relative; display: block; width: 35px; height: 35px; background: var(--yellow); flex: none; }
.brand-mark::before { content: ""; position: absolute; inset: 8px 7px; background: var(--ink); clip-path: polygon(0 100%, 35% 0, 56% 0, 91% 100%, 69% 100%, 45% 31%, 22% 100%, 33% 100%, 37% 86%, 63% 86%, 68% 100%); }
.brand-mark::after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--ink); right: 5px; top: 5px; }
.brand-text { display: grid; font: 700 .73rem/.98 var(--body); text-transform: uppercase; letter-spacing: .035em; }
.brand-text strong { margin-top: .14rem; font-size: .97rem; letter-spacing: .11em; }
.header nav { display: flex; align-items: center; font-size: .875rem; font-weight: 700; }
.header nav a { display: inline-grid; place-items: center; min-height: 44px; white-space: nowrap; }
.header-contacts { display: grid; grid-template-columns: auto repeat(2, 1fr); align-items: center; gap: .35rem; flex: none; }
.header-contact { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 44px; padding-inline: .55rem; font-weight: 700; font-size: .875rem; white-space: nowrap; }
.header-phone { background: var(--yellow); font-variant-numeric: tabular-nums; }
.button-telegram, .button-viber { border-radius: .4rem; color: #fff; }
.button-telegram { background: var(--telegram); }
.button-telegram:hover { background: #07689e; }
.button-viber { background: var(--viber); }
.button-viber:hover { background: #5844ca; }
.header-contact:hover, .header nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .24em; }
@media (max-width: 939px) {
  .header nav { margin-left: auto; }
  .header nav a:not(.price-nav) { display: none; }
  .header nav .price-nav { min-width: 44px; }
}
@media (max-width: 569px) {
  .header nav { display: none; }
}
@media (max-width: 499px) {
  .header .brand { justify-content: center; min-width: 44px; }
  .header .brand-text { display: none; }
  .header-contact { padding-inline: .28rem; }
}
@media (max-width: 369px) {
  .header .brand { display: none; }
  .header-contacts { grid-template-columns: minmax(max-content, 1.6fr) repeat(2, 1fr); width: 100%; }
}

.hero { position: relative; border-bottom: 1px solid var(--line); }
.hero-scene { position: relative; height: clamp(245px, 73vw, 465px); margin: 1rem var(--gutter) 0; background: var(--paper); border: 1px solid var(--line); }
.hero-media { position: relative; height: 100%; overflow: hidden; background: #eeebe6; }
.hero-image, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 12%; }
.hero-video { opacity: 0; transition: opacity .32s ease; }
.is-playing .hero-video { opacity: 1; }
.motion-button { position: absolute; right: .65rem; bottom: .65rem; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: #151515bc; color: #fff; border: 1px solid #ffffff9c; border-radius: 50%; cursor: pointer; }
.motion-button:hover { background: #151515; }
.motion-button:focus-visible { outline-color: #fff; outline-offset: 2px; }
.motion-icon { display: block; width: 10px; height: 13px; border-inline: 2px solid currentColor; }
.motion-button.paused .motion-icon { background: currentColor; border: 0; clip-path: polygon(0 0,100% 50%,0 100%); }
@media (hover: hover) {
  .motion-button:not(.paused) { opacity: 0; transition: opacity .18s; }
  .hero-scene:hover .motion-button, .motion-button:focus-visible { opacity: 1; }
}
.hero-inner { position: relative; padding: 1.7rem 0 2rem; }
.eyebrow { display: flex; align-items: center; gap: .58rem; margin: 0 0 .8rem; color: #41413d; font-size: .875rem; font-weight: 700; }
.location-icon { display: inline-block; width: 12px; height: 12px; transform: rotate(-45deg) translateY(-1px); border: 2px solid currentColor; border-radius: 50% 50% 50% 0; background: var(--yellow); flex: none; }
h1, h2 { margin: 0; font-family: var(--heading); text-transform: uppercase; font-weight: 700; }
h1 { font-size: clamp(3.05rem, 13.5vw, 6rem); line-height: 1.02; letter-spacing: -.026em; }
h1 span { display: table; background: var(--yellow); padding: 0 .18em .13em; margin: .12em 0 0 -.035em; line-height: .94; }
.hero-lead { max-width: 33ch; color: var(--muted); margin: 1.15rem 0 1.32rem; font-size: clamp(1rem, 3vw, 1.2rem); }
.hero-actions { display: flex; gap: .48rem .95rem; align-items: stretch; flex-direction: column; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: .7rem; min-height: 54px; padding: .82rem 1.2rem; font-weight: 700; line-height: 1.2; transition: background-color .18s; }
.button-yellow { background: var(--yellow); color: var(--ink); }
.button-yellow:hover { background: #f3bd00; }
.hero-link { display: inline-flex; align-self: center; align-items: center; min-height: 44px; font-weight: 700; font-size: .9375rem; text-decoration: underline; text-underline-offset: .3em; text-decoration-color: #8a8a83; }
.hero-link:hover { text-decoration-color: var(--ink); }

.section { padding: clamp(3.4rem, 7.4vw, 7rem) 0; scroll-margin-top: .5rem; }
.section-head { margin-bottom: 1.5rem; }
.section-head p { max-width: 34ch; margin: .7rem 0 0; color: var(--muted); }
h2 { font-size: clamp(2.45rem, 9vw, 5rem); line-height: 1.02; letter-spacing: -.024em; }
.services-grid { display: grid; gap: 1.1rem; }
.service-image { background: #eeebe6; border: 1px solid var(--line); }
.service-image img { width: 100%; height: 100%; aspect-ratio: 1.48; object-fit: cover; object-position: 49% 48%; }
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 43px 1fr; gap: .85rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.service h3, .steps h3 { margin: 0; font-size: clamp(1.075rem, 2.2vw, 1.34rem); line-height: 1.22; }
.service p, .steps p { color: var(--muted); margin: .4rem 0 0; }
.service-icon { display: grid; place-items: center; width: 43px; height: 43px; background: #fff3be; }
.service-icon::before { content: ""; display: block; width: 24px; height: 24px; background: #23231f; }
.icon-apartment::before { clip-path: polygon(11% 7%, 91% 7%, 91% 93%, 54% 93%, 54% 82%, 80% 82%, 80% 52%, 64% 52%, 64% 41%, 80% 41%, 80% 18%, 22% 18%, 22% 41%, 43% 41%, 43% 52%, 22% 52%, 22% 82%, 38% 82%, 38% 93%, 11% 93%); }
.icon-wall::before { clip-path: polygon(0 11%, 100% 11%, 100% 43%, 71% 43%, 71% 25%, 61% 25%, 61% 43%, 0 43%, 0 57%, 35% 57%, 35% 78%, 45% 78%, 45% 57%, 100% 57%, 100% 89%, 0 89%); }
.icon-floor::before { clip-path: polygon(50% 2%, 100% 31%, 50% 61%, 0 31%, 50% 2%, 50% 17%, 25% 31%, 50% 46%, 75% 31%, 50% 17%, 50% 2%, 55% 7%, 100% 31%, 100% 49%, 50% 78%, 0 49%, 0 63%, 50% 92%, 100% 63%, 100% 77%, 50% 100%, 0 77%, 0 31%); }
.icon-site::before { clip-path: polygon(1% 84%, 14% 84%, 14% 18%, 47% 18%, 47% 41%, 89% 41%, 89% 84%, 100% 84%, 100% 94%, 0 94%, 0 84%, 25% 84%, 39% 84%, 39% 66%, 25% 66%, 25% 55%, 39% 55%, 39% 30%, 25% 30%, 25% 84%, 51% 84%, 78% 84%, 78% 53%, 51% 53%, 51% 84%); }
.process { background: var(--light); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; counter-reset: work; }
.steps li { counter-increment: work; display: grid; grid-template-columns: 2.5rem 1fr; align-content: start; column-gap: .75rem; border-top: 1px solid #cfcfc8; padding: 1.2rem 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(work, decimal-leading-zero); grid-row: 1 / 3; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--yellow); font: 700 .875rem/1 var(--body); }
.steps p { grid-column: 2; }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: .65rem; min-height: 56px; padding: .92rem .1rem; font-weight: 700; line-height: 1.3; cursor: pointer; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; width: 17px; height: 17px; flex: none; background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat; }
.questions details[open] summary::after { background-size: 12px 2px, 0 0; }
.questions p { color: var(--muted); margin: -.03rem 1.55rem 1.1rem .1rem; max-width: 57ch; }

.contact { background: var(--yellow); padding: clamp(2.7rem, 5.8vw, 5.6rem) 0; }
.contact-inner { display: grid; gap: 1.15rem; }
.contact-actions { display: grid; gap: .55rem; }
.contact p { margin: .7rem 0 0; max-width: 50ch; }
.payment-offer { grid-column: 1 / -1; justify-self: stretch; margin-top: .35rem; padding: clamp(1.05rem, 3vw, 1.9rem); background: var(--paper); border-left: .35rem solid var(--ink); }
.payment-offer h3 { margin: 0; font: 700 clamp(1.3rem, 3vw, 2.1rem)/1.22 var(--heading); }
.payment-offer p { margin-top: .4rem; color: var(--muted); }
.footer { background: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem 1rem; padding: 1.15rem 0 max(5.2rem, calc(4.5rem + env(safe-area-inset-bottom))); font-size: .875rem; color: var(--muted); }
.footer .brand { color: var(--ink); }
.footer-company { display: grid; }
.footer-company strong { display: block; margin-bottom: .1rem; color: var(--ink); font-size: 1.06rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.mobile-dock { position: fixed; z-index: 4; inset: auto 0 0; display: flex; flex-direction: column; padding: .45rem var(--gutter) max(.45rem, env(safe-area-inset-bottom)); background: #fffffff5; border-top: 1px solid var(--line); visibility: hidden; transform: translateY(100%); transition: transform .2s, visibility .2s; }
.mobile-dock .button { min-height: 48px; }
.show-dock .mobile-dock { visibility: visible; transform: translateY(0); }

@media (max-width: 499px) {
  .footer-company { flex-basis: 100%; }
}

@media (min-width: 500px) {
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-actions .button { min-width: 14rem; }
  .hero-inner { padding-block: 2.4rem 2.85rem; }
  .contact-inner { justify-items: start; }
  .contact-actions { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 760px) {
  .services-grid { grid-template-columns: .88fr 1fr; gap: clamp(1.45rem, 4vw, 3.4rem); }
  .service-image img { aspect-ratio: auto; }
  .services-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.9rem; }
  .services-head p { max-width: 28ch; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.45rem; }
  .steps li { padding-bottom: 0; }
  .footer-inner { padding-block: 1.25rem; }
  .mobile-dock { display: none; }
}
@media (min-width: 940px) {
  :root { --header-height: 72px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-text { font-size: .8rem; }
  .brand-text strong { font-size: 1.05rem; }
  .header nav { gap: clamp(1rem, 2.6vw, 2.5rem); font-size: .9375rem; }
  .header-contacts { gap: .55rem; }
  .header-contact { padding-inline: .95rem; }
  .hero { min-height: clamp(575px, 48vw, 755px); display: grid; align-items: center; }
  .hero-inner { z-index: 1; padding-block: 3.2rem; pointer-events: none; }
  .hero-inner a { pointer-events: auto; }
  .hero-scene { position: absolute; inset: clamp(2.25rem, 5vw, 4.8rem) max(var(--gutter), calc((100% - var(--size)) / 2)) clamp(2.25rem, 5vw, 4.8rem) max(46%, calc((100% - var(--size)) / 2 + 35rem)); height: auto; margin: 0; }
  h1 { font-size: clamp(4.8rem, 7.35vw, 8.25rem); }
  .eyebrow { margin-bottom: 1.15rem; }
  .hero-lead { margin: 1.55rem 0 1.7rem; }
  .hero-actions { gap: 1.33rem; }
  .service { padding: 1.25rem 0; gap: 1.05rem; grid-template-columns: 48px 1fr; }
  .service-icon { width: 48px; height: 48px; }
  .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; }
  .contact-inner { grid-template-columns: 1fr max-content; align-items: center; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.prices { border-top: 1px solid var(--line); }
.prices-grid { display: grid; gap: .1rem 2.85rem; }
.prices .section-head p { max-width: 39ch; }
.prices-button { margin-top: 1rem; }
.rates { width: 100%; border-collapse: collapse; table-layout: auto; }
.rates thead { background: var(--light); }
.rates th, .rates td { border-bottom: 1px solid var(--line); text-align: left; padding: .83rem .56rem; }
.rates thead th { font-size: .875rem; }
.rates tbody th { font-weight: 500; line-height: 1.32; }
.rates tr > :last-child { text-align: right; white-space: nowrap; }
.rates td { font-weight: 700; font-variant-numeric: tabular-nums; }
.rates td span, .rates-note { color: var(--muted); font-size: .875rem; font-weight: 400; }
.rates-note { margin: .8rem 0 0; }
@media (min-width: 940px) {
  .prices-grid { grid-template-columns: .82fr 1.18fr; }
  .prices .section-head { margin-bottom: 0; }
  .rates th, .rates td { padding-inline: .9rem; }
}

@media (max-width: 499px) and (max-height: 700px) {
  .hero-scene { height: clamp(180px, 31svh, 225px); margin-top: .7rem; }
  .hero-inner { padding-top: 1.25rem; }
  .hero-lead { margin-block: .85rem 1rem; }
}
