:root {
  --red: #ed1c24;
  --red-dark: #c3121a;
  --red-soft: #fdecec;
  --red-ui: #d01a21;     /* surfaces with white text: 5.45:1 (brand red #ed1c24 is only 4.38:1) */
  --red-text: #c3121a;   /* red text on white / light gray: >= 5.68:1 */
  --ink: #1f2226;
  --gray: #636466;
  --muted: #6b6e73;
  --line: #e4e6e9;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --dark: #1b1d21;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 22, 26, .08);
  --shadow-lg: 0 16px 40px rgba(20, 22, 26, .13);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); padding-bottom: 60px; overflow-x: hidden; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--red-text); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h3 { font-size: 1.15rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .9rem; }
.todo { color: #9a5c00; font-style: normal; font-size: .85rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 200; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Icons (sprite: assets/icons.svg) */
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.18em; }
.icon--accent { color: var(--red); }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; background: linear-gradient(90deg, var(--red), #ff6b70); transform-origin: 0 50%; transform: scaleX(0); }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red-ui); color: #fff; box-shadow: 0 8px 20px rgba(237, 28, 36, .28); }
.btn--primary:hover { background: #b3121a; box-shadow: 0 12px 26px rgba(237, 28, 36, .36); }
.btn--primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .7s var(--ease-out); pointer-events: none; }
.btn--primary:hover::after { left: 130%; }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

/* Top bar */
.topbar { background: var(--dark); color: #cfd2d6; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 12px; padding: 6px 16px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; margin-left: 16px; display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:first-child { margin-left: 0; }
.status::before { content: "●"; margin-right: 6px; color: #888; }
.status.open::before { color: #3ecf6e; animation: pulse 2s ease-in-out infinite; }
.status.closed::before { color: var(--red); }
@keyframes pulse { 50% { opacity: .35; } }
@media (max-width: 700px) { .topbar__links { display: none; } }

/* Header */
/* opaque on purpose: the logo PNG has a white background */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header--scrolled { box-shadow: 0 6px 24px rgba(20, 22, 26, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s; }
.header--scrolled .header__inner { height: 62px; }
.brand img { width: 84px; transition: width .3s; }
.header--scrolled .brand img { width: 68px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav a:not(.btn):hover, .nav a.active { color: var(--red-text); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; padding: 8px 16px 16px; }
  .nav.open { display: flex; animation: dropIn .25s var(--ease-out) both; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 12px; }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: #fff; padding: 64px 0 120px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 65% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 65% 40%, #000 10%, transparent 70%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); }
/* red glow behind the text (top left), graphite glow behind the illustration – red never sits behind the red arcs/car */
.blob--1 { width: 520px; height: 520px; top: -260px; left: -180px; background: var(--red); opacity: .32; animation: drift1 18s ease-in-out infinite alternate; }
.blob--2 { width: 560px; height: 560px; top: -60px; right: -120px; background: #4a4e57; opacity: .5; animation: drift2 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(140px, 70px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-120px, 60px) scale(1.1); } }
.hero__inner { display: grid; gap: 32px 48px; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.05fr 1fr; } .stats { grid-column: 1 / -1; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #ff8a8f; margin: 0 0 12px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; }
.accent { color: var(--red); }
.shimmer { background: linear-gradient(90deg, var(--red) 0%, #ff7a7f 50%, var(--red) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 200% 0; } }
.lead { font-size: 1.15rem; color: #d7d9dd; max-width: 60ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
/* no CSS filter here: drop-shadow on an <img> hides the SVG's masked, animated arcs in Chrome */
.hero__art img { width: 100%; transition: transform .5s ease-out; }
.hero__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--bg); }
.intro { animation: introUp .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 120ms + 80ms); }
@keyframes introUp { from { opacity: 0; transform: translateY(26px); } }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 16px 18px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, transform .3s; }
.stats li:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.stats strong { display: block; font-size: 1.9rem; color: #fff; font-variant-numeric: tabular-nums; }
.stats span { color: #c3c6cb; font-size: .9rem; }

/* Sections */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { position: relative; overflow: hidden; background: radial-gradient(circle at 90% 10%, rgba(237,28,36,.22), transparent 45%), var(--dark); color: #e6e8eb; }
.section--dark .section__title { color: #fff; }
.section__title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); text-align: center; }
.section__title::after { content: ""; display: block; width: 56px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: var(--red); transition: width .8s var(--ease-out) .3s; }
.section__title--left { text-align: left; }
.section__title--left::after { margin-left: 0; }
.section__title.reveal:not(.in)::after { width: 0; }
.section__sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 40px; }
.grid2 { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .grid2 { grid-template-columns: 1fr 1fr; } }

/* Split intro (text + illustration) */
.split { display: grid; gap: 16px 48px; align-items: center; margin-bottom: 40px; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1.1fr; }
  .split--reverse { grid-template-columns: 1.1fr 1fr; }
  .split--reverse > .split__art { order: -1; }
}
.split:has(> figure[hidden]) { grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero__inner:has(> figure[hidden]) { grid-template-columns: 1fr; } }
.split__lead { font-size: 1.15rem; color: var(--gray); }
.split__art img, .tire-art img { width: 100%; }
.tire-art { max-width: 460px; margin: 0 auto 16px; }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.chips li:first-child { background: var(--red-soft); border-color: #f7c5c7; }
.chips .icon { color: var(--red); }

/* Cards */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
@media (min-width: 600px) { #szolgaltatasok .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { #szolgaltatasok .cards { grid-template-columns: repeat(4, 1fr); } }
.cards--2 { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(237,28,36,.10), transparent 45%); }
.card > * { position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #f3c2c4; }
.card:hover::before { opacity: 1; }
.card p { color: var(--gray); margin: 0 0 8px; }
.card__icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); border-radius: 14px; margin-bottom: 16px; transition: background .3s, color .3s, transform .4s var(--ease-out); }
.card__icon .icon { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.08); }
.card__link { display: inline-flex; gap: 4px; font-weight: 600; text-decoration: none; transition: gap .2s; }
.card__link:hover { gap: 10px; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); transition: transform .3s var(--ease-out), box-shadow .3s; }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; background: var(--red); color: #fff; border-radius: 50%; font-weight: 700; margin-bottom: 12px; box-shadow: 0 0 0 6px var(--red-soft); }
.steps strong { display: block; }
.steps span { color: var(--gray); }

/* Panels / forms */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); color: var(--ink); }
.checklist, .bullets { padding: 0; list-style: none; margin: 0 0 12px; }
.checklist li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.checklist label { cursor: pointer; display: flex; gap: 10px; align-items: center; transition: color .2s; }
.checklist input { width: 20px; height: 20px; accent-color: var(--red); }
.checklist label:has(input:checked) { color: var(--muted); text-decoration: line-through; }
.bullets li { padding-left: 26px; position: relative; margin: 6px 0; }
.bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.bullets--big li { font-size: 1.1rem; margin: 12px 0; }
.progress { font-weight: 600; color: var(--red-text); margin: 8px 0 0; }
.progress.done { color: #1f9d55; animation: pop .4s var(--ease-out); }
@keyframes pop { 50% { transform: scale(1.08); } }
.more summary { cursor: pointer; font-weight: 600; margin: 10px 0; }
.reminder { margin-top: 32px; display: grid; gap: 20px; }
@media (min-width: 860px) { .reminder { grid-template-columns: 1fr 2fr; align-items: center; } }
.reminder h3 { display: flex; align-items: center; gap: 8px; }
.reminder__form { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; }

.form { display: grid; gap: 14px; }
.form label, .reminder__form label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; color: var(--gray); }
.form .row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
input, select, textarea { font: inherit; padding: 11px 12px; border: 1px solid #cfd3d8; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 4px rgba(237,28,36,.15); }
/* native checkboxes ignore border-color, so they need a real outline */
input[type="checkbox"]:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.consent input { width: auto; margin-top: 4px; }
.form__msg { margin: 0; font-weight: 600; color: #1f9d55; }
.big-phone a { font-size: 2rem; font-weight: 800; color: #fff; text-decoration: none; }
.section--dark .muted { color: #9ea2a8; }

/* Self-service wash */
.wash { margin-top: 32px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 16px; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }

/* Season box */
.season { border-left: 6px solid var(--red); }

/* Brand marquee */
.marquee { position: relative; margin-top: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track, .marquee.paused .marquee__track { animation-play-state: paused; }
.marquee__toggle { position: absolute; right: 0; top: 50%; z-index: 1; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--gray); font-size: .7rem; cursor: pointer; }
.marquee__toggle:hover { color: var(--ink); border-color: var(--gray); }
.marquee__group { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee__group li { padding: 0 36px; color: var(--muted); font-weight: 800; font-size: 1.35rem; letter-spacing: .05em; white-space: nowrap; transition: color .2s; }
.marquee__group li:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Quotes */
.quote { position: relative; margin: 0; background: var(--bg-alt); border-left: 5px solid var(--red); border-radius: var(--radius); padding: 28px 24px 24px; font-style: italic; color: var(--gray); }
.quote::before { content: "\201D"; position: absolute; top: -6px; right: 18px; font: 700 6rem/1 Georgia, serif; color: rgba(237,28,36,.12); pointer-events: none; }

/* FAQ */
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.faq:hover, .faq[open] { border-color: #f3c2c4; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--red); transition: transform .3s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--gray); margin: 12px 0 0; }
.faq[open] p { animation: fadeDown .3s var(--ease-out) both; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* Contact */
address { font-style: normal; line-height: 1.9; margin-bottom: 20px; }
.hours { border-collapse: collapse; margin-bottom: 8px; min-width: 260px; }
.hours td { padding: 4px 16px 4px 0; }
.hours tr.today { font-weight: 700; color: var(--red-text); }
.map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Footer */
.footer { background: var(--dark); color: #9ea2a8; padding: 32px 0; font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer img { width: 64px; background: #fff; border-radius: 8px; padding: 4px; }
.footer a { color: #d7d9dd; }

/* Mobile action bar */
.actionbar { position: fixed; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--red-ui); z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
.actionbar a:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.actionbar a { display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff; padding: 14px 4px; text-decoration: none; font-weight: 700; }
.actionbar a + a { border-left: 1px solid rgba(255,255,255,.25); }
@media (min-width: 900px) { .actionbar { display: none; } }

/* Back to top */
.to-top { position: fixed; right: 16px; bottom: 76px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s, visibility 0s .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.to-top:hover { background: var(--red); }
@media (min-width: 900px) { .to-top { right: 24px; bottom: 24px; } }

/* Scroll reveal (JS adds .reveal only to elements below the fold) */
/* .steps li has its own (more specific) transition, so it is listed explicitly */
.reveal, .steps li.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.in, .steps li.reveal.in { opacity: 1; transform: none; }

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .topbar, .scroll-progress, .actionbar, .to-top, .hero__bg, .marquee__toggle { display: none !important; }
  .header { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
