/* ═══════════════════════════════════════════
   HOME PAGE – Főoldal stílusok
   ═══════════════════════════════════════════ */

/* ─── HERO SLIDER ─── */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--dark);
}
.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,35,50,0.92) 0%, rgba(26,35,50,0.6) 50%, rgba(26,35,50,0.3) 100%);
    z-index: 1;
}
/*
 * A demó a `max-width: 650px`-et magára a `.container`-re tette, ami a
 * `margin: 0 auto` miatt **középre húzta** a hero szövegét — miközben az
 * átlátszatlan rész a sötétítő átmenet bal szélén van, és a fejléc logója
 * is balra kezdődik. A doboz ezért teljes szélességű marad (a lap rácsához
 * igazodva), a szélességet a gyerekei kapják.
 */
.hero-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.hero-slide-content > * {
    max-width: 650px;
}
.hero-label {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.6s 0.3s ease forwards;
}
.hero-slide.active .hero-label { animation: heroFadeUp 0.6s 0.3s ease forwards; }
.hero-slide.active .hero-title { animation: heroFadeUp 0.6s 0.5s ease forwards; }
.hero-slide.active .hero-line { animation: heroLineIn 0.8s 0.7s ease forwards; }
.hero-slide.active .hero-desc { animation: heroFadeUp 0.6s 0.9s ease forwards; }
.hero-slide.active .hero-actions { animation: heroFadeUp 0.6s 1.1s ease forwards; }

.hero-title {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
}
.hero-title span {
    color: var(--primary);
}
.hero-line {
    width: 0;
    height: 4px;
    background: var(--primary);
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(20px);
}
.hero-actions {
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
}
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--btn-gradient);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: var(--transition);
    border: 1px solid rgba(0,136,204,0.3);
}
.btn-hero-primary:hover {
    background: var(--btn-gradient-hover);
    gap: 12px;
}
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
}

/* Slider Controls */
.hero-slider-controls {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.hero-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.hero-dots {
    display: flex;
}
/* A gomb 24×24 (a WCAG 2.2 legkisebb koppintási célja), a látható pötty 12px
   marad a közepén — a 12×12-es gombokat mobilon nehéz volt eltalálni. */
.hero-dot {
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-dot::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: var(--transition);
}
.hero-dot.active::before {
    background: var(--primary);
    transform: scale(1.2);
}
.hero-counter {
    position: absolute;
    bottom: 32px;
    right: 32px;
    z-index: 10;
    font-family: var(--font-mono);
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}
.hero-counter-current {
    color: #fff;
    font-weight: 500;
}
.hero-counter-sep {
    margin: 0 4px;
}

/* Hero Keyframes */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroLineIn {
    from { width: 0; }
    to { width: 200px; }
}

/* ─── TRUST BAR ─── */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
}
.trust-item svg {
    flex-shrink: 0;
    stroke: var(--primary);
}
.trust-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.3;
}
.trust-item span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ─── SECTION HEADERS ─── */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 12px;
}
.section-title span {
    color: var(--primary);
}
.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}
.section-header-light .section-title {
    color: #fff;
}
.section-header-light .section-subtitle {
    color: rgba(255,255,255,0.6);
}
/*
 * Balra zárt változat — a demóban nem volt rá példa, de az Elementorral
 * szerkesztett oldalakon kell: egy kétoszlopos szekcióban a középre zárt
 * fejléc a saját hasábján belül igazodna, ami rendetlenül néz ki.
 */
.section-header-left {
    text-align: left;
}
.section-header-left .section-subtitle {
    margin-left: 0;
    margin-right: 0;
}

/* ─── ALKALMAZÁSI TERÜLETEK ─── */
.home-categories {
    padding: 64px 0;
    background: var(--bg);
}
.home-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.home-cat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}
.home-cat-card:hover {
    border-color: var(--primary-20);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.home-cat-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}
/*
 * ⚠️ A `.home-cat-card` előtag NEM díszítés.
 *
 * Az Elementor `.elementor img { height: auto; border: none; border-radius: 0 }`
 * szabálya ugyanolyan fajsúlyú, mint a `.home-cat-img img`, viszont a
 * `custom-frontend.min.css` a `home.css` UTÁN töltődik be — vagyis az övé nyer.
 * Enélkül a `height: 100%` elveszett, és a kártyák képei a saját arányukban
 * lógtak ki a 180px-es keretből (185, 197, 299, 337px — kártyánként más).
 * Egy osztállyal több, és a mi szabályunk lesz az erősebb.
 */
.home-cat-card .home-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.home-cat-card:hover .home-cat-img img {
    transform: scale(1.06);
}
.home-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,35,50,0.5) 0%, transparent 60%);
}
.home-cat-body {
    padding: 20px;
}
.home-cat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary-10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: var(--transition);
}
.home-cat-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.home-cat-card:hover .home-cat-icon {
    background: var(--primary);
}
.home-cat-card:hover .home-cat-icon svg {
    stroke: #fff;
}
.home-cat-body h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.home-cat-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}
.home-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: var(--transition);
}
.home-cat-card:hover .home-cat-link {
    gap: 8px;
}

/* ─── KIEMELT TERMÉKEK ─── */
.home-products {
    padding: 64px 0;
    background: #fff;
}
.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.home-product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.home-product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-20);
}
.home-product-brand-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-product-brand-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.home-product-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 8px;
}
.home-product-img img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}
.home-product-card:hover .home-product-img img {
    transform: scale(1.05);
}
.home-product-body h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 6px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-product-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: 40px;
}
.home-product-specs {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.home-product-specs span {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    background: var(--primary-light);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--primary-10);
}
.home-products-cta {
    text-align: center;
    margin-top: 36px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--btn-gradient);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: var(--transition);
    border: 1px solid rgba(0,136,204,0.3);
}
.btn-primary:hover {
    background: var(--btn-gradient-hover);
}
.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

/* ─── ABOUT SECTION ─── */
.home-about {
    padding: 64px 0;
    background: var(--bg);
}
.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.home-about-images {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
    align-items: end;
}
.home-about-img-main {
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
}
.home-about-img-main img {
    width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.home-about-img-secondary {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}
.home-about-img-secondary img {
    width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
/*
 * Egyképes változat — a Rólunk oldal felső szakasza.
 *
 * A demó két, egymásra csúsztatott képet használ; egy tartalmi oldalon
 * viszont egyetlen, a szövegoszlop magasságát kitöltő fotó a tisztább.
 * Az `align-items: stretch` teszi a képet pontosan olyan magassá, mint a
 * mellette álló szöveg — a `center` (a kétképes alap) csak középre húzná.
 *
 * A szélesség változóból jön, hogy a lenti 960px-es egyoszlopos szabály
 * felül tudja írni: az Elementor lapCSS-e a `home.css` UTÁN töltődik be,
 * tehát egy közvetlenül kiírt `grid-template-columns` minden
 * médialekérdezést legyőzne.
 */
.home-about-grid--single {
    grid-template-columns: var(--media-w, 50%) 1fr;
    align-items: stretch;
}
.home-about-images--single {
    display: block;
    height: 100%;
    min-height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
/* Két osztály kell: az `.elementor img { height: auto }` különben legyőzné. */
.home-about-grid .home-about-images--single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-about-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    display: block;
}
.home-about-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
}
.home-about-title span {
    color: var(--primary);
}
.home-about-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.home-about-brands {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    align-items: center;
}
/* A `.home-about-content` előtag ugyanazért kell, mint a kategória-kártyán:
   az Elementor `.elementor img` szabálya különben leszedné a keretet, a
   lekerekítést és a rögzített magasságot. A négyzetes logókon a magasság
   hiánya nem látszik — a keret hiánya viszont igen.

   A logók egyenlően osztoznak a sávon, így a sáv szélessége szabja meg az
   egy logóra jutó helyet. A `flex` a hivatkozásra kerül, nem a képre: a
   render minden logót `<a>`-ba csomagol, tehát a flex-elem az `<a>`.
   A `min-width: 0` nélkül a flex-elemek nem tudnának a saját tartalmuknál
   keskenyebbre húzódni. */
.home-about-brands > a {
    flex: 1 1 0;
    min-width: 0;
    display: block;
}
.home-about-content .home-about-brands img {
    width: 100%;
    height: 56px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px;
    background: #fff;
    transition: var(--transition);
}
.home-about-content .home-about-brands img:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-10);
}

/* ─── HOGYAN MŰKÖDIK ─── */
.home-howto {
    padding: 64px 0;
    background: #fff;
}
.home-howto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.home-howto-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}
.home-howto-card:hover {
    border-color: var(--primary-20);
    box-shadow: var(--shadow-md);
}
.home-howto-number {
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-10);
    line-height: 1;
}
.home-howto-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.home-howto-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary);
}
.home-howto-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.home-howto-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── SZOLGÁLTATÁSOK ─── */
.home-services {
    padding: 64px 0;
    background: var(--dark);
}
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.home-service-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}
.home-service-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(0,136,204,0.3);
    transform: translateY(-4px);
}
.home-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.home-service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}
.home-service-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.home-service-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* ─── STATISZTIKÁK ─── */
.home-stats {
    padding: 48px 0;
    background: var(--primary);
}
.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.home-stat {
    padding: 16px;
}
.home-stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.home-stat-suffix {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: rgba(255,255,255,0.7);
}
.home-stat-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 6px;
}

/* ─── CTA SZEKCIÓ ─── */
.home-cta {
    padding: 64px 0;
    background: var(--bg);
}
.home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    position: relative;
    overflow: hidden;
}
.home-cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,136,204,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(0,136,204,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.home-cta-content {
    position: relative;
    z-index: 1;
}
.home-cta-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 10px;
}
.home-cta-content h2 span {
    color: var(--primary);
}
.home-cta-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}
.home-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   HOME PAGE RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1200px) {
    .home-products-grid { grid-template-columns: repeat(2, 1fr); }
    .home-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .hero-slider { height: 500px; }
    .hero-title { font-size: 52px; }
    .hero-label { font-size: 16px; }
    .hero-desc { font-size: 15px; }
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .home-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .home-about-images { max-width: 500px; }
    .home-services-grid { grid-template-columns: repeat(2, 1fr); }
    .home-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .home-cta-inner { flex-direction: column; text-align: center; padding: 36px 32px; gap: 24px; }
    .home-cta-actions { justify-content: center; }
    .section-title { font-size: 32px; }
}

@media (max-width: 767px) {
    /*
     * Mobilon a slider a leghosszabb diához igazodik. Fix magasság (a widget
     * mobil-beállítása, 440px — az Elementor mobil-töréspontja 767px, ezért a
     * javítás is addig él) mellett a középre igazított szöveg és a két
     * egymás alá kerülő gomb rácsúszott a nyilakra és a pontokra — a második
     * dián 64px-nyi átfedéssel (2026-10-07, 360/390px-en mérve). A diák egy
     * rácscellában egymásra kerülnek, így a slider magassága a legmagasabb dia
     * lesz, és diaváltáskor sem ugrik. A widget magasság-beállítása mobilon
     * ezért csak alsó határ.
     */
    .hero-slider { height: auto !important; min-height: 440px; }
    .hero-slides { display: grid; }
    .hero-slide { position: relative; inset: auto; grid-area: 1 / 1; }
    .hero-slide-content {
        box-sizing: border-box;
        height: auto;
        min-height: 440px;
        padding-top: 40px;
        padding-bottom: 96px; /* a vezérlők (40px) + alsó távolságuk (32px) + levegő */
    }
}

@media (max-width: 640px) {
    .hero-title { font-size: 40px; }
    .hero-label { font-size: 14px; }
    .hero-desc { font-size: 14px; max-width: 90%; }
    .hero-actions { flex-direction: column; gap: 10px; }
    .btn-hero-primary, .btn-hero-secondary { justify-content: center; padding: 12px 24px; font-size: 14px; }
    .hero-counter { display: none; }
    @keyframes heroLineIn { to { width: 120px; } }
    .trust-bar-grid { grid-template-columns: 1fr; gap: 12px; }
    .trust-item { padding: 4px 0; }
    .home-categories, .home-products, .home-about, .home-howto, .home-cta { padding: 40px 0; }
    .home-services { padding: 40px 0; }
    .section-title { font-size: 28px; }
    .section-header { margin-bottom: 28px; }
    .home-cat-grid { grid-template-columns: 1fr; }
    .home-cat-img { height: 150px; }
    .home-products-grid { grid-template-columns: 1fr; }
    .home-howto-grid { grid-template-columns: 1fr; }
    .home-services-grid { grid-template-columns: 1fr; }
    .home-stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .home-stat-number { font-size: 36px; }
    .home-about-title { font-size: 28px; }
    .home-about-images { grid-template-columns: 1fr 1fr; }
    .home-cta-inner { padding: 28px 20px; }
    .home-cta-content h2 { font-size: 26px; }
    .home-cta-actions { flex-direction: column; width: 100%; }
    .home-cta-actions .btn-hero-primary,
    .home-cta-actions .btn-hero-secondary { justify-content: center; }
}
