:root {
  color-scheme: dark;
  --yellow: #ffcc00;
  --ink: #101010;
  --muted: #ccc9c4;
  --line: #373633;
  font: 100%/1.55 "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: #fff;
  background: radial-gradient(ellipse at 80% 15%, #793a151e, transparent 44%),
    repeating-linear-gradient(135deg, #0d0d0d 0 11px, #111 11px 22px);
}
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--yellow); }
a:focus-visible { outline: 2px solid white; outline-offset: 5px; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .place, .button, nav { line-height: 1.12; }
.shell { width: min(72rem, 100% - 3rem); margin-inline: auto; }
.top {
  min-height: 8.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand { flex: none; text-decoration: none; color: white; }
.brand img { display: block; width: 12.5rem; height: auto; }
.brand span {
  display: block;
  margin-top: .35rem;
  font-size: .75rem;
  font-weight: 750;
  font-style: italic;
  letter-spacing: .035em;
  text-transform: uppercase;
}
nav { display: flex; flex-wrap: wrap; gap: .5rem clamp(.7rem, 3vw, 2rem); }
nav a { display: flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-weight: 700; }
.hero {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, .45fr);
  gap: 1rem;
  padding-block: clamp(2.6rem, 7vw, 5.6rem);
}
.place { color: var(--yellow); text-transform: uppercase; font-weight: 800; letter-spacing: .13em; }
h1 { margin-block: .55rem 1rem; font-size: clamp(2.6rem, 6.5vw, 5.3rem); font-weight: 900; letter-spacing: -.055em; }
h1 span { color: var(--yellow); }
.hero-copy > p:last-of-type { max-width: 36rem; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.25rem); }
.warning-light { justify-self: center; width: min(100%, 15rem); height: auto; mix-blend-mode: screen; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 3rem; padding: .75rem 1.1rem; border: 1px solid var(--yellow);
  background: var(--yellow); color: #101010; font-weight: 800; text-decoration: none;
}
.button:hover { background: #ffe16a; color: #101010; }
.outline { background: transparent; color: var(--yellow); }
.offer { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1rem; }
.panel, .contact {
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
  padding: clamp(1.1rem, 3.3vw, 2.3rem);
  background: linear-gradient(125deg, #222 0%, #151515 70%);
  scroll-margin-top: 1rem;
}
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 850; color: var(--yellow); text-transform: uppercase; }
.panel p { margin-top: .9rem; color: var(--muted); }
.services { display: grid; gap: .6rem 1rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
#autoservis .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services li { position: relative; padding-left: 1.05rem; }
.services li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  border-block: .32em solid transparent; border-left: .43em solid var(--yellow);
}
.parts img { display: block; width: 11rem; height: auto; margin: .6rem 0; border-radius: 14%; }
.contact { margin-block: 1rem 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.15rem; }
h3 { margin-bottom: .65rem; font-size: 1.1rem; }
address { display: grid; gap: .25rem; font-style: normal; color: var(--muted); overflow-wrap: anywhere; }
address a:first-of-type[href^="tel:"] { font-size: 1.3rem; color: var(--yellow); font-weight: 750; }
.hours { margin-block: .25rem; color: var(--muted); }
.map { color: var(--yellow); display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer { padding-block: 1.25rem 1.75rem; color: var(--muted); font-size: .9rem; }
.footer-map { margin-bottom: 1.25rem; }
.footer-map iframe {
  display: block;
  width: 100%;
  height: clamp(16rem, 32vw, 22rem);
  margin-top: 1rem;
  border: 1px solid var(--line);
}
.footer-map .actions { font-size: 1rem; }
@media (max-width: 54rem) {
  #autoservis .services { grid-template-columns: 1fr; }
}
@media (max-width: 43rem) {
  .shell { width: calc(100% - 2rem); }
  .top { flex-direction: column; align-items: flex-start; gap: .7rem; padding-block: 1rem .4rem; }
  nav a { font-size: .9rem; }
  .hero { grid-template-columns: minmax(0, 1fr); position: relative; }
  .hero-copy { position: relative; z-index: 1; }
  .warning-light { position: absolute; top: .45rem; right: 0; width: 4.8rem; opacity: .7; }
  .hero .place { padding-right: 4.75rem; }
  .offer, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div + div { border-top: 1px solid var(--line); padding-top: 1rem; }
}
