@font-face {
  font-family: Golos;
  src: url("assets/golos-lat.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Golos;
  src: url("assets/golos-cyr.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}
:root {
  --ink: #171c20;
  --deep: #111518;
  --light: #f0f3f3;
  --muted: #bec8ce;
  --line: #454d53;
  --accent: #a4d5ef;
  --gutter: clamp(18px, 4.7vw, 70px);
  --dock: 0px;
  scroll-padding: 12px 0 calc(12px + var(--dock));
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-bottom: var(--dock); background: var(--ink); color: var(--light); font: 1rem/1.5 Golos, Arial, sans-serif; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section-pad { padding-block: clamp(44px, 5.2vw, 76px); }
.skip { position: absolute; z-index: 4; left: 1rem; top: 0; transform: translateY(-140%); padding: 10px 15px; background: var(--light); color: var(--deep); }
.skip:focus { transform: none; }
header, footer { background: var(--deep); }
header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 76px; gap: 20px; align-items: center; }
.brand { display: inline-flex; width: fit-content; min-height: 46px; align-items: center; }
.brand img { width: 100px; height: auto; }
.site-nav { display: flex; gap: clamp(24px, 3.2vw, 46px); }
.site-nav a, .header-phone { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--light); }
.header-phone { justify-self: end; white-space: nowrap; font-weight: 650; }
.header-phone:hover, .contact-phone:hover { color: var(--accent); }
.hero { background: var(--deep); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 62px); padding-block: clamp(32px, 4.2vw, 62px); }
h1, h2, h3 { letter-spacing: -.05em; line-height: 1.03; }
h1 { font-weight: 770; font-size: clamp(2.55rem, 5.14vw, 4.75rem); }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(2.15rem, 4.3vw, 3.7rem); font-weight: 720; }
h3 { font-size: clamp(1.55rem, 2.45vw, 2.17rem); font-weight: 680; }
.hero-address { font-size: clamp(1.02rem, 1.42vw, 1.25rem); margin-top: 21px; }
.schedule { margin-top: 4px; color: var(--muted); }
.hero-photo, .service-photo { overflow: hidden; background: #23292c; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.57; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 49px;
  padding: 11px 20px; border: 1px solid transparent; border-radius: 3px;
  background: var(--accent); color: #10232e; font-weight: 660; line-height: 1.25;
}
.button:hover { background: #c9e8f7; }
.button.secondary { background: transparent; border-color: #93a2ab; color: var(--light); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: .26em; }
.text-link:hover { color: #fff; }
.arrow { display: inline-block; line-height: 1; }
.services { background: var(--light); color: var(--ink); }
.services .text-link { color: #285d78; }
.services :focus-visible { outline-color: #285d78; }
.section-head, .review-row, .footer-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.service-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; gap: clamp(24px, 5vw, 76px); margin-top: clamp(24px, 3vw, 40px); }
.service-photo img { width: 100%; height: 100%; max-height: 360px; aspect-ratio: 1.8; object-fit: cover; }
.service-list { border-block: 1px solid #aeb8bf; display: flex; flex-direction: column; justify-content: center; }
.service-list article { flex: 1; display: flex; justify-content: center; flex-direction: column; padding: 20px 0; }
.service-list article + article { border-top: 1px solid #b7c0c6; }
.service-list p { max-width: 55ch; margin-top: 8px; color: #465158; }
.reviews { border-bottom: 1px solid var(--line); }
.review-row { align-items: center; padding-block: clamp(38px, 4.6vw, 64px); }
.review-row p { margin-top: 12px; color: var(--muted); }
.review-row .button { flex-shrink: 0; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
address { margin-top: 20px; font-style: normal; }
address p { font-size: 1.13rem; }
.contact-phone { display: inline-block; margin-top: 8px; font-size: clamp(1.44rem, 2.5vw, 2rem); font-weight: 680; letter-spacing: -.035em; }
.contact-grid .actions { gap: 14px 20px; }
.map-box iframe { display: block; width: 100%; height: clamp(320px, 28vw, 400px); background: #2a3034; border: 1px solid var(--line); }
.map-box a { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; color: var(--muted); font-size: .94rem; }
footer { border-top: 1px solid var(--line); }
.footer-inner { align-items: center; padding-block: 18px; }
.footer-brand { font-size: 1.12rem; font-weight: 750; }
.dock { display: none; }
@media (max-width: 720px) {
  :root { --dock: calc(64px + env(safe-area-inset-bottom)); }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; }
  .brand img { width: 80px; }
  .header-phone { font-size: .94rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
  .site-nav a { font-size: .94rem; min-height: 40px; }
  .hero-grid, .service-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-grid { padding-block: 30px 24px; }
  h1 { font-size: clamp(2.5rem, 10.1vw, 4rem); }
  .hero-address { margin-top: 14px; }
  .actions { margin-top: 18px; }
  .hero-photo img { aspect-ratio: 1.9; max-height: 320px; }
  .service-grid { gap: 20px; }
  .service-photo img { max-height: 260px; }
  .service-list article { padding-block: 17px; }
  .section-head { flex-wrap: wrap; align-items: center; }
  .review-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .map-box iframe { height: 320px; }
  .dock { position: fixed; z-index: 3; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; min-height: var(--dock); padding: 8px max(var(--gutter), env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); background: var(--deep); border-top: 1px solid var(--line); }
  .dock .button { min-height: 44px; padding: 8px; }
}
@keyframes lift-in {
  from { transform: translateY(9px); opacity: .68; }
  to { transform: none; opacity: 1; }
}
@keyframes photo-in {
  from { clip-path: inset(0 6% 0 0); transform: scale(1.025); }
  to { clip-path: inset(0); transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
  .hero-photo img { animation: photo-in 560ms cubic-bezier(.2,.7,.25,1) both; }
  .hero .actions, .service-grid.in-view article, .review-row.in-view, .contact-grid > .in-view { animation: lift-in 300ms ease-out backwards; }
  .service-grid.in-view article:nth-child(2) { animation-delay: 80ms; }
  .site-nav a::after { content: ''; position: absolute; inset: auto 0 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
  .site-nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
  .button, .arrow { transition: transform 160ms ease, color 160ms ease, background-color 160ms ease; }
  .button:active { transform: scale(.98); }
  a:is(:hover, :focus-visible) .arrow { transform: translate(2px,-2px); }
  .text-link { transition: text-underline-offset 160ms; }
  .text-link:hover { text-underline-offset: .4em; }
}
