:root {
  font-family: Inter, system-ui, Arial, sans-serif;
  color: #242019;
  background: #fff;
  color-scheme: light;
  --repair-accent: #ffce4d;
  --repair-muted: #625b4d;
  --repair-line: #e6dfd1;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a87200; outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
header { background: #fff; border-bottom: 1px solid #eee; }
.header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header img { display: block; max-width: 175px; max-height: 50px; object-fit: contain; }
.desktop { display: flex; gap: 22px; font-size: 14px; font-weight: 700; }
.desktop a[aria-current] { color: #7a5700; }
.call { padding: 12px 16px; border-radius: 12px; background: var(--repair-accent); font-weight: 750; }

.repair-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .96fr);
  overflow: hidden;
  margin-block: clamp(20px, 4vw, 46px) clamp(22px, 4vw, 42px);
  border-radius: 28px;
  background: #211e19;
  color: #fffaf2;
}
.repair-hero-copy { align-self: center; padding: clamp(26px, 4.5vw, 58px); }
.eyebrow { margin: 0; color: var(--repair-accent); font-size: 12px; font-weight: 800; letter-spacing: .09em; }
h1 { margin: 14px 0; font-size: clamp(38px, 4.55vw, 61px); line-height: 1.01; letter-spacing: -.055em; }
h1 span { display: block; color: var(--repair-accent); }
.lead { max-width: 42ch; color: #eee6d6; font-size: clamp(16px, 1.55vw, 19px); line-height: 1.55; }
.repair-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-block: 24px 16px; }
.repair-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 750; text-align: center; }
.repair-button-primary { background: var(--repair-accent); color: #282013; }
.repair-button-primary:hover { background: #ffdc7f; }
.repair-button-secondary { border-color: #827965; }
.repair-button-secondary:hover { background: #39342a; }
.repair-status-link, .repair-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.repair-status-link { color: #f8e8bb; }
.repair-hero :focus-visible { outline-color: var(--repair-accent); }
.repair-hero-image { position: relative; min-height: 100%; margin: 0; background: #3e372b; }
.repair-hero-image img { position: absolute; display: block; width: 100%; height: 100%; object-fit: cover; }
.repair-hero-image figcaption { position: absolute; right: 12px; bottom: 12px; padding: 3px 8px; border-radius: 5px; color: #fff; background: #242019da; font-size: 11px; }

.section { padding-block: clamp(19px, 3vw, 36px); }
.section h2 { margin: 0 0 22px; font-size: clamp(29px, 3.3vw, 43px); line-height: 1.08; letter-spacing: -.045em; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards article { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--repair-line); border-top: 4px solid var(--repair-accent); border-radius: 18px; background: #fffdf7; }
.cards h3 { margin: 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; letter-spacing: -.025em; }
.cards ul { margin: 0; padding-inline-start: 19px; color: var(--repair-muted); line-height: 1.5; }
.cards li + li { margin-top: 6px; }
.repair-warranty { margin: 0; padding: 8px 11px; border-radius: 8px; background: #fff0c4; font-size: 14px; line-height: 1.45; }
.service-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; margin-top: auto; padding-block: 8px; border-bottom: 1px solid #b38716; color: #684900; font-size: 14px; font-weight: 750; }
.service-link:hover { color: #211e19; border-color: currentColor; }
.cards .repair-text-link { color: #684900; }

.process, .contacts { padding: clamp(20px, 4vw, 42px); border-radius: 22px; background: #fff3cc; }
.process ol { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px 32px; margin: 0; padding-inline-start: 22px; }
.process li { padding-inline-start: 3px; }
.process li::marker { color: #745000; font-weight: 800; }
.process strong { font-size: 18px; }
.process p { margin: 6px 0 0; color: #544832; line-height: 1.5; }
.repair-faq, .repair-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 22px; }
.faq { border: 1px solid var(--repair-line); border-radius: 18px; padding-inline: 20px; }
.faq details + details { border-top: 1px solid var(--repair-line); }
.faq summary { min-height: 48px; padding-block: 14px; cursor: pointer; font-weight: 750; }
.faq p { margin: 0 0 16px; color: var(--repair-muted); line-height: 1.6; }
.faq a { text-decoration: underline; text-underline-offset: 3px; }
.repair-visit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contacts p { font-size: 18px; }
.contacts .repair-actions { margin-bottom: 0; }
.repair-visit .igo-telegram-panel { margin: 0; padding: clamp(20px, 3.8vw, 42px); border-radius: 22px; }
.repair-visit .igo-telegram-panel h3 { font-size: 24px; }
.repair-visit .igo-telegram-panel p { color: var(--repair-muted); line-height: 1.55; }

footer { border-top: 1px solid #eee; background: #fff; margin-top: 30px; }
.footer { display: flex; gap: 16px 24px; flex-wrap: wrap; padding-block: 26px; color: #625b4d; font-size: 13px; }
.mobile { display: none; }

@media (max-width: 840px) {
  .repair-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .cards { grid-template-columns: 1fr; }
  .desktop { gap: 12px; font-size: 12px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 28px); }
  .header { min-height: 65px; }
  .header img { max-height: 43px; max-width: 145px; }
  .desktop { display: none; }
  .call { font-size: 13px; padding: 10px 12px; }
  .repair-hero, .repair-faq, .repair-visit, .process ol { grid-template-columns: minmax(0,1fr); }
  .repair-hero { border-radius: 20px; }
  .repair-hero-copy { padding: 24px 18px 14px; }
  .repair-hero-image { min-height: 0; aspect-ratio: 16/10; }
  .repair-hero .repair-actions { margin-block: 18px 8px; }
  .repair-hero .repair-button-primary { flex-basis: 100%; }
  .repair-hero .repair-button-secondary { flex: 1; }
  .repair-faq { gap: 0; }
  .footer { padding-bottom: 100px; }
  .mobile { display: grid; grid-template-columns: repeat(4,1fr); position: fixed; inset: auto 0 0; z-index: 10; background: #fff; border-top: 1px solid #eee; padding: 8px 5px calc(8px + env(safe-area-inset-bottom)); }
  .mobile a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 45px; font-size: 21px; color: #625b4d; }
  .mobile a[aria-current] { color: #745000; }
  .mobile small { font-size: 10px; font-weight: 700; }
}
.cards h3 a { text-decoration: underline; text-underline-offset: .22em; }
.cards h3 a:hover { color: #684900; }
