/* Tengely Autóműhely – alapstílus: világos, letisztult. Tervezési tokenek, tipográfia, közös elemek. */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff; --bg2: #f4f6f9; --bg3: #eaeef3;
  --ink: #0e1621; --ink2: #2a3544; --mut: #5b6778; --line: #dfe5ec;
  --acc: #0a5cff; --acc2: #0847c7; --acc-soft: #e8f0ff;
  --hot: #ff5a1f; --hot-soft: #fff0e9; --ok: #11a05a; --ok-soft: #e6f7ee; --warn: #f2a900; --bad: #d92d3a;
  --r-s: 10px; --r-m: 16px; --r-l: 26px;
  --sh-s: 0 1px 2px rgba(14, 22, 33, .06), 0 4px 14px rgba(14, 22, 33, .05);
  --sh-m: 0 2px 6px rgba(14, 22, 33, .06), 0 18px 40px rgba(14, 22, 33, .09);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h: "Space Grotesk", "Inter", system-ui, sans-serif;
  --wrap: 1180px; --gut: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--acc); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; transition: top .2s; }
.skip:focus { top: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--mut); max-width: 56ch; }
.mut { color: var(--mut); }

/* --- gombok --- */
.btn { --b: var(--acc); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--b); background: var(--b); color: #fff; font: 600 .98rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; box-shadow: 0 6px 18px rgba(10, 92, 255, .22); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10, 92, 255, .28); background: var(--acc2); border-color: var(--acc2); }
.btn:active { transform: translateY(0); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.line:hover { border-color: var(--ink); background: var(--bg2); }
.btn.hot { --b: var(--hot); box-shadow: 0 6px 18px rgba(255, 90, 31, .25); }
.btn.hot:hover { background: #e24a14; border-color: #e24a14; }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); font: 500 .82rem/1 var(--font); color: var(--ink2); }
.chip.acc { background: var(--acc-soft); border-color: transparent; color: var(--acc2); }
.chip.ok { background: var(--ok-soft); border-color: transparent; color: #0b7a43; }
.chip.hot { background: var(--hot-soft); border-color: transparent; color: #c63d0b; }

/* --- fejléc --- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px; display: flex; align-items: center; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.top.solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.3rem/1 var(--font-h); letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg2); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
@media (max-width: 920px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 10px var(--gut) 22px; box-shadow: 0 20px 40px rgba(14, 22, 33, .12); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s var(--ease); }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .top.menu-open { background: #fff; }
}

/* --- rendszámtábla (beviteli mező) --- */
.plate { display: flex; align-items: stretch; height: 64px; border: 3px solid #1b2430; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: var(--sh-s); max-width: 360px; }
.plate .eu { width: 38px; background: #0a3ea8; color: #ffd84a; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 700 .8rem/1 var(--font); gap: 4px; }
.plate .eu i { width: 14px; height: 14px; border: 2px dotted #ffd84a; border-radius: 50%; display: block; }
.plate input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; font: 600 1.75rem/1 var(--font-h); letter-spacing: .12em; text-transform: uppercase; color: #141a22; background: transparent; }
.plate:focus-within { border-color: var(--acc); box-shadow: 0 0 0 4px rgba(10, 92, 255, .15); }
.plate input::placeholder { color: #b5bcc7; }

/* --- kártyák --- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; box-shadow: var(--sh-s); }
.sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; background: var(--bg); z-index: 2; }
.sec.alt { background: var(--bg2); }
.sec-head { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 52px); }

/* --- animáció: beúszó elemek --- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rv { opacity: 1; transform: none; transition: none; } * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* --- lábléc --- */
.foot { background: #0e1621; color: #c5ceda; padding: 64px 0 30px; position: relative; z-index: 2; }
.foot a { color: #e8eef6; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot .logo { color: #fff; margin-bottom: 14px; }
.foot .fine { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #8b97a8; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 800px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot .cols { grid-template-columns: 1fr; } }

/* --- demó-sáv --- */
.demobar { position: relative; z-index: 60; background: #0e1621; color: #dfe7f2; font-size: .82rem; text-align: center; padding: 8px 14px; }
.demobar a { color: #fff; }
