/* ── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
    --bg-dark:      #111111;
    --bg-darker:    #0A0A0A;
    --bg-light:     #F5F5F5;
    --bg-white:     #FFFFFF;

    --accent:       #0099FF;
    --accent-hover: #007ACC;

    --border-dark:  #333333;
    --border-light: #E0E0E0;

    --text-white:     #FFFFFF;
    --text-muted:     #999999;
    --text-secondary: #666666;
    --text-primary:   #1A1A1A;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body:    'Inter', sans-serif;

    --container-width: 1200px;
    --container-pad:   120px;
    --radius:          8px;
}

/* ── Site Wrap ─────────────────────────────────────────────────────────────── */
.site-wrap {
    width: 100%;
}

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Container ─────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    padding: 0 var(--container-pad);
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s, color 0.2s;
}

.btn--accent {
    background: var(--accent);
    color: #fff;
}
.btn--accent:hover { background: var(--accent-hover); color: #fff; }

.btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline:hover { border-color: #fff; }

/* ── Top Bar ───────────────────────────────────────────────────────────────── */
.top-bar {
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-dark);
    font-size: 12px;
    color: var(--text-muted);
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.top-bar__left,
.top-bar__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar__item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar__item a { color: var(--text-muted); }
.top-bar__item a:hover { color: var(--accent); }
.top-bar__left .top-bar__item svg { color: var(--accent); }

.lang-switch {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}
.lang-switch.active,
.lang-switch:hover { color: var(--accent); }

/* ── Navbar ────────────────────────────────────────────────────────────────── */
.navbar {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
    position: relative;
    z-index: 100;
}

.site-header {
    position: sticky;
    top: -50%;
    transition: all 0.3s ease;
    z-index: 1100;
}

/* Sticky header – aktivuje JS po 400px scrollu nahoru */
.site-header.is-sticky {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    animation: headerSlideDown 0.25s ease forwards;
    box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.site-header.is-sticky .navbar  { border-bottom-color: transparent; }

@keyframes headerSlideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 40px;
}

.navbar__logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.navbar__logo-img svg,
.footer__logo-img svg {
    display: block;
    height: 60px;
    width: auto;
    fill: #ffffff;
}

.footer__logo-img svg { height: 32px; }

.navbar__tagline {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.navbar__menu li a {
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.navbar__menu li a:hover,
.navbar__menu li.current-menu-item a { color: var(--accent); }

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-darker);
    color: var(--text-muted);
    padding: 40px 0 0;
}

.footer__inner { display: flex; flex-direction: column; gap: 32px; }

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer__col--brand { display: flex; flex-direction: column; gap: 12px; }
.footer__address { font-size: 13px; line-height: 1.7; }
.footer__contact { font-size: 13px; }
.footer__contact a { color: var(--accent); }
.footer__reg { font-size: 12px; }

.footer__heading {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}

.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links li a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer__links li a:hover { color: var(--accent); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-dark);
    font-size: 11px;
    color: #555;
}

/* ════════════════════════════════════════════════════════════════════════════
   HOMEPAGE
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Label ─────────────────────────────────────────────────────────────────── */
.label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

/* ── Mega Menu ─────────────────────────────────────────────────────────────── */
.mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    background: #181818;
    border-top: 3px solid var(--accent);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mega-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1098;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.mega-menu__backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mega-menu__inner {
    display: flex;
    padding: 0 var(--container-pad);
}

/* Left panel */
.mega-menu__left {
    width: 300px;
    flex-shrink: 0;
    background: #111;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.mega-menu__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
}

.mega-menu__top {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mega-menu__cat-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    min-height: 1.2em;
    transition: opacity 0.15s;
}

.mega-menu__cat-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    margin: 0;
    min-height: 1.6em;
    transition: opacity 0.15s;
}

.mega-menu__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.mega-menu__stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mega-menu__stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #aaa;
}

.mega-menu__stat i,
.mega-menu__stat svg {
    color: var(--accent);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.mega-menu__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    margin-top: 4px;
}

.mega-menu__cta i,
.mega-menu__cta svg {
    width: 14px;
    height: 14px;
}

.mega-menu__cta:hover {
    opacity: 0.8;
}

/* Right panel */
.mega-menu__right {
    flex: 1;
    padding: 24px 0 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}

.mega-menu__toprow {
    display: flex;
    justify-content: flex-end;
}

.mega-menu__close-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
}

.mega-menu__close-btn:hover {
    color: rgba(255, 255, 255, 0.7);
}

.mega-menu__close-btn i,
.mega-menu__close-btn svg {
    width: 12px;
    height: 12px;
}

/* Tiles grid */
.mega-menu__tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mega-tile {
    width: 180px;
    height: auto;
    background: #222;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
    flex-shrink: 0;
}

.mega-tile:hover,
.mega-tile.is-active {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.mega-tile__img {
    height: 90px;
    overflow: hidden;
    background: #2a2a2a;
    flex-shrink: 0;
}

.mega-tile__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-tile__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 8px 14px;
}

.mega-tile__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.mega-tile__sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* USP strip */
.mega-menu__strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--container-pad);
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-menu__usp {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.mega-menu__usp i,
.mega-menu__usp svg {
    color: var(--accent);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.mega-menu__usp-div {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.13);
}

/* Mega menu – trigger nav item */
.menu-item.has-mega > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    opacity: 0.6;
}

/* Hide mega menu on mobile */
@media (max-width: 1024px) {
    .mega-menu,
    .mega-menu__backdrop { display: none !important; }
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: var(--bg-dark);
    height: 520px;
    overflow: visible;
}

.hero__bg-img {
    position: absolute;
    inset: 0;
    background-image: url('../img/slider-bg.webp');
    background-size: cover;
    background-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.hero__slides {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}
.hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero__content {
    position: absolute;
    left: var(--container-pad);
    top: 0;
    bottom: 0;
    width: 455px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0,153,255,0.5);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--accent);
    align-self: flex-start;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text-white);
}

.hero__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    align-self: flex-start;
    transition: background 0.2s;
}
.hero__btn:hover { background: var(--accent-hover); color: #fff; }
.hero__btn i { width: 16px; height: 16px; }

.hero__dots {
    position: absolute;
    left: var(--container-pad);
    bottom: 36px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: width 0.3s ease, background 0.3s ease;
}
.hero__dot--active {
    width: 24px;
    background: #fff;
}

.hero__product {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    pointer-events: none;
}

.hero__product-accent {
    position: absolute;
    right: 50%;
    top: 0;
    width: 260px;
    height: 100%;
    background: var(--accent);
    opacity: 0.85;
}

.hero__product-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: right bottom;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero__product-img-mob {
    display: none;
}

/* ── Cat Strip ──────────────────────────────────────────────────────────────── */
.cat-strip {
    background: var(--bg-darker);
    border-top: 3px solid var(--accent);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 var(--container-pad);
}

.cat-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 40px 24px 40px;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.cat-col--first { padding-left: 0; }
.cat-col--last  { border-right: none; }

.cat-col__top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-col__icon {
    width: 44px;
    height: 44px;
    background: rgba(0,153,255,0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.cat-col__icon i { width: 20px; height: 20px; }

.cat-col__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.3;
}

.cat-col__desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 4px;
    margin-bottom: 10px;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--accent);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    align-self: flex-start;
    transition: background 0.2s;
}
.cat-pill:hover { background: rgba(0,153,255,0.1); color: var(--accent); }
.cat-pill i { width: 13px; height: 13px; }

/* ── Why IBOS ───────────────────────────────────────────────────────────────── */
.why-ibos {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
}

.why-ibos__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 48px var(--container-pad);
}

.why-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: .6rem;
}
.why-item--border {
    border-right: 1px solid var(--border-dark);
    margin-right: 0;
}

@media only screen and (min-width: 1025px) {
    .why-item {
        padding-top: 0;
        padding-bottom: 0;
    }

    .why-item:first-child { padding-left: 0; }
}

.why-item__icon {
    width: 44px;
    height: 44px;
    background: rgba(0,153,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.why-item__icon i { width: 22px; height: 22px; }

.why-item__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.why-item__text strong {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
}
.why-item__text span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── News (Aktuality) ───────────────────────────────────────────────────────── */
.news-section {
    background: var(--bg-darker);
    padding: 56px 0;
}

.news-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.news-section__title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-white);
}

.news-section__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
}
.news-section__link i { width: 14px; height: 14px; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: #1A1A1A;
    border: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-card__img-wrap { display: block; height: 200px; overflow: hidden; }
.news-card__img-wrap--empty { background: var(--bg-dark); }
.news-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .news-card__img { transform: scale(1.03); }

.news-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    flex: 1;
}

.news-card__cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}

.news-card__title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}
.news-card__title a { color: var(--text-white); }
.news-card__title a:hover { color: var(--accent); }

.news-card__excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.news-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-dark);
}

.news-card__date { font-size: 12px; color: var(--text-muted); }

.news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
}
.news-card__more i { width: 13px; height: 13px; }

.news-section__empty { color: var(--text-muted); font-size: 14px; }

/* ── About Section ──────────────────────────────────────────────────────────── */
.about-section {
    position: relative;
    background: var(--bg-dark);
    height: 620px;
    overflow: hidden;
}

.about-section__left-bg {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 560px;
    background: #1A1A1A;
}

.about-section__inner {
    position: absolute;
    inset: 0;
    left: var(--container-pad);
    right: var(--container-pad);
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-section__text {
    width: 420px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 0;
}

.about-section__title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-white);
}

.about-section__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 380px;
}

.about-section__divider {
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.about-section__stats {
    display: flex;
    gap: 36px;
}

.about-stat { display: flex; flex-direction: column; gap: 2px; }

.about-stat__num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

.about-stat__label {
    font-size: 12px;
    color: var(--text-muted);
}

.about-section__visual {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.about-section__path {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    width: auto;
    z-index: 1;
    pointer-events: none;
}

.about-section__photo {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    z-index: 2;
}
.about-section__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Video Modal ────────────────────────────────────────────────────────────── */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.video-modal.is-open { opacity: 1; pointer-events: all; }
.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}
.video-modal__wrap {
    position: relative;
    width: 90vw;
    max-width: 1000px;
    z-index: 1;
}
.video-modal__close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 0;
}
.video-modal__close:hover { opacity: 1; }
.video-modal__close i,
.video-modal__close svg { width: 28px; height: 28px; }
.video-modal__player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}
.video-modal__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Video Section ──────────────────────────────────────────────────────────── */
.video-section {
    background: #0A0A0A;
    border-top: 3px solid var(--accent);
    padding: 64px var(--container-pad);
    display: flex;
    align-items: center;
    gap: 64px;
}

.video-section__player {
    position: relative;
    flex: 1;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.video-section__thumb {
    position: absolute;
    inset: 0;
    opacity: 0.6;
}
.video-section__thumb img { width: 100%; height: 100%; object-fit: cover; }

.video-section__overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.5;
}

.video-section__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: background 0.2s;
    text-decoration: none;
    border: none;
}
.video-section__play:hover { background: var(--accent-hover); }
.video-section__play i { width: 28px; height: 28px; }

.video-section__label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-family: var(--font-body);
}

.video-section__text {
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.video-section__tag {
    display: inline-block;
    background: rgba(0, 153, 255, 0.1);
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 3px 10px;
    align-self: flex-start;
    font-family: var(--font-body);
}

.video-section__title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

.video-section__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.video-section__link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent);
    text-decoration: none;
    font-family: var(--font-body);
}
.video-section__link:hover { color: var(--accent-hover); }

/* ── 404 Page ──────────────────────────────────────────────────────────────── */
.error-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background: var(--bg-dark);
    text-align: center;
    padding: 60px var(--container-pad);
}
.error-404__code {
    display: block;
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 16px;
}
.error-404__title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}
.error-404__desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 32px;
}
.error-404__cats {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.error-404__cats-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px;
}
.error-404__cats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.error-404__cat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.error-404__cat-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
    color: #fff;
}
.error-404__cat-link i,
.error-404__cat-link svg { width: 14px; height: 14px; color: var(--accent); }

/* ── CTA Block ──────────────────────────────────────────────────────────────── */
.cta-block {
    position: relative;
    background: var(--bg-dark);
    padding: 3rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-block__bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.cta-block__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 0 var(--container-pad);
}

.cta-block__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
}

.cta-block__title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-white);
    max-width: 800px;
}

.cta-block__sub {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 600px;
}

.cta-block__btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.cta-btn i { width: 16px; height: 16px; }

.cta-btn--accent { background: var(--accent); color: #fff; }
.cta-btn--accent:hover { background: var(--accent-hover); color: #fff; }

.cta-btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.cta-btn--outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ── Partners Strip ─────────────────────────────────────────────────────────── */
.partners-strip {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    overflow: hidden;
}

.partners-strip__track {
    display: flex;
    width: max-content;
    animation: partners-marquee 30s linear infinite;
}

.partners-strip:hover .partners-strip__track {
    animation-play-state: paused;
}

@keyframes partners-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partners-strip__inner {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 36px 48px;
    gap: 64px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-item img {
    max-height: 48px;
    width: auto;
    max-width: 160px;
    filter: brightness(0) invert(1);
    opacity: 0.5;
    transition: opacity 0.2s;
    object-fit: contain;
}
.partner-item:hover img { opacity: 1; }

.partner-item__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ── Map Section ────────────────────────────────────────────────────────────── */
.map-section {
    position: relative;
    height: 520px;
    background: var(--bg-dark);
    display: flex;
}

.map-section__left {
    flex: 1;
    overflow: hidden;
    background: var(--bg-dark);
}
#ibos-map {
    width: 100%;
    height: 100%;
}

/* Leaflet overrides — dark theme */
.leaflet-container {
    background: #111111;
    font-family: var(--font-body);
}
.leaflet-control-zoom a {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #333333;
}
.leaflet-control-zoom a:hover { background: #0099FF; border-color: #0099FF; }
.leaflet-control-attribution {
    background: rgba(0,0,0,0.6) !important;
    color: #666 !important;
    font-size: 10px;
}
.leaflet-control-attribution a { color: #888 !important; }

/* Custom map pins */
.ibos-pin {
    width: 12px; height: 12px;
    background: #0099FF;
    border-radius: 50%;
    border: 2px solid rgba(0,153,255,0.5);
    box-shadow: 0 0 0 4px rgba(0,153,255,0.15);
}
.ibos-pin--hq {
    width: 18px; height: 18px;
    background: #0099FF;
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: 0 0 0 5px rgba(0,153,255,0.25), 0 0 0 10px rgba(0,153,255,0.1);
}

/* Popup */
.leaflet-popup-content-wrapper {
    background: #1a1a1a !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
    padding: 0 !important;
    color: #ffffff !important;
}
.leaflet-popup-content {
    margin: 0 !important;
    color: #ffffff !important;
}
.leaflet-popup-tip-container .leaflet-popup-tip {
    background: #1a1a1a !important;
}
.leaflet-popup-close-button {
    color: #666666 !important;
}
.leaflet-popup-close-button:hover { color: #ffffff !important; }
.ibos-popup {
    display: flex; flex-direction: column; gap: 4px;
    padding: 12px 16px;
}
.ibos-popup__country {
    font-size: 10px; font-weight: 600; letter-spacing: 1px;
    color: #0099FF; text-transform: uppercase;
}
.ibos-popup__name {
    font-size: 13px; font-weight: 600;
    color: #ffffff;
}

.map-section__right {
    width: 440px;
    flex-shrink: 0;
    background: var(--bg-darker);
    border-left: 1px solid rgba(255, 255, 255, .05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 48px 40px;
}

.map-section__title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-white);
    max-width: 360px;
}

.map-section__divider {
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.map-section__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-section__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.map-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}
.map-dot--hq {
    width: 9px; height: 9px;
    box-shadow: 0 0 0 3px rgba(0,153,255,0.25);
}

.map-section__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    margin-top: 4px;
}
.map-section__more i { width: 12px; height: 12px; }

/* ── Product Detail ─────────────────────────────────────────────────────────── */
.prod-hero {
    position: relative;
    height: auto;
    background: var(--bg-dark);
    overflow: hidden;
    padding: 3rem 0;
}
.prod-hero__bg {
    position: absolute;
    inset: 0;
    background: url('../img/slider-bg.webp') center/cover no-repeat;
    opacity: 0.5;
}
.prod-hero__content {
    position: relative;
    inset: 0;
    padding: 0 var(--container-pad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}
.prod-hero__title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--text-white);
}
.prod-hero__sub {
    color: #ccc;
    line-height: 1.6;
    max-width: 900px;
    word-break: break-word;
}

.prod-banner {
    background: var(--accent);
    padding: 22px var(--container-pad);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.prod-detail {
    background: #fff;
    padding: 0 0 48px;
}

.prod-intro {
    display: flex;
    gap: 48px;
    padding: 36px var(--container-pad);
}

.prod-intro__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prod-intro__desc { font-size: 14px; color: #444; line-height: 1.7; }
.prod-intro__desc p { margin-bottom: 12px; }

.prod-intro__desc blockquote,
.prod-intro__desc .wp-block-quote {
    background: #F0F7FF;
    border-left: 3px solid var(--accent);
    padding: 20px 24px;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prod-intro__desc blockquote p,
.prod-intro__desc .wp-block-quote p {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.7;
    margin: 0;
}

.prod-intro__desc blockquote cite,
.prod-intro__desc .wp-block-quote cite {
    font-size: 13px;
    font-style: normal;
    color: var(--text-muted);
}

.prod-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 500px;
}
.prod-spec-card {
    background: #F0F7FF;
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
}
.prod-spec-card__ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 153, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .5rem;
}
.prod-spec-card__ico i,
.prod-spec-card__ico svg { width: 18px; height: 18px; color: var(--accent); }
.prod-spec-card__value {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}
.prod-spec-card__label { font-size: 12px; color: var(--text-muted); }

.prod-intro__cta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 8px;
}
.prod-intro__cta-text {
    font-size: 13px;
    color: var(--text-muted);
}

.prod-intro__img {
    width: 651px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    align-self: flex-start;
}
.prod-intro__img img { width: 100%; height: auto; display: block; }

.prod-gallery {
    padding: 0 var(--container-pad) 36px;
}
.prod-gallery__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
}
.prod-gallery__head i,
.prod-gallery__head svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.prod-gallery__head span { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: #111; }
.prod-gallery__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.prod-gallery__item {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
}
.prod-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.prod-gallery__item:hover img { transform: scale(1.05); }

/* ── Spec Blocks ─────────────────────────────────────────────────────────────── */
.spec-blocks {
    background: #fff;
    padding: 48px var(--container-pad);
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.spec-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.spec-block__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}
.spec-block__head i,
.spec-block__head svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.spec-block__head span { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: #111; }
.spec-card-grid { display: flex; gap: 16px; }
.spec-card {
    flex: 1;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}
.spec-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 153, 255, 0.05);
    padding: 14px 20px;
}
.spec-card__badge {
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}
.spec-card__sub { font-size: 12px; color: #777; }
.spec-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; }
.spec-row { display: flex; align-items: center; gap: 8px; }
.spec-row i,
.spec-row svg { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }
.spec-row span { font-size: 13px; color: #555; line-height: 1.4; }
.spec-bullet-box {
    background: #F8F9FA;
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.spec-bullet-row { display: flex; align-items: flex-start; gap: 12px; }
.spec-bullet-row i,
.spec-bullet-row svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.spec-bullet-row span { font-size: 13px; color: #555; line-height: 1.5; }

.prod-variant-bar {
    background: #fff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.prod-variant-tabs { display: flex; align-items: center; }
.prod-var-tab {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    color: #555;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.15s;
}
.prod-var-tab:hover { color: var(--accent); }
.prod-var-tab--active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.prod-download {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.prod-download:hover { color: var(--accent); }
.prod-download i { width: 15px; height: 15px; }

.btn--outline-dark {
    border: 1px solid var(--border-dark);
    color: #333;
    background: transparent;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.btn--outline-dark:hover { background: #F0F4F8; }

/* ── Category Page ──────────────────────────────────────────────────────────── */
.cat-hero {
    position: relative;
    height: auto;
    padding: 3rem 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.cat-hero__bg {
    position: absolute;
    inset: 0;
    background: url('../img/slider-bg.webp') center/cover no-repeat;
    opacity: 0.5;
}

.cat-hero__content {
    position: relative;
    inset: 0;
    padding: 0 var(--container-pad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.cat-hero__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
}

.cat-hero__title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-white);
}

.cat-hero__desc {
    color: #ccc;
    line-height: 1.6;
    max-width: 900px;
    word-break: break-word;
}

.cat-hero__stats {
    display: flex;
    gap: 40px;
    margin-top: 28px;
}

.cat-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cat-hero__stat-value {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.cat-hero__stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* USP Strip */
.cat-usp-strip {
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-dark);
    padding: 14px var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cat-usp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #ccc;
}
.cat-usp-item i { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

.cat-usp-divider {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.13);
}

/* Filter Bar */
.cat-filter-bar {
    background: var(--bg-darker);
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
}

.cat-filter-tabs {
    display: flex;
    align-items: center;
    gap: 0;
}

.cat-tab {
    padding: 12px 14px;
    font-size: 12px;
    color: #888;
    text-decoration: none;
    background: var(--bg-darker);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}
.cat-tab:hover { color: var(--text-white); }
.cat-tab--active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

.cat-filter-sep {
    height: 1px;
    background: var(--border-dark);
    width: 100%;
}

/* Product Grid */
.product-section {
    background: var(--bg-dark);
    padding: 48px var(--container-pad);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-count {
    font-size: 13px;
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: #1A1A1A;
    border: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.2s;
}
.product-card:hover { border-color: var(--accent); }

.product-card__accent {
    height: 3px;
    background: var(--accent);
    flex-shrink: 0;
}

.product-card__img {
    display: block;
    height: 220px;
    overflow: hidden;
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__img--placeholder { background: #222; height: 220px; }

.product-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-card__cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--accent);
    text-transform: uppercase;
}

.product-card__title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}
.product-card__title a { color: var(--text-white); text-decoration: none; }
.product-card__title a:hover { color: var(--accent); }

.product-card__excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    margin-top: auto;
}
.product-card__link:hover { text-decoration: underline; }
.product-card__link i { width: 14px; height: 14px; }

.product-empty {
    color: var(--text-muted);
    font-size: 15px;
    text-align: center;
    padding: 60px 0;
}

/* ── Category intro (podkategorie) ─────────────────────────────────────────── */
.cat-intro {
    background: var(--bg-darker);
    padding: 30px var(--container-pad);
    border-bottom: 1px solid var(--border-dark);
}
.cat-intro__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
}
.cat-intro__tag {
    display: inline-block;
    background: rgba(0,153,255,0.1);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    align-self: flex-start;
}
.cat-intro__heading {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--text-white);
}
.cat-intro__text { font-size: 15px; color: #999; line-height: 1.7; }
.cat-intro__text p { margin-bottom: 12px; }

/* Product header (leaf) */
.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-header__title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

/* Leaf product cards — větší obrázek, bez accent top */
.product-grid--leaf { grid-template-columns: repeat(3, 1fr); }

.product-card--leaf .product-card__img {
    height: 260px;
}
.product-card--leaf .product-card__img--fit img {
    object-fit: cover;
    background: #111;
}
.product-card--leaf .product-card__body { padding: 24px; gap: 12px; }

/* Category cards (rodičovská kategorie) */
.product-card--category { text-decoration: none; }
.product-card--category .product-card__title a,
.product-card--category .product-card__title { color: var(--text-white); }

/* ── Article Hero ───────────────────────────────────────────────────────────── */
.article-hero {
    position: relative;
    height: 340px;
    overflow: hidden;
    background: var(--bg-dark);
}

.article-hero__bg {
    position: absolute;
    inset: 0;
    background: url('img/slider-bg.png') center/cover no-repeat;
    opacity: 0.15;
}

.article-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    opacity: 0.65;
}

.article-hero__content {
    position: absolute;
    inset: 0;
    padding: 0 var(--container-pad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.article-hero__tag {
    display: inline-block;
    background: rgba(0,153,255,0.13);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid var(--accent);
    text-transform: uppercase;
    align-self: flex-start;
}

.article-hero__title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    max-width: 820px;
}

.article-hero__meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}
.article-meta-item i { width: 14px; height: 14px; }

/* ── Article Body ────────────────────────────────────────────────────────────── */
.article-body {
    background: #fff;
    padding: 56px var(--container-pad);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 56px;
    align-items: start;
}

.article-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.article-featured-img {
    margin-bottom: 36px;
    border-radius: 8px;
    overflow: hidden;
}
.article-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    max-width: 820px;
}

.article-gallery {
    padding-top: 32px;
}

/* ── Article Sidebar ────────────────────────────────────────────────────────── */
.article-sidebar {
    position: sticky;
    top: 24px;
}

.sidebar-latest__title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 4px;
}

.sidebar-post {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    align-items: flex-start;
}
.sidebar-post:hover .sidebar-post__title { color: var(--accent); }

.sidebar-post__img {
    width: 72px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}
.sidebar-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-post__img--empty { background: var(--bg-light); }

.sidebar-post__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar-post__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    transition: color 0.15s;
}
.sidebar-post__date { font-size: 11px; color: var(--text-muted); }

.sidebar-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-top: 16px;
    text-decoration: none;
}
.sidebar-all:hover { text-decoration: underline; }
.sidebar-all i, .sidebar-all svg { width: 13px; height: 13px; }

/* ── Gallery Lightbox ───────────────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.lightbox.is-open { opacity: 1; pointer-events: all; }

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
}

.lightbox__wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 92vw;
}

.lightbox__img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__img-wrap img {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.lightbox__close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 0;
    display: flex;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__close svg { width: 28px; height: 28px; }

.lightbox__counter {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}

.lightbox__nav {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.lightbox__nav svg { width: 20px; height: 20px; }

/* WordPress content typography */
.article-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.article-content p:first-child {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    line-height: 1.7;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin: 36px 0 16px;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin: 28px 0 12px;
}

.article-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 8px 0;
}

.article-content figcaption {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

.article-content blockquote {
    background: #F0F7FF;
    border-left: 3px solid var(--accent);
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 15px;
    color: #333;
    line-height: 1.7;
}

.article-content ul, .article-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
.article-content li {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 6px;
}

.article-content a { color: var(--accent); }
.article-content a:hover { text-decoration: underline; }

/* ── Tags & Share Row ────────────────────────────────────────────────────────── */
.article-tags-row {
    background: #fff;
    padding: 24px var(--container-pad);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.article-tags__label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.article-tag {
    background: #F0F0F0;
    color: #555;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.15s;
}
.article-tag:hover { background: var(--accent); color: #fff; }

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.article-share__label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.article-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    transition: background 0.15s;
}
.article-share__btn:hover { background: #F0F4F8; }
.article-share__btn i { width: 14px; height: 14px; }

/* ── Related Articles ────────────────────────────────────────────────────────── */
.related-articles {
    background: #F8F9FA;
    padding: 48px var(--container-pad);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.related-articles__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.related-articles__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.related-articles__more {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}
.related-articles__more:hover { text-decoration: underline; }
.related-articles__more i { width: 14px; height: 14px; }

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Gallery Page ───────────────────────────────────────────────────────────── */
.gallery-page {
    background: #fff;
    padding: 48px var(--container-pad) 64px;
}
.gallery-page__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.gallery-page__empty {
    color: var(--text-muted);
    font-size: 15px;
    text-align: center;
    padding: 60px 0;
}

/* ── Archive Hero ───────────────────────────────────────────────────────────── */
.archive-hero {
    position: relative;
    height: auto;
    overflow: hidden;
    background: var(--bg-dark);
    padding: 3rem 0;
}

.archive-hero__bg {
    position: absolute;
    inset: 0;
    background: url('../img/slider-bg.webp') center/cover no-repeat;
    opacity: 0.5;
}

.archive-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    opacity: 0;
}

.archive-hero__content {
    position: relative;
    inset: 0;
    padding: 0 var(--container-pad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.archive-hero__title {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-white);
}

.archive-hero__sub {
    color: #ccc;
    line-height: 1.6;
    max-width: 600px;
    word-break: break-word;
}

.arc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.arc-breadcrumb::-webkit-scrollbar { display: none; }
.arc-breadcrumb a { color: var(--text-muted); text-decoration: none; white-space: nowrap; }
.arc-breadcrumb span { color: var(--accent); font-weight: 500; white-space: nowrap; }
.arc-breadcrumb i,
.arc-breadcrumb svg { width: 14px; height: 14px; color: rgba(255,255,255,0.4); flex-shrink: 0; display: inline-block; }

/* ── News Filter Bar ────────────────────────────────────────────────────────── */
.news-filter-bar {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 20px var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.news-filter-bar__chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    background: #F0F4F8;
    color: #555;
    border: 1px solid var(--border-light);
    transition: background 0.15s, color 0.15s;
}
.chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.chip--active { background: var(--accent); color: #fff; border-color: var(--accent); }

.news-search {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 9px 16px;
    width: 260px;
    flex-shrink: 0;
}
.news-search i { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.news-search input[type="search"] {
    border: none;
    outline: none;
    font-size: 13px;
    color: #333;
    width: 100%;
    background: transparent;
    font-family: var(--font-body);
}
.news-search input[type="search"]::placeholder { color: var(--text-muted); }

/* ── News Archive Grid ──────────────────────────────────────────────────────── */
.news-archive-wrap {
    background: #fff;
    padding: 48px var(--container-pad);
}

.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.news-archive-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.news-archive-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.news-archive-card__img {
    display: block;
    height: 200px;
    overflow: hidden;
}
.news-archive-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-archive-card:hover .news-archive-card__img img { transform: scale(1.03); }
.news-archive-card__img--placeholder { background: #F0F4F8; height: 200px; }

.news-archive-card__body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-archive-card__cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
}

.news-archive-card__title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}
.news-archive-card__title a { color: #111; text-decoration: none; }
.news-archive-card__title a:hover { color: var(--accent); }

.news-archive-card__date {
    font-size: 12px;
    color: var(--text-muted);
}

.news-archive-card__excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.news-pagination {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}
.news-pagination .nav-links { display: flex; align-items: center; gap: 4px; }
.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    border: 1px solid var(--border-light);
    transition: background 0.15s, color 0.15s;
}
.news-pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
.news-pagination .page-numbers:hover:not(.current) { background: #F0F4F8; }
.news-pagination .prev,
.news-pagination .next { width: auto; padding: 0 14px; gap: 6px; }

.news-archive-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 60px 0;
    font-size: 15px;
}

/* ── Contact Page ───────────────────────────────────────────────────────────── */
.contact-hero {
    position: relative;
    height: auto;
    background: var(--bg-dark);
    overflow: hidden;
    padding: 3rem 0;
}
.contact-hero__bg {
    position: absolute; inset: 0;
    background: url('../img/slider-bg.webp') center/cover no-repeat;
    opacity: 0.5;
}
.contact-hero__content {
    position: relative; inset: 0;
    display: flex; flex-direction: column; justify-content: center; gap: 10px;
    padding: 0 var(--container-pad);
}
.contact-hero__label {
    font-family: var(--font-body); font-size: 11px; font-weight: 600;
    letter-spacing: 2px; color: var(--accent);
}
.contact-hero__title {
    font-family: var(--font-heading); font-size: 48px; font-weight: 700;
    line-height: 1.1; color: var(--text-white); margin: 0;
}
.contact-hero__desc {
    font-size: 15px; color: var(--text-muted); margin: 0;
}
.contact-hero__btns { display: flex; gap: 16px; margin-top: 4px; }

/* Main card: info + form */
.contact-main {
    display: flex; gap: 50px; align-items: flex-start;
    padding: 48px var(--container-pad);
    border-bottom: 1px solid var(--border-light);
}
.contact-info {
    flex: 1; display: flex; flex-direction: column; gap: 0;
}
.contact-info__block {
    display: flex; flex-direction: column; gap: 16px;
    padding-bottom: 20px; margin-bottom: 20px;
}
.contact-info__block--border { border-bottom: 1px solid var(--border-light); }
.contact-info__name {
    font-family: var(--font-heading); font-size: 24px; font-weight: 700;
    color: var(--text-primary); margin: 0;
}
.contact-info__row {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: var(--text-secondary);
}
.contact-info__row i,
.contact-info__row svg { flex-shrink: 0; color: var(--accent); width: 20px; height: 20px; margin-top: 2px; }
.contact-info__row a { color: var(--accent); text-decoration: none; font-weight: 500; }
.contact-info__row a:hover { text-decoration: underline; }
.contact-info__reg { font-size: 13px; color: var(--text-secondary); line-height: 1.8; margin: 0; }
.contact-info__divider { border: none; border-top: 1px solid var(--border-light); margin: 0; }
.contact-info__legal { font-size: 12px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.contact-info__social-label { font-size: 12px; color: var(--text-muted); }
.contact-social-row { display: flex; gap: 12px; }
.contact-social-btn {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 36px;
    border: 1px solid var(--border-light); border-radius: 6px;
    color: var(--text-secondary); text-decoration: none;
    transition: border-color .2s, color .2s;
}
.contact-social-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Contact form */
.contact-form-wrap {
    width: 440px; flex-shrink: 0;
    background: #F7F8FA; border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 32px;
    display: flex; flex-direction: column; gap: 20px;
}
.contact-form-wrap__title {
    font-family: var(--font-heading); font-size: 22px; font-weight: 700;
    color: var(--text-primary); margin: 0;
}
.contact-form-wrap__sub { font-size: 13px; color: var(--text-muted); margin: 0; }
.contact-form-wrap__divider { border: none; border-top: 1px solid var(--border-light); margin: 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form__field { display: flex; flex-direction: column; gap: 6px; }
.contact-form__field label {
    font-size: 12px; font-weight: 600; color: var(--text-secondary);
}
.contact-form__opt { font-weight: 400; color: var(--text-muted); }
.contact-form__field input,
.contact-form__field textarea {
    width: 100%; padding: 12px 16px;
    font-size: 14px; font-family: var(--font-body); color: var(--text-primary);
    background: transparent;
    border: 1px solid #D5D8DF; border-radius: 6px;
    outline: none; transition: border-color .2s;
    box-sizing: border-box;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus { border-color: var(--accent); }
.contact-form__field textarea { resize: vertical; min-height: 120px; }
.contact-form__submit { width: 100%; justify-content: center; }
.contact-msg {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; border-radius: 6px; font-size: 14px;
}
.contact-msg--ok  { background: #E8F5E9; color: #2E7D32; }
.contact-msg--err { background: #FFEBEE; color: #C62828; }

/* Contact sections (Náhradní díly, Obchodní, …) */
.contact-section {
    padding: 40px var(--container-pad);
    border-bottom: 1px solid var(--border-light);
    display: flex; flex-direction: column; gap: 24px;
}
.contact-section__head {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 8px; border-bottom: 1px solid var(--border-light);
}
.contact-section__head i,
.contact-section__head svg { color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.contact-section__title {
    font-family: var(--font-heading); font-size: 16px; font-weight: 600;
    color: var(--text-primary);
}
.contact-section__sub { font-size: 13px; color: var(--text-muted); }
.contact-section__grid {
    display: grid; gap: 16px;
}
.contact-section__grid--2 { grid-template-columns: repeat(2, 1fr); }
.contact-section__grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Contact card */
.contact-card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 20px 24px;
    border: 1px solid var(--border-light); border-radius: var(--radius);
}
.contact-card__region {
    font-size: 11px; font-weight: 600; letter-spacing: 1px;
    color: var(--text-muted); text-transform: uppercase;
}
.contact-card__name {
    font-family: var(--font-heading); font-size: 15px; font-weight: 600;
    color: var(--text-primary); margin: 0;
}
.contact-card__row {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--accent);
    text-decoration: none; transition: opacity .2s;
}
.contact-card__row:hover { opacity: .75; }
.contact-card__row i,
.contact-card__row svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Partners grid */
.contact-partners { display: flex; flex-direction: column; gap: 12px; }
.contact-partners__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.contact-partner {
    display: flex; flex-direction: column; gap: 4px;
    padding: 16px 20px;
    border: 1px solid var(--border-light); border-radius: var(--radius);
}
.contact-partner__country {
    font-size: 10px; font-weight: 600; letter-spacing: 1px;
    color: var(--text-muted); text-transform: uppercase;
}
.contact-partner strong { font-size: 14px; font-weight: 600; color: var(--text-primary); }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .about-section__photo { width: 360px; height: 460px; }
    .about-section__path { height: 420px; }
    .map-section__right { width: 380px; }
}

@media (max-width: 1024px) {
    :root { --container-pad: 40px; }

    .cat-strip { grid-template-columns: 1fr; height: auto; }
    .cat-col, .cat-col--first, .cat-col--last {
        padding: 24px 0;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .cat-col:last-child { border-bottom: none; }

    .why-ibos__inner { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .why-item--border:nth-child(2) { border-right: none; }
    .why-item:nth-child(3) { border-top: 1px solid var(--border-dark); }
    .why-item:nth-child(4) { border-top: 1px solid var(--border-dark); }

    .about-section { height: auto; }
    .about-section__left-bg { display: none; }
    .about-section__inner { position: static; flex-direction: column; padding: 60px var(--container-pad); gap: 40px; }
    .about-section__text { width: 100%; padding: 0; }
    .about-section__visual { width: 100%; height: 320px; justify-content: center; }
    .about-section__path { left: 0; height: 260px; }
    .about-section__photo { width: 100%; height: 100%; }

    .video-section { flex-direction: column; padding: 40px var(--container-pad); gap: 32px; }
    .video-section__player { width: 100%; flex: unset; height: 280px; }
    .video-section__text { width: 100%; }

    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid .news-card:last-child { display: none; }

    .map-section { flex-direction: column; height: auto; }
    .map-section__left { height: 420px; flex: none; }
    .map-section__right { width: 100%; border-left: none; border-top: 1px solid var(--border-dark); }


    .contact-main { flex-direction: column; }
    .contact-form-wrap { width: 100%; }
    .contact-section__grid--4 { grid-template-columns: repeat(2, 1fr); }
    .contact-partners__row { grid-template-columns: repeat(2, 1fr); }

    .article-body { grid-template-columns: 1fr; gap: 40px; }
    .article-sidebar { position: static; border-top: 1px solid var(--border-light); padding-top: 40px; }

    .prod-gallery__grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-page__grid { grid-template-columns: repeat(4, 1fr); }

    /* Category page */
    .product-grid,
    .product-grid--leaf { grid-template-columns: repeat(2, 1fr); }
    .product-header { flex-direction: column; align-items: flex-start; gap: 16px; }

    /* Aktuality archive */
    .news-archive-grid { grid-template-columns: repeat(2, 1fr); }
    .archive-hero__title { font-size: 32px; }
    .news-filter-bar { flex-direction: column; align-items: stretch; gap: 12px; }
    .news-search { width: 100%; }

    /* Product detail */
    .prod-hero__title { font-size: 30px; }
    .cat-usp-strip { flex-wrap: wrap; gap: 0; }
    .cat-usp-item { flex: 1 1 50%; padding: 12px var(--container-pad); border-bottom: 1px solid var(--border-dark); }
    .cat-usp-item:nth-child(odd) { border-right: 1px solid var(--border-dark); }
    .cat-usp-divider { display: none; }
    .cat-filter-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .prod-intro { flex-direction: column; gap: 32px; padding-top: 32px; }
    .prod-intro__img { width: 100%; max-width: 560px; align-self: center; order: -1; }
    .prod-intro__cta { flex-direction: column; align-items: flex-start; gap: 12px; }
    .spec-card-grid { flex-direction: column; }
    .prod-variant-bar { flex-direction: column; align-items: flex-start; gap: 0; }
    .prod-variant-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
    .prod-download { padding: 14px var(--container-pad); border-top: 1px solid var(--border-light); width: 100%; }
}

@media (max-width: 999px) {
    .navbar__menu { display: none; }
    .navbar__cta  { display: none; }
    .navbar__toggle { display: flex; }

    .navbar__menu.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        padding: 20px;
        border-top: 1px solid var(--border-dark);
        gap: 16px;
    }
}

@media (max-width: 1300px) {
    :root { --container-pad: 20px; }
}

@media (max-width: 768px) {
    .top-bar__left .top-bar__item:nth-child(3) { display: none; }
    .top-bar__right .top-bar__item { display: none; }

    /* Hero mobile – grid stack: všechny slidy zabírají stejnou buňku → výška = nejvyšší slide */
    .hero { height: auto; overflow: hidden; }
    .hero__slides {
        position: relative;
        inset: auto;
        display: grid;
        width: 100%;
    }
    .hero__slide {
        grid-column: 1;
        grid-row: 1;
        position: relative;
        inset: auto;
        display: flex;
        flex-direction: column;
        opacity: 1;
        visibility: hidden;
        pointer-events: none;
        transition: none;
    }
    .hero__slide.is-active {
        visibility: visible;
        pointer-events: auto;
    }
    .hero__content {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        padding: 40px var(--container-pad) 20px;
        justify-content: flex-start;
        gap: 16px;
        flex: 1 1 auto;
    }
    .hero__title { font-size: 36px; letter-spacing: -1px; }
    .hero__desc { max-width: none; }
    .hero__product {
        position: relative;
        right: auto;
        left: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        height: 280px;
    }
    .hero__product-accent { display: none; }
    .hero__product-img {
        background-image: none !important;
    }
    .hero__product-img-mob {
        display: block;
        width: 100%;
        height: 100%;
        object-position: center bottom;
    }
    .hero__dots {
        position: absolute;
        left: auto;
        bottom: 0;
        width: 100%;
        padding: 16px var(--container-pad) 24px;
        justify-content: center;
    }

    .why-ibos__inner { grid-template-columns: 1fr; }
    .why-item, .why-item--border { border-right: none; border-bottom: 1px solid var(--border-dark); padding: 20px 0; }
    .why-item:last-child { border-bottom: none; }

    .news-grid { grid-template-columns: 1fr; }
    .news-grid .news-card:last-child { display: flex; }

    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .related-articles__head { flex-direction: column; align-items: flex-start; gap: 8px; }

    .cta-block { height: auto; padding: 60px 0; }
    .cta-block__title { font-size: 30px; }

    body { font-size: 14px; }
    .contact-hero__title { font-size: 34px; }
    .cat-hero__title { font-size: 34px; }
    .article-hero__title { font-size: 30px; }
    .about-section__title { font-size: 30px; }
    .news-section__title { font-size: 26px; }
    .product-header__title { font-size: 24px; }
    .contact-hero__btns { flex-direction: column; align-items: flex-start; }
    .contact-section__grid--2 { grid-template-columns: 1fr; }
    .contact-section__grid--4 { grid-template-columns: 1fr; }
    .contact-partners__row { grid-template-columns: repeat(2, 1fr); }

    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

    .prod-gallery__grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-page__grid { grid-template-columns: repeat(3, 1fr); }

    /* Category page */
    .cat-intro__heading { font-size: 22px; }
    .product-card__img { height: 180px; }
    .product-card--leaf .product-card__img { height: 200px; }

    /* Aktuality archive */
    .archive-hero__title { font-size: 28px; }
    .news-archive-card__img { height: 160px; }
    .news-pagination .nav-links { flex-wrap: wrap; justify-content: center; }
    .prod-hero__title { font-size: 28px; }
    .cat-usp-item { flex: 1 1 100%; border-right: none !important; }
    .cat-usp-item:last-child { border-bottom: none; }
    .prod-specs { grid-template-columns: 1fr 1fr; max-width: 100%; }
    .spec-blocks { padding: 32px var(--container-pad); gap: 28px; }

    .about-section__path {display: none;}
}

@media only screen and (min-width: 481px) and (max-width: 768px) {
    .hero__product-img-mob {
        object-fit: contain;
        object-position: right bottom;
    }
}

@media (max-width: 480px) {
    .footer__top { grid-template-columns: 1fr; }
    .top-bar__left .top-bar__item:nth-child(2) { display: none; }
    .hero__title { font-size: 28px; }
    .hero__product { height: 230px; }
    .cta-block__btns { flex-direction: column; }
    .cat-hero__title { font-size: 28px; }
    .article-hero__title { font-size: 24px; }
    .contact-hero__title { font-size: 28px; }
    .archive-hero__title { font-size: 24px; }
    .prod-hero__title { font-size: 24px; }
    .cta-block__title { font-size: 26px; }

    .hero__product-img-mob {
        object-fit: cover;
    }

    .prod-gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-page__grid { grid-template-columns: repeat(2, 1fr); }

    /* Category page */
    .product-grid,
    .product-grid--leaf { grid-template-columns: 1fr; }

    /* Aktuality archive */
    .news-archive-grid { grid-template-columns: 1fr; }

    .related-grid { grid-template-columns: 1fr; }
}

/* ── Lightbox mobile ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .lightbox__wrap {
        max-width: 100vw;
        width: 100vw;
        justify-content: center;
        position: relative;
    }
    .lightbox__nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        background: rgba(0,0,0,0.45);
    }
    #lbPrev { left: 8px; }
    #lbNext { right: 8px; }
    .lightbox__img-wrap img {
        max-width: calc(100vw - 24px);
        max-height: 80vh;
    }
}
