/* ==========================================================
   Alvázvédelem Kft. – főoldal
   Paletta: kizárólag a meglévő indexstyle.css :root színei.
   Grafit alap, piros csak cselekvésre, Dinitrol-kék márkára,
   bronz a részletekre.
   ========================================================== */

/* ---------- Betűk (helyben, latin + latin-ext) ---------- */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-ext.woff2) format('woff2'); 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: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600-ext.woff2) format('woff2'); 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: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlowc-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlowc-600-ext.woff2) format('woff2'); 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: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlowc-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlowc-700-ext.woff2) format('woff2'); 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; }
/* Metrikára hangolt helyettesítők: a font-csere ne tolja el a sorokat (CLS) */
@font-face { font-family: 'Barlow Fallback'; src: local('Arial'); size-adjust: 92%; ascent-override: 106%; descent-override: 21%; line-gap-override: 0%; }
@font-face { font-family: 'Barlow Condensed Fallback'; src: local('Arial Narrow'), local('Arial'); size-adjust: 82%; ascent-override: 122%; descent-override: 25%; line-gap-override: 0%; }

:root {
    /* paletta (indexstyle.css) */
    --ink: #171b20;
    --ink-deep: #121519;
    --paper: #fff;
    --field: #f5f6f8;
    --line: #e2e5ea;
    --muted: #58616c;
    --muted-2: #6d7680;
    --steel: #9aa3ad;
    --steel-light: #b7bec7;
    --steel-lighter: #c0c6ce;
    --accent: #e5233b;
    --accent-press: #c81e33;
    --brand: #0066CB;
    --bronze: #b4823c;
    --bronze-light: #d9c6a3;
    --on-dark-track: rgba(255, 255, 255, 0.14);

    /* régi nevek – a main.js által beszúrt / örökölt elemekhez */
    --primary: var(--ink);
    --dark: var(--ink);
    --gray: var(--muted);
    --light: var(--field);
    --dinitrol-blue: var(--brand);
    --dinitrol-red: var(--accent);

    /* típus */
    --font-display: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', Arial, sans-serif;
    --font-body: 'Barlow', 'Barlow Fallback', 'Segoe UI', Tahoma, sans-serif;
    --fs-display: clamp(2.4rem, 1.15rem + 3.9vw, 4.6rem);
    --fs-h2: clamp(2rem, 1.25rem + 2.4vw, 3.4rem);
    --fs-h3: clamp(1.65rem, 1.2rem + 1.5vw, 2.6rem);
    --fs-lead: 1.25rem;
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-item: 1.25rem;

    /* tér */
    --gutter: clamp(16px, 4vw, 56px);
    --max: 1320px;
    --section: clamp(88px, 6rem + 4vw, 168px);
    --header-h: 76px;
    --cta-h: 60px;

    /* mozgás */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --t-hover: 150ms;
    --t-reveal: 400ms;
}

/* ---------- Alapok ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) - 12px);
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    padding-top: var(--header-h);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    caret-color: var(--brand);
}

img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
p { text-wrap: pretty; }

::selection { background: var(--brand); color: var(--paper); }

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}

html { scrollbar-color: var(--steel) var(--field); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ic .fill, .ic use { }
symbol .fill { fill: currentColor; stroke: none; }

.container {
    width: 100%;
    max-width: calc(var(--max) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

section[id], article[id] { scroll-margin-top: calc(var(--header-h) - 12px); }

/* ---------- Gombok ---------- */
.btn,
.submit-btn,
.nav-button,
.mobile-cta a {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    min-height: 48px;
    padding: 0.75em 1.4em;
    border: 0;
    border-radius: 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    overflow: hidden;
    transition: transform var(--t-hover) var(--ease-out);
    -webkit-tap-highlight-color: transparent;
}
/* hover-sötétítés: egy réteg átlátszósága változik (csak opacity) */
.btn::after,
.submit-btn::after,
.nav-button::after,
.mobile-cta a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ink-deep);
    opacity: 0;
    transition: opacity var(--t-hover) ease;
    pointer-events: none;
}
.btn:active,
.submit-btn:active,
.nav-button:active,
.mobile-cta a:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
    .btn:hover::after,
    .submit-btn:hover::after,
    .nav-button:hover::after { opacity: 0.16; }
    .btn:hover,
    .submit-btn:hover,
    .nav-button:hover { transform: translateY(-2px); }
    .btn:active,
    .submit-btn:active,
    .nav-button:active { transform: scale(0.97); }
}

.btn-primary, .submit-btn { background: var(--accent); color: var(--paper); }
.btn-secondary { background: var(--paper); color: var(--ink); }
.btn-dark, .nav-button { background: var(--ink); color: var(--paper); }
.btn-lg { min-height: 56px; padding: 0.9em 1.7em; }

.text-link {
    font-size: var(--fs-body);
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
}
.text-link .ic { transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    .text-link:hover .ic { transform: translateX(3px); }
}

/* ==========================================================
   FEJLÉC – fix, görgetésre tömörödik (csak transform)
   main.js: .header.scrolled (>100px)
   ========================================================== */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--ink);
    color: var(--paper);
    transition: transform 250ms var(--ease-out);
}
.header::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    box-shadow: 0 6px 24px rgba(18, 21, 25, 0.35); /* taste-skill-ignore: lebegő réteg */
    opacity: 0;
    transition: opacity 250ms ease;
    pointer-events: none;
}
.header.scrolled { transform: translateY(-12px); }
.header.scrolled::after { opacity: 1; }

.header .container { height: 100%; }
.navbar {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}
.navbar > * { transition: transform 250ms var(--ease-out); }
.header.scrolled .navbar > * { transform: translateY(6px); }

.logo { display: block; flex-shrink: 0; }
.logo img {
    width: 54px;
    height: 64px;
    object-fit: contain;
    transform-origin: left center;
    transition: transform 250ms var(--ease-out);
}
.header.scrolled .logo img { transform: scale(0.78); }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu a {
    display: block;
    padding: 10px 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--steel-lighter);
    text-decoration: none;
    white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
    .nav-menu a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 2px; text-underline-offset: 8px; }
}
.header-cta { min-height: 44px; padding: 0.6em 1.15em; flex-shrink: 0; font-size: var(--fs-small); }

.mobile-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    margin-right: -8px;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
}
/* A main.js az <i> elemen váltja a fa-bars / fa-times osztályt – CSS rajzolja ki */
.mobile-menu-btn i { position: relative; display: block; width: 24px; height: 2px; background: currentColor; }
.mobile-menu-btn i::before,
.mobile-menu-btn i::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform 200ms var(--ease-out);
}
.mobile-menu-btn i::before { transform: translateY(-7px); }
.mobile-menu-btn i::after { transform: translateY(7px); }
.mobile-menu-btn i.fa-times { background: transparent; }
.mobile-menu-btn i.fa-times::before { transform: rotate(45deg); }
.mobile-menu-btn i.fa-times::after { transform: rotate(-45deg); }

@media (max-width: 1279px) {
    .mobile-menu-btn { display: inline-flex; }
    .header-cta { margin-left: auto; }
    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        height: calc(100dvh - var(--header-h) + 12px);
        margin: 0;
        padding: 16px var(--gutter) 120px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--ink);
        overflow-y: auto;
        overscroll-behavior: contain;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 200ms ease, transform 200ms var(--ease-out), visibility 0s 200ms;
    }
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 200ms ease, transform 200ms var(--ease-out), visibility 0s;
    }
    .nav-menu a {
        padding: 14px 0;
        font-family: var(--font-display);
        font-size: var(--fs-h3);
        font-weight: 600;
        color: var(--paper);
    }
}
@media (max-width: 520px) {
    .header-cta { display: none; }
    .mobile-menu-btn { margin-left: auto; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(32px, 1.5rem + 2vw, 56px) 0 clamp(56px, 3rem + 4vw, 112px);
}
.hero-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 40px);
    row-gap: clamp(24px, 1.5rem + 1vw, 40px);
    grid-template-rows: auto auto 1fr;
    align-items: end;
}
.hero-content { display: contents; }
.hero h1 {
    grid-column: 1 / -1;
    font-size: var(--fs-display);
    line-height: 0.96;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    text-wrap: balance;
}
.hero-content > p {
    grid-column: 1 / span 5;
    align-self: start;
    font-size: var(--fs-lead);
    line-height: 1.55;
    color: var(--steel-lighter);
    max-width: 46ch;
}
.hero .cta-buttons {
    grid-column: 1 / span 5;
    grid-row: 3;
    align-self: start;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-media {
    grid-column: 6 / -1;
    grid-row: 2 / span 2;
    margin: 0;
    background: var(--ink-deep);
}
.hero-media img {
    width: 100%;
    aspect-ratio: 1360 / 907;
    object-fit: cover;
}

@media (max-width: 999px) {
    .hero-content > p,
    .hero .cta-buttons { grid-column: 1 / -1; grid-row: auto; }
    .hero-media { grid-column: 1 / -1; grid-row: auto; }
    .hero h1 { max-width: none; }
}
@media (max-width: 520px) {
    .hero .cta-buttons .btn { flex: 1 1 100%; }
}

/* ==========================================================
   SZEKCIÓK – közös
   ========================================================== */
.section { padding: var(--section) 0; }

.section-title {
    max-width: 62rem;
    margin-bottom: clamp(48px, 2.5rem + 2vw, 88px);
}
.section-title h2 { font-size: var(--fs-h2); }
.section-title p {
    margin-top: 20px;
    font-size: var(--fs-lead);
    color: var(--muted);
    max-width: 52ch;
}

.lead { font-size: var(--fs-lead); line-height: 1.55; }

.ticks { display: grid; gap: 12px; }
.ticks li {
    position: relative;
    padding-left: 32px;
}
.ticks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 20px;
    height: 20px;
    background: var(--brand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E") center / contain no-repeat;
}

figure { margin: 0; }
.photo { background: var(--field); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   RÓLUNK
   ========================================================== */
.about {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 40px);
    row-gap: 48px;
    align-items: start;
}
.about-content { grid-column: 1 / span 7; }
.about-content h2 { font-size: var(--fs-h2); margin-bottom: 28px; }
.about-content p { max-width: 64ch; margin-bottom: 20px; }
.about-content p:first-of-type { font-size: var(--fs-lead); line-height: 1.55; }
.about-content .btn { margin-top: 16px; }

.about-features {
    grid-column: 9 / -1;
    display: grid;
    gap: 2px;
    background: var(--paper);
}
.feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    background: var(--field);
    font-weight: 600;
    font-size: 1.0625rem;
    line-height: 1.4;
}
.feature .ic { color: var(--brand); width: 24px; height: 24px; }
.feature-key { background: var(--ink); color: var(--paper); }
.feature-key .ic { color: var(--bronze); }

@media (max-width: 999px) {
    .about-content, .about-features { grid-column: 1 / -1; }
}

/* ==========================================================
   SZOLGÁLTATÁSOK
   ========================================================== */
.section-services { background: var(--paper); padding-top: 0; }
.section-services > .container { padding-top: 0; }

.detailed-service + .detailed-service { margin-top: var(--section); }
.detailed-service h3 { font-size: var(--fs-h3); margin-bottom: 28px; }
.detailed-service h4 {
    font-family: var(--font-body);
    font-size: var(--fs-item);
    font-weight: 600;
    letter-spacing: 0;
    margin: 32px 0 14px;
}
.service-detail-content p { margin-bottom: 18px; max-width: 68ch; }
.service-detail-content .ticks { margin-bottom: 24px; }

/* Alvázvédelem: előtte/utána pár */
.ba-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: clamp(32px, 2rem + 1vw, 56px);
}
.ba { position: relative; background: var(--field); overflow: hidden; }
.ba img {
    width: 100%;
    aspect-ratio: 6 / 5;
    object-fit: cover;
}
.ba figcaption {
    position: absolute;
    left: 0;
    top: 0;
    padding: 8px 14px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-body);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.ba-after figcaption { background: var(--brand); }

.cols-2 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 40px);
    row-gap: 8px;
    align-items: start;
}
.cols-2 > div:first-child { grid-column: 1 / span 6; }
.cols-2 > .panel { grid-column: 7 / -1; grid-row: span 2; }
.cols-2 > .closing { grid-column: 1 / span 6; }
.panel { background: var(--field); padding: clamp(24px, 2vw, 40px); }
.panel p { font-weight: 600; }
.panel .ticks { margin-bottom: 0; }

@media (max-width: 999px) {
    .cols-2 > div:first-child,
    .cols-2 > .panel,
    .cols-2 > .closing { grid-column: 1 / -1; grid-row: auto; }
    .cols-2 > .panel { margin: 8px 0 24px; }
}
@media (max-width: 699px) {
    .ba-pair { grid-template-columns: 1fr; }
    .ba img { aspect-ratio: 4 / 3; }
}

/* Szemcseszórás / berendezés / üregvédelem: kétoszlopos fejezetek */
.service-split,
.service-equipment,
.service-ureg {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 40px);
    row-gap: 32px;
    align-items: start;
}
.service-split .service-detail-content { grid-column: 1 / span 7; }
.service-split .service-detail-img { grid-column: 8 / -1; grid-row: 1; position: sticky; top: calc(var(--header-h) + 16px); }
.service-split .photo img { aspect-ratio: 4 / 3; }

.service-equipment .service-detail-img { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 16px); }
.service-equipment .service-detail-content { grid-column: 6 / -1; }
.specimen {
    background: var(--field);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    padding: 10%;
}
.specimen img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.equipment-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; margin-bottom: 8px; }

.service-ureg .service-detail-content { grid-column: 1 / span 7; grid-row: 1; }
.service-ureg .ureg-media {
    grid-column: 8 / -1;
    grid-row: 1;
    display: grid;
    gap: 8px;
    position: sticky;
    top: calc(var(--header-h) + 16px);
}
.photo-wide img { aspect-ratio: 3 / 2; }
.photo-tall img { aspect-ratio: 4 / 3; object-position: center 40%; }

.article-highlight {
    background: var(--field);
    padding: 20px 24px;
    margin: 28px 0 0;
}
.article-highlight p { margin: 0; }
.article-highlight strong:first-child { color: var(--brand); }
.article-highlight a {
    color: var(--brand);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

.callout {
    background: var(--brand);
    color: var(--paper);
    padding: 22px 26px;
    font-size: var(--fs-lead);
    line-height: 1.5;
    max-width: none !important;
    margin: 28px 0 !important;
}

@media (max-width: 999px) {
    .service-split .service-detail-content,
    .service-split .service-detail-img,
    .service-equipment .service-detail-img,
    .service-equipment .service-detail-content,
    .service-ureg .service-detail-content,
    .service-ureg .ureg-media { grid-column: 1 / -1; grid-row: auto; position: static; }
    .service-split .service-detail-img,
    .service-ureg .ureg-media { order: -1; }
    .specimen { aspect-ratio: 16 / 10; padding: 6%; }
}
@media (max-width: 699px) {
    .equipment-lists { grid-template-columns: 1fr; }
}

/* ==========================================================
   DINITROL
   ========================================================== */
.section-dinitrol { background: var(--field); }

.dinitrol-content {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 40px);
    row-gap: 32px;
    align-items: center;
    margin-bottom: clamp(56px, 3rem + 2vw, 96px);
}
.dinitrol-logo-large {
    grid-column: 1 / span 3;
    background: var(--paper);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    padding: 14%;
}
.dinitrol-logo-large img { width: 100%; height: auto; }
.dinitrol-description { grid-column: 5 / -1; }
.dinitrol-description h3 { font-size: var(--fs-h3); margin-bottom: 16px; }
.dinitrol-description .text-link { margin-bottom: 24px; }
.dinitrol-description p { font-size: var(--fs-lead); line-height: 1.55; max-width: 60ch; }

.dinitrol-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 3vw, 56px) clamp(32px, 4vw, 80px);
    margin-bottom: clamp(72px, 4rem + 3vw, 136px);
}
.dinitrol-feature { display: grid; grid-template-columns: 40px 1fr; gap: 18px; }
.dinitrol-feature .ic { width: 36px; height: 36px; color: var(--brand); stroke-width: 1.75; }
.feature-content h4 {
    font-family: var(--font-body);
    font-size: var(--fs-item);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
    margin-bottom: 8px;
}
.feature-content p { max-width: 54ch; }

.products-title { font-size: var(--fs-h3); margin-bottom: 32px; }
.dinitrol-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.dinitrol-product {
    display: flex;
    flex-direction: column;
    background: var(--paper);
}
.product-img { overflow: hidden; background: var(--paper); }
.product-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform var(--t-hover) var(--ease-out);
}
.dinitrol-product h4 {
    font-family: var(--font-body);
    font-size: var(--fs-item);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
    padding: 22px 24px 8px;
}
.dinitrol-product p { padding: 0 24px 28px; color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }
@media (hover: hover) and (pointer: fine) {
    .dinitrol-product:hover .product-img img { transform: scale(1.04); }
}

@media (max-width: 1099px) {
    .dinitrol-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
    .dinitrol-logo-large { grid-column: 1 / span 6; }
    .dinitrol-description { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
    .dinitrol-logo-large { grid-column: 1 / -1; max-width: 280px; }
    .dinitrol-features { grid-template-columns: 1fr; }
    .dinitrol-products { grid-template-columns: 1fr; }
}

/* ==========================================================
   HOGYAN DOLGOZUNK – vezetett folyamat
   ========================================================== */
.section-process { background: var(--ink); color: var(--paper); }
.section-process .section-title p { color: var(--steel-lighter); }

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    counter-reset: none;
}
.step {
    position: relative;
    padding: 36px clamp(16px, 2vw, 32px) 0 0;
}
/* sín + kitöltés: a lépés megjelenésekor tölt be (transform) */
.step::before,
.step::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
}
.step::before { background: var(--on-dark-track); }
.step::after {
    background: var(--bronze);
    transform-origin: left center;
}
.step-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-h2);
    line-height: 0.9;
    color: var(--bronze);
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
}
.step-content h3 {
    font-family: var(--font-body);
    font-size: var(--fs-item);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
    margin-bottom: 10px;
}
.step-content p { color: var(--steel-lighter); line-height: 1.6; }

@media (max-width: 999px) {
    .process-steps { grid-template-columns: 1fr; gap: 0; }
    .step {
        display: grid;
        grid-template-columns: clamp(64px, 18vw, 96px) 1fr;
        column-gap: 16px;
        padding: 0 0 36px 28px;
    }
    .step::before, .step::after { right: auto; bottom: 0; width: 6px; height: auto; }
    .step::after { transform-origin: center top; }
    .step:last-child { padding-bottom: 0; }
    .step-number { margin: -4px 0 0; }
}

/* ==========================================================
   KAPCSOLAT – „kivágható szelvény”
   ========================================================== */
.section-contact { background: var(--paper); }

.contact-container {
    position: relative;
    display: grid;
    grid-template-columns: 5fr 7fr;
    background: var(--field);
}
/* perforáció-bevágások a két oszlop határán */
.contact-container::before,
.contact-container::after {
    content: '';
    position: absolute;
    left: calc(5 / 12 * 100%);
    width: 28px;
    height: 28px;
    margin-left: -14px;
    border-radius: 50%;
    background: var(--paper);
}
.contact-container::before { top: -14px; }
.contact-container::after { bottom: -14px; }

.contact-info { padding: clamp(28px, 3.5vw, 56px); }
.contact-info h3,
.contact-form h3 { font-size: var(--fs-h3); margin-bottom: 32px; }

.contact-detail {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 16px;
    padding: 20px 0;
}
.contact-detail + .contact-detail { border-top: 2px solid var(--paper); }
.contact-detail .ic { width: 24px; height: 24px; color: var(--brand); margin-top: 2px; }
.contact-text h4 {
    font-family: var(--font-body);
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 0;
    color: var(--muted);
    margin-bottom: 4px;
}
.contact-text p { font-size: var(--fs-body); }
.contact-text a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 0.18em; text-decoration-color: var(--steel-light); }
.contact-phones .contact-text p + p { margin-top: 2px; }
.contact-phones .contact-text a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-h3);
    line-height: 1.15;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
    .contact-text a:hover { color: var(--brand); }
}
.contact-hours .contact-text p {
    display: grid;
    grid-template-columns: minmax(8.5em, auto) 1fr;
    gap: 12px;
    padding: 6px 0;
}
.contact-hours .contact-text p span:first-child { font-weight: 600; }

.contact-form {
    padding: clamp(28px, 3.5vw, 56px);
    border-left: 4px dotted var(--paper);
}
.form-group { margin-bottom: 10px; }
.form-control {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 2px solid var(--paper);
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: var(--fs-body);
}
.form-control::placeholder { color: var(--muted-2); opacity: 1; }
.form-control:hover { border-color: var(--line); }
.form-control:focus { outline: none; border-color: var(--brand); }
.form-control:focus-visible { outline: 3px solid rgba(0, 102, 203, 0.3); outline-offset: 0; }
.form-control:user-invalid { border-color: var(--accent); }
textarea.form-control { min-height: 150px; resize: vertical; line-height: 1.5; }
.checkbox-group input[type="checkbox"] { accent-color: var(--brand); }
.checkbox-group a { text-underline-offset: 0.15em; }
.submit-btn {
    width: 100%;
    min-height: 58px;
    margin-top: 14px;
}

@media (max-width: 899px) {
    .contact-container { grid-template-columns: 1fr; }
    .contact-container::before,
    .contact-container::after { left: auto; top: auto; margin: 0; bottom: auto; }
    .contact-form { border-left: 0; border-top: 4px dotted var(--paper); }
    /* bevágások a vízszintes perforáció két végén */
    .contact-form { position: relative; }
    .contact-form::before,
    .contact-form::after {
        content: '';
        position: absolute;
        top: -16px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--paper);
    }
    .contact-form::before { left: -14px; }
    .contact-form::after { right: -14px; }
    .contact-container::before, .contact-container::after { display: none; }
}

/* Térkép + útvonal */
.map-block {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 8px;
    margin-top: 8px;
}
.map-frame { grid-column: 1 / span 9; background: var(--field); }
.map-frame iframe { width: 100%; height: clamp(280px, 30vw, 420px); }
.map-navigation-buttons {
    grid-column: 10 / -1;
    display: grid;
    align-content: start;
    gap: 8px;
}
.nav-button { justify-content: flex-start; padding: 20px 24px; min-height: 64px; }
.nav-button .ic { width: 22px; height: 22px; color: var(--bronze-light); }
.waze-button { background: var(--brand); }
.waze-button .ic { color: var(--paper); }

@media (max-width: 899px) {
    .map-frame, .map-navigation-buttons { grid-column: 1 / -1; }
    .map-navigation-buttons { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
}
@media (max-width: 479px) {
    .map-navigation-buttons { grid-template-columns: 1fr; }
}

/* ==========================================================
   TIKTOK + VÉLEMÉNYEK
   ========================================================== */
.section-tiktok { background: var(--field); }
.tiktok-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
/* fix helyfoglalás: a beágyazás betöltése ne tolja el a lapot */
.tiktok-slot {
    height: 760px;
    overflow: hidden;
    background: var(--paper);
    display: flex;
    justify-content: center;
}
.tiktok-slot { position: relative; background: var(--ink); }
.tiktok-slot::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 56px;
    height: 56px;
    background: var(--steel);
    opacity: 0.5;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.6 5.8A4.3 4.3 0 0 1 15.5 3h-3.1v12.4a2.6 2.6 0 0 1-2.6 2.5 2.6 2.6 0 0 1-2.6-2.6c0-1.7 1.7-3 3.4-2.5V9.7c-3.5-.5-6.5 2.2-6.5 5.6 0 3.3 2.8 5.7 5.7 5.7 3.1 0 5.7-2.6 5.7-5.7V9a7.4 7.4 0 0 0 4.3 1.4V7.3s-1.9.1-3.2-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.6 5.8A4.3 4.3 0 0 1 15.5 3h-3.1v12.4a2.6 2.6 0 0 1-2.6 2.5 2.6 2.6 0 0 1-2.6-2.6c0-1.7 1.7-3 3.4-2.5V9.7c-3.5-.5-6.5 2.2-6.5 5.6 0 3.3 2.8 5.7 5.7 5.7 3.1 0 5.7-2.6 5.7-5.7V9a7.4 7.4 0 0 0 4.3 1.4V7.3s-1.9.1-3.2-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tiktok-slot blockquote { position: relative; margin: 0 !important; }
.tiktok-follow { margin-top: 32px; }
.tiktok-follow-btn .ic { width: 20px; height: 20px; }

@media (max-width: 999px) {
    .tiktok-container {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: min(325px, 84vw);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        margin: 0 calc(-1 * var(--gutter));
        padding: 0 var(--gutter) 8px;
        scroll-padding: 0 var(--gutter);
    }
    .tiktok-slot { scroll-snap-align: start; }
}

.reviews-block { padding: clamp(64px, 4rem + 2vw, 120px) 0; }
/* ha az Elfsight-widget nem tölt be (pl. nézetkorlát), ne maradjon üres sáv */
.reviews-block:has(div[class^="elfsight-app"]:empty) { padding: 0; }

/* ==========================================================
   LÁBLÉC
   ========================================================== */
.footer {
    background: var(--ink-deep);
    color: var(--steel-light);
    padding: clamp(72px, 4rem + 3vw, 128px) 0 calc(32px + env(safe-area-inset-bottom));
    font-size: var(--fs-small);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.25fr 1.15fr;
    gap: 48px clamp(24px, 3vw, 56px);
}
.footer-logo img { width: 108px; height: 128px; object-fit: contain; margin-bottom: 24px; }
.footer-text { max-width: 46ch; line-height: 1.65; }
.social-links { display: flex; gap: 8px; margin-top: 24px; }
.social-link {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--paper);
    transition: transform var(--t-hover) var(--ease-out);
}
.social-link .ic { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) {
    .social-link:hover { transform: translateY(-2px); }
}
.social-link:active { transform: scale(0.97); }

.footer-title {
    font-size: var(--fs-item);
    font-weight: 600;
    color: var(--paper);
    margin-bottom: 20px;
}
.footer-links { display: grid; gap: 4px; }
.footer-links a,
.contact-link a,
.legal-links a,
.site-credit a {
    color: var(--steel-lighter);
    text-decoration: none;
    display: inline-block;
    padding: 5px 0;
}
@media (hover: hover) and (pointer: fine) {
    .footer-links a:hover,
    .contact-link a:hover,
    .legal-links a:hover,
    .site-credit a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 0.2em; }
}
.contact-link { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.contact-link .ic { width: 18px; height: 18px; color: var(--bronze); }

.copyright {
    margin-top: clamp(56px, 3rem + 2vw, 96px);
    padding-top: 28px;
    border-top: 2px solid var(--ink);
    display: grid;
    gap: 12px;
}
.copyright-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 32px;
}
.copyright-partner { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); font-weight: 600; }
.copyright-partner .ic { color: var(--bronze); width: 18px; height: 18px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-credit { color: var(--steel); }

@media (max-width: 999px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   MOBIL ALSÓ SÁV – Hívás + Ajánlatkérés
   ========================================================== */
.mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    display: none;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
}
.mobile-cta a {
    min-height: var(--cta-h);
    border-radius: 0;
}
.mobile-cta-call { background: var(--ink); color: var(--paper); }
.mobile-cta-call .ic { width: 20px; height: 20px; color: var(--bronze-light); }
.mobile-cta-quote { background: var(--accent); color: var(--paper); }
.mobile-cta a::after { background: #000; }
.mobile-cta a:active::after { opacity: 0.16; }

@media (max-width: 999px) {
    .mobile-cta { display: grid; }
    body { padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom)); }
}

/* ==========================================================
   SÜTISÁV (logika: inline script – változatlan)
   ========================================================== */
#cookie-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9999;
    width: min(340px, calc(100vw - 24px));
    padding: 20px 22px;
    background: var(--ink);
    color: var(--steel-lighter);
    font-size: 0.9375rem;
    line-height: 1.5;
    box-shadow: 0 12px 32px rgba(18, 21, 25, 0.35); /* taste-skill-ignore: lebegő réteg */
    animation: cookieIn 300ms var(--ease-out) both;
}
@keyframes cookieIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}
#cookie-icon { color: var(--bronze); margin-bottom: 10px; }
#cookie-icon .ic { width: 26px; height: 26px; }
#cookie-banner strong { display: block; color: var(--paper); font-size: var(--fs-body); margin-bottom: 6px; }
#cookie-banner p { margin-bottom: 16px; }
#cookie-banner a { color: var(--paper); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
#cookie-buttons { display: flex; gap: 8px; }
#cookie-accept,
#cookie-decline {
    flex: 1;
    min-height: 44px;
    border: 0;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: transform var(--t-hover) var(--ease-out), opacity var(--t-hover) ease;
}
#cookie-accept { background: var(--accent); color: var(--paper); }
#cookie-decline { background: var(--ink-deep); color: var(--steel-lighter); }
#cookie-accept:active, #cookie-decline:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
    #cookie-accept:hover, #cookie-decline:hover { opacity: 0.88; }
}
@media (max-width: 999px) {
    #cookie-banner { left: 8px; right: 8px; width: auto; padding: 14px 16px; bottom: calc(var(--cta-h) + 8px + env(safe-area-inset-bottom)); }
    #cookie-icon { display: none; }
    #cookie-banner p { margin-bottom: 12px; }
}

/* ==========================================================
   CHATBOT (logika: main.js – változatlan)
   ========================================================== */
.chatbot-trigger {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--brand);
    color: var(--paper);
    box-shadow: 0 8px 24px rgba(18, 21, 25, 0.28); /* taste-skill-ignore: lebegő réteg */
    transition: transform var(--t-hover) var(--ease-out);
    user-select: none;
}
.chatbot-trigger .ic { width: 28px; height: 28px; }
.chatbot-trigger:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
    .chatbot-trigger:hover { transform: scale(1.06); }
    .chatbot-trigger:active { transform: scale(0.95); }
}

.chatbot-widget {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 1002;
    width: 370px;
    height: min(600px, calc(100dvh - 140px));
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border-radius: 12px;
    box-shadow: 0 20px 56px rgba(18, 21, 25, 0.3); /* taste-skill-ignore: lebegő réteg */
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.97);
    transform-origin: bottom right;
    transition: opacity 200ms ease, transform 200ms var(--ease-out), visibility 0s 200ms;
}
.chatbot-widget.active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 200ms ease, transform 200ms var(--ease-out), visibility 0s;
}
.chatbot-header {
    position: relative;
    padding: 18px 56px 16px 20px;
    background: var(--ink);
    color: var(--paper);
}
.chatbot-header h3 { font-family: var(--font-body); font-size: var(--fs-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.chatbot-header p { margin-top: 4px; font-size: var(--fs-small); color: var(--steel-lighter); }
.chatbot-status {
    position: absolute;
    left: 20px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bronze);
    display: none;
}
.chatbot-close {
    position: absolute;
    top: 10px;
    right: 8px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--paper);
    transition: transform var(--t-hover) var(--ease-out), opacity var(--t-hover) ease;
}
.chatbot-close:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .chatbot-close:hover { opacity: 0.75; } }

.chatbot-messages {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 16px;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    gap: 10px;
    overscroll-behavior: contain;
}
.chat-message { display: flex; animation: msgIn 200ms var(--ease-out) both; }
@keyframes msgIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}
.chat-message.bot { justify-content: flex-start; }
.chat-message.user { justify-content: flex-end; }
.message-bubble {
    max-width: 86%;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 0.9375rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.bot .message-bubble { background: var(--field); color: var(--ink); border-bottom-left-radius: 4px; }
.user .message-bubble { background: var(--brand); color: var(--paper); border-bottom-right-radius: 4px; }
.message-bubble a { color: var(--brand); font-weight: 600; }
.user .message-bubble a { color: var(--paper); }
.contact-info-box { margin-top: 10px; padding: 12px; background: var(--paper); border-radius: 8px; }
.contact-info-box h4 { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.contact-info-box p { font-size: var(--fs-small); margin: 3px 0; }

/* a gépelés-jelző statikus (nincs végtelen animáció) */
.chatbot-typing { display: none; align-self: flex-start; padding: 12px 14px; background: var(--field); border-radius: 12px; border-bottom-left-radius: 4px; }
.typing-dots { display: flex; gap: 5px; }
.typing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--steel); }
.typing-dot:nth-child(2) { opacity: 0.7; }
.typing-dot:nth-child(3) { opacity: 0.45; }

.chatbot-quick-replies {
    flex: 0 0 auto;
    max-height: 45%;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px;
    background: var(--field);
}
.quick-reply-btn {
    min-height: 40px;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-size: var(--fs-small);
    font-weight: 600;
    line-height: 1.2;
    transition: transform var(--t-hover) var(--ease-out), opacity var(--t-hover) ease;
}
.quick-reply-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .quick-reply-btn:hover { opacity: 0.8; } }

@media (max-width: 999px) {
    .chatbot-trigger { right: 16px; bottom: calc(var(--cta-h) + 16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; }
    .chatbot-widget {
        left: 8px;
        right: 8px;
        width: auto;
        bottom: calc(var(--cta-h) + 8px + env(safe-area-inset-bottom));
        height: calc(100dvh - var(--cta-h) - 76px);
    }
    .quick-reply-btn { min-height: 44px; }
}

/* ---------- Vissza a tetejére (main.js: .active) ---------- */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 99;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--paper);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms var(--ease-out);
}
.back-to-top .ic { width: 22px; height: 22px; }
.back-to-top.active { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top.active:active { transform: scale(0.95); }
@media (max-width: 999px) {
    .back-to-top { right: 20px; bottom: calc(var(--cta-h) + 84px + env(safe-area-inset-bottom)); }
}

/* reCAPTCHA jelvény: balra, keskenyen (mint eddig), mobilon a sáv fölött */
.grecaptcha-badge {
    left: 14px !important;
    right: auto !important;
    width: 70px !important;
    overflow: hidden !important;
    opacity: 0.7 !important;
    transition: opacity 150ms ease !important;
}
.grecaptcha-badge:hover { opacity: 1 !important; }
@media (max-width: 999px) {
    .grecaptcha-badge { bottom: calc(var(--cta-h) + 14px + env(safe-area-inset-bottom)) !important; }
}

/* ==========================================================
   SZABADSÁG-POPUP (logika: inline script – változatlan)
   ========================================================== */
.vacation-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(18, 21, 25, 0.65);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 0s 200ms;
}
.vacation-popup-overlay.visible { opacity: 1; visibility: visible; transition: opacity 250ms ease, visibility 0s; }
.vacation-popup {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 40px 32px 32px;
    background: var(--paper);
    text-align: left;
    box-shadow: 0 24px 64px rgba(18, 21, 25, 0.35); /* taste-skill-ignore: lebegő réteg */
    transform: translateY(8px) scale(0.98);
    transition: transform 250ms var(--ease-out);
}
.vacation-popup-overlay.visible .vacation-popup { transform: none; }
.vacation-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--muted);
}
.vacation-popup-icon { color: var(--bronze); margin-bottom: 16px; }
.vacation-popup-icon .ic { width: 36px; height: 36px; }
.vacation-popup h3 { font-size: var(--fs-h3); margin-bottom: 6px; }
.vacation-popup-dates { font-weight: 600; color: var(--brand); margin-bottom: 14px; }
.vacation-popup-text { color: var(--ink); margin-bottom: 24px; }
.vacation-popup-ok { width: 100%; }

/* ==========================================================
   SCROLL-REVEAL – main.js teszi rá: html.js-anim, .reveal, .in-view
   (JS nélkül, vagy reduced-motion esetén minden látszik)
   fade + 16px, 400ms, ease-out, egyszer
   ========================================================== */
.js-anim .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity var(--t-reveal) var(--ease-out) calc(var(--reveal-delay, 0s) * 0.6),
        transform var(--t-reveal) var(--ease-out) calc(var(--reveal-delay, 0s) * 0.6);
}
.js-anim .reveal.in-view { opacity: 1; transform: none; }

/* a folyamat-sín a lépéssel együtt töltődik be */
.js-anim .step.reveal::after {
    transform: scaleX(0);
    transition: transform var(--t-reveal) var(--ease-out) calc(var(--reveal-delay, 0s) * 0.6 + 80ms);
}
.js-anim .step.reveal.in-view::after { transform: none; }
@media (max-width: 999px) {
    .js-anim .step.reveal::after { transform: scaleY(0); }
    .js-anim .step.reveal.in-view::after { transform: none; }
}

/* ---------- Csökkentett mozgás: minden mozgás ki ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
    .header.scrolled,
    .header.scrolled .navbar > *,
    .header.scrolled .logo img { transform: none; }
}

/* ---------- Nyomtatás ---------- */
@media print {
    .header, .mobile-cta, .chatbot-trigger, .chatbot-widget, .back-to-top, #cookie-banner, .vacation-popup-overlay, .section-tiktok, .reviews-block, .map-block { display: none !important; }
    body { padding: 0; }
}

/* ==========================================================
   D – vegyes: a mostani főoldal (fooldal.css) kiegészítése
   + A: görgetésre átváltozó előtte/utána hero, bronz sáv = Dinitrol 4942 réteg
   + C: műszaki rajz, az üregvédő és alvázvédő anyag bejuttatása zónánként
   Csak a meglévő paletta. A végleges oldalon a fooldal.css végére kerül.
   ========================================================== */

/* ---------- HERO – alapállapot (JS nélkül / csökkentett mozgás): két kép egymás mellett ---------- */
.hero-wipe { padding: 0; }
.hero-wipe .hero-copy {
    padding-top: clamp(32px, 1.5rem + 2vw, 56px);
    padding-bottom: clamp(32px, 1.5rem + 2vw, 56px);
    grid-template-rows: auto auto;
    row-gap: 24px;
}
.hero-wipe .hero-content > p { grid-column: 1 / span 7; max-width: 62ch; }
.hero-wipe .cta-buttons { grid-column: 9 / -1; grid-row: 2; align-self: end; justify-content: flex-end; }

.stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: calc(var(--max) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter) clamp(56px, 3rem + 4vw, 112px);
}
.shot { position: relative; margin: 0; overflow: hidden; background: var(--ink-deep); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption {
    position: absolute;
    left: 0;
    top: 0;
    padding: 8px 14px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-body);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.shot-after figcaption { background: var(--bronze); color: var(--ink); }
.nozzle, .state { display: none; }

@media (max-width: 999px) {
    .hero-wipe .hero-content > p,
    .hero-wipe .cta-buttons { grid-column: 1 / -1; grid-row: auto; justify-content: flex-start; }
}
@media (max-width: 599px) {
    .shot img { aspect-ratio: 3 / 4; }
}

/* ---------- HERO – görgetéses mód (html.wipe-on, festés előtt kerül fel) ---------- */
.wipe-on .hero-wipe { display: grid; background: var(--ink-deep); }
.wipe-on .hero-wipe > * { grid-area: 1 / 1; min-width: 0; }
.wipe-on .wipe {
    --stage-h: calc(100vh - var(--header-h) + 12px);
    --stage-h: calc(100svh - var(--header-h) + 12px);
    height: calc(var(--stage-h) + 120vh);
}
.wipe-on .stage {
    position: sticky;
    top: calc(var(--header-h) - 12px);
    display: block;
    height: var(--stage-h);
    max-width: none;
    padding: 0;
    overflow: hidden;
}
.wipe-on .shot { position: absolute; inset: 0; }
.wipe-on .shot picture { display: block; height: 100%; }
.wipe-on .shot img { height: 100%; aspect-ratio: auto; object-position: center 50%; }
.wipe-on .shot figcaption { display: none; }
.wipe-on .shot-after { clip-path: inset(0 0 100% 0); }
.wipe-on .stage::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(18, 21, 25, 0.5) 0%, rgba(18, 21, 25, 0) 22%, rgba(18, 21, 25, 0) 36%, rgba(18, 21, 25, 0.92) 100%);
    pointer-events: none;
}
.wipe-on .nozzle {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    height: 8px;
    background: var(--bronze);
    transform: translateY(-20px);
    opacity: 0;
    will-change: transform;
}
.wipe-on .state {
    display: grid;
    position: absolute;
    top: clamp(24px, 4vh, 40px);
    right: var(--gutter);
    z-index: 2;
    text-align: right;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 1rem + 1.6vw, 2.6rem);
    line-height: 1;
}
.state span { transition: opacity 200ms ease, color 200ms ease; }
.state .s-before { color: var(--paper); }
.state .s-after { color: var(--steel); opacity: 0.5; }
.hero.is-after .s-before { color: var(--steel); opacity: 0.5; }
.hero.is-after .s-after { color: var(--bronze); opacity: 1; }

/* Asztalon a szöveg a kitűzött kép alján marad, amíg a réteg végigér */
@media (min-width: 1000px) {
    .wipe-on .hero-copy {
        align-self: end;
        position: sticky;
        bottom: 0;
        z-index: 3;
        padding-bottom: clamp(32px, 5vh, 64px);
    }
    .wipe-on .hero-wipe h1 { font-size: clamp(3rem, 0.6rem + 4.6vw, 6.2rem); line-height: 0.94; }
    .wipe-on .hero-wipe .hero-content > p { color: var(--paper); text-shadow: 0 1px 12px rgba(18, 21, 25, 0.6); }
}
/* Mobilon előbb a szöveg, utána tűződik ki a kép; az alsó gyorssáv nem takarja */
@media (max-width: 999px) {
    .wipe-on .hero-wipe { display: block; }
    .wipe-on .hero-copy { background: var(--ink); }
    .wipe-on .wipe {
        --stage-h: calc(100vh - var(--header-h) + 12px - var(--cta-h));
        --stage-h: calc(100svh - var(--header-h) + 12px - var(--cta-h) - env(safe-area-inset-bottom));
        height: calc(var(--stage-h) + 90vh);
    }
    .wipe-on .stage::after { background: linear-gradient(180deg, rgba(18, 21, 25, 0.55) 0%, rgba(18, 21, 25, 0) 26%); }
}

/* ---------- SZEMCSESZÓRÁS: a gép és az előtte/utána kompozit egymás alatt ---------- */
.service-split .service-detail-img { display: grid; gap: 8px; }
.service-split .photo-ba img { aspect-ratio: 1360 / 907; }

/* ---------- ÜREGVÉDELEM: valódi fotó + bejuttatási zónák, alatta a bevonatos alváz ---------- */
.ureg-sheet { display: grid; gap: 12px; }
.ureg-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.service-ureg .ureg-photos .photo img { aspect-ratio: 4 / 3; }

.uv-side { position: relative; padding: 5.23% 0; }
.uv-photo { display: block; }
.uv-photo img { width: 100%; height: auto; }
.uv-overlay { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.uv-credit { margin: -4px 0 0; font-size: 0.8125rem; color: var(--muted); }
.uv-credit a { color: inherit; }

/* Kezelés közben a fotó elsötétül, a zónák és a belső merevítők előtűnnek */
.uv-dim { fill: var(--ink-deep); opacity: 0; transition: opacity 500ms var(--ease-out); }
.ureg-sheet.xray .uv-dim { opacity: 0.5; }
.uv-overlay .inner { opacity: 0; transition: opacity 400ms ease; }
.ureg-sheet.xray .inner { opacity: 1; }
.uv-overlay .inner path { fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-dasharray: 6 4; opacity: 0.8; }
.uv-overlay .inner .beam { stroke-width: 6; stroke-dasharray: none; stroke-linecap: round; opacity: 0.35; }
.uv-overlay .inner .hole { fill: var(--ink); stroke: var(--paper); stroke-width: 1.5; }

.uv-overlay .zt { fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-dasharray: 6 4; opacity: 0; transition: opacity 300ms ease; }
.ureg-sheet.xray .zt { opacity: 0.85; }
.uv-overlay .zf {
    fill: var(--accent);
    fill-opacity: 0.7;
    transform-box: fill-box;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform 900ms var(--ease-out);
}
.uv-overlay .zf.o-b { transform-origin: 50% 100%; transform: scaleY(0); }
.uv-overlay .zf.lit { transform: none; }

.ureg-sheet .probe { opacity: 0; transition: opacity 200ms ease; }
.ureg-sheet .probe.on { opacity: 1; }
.uv-overlay .probe .hose { fill: none; stroke: var(--paper); stroke-width: 3.5; stroke-linecap: round; }
.uv-overlay .probe .grip { fill: none; stroke: var(--paper); stroke-width: 12; stroke-linecap: round; }
.uv-overlay .probe .fan { fill: var(--accent); opacity: 0.55; }
.uv-overlay .probe circle { fill: var(--paper); stroke: var(--accent); stroke-width: 3; }

.uv-overlay .co path { fill: none; stroke: var(--steel); stroke-width: 1.4; transition: stroke 200ms ease; }
.uv-overlay .co text { font-family: var(--font-display); font-weight: 600; font-size: 52px; text-anchor: middle; fill: var(--muted); transition: fill 200ms ease; }
.uv-overlay .co.lit path { stroke: var(--accent); }
.uv-overlay .co.lit text { fill: var(--ink); }

/* Alváz: a bevonatos alváz szürkéből színesbe vált, ahogy a bronz sáv végigér rajta */
.uv-under { margin: 0; }
.uv-under-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-deep); }
.uv-under picture { position: absolute; inset: 0; }
.uv-under img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.uv-grey img { filter: grayscale(1) brightness(0.55); }
.uv-color { clip-path: inset(0 100% 0 0); transition: clip-path 1400ms var(--ease-out); }
.uv-color.lit { clip-path: inset(0 0 0 0); }
.uv-sweep {
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    transition: transform 1400ms var(--ease-out), opacity 200ms ease;
    pointer-events: none;
}
.uv-sweep::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 8px; background: var(--bronze); }
.uv-color.lit ~ .uv-sweep { transform: none; }
.uv-under figcaption { display: flex; align-items: baseline; gap: 12px; padding-top: 10px; color: var(--muted); font-size: var(--fs-small); }
.uv-word { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1; color: var(--muted); transition: color 200ms ease; }
.co-alvaz.lit .uv-word { color: var(--bronze); }

@media (max-width: 999px) {
    .service-ureg .ureg-media { display: contents; }
    .ureg-sheet { grid-column: 1 / -1; order: -1; }
    .ureg-photos { grid-column: 1 / -1; order: 2; }
    .uv-overlay .co text { font-size: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    .uv-overlay .zf { transform: none; transition: none; }
    .uv-color { clip-path: none; transition: none; }
    .ureg-sheet .probe { display: none; }
    .uv-dim, .uv-overlay .inner, .uv-overlay .zt { transition: none; }
}

/* ---------- MŰHELY: az alváz útja saját fotókon, görgetésre egymásba söpörve ---------- */
.ws { margin-top: clamp(64px, 3rem + 4vw, 128px); }
.ws .nw { white-space: nowrap; }
.ws-stage {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(24px, 4vw, 64px);
    row-gap: 24px;
}
.ws-title { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.05; color: var(--paper); }
.ws-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: center; }
.ws-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
    padding: 10px 0 10px 14px;
    border-left: 4px solid var(--on-dark-track);
    transition: opacity 200ms ease, border-color 200ms ease;
}
.ws-num { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; color: var(--bronze); font-variant-numeric: tabular-nums; }
.ws-step h4 { font-family: var(--font-body); font-size: var(--fs-item); font-weight: 600; line-height: 1.3; margin: 0 0 4px; color: var(--paper); }
.ws-step p { margin: 0; color: var(--steel-lighter); line-height: 1.55; }
.ws-view { align-self: center; display: grid; gap: 16px; min-width: 0; }

/* JS nélkül / csökkentett mozgásnál: a hat fotó rácsban */
.ws-frame { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ws-shot { position: relative; margin: 0; overflow: hidden; background: var(--ink-deep); }
.ws-shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ws-shot figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 6px 12px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
}
.ws-bar, .ws-rail { display: none; }

.wipe-on .ws { --ws-h: calc(100vh - var(--header-h) + 12px); --ws-h: calc(100svh - var(--header-h) + 12px); height: calc(var(--ws-h) + 360vh); }
.wipe-on .ws-stage { position: sticky; top: calc(var(--header-h) - 12px); height: var(--ws-h); align-content: center; padding: 24px 0; }
.wipe-on .ws-frame { display: block; position: relative; aspect-ratio: 4 / 3; max-height: calc(var(--ws-h) - 190px); overflow: hidden; background: var(--ink-deep); }
.wipe-on .ws-shot { position: absolute; inset: 0; }
.wipe-on .ws-shot + .ws-shot { clip-path: inset(0 100% 0 0); }
.wipe-on .ws-shot picture { display: block; height: 100%; }
.wipe-on .ws-shot img { height: 100%; aspect-ratio: auto; }
.wipe-on .ws-bar { display: block; position: absolute; top: 0; bottom: 0; left: 0; width: 8px; margin-left: -4px; background: var(--bronze); opacity: 0; will-change: transform; z-index: 1; }
.wipe-on .ws-rail { display: block; height: 6px; background: var(--on-dark-track); overflow: hidden; }
.ws-rail-fill { display: block; height: 100%; background: var(--bronze); transform-origin: left center; transform: scaleX(0); }
.wipe-on .ws-step { opacity: 0.42; }
.wipe-on .ws-step.is-done { opacity: 0.7; }
.wipe-on .ws-step.is-active { opacity: 1; border-left-color: var(--bronze); }

@media (max-width: 999px) {
    .ws-stage { grid-template-columns: 1fr; grid-template-rows: auto; }
    .ws-frame { grid-template-columns: 1fr 1fr; }
    .ws-view { order: 2; }
    .ws-list { order: 3; }
    .wipe-on .ws { --ws-h: calc(100vh - var(--header-h) + 12px - var(--cta-h)); --ws-h: calc(100svh - var(--header-h) + 12px - var(--cta-h) - env(safe-area-inset-bottom)); height: calc(var(--ws-h) + 300vh); }
    .wipe-on .ws-stage { align-content: start; padding-top: 32px; }
    .wipe-on .ws-frame { max-height: none; }
    .wipe-on .ws-step { display: none; }
    .wipe-on .ws-step.is-active { display: grid; }
}

/* ==========================================================
   ALOLDALAK – galéria, blog, cikkek, jogi oldalak
   Ugyanaz a fejléc, lábléc, betű és paletta, mint a főoldalon.
   Visszatérő elem: a bronz sáv a kép szélén (a hero 4942-es rétege).
   ========================================================== */

.nav-menu a[aria-current="page"] {
    color: var(--paper);
    text-decoration: underline;
    text-decoration-color: var(--bronze);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

/* ---------- Oldalfej ---------- */
.page-hero {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(40px, 2rem + 3vw, 96px) 0 clamp(56px, 3rem + 4vw, 112px);
}
.page-hero .container {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 40px);
    row-gap: 32px;
    align-items: end;
}
.page-hero-copy { grid-column: 1 / -1; max-width: 62rem; }
.page-hero.has-media .page-hero-copy { grid-column: 1 / span 7; }
.page-hero h1 {
    font-size: var(--fs-display);
    line-height: 0.96;
    letter-spacing: -0.015em;
    text-transform: uppercase;
}
.page-hero.is-article h1 { font-size: var(--fs-h2); line-height: 1; }
.page-hero-copy > p {
    margin-top: 20px;
    max-width: 62ch;
    color: var(--steel-lighter);
    line-height: 1.6;
}
.page-hero-copy > p.lead { margin-top: 28px; font-size: var(--fs-lead); line-height: 1.55; color: var(--paper); }
.page-hero-copy > p strong { color: var(--paper); }
.page-hero-media {
    grid-column: 8 / -1;
    position: relative;
    margin: 0;
    background: var(--ink-deep);
}
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero-media::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -4px;
    width: 8px;
    background: var(--bronze);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    min-height: 44px;
    margin-bottom: 20px;
    color: var(--steel-lighter);
    font-weight: 600;
    font-size: var(--fs-small);
    text-decoration: none;
}
.back-link .ic { transform: rotate(180deg); transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    .back-link:hover { color: var(--paper); }
    .back-link:hover .ic { transform: rotate(180deg) translateX(3px); }
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
    margin-top: 28px;
    color: var(--steel-lighter);
    font-size: var(--fs-small);
}
.article-meta .meta-topic {
    padding: 4px 12px;
    background: var(--bronze);
    color: var(--ink);
    font-weight: 600;
}

@media (max-width: 999px) {
    .page-hero.has-media .page-hero-copy,
    .page-hero-media { grid-column: 1 / -1; }
    .page-hero-media::after { top: auto; left: 0; right: 0; bottom: -4px; width: auto; height: 8px; }
}

/* ---------- Szűrő gombok (galéria, blog) ---------- */
.filter-bar { padding: clamp(24px, 2vw, 40px) 0 0; }
.category-filter,
.blog-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn,
.category-tag {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 16px;
    border: 2px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    font-weight: 600;
    font-size: var(--fs-small);
    line-height: 1.2;
    text-decoration: none;
    transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.filter-btn:active,
.category-tag:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
    .filter-btn:hover,
    .category-tag:hover { border-color: var(--ink); }
}
.filter-btn.active,
.category-tag.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.no-results {
    display: none;
    margin: clamp(32px, 3vw, 56px) 0;
    padding: clamp(24px, 3vw, 48px);
    background: var(--field);
}
.no-results h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.no-results p { max-width: 62ch; color: var(--muted); }
.no-results .btn { margin-top: 20px; }
.blog-grid .no-results { display: block; grid-column: 1 / -1; }

/* ---------- Galéria ---------- */
.gallery-main { padding-bottom: var(--section); }
.car-section {
    padding-top: clamp(56px, 3rem + 3vw, 120px);
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 40px);
}
.car-section > * { grid-column: 1 / -1; }
.car-section.hidden { display: none; }
.car-section h2 {
    grid-column: 1 / span 8;
    font-size: var(--fs-h3);
    text-transform: uppercase;
}
.car-date {
    grid-column: 9 / -1;
    grid-row: 1;
    align-self: end;
    justify-self: end;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-item);
    line-height: 1.1;
    color: var(--bronze);
    white-space: nowrap;
}
.car-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.car-tag {
    padding: 4px 10px;
    background: var(--field);
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 600;
}
.car-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 24px 8px;
    margin-top: 28px;
}
.gallery-image {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: zoom-in;
    align-self: start;
}
.gallery-image picture { display: block; overflow: hidden; background: var(--field); }
.gallery-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
    .gallery-image:hover img { transform: scale(1.03); }
}
.image-caption {
    padding-top: 8px;
    font-size: var(--fs-small);
    line-height: 1.4;
    color: var(--muted);
}
.car-description {
    margin-top: clamp(32px, 3vw, 56px);
    padding-top: 28px;
    border-top: 6px solid var(--ink);
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 40px);
}
.car-description > * { grid-column: 5 / -1; max-width: 68ch; }
.car-description > h3 {
    grid-column: 1 / span 4;
    grid-row: 1 / span 40;
    align-self: start;
    font-size: var(--fs-h3);
    max-width: 14ch;
}
.car-description p { margin-bottom: 16px; }
.car-description p p { margin-top: 16px; }
.car-description h4 { font-family: var(--font-body); font-size: var(--fs-item); font-weight: 600; letter-spacing: 0; margin: 28px 0 12px; }
.car-description ul { display: grid; gap: 8px; margin-bottom: 20px; }
.car-description li { position: relative; padding-left: 22px; }
.car-description li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--bronze); }

@media (max-width: 999px) {
    .car-section h2,
    .car-date { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
    .car-date { margin-top: 12px; }
    .car-description > *,
    .car-description > h3 { grid-column: 1 / -1; grid-row: auto; max-width: none; }
    .car-description > h3 { margin-bottom: 16px; }
}
@media (max-width: 599px) {
    .car-gallery { grid-template-columns: 1fr 1fr; gap: 16px 8px; }
}

/* TikTok a galéria végén */
.tiktok-section-small {
    margin-top: var(--section);
    padding: clamp(40px, 4vw, 72px) clamp(20px, 3vw, 48px);
    background: var(--ink);
    color: var(--paper);
}
.tiktok-section-small h3 { font-size: var(--fs-h3); text-transform: uppercase; }
.tiktok-container-small {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 32px 0;
}
.tiktok-container-small .tiktok-embed { margin: 0 !important; }
.tiktok-follow-btn-small { background: var(--paper); color: var(--ink); }

/* Nagyító */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 72px clamp(16px, 6vw, 96px) 88px;
    background: rgba(18, 21, 25, 0.96);
    color: var(--paper);
}
.lightbox-content { position: static; max-width: 100%; max-height: 100%; }
#lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    max-height: calc(100svh - 160px);
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}
.lightbox-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 28px;
    text-align: center;
    font-weight: 600;
}
.lightbox-close,
.lightbox-btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 0;
    background: var(--ink);
    color: var(--paper);
    transition: transform var(--t-hover) var(--ease-out);
}
.lightbox-close { top: 12px; right: 12px; }
.lightbox-btn { top: 50%; margin-top: -28px; }
.lightbox .prev-btn { left: 12px; }
.lightbox .next-btn { right: 12px; }
.lightbox .prev-btn .ic { transform: rotate(180deg); }
.lightbox-close .ic,
.lightbox-btn .ic { width: 26px; height: 26px; }
.lightbox-close:active,
.lightbox-btn:active { transform: scale(0.95); }
@media (max-width: 699px) {
    .lightbox { padding: 72px 8px 120px; }
    .lightbox-btn { top: auto; bottom: 16px; margin-top: 0; }
    .lightbox-caption { bottom: 84px; }
}

/* ---------- Blog ---------- */
.blog-hero-more {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px clamp(24px, 3vw, 56px);
    max-width: 62rem;
    padding-top: 28px;
    border-top: 2px solid var(--on-dark-track);
    color: var(--steel-lighter);
}
@media (max-width: 799px) { .blog-hero-more { grid-template-columns: 1fr; } }

.blog-section { padding: clamp(40px, 3vw, 64px) 0 var(--section); }
.featured-article { margin-bottom: var(--section); }
.featured-article-content {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 40px);
    row-gap: 28px;
    align-items: center;
}
.featured-article-img { grid-column: 1 / span 6; position: relative; background: var(--field); }
.featured-article-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.featured-article-img::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -4px;
    width: 8px;
    background: var(--bronze);
}
.featured-article-text { grid-column: 8 / -1; }
.featured-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--ink);
    color: var(--paper);
    font-weight: 600;
    font-size: var(--fs-small);
}
.featured-article-text h2 { margin: 20px 0 16px; font-size: var(--fs-h3); }
.featured-meta,
.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    color: var(--muted);
    font-size: var(--fs-small);
}
.featured-article-text > p { margin: 20px 0 28px; max-width: 60ch; }
@media (max-width: 999px) {
    .featured-article-img,
    .featured-article-text { grid-column: 1 / -1; }
    .featured-article-img::after { top: auto; left: 0; right: 0; bottom: -4px; width: auto; height: 8px; }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(48px, 4vw, 72px) clamp(16px, 2.4vw, 40px);
}
.blog-card { display: flex; flex-direction: column; }
.blog-card.hidden { display: none; }
.blog-card-img { background: var(--field); overflow: hidden; }
.blog-card-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.blog-card-content { display: flex; flex-direction: column; flex: 1; padding-top: 20px; border-top: 0; }
.blog-card-meta .category { padding: 2px 10px; background: var(--field); color: var(--ink); font-weight: 600; }
.blog-card h3 { margin: 14px 0 12px; font-size: 1.75rem; line-height: 1.05; }
.blog-card-content > p { color: var(--muted); }
.blog-card-footer { margin-top: auto; padding-top: 20px; }
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    min-height: 44px;
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
}
.read-more .ic { transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    .read-more:hover .ic { transform: translateX(3px); }
}
@media (max-width: 999px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 649px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Cikk ---------- */
.article-content { padding: clamp(48px, 3rem + 2vw, 112px) 0 var(--section); }
.article-layout {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 40px);
    align-items: start;
}
.article-container { grid-column: 1 / span 8; min-width: 0; font-size: 1.125rem; line-height: 1.7; }
.article-aside {
    grid-column: 10 / -1;
    position: sticky;
    top: calc(var(--header-h) + 12px);
    padding: 28px;
    background: var(--ink);
    color: var(--steel-lighter);
    font-size: var(--fs-small);
}
.article-aside-title { color: var(--paper); font-size: var(--fs-item); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin-bottom: 16px; }
.article-aside .btn { width: 100%; margin-top: 20px; }
@media (max-width: 999px) {
    .article-container { grid-column: 1 / -1; }
    .article-aside { display: none; }
}

.article-container > p,
.article-section > p { margin-bottom: 1.1em; max-width: 68ch; }
.article-intro {
    font-size: var(--fs-lead);
    line-height: 1.6;
    padding-left: 22px;
    border-left: 6px solid var(--bronze);
    margin-bottom: 32px;
}
.article-section { margin-top: clamp(48px, 3rem + 1vw, 80px); }
.article-section h2 { font-size: var(--fs-h3); margin-bottom: 24px; }
.article-section h3 {
    font-family: var(--font-body);
    font-size: var(--fs-item);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
    margin: 36px 0 12px;
}
.article-section h4 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; letter-spacing: 0; margin: 24px 0 8px; }
.article-container a:not(.btn):not(.social-share-link):not(.article-prev):not(.article-next) {
    color: var(--brand);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}
.article-section ul,
.article-section ol:not(.process-steps) { display: grid; gap: 10px; margin: 0 0 1.2em; max-width: 68ch; }
.article-section ul > li { position: relative; padding-left: 24px; }
.article-section ul > li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--bronze); }
.article-section ol:not(.process-steps) { list-style: decimal; padding-left: 1.4em; }
.article-section ol:not(.process-steps) > li::marker { font-weight: 600; color: var(--bronze); }

.article-main-img,
.article-img { margin: 40px 0; }
.article-main-img img,
.article-img img { width: 100%; height: auto; background: var(--field); }
.article-img figcaption,
.article-main-img figcaption {
    padding-top: 10px;
    font-size: var(--fs-small);
    line-height: 1.45;
    color: var(--muted);
}
.video-container { position: relative; aspect-ratio: 16 / 9; background: var(--ink-deep); }
.video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.article-container .article-highlight { margin: 32px 0; border-left: 6px solid var(--brand); }
.article-container .article-highlight p + p { margin-top: 12px; }
.article-gallery-cta { margin: 32px 0; }
.btn-gallery { background: var(--ink); color: var(--paper); }

.technology-highlight {
    margin: 32px 0;
    padding: clamp(24px, 3vw, 40px);
    background: var(--brand);
    color: var(--paper);
}
.technology-highlight h3, .technology-highlight h4 { color: var(--paper); margin-top: 0; }
.technology-highlight p + p { margin-top: 12px; }

.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 8px;
    margin: 28px 0;
}
.material-card { padding: 24px; background: var(--field); }
.material-card h3, .material-card h4 { margin-top: 0 !important; }

.article-container .process-steps {
    display: grid;
    grid-template-columns: none;
    gap: 0;
    margin: 28px 0;
    counter-reset: lepes;
}
.article-container .process-steps > li {
    position: relative;
    padding: 0 0 28px 64px;
    counter-increment: lepes;
}
.article-container .process-steps > li::before {
    content: counter(lepes);
    position: absolute;
    left: 0;
    top: -4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 1;
    color: var(--bronze);
}
.article-container .process-steps > li::after {
    content: '';
    position: absolute;
    left: 44px;
    top: 0;
    bottom: 12px;
    width: 4px;
    background: var(--line);
}
.article-container .process-steps h3,
.article-container .process-steps h4 { margin: 0 0 6px; }

/* Kalkulátor */
.calculator-widget {
    margin: 48px 0;
    padding: clamp(24px, 3vw, 48px);
    background: var(--field);
    border-top: 6px solid var(--ink);
}
.calculator-title { font-size: var(--fs-h3); margin-bottom: 24px; }
.input-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 0 16px;
}
.input-group { margin-bottom: 16px; }
.input-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: var(--fs-small); }
.input-group input,
.input-group select {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 2px solid var(--line);
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: var(--fs-body);
}
.input-group input:hover,
.input-group select:hover { border-color: var(--steel); }
.input-group input:focus,
.input-group select:focus { outline: none; border-color: var(--brand); }
.input-group input:focus-visible,
.input-group select:focus-visible { outline: 3px solid rgba(0, 102, 203, 0.3); outline-offset: 0; }
.calc-button {
    min-height: 56px;
    padding: 0.9em 1.7em;
    border: 0;
    background: var(--accent);
    color: var(--paper);
    font-weight: 600;
    transition: transform var(--t-hover) var(--ease-out), background-color var(--t-hover) ease;
}
.calc-button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
    .calc-button:hover { background: var(--accent-press); }
}
.result-box {
    display: none;
    margin-top: 24px;
    padding: 24px;
    background: var(--paper);
    border-left: 6px solid var(--bronze);
}
.result-recommendation { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; margin-bottom: 10px; }

/* Cikk vége: felhívás, megosztás, lapozás */
.article-call-to-action {
    margin-top: clamp(56px, 4vw, 96px);
    padding: clamp(28px, 4vw, 56px);
    background: var(--ink);
    color: var(--steel-lighter);
}
.article-call-to-action h3 { color: var(--paper); font-size: var(--fs-h3); margin-bottom: 16px; }
.article-call-to-action p { margin-bottom: 28px; max-width: 60ch; }
.article-call-to-action .btn { margin: 0 8px 8px 0; }

.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-top: 48px;
    font-weight: 600;
}
.social-share-links { display: flex; gap: 8px; }
.social-share-link {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--field);
    color: var(--ink);
    transition: transform var(--t-hover) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.social-share-link .ic { width: 20px; height: 20px; }
.social-share-link:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
    .social-share-link:hover { background: var(--ink); color: var(--paper); }
}

.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 48px;
}
.article-prev,
.article-next {
    display: block;
    padding: 20px 0 0;
    border-top: 6px solid var(--line);
    text-decoration: none;
    transition: border-color var(--t-hover) ease;
}
.article-next { grid-column: 2; text-align: right; }
.article-prev span,
.article-next span { font-size: var(--fs-small); color: var(--muted); font-weight: 600; }
.article-prev p,
.article-next p { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
@media (hover: hover) and (pointer: fine) {
    .article-prev:hover,
    .article-next:hover { border-color: var(--bronze); }
}
@media (max-width: 599px) {
    .article-navigation { grid-template-columns: 1fr; gap: 24px; }
    .article-next { grid-column: 1; text-align: left; }
}
.article-back-to-list { margin-top: 48px; }
.btn-outline { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- Jogi oldalak ---------- */
.legal-main { padding-top: clamp(48px, 3rem + 2vw, 112px); padding-bottom: var(--section); }
.legal-layout {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2.4vw, 40px);
    align-items: start;
}
.legal-aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 12px); max-height: calc(100vh - var(--header-h) - 24px); overflow: auto; }
.legal-body { grid-column: 5 / -1; min-width: 0; max-width: 72ch; }
.table-of-contents { padding: 24px; background: var(--field); }
.table-of-contents h3 { font-family: var(--font-body); font-size: var(--fs-item); font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.table-of-contents ul { display: grid; }
.table-of-contents a {
    display: block;
    padding: 6px 0;
    color: var(--muted);
    font-size: var(--fs-small);
    line-height: 1.35;
    text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
    .table-of-contents a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
}
.gdpr-box,
.highlight-box,
.legal-closing-note {
    margin: 0 0 32px;
    padding: 24px;
    background: var(--field);
    border-left: 6px solid var(--brand);
}
.gdpr-box h4,
.highlight-box h4 { font-family: var(--font-body); font-size: var(--fs-item); font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.gdpr-box p + p,
.highlight-box p + p { margin-top: 10px; }
.legal-content h2 {
    margin: clamp(48px, 3rem + 1vw, 80px) 0 20px;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
    line-height: 1.08;
    scroll-margin-top: calc(var(--header-h) + 12px);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-family: var(--font-body); font-size: var(--fs-item); font-weight: 600; letter-spacing: 0; line-height: 1.35; margin: 32px 0 10px; }
.legal-content h4 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin: 20px 0 8px; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul,
.legal-content ol { display: grid; gap: 8px; margin: 0 0 18px; }
.legal-content ul > li { position: relative; padding-left: 22px; }
.legal-content ul > li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--bronze); }
.legal-content ol { list-style: decimal; padding-left: 1.4em; }
.legal-content a { color: var(--brand); text-underline-offset: 0.18em; overflow-wrap: anywhere; }
.data-table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 20px 0 28px; font-size: var(--fs-small); }
.data-table th,
.data-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--ink); color: var(--paper); font-weight: 600; }
.highlight-box.is-warning { border-left-color: var(--accent); }
.legal-closing-note { margin-top: 56px; border-left-color: var(--bronze); }
.legal-closing-note .when { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.1; margin: 4px 0 12px; }
.back-button { margin-top: 40px; }
@media (max-width: 999px) {
    .legal-aside { position: static; grid-column: 1 / -1; max-height: none; margin-bottom: 40px; }
    .legal-body { grid-column: 1 / -1; }
}

@media print {
    .page-hero { background: none; color: var(--ink); padding: 0 0 24px; }
    .page-hero-copy > p { color: var(--ink); }
    .page-hero-media, .filter-bar, .lightbox, .article-aside, .article-share, .legal-aside { display: none !important; }
}

.ic-back { transform: rotate(180deg); }

/* Telefonos nézet: a számok nem törnek, a „vissza a tetejére” gomb nem takarja a szöveget
   (mobilon a fejléc felgörgetéskor visszajön, alul ott a Hívás/Ajánlatkérés sáv) */
.nw { white-space: nowrap; }
@media (max-width: 999px) {
    .back-to-top { display: none; }
    .wipe-on .ws-stage { align-content: center; padding-top: 16px; }
}
.directory-badge { display: inline-block; line-height: 0; opacity: 0.8; }
.directory-badge:hover { opacity: 1; }
