/* ==========================================================================
   HSE Vision - Fő Stíluslap (Vanilla CSS)
   Színtér: Light Mode (F6F1EE 60%, Kékek 30%, Bronz/Arany 10%)
   ========================================================================== */
/*
* {
    border: 3px solid yellow;
}
*/


/* 1. CSS Változók és Alapbeállítások */
:root {
    /* Színpaletta */
    --bg-color: #F6F1EE;        /* Domináns, törtfehér háttér */
    --text-dark: #112035;       /* Elsődleges sötétkék szövegekhez */
    --text-medium: #152839;     /* Másodlagos kék */
    --text-light: #1B3146;      /* Halványabb kék kiegészítőkhöz */
    --accent-primary: #C68F59;  /* Bronz/Arany akcentus (gombok, hover) */
    --accent-hover: #B79163;    /* Sötétebb bronz hover állapotra */
    --white: #FFFFFF;

    /* Térközök és Rendszerek */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Átmenetek */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* max szélesség a szekciókhoz*/
    --max-width: 1200px;
}

/* Jost Betűtípus betöltése */
@font-face {
    font-family: 'Jost';
    src: url('../jost.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

p {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: left;
}

.p-justify {
    text-align: justify;
}

html {
    scroll-behavior: smooth;
}

.vonal {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    height: 3px;
    width: 100%;
    background: var(--accent-primary);
    border: none;
}

.vonalka {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    height: 3px;
    width: 15%;
    background: var(--accent-primary);
    border: none;
    margin-left: auto;
    margin-right: auto;
}

.hsev {
    display: none;
}

@media (max-width: 990px) {
    .hsev {
        display: block;
    }
}

@media (min-width: 1500px) {
    .hsev {
        display: block;
    }
}

body {
    font-family: 'Jost', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-medium);
    line-height: 1.6;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    overflow-x: hidden;
}

/* Háttérben lévő HSE Vision logó - valódi position:fixed elemként (nem
   background-attachment: fixed-del), mert az utóbbi mobilon görgetéskor
   újrarajzolódik és "ugrál"; a fixed pozíciós pszeudoelemet a böngésző
   saját compositor rétegként kezeli, így stabil marad. */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: url('../hv.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 150%;
    pointer-events: none;
}

@media (max-width: 767px) {
    body::after {
        background-size: 300%;
    }
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: rgba(246, 241, 238, 0.90);
}

/* Tipográfia */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Konténer */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.menu-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================================================
   2. Fejléc (Smart Header) & Navigáció
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--text-dark);
    transition: transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding: 0.4rem 0;
}

.site-header.scroll-down {
    transform: translateY(-100%);
}

.site-header.scroll-up {
    transform: translateY(0);
    background-color: rgba(17, 32, 53, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    padding: 0.3rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    height: 4rem;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

.menu-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.logoa {
    border-radius: 0.7rem;
    background: var(--bg-color);
    padding: 0.4rem;
}

.logo {
    max-height: 3rem;
}

@media (min-width: 992px) {
    .logo {
        max-height: 4rem;
    }
}

.hvh {
    color: var(--text-dark);
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    background: var(--accent-primary);
    font-weight: 600;
    border: 2px solid var(--accent-primary);
    line-height: 1;
    padding: 0 0.25rem;
    display: inline-block;
}

.hvv {
    color: var(--accent-primary);
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    border: 2px solid var(--accent-primary);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    line-height: 1;
    display: inline-block;
}

.desktop-nav {
    display: none;
}

@media (min-width: 992px) {
    .desktop-nav { display: block; }
    .hamburger-btn { display: none; }
    .header-inner {height: 6rem;}
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links > li > a {
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--white);
}

.nav-links > li > a:hover {
    color: var(--accent-primary);
}

.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    list-style: none;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-color);
    color: var(--accent-primary);
}

.hamburger-btn {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    z-index: 1001;
}

/* ==========================================================================
   3. Gombok (CTA)
   ========================================================================== */
.cta-button {
    display: inline-block;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 1rem 2rem;
    margin-top: 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    width:fit-content;
    margin-left: auto;
    margin-right: auto;
}

.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-5px);
}

.cta-button-outline {
    background: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    color: var(--text-dark);
    padding: 0.6rem;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1.4rem;
}

.cta-button-outline:hover {
    color: var(--white);
}

.rev-cta-button {
    display: inline-block;
    background-color: var(--accent-primary);
    color: var(--text-dark);
    padding: 1rem 2rem;
    margin-top: 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    width:fit-content;
    margin-left: auto;
    margin-right: auto;
}

.rev-cta-button:hover {
    background-color: var(--white);
    color: var(--text-dark);
    transform: translateY(-5px);
}

@media (max-width: 767px) {
    .rev-cta-button {
        display: block;
    }
}

.header-cta-wrapper {
    display: none;
    margin-left: 3rem;
}

@media (min-width: 992px) {
    .header-cta-wrapper { display: block; }
}

/* ==========================================================================
   4. Mobil Menü (Full-Screen Overlay)
   ========================================================================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--text-dark);
    color: var(--white);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--transition-smooth);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.close-menu-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--bg-color);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-menu-btn:hover {
    color: var(--accent-primary);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    font-size: 2rem;
}

.mobile-nav-links > li {
    margin-bottom: 1.5rem;
}

.mobile-nav-links a, .mobile-dropdown-trigger {
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.mobile-nav-links a:hover, .mobile-dropdown-trigger:hover, .mobile-dropdown-trigger.open {
    color: var(--accent-primary);
}

.mobile-dropdown-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
    font-size: 1.25rem;
}

.mobile-dropdown-menu li {
    margin: 1rem 0;
}

.mobile-cta {
    margin-top: 2rem;
    font-size: 1.25rem;
}

/* ==========================================================================
   5. Hero Szekció (Középre zárt, 1. hajtás)
   ========================================================================== */
.h1mv {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

@media (max-width: 960px) {
    .h1mv-break {
        display: block;
    }
}

@media (max-width: 768px) {
    .h1mv {
        text-align: center;
    }
    .hero-section .hero-stats-container {
        display: none;
    }
    .hero-stats-container {
        display: block;
    }
}

@media (min-width: 768px) {
    .hero-section .hero-stats-container {
        display: block;
    }
    .hero-stats-container {
        display: none;
    }
}

.hero-section {
    position: relative;
    min-height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 5.5rem;
    padding-bottom: 1.25rem;
    box-sizing: border-box;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 80% 20%, rgba(198, 143, 89, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(17, 32, 53, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 767px) {
    .hero-image-wrapper {
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        clip-path: none;
        z-index: 0;
    }
    .hero-image-wrapper img {
        opacity: 0.2;
    }

    .hero-image-wrapper::before {
        display: none;
    }

    .hero-image {
        mask-image: none;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(90deg, transparent 0%, transparent 5%, black 55%);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-color) 0%, rgba(246, 241, 238, 0.2) 30%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 90%;
    text-align: center;
    margin-top: 2rem;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    box-sizing: border-box;
}

.hero-text-wrapper {
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

@media (max-width: 767px) {
    .hero-text-wrapper {
        width: 100%;
    }
}

.hero-text-wrapper h1, .hero-text-wrapper h2 {
    text-align: center;
}

@media (max-width: 767px) {
    .text-center-mobile {
        text-align: center;
    }

    .hero-text-wrapper h1, .hero-text-wrapper h2 {
        text-align: center;
    }
}

.highlight-accent {
    color: var(--accent-primary);
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 1.4vw, 1.85rem);
    color: var(--text-dark);
    font-weight: 300;
    max-width: 80%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.hero-cta {
    margin-left: auto;
    margin-right: auto;
    width: 40%;
    min-width: fit-content;
    text-align: center;
}

@media (max-width: 767px) {
    .hero-cta {
        width: 80%;
    }
}

.hero-stats-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    background-color: var(--white);
    padding: 1rem 0.75rem;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 32px;
    height: 32px;
    stroke: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.stat-text {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.2;
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin: 1rem auto;
    }

    .hero-section {
        padding-top: 4.5rem;
        padding-bottom: 0.75rem;
        height: auto;
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-top: 2rem;
    }
    
    .stat-card {
        padding: 0.6rem 0.4rem;
    }

    .stat-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 0.2rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-text {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   7. ÚJ: "Amiben számíthatsz ránk" - 5 oszlopos grid
   ========================================================================== */
.benefits-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .benefits-grid-4 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
}

.benefit-card {
    background-color: var(--white);
    padding: var(--spacing-md) 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-fast);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    stroke: var(--accent-primary);
    margin: 0 auto 1rem auto;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
}

.benefit-card img {
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   8. ÚJ: "Így dolgozunk" folyamat lépések
   ========================================================================== */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.process-steps .step {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.kapcs-section.visible .process-steps .step {
    opacity: 1;
    transform: translateY(0);
}

.process-steps .step:nth-child(1) { transition-delay: 0s; }
.process-steps .step:nth-child(2) { transition-delay: 0.5s; }
.process-steps .step:nth-child(3) { transition-delay: 1s; }
.process-steps .step:nth-child(4) { transition-delay: 1.5s; }

.step-circle-icon {
    background: var(--accent-primary);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-steps h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.process-steps p {
    font-size: 1rem;
    color: var(--text-medium);
    margin: 0;
}

@media (min-width: 768px) {
    .process-steps {
        flex-direction: row;
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .process-steps .step {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        column-gap: 1rem;
        row-gap: 0.4rem;
    }

    .process-steps .step-circle-icon {
        margin-bottom: 0;
    }

    .process-steps h3 {
        margin-bottom: 0;
    }

    .process-steps p {
        flex-basis: 100%;
    }
}

/* ==========================================================================
   9. ÚJ: "A szemlélet a gyakorlatban" kártyák
   ========================================================================== */

.szemlelet-container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.practice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .practice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.practice-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: row;    
    transition: transform var(--transition-fast);
    height: 100%;
    justify-content: center;
}

@media (max-width: 767px) {
    .practice-card {
        flex-direction: column;
    }
    .practice-img {
        height: 200px;
        width: auto;
    }
}

.practice-card:hover {
    transform: translateY(-5px);
}

.practice-img {
    width: 100%;
    background-position: center;
    background-size: cover;
}

.practice-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 1rem;
}

.practice-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    min-height: 3rem;
    text-align: center;
}

.practice-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.practice-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.practice-content ul {
    min-height: 6.5rem;
}

.practice-content ul li {
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
    text-align: left;
}

.practice-content .chk {
    color: var(--accent-primary);
    font-weight: bold;
}

.practice-link {
    margin-top: auto;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.practice-link:hover {
    color: var(--accent-primary);
}

/* ==========================================================================
   10. ÚJ: Szakértői csapat kártyák (Rólunk szekcióban)
   ========================================================================== */
.team-layout {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 1200px) {
    .team-layout {
        flex-direction: column;
    }
}

.team-text-block {
    width: 100%;
    margin-right: 0rem;
}

@media (max-width: 1200px) {
    .team-text-block {
        width: 100%;
    }
}

.team-cards-block {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .team-layout {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .team-cards-block {
        flex-direction: column;
    }
}

@media (min-width: 767px) {
    .team-layout {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

.team-profile-card {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.profile-img-wrapper {
    width: 230px;
    height: 230px;
    margin: 0 auto 1.5rem auto;
}

.profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

.profile-info {
    background: var(--white);
    border-radius: 8px;
    padding: 0.5rem;
    color: var(--text-dark);
    text-align: left;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    flex-grow: 1;
}

.profile-info h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    margin-left: 1rem;
    min-height: 5rem;
}

@media (max-width: 767px) {
    .profile-info h3 {
        margin-bottom: 0rem;
    }
}

.profile-info .role {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
    color: var(--text-medium);
}

.profile-info ul {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.profile-info ul li {
    margin-bottom: 0.3rem;
}

/* ==========================================================================
   11. ÚJ: Blog minikártyák
   ========================================================================== */
.blog-mini-card {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

.blog-img {
    height: 120px;
    background-position: center;
    background-size: cover;
}

.blog-content {
    padding: 1rem;
}

.blog-content h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-content a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ==========================================================================
   12. GYIK (Accordion)
   ========================================================================== */
.faq-accordion {
    width: 100%;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-question.active {
    color: var(--accent-primary);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 1.5rem;
    color: var(--text-medium);
}

.faq-answer-inner p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
}

/* ==========================================================================
   13. Kapcsolat Űrlap
   ========================================================================== */
.contact-section {
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.contact-form {
    font-size: 1.3rem;
    width: 95%;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1.2rem;
    background-color: var(--bg-color);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.checkbox-group input {
    margin-top: 0.35rem;
}

.submit-button {
    width: 100%;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.submit-button:hover {
    background-color: var(--accent-hover);
}

.form-alert {
    width: 95%;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid transparent;
}

.form-alert--success {
    background-color: #e5f5ec;
    color: #1a7f4a;
    border-color: #b7e4c7;
}

.form-alert--error {
    background-color: #fdecea;
    color: #b3261e;
    border-color: #f5c2bd;
}

/* ==========================================================================
   14. Lábléc (Footer)
   ========================================================================== */
.site-footer {
    background-color: var(--text-dark);
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    text-align: center;
    width: 100%; 
    position: relative;
    box-sizing: border-box;
    padding-top: 1.5rem;
}

@media (max-width: 767px) {
    .footer-inner {
        gap: 1.4rem;
    }
}

@media (min-width: 992px) {
    .footer-inner {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;        
        min-height: 120px;
    }

    .footer-inner::after {
        content: "";
        position: absolute;
        right: 2rem; 
        top: 50%;
        transform: translateY(-50%);
        height: 80%;
        width: 150px;
        opacity: 0.2;
        background-image: url(../hvf.webp);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center right;
    }
}

.footer-contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 1rem;
}

.footer-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-person-name {
    font-weight: 600;
    color: var(--white);
}

.footer-phone,
.footer-email {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.footer-contact a, .footer-legal a, .footer-social a {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991px) {
    .copyright { display: block; margin-top: 0.5rem; }
}

@media (min-width: 992px) {
    .footer-legal {
        flex-direction: row;
        justify-content: space-evenly;
    }
}

@media (max-width: 480px) {
    .footer-contact {
        flex-direction: column;
    }
}

/* ==========================================================================
   15. Animációk (Intersection Observer Classes)
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social svg {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-fast);
}

.footer-social svg:hover {
    transform: scale(1.1);
}

.footer-social a:hover {
    color: var(--accent-primary);
}

.footer-credit {
    color: #FCDF08;
    font-weight: 500;
    width: 100%;
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-left: 4rem;
    padding-right: 4rem;
    justify-content: center;
    text-align: center;
    align-items: center;
}

@media (max-width: 767px) {
    .about-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.necsak-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding: 4rem;
}

@media (max-width: 767px) {
    .necsak-container {
        flex-direction: column;
    }
    .necsak {
        width: 100%;
    }
}

.necsak-bg {
    background-image: url("../img/papirok.webp");
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-size: cover;
    background-position: center left;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
    mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.necsak {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
    z-index: 2;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .necsak3 {
        display: none;
    }
    .necsak-bg {
        opacity: 0.2;
        width: 50%;
    }
    .about-section {
        background-color: var(--bg-color);
    }
}

@media (max-width: 767px) {
    .necsak-container {
        flex-direction: column;
        width: 100%;
        padding: 1rem;
    }
    .necsak {
        width: 100%;
    }
    .necsak-bg {
        width: 100%;
    }
}

.necsak img {
    display: none;
}

.akkor-dolgoztunk {
    background-color: var(--white);
    padding: 2rem;
}

.akkor-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.akkor2 {
    padding: 1.5rem;
    flex: 1;
}

.akkor1 {
    padding: 1.5rem;
    flex: 1;
    border-right: 2px solid var(--accent-primary);
}

@media (max-width: 767px) {
    .akkor1 {
        border-right: 0px solid black;
        border-bottom: 2px solid var(--accent-primary);
    }
}

.services-overview {
    background-color: var(--white);
    padding: 2rem;
}

.services-container {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .services-container {
        width: 100%;
    }
}

.miallunk {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem;
}

.igydolgozunk-container {
    width: 100%;
    max-width: var(--container-width);
    padding-top: 2rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.igydolgozunk-container h2 {
    text-align: center;
}

.kapcs-section {
    text-align: left;
}

.mitolmas-section {
    background-color: var(--text-dark);
    color: var(--white);
    padding-top: 2rem;
}

.mitolmas-section h2 {
    text-align: center;
    color: var(--white);
}

.mitolmas-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline stretch;
    gap: 2rem;
}

.mitolmas-pont {
    text-align: center;
    min-width: 300px;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    color: var(--white);
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.mitolmas-pont:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mitolmas-pont h3 {
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.mitolmas-pont p {
    text-align: inherit;
}

@media (max-width: 767px) {
    .mitolmas-pont {
        width: 80%;
    }
}

.mv-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-top: 2rem;
    width: 90%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    box-sizing: border-box;
}

.gyik-overview {
    background-color: var(--white);
    padding-top: 2rem;
}

.gyik-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
}

.gyik-container h2 {
    text-align: center;
}

/* ==========================================================================
   Emelőgép Komplex Szekció (Kép + Rács + CTA) - ÚJ CSS GRID
   ========================================================================== */
.emel-full-section {
    padding-top: 0rem;
    padding-bottom: 2rem;
}

.emel-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.emel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 4rem;
    background-color: var(--bg-color);
    width: 100%;
    padding: 0rem 6rem;
}

.emel-card {
    display: grid;
    grid-template-columns: 60px 1fr; /* 60px oszlop az ikonnak/számnak, a maradék a szövegnek */
    align-items: center; /* Függőlegesen középre húzza az egy sorban lévő elemeket */
    row-gap: 1.5rem; /* Távolság a felső és alsó sor között */
    column-gap: 1.5rem; /* Távolság az ikon és a szöveg között */
    padding: 2.5rem 1.5rem; 
    border-right: 1px solid rgba(17, 32, 53, 0.1);
    border-bottom: 1px solid rgba(17, 32, 53, 0.1);
}

.emel-card:nth-child(3n) { border-right: none; }
.emel-card:nth-last-child(-n+3) { border-bottom: none; }

.emel-number {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    line-height: 1;
    justify-self: center; /* Vízszintesen középre a saját 60px oszlopában */
}

.emel-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(17, 32, 53, 0.05); 
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    justify-self: center; /* Vízszintesen középre a saját 60px oszlopában */
}

.emel-icon-box svg { width: 28px; height: 28px; }

.emel-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0; /* Alap margók nullázása a Grid miatt */
}

.emel-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0; /* Alap margók nullázása a Grid miatt */
}

.emel-cta-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    justify-items: center;
    /*background-color: #EFEBE4;*/
    background-color: var(--text-dark);
    color: var(--white);
    padding: 2.5rem 12rem;
    gap: 2rem;
}

.emel-cta-banner2 {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.cta-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.cta-icon-wrap svg { width: 32px; height: 32px; }

.cta-text-main { flex: 1.5; }
.cta-text-main h4 {
    font-size: 1.3rem;
    color: var(--white);
    line-height: 1.4;
}

@media (max-width: 991px) {
    .emel-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }
    
    .emel-card {
        border-right: none !important;
        border-bottom: 1px solid rgba(17, 32, 53, 0.1) !important;
        padding: 2rem 0; 
    }
    .emel-card:last-child { border-bottom: none !important; }

    .emel-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
}

.mqcontainer {
  --s: 200px;
  --d: 30s;
  --gap: 3rem;
  overflow: hidden;
  width: 100%;
  background-color: var(--white);
  padding: 2rem 0rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.mqtrack {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: mq-scroll var(--d) linear infinite;
}
.mqcontainer img {
  width: auto;
  height: var(--s);
  flex-shrink: 0;
}
@keyframes mq-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - (var(--gap) / 2))); }
}
@media (prefers-reduced-motion: reduce) {
  .mqtrack {
    animation: none;
  }
}

.reference-bento-section {
    padding: 4rem 0 6rem 0;
    background-color: var(--bg-color);
}

.reference-bento-section .container {
    max-width: 85%;
}

.ref-bento-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

.ref-bento-grid3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (max-width: 767px) {
    .ref-bento-grid3 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .ref-bento-grid3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ref-bento-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 32, 53, 0.03);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    min-height: 140px; 
}

.ref-bento-card3 {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 32, 53, 0.03);
    /*transition: transform var(--transition-fast), box-shadow var(--transition-fast);*/
    min-height: 140px;
}

.ref-bento-card3:hover {
    transform: translateY(-10px);
    box-shadow: 2px 8px 25px rgba(17, 32, 53, 0.1);
}

.ref-bento-card3-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    margin-bottom: 1rem;
}

.ref-bento-card3-txt {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-grow: 1;
    text-align: left;
}

.ref-bento-card3-period {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.ref-bento-card3-desc {
    flex-grow: 1;
}

.ref-bento-card3-mini {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.ref-bento-card3-mini p {
    background-color: var(--bg-color);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 1.00rem;
    font-weight: 500;
    margin-bottom: 0;
}

.ref-bento-card img {
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    border-radius: 20px;
}

.ref-bento-card3 img {
    max-width: 80%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /*filter: grayscale(100%);
    opacity: 0.7;*/
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.ref-bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 2px 8px 25px rgba(17, 32, 53, 0.1);
    border-radius: 20px;
}

.ref-bento-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.3);
    border-radius: 20px;
}

@media (max-width: 325px) {
    .ref-bento-grid { grid-template-columns: repeat(1, 1fr); gap: 1rem; }
    .ref-bento-card { padding: 1.5rem 1rem; min-height: 110px; }   
}
@media (min-width: 450px) { .ref-bento-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (min-width: 650px) { .ref-bento-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 900px) { .ref-bento-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
@media (min-width: 1200px) { .ref-bento-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }

@media (max-width: 1200px) {
    .ref-bento-card img { filter: grayscale(0%); opacity: 1; }
}

.about-person-section {
    padding: 6rem 0;
    background-color: var(--bg-color); 
}

.about-person-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.about-person-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.about-point {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.about-point-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    box-shadow: 2px 4px 15px rgba(0,0,0,0.05);
}

.about-point-icon svg {
    width: 24px;
    height: 24px;
}

.about-point-text p {
    font-size: 1rem;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
    text-align: justify;
}

.about-quote {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border-left: 3px solid var(--accent-primary);
    padding-left: 1.5rem;
}

.quote-mark {
    font-size: 4rem;
    color: var(--accent-primary);
    line-height: 0.6;
    font-family: serif;
    font-weight: bold;
}

.about-quote p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
    text-align: justify;
}

.about-person-image {
    position: relative;
    padding: 0;
    display: flex;
    justify-content: center;
}

.stacked-image-container {
    position: relative;
    cursor: pointer;
    width: 85%;
}

.spacer-img {
    opacity: 0;
    visibility: hidden;
    width: 100%;
    display: block;
}

.stack-pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
}

.img-1 {
    z-index: 2;
    transform: translate(0, 0) scale(1);
    opacity: 1;
}

.img-2 {
    z-index: 1;
    transform: translate(10%, 10%) scale(0.9);
    opacity: 0.6; 
}

.stacked-image-container.swapped .img-1 {
    z-index: 1;
    transform: translate(10%, 10%) scale(0.9);
    opacity: 0.6;
}
.stacked-image-container.swapped .img-2 {
    z-index: 2;
    transform: translate(0, 0) scale(1);
    opacity: 1;
}

.stacked-image-container.moving-apart .img-1 {
    transform: translate(-20%, -5%) scale(0.95) rotate(-3deg);
}
.stacked-image-container.moving-apart .img-2 {
    transform: translate(30%, 15%) scale(0.95) rotate(3deg);
}

.about-bottom-bar {
    background-color: var(--text-dark);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 2rem 0rem;
    box-shadow: 2px 10px 30px rgba(17, 32, 53, 0.15);
}

.bar-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 280px;
}

.bar-icon {
    flex-shrink: 0;
    color: var(--accent-primary);
}

.bar-icon svg {
    width: 36px;
    height: 36px;
}

.bar-text h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.bar-text p {
    color: rgba(255, 255, 255, 0.7); 
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .about-person-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        display: flex;
        flex-direction: column-reverse; 
    }
    
    .about-person-image {
        padding: 1rem 1rem 0 0;
    }

    .about-bottom-bar {
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 1.5rem;
    }

    .bar-item {
        max-width: none;
    }

    .about-point {
        display: block;
    }

    .about-point::after {
        content: "";
        display: table;
        clear: both;
    }

    .about-point-icon {
        float: left;
        shape-outside: circle(50%);
        margin: 0 1.25rem 0.5rem 0;
    }

    .about-quote {
        display: block;
        border-left: none;
        padding-left: 0;
    }

    .about-quote::after {
        content: "";
        display: table;
        clear: both;
    }

    .quote-mark {
        float: left;
        margin: 0 1rem 0.5rem 0;
    }
}

@media (max-width: 767px) {
    .about-bottom-bar {
        width: calc(100vw - 2rem);
        position: relative;
        left: 50%;
        margin-left: calc(-50vw + 1rem);
    }
}
/* ==========================================================================
   404 - Nem talalt oldal
   ========================================================================== */
.error-404-hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-404-hero .container {
    width: 100%;
}

.error-404-code {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-404-hero h1 {
    margin-bottom: 1rem;
}

.error-404-hero .hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.error-404-actions .cta-button {
    margin-top: 0;
}

@media (max-width: 767px) {
    .error-404-hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }
}

.about-container {
    width: 90%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================================================
   16. TermsFeed Cookie Consent - a weboldal saját stílusához igazítva
   ========================================================================== */
.termsfeed-com---nb {
    background-color: var(--text-dark) !important;
    color: var(--white) !important;
    font-family: 'Jost', sans-serif !important;
    border-top: 3px solid var(--accent-primary) !important;
}

.termsfeed-com---nb .cc-nb-title,
.termsfeed-com---nb .cc-nb-text,
.termsfeed-com---nb .cc-nb-text-purposes-item {
    color: var(--white) !important;
    font-family: 'Jost', sans-serif !important;
}

.termsfeed-com---nb .cc-nb-text a,
.termsfeed-com---nb .cc-nb-text-urls a {
    color: var(--accent-primary) !important;
}

.termsfeed-com---nb .cc-nb-okagree,
.termsfeed-com---nb .cc-nb-reject,
.termsfeed-com---nb .cc-nb-changep {
    font-family: 'Jost', sans-serif !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    transition: background-color var(--transition-fast) !important;
}

.termsfeed-com---nb .cc-nb-okagree {
    background-color: var(--accent-primary) !important;
    color: var(--white) !important;
}

.termsfeed-com---nb .cc-nb-okagree:hover {
    background-color: var(--accent-hover) !important;
}

.termsfeed-com---nb .cc-nb-reject {
    background-color: transparent !important;
    color: var(--white) !important;
    border: 2px solid var(--accent-primary) !important;
}

.termsfeed-com---nb .cc-nb-reject:hover {
    background-color: rgba(198, 143, 89, 0.15) !important;
}

.termsfeed-com---nb .cc-nb-changep {
    background-color: var(--bg-color) !important;
    color: var(--text-dark) !important;
    border: none !important;
}

.termsfeed-com---nb .cc-nb-changep:hover {
    background-color: var(--white) !important;
}

/* "Beallitasok modositasa" reszletes ablak (preference center) */
.termsfeed-com---pc-dialog .cc-pc-head,
.termsfeed-com---pc-dialog .cc-pc-head-title-headline,
.termsfeed-com---pc-dialog .cc-pc-head-title-text,
.termsfeed-com---pc-dialog .cc-pc-head-close,
.termsfeed-com---pc-dialog .cc-cp-body-tabs-item-link,
.termsfeed-com---pc-dialog .cc-cp-body-content-entry-title,
.termsfeed-com---pc-dialog .cc-cp-foot-save,
.termsfeed-com---pc-dialog .cc-cp-foot-byline {
    font-family: 'Jost', sans-serif !important;
}

.termsfeed-com---pc-dialog .cc-pc-head {
    background-color: var(--bg-color) !important;
    color: var(--text-dark) !important;
    border-bottom: 1px solid #e0dad3 !important;
}

.termsfeed-com---pc-dialog .cc-pc-head-title-headline,
.termsfeed-com---pc-dialog .cc-pc-head-title-text,
.termsfeed-com---pc-dialog .cc-pc-head-close {
    color: var(--text-dark) !important;
}

html .termsfeed-com---pc-dialog .cc-cp-body,
html .termsfeed-com---pc-dialog .cc-cp-body-content {
    background: var(--white) !important;
    color: var(--text-medium) !important;
}

.termsfeed-com---pc-dialog .cc-cp-body-tabs {
    background: var(--bg-color) !important;
}

.termsfeed-com---pc-dialog .cc-cp-body-tabs-item-link {
    color: var(--text-medium) !important;
}

html .termsfeed-com---pc-dialog .cc-cp-body-tabs-item[active=true] {
    background: var(--white) !important;
}

.termsfeed-com---pc-dialog .cc-cp-body-tabs-item[active=true] button {
    color: var(--accent-primary) !important;
}

.termsfeed-com---pc-dialog .cc-cp-body-content-entry-title {
    color: var(--text-dark) !important;
}

.termsfeed-com---pc-dialog .cc-cp-body-content-entry-text,
.termsfeed-com---pc-dialog .cc-cp-body-content-entry a {
    color: var(--text-medium) !important;
}

.termsfeed-com---pc-dialog .cc-cp-foot {
    background: var(--bg-color) !important;
    border-top: 1px solid #e0dad3 !important;
}

.termsfeed-com---pc-dialog .cc-cp-foot-byline,
.termsfeed-com---pc-dialog .cc-cp-foot-byline a {
    color: var(--text-medium) !important;
}

.termsfeed-com---pc-dialog .cc-cp-foot-save {
    background-color: var(--accent-primary) !important;
    color: var(--white) !important;
    border-radius: 4px !important;
}

.termsfeed-com---pc-dialog .cc-cp-foot-save:hover {
    background-color: var(--accent-hover) !important;
}

.termsfeed-com---pc-dialog input[type=checkbox].cc-custom-checkbox:checked + label:before {
    background: var(--accent-primary) !important;
}

.termsfeed-com---nb a:focus,
.termsfeed-com---nb button:focus,
.termsfeed-com---pc-dialog a:focus,
.termsfeed-com---pc-dialog button:focus,
.termsfeed-com---pc-dialog select:focus {
    box-shadow: 0 0 0 2px var(--accent-primary) !important;
}

.termsfeed-com---pc-dialog .cc-pc-head-close:focus,
.termsfeed-com---pc-dialog .cc-pc-head-close:active {
    border: 2px solid var(--accent-primary) !important;
}