/* Sirak Elektronika samochodowa. Look taken from the firm's own banner: white paper, thick black
   outlines, hard offset shadows, red lettering, yellow lightning, stickers slightly tilted. */
:root {
  --ink: #111111;
  --ink-2: #4a4a4a;
  --paper: #ffffff;
  --paper-2: #f4f1ea;
  --red: #f02a50;
  --red-2: #c81a3b;
  --yellow: #f7c721;
  --yellow-2: #d9a900;
  --ok: #1f8f4e;
  --wrap: 72rem;
  --bar-h: 4rem;
  --line: 3px solid var(--ink);
  --shadow: -5px 5px 0 var(--ink);
  --shadow-sm: -3px 3px 0 var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1.0625rem; line-height: 1.55; padding-bottom: var(--bar-h); }
@media (min-width: 48rem) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; line-height: 1.1; margin: 0 0 0.6em; font-weight: 900; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 2.6vw + 1.4rem, 3.4rem); text-transform: uppercase; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.3rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul { padding-left: 1.2em; }
code { font-size: 0.9em; background: var(--paper-2); padding: 0.1em 0.3em; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -200vw; top: 0; background: var(--yellow); color: var(--ink); padding: 0.5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.ico { fill: currentColor; flex: none; }
.todo { background: #fff4c2; border: 2px dashed var(--ink); padding: 0.6rem 0.8rem; font-size: 0.95rem; }

/* Lightning mark */
.bolt { flex: none; }
.bolt-fill { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }


/* Marker-pen heading underline: a red stroke that slips out from under the words */
.hl { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 0.1em; }
.red { color: var(--red); }

/* Zigzag divider */
.zz { display: block; width: 100%; height: 12px; color: var(--ink); margin-top: -12px; position: relative; z-index: 1; }
.zz-fill { fill: var(--zz-fill, var(--paper)); }

/* Banner */
.banner { display: flex; gap: 0.6rem; align-items: center; justify-content: center; background: var(--yellow); color: var(--ink); font-weight: 800; padding: 0.7rem 1rem; text-align: center; border-bottom: var(--line); }
.banner[hidden] { display: none; }

/* Header */
.top { background: var(--paper); border-bottom: var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.logo { display: flex; align-items: center; gap: 0.45rem; text-decoration: none; margin-right: auto; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt b { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; font-size: 1.35rem; font-weight: 900; letter-spacing: 0.02em; text-transform: uppercase; }
.logo-txt small { font-size: 0.72rem; color: var(--ink-2); margin-top: 0.2rem; }
.top nav { display: none; }
.top nav ul { display: flex; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.top nav a { display: block; padding: 0.5rem 0.7rem; text-decoration: none; font-weight: 700; border: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-color: var(--ink); background: var(--yellow); box-shadow: var(--shadow-sm); }
.top-call { display: flex; align-items: center; gap: 0.4rem; text-decoration: none; font-size: 1.1rem; font-weight: 800; padding: 0.4rem 0.7rem; border: var(--line); background: var(--yellow); box-shadow: var(--shadow-sm); }
.top-call:active { transform: translate(-2px, 2px); box-shadow: none; }
@media (min-width: 64rem) { .top nav { display: block; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.5rem; padding: 0.8rem 1.4rem; font-weight: 800; font-size: 1.15rem; text-decoration: none; border: var(--line); box-shadow: var(--shadow); background: var(--paper); color: var(--ink); }
.btn:active { transform: translate(-3px, 3px); box-shadow: none; }
.btn-call { background: var(--yellow); }
.btn-call:hover { background: #ffd43a; }
.btn-red { background: var(--red-2); color: #fff; }
.btn-red:hover { background: #a8122f; }
.btn-ghost:hover { background: var(--paper-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.4rem 0 0; }
.btn-row .btn { flex: 1 1 14rem; }

/* Hero */
.hero { padding: 2rem 0 2.5rem; background: var(--paper-2); background-image: radial-gradient(#c9c4b8 1.2px, transparent 1.2px); background-size: 22px 22px; background-position: 0 0; position: relative; }
.hero .wrap { display: grid; gap: 1.6rem; }
.hero h1 { margin-bottom: 0.5rem; }
.hero h1 em { font-style: normal; color: var(--red); text-shadow: -2px 2px 0 #fff, -4px 4px 0 var(--ink); }
.hero .lead { font-size: 1.2rem; max-width: 40rem; margin-bottom: 0; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; background: var(--paper); border: 2px solid var(--ink); padding: 0.35rem 0.8rem; width: fit-content; transform: rotate(-1.5deg); box-shadow: var(--shadow-sm); margin-top: 1rem; }
.status[hidden] { display: inline-flex; visibility: hidden; }
.status { min-height: 2.3rem; }
.status::before { content: ""; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--ink); }
.status.is-open::before { background: #3ddc84; }
.hero-art { margin: 0; }
.hero-art img, .hero-art svg { border: var(--line); box-shadow: -8px 8px 0 var(--ink); background: #fff; width: 100%; }
.hero-art figcaption { font-size: 0.8rem; color: var(--ink-2); margin-top: 1rem; }
@media (min-width: 56rem) {
  .hero .wrap { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero { padding: 3.5rem 0 4rem; }
  .hero-art { transform: rotate(1.2deg); }
}

/* Stickers: tilted badges with black outline */
.stickers { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.stickers li { font-weight: 900; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.02em; border: 2px solid var(--ink); background: var(--paper); padding: 0.35rem 0.7rem; box-shadow: var(--shadow-sm); }
.stickers li:nth-child(1) { transform: rotate(-2deg); background: var(--yellow); }
.stickers li:nth-child(2) { transform: rotate(1.5deg); }
.stickers li:nth-child(3) { transform: rotate(-1deg); background: var(--red-2); color: #fff; }

/* Sections */
.sec { padding: 2.5rem 0; }
.sec-dark { background: var(--ink); color: #fff; }
.sec-dark h2 { color: #fff; }
.sec-red { background: var(--red); color: #fff; }
.sec-red h2 { color: #fff; }
.sec-alt { background: var(--paper-2); }
.sec-head { max-width: 46rem; margin-bottom: 1.5rem; }
.sec-head h2 { display: inline-block; }
.sec-head h2::after { content: ""; display: block; height: 6px; margin-top: 0.3rem; background: var(--red); width: 4rem; box-shadow: -2px 2px 0 var(--ink); }
.sec-red .sec-head h2::after, .sec-dark .sec-head h2::after { background: var(--yellow); }
.sec-head p { color: var(--ink-2); font-size: 1.1rem; }
.sec-red .sec-head p, .sec-dark .sec-head p { color: #fff; }
@media (min-width: 48rem) { .sec { padding: 3.5rem 0; } }

/* Symptoms: workshop checklist cards */
.symptoms { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.symptoms li { display: flex; gap: 0.7rem; align-items: flex-start; background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow-sm); padding: 0.8rem 0.9rem; font-weight: 600; }
.symptoms .ico { color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; padding: 1px; width: 1.5rem; height: 1.5rem; }
@media (min-width: 40rem) { .symptoms { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .symptoms { grid-template-columns: 1fr 1fr 1fr; } }

/* Services: big red numerals */
.services { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; counter-reset: s; }
.services li { counter-increment: s; border: var(--line); background: var(--paper); box-shadow: var(--shadow); padding: 1.2rem 1.2rem 1.2rem 4.2rem; display: flex; flex-direction: column; position: relative; }
.services li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0.9rem; top: 0.8rem; font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; font-weight: 900; font-size: 2rem; line-height: 1; color: var(--red); -webkit-text-stroke: 1px var(--ink); }
.services h3 { margin-bottom: 0.4rem; }
.services h3 a { text-decoration: none; }
.services h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--yellow); }
.services p { color: var(--ink-2); flex: 1; margin-bottom: 0.8rem; }
.services .more { font-weight: 800; }
@media (min-width: 40rem) { .services { grid-template-columns: 1fr 1fr; } }

/* Why us: stickers on red */
.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.why li { background: var(--paper); color: var(--ink); border: var(--line); box-shadow: var(--shadow); padding: 1.3rem; }
.why li:nth-child(1) { transform: rotate(-1deg); }
.why li:nth-child(3) { transform: rotate(1deg); }
.why .big { display: block; font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; font-size: 2.4rem; font-weight: 900; line-height: 1; margin-bottom: 0.4rem; color: var(--red); -webkit-text-stroke: 1px var(--ink); }
.why p { margin: 0; color: var(--ink-2); }
.why .btn { margin-top: 1rem; width: 100%; }
@media (min-width: 48rem) { .why { grid-template-columns: repeat(3, 1fr); } }

/* Directions */
.dir { display: grid; gap: 1.5rem; }
.dir address { font-style: normal; font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; }
.dir .photo { margin: 0; }
.photo img, .photo .ph { border: var(--line); box-shadow: var(--shadow); background: #fff; }
.photo figcaption { font-size: 0.85rem; color: var(--ink-2); margin-top: 0.7rem; }
.sec-dark .photo figcaption { color: #ddd; }
@media (min-width: 56rem) { .dir { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Gallery */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.gallery .photo { margin: 0; }
.gallery li:nth-child(odd) .photo { transform: rotate(-0.8deg); }
.gallery li:nth-child(even) .photo { transform: rotate(0.8deg); }
.gallery img, .gallery .ph { width: 100%; }
@media (min-width: 40rem) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* Contact */
.contact { display: grid; gap: 1.5rem; }
.contact > div { border: var(--line); padding: 1.2rem; box-shadow: var(--shadow); background: var(--paper); }
.contact h3 { display: flex; align-items: center; gap: 0.5rem; }
.contact address { font-style: normal; }
.contact .tel { font-size: 1.7rem; font-weight: 900; text-decoration: none; display: inline-block; }
.hours { border-collapse: collapse; width: 100%; max-width: 24rem; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0.6rem 0.4rem 0; border-bottom: 2px dashed var(--ink); }
.hours th { font-weight: 700; }
@media (min-width: 48rem) { .contact { grid-template-columns: repeat(3, 1fr); } }

/* Service page */
.crumbs { font-size: 0.9rem; margin-top: 1rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--ink-2); }
.article { max-width: 46rem; }
.article h1 { margin-top: 0.5rem; }
.article h1 em { font-style: normal; color: var(--red); text-shadow: -2px 2px 0 #fff, -4px 4px 0 var(--ink); }
.article .lead { font-size: 1.2rem; color: var(--ink-2); }
.article h2 { font-size: 1.4rem; }
.article ul { padding-left: 0; list-style: none; }
.article ul li { margin-bottom: 0.5rem; padding-left: 1.6rem; position: relative; }
.article ul li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.7rem; height: 0.7rem; background: var(--yellow); border: 2px solid var(--ink); }
.article .btn-row { margin: 1.5rem 0; }

/* Footer */
.foot { background: var(--ink); color: #cfcfcf; padding: 2rem 0 2.5rem; font-size: 0.95rem; border-top: 6px solid var(--yellow); }
.foot p { margin: 0 0 0.3rem; }
.foot-name { color: #fff; font-weight: 800; font-size: 1.1rem; }
.foot a { color: #fff; }
.foot-small { margin-top: 1rem; font-size: 0.85rem; }

/* Sticky mobile bar */
.bar { position: fixed; left: 0; right: 0; bottom: 0; height: var(--bar-h); display: flex; z-index: 30; border-top: var(--line); }
.bar-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 1.2rem; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.bar-call { background: var(--yellow); color: var(--ink); border-right: var(--line); }
.bar-nav { background: var(--ink); color: #fff; }
@media (min-width: 48rem) { .bar { display: none; } }

/* 404 */
.nf { text-align: center; padding: 4rem 0; }
.nf .bolt { margin: 0 auto 1rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Lettering and bolt from the banner (vector) */
.wordmark { display: block; width: 100%; max-width: 44rem; height: auto; margin: 0 0 1.2rem; }
.hero .wordmark { grid-column: 1 / -1; margin-bottom: 0; }
.hero h1 { font-size: clamp(1.5rem, 1.1rem + 2.2vw, 2.4rem); }
.hero-mark { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 1.2rem; padding: 0.6rem 0 0; }
.hero-mark .bolt { height: clamp(6rem, 22vw, 9rem); width: auto; transform: rotate(-6deg); }
.hero-mark .wordmark { max-width: 14rem; margin: 0; }
@media (min-width: 56rem) { .hero-mark { flex-direction: column; padding: 0; } .hero-mark .bolt { height: 16rem; } .hero-mark .wordmark { max-width: 22rem; } }
.btn-call, .btn-red, .stickers li:nth-child(3), .top-call { box-shadow: -3px 3px 0 var(--paper), -6px 6px 0 var(--ink); }
.btn-call:active, .btn-red:active, .top-call:active { transform: translate(-3px, 3px); box-shadow: none; }

.photo-note { font-size: 0.9rem; color: var(--ink-2); margin: 0.6rem 0 0; }

/* Posts from the Google listing, shown as written */
.sec-posty { background: var(--paper); }
.posty { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.post { border: var(--line); background: var(--paper-2); box-shadow: var(--shadow); padding: 1.1rem 1.2rem 1.2rem; transform: rotate(-0.6deg); }
.post:nth-child(even) { transform: rotate(0.6deg); }
.post time { display: inline-block; font-weight: 900; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.03em; background: var(--yellow); border: 2px solid var(--ink); padding: 0.15rem 0.6rem; margin-bottom: 0.7rem; }
.post p { margin: 0; font-size: 1.1rem; font-weight: 600; white-space: pre-line; }
.posty-link { margin: 1.4rem 0 0; font-weight: 700; }
@media (min-width: 56rem) { .posty { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); } }
.zz-foot { --zz-fill: var(--yellow); }
