:root {
  --yellow: #ffd23f;
  --black: #141414;
  --white: #ffffff;
  --grey: #5b5b5b;
  --line: #141414;
  --soft: #fff6d1;
  --head: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--black);
  background: var(--white);
  font-size: 17px;
  line-height: 1.5;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 0.5em; }
h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
code { font-size: 0.9em; background: rgba(0,0,0,.08); padding: 0 4px; border-radius: 3px; }

.ribbon {
  background: var(--black);
  color: var(--yellow);
  font-size: 13px;
  padding: 8px 16px;
  text-align: center;
}
.ribbon code { background: rgba(255,210,63,.15); }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(16px, 5vw, 64px);
  border-bottom: 3px solid var(--line);
  flex-wrap: wrap;
}
.brand { font-family: var(--head); font-weight: 800; text-decoration: none; font-size: 18px; }
.nav { display: flex; gap: 20px; font-weight: 700; }
.nav a { text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--black); }

.hero {
  background: var(--yellow);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  padding: clamp(40px, 7vw, 96px) clamp(16px, 5vw, 64px);
  border-bottom: 3px solid var(--line);
  align-items: center;
}
.hero h1 { font-size: clamp(32px, 5.5vw, 64px); font-weight: 800; letter-spacing: -0.02em; }
.lead { font-size: 19px; max-width: 34em; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  margin: 0 0 20px;
}
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #1a9c3c; }
.status.closed::before { background: #d6322b; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-card {
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--black);
  padding: 24px;
}
.bike { width: 100%; height: auto; fill: none; stroke: var(--black); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 16px var(--body);
  padding: 14px 22px;
  border-radius: 12px;
  border: 3px solid var(--line);
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--black); }
.btn:active { transform: none; box-shadow: none; }
.btn-dark { background: var(--black); color: var(--yellow); }
.btn-line { background: var(--white); color: var(--black); }
.btn-link { background: none; border: 0; padding: 8px 0; font: 700 15px var(--body); text-decoration: underline; cursor: pointer; }

.section { padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 64px); border-bottom: 3px solid var(--line); }
.muted { color: var(--grey); max-width: 42em; }

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.service {
  border: 3px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.service-title { font-family: var(--head); font-size: 17px; font-weight: 700; }
.service-price { font-weight: 800; white-space: nowrap; background: var(--yellow); padding: 2px 8px; border-radius: 6px; }
.service-note { color: var(--grey); font-size: 15px; margin: 0; }
.service-time { font-size: 14px; font-weight: 700; margin: auto 0 0; }

.calc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; background: var(--soft); align-items: start; }
.calc-list { display: grid; gap: 10px; margin-top: 24px; }
.calc-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
}
.calc-item input { width: 20px; height: 20px; accent-color: var(--black); }
.calc-item span:nth-child(2) { flex: 1; font-weight: 600; }
.calc-item:has(input:checked) { background: var(--yellow); }
.calc-total {
  position: sticky;
  top: 16px;
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--black);
  padding: 24px;
}
.calc-label { margin: 0; font-weight: 700; color: var(--grey); }
.calc-sum { font-family: var(--head); font-size: 44px; font-weight: 800; margin: 0; }
.calc-time { margin: 0 0 20px; font-weight: 600; }
.request { display: grid; gap: 12px; border-top: 2px dashed var(--line); padding-top: 20px; }
.request label { display: grid; gap: 4px; font-weight: 700; font-size: 15px; }
.request input, .request textarea {
  font: 16px var(--body);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
}
.request input:focus, .request textarea:focus, .btn:focus-visible, .calc-item:focus-within {
  outline: 3px solid #2f6bff;
  outline-offset: 2px;
}
.request-actions { display: grid; gap: 8px; }
.form-error { color: #b3261e; font-weight: 700; margin: 0; min-height: 1em; }
.hint { margin: 0; font-size: 14px; color: var(--grey); min-height: 1em; }

.faq details { border-bottom: 2px solid var(--line); padding: 16px 0; max-width: 820px; }
.faq summary { font-weight: 800; cursor: pointer; font-size: 18px; }
.faq p { margin: 8px 0 0; color: var(--grey); }

.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.address { font-size: 20px; font-weight: 700; }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours td { padding: 6px 0; border-bottom: 1px solid #ddd; }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.today td { background: var(--yellow); }
.hours tr.today td:first-child { padding-left: 8px; }
.hours tr.today td:last-child { padding-right: 8px; }

.foot { padding: 24px clamp(16px, 5vw, 64px); font-size: 14px; color: var(--grey); }

@media (max-width: 800px) {
  .hero, .calc, .contacts { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .calc-total { position: static; }
  .nav { gap: 14px; font-size: 15px; }
}
