/* ==========================================================================
   MOLNÁR VIKTOR — Könyvvizsgáló weboldal
   style.css — Design tokens, reset, alap tipográfia, layout, gombok, header/footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONT-FACE (opcionális, önhosztolt betűtípusokhoz)
   A projekt alapértelmezetten prémium rendszer-betűtípus stacket használ,
   így külső CDN-függőség nélkül is elegáns marad. Az alábbi @font-face
   szabályok szándékosan ki vannak kommentelve, mert az assets/fonts/ mappa
   jelenleg üres — bekapcsolt, de célt nem érő @font-face minden oldalon
   felesleges, sikertelen (404-es) hálózati kéréseket okozna, ami rontja az
   oldalsebességet és a technikai SEO auditot. Ha később valódi Fraunces +
   Inter woff2 fájlokat töltesz fel ebbe a mappába, vedd ki a kommentből az
   alábbi blokkot — a --font-display / --font-body változók ettől kezdve
   automatikusan használni fogják őket a rendszer-fallback előtt.
   -------------------------------------------------------------------------- */

/*
@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/Fraunces-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/Fraunces-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
*/

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS
   -------------------------------------------------------------------------- */

:root {
    /* Színek */
    --color-white: #ffffff;
    --color-surface: #f5f7fb;
    --color-surface-alt: #eef1f8;
    --color-navy: #0b2044;
    --color-navy-800: #112a54;
    --color-navy-700: #16335f;
    --color-blue: #2955c4;
    --color-blue-strong: #1d3f96;
    --color-blue-soft: #e7ecfa;
    --color-text: #101a30;
    --color-muted: #5a6274;
    --color-muted-2: #8790a1;
    --color-border: #e1e5ee;
    --color-border-strong: #c8cfde;
    --color-success: #1f7a4d;
    --color-error: #b3352c;
    --color-flag-bg: #fbf3e4;
    --color-flag-border: #d3a445;
    --color-flag-text: #8a5c14;

    /* Tipográfia */
    --font-display: 'Fraunces', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --fs-h1: clamp(2.6rem, 1.95rem + 2.7vw, 4.6rem);
    --fs-h2: clamp(2rem, 1.6rem + 1.7vw, 3rem);
    --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 1.95rem);
    --fs-h4: 1.25rem;
    --fs-lead: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
    /* Olvashatósági minimum: mobil 16-18px, desktop 17-19px (fluid clamp) */
    --fs-body: clamp(1rem, 0.94rem + 0.28vw, 1.1875rem);
    --fs-small: clamp(0.9rem, 0.87rem + 0.14vw, 0.98rem);
    --fs-eyebrow: 0.82rem;
    --fs-stat: clamp(1.85rem, 1.55rem + 1.3vw, 2.75rem);

    --lh-tight: 1.12;
    --lh-snug: 1.4;
    --lh-body: 1.68;

    /* Layout */
    --container-width: 1200px;
    --container-narrow: 780px;
    --gutter: 40px;
    --gutter-sm: 20px;
    --header-height: 84px;
    --header-height-scrolled: 68px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 999px;

    /* Térköz */
    --space-3xs: 4px;
    --space-2xs: 8px;
    --space-xs: 12px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 96px;
    --space-3xl: 140px;

    /* Árnyék */
    --shadow-sm: 0 1px 2px rgba(11, 32, 68, 0.06), 0 1px 1px rgba(11, 32, 68, 0.04);
    --shadow-md: 0 12px 28px -8px rgba(11, 32, 68, 0.16);
    --shadow-lg: 0 30px 70px -20px rgba(11, 32, 68, 0.28);

    /* Animáció */
    --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
    --duration-fast: 180ms;
    --duration-base: 320ms;
    --duration-slow: 520ms;

    /* Töréspontok (referencia — a media query-k a responsive.css-ben) */
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;
}

/* --------------------------------------------------------------------------
   2b. § MOTÍVUM — a márka visszatérő grafikai jele
   Használat: components/section-mark.php részlet, vagy közvetlenül
   <span class="mark mark--variant" aria-hidden="true">&sect;</span>
   -------------------------------------------------------------------------- */

.mark {
    font-family: var(--font-display);
    font-weight: 500;
    display: inline-block;
    line-height: 1;
    color: var(--color-blue);
    font-style: normal;
}

.mark--eyebrow {
    font-size: 1.3em;
    margin-right: 0.15em;
    color: var(--color-blue);
    vertical-align: -0.08em;
}

.mark--hero {
    position: absolute;
    font-size: clamp(9rem, 5rem + 14vw, 22rem);
    color: var(--color-navy);
    opacity: 0.05;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    top: -0.12em;
    right: -0.05em;
}

.section--navy .mark--hero,
.section--navy .mark--watermark { color: var(--color-white); opacity: 0.06; }

.mark--watermark {
    position: absolute;
    font-size: clamp(10rem, 6rem + 16vw, 26rem);
    color: var(--color-navy);
    opacity: 0.045;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.mark--badge {
    width: 2.75em;
    height: 2.75em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--color-navy);
    color: var(--color-white);
    font-size: 1.4rem;
}

.mark--footer {
    position: absolute;
    right: 0;
    bottom: -0.28em;
    font-size: clamp(8rem, 4rem + 14vw, 18rem);
    color: rgba(255,255,255,0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* --------------------------------------------------------------------------
   2c. SECTION-RITMUS — váltakozó fehér / světlőkék / navy háttér-ritmus
   -------------------------------------------------------------------------- */

.section--blue-soft { background: var(--color-blue-soft); }
.section--blue-soft h1,
.section--blue-soft h2,
.section--blue-soft h3 { color: var(--color-navy); }

/* --------------------------------------------------------------------------
   3. RESET
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

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

@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;
        scroll-behavior: auto !important;
    }
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
    margin: 0;
}

ul[class], ol[class] { list-style: none; padding: 0; }

body {
    min-height: 100svh;
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

button { cursor: pointer; background: none; border: none; }

table { border-collapse: collapse; width: 100%; }

:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   4. TIPOGRÁFIA
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: var(--lh-tight);
    color: var(--color-navy);
    letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2 { font-size: var(--fs-h2); line-height: 1.16; }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 600; }

.lead {
    font-size: var(--fs-lead);
    line-height: var(--lh-snug);
    color: var(--color-muted);
}

.text-muted { color: var(--color-muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-blue-strong);
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1.5px;
    background: currentColor;
    display: inline-block;
}

p + p { margin-top: var(--space-sm); }

/* --------------------------------------------------------------------------
   5. LAYOUT / CONTAINER
   -------------------------------------------------------------------------- */

.container {
    width: min(100% - (var(--gutter) * 2), var(--container-width));
    margin-inline: auto;
}

.container--narrow {
    width: min(100% - (var(--gutter) * 2), var(--container-narrow));
    margin-inline: auto;
}

main { display: block; }

.section {
    padding-block: var(--space-2xl);
}

.section--tight { padding-block: var(--space-xl); }

.section--surface { background: var(--color-surface); }

.section--navy {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.88);
}

.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--color-white); }

.section-head {
    max-width: 720px;
    margin-bottom: var(--space-xl);
}

.section-head + .section-head { margin-top: 0; }

.section-head__eyebrow { margin-bottom: var(--space-sm); }

.grid {
    display: grid;
    gap: var(--space-lg);
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: var(--space-sm);
    top: -60px;
    background: var(--color-navy);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 1000;
    transition: top var(--duration-base) var(--ease);
}

.skip-link:focus { top: var(--space-sm); }

/* --------------------------------------------------------------------------
   6. GOMBOK
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    padding: 0.9rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: background-color var(--duration-base) var(--ease),
                border-color var(--duration-base) var(--ease),
                color var(--duration-base) var(--ease),
                transform var(--duration-fast) var(--ease);
    white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; transition: transform var(--duration-base) var(--ease); }

.btn:hover svg { transform: translateX(3px); }

.btn:active { transform: translateY(1px); }

.btn--primary {
    background: var(--color-navy);
    color: var(--color-white);
    border: 1px solid var(--color-navy);
}

.btn--primary:hover { background: var(--color-blue-strong); border-color: var(--color-blue-strong); }

.btn--outline {
    background: transparent;
    color: var(--color-navy);
    border: 1px solid var(--color-border-strong);
}

.btn--outline:hover {
    border-color: var(--color-navy);
    background: var(--color-surface);
}

.btn--ghost {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.35);
}

.btn--ghost:hover { border-color: var(--color-white); background: rgba(255,255,255,0.08); }

.btn--block { width: 100%; justify-content: center; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    font-weight: 600;
    color: var(--color-blue-strong);
    position: relative;
}

.link-arrow::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--duration-base) var(--ease);
}

.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }

.link-arrow svg { width: 14px; height: 14px; transition: transform var(--duration-base) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   6b. LINK-RENDSZER — a szövegtestbe ágyazott linkek soha nem kapnak
   böngésző-alapértelmezett kék/aláhúzás stílust; minden inline link
   explicit .text-link (vagy .prose/.rich-text kontextusban automatikus)
   kezelést kap.
   -------------------------------------------------------------------------- */

.text-link {
    color: var(--color-blue-strong);
    text-decoration: underline;
    text-decoration-color: rgba(29, 63, 150, 0.32);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
    transition: color var(--duration-base) var(--ease), text-decoration-color var(--duration-base) var(--ease);
}

.text-link:hover { color: var(--color-navy); text-decoration-color: currentColor; }

.prose a,
.rich-text a { color: var(--color-blue-strong); text-decoration: underline; text-decoration-color: rgba(29,63,150,0.32); text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; overflow-wrap: anywhere; word-break: break-word; transition: color var(--duration-base) var(--ease), text-decoration-color var(--duration-base) var(--ease); }
.prose a:hover,
.rich-text a:hover { color: var(--color-navy); text-decoration-color: currentColor; }

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    font-weight: 600;
    color: var(--color-navy);
    padding-bottom: 2px;
    border-bottom: 1.5px solid var(--color-border-strong);
    transition: border-color var(--duration-base) var(--ease), color var(--duration-base) var(--ease);
}
.cta-link:hover { border-color: var(--color-navy); color: var(--color-blue-strong); }
/* Explicit méret az ikonnak — enélkül a viewBox-only <svg> (width/height
   attribútum nélkül) a böngésző alapértelmezett 300×150-es helyettesítő
   méretére hízik flex-konténeren belül. */
.cta-link svg { width: 14px; height: 14px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   7. HEADER
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid transparent;
    transition: border-color var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
}

/*
 * A frosted-glass hátteret egy külön ::before pszeudoelemre tesszük, NEM
 * magára a .site-header-re. Indok: a backdrop-filter/filter tulajdonság a
 * viselő elemet "containing block"-ká teszi minden position:fixed
 * leszármazottja számára (pl. a mobil hamburger-menü overlay-je), ami a
 * fixed elemet a headerre — nem a viewportra — korlátozná és összecsukná.
 * Így a header vizuálisan ugyanaz marad, de nem zavarja a fixed gyerekeket.
 */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.site-header.is-scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.site-header__inner {
    width: min(100% - (var(--gutter) * 2), var(--container-width));
    margin-inline: auto;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    transition: height var(--duration-base) var(--ease);
}

.site-header.is-scrolled .site-header__inner {
    height: var(--header-height-scrolled);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.brand__mark {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--color-navy);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.brand__mark::after {
    content: '§';
    position: absolute;
    right: -6px;
    bottom: -10px;
    font-size: 1.6rem;
    opacity: 0.22;
    line-height: 1;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }

.brand__name {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--color-navy);
    letter-spacing: 0.01em;
}

.brand__role {
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
    white-space: nowrap;
}

.nav-primary {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-primary__list {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Csúszó aktív-indikátor: egyetlen sáv, amit a navigation.js pozicionál
   a hover/fókusz alatt lévő (vagy aktív) menüpont alá. Desktop-only. */
.nav-indicator {
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--color-blue);
    border-radius: 2px;
    opacity: 0;
    transition: left var(--duration-base) var(--ease), width var(--duration-base) var(--ease), opacity var(--duration-fast) var(--ease);
}

.nav-primary__list:hover .nav-indicator,
.nav-primary__list.has-focus .nav-indicator { opacity: 1; }

.nav-item { position: relative; }

.nav-primary__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--color-text);
    padding: var(--space-2xs) 0;
    transition: color var(--duration-base) var(--ease);
}

.nav-primary__link:hover { color: var(--color-navy); }

.nav-primary__link.is-active { color: var(--color-navy); font-weight: 600; }

.nav-item__chevron { width: 10px; height: 10px; transition: transform var(--duration-base) var(--ease); }
.nav-item--has-menu.is-menu-open .nav-item__chevron { transform: rotate(180deg); }

/* "Szolgáltatások" kibontható mini-navigáció, leírásokkal — teljes
   szélességű "mega-menu", közvetlenül a header alján, RÉS NÉLKÜL.
   Fontos: korábban a panel a nav-elemhez képest abszolút, 18px réssel
   lejjebb pozícionálva jelent meg — az egér a rés fölött elhagyta a
   trigger elem hoverolt területét (nem takarta se a link, se a panel),
   ezért a mouseleave lezárta a menüt, mielőtt az egér elérte volna azt.
   A fix: a panel `position: fixed`, közvetlenül a header aljához tapadva
   (nincs holt zóna függőlegesen), ezért az egér lefelé mozgatva
   folyamatosan hoverolt elem fölött marad. */
.nav-mini {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    width: 100%;
    background: radial-gradient(ellipse 90% 100% at 0% 0%, var(--color-blue-soft) 0%, var(--color-white) 62%);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity var(--duration-base) var(--ease), transform var(--duration-base) var(--ease), visibility var(--duration-base), top var(--duration-base) var(--ease);
    z-index: 90;
    overflow: hidden;
}

.site-header.is-scrolled .nav-mini { top: var(--header-height-scrolled); }

/* Nagyon lágy, szimbolikus § háttér a mega-menüben — dekoratív, a tartalom
   mögött, ugyanaz a nyelv, mint a szekciók watermark-motívuma. */
.nav-mini__bg-mark {
    position: absolute;
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(12rem, 8rem + 10vw, 20rem);
    line-height: 1;
    color: var(--color-navy);
    opacity: 0.03;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.nav-mini__inner { position: relative; z-index: 1; }

.nav-item--has-menu.is-menu-open .nav-mini {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-mini__inner {
    max-width: var(--container-width);
    margin-inline: auto;
    padding: var(--space-xl) var(--gutter);
}

.nav-mini__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: var(--space-2xl);
    align-items: start;
}

.nav-mini__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }

.nav-mini__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background var(--duration-fast) var(--ease);
}

.nav-mini__item:hover { background: var(--color-surface); }

.nav-mini__num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--color-muted-2);
    flex-shrink: 0;
    padding-top: 1px;
}

.nav-mini__text { display: flex; flex-direction: column; gap: 2px; }

.nav-mini__title { font-size: 0.88rem; font-weight: 600; color: var(--color-navy); }

.nav-mini__desc {
    font-size: 0.76rem;
    line-height: 1.4;
    color: var(--color-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-mini__all {
    margin-top: var(--space-md);
    font-size: 0.88rem;
}

/* Kapcsolatfelvételi felhívás a mega-menü jobb oldalán */
.nav-mini__cta {
    position: relative;
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    overflow: hidden;
    isolation: isolate;
}

.nav-mini__cta::after {
    content: '\00A7';
    position: absolute;
    right: -0.1em;
    bottom: -0.3em;
    font-family: var(--font-display);
    font-size: 5.5rem;
    line-height: 1;
    color: var(--color-white);
    opacity: 0.07;
    z-index: -1;
}

.nav-mini__cta-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: var(--lh-snug);
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.nav-mini__cta-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: var(--space-md);
}

.nav-mini__cta-btn { width: 100%; justify-content: center; }

.nav-mini__cta-phone {
    display: block;
    margin-top: var(--space-sm);
    text-align: center;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
}

.header-cta { display: flex; align-items: center; gap: var(--space-md); }
.header-cta .btn--primary { padding: 0.75rem 1.3rem; font-size: 0.88rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
}

.nav-toggle__bar {
    width: 22px;
    height: 2px;
    background: var(--color-navy);
    transition: transform var(--duration-base) var(--ease), opacity var(--duration-base) var(--ease);
}

/* Hamburger → X animáció, ha a menü nyitva van */
.site-header.is-nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header.is-nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
    position: relative;
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.72);
    padding-block: var(--space-xl) var(--space-lg);
    overflow: hidden;
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    margin-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1;
}

.footer-cta__title {
    color: var(--color-white);
    max-width: 30ch;
    font-size: var(--fs-h3);
}

.footer-cta__btn { flex-shrink: 0; }

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.85fr 0.9fr 1.1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .mark--eyebrow { color: var(--color-blue-soft); font-size: 1.8rem; margin-bottom: var(--space-sm); display: block; }

.footer-brand__name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-brand__creds {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xs);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.footer-social__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--duration-base) var(--ease), border-color var(--duration-base) var(--ease), background var(--duration-base) var(--ease);
}

.footer-social__btn svg { width: 16px; height: 16px; }

.footer-social__btn:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.footer-reg-grid { display: flex; flex-direction: column; gap: var(--space-sm); }

.footer-reg-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
}

.footer-reg-card__label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.5);
}

.footer-reg-card__value {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--color-white);
    font-variant-numeric: tabular-nums;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: var(--space-md);
}

.footer-list { display: flex; flex-direction: column; gap: var(--space-sm); }

.footer-list a { font-size: 0.92rem; transition: color var(--duration-base) var(--ease); }
.footer-list a:hover { color: var(--color-white); }

.footer-contact { display: flex; flex-direction: column; gap: var(--space-sm); }

.footer-contact a {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
}
.footer-contact a:hover { color: var(--color-white); }

.footer-bottom {
    position: relative;
    z-index: 1;
    padding-top: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
}

.footer-bottom__links { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.footer-bottom__links a:hover { color: rgba(255,255,255,0.75); }

.footer-bottom__cookie {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.25);
    text-underline-offset: 2px;
    transition: color var(--duration-base) var(--ease);
}
.footer-bottom__cookie:hover { color: rgba(255,255,255,0.75); }

/* --------------------------------------------------------------------------
   9. SCROLL PROGRESS
   -------------------------------------------------------------------------- */

.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: var(--color-blue);
    z-index: 200;
    transition: width 80ms linear;
}

/* --------------------------------------------------------------------------
   10. SCROLL-REVEAL ALAPOK (JS vezérli az .is-visible osztályt)
   -------------------------------------------------------------------------- */

/* A [data-reveal] elemek csak akkor indulnak láthatatlanul, ha a JS ténylegesen
   lefutott és a <html> elemre felkerült a .js osztály (lásd header.php inline
   script). Enélkül — kikapcsolt vagy hibázó JavaScript esetén — a tartalom
   alapból teljesen látható marad, így az animáció sosem feltétele a
   tartalom elérésének. */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
