:root {
  color-scheme: light;
  --ink: #171914;
  --paper: #f5f3ec;
  --lime: #d5f84b;
  --muted: #53574b;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; inset: 1rem auto auto 1rem; background: var(--lime); padding: .7rem; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { background: var(--ink); color: white; border-bottom: 1px solid #ffffff20; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .66rem; text-decoration: none; font: 800 1.75rem/.83 var(--display); }
.brand small { display: block; margin-top: .4rem; font: 700 .59rem/1 Inter, sans-serif; letter-spacing: .075em; }
.brand-mark { width: 35px; height: 35px; border-radius: 50%; border: 3px solid var(--lime); background: repeating-linear-gradient(135deg, transparent 0 5px, var(--lime) 5px 7px); }
nav { display: flex; gap: clamp(1rem, 4vw, 2.75rem); }
nav a, .header-call { text-decoration: none; font-size: .9rem; font-weight: 600; }
nav a:hover, .header-call:hover { text-decoration: underline; text-underline-offset: .3em; }
.header-call { color: var(--lime); padding: .65rem 0 .65rem .65rem; white-space: nowrap; }
.header-call span { margin-left: .25rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: white; }
.hero-image { position: absolute; z-index: -1; inset: 0 0 0 30%; background: linear-gradient(90deg, var(--ink), #17191436 62%, #17191412), url(neumaticos.jpg) center 53% / cover; }
.hero-inner { padding-block: clamp(5rem, 10vw, 8.5rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--lime); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 23px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; }
h1 { margin-top: 1.25rem; color: var(--lime); font-size: clamp(6rem, 13vw, 11rem); text-transform: uppercase; line-height: .78; letter-spacing: -.025em; }
h1 span { display: block; color: white; margin-bottom: .45em; font-size: .31em; line-height: .95; letter-spacing: .02em; }
.intro { max-width: 25rem; margin-top: 1.8rem; color: #f0f0e9; font-size: 1.04rem; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; gap: .75rem; padding: .85rem 1.025rem; border: 1px solid transparent; border-radius: 4px; font-weight: 700; text-decoration: none; }
.primary { background: var(--lime); color: var(--ink); }
.primary:hover { background: #eaff9b; }
.primary:focus-visible { outline-color: white; }
.outline { border-color: #ffffff70; background: #17191490; }
.outline:hover { border-color: white; }

.services, .visit { padding-block: clamp(3rem, 7vw, 5rem); }
h2 { font-size: clamp(2.8rem, 6vw, 4.3rem); line-height: .95; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.service { padding: clamp(1.4rem, 3vw, 2.15rem); border: 1px solid #dbddcf; border-radius: 5px; background: #fbfaf6; }
.service h3 { margin-top: .9rem; font-size: 2.2rem; line-height: 1; }
.service p { margin-top: .55rem; color: var(--muted); line-height: 1.55; }
.service-icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--lime); border-radius: 4px; }
.service-icon::before { content: ""; width: 24px; height: 24px; background: var(--ink); }
.tire::before { border-radius: 50%; background: repeating-conic-gradient(var(--ink) 0deg 24deg, #48542b 24deg 30deg); mask: radial-gradient(transparent 0 43%, #000 44%); }
.nut::before { clip-path: polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%); mask: radial-gradient(transparent 0 29%, #000 31%); }

.visit { background: #e9ebdf; }
.visit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
address { margin-block: 1.25rem; font-style: normal; line-height: 1.6; }
.text-link { display: inline-block; font-weight: 700; text-underline-offset: .24em; }
.text-link span { margin-left: .25rem; }
.hours h3 { font-size: 1.75rem; }
dl { margin: .65rem 0 0; line-height: 1.45; }
dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1px solid #c8ccbb; padding: .55rem 0; }
dd { margin: 0; text-align: right; white-space: nowrap; }
dd a { text-underline-offset: .2em; }
.site-footer { background: var(--ink); color: #fff; font-size: .85rem; }
.footer-inner { min-height: 72px; padding-block: 1rem; }
.site-footer a { color: var(--lime); text-underline-offset: .24em; }

@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 66px; flex-wrap: wrap; gap: .4rem 1rem; padding-block: .85rem; }
  nav { order: 1; width: 100%; gap: 1.2rem; }
  nav a { display: inline-block; padding: .4rem 0; }
  .hero-image { inset: 0; background-image: linear-gradient(90deg, #171914f0, #17191470), linear-gradient(0deg, var(--ink), transparent 65%), url(neumaticos.jpg); }
  .hero-inner { padding-block: 4.5rem; }
  h1 { font-size: clamp(4.7rem, 17vw, 7rem); }
  .service-grid, .visit-inner { grid-template-columns: 1fr; }
}
