@font-face {
  font-family: Golos;
  src: url("assets/golos-lat.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Golos;
  src: url("assets/golos-cyr.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}
:root {
  --ink: #171c20;
  --deep: #101417;
  --paper: #f1f3f2;
  --text: #f0f3f4;
  --muted: #bec8ce;
  --line: #424a50;
  --accent: #a4d5ef;
  --link-ink: #285d78;
  --gutter: clamp(18px, 4.8vw, 70px);
  --dock: 0px;
  scroll-padding-block: 12px calc(12px + var(--dock));
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-bottom: var(--dock); background: var(--ink); color: var(--text); font: 1rem/1.5 Golos, Arial, sans-serif; }
h1, h2, h3, p, dl, dd, 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; }
.services :focus-visible { outline-color: var(--link-ink); }
.wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section-pad { padding-block: clamp(44px, 5.7vw, 80px); }
.skip { position: absolute; z-index: 4; inset: 0 auto auto 1rem; padding: 10px 16px; background: var(--paper); color: var(--deep); transform: translateY(-130%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 11px; font-size: 1.55rem; font-weight: 780; letter-spacing: -.04em; }
.brand img { border-radius: 50%; }
.site-nav { display: flex; gap: clamp(18px, 3vw, 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, address a:hover, .footer-inner a:hover, .credits summary:hover { color: var(--accent); }

.hero { background: var(--deep); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center; gap: clamp(24px, 4.3vw, 60px);
  padding-block: clamp(32px, 4.2vw, 60px);
}
h1, h2 { font-weight: 750; line-height: 1.04; letter-spacing: -.046em; }
h1 { font-size: clamp(2.42rem, 4.9vw, 4.5rem); }
h1 em { font-style: normal; color: var(--accent); }
.hero-address { margin-top: 21px; font-size: clamp(1.08rem, 1.65vw, 1.35rem); letter-spacing: -.018em; }
.hero-hours { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 5px; font-size: .94rem; color: var(--muted); }
.hero-hours span { white-space: nowrap; }
.hero-hours span + span { padding-inline-start: 14px; border-inline-start: 1px solid var(--line); }
.hero-photo { overflow: hidden; background: #22292d; }
.hero-photo img { width: 100%; height: auto; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  width: fit-content; min-height: 50px; padding: 10px 21px; border: 1px solid transparent;
  border-radius: 3px; background: var(--accent); color: #0c202a;
  font-weight: 660; line-height: 1.22; text-align: center;
}
.button:hover { background: #c9e8f7; }
.button.secondary { background: transparent; border-color: #8998a1; color: var(--text); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.text-link, .credits a, .credits summary { text-decoration: underline; text-underline-offset: .26em; }
.text-link { color: var(--accent); }
.text-link:hover { color: var(--text); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px 22px; }
.section-heading .text-link { font-size: .95rem; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.75rem); }
h3 { font-size: clamp(1.32rem, 2.15vw, 1.75rem); line-height: 1.15; font-weight: 690; letter-spacing: -.034em; }

.services { background: var(--paper); color: var(--ink); }
.services .text-link { color: var(--link-ink); }
.services .text-link:hover { color: var(--deep); }
.service-grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start; gap: clamp(24px, 5vw, 66px);
  margin-top: clamp(23px, 3vw, 38px);
}
.alignment { background: #20282d; color: var(--text); }
.alignment img { width: 100%; height: auto; aspect-ratio: 2.55; object-fit: cover; object-position: 50% 12%; }
.alignment-copy { padding: clamp(17px, 2.2vw, 28px); }
.alignment-copy p { margin-top: 7px; color: var(--muted); max-width: 36ch; }
.featured-price { display: block; margin-top: 12px; color: var(--accent); font-size: clamp(1.7rem, 2.6vw, 2.25rem); letter-spacing: -.04em; line-height: 1.05; }
.menu-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 16px; }
.menu-heading span { font-size: .9rem; color: #546067; }
.price-list { border-top: 1px solid #939da2; margin-top: 14px; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.service-menu details { border-bottom: 1px solid #b2babe; }
.service-menu summary { display: flex; align-items: center; gap: 12px; min-height: 51px; padding-block: 11px; line-height: 1.35; }
.service-menu summary::after {
  content: ''; width: 8px; height: 8px; flex: none; margin-inline: 3px;
  border: solid var(--link-ink); border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.service-menu details[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.service-menu summary:is(:hover, :focus-visible) { color: var(--link-ink); }
.price-list summary strong { margin-inline-start: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-list details p { padding-bottom: 13px; color: #4a555b; }
.more-services { margin-top: 22px; border-top: 1px solid #939da2; }
.more-services summary { justify-content: space-between; font-size: 1.08rem; font-weight: 650; }
.more-services ul { margin: 0; padding: 0 0 15px 20px; }
.more-services li + li { margin-top: 5px; }
.parts-prices { padding-bottom: 12px; }
.parts-prices div { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding-block: 7px; }
.parts-prices dd { white-space: nowrap; font-weight: 600; }

.reviews { border-bottom: 1px solid var(--line); }
.rating { margin-top: 12px; color: var(--muted); }
.rating strong { color: var(--text); }
.review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 42px); margin-top: clamp(24px, 3vw, 38px); }
.review-list figure { padding-top: 15px; border-top: 1px solid var(--line); }
.review-list figcaption b { display: block; }
.review-list time { display: block; margin-top: 2px; color: var(--muted); font-size: .875rem; }
.stars { display: block; width: fit-content; margin-block: 8px; font-size: .94rem; letter-spacing: .12em; color: var(--accent); }
blockquote { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.48; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 6vw, 76px); align-items: center; }
address { margin-top: 21px; font-style: normal; }
address a { display: block; width: fit-content; }
.contact-phone { margin-top: 8px; font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 700; letter-spacing: -.03em; }
.extra-phone { padding-block: 4px; font-size: 1.05rem; }
.hours { width: fit-content; max-width: 100%; margin-top: 15px; }
.hours div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 17px; }
.hours dt { color: var(--muted); }
.hours dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.contact-grid .actions { gap: 12px 20px; }
.map-box iframe { display: block; width: 100%; height: clamp(320px, 29vw, 400px); border: 1px solid var(--line); background: #20272b; }
.map-box a { display: inline-flex; align-items: center; min-height: 42px; margin-top: 3px; color: var(--muted); }
footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 9px 24px; padding-block: 20px; color: var(--muted); font-size: .94rem; }
.footer-brand { color: var(--text); font-weight: 740; font-size: 1.12rem; }
.credits { justify-self: end; max-width: 52ch; }
.credits summary { width: fit-content; margin-inline-start: auto; }
.credits p { margin-top: 7px; font-size: .875rem; }
.mobile-actions { display: none; }

@media (max-width: 740px) {
  :root { --dock: calc(64px + env(safe-area-inset-bottom)); }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 9px; padding-top: 8px; }
  .brand { gap: 8px; font-size: 1.25rem; }
  .brand img { width: 33px; height: 33px; }
  .header-phone { font-size: .92rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
  .site-nav a { min-height: 41px; font-size: .94rem; }
  .hero-grid, .service-grid, .contact-grid, .review-list { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .hero-grid { padding-block: 31px 26px; }
  h1 { font-size: clamp(2.25rem, 9.2vw, 3.75rem); }
  .hero-address { margin-top: 15px; }
  .hero-hours { gap: 3px 9px; font-size: .9rem; }
  .hero-hours span + span { padding-inline-start: 9px; }
  .actions { margin-top: 18px; }
  .hero-photo img { max-height: 320px; object-fit: cover; }
  .alignment { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .alignment img { height: 100%; aspect-ratio: auto; object-position: 47% 25%; }
  .review-list figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 3px 10px; }
  .mobile-actions {
    position: fixed; z-index: 2; inset: auto 0 0;
    display: grid; grid-template-columns: 1fr 1fr; 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);
  }
  .mobile-actions .button { width: 100%; min-height: 44px; padding: 8px 10px; }
}
@media (max-width: 480px) {
  .alignment { display: block; }
  .alignment img { height: auto; aspect-ratio: 2.55; object-position: 50% 12%; }
  .parts-prices div { grid-template-columns: minmax(0, 1fr); }
  .credits { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .credits summary { margin-inline-start: 0; }
  .footer-inner { grid-template-columns: 1fr auto; }
}
@keyframes appear {
  from { opacity: .6; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}
@keyframes reveal-photo {
  from { clip-path: inset(0 9% 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 520ms cubic-bezier(.2,.7,.25,1) both; }
  .hero-copy .actions { animation: appear 340ms 80ms backwards; }
  .in-view .alignment, .review-list.in-view figure, .contact-grid.in-view address { animation: appear 340ms 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 170ms ease-out;
  }
  .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(.975); }
  .text-link { transition: text-underline-offset 160ms ease, color 160ms; }
  .text-link:is(:hover, :focus-visible) { text-underline-offset: .45em; }
  .service-menu summary::after, .price-list summary span { transition: transform 180ms ease; }
  .service-menu details[open] > :is(p, dl, ul) { animation: appear 180ms ease-out; }
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .service-menu details { interpolate-size: allow-keywords; }
    .service-menu details::details-content { block-size: 0; overflow: hidden; transition: block-size 210ms ease, content-visibility 210ms allow-discrete; }
    .service-menu details[open]::details-content { block-size: auto; }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .price-list summary:hover span { transform: translateX(4px); }
  .button:hover:not(:active) { transform: translateY(-2px); }
}
