@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;
  --paper: #eff2f2;
  --text: #f0f3f4;
  --muted: #bac5cc;
  --line: #434d54;
  --accent: #a4d5ef;
  --on-paper-link: #245c77;
  --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); font: 1rem/1.5 Golos, Arial, sans-serif; background: var(--ink); color: var(--text); }
h1, h2, p, figure, blockquote { 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); }
.split { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(24px, 6vw, 82px); }
.skip { position: absolute; z-index: 4; left: 1rem; top: 0; padding: 10px 15px; background: var(--paper); color: var(--deep); transform: translateY(-140%); }
.skip:focus { transform: none; }
header, footer, .hero { 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; align-items: center; gap: 9px; width: fit-content; min-height: 44px; font-size: 1.5rem; font-weight: 790; letter-spacing: -.055em; }
.brand img { width: 39px; height: 39px; border-radius: 4px; }
.site-nav { display: flex; gap: clamp(18px, 2.8vw, 40px); }
.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(--text); }
.header-phone { justify-self: end; white-space: nowrap; font-weight: 660; }
.header-phone:hover, .contact-phone:hover { color: var(--accent); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: center; gap: clamp(24px, 4vw, 60px); padding-block: clamp(32px, 4.2vw, 62px);
}
h1, h2 { line-height: 1.04; letter-spacing: -.05em; }
h1 { font-size: clamp(2.5rem, 5.15vw, 4.8rem); font-weight: 760; }
h1 em { display: block; font-style: normal; color: var(--accent); }
h2 { font-size: clamp(2.1rem, 4vw, 3.52rem); font-weight: 710; }
.hero-address { margin-top: 21px; font-size: clamp(1.09rem, 1.6vw, 1.37rem); }
.hours { color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.hero-photo { overflow: hidden; background: #2a2e30; }
.hero-photo img { width: 100%; height: auto; }
.photo-credit { margin-top: 6px; color: var(--muted); font-size: .79rem; }
.photo-credit a { text-decoration: underline; text-underline-offset: .2em; }
.photo-credit a:hover { color: var(--text); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 24px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  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; text-align: center;
}
.button:hover { background: #c9e8f7; }
.button.secondary { background: transparent; color: var(--text); border-color: #94a1a8; }
.button.secondary:hover { color: var(--accent); border-color: var(--accent); }
.text-link { display: inline-block; color: var(--accent); text-decoration: underline; text-underline-offset: .26em; }
.text-link:hover { color: #fff; }
.external::after { content: "↗" / ""; display: inline-block; margin-left: .3em; }
.parts { background: var(--paper); color: var(--ink); }
.parts .split { row-gap: clamp(24px, 3vw, 36px); }
.parts :focus-visible { outline-color: var(--on-paper-link); }
.section-intro p { margin-top: 14px; max-width: 39ch; color: #444e54; }
.section-intro .text-link { color: var(--on-paper-link); margin-top: 15px; }
.part-guide { border-top: 2px solid #536069; }
.part-guide details { border-bottom: 1px solid #aeb8bf; }
.part-guide summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 66px; padding-block: 13px; font-weight: 640; font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.24; letter-spacing: -.03em; list-style: none; cursor: pointer;
}
.part-guide summary::-webkit-details-marker { display: none; }
.part-guide summary::after {
  content: ""; flex: 0 0 10px; height: 10px; margin-inline: 5px;
  border: solid var(--on-paper-link); border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg);
}
.part-guide details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.part-guide summary:is(:hover, :focus-visible) { color: var(--on-paper-link); }
.part-guide details p { padding-bottom: 19px; max-width: 55ch; color: #444e54; }
.workshop { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 26px; border-top: 1px solid #aeb8bf; padding-top: 16px; }
.workshop h3 { margin: 0; font-weight: 690; font-size: 1.08rem; }
.workshop ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style-position: inside; color: #444e54; }
.workshop li::marker { color: var(--on-paper-link); font-size: .7em; }
.reviews { border-bottom: 1px solid var(--line); }
.score { display: flex; align-items: baseline; gap: 9px; margin-top: 22px; color: var(--muted); }
.score strong { color: var(--accent); font-size: clamp(3rem, 4.7vw, 4.2rem); line-height: 1; font-weight: 650; letter-spacing: -.07em; font-variant-numeric: lining-nums; }
.score-source { color: var(--muted); margin-top: 7px; font-size: .95rem; }
.review-summary .text-link { margin-top: 16px; }
.review-list { border-block: 1px solid var(--line); }
.review-list figure { padding-block: clamp(16px, 1.8vw, 24px); }
.review-list figure + figure { border-top: 1px solid var(--line); }
blockquote { line-height: 1.4; font-size: clamp(1.1rem, 1.7vw, 1.39rem); letter-spacing: -.018em; }
.review-list figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-top: 8px; font-size: .9rem; }
.review-list figcaption b { font-weight: 590; }
.review-list time { color: var(--muted); }
.stars { color: var(--accent); letter-spacing: .08em; }
.contacts { align-items: center; }
address { font-style: normal; margin-top: 20px; }
address p { font-size: 1.14rem; }
.contact-phone { display: inline-block; margin-top: 8px; font-size: clamp(1.4rem, 2.4vw, 1.95rem); font-weight: 680; letter-spacing: -.035em; }
.contact-copy .actions { gap: 13px 20px; }
.map-box iframe { display: block; width: 100%; height: clamp(320px, 28vw, 400px); background: #242a2e; border: 1px solid var(--line); }
.map-box a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .95rem; }
footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.footer-brand { font-size: 1.13rem; font-weight: 740; letter-spacing: -.035em; }
.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: 2px 10px; padding-top: 3px; }
  .brand { gap: 6px; font-size: 1.2rem; }
  .brand img { width: 29px; height: 29px; }
  .header-phone { font-size: .92rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 9px; border-top: 1px solid var(--line); }
  .site-nav a { min-height: 41px; font-size: .94rem; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-grid { padding-block: 30px 24px; }
  h1 { font-size: clamp(2.45rem, 10.1vw, 4rem); }
  .hero-address { margin-top: 15px; }
  .hero-photo img { max-height: 360px; object-fit: cover; }
  .actions { margin-top: 18px; gap: 9px; }
  .actions .button { padding-inline: 15px; }
  .part-guide summary { min-height: 57px; }
  .workshop ul { flex-direction: column; }
  .score { margin-top: 15px; }
  .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 10px; }
}
@media (max-width: 360px) {
  .brand { font-size: 1.06rem; }
  .brand img { width: 24px; height: 24px; }
}
@keyframes rise {
  from { transform: translateY(8px); opacity: .65; }
  to { transform: none; opacity: 1; }
}
@keyframes reveal-photo {
  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: reveal-photo 540ms cubic-bezier(.2,.7,.25,1) both; }
  .hero-copy .actions, .in-view .section-intro, .review-list.in-view figure, .contact-copy.in-view, .part-guide details[open] p { animation: rise 280ms ease-out backwards; }
  .review-list.in-view figure:nth-child(2) { animation-delay: 50ms; }
  .review-list.in-view figure:nth-child(3) { animation-delay: 100ms; }
  .site-nav a::after { content: ""; position: absolute; inset: auto 0 5px; 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 { transition: transform 150ms ease, color 150ms, background-color 150ms, border-color 150ms; }
  .button:active { transform: scale(.98); }
  .text-link { transition: text-underline-offset 160ms ease; }
  .text-link:is(:hover, :focus-visible) { text-underline-offset: .42em; }
  .external::after, .part-guide summary::after { transition: transform 170ms ease; }
  .external:is(:hover, :focus-visible)::after { transform: translate(2px,-2px); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover:not(:active) { transform: translateY(-2px); }
}
