/* ==========================================================================
   MOT Atlas - design rendszer
   Sötét, prémium felület. Minden szín és méret itt, a tokeneknél állítható.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokenek
   -------------------------------------------------------------------------- */
:root {
    /* Háttér és felületek */
    --bg:            #05070e;
    --bg-soft:       #080b15;
    --surface:       rgba(255, 255, 255, 0.045);
    --surface-strong: rgba(255, 255, 255, 0.075);
    --border:        rgba(255, 255, 255, 0.085);
    --border-strong: rgba(255, 255, 255, 0.16);

    /* Szöveg */
    --text:          #eef1f7;
    --text-soft:     #c3cbd9;
    --muted:         #8e9aad;

    /* Márkaszínek */
    --plate:         #ffd400;
    --plate-deep:    #ffb800;
    --brand:         #4ea8ff;
    --brand-deep:    #1f6fe0;
    --violet:        #8b7bff;

    /* Állapotok */
    --ok:            #35d38b;
    --ok-soft:       rgba(53, 211, 139, 0.14);
    --warn:          #ffb638;
    --warn-soft:     rgba(255, 182, 56, 0.14);
    --danger:        #ff6b6b;
    --danger-soft:   rgba(255, 107, 107, 0.14);
    --critical:      #ff4d4d;
    --critical-soft: rgba(255, 77, 77, 0.16);

    /* Tipográfia */
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

    /* Forma */
    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-sm: 0 8px 20px -12px rgba(0, 0, 0, 0.9);
    --shadow:    0 26px 60px -30px rgba(0, 0, 0, 1);
    --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 1);

    --container: 1180px;
    --header-h:  72px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Alap
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* A háttér fényei: két színes derengés és egy finom rácsozat. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(900px 520px at 12% -8%, rgba(78, 168, 255, 0.20), transparent 62%),
        radial-gradient(760px 460px at 92% 4%, rgba(139, 123, 255, 0.16), transparent 60%),
        radial-gradient(680px 420px at 50% 108%, rgba(255, 212, 0, 0.07), transparent 62%),
        linear-gradient(180deg, var(--bg-soft), var(--bg) 55%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
}

img, svg { max-width: 100%; }
svg { display: block; }

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    font-weight: 760;
    line-height: 1.14;
    letter-spacing: -0.022em;
    color: #fff;
}

h1 { font-size: clamp(2.15rem, 5.4vw, 3.6rem); letter-spacing: -0.032em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 48px 0;
}

strong, b { color: #fff; font-weight: 680; }

code, .mono-value {
    font-family: var(--mono);
    font-size: 0.92em;
    letter-spacing: -0.01em;
}

::selection { background: rgba(255, 212, 0, 0.28); color: #fff; }

:focus-visible {
    outline: 3px solid var(--plate);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Elrendezés
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 22px;
}

.container--narrow { max-width: 820px; }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--flush-top { padding-top: 0; }

.section__head {
    max-width: 720px;
    margin-bottom: 44px;
}

.section__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--plate);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.62;
    color: var(--text-soft);
}

.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   4. Fejléc
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 7, 14, 0.72);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.brand:hover { text-decoration: none; }

.brand__mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(150deg, var(--brand), var(--violet) 70%);
    box-shadow: 0 10px 26px -12px rgba(78, 168, 255, 0.85);
    flex: none;
}

.brand__mark svg { width: 22px; height: 22px; }

.brand__name { color: #fff; }
.brand__name em {
    font-style: normal;
    background: linear-gradient(100deg, var(--plate), #ffe680);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.site-nav__link {
    display: inline-block;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 560;
    text-decoration: none;
    transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.site-nav__link:hover {
    color: #fff;
    background: var(--surface);
    text-decoration: none;
}

.site-nav__link--active { color: #fff; background: var(--surface-strong); }

.site-header__cta { margin-left: 10px; flex: none; }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: var(--surface);
    color: #fff;
    cursor: pointer;
    place-items: center;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Gombok
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 680;
    font-size: 0.98rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.16s var(--ease), box-shadow 0.2s var(--ease),
                background-color 0.2s var(--ease), border-color 0.2s var(--ease),
                color 0.2s var(--ease);
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: linear-gradient(180deg, #ffe14d, var(--plate) 55%, var(--plate-deep));
    color: #14161c;
    box-shadow: 0 16px 34px -18px rgba(255, 212, 0, 0.85);
}

.btn--primary:hover { box-shadow: 0 22px 44px -18px rgba(255, 212, 0, 0.95); }

.btn--ghost {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--text);
}

.btn--ghost:hover { background: var(--surface-strong); border-color: rgba(255, 255, 255, 0.26); }

.btn--sm { padding: 10px 16px; font-size: 0.9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.06rem; border-radius: 13px; }
.btn--block { width: 100%; }

.btn__icon { width: 18px; height: 18px; flex: none; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 82px 0 72px;
    text-align: center;
}

.hero__inner { max-width: 880px; margin: 0 auto; }

.hero__title { margin-bottom: 20px; }

.hero__title .grad {
    background: linear-gradient(96deg, var(--plate), #7fd0ff 52%, var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    max-width: 660px;
    margin: 0 auto 38px;
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    line-height: 1.6;
    color: var(--text-soft);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    padding: 8px 16px 8px 13px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text-soft);
    font-size: 0.83rem;
    font-weight: 620;
    letter-spacing: 0.02em;
}

.badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(53, 211, 139, 0.16);
    animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(53, 211, 139, 0.16); }
    50%      { box-shadow: 0 0 0 8px rgba(53, 211, 139, 0.05); }
}

/* --------------------------------------------------------------------------
   7. Rendszámtábla és kereső
   -------------------------------------------------------------------------- */
.plate-search {
    max-width: 720px;
    margin: 0 auto;
}

.plate-search__label {
    display: block;
    margin-bottom: 14px;
    color: var(--text-soft);
    font-size: 0.98rem;
    font-weight: 620;
}

.plate-search__row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
}

.plate {
    display: flex;
    align-items: stretch;
    flex: 1 1 340px;
    min-width: 0;
    max-width: 430px;
    padding: 5px;
    border-radius: 14px;
    background: #fdfdff;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.16),
        0 30px 60px -26px rgba(0, 0, 0, 1),
        0 0 60px -20px rgba(255, 212, 0, 0.35);
}

.plate__band {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 46px;
    flex: none;
    border-radius: 10px 0 0 10px;
    background: linear-gradient(180deg, #1746b0, #0a2a80);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.plate__band svg { width: 18px; height: 13px; }

.plate__input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    padding: 10px 18px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(180deg, #ffe14d, #ffd400 60%, #ffcb00);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
    color: #14161c;
    font-family: inherit;
    font-size: clamp(1.55rem, 4.6vw, 2.25rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    outline-offset: 3px;
}

.plate__input::placeholder {
    color: rgba(20, 22, 28, 0.32);
    font-weight: 800;
}

.plate__input:focus { outline: 3px solid #fff; outline-offset: 2px; }

.plate--error { box-shadow: 0 0 0 2px var(--danger), 0 30px 60px -26px rgba(0, 0, 0, 1); }

.plate-search__help {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.87rem;
}

.plate-search__official {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 600;
}

.plate-search__official svg {
    width: 17px;
    height: 17px;
    flex: none;
    color: var(--plate);
}

.plate-search__error {
    margin: 14px 0 0;
    color: var(--danger);
    font-size: 0.92rem;
    font-weight: 600;
}

.plate-search--compact { max-width: 560px; }
.plate-search--compact .plate { flex-basis: 260px; max-width: 330px; }
.plate-search--compact .plate__input { font-size: clamp(1.25rem, 3.4vw, 1.6rem); padding: 8px 14px; }
.plate-search--compact .plate__band { width: 38px; font-size: 0.52rem; }

/* --------------------------------------------------------------------------
   8. Hero alatti bizalmi sáv
   -------------------------------------------------------------------------- */
.trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 46px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--border);
}

.trust__item {
    padding: 22px 20px;
    background: rgba(8, 11, 21, 0.72);
    text-align: center;
}

.trust__value {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 720;
    letter-spacing: -0.01em;
}

.trust__label { color: var(--muted); font-size: 0.84rem; }

/* --------------------------------------------------------------------------
   9. Kártyák, rácsok
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s var(--ease), border-color 0.22s var(--ease),
                box-shadow 0.22s var(--ease);
}

.card--hover:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 13px;
    background: linear-gradient(150deg, rgba(78, 168, 255, 0.24), rgba(139, 123, 255, 0.16));
    border: 1px solid var(--border-strong);
    color: var(--brand);
}

.card__icon svg { width: 22px; height: 22px; }
.card__icon--plate { background: linear-gradient(150deg, rgba(255, 212, 0, 0.28), rgba(255, 184, 0, 0.12)); color: var(--plate); }
.card__icon--ok { background: linear-gradient(150deg, rgba(53, 211, 139, 0.24), rgba(53, 211, 139, 0.08)); color: var(--ok); }

.card__title { margin-bottom: 10px; font-size: 1.12rem; }
.card__text { margin: 0; color: var(--text-soft); font-size: 0.96rem; }

/* Lépések */
.step { position: relative; padding: 26px 26px 26px 26px; }
.step__num {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--plate), var(--plate-deep));
    color: #14161c;
    font-size: 1rem;
    font-weight: 800;
}

/* CTA sáv */
.cta-band {
    position: relative;
    overflow: hidden;
    padding: 52px 40px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(78, 168, 255, 0.2), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    text-align: center;
}

.cta-band__title { margin-bottom: 12px; }
.cta-band__text { max-width: 560px; margin: 0 auto 26px; color: var(--text-soft); }

/* --------------------------------------------------------------------------
   10. GYIK
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--border); }

.faq__item { border-bottom: 1px solid var(--border); }

.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 640;
    cursor: pointer;
    list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
    content: "";
    flex: none;
    width: 11px;
    height: 11px;
    border-right: 2px solid var(--plate);
    border-bottom: 2px solid var(--plate);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.2s var(--ease);
}

.faq__item[open] .faq__q::after { transform: rotate(-135deg) translate(-4px, -4px); }
.faq__q:hover { color: var(--plate); }

.faq__a {
    padding: 0 4px 24px;
    color: var(--text-soft);
}

.faq__a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   11. Lábléc
   -------------------------------------------------------------------------- */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    background: rgba(4, 6, 12, 0.7);
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding: 62px 0 48px;
}

.site-footer__about { max-width: 330px; }
.site-footer__about p { color: var(--muted); font-size: 0.92rem; }

.site-footer__tagline {
    margin: 0 0 18px;
    color: var(--text-soft);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
}

.site-footer__col h2 {
    margin-bottom: 16px;
    color: var(--text-soft);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer__list { margin: 0; padding: 0; list-style: none; }
.site-footer__list li { margin-bottom: 10px; }

.site-footer__list a {
    color: var(--text-soft);
    font-size: 0.94rem;
    text-decoration: none;
}

.site-footer__list a:hover { color: var(--plate); }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 24px 0 34px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
}

.site-footer__disclaimer {
    max-width: 780px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   12. Találat oldal
   -------------------------------------------------------------------------- */
.page-head { padding: 40px 0 8px; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 560;
    text-decoration: none;
}

.back-link:hover { color: #fff; text-decoration: none; }
.back-link svg { width: 16px; height: 16px; }

/* "Ez a jelenlegi hivatalos MOT előzmény" sáv */
.record-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    border: 1px solid rgba(53, 211, 139, 0.32);
    border-radius: var(--radius);
    background: linear-gradient(100deg, rgba(53, 211, 139, 0.13), rgba(78, 168, 255, 0.08));
    box-shadow: 0 20px 50px -34px rgba(53, 211, 139, 0.7);
}

.record-banner__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    background: rgba(53, 211, 139, 0.16);
    border: 1px solid rgba(53, 211, 139, 0.34);
    color: var(--ok);
}

.record-banner__icon svg { width: 22px; height: 22px; }

.record-banner__body { flex: 1 1 320px; min-width: 0; }

.record-banner__title {
    margin: 0 0 3px;
    color: #fff;
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.record-banner__meta {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.87rem;
}

.record-banner__meta strong { color: var(--plate); letter-spacing: 0.04em; }

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(53, 211, 139, 0.34);
    border-radius: var(--radius-pill);
    background: rgba(53, 211, 139, 0.12);
    color: #b8f5d6;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Jármű fejléc */
.vehicle-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    margin: 30px 0 34px;
}

.vehicle-head__plate { flex: none; }

.vehicle-head .plate { max-width: 320px; padding: 4px; }
.vehicle-head .plate__band { width: 38px; font-size: 0.52rem; }

.plate--static {
    display: inline-flex;
    padding: 4px;
}

.plate__text {
    display: block;
    padding: 6px 18px;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(180deg, #ffe14d, #ffd400 60%, #ffcb00);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
    color: #14161c;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.25;
    white-space: nowrap;
}

.vehicle-head__body { flex: 1 1 280px; min-width: 0; }
.vehicle-head__title { margin-bottom: 6px; }
.vehicle-head__sub { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Állapot kártya */
.status-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow-sm);
}

.status-card--valid { border-color: rgba(53, 211, 139, 0.3); }
.status-card--expired { border-color: rgba(255, 107, 107, 0.32); }

.status-card__ring {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    flex: none;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.status-card--valid .status-card__ring {
    background: radial-gradient(circle at 50% 40%, rgba(53, 211, 139, 0.28), rgba(53, 211, 139, 0.05));
    border: 2px solid rgba(53, 211, 139, 0.5);
    color: #a9f2cd;
}

.status-card--expired .status-card__ring {
    background: radial-gradient(circle at 50% 40%, rgba(255, 107, 107, 0.26), rgba(255, 107, 107, 0.05));
    border: 2px solid rgba(255, 107, 107, 0.5);
    color: #ffc4c4;
}

.status-card__body { flex: 1 1 300px; min-width: 0; }

.status-card__label {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 620;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.status-card__value {
    margin: 0 0 6px;
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    font-weight: 760;
    letter-spacing: -0.025em;
    color: #fff;
}

.status-card__note { margin: 0; color: var(--text-soft); font-size: 0.93rem; }

/* Adatlap rács */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 26px 0 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--border);
}

.spec {
    padding: 20px 22px;
    background: rgba(8, 11, 21, 0.72);
}

.spec__label {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 640;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.spec__value {
    margin: 0;
    color: #fff;
    font-size: 1.04rem;
    font-weight: 640;
    letter-spacing: -0.01em;
    word-break: break-word;
}

/* Figyelmeztetés (lejárt MOT) */
.alert {
    display: flex;
    gap: 16px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 107, 107, 0.34);
    border-radius: var(--radius);
    background: linear-gradient(100deg, rgba(255, 107, 107, 0.14), rgba(255, 107, 107, 0.04));
}

.alert--warn {
    border-color: rgba(255, 182, 56, 0.34);
    background: linear-gradient(100deg, rgba(255, 182, 56, 0.14), rgba(255, 182, 56, 0.04));
}

.alert--info {
    border-color: var(--border-strong);
    background: var(--surface);
}

.alert__icon { flex: none; color: var(--danger); }
.alert--warn .alert__icon { color: var(--warn); }
.alert--info .alert__icon { color: var(--brand); }
.alert__icon svg { width: 22px; height: 22px; }

.alert__title { margin: 0 0 6px; font-size: 1.04rem; color: #fff; }
.alert__text { margin: 0; color: var(--text-soft); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   13. MOT előzmény idővonal
   -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    margin-top: 12px;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--plate), rgba(78, 168, 255, 0.35) 45%, transparent);
    opacity: 0.5;
}

.test {
    position: relative;
    margin-bottom: 16px;
}

.test::before {
    content: "";
    position: absolute;
    top: 30px;
    left: -30px;
    width: 16px;
    height: 16px;
    border: 3px solid var(--bg);
    border-radius: 50%;
    background: var(--muted);
}

.test--passed::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(53, 211, 139, 0.14); }
.test--failed::before { background: var(--danger); box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.14); }

.test__card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
    transition: border-color 0.2s var(--ease);
}

.test__card:hover { border-color: var(--border-strong); }

.test__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
}

.test__summary::-webkit-details-marker { display: none; }

.test__date {
    flex: 1 1 190px;
    min-width: 0;
    margin: 0;
    color: #fff;
    font-size: 1.06rem;
    font-weight: 680;
    letter-spacing: -0.015em;
}

.test__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 0.88rem;
}

.test__mileage { font-family: var(--mono); color: var(--text-soft); }

.test__chevron {
    flex: none;
    width: 11px;
    height: 11px;
    margin-left: auto;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.2s var(--ease);
}

.test[open] .test__chevron,
.test__card[open] .test__chevron { transform: rotate(-135deg) translate(-4px, -4px); }

.test__body {
    padding: 4px 22px 24px;
    border-top: 1px solid var(--border);
}

.test__rows {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px 26px;
    margin: 22px 0 0;
}

.test__row { margin: 0; }

.test__key {
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 640;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.test__val { margin: 0; color: var(--text); font-size: 0.98rem; }

/* Eredmény címkék */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tag--passed { background: var(--ok-soft); border: 1px solid rgba(53, 211, 139, 0.4); color: #8ff0c2; }
.tag--failed { background: var(--danger-soft); border: 1px solid rgba(255, 107, 107, 0.4); color: #ffb3b3; }
.tag--neutral { background: var(--surface); border: 1px solid var(--border-strong); color: var(--text-soft); }
.tag--plate { background: rgba(255, 212, 0, 0.14); border: 1px solid rgba(255, 212, 0, 0.34); color: #ffe066; }

/* Hibák listája */
.defects { margin: 22px 0 0; padding: 0; list-style: none; }

.defect {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.95rem;
}

.defect:first-child { border-top: 0; }

.defect__type {
    flex: none;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 780;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.defect__type--fail { background: var(--danger-soft); border: 1px solid rgba(255, 107, 107, 0.4); color: #ffb3b3; }
.defect__type--major { background: rgba(255, 145, 56, 0.14); border: 1px solid rgba(255, 145, 56, 0.4); color: #ffc08a; }
.defect__type--minor { background: var(--warn-soft); border: 1px solid rgba(255, 182, 56, 0.4); color: #ffd79a; }
.defect__type--advisory { background: rgba(78, 168, 255, 0.14); border: 1px solid rgba(78, 168, 255, 0.4); color: #a8d4ff; }
.defect__type--dangerous { background: var(--critical-soft); border: 1px solid rgba(255, 77, 77, 0.48); color: #ffb0b0; }

/* Adatforrás megjegyzés */
.data-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.data-note__icon { flex: none; color: var(--plate); }
.data-note__icon svg { width: 22px; height: 22px; }
.data-note__body { flex: 1 1 320px; min-width: 0; }
.data-note__title { margin: 0 0 3px; font-size: 0.98rem; color: #fff; }
.data-note__text { margin: 0; color: var(--muted); font-size: 0.89rem; }

/* --------------------------------------------------------------------------
   14. Űrlapok (kapcsolat)
   -------------------------------------------------------------------------- */
.form { margin-top: 8px; }

.field { margin-bottom: 26px; }

.field__label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 0.97rem;
    font-weight: 640;
}

.field__hint { margin: 0 0 8px; color: var(--muted); font-size: 0.87rem; }

.field__error {
    margin: 0 0 8px;
    color: var(--danger);
    font-size: 0.88rem;
    font-weight: 620;
}

.input,
.textarea,
.select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.input::placeholder, .textarea::placeholder { color: rgba(255, 255, 255, 0.32); }

.input:hover, .textarea:hover, .select:hover { border-color: rgba(255, 255, 255, 0.26); }

.input:focus, .textarea:focus, .select:focus {
    border-color: var(--brand);
    background: rgba(255, 255, 255, 0.08);
    outline: 3px solid rgba(78, 168, 255, 0.28);
    outline-offset: 1px;
}

.textarea { min-height: 170px; resize: vertical; line-height: 1.6; }

.select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath fill='none' stroke='%238e9aad' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.select option { background: #0b1020; color: #fff; }

.field--error .input,
.field--error .textarea,
.field--error .select { border-color: var(--danger); }

.field--error .field__label { color: #ffd0d0; }

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Hibák összegzése */
.error-summary {
    margin-bottom: 32px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 107, 107, 0.45);
    border-left: 5px solid var(--danger);
    border-radius: var(--radius);
    background: linear-gradient(100deg, rgba(255, 107, 107, 0.14), rgba(255, 107, 107, 0.04));
}

.error-summary__title { margin: 0 0 10px; font-size: 1.05rem; color: #fff; }
.error-summary ul { margin: 0; padding-left: 1.15em; }
.error-summary a { color: #ffb3b3; }

/* Sikeres beküldés */
.success-panel {
    display: flex;
    gap: 18px;
    padding: 26px 28px;
    border: 1px solid rgba(53, 211, 139, 0.4);
    border-radius: var(--radius);
    background: linear-gradient(100deg, rgba(53, 211, 139, 0.15), rgba(53, 211, 139, 0.04));
}

.success-panel__icon { flex: none; color: var(--ok); }
.success-panel__icon svg { width: 26px; height: 26px; }
.success-panel__title { margin: 0 0 6px; color: #fff; font-size: 1.1rem; }
.success-panel__text { margin: 0; color: var(--text-soft); }

/* --------------------------------------------------------------------------
   15. Tartalmi oldalak (jog, GYIK, rólunk)
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; margin-bottom: 14px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.prose h3 { margin-top: 30px; margin-bottom: 10px; font-size: 1.12rem; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { padding-left: 1.2em; }
.prose strong { color: #fff; }

.info-box {
    margin: 26px 0;
    padding: 20px 24px;
    border: 1px solid var(--border-strong);
    border-left: 4px solid var(--plate);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.info-box p { margin: 0; color: var(--text-soft); font-size: 0.95rem; }

.meta-list {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border);
}

.meta-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding: 15px 0;
    margin: 0;
    border-bottom: 1px solid var(--border);
}

.meta-list dt, .meta-list__key {
    flex: 0 0 200px;
    color: var(--muted);
    font-size: 0.88rem;
}

.meta-list dd, .meta-list__val {
    flex: 1 1 240px;
    margin: 0;
    color: #fff;
    font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   16. Reszponzív
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust { grid-template-columns: repeat(2, 1fr); }
    .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__top { grid-template-columns: 1fr 1fr; gap: 34px; }
    .site-footer__about { max-width: none; }
}

@media (max-width: 860px) {
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    body { font-size: 16px; }

    .section { padding: 62px 0; }

    .site-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 22px 20px;
        border-bottom: 1px solid var(--border);
        background: rgba(6, 9, 18, 0.97);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .site-nav.is-open { display: flex; }

    .site-nav__link { padding: 12px 14px; border-radius: var(--radius-sm); }

    .site-header__cta { display: none; }
    .nav-toggle { display: grid; }

    .hero { padding: 56px 0 48px; }

    .plate-search__row { flex-direction: column; align-items: stretch; }
    /* A .plate alapból flex: 1 1 340px – oszlopos elrendezésben ez a flex-basis
       magasságként érvényesülne, ezért itt a tartalomhoz igazítjuk. */
    .plate { flex: 0 0 auto; max-width: none; }
    .plate-search .btn { width: 100%; }

    .vehicle-head { gap: 18px; }
    .vehicle-head .plate { max-width: none; }

    .status-card { padding: 26px 22px; gap: 20px; }
    .status-card__ring { width: 76px; height: 76px; font-size: 0.64rem; }

    .timeline { padding-left: 22px; }
    .test::before { left: -22px; top: 26px; width: 13px; height: 13px; border-width: 2px; }
    .test__summary { padding: 16px 18px; gap: 10px; }
    .test__chevron { display: none; }
    .test__body { padding: 4px 18px 20px; }

    .cta-band { padding: 40px 24px; }

    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .spec-grid { grid-template-columns: 1fr; }
    .site-footer__top { grid-template-columns: 1fr; gap: 30px; padding: 46px 0 36px; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   17. Nyomtatás és mozgáscsökkentés
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

@media print {
    body { background: #fff; color: #000; }
    body::before, body::after { display: none; }
    .site-header, .site-footer, .plate-search, .cta-band, .btn { display: none !important; }
    .card, .test__card, .status-card, .spec-grid, .record-banner { border-color: #ccc; background: #fff; }
    h1, h2, h3, .spec__value, .status-card__value, .test__date { color: #000; }
}

/* --------------------------------------------------------------------------
   18. Segédosztályok
   -------------------------------------------------------------------------- */
/* Csak képernyőolvasónak látható tartalom. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 200;
    padding: 12px 20px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    background: var(--plate);
    color: #14161c;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.18s var(--ease);
}

.skip-link:focus {
    top: 0;
    text-decoration: none;
}

/* Hibás beviteli mező (kliensoldali jelzés). */
.input.is-invalid,
.plate.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 2px var(--danger), 0 30px 60px -26px rgba(0, 0, 0, 1);
}

[hidden] { display: none !important; }

/* Záró sor a felsorolásokhoz */
.inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.inline-list li { margin: 0; }

/* Kiemelt szám / statisztika */
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
}

@media (max-width: 760px) {
    .stat-row { grid-template-columns: 1fr; }
}
