:root {
  color-scheme: light;
  --red: #c91e19;
  --red-hover: #a31613;
  --ink: #171718;
  --body: #525254;
  --line: #deddd9;
  --paper: #f7f6f3;
  --photo-background: #9a9a9a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 1rem/1.55 system-ui, sans-serif;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid #e74137; outline-offset: 4px; }
img { display: block; max-width: 100%; }
[id] { scroll-margin-block: 1rem; }

.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }

.skip {
  position: absolute;
  z-index: 1;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: #fff;
  transform: translateY(-180%);
}

.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 1.5rem; }
.header-inner { min-height: 76px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 124px; }

nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-inline-start: auto; }
nav a, .header-phone { font-size: 0.95rem; font-weight: 650; text-decoration: none; }
nav a:hover, .header-phone:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.header-phone { color: var(--red); white-space: nowrap; }

.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 88px);
}

.eyebrow {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 1.1rem;
  color: var(--body);
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.eyebrow span { width: 20px; height: 3px; background: var(--red); }
h1, h2 { margin: 0; line-height: 1.09; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.35rem, 4.05vw, 3.75rem); font-weight: 800; }
h1 strong { display: block; color: var(--red); font-weight: inherit; }
.intro { max-width: 34ch; color: var(--body); font-size: 1.125rem; margin-block: 1.15rem 1.65rem; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.button:hover { background: var(--red-hover); }

.hero-art { margin: 0; overflow: hidden; border-radius: 6px; background: var(--photo-background); }
.hero-art img { width: 100%; height: auto; }
.hero-art figcaption { display: grid; grid-template-columns: 1fr 1fr; background: #242426; color: #fff; text-align: center; }
.hero-art figcaption span { padding: 0.58rem; font-size: 0.875rem; font-weight: 750; letter-spacing: 0.08em; }
.hero-art figcaption span + span { border-left: 1px solid #4d4d50; }

.section { padding-block: clamp(40px, 5vw, 68px); }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); }

.parts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.55rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.parts-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}

.parts-list li::before { content: ''; width: 3px; height: 0.95rem; background: var(--red); flex: 0 0 auto; }

.contact { background: #232325; color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.75rem; }
.contact p { margin: 0.85rem 0 0; max-width: 48ch; color: #dedddd; }
address { display: grid; justify-items: start; gap: 0.25rem; font-style: normal; }
address a { font-size: 1.2rem; font-weight: 740; text-underline-offset: 0.23em; }
address span { color: #dedddd; }
.footer-inner { min-height: 72px; justify-content: space-between; color: var(--body); font-size: 0.875rem; }
.footer img { width: 98px; }

@media (max-width: 850px) {
  .wrap { width: min(650px, calc(100% - 40px)); }
  .hero-inner { grid-template-columns: 1fr; gap: 1.85rem; }
  .intro { max-width: 50ch; }
}

@media (max-width: 535px) {
  .header-inner { min-height: 64px; gap: 0.75rem; }
  .brand img { width: 101px; }
  .header-phone { display: none; }
  nav { gap: 0.8rem; }
  nav a { font-size: 0.85rem; padding-block: 0.55rem; }
  .parts-list { grid-template-columns: repeat(2, 1fr); }
  .parts-list li { padding: 0.75rem; font-size: 0.9rem; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 340px) {
  .wrap { width: calc(100% - 28px); }
  .parts-list { grid-template-columns: 1fr; }
}
