/* Shared layout primitives for the three repair businesses. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.repair {
  margin: 0;
  font: 1rem/1.55 'Segoe UI', Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
.repair h1, .repair h2, .repair h3, .repair p { margin: 0; }
.repair h1, .repair h2, .repair h3 { overflow-wrap: break-word; }
.repair h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1.04; letter-spacing: -.055em; }
.repair h3 { line-height: 1.13; }
.repair a { color: inherit; }
.repair img { display: block; max-width: 100%; object-fit: cover; }
.repair .frame { width: min(1190px, calc(100% - clamp(2rem, 9vw, 8rem))); margin-inline: auto; }
.repair .skip { position: fixed; top: 0; left: 8px; transform: translateY(-150%); z-index: 5; padding: .65rem; background: #fff; color: #111; }
.repair .skip:focus { transform: none; }
.repair :focus-visible { outline: 3px solid #0080de; outline-offset: 3px; }
.repair .demo-line { font-size: .83rem; background: var(--demo-bg); color: var(--demo-ink); }
.repair .demo-line .frame { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; }
.repair .demo-line a { text-underline-offset: .18em; }
.sitehead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 20px; }
.sitehead nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.65rem, 2.7vw, 2rem); }
.sitehead a, .repair .cta { text-decoration: none; }
.sitehead nav a { font-size: .95rem; font-weight: 600; }
.sitehead nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.sitehead .nav-cta { border: 1px solid currentColor; padding: .55rem .95rem; }
.repair .cta { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .7rem 1.35rem; font-weight: 700; }
.repair .cta:hover { box-shadow: inset 0 0 0 2px currentColor; }
.repair .intro-text { max-width: 36ch; font-size: clamp(1.04rem, 1.65vw, 1.3rem); line-height: 1.5; }
.repair .small-heading, .velo-caption { margin-bottom: .95rem; font-size: .875rem; font-weight: 700; }
.content-section, .check-layout, .calc-layout { padding-block: clamp(3.1rem, 7vw, 6.5rem); }
.repair .lede { max-width: 47ch; margin-top: 1.2rem; }
.service-story, .book-grid, .garage-rates, .diag-layout, .check-layout, .calc-layout {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; gap: clamp(2rem, 6vw, 5rem);
}
.service-story { align-items: center; padding-bottom: clamp(3.1rem, 7vw, 6.5rem); }
.service-story img { width: 100%; aspect-ratio: 4/3; }
.service-story p { margin-top: 1rem; max-width: 49ch; }
.book-section { padding-block: clamp(3.2rem, 7vw, 6.5rem); background: var(--book-bg); color: var(--book-ink); }
.book-grid > div > p { max-width: 42ch; margin-top: 1rem; }
.repair-foot { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 1.7rem; }
.repair-foot a { font-size: .94rem; text-underline-offset: .2em; }

/* Моторная — dark painted metal, yellow service tickets, rectangular cuts. */
.garage {
  --paper: #171c1d; --ink: #fffdfa; --demo-bg: #272d2f; --demo-ink: #e1e3dd;
  --book-bg: #ede749; --book-ink: #161b1b; --booking-accent: #272e2c; --booking-paper: #fffef1; --booking-ink: #171d1d;
}
.garage .sitehead { border-bottom: 1px solid #4d5453; }
.garage-brand { display: inline-flex; align-items: center; gap: .64rem; font-size: 1.45rem; font-weight: 900; letter-spacing: -.055em; }
.track-mark { width: 32px; height: 22px; transform: skew(-14deg); background: repeating-linear-gradient(90deg,#ede749 0 7px,transparent 7px 11px); }
.garage .garage-hero { margin-block: clamp(1.3rem,4.4vw,4rem) clamp(2.7rem,5vw,5rem); display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(1.3rem,5vw,4.5rem); align-items: stretch; }
.garage-intro { padding-block: clamp(1rem,3.6vw,3rem); align-self: center; }
.garage h1, .garage h2 { font-family: 'Arial Black', Arial, sans-serif; font-weight: 900; }
.garage h1 { font-size: clamp(3.4rem,5.8vw,5.6rem); line-height: .95; text-transform: uppercase; letter-spacing: -.055em; overflow-wrap: normal; }
.garage .garage-intro .small-heading { color: #ede749; text-transform: uppercase; letter-spacing: .1em; }
.garage .intro-text { margin-block: 1.5rem; color: #d4d9d6; }
.garage .cta { background: #ede749; color: #151c1c; }
.garage-lead { width: 100%; height: 100%; min-height: 300px; max-height: 610px; border-bottom: 7px solid #ede749; }
.garage .light-zone { background: #eeeee7; color: #181d1d; }
.garage .small-heading { font-family: Consolas, monospace; }
.symptoms { border-top: 2px solid #1c2221; }
.symptoms details { border-bottom: 1px solid #a8afa9; }
.symptoms summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 17px 0; cursor: pointer; list-style: none; font: 700 clamp(1.06rem,1.7vw,1.35rem)/1.25 Arial, sans-serif; }
.symptoms summary::-webkit-details-marker { display: none; }
.symptoms summary::after { content: '+'; display: grid; place-items: center; min-width: 31px; height: 31px; border: 1px solid #77817b; font-weight: 500; font-size: 1.4rem; }
.symptoms details[open] summary::after { content: '−'; background: #e9e342; }
.symptoms details p { max-width: 52ch; }
.symptoms details span { display: inline-block; font-weight: 700; margin-block: 12px 20px; }
.garage-rates .small-heading { color: #ede749; }
.garage-rates .lede, .garage .service-story p { color: #d4d9d6; }
.rate-list { padding: 0; margin: 0; border-top: 2px solid #ecf1eb; }
.rate-list > div { padding-block: 19px; border-bottom: 1px solid #495253; display: flex; justify-content: space-between; gap: 12px; }
.rate-list dd { margin: 0; font-weight: 700; white-space: nowrap; color: #ede749; }

/* Теплее — daylight, book typography and a tall arched window. */
.windows {
  --paper: #f5f5ed; --ink: #253f37; --demo-bg: #e1e8dc; --demo-ink: #30463a;
  --book-bg: #dce7d8; --book-ink: #233f36; --booking-accent: #315847; --booking-paper: #fffef7; --booking-ink: #253f37;
}
.window-brand { display: flex; align-items: center; gap: .65rem; font: 700 1.9rem/1 Georgia, serif; letter-spacing: -.06em; }
.pane-mark { width: 25px; height: 29px; border: 2px solid currentColor; border-radius: 49% 49% 0 0; background: linear-gradient(90deg,transparent 45%,currentColor 46% 53%,transparent 54%),linear-gradient(0deg,transparent 47%,currentColor 48% 55%,transparent 56%); }
.windows .nav-cta, .windows .cta { border-radius: 99px; }
.windows h1, .windows h2, .windows h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.window-hero { padding-block: 1.4rem clamp(3.25rem,6vw,5rem); display: grid; grid-template-columns: minmax(0, .83fr) minmax(0,1.17fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.windows h1 { font-size: clamp(5rem,10vw,9rem); line-height: .85; letter-spacing: -.08em; }
.windows .intro-text { margin-block: 1.5rem; }
.windows .cta { background: #294a3d; color: #fffef7; }
.window-photo { border-radius: 46% 46% 3px 3px; overflow: hidden; }
.window-photo img { width: 100%; height: clamp(325px,39vw,535px); }
.windows .content-section { border-top: 1px solid #bdcab8; }
.window-title { display: grid; grid-template-columns: 1fr .95fr; align-items: end; gap: 2rem; }
.window-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.2rem,3vw,3rem); margin-top: 2.5rem; }
.window-cards article { border-top: 2px solid #708e75; padding-top: 15px; display: flex; flex-direction: column; }
.window-cards h3 { font-size: clamp(1.6rem,2.8vw,2.25rem); }
.window-cards p { margin-block: 12px 20px; }
.window-cards strong { font-size: .95rem; margin-top: auto; color: #305c43; }
.window-estimate { background: #e3ebdc; }
.calc-layout { align-items: center; }
.window-calc { border: 1px solid #afc2aa; border-radius: 14px; padding: clamp(20px, 4vw, 40px); background: #fffef7; }
.window-calc label { display: block; font-weight: 650; }
.meter { display: flex; align-items: center; gap: 9px; margin: .65rem 0 1.25rem; }
.meter input { width: min(10rem,85%); border: 1px solid #7b947b; border-radius: 6px; padding: .5rem; background: white; color: #244034; font: inherit; font-size: 1.2rem; }
.meter-total { display: grid; border-top: 1px solid #c3d0be; padding-top: 1rem; }
.meter-total output { font: 400 clamp(1.8rem, 3.5vw, 3rem)/1.3 Georgia, serif; }
.window-calc p { margin-top: .5rem; font-size: .92rem; }
.windows .service-story { padding-top: clamp(3rem,6vw,6rem); }
.windows .service-story img { border-radius: 4px 4px 32% 4px; }

/* Велоцех — an editorial cycling spread in plum and tangerine. */
.velo {
  --paper: #fff9f0; --ink: #302535; --demo-bg: #302535; --demo-ink: #fff4df;
  --book-bg: #efb3a2; --book-ink: #302535; --booking-accent: #482b40; --booking-paper: #fff9f0; --booking-ink: #302535;
}
.velo .sitehead { border-bottom: 1px solid #bdaaa9; }
.velo-brand { font: 900 italic 2rem/1 Georgia, serif; letter-spacing: -.075em; display: inline-flex; align-items: center; gap: .6rem; }
.wheel-mark { width: 29px; height: 29px; border: 3px solid currentColor; border-radius: 50%; background: repeating-conic-gradient(#332437 0 3deg, transparent 3deg 58deg); }
.velo .nav-cta { border-radius: 99px; }
.velo-head { padding-block: clamp(2.5rem,5.5vw,5rem) 1.8rem; }
.velo h1, .velo h2 { font-family: Georgia, serif; font-weight: 400; }
.velo h1 { font-size: clamp(4rem,10.8vw,10rem); letter-spacing: -.085em; line-height: .94; }
.velo h1 em, .velo .ride-check em { color: #943829; font-weight: 400; }
.velo .velo-caption { font-family: Consolas, monospace; letter-spacing: .035em; }
.velo-sub { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 1.5rem; }
.velo-sub p { max-width: 51ch; font-size: 1.1rem; }
.velo .cta { background: #fb825c; color: #2d2232; border-radius: 99px; }
.velo-photos { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: clamp(.65rem,1.4vw,1.4rem); align-items: end; }
.velo-photos img { width: 100%; aspect-ratio: 2.2/1; }
.velo-photos img + img { aspect-ratio: 1.4/1; border-radius: 70px 0 0 0; }
.velo-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-direction: row-reverse; }
.velo-heading .small-heading { margin-bottom: .3rem; }
.velo-services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,3vw,2.4rem); margin-top: 2.2rem; }
.velo-services article { padding-block: 1.2rem; border-top: 2px solid #362939; display: flex; flex-direction: column; }
.velo-services h3 { font: 400 clamp(1.6rem,2.75vw,2.5rem)/1.13 Georgia,serif; letter-spacing: -.035em; }
.velo-services p { margin-block: .85rem 1.4rem; }
.velo-services strong { display: block; font-size: 1.35rem; margin-top: auto; }
.velo .terms { color: #61515f; font-size: .93rem; margin-top: .7rem; }
.ride-check { background: #f4d1bd; }
.check-layout { align-items: center; }
.ride-check fieldset { border: 1px solid #957b73; margin: 0; min-width: 0; padding: 12px clamp(.9rem, 2.5vw, 1.7rem); }
.ride-check legend { font-weight: 700; padding-inline: 8px; }
.ride-check label { display: flex; gap: .8rem; align-items: center; padding-block: 9px; cursor: pointer; }
.ride-check input { accent-color: #613b52; min-width: 20px; height: 20px; }
.ride-check output { font-size: .9rem; font-weight: 650; display: block; padding-block: 10px; }
.velo-reception ol { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; padding-left: 1.5rem; margin: 1.8rem 0 0; }
.velo-reception li { padding-left: .3rem; }
.velo-reception li p { margin-top: .5rem; }
@media(max-width: 740px) {
  .garage .garage-hero, .window-hero { grid-template-columns: 1fr; gap: 1.3rem; }
  .garage-lead { height: clamp(250px,63vw,360px); min-height: unset; }
  .garage-intro { padding-block: .5rem; }
  .window-photo { border-radius: 120px 3px 3px 3px; }
  .window-photo img { height: clamp(235px, 57vw, 355px); }
  .window-hero { padding-top: 1.8rem; }
  .service-story, .book-grid, .garage-rates, .diag-layout, .check-layout, .calc-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-story img { aspect-ratio: 2/1; }
  .window-title { grid-template-columns: 1fr; gap: 0; }
  .window-cards, .velo-services, .velo-reception ol { grid-template-columns: 1fr; gap: 1rem; }
  .window-cards { margin-top: 1.8rem; }
  .window-cards p, .velo-services p { margin-block: .5rem .8rem; }
}
@media(max-width: 520px) {
  .sitehead { gap: .75rem; padding-block: 13px; }
  .sitehead nav { width: 100%; justify-content: space-between; }
  .sitehead nav a { font-size: .86rem; }
  .sitehead .nav-cta { padding: .35rem .55rem; }
  .repair .demo-line { font-size: .78rem; }
  .ride-check fieldset { padding-inline: .75rem; }
  .velo-heading { align-items: start; flex-direction: column; gap: .08rem; }
  .velo-photos img { aspect-ratio: 1.4/1; }
  .velo-photos img + img { aspect-ratio: .9/1; border-radius: 35px 0 0; }
  .rate-list > div { padding-block: 13px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
