/* =====================================================================
   VašeŽaluzie.cz — style.css
   Struktura:
   1. Promenne (design tokens)
   2. Reset & zaklady
   3. Pomocne tridy (container, btn, text-orange)
   4. Header + navigace
   5. Hero
   6. Karty kategorii
   7. Duverybody (navy box)
   8. Konfiguratory
   9. Jak to probiha + kontaktni karta
   10. Footer
   11. Responzivita (media queries)
   ===================================================================== */

/* ---------- 1. PROMENNE ---------- */
:root {
    --navy:        #16233b;
    --navy-deep:   #111d31;
    --navy-soft:   #3a4656;
    --orange:      #f37a1d;
    --orange-dark: #e06a0e;
    --green:       #2f9e5c;
    --white:       #ffffff;
    --bg:          #ffffff;
    --gray-50:     #f6f7f9;
    --gray-100:    #eef1f4;
    --gray-200:    #e3e7ec;
    --gray-300:    #c2cad4;
    --text:        #283142;
    --muted:       #6c7686;

    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(20, 30, 50, .06);
    --shadow:    0 10px 30px rgba(20, 30, 50, .08);
    --shadow-lg: 0 22px 50px rgba(20, 30, 50, .14);

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 28px);

    --header-h: 138px;

    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. RESET & ZAKLADY ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-locked { overflow: hidden; }

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

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

h1, h2, h3 { margin: 0; line-height: 1.12; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }

ul, ol { margin: 0; padding: 0; list-style: none; }

svg.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. POMOCNE TRIDY ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

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

/* Skryto vizualne, ale viditelne pro ctecky obrazovky (a11y) */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.btn {
    --btn-py: 13px; --btn-px: 22px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: var(--btn-py) var(--btn-px);
    font: inherit; font-weight: 700; font-size: .98rem;
    border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap; line-height: 1;
}
.btn .icon { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 18px rgba(243, 122, 29, .32); }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(243, 122, 29, .4); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--gray-200); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--lg { --btn-py: 16px; --btn-px: 28px; font-size: 1.02rem; }

.phone-link {
    display: inline-flex; align-items: center; gap: 9px;
    font-weight: 700; color: var(--navy); white-space: nowrap;
}
.phone-link .icon { color: var(--orange); width: 1.4em; height: 1.4em; }
.phone-link:hover { color: var(--orange); }

/* ---------- 4. HEADER ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--gray-100);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--gray-100); }

/* Overlay varianta (homepage): hlavicka lezi pres hero fotku, na vrchu pruhledna.
   Po odscrollovani se podbarvi bile, aby byla vzdy citelna. Stale je fixni (neroluje se). */
.site-header--overlay {
    position: fixed; left: 0; right: 0; top: 0;
    /* jemny tmavy zavoj pro citelnost bileho pisma pres celou hlavicku */
    background: linear-gradient(to bottom, rgba(13, 22, 38, .5), rgba(13, 22, 38, .26));
    border-bottom-color: transparent;
}
.site-header--overlay .header__nav-row { border-top-color: rgba(255, 255, 255, .22); }
.site-header--overlay.is-scrolled {
    background: #ffffff;
    border-bottom-color: var(--gray-100);
    box-shadow: var(--shadow-sm);
}
.site-header--overlay.is-scrolled .header__nav-row { border-top-color: var(--gray-100); }

/* --- prepinani barev: pruhledny stav = bile pismo + bile logo, po scrollu = tmave --- */
.logo__img { display: block; }
.logo__img--white { display: none; }
.site-header--overlay:not(.is-scrolled) .logo__img--dark { display: none; }
.site-header--overlay:not(.is-scrolled) .logo__img--white { display: block; }

.site-header--overlay:not(.is-scrolled) .main-nav__list a,
.site-header--overlay:not(.is-scrolled) .phone-link__num,
.site-header--overlay:not(.is-scrolled) .phone-link__label,
.site-header--overlay:not(.is-scrolled) .phone-link span {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(13, 22, 38, .55);
}
.site-header--overlay:not(.is-scrolled) .phone-link__label { color: rgba(255, 255, 255, .82); }
.site-header--overlay:not(.is-scrolled) .header__top .icon,
.site-header--overlay:not(.is-scrolled) .nav-caret,
.site-header--overlay:not(.is-scrolled) .phone-link .icon {
    color: #ffffff;
    filter: drop-shadow(0 1px 4px rgba(13, 22, 38, .5));
}

/* radek 1: logo + akce (telefony + CTA) */
.header__top {
    min-height: 88px;
    display: flex; align-items: center; gap: clamp(16px, 2vw, 32px);
}
.logo { flex: 0 0 auto; display: inline-flex; position: relative; z-index: 2; }
.logo img { height: clamp(42px, 3.4vw, 54px); width: auto; max-width: none; pointer-events: none; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.header__actions .btn--primary { --btn-py: 13px; --btn-px: 22px; }

/* dva telefonni kontakty s popiskem */
.header__phones { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.phone-link--header { display: inline-flex; align-items: center; gap: 10px; }
.phone-link--header .icon { color: var(--orange); width: 1.7em; height: 1.7em; flex: 0 0 auto; }
.phone-link__text { display: flex; flex-direction: column; line-height: 1.16; }
.phone-link__label { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.phone-link__num { font-size: 1.04rem; font-weight: 800; color: var(--navy); white-space: nowrap; }
.phone-link--header:hover .phone-link__num { color: var(--orange); }

/* radek 2: hlavni navigace */
.header__nav-row { border-top: 1px solid var(--gray-100); transition: border-color .25s ease; }
.main-nav { display: flex; align-items: center; justify-content: center; }
.main-nav__list { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 34px); flex-wrap: nowrap; }
.main-nav__list a {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: .95rem; color: var(--navy);
    padding: 15px 2px; position: relative; white-space: nowrap;
}
.nav-caret { width: 1em; height: 1em; color: var(--gray-300); transition: transform .2s ease; }
.main-nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav__list a:hover { color: var(--orange); }
.main-nav__list a:hover .nav-caret { transform: rotate(180deg); color: var(--orange); }
.main-nav__list a:hover::after { transform: scaleX(1); }
.main-nav__cta { display: none; }   /* zobrazi se jen v mobilnim panelu */

.nav-close { display: none; }

/* Hamburger – elegantní oranžové tlačítko s precizními proužky */
.hamburger {
    display: none; position: relative;
    width: 48px; height: 48px; border: 0;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    border-radius: 14px; cursor: pointer; padding: 0;
    box-shadow: 0 8px 20px rgba(243, 122, 29, .4), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .2s ease, box-shadow .2s ease, border-radius .25s ease;
}
.hamburger::before {
    /* jemný „lesk" v levém horním rohu pro 3D efekt */
    content: ""; position: absolute; inset: 1px;
    border-radius: 13px; pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 50%);
}
.hamburger:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(243, 122, 29, .5); }
.hamburger:active { transform: translateY(0); }
.hamburger span {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 20px; height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .15s ease, width .2s ease;
}
.hamburger span:nth-child(1) { transform: translate(-50%, calc(-50% - 7px)); }
.hamburger span:nth-child(2) { width: 14px; } /* prostřední je o trochu kratší – designerský detail */
.hamburger span:nth-child(3) { transform: translate(-50%, calc(-50% + 7px)); }

/* Otevřeno: přechod na navy + lines do "×" */
.hamburger[aria-expanded="true"] {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    box-shadow: 0 8px 20px rgba(13, 22, 38, .4), inset 0 1px 0 rgba(255, 255, 255, .15);
    border-radius: 50%;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); width: 20px; }

/* Overlay header (homepage hero) – průhledné s bílým rámem, ať nepřebíjí fotku */
.site-header--overlay:not(.is-scrolled) .hamburger {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(13, 22, 38, .25);
}
.site-header--overlay:not(.is-scrolled) .hamburger:hover {
    background: rgba(255, 255, 255, .25);
}

/* Overlay přes web při otevřeném mobilním menu – tmavší navy s blurem.
   Pozn.: site-header tvoří stacking context (z-index:100, sticky), takže .main-nav uvnitř
   nemůže přebít overlay v body. Když je menu otevřené, posuneme hlavičku přes overlay. */
.nav-overlay {
    position: fixed; inset: 0; z-index: 110;
    background: rgba(13, 22, 38, .55);
    backdrop-filter: blur(5px) saturate(80%);
    -webkit-backdrop-filter: blur(5px) saturate(80%);
    animation: nav-overlay-in .25s ease;
}
@keyframes nav-overlay-in {
    from { background: rgba(13, 22, 38, 0); backdrop-filter: blur(0); }
    to   { background: rgba(13, 22, 38, .55); backdrop-filter: blur(5px) saturate(80%); }
}

/* Když je menu otevřené (body.nav-locked) – povýšíme hlavičku nad overlay,
   takže menu zůstane ostré a čitelné, ne jako blurovaná šmouha. */
body.nav-locked .site-header { z-index: 130; }
body.nav-locked .site-header--overlay { background: transparent; }

/* ---------- 5. HERO ---------- */
.hero { position: relative; overflow: hidden; }
.hero__inner {
    position: relative;
    /* dostatecna vyska, aby se vesla cela fotka (obloha nahore i jezirko dole) */
    min-height: clamp(580px, 46vw, 800px);
    display: flex; flex-direction: column; justify-content: center;
    /* horni padding uvolni misto pod fixni (overlay) hlavickou */
    padding-block: clamp(150px, 15vw, 188px) clamp(40px, 5vw, 72px);
}
.hero__content {
    position: relative; z-index: 3; max-width: clamp(440px, 52%, 580px);
    /* jen jemne prusvitne pozadi - fotka jasne prosvita, blur minimalni */
    background: rgba(255, 255, 255, .28);
    backdrop-filter: blur(6px) saturate(110%);
    -webkit-backdrop-filter: blur(6px) saturate(110%);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
    box-shadow: 0 18px 50px rgba(13, 22, 38, .22);
}
.hero__title { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 16px; }
.hero__subtitle { font-size: clamp(1.3rem, 2.1vw, 1.8rem); font-weight: 800; color: var(--navy); margin: 0 0 clamp(20px, 2.5vw, 30px); }
.hero__text { font-size: clamp(1rem, 1.1vw, 1.1rem); color: #2b3a52; font-weight: 500; max-width: 38ch; margin: 0 0 26px; }

.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0 0 14px; padding: 6px 14px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(13, 22, 38, .08);
    border-radius: 999px;
    color: var(--navy); font-weight: 700; font-size: .82rem;
    box-shadow: 0 4px 12px rgba(13, 22, 38, .08);
}
.hero__eyebrow .icon { color: var(--orange); width: 1.05em; height: 1.05em; }

.hero__benefits {
    display: flex; gap: clamp(18px, 3vw, 38px);
    margin: clamp(18px, 2vw, 26px) 0 0;
    padding-top: clamp(16px, 2vw, 22px);
    border-top: 1px solid rgba(13, 22, 38, .12);
    flex-wrap: wrap;
}
.hero__benefits li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .92rem; color: var(--navy); }
.hero__benefits .icon {
    width: 44px; height: 44px; padding: 10px; color: var(--navy);
    background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px;
}

.hero__cta { display: flex; gap: 12px; flex-wrap: nowrap; margin-bottom: 0; }
.hero__cta .btn { flex: 0 1 auto; min-width: 0; }

.hero__region { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .92rem; margin: 0; }
.hero__region .icon { width: 40px; height: 40px; color: var(--navy); }

/* velky vizual na celou sirku (full-bleed, bez ramecku a zaobleni) */
.hero__media {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.hero__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    /* jemny zavoj jen pro vyrovnani kontrastu - fotka zustava dominantni po cele sirce */
    background: linear-gradient(180deg, rgba(13, 22, 38, .12) 0%, rgba(13, 22, 38, 0) 35%, rgba(13, 22, 38, 0) 65%, rgba(13, 22, 38, .18) 100%);
}

/* statisticky box pres obrazek vpravo dole */
.hero__stats {
    position: absolute; z-index: 2;
    right: calc(var(--gutter) + clamp(14px, 2vw, 30px));
    bottom: clamp(30px, 4vw, 56px);
    width: min(540px, 54%);
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(17, 29, 49, .92);
    border-radius: var(--radius); padding: clamp(14px, 1.6vw, 22px) clamp(8px, 1vw, 14px);
    box-shadow: var(--shadow-lg);
}
.stat { text-align: center; padding: 4px clamp(6px, 1vw, 14px); position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: rgba(255, 255, 255, .16); }
.stat__num { display: block; color: #fff; font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1; }
.stat__label { display: block; color: rgba(255, 255, 255, .7); font-size: .72rem; margin-top: 6px; line-height: 1.25; }

/* ---------- 6. KARTY KATEGORII ---------- */
.categories { padding: clamp(48px, 6vw, 80px) 0 clamp(30px, 4vw, 50px); }
.cards-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 22px);
}
.card {
    position: relative;
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
    display: flex; flex-direction: column; overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; background: var(--gray-100); }
.card__media img { width: 100%; aspect-ratio: 301 / 476; max-height: 230px; object-fit: cover; object-position: center; display: block; }
.card__badge {
    position: absolute; left: 20px; bottom: -26px;
    width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; box-shadow: var(--shadow);
}
.card__badge svg { width: 28px; height: 28px; }
.badge--orange { background: var(--orange); color: #fff; }
.badge--navy   { background: var(--navy-soft); color: #fff; }
.badge--green  { background: var(--green); color: #fff; }
.badge--light  { background: #fff; color: var(--navy); border: 1px solid var(--gray-200); }

.card__body { padding: 38px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.18rem; margin-bottom: 12px; }
.card__list { margin-bottom: 18px; flex: 1; }
.card__list li { color: var(--muted); font-size: .93rem; padding: 3px 0; }
.card__link { display: inline-flex; align-items: center; gap: 7px; color: var(--orange); font-weight: 700; font-size: .92rem; }
/* cela karta je klikatelna (stretched link presahne celou .card) */
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link .icon { transition: transform .2s ease; }
.card__link:hover .icon { transform: translateX(4px); }

/* ---------- 7. DUVERYBODY ---------- */
.trust { padding: clamp(24px, 4vw, 44px) 0; }
.trust__box {
    background: var(--navy); color: #fff; border-radius: var(--radius-xl);
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 52px);
    display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: clamp(24px, 4vw, 48px);
    align-items: center; box-shadow: var(--shadow-lg);
}
.trust__intro h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.trust__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 28px); }
.trust__item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; }
.trust__item + .trust__item::before { content: ""; position: absolute; left: calc(-1 * clamp(8px, 1vw, 14px)); top: 6px; bottom: 6px; width: 1px; background: rgba(255, 255, 255, .14); }
.trust__icon { color: var(--orange); }
.trust__icon svg { width: 46px; height: 46px; stroke-width: 1.5; }
.trust__text { font-size: .9rem; line-height: 1.4; color: rgba(255, 255, 255, .92); max-width: 18ch; }

/* ---------- 8. KONFIGURATORY ---------- */
.configurators { padding: clamp(24px, 4vw, 44px) 0; }
.config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.config-box {
    position: relative; border-radius: var(--radius-xl); overflow: hidden;
    min-height: clamp(220px, 26vw, 300px); box-shadow: var(--shadow);
    background-size: cover; background-position: center;
    display: flex; align-items: center;
}
.config-box::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 34%, rgba(255, 255, 255, .35) 62%, rgba(255, 255, 255, 0) 85%);
}
.config-box__content { position: relative; padding: clamp(24px, 3vw, 42px); max-width: 60%; }
.config-box__title { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 12px; }
.config-box__text { color: #41506a; font-size: 1rem; max-width: 30ch; margin: 0 0 22px; }

/* ---------- 9. JAK TO PROBIHA ---------- */
.process { padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 90px); }
.process__inner { display: block; }
.process__main {
    background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-xl);
    padding: clamp(28px, 3.5vw, 48px); box-shadow: var(--shadow-sm);
}
.process__heading { font-size: clamp(1.6rem, 2.8vw, 2.2rem); text-align: center; margin: 0 0 clamp(28px, 3.5vw, 46px); }
.process__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.step { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.step + .step::before {
    content: "›"; position: absolute; left: calc(-0.5 * clamp(8px, 1vw, 16px)); top: 22px;
    transform: translateX(-50%); color: var(--orange); font-size: 1.5rem; font-weight: 700; line-height: 1;
}
.step__icon { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--gray-200); display: grid; place-items: center; color: var(--navy); background: var(--gray-50); }
.step__icon svg { width: 28px; height: 28px; }
.step__title { font-weight: 700; font-size: .9rem; color: var(--navy); line-height: 1.25; }
.step__text { font-size: .8rem; color: var(--muted); line-height: 1.35; }

/* ---------- 10. FOOTER ---------- */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .82);
    background-image:
        radial-gradient(circle at 12% -10%, rgba(243, 122, 29, .12), transparent 45%),
        radial-gradient(circle at 92% 110%, rgba(243, 122, 29, .08), transparent 50%);
}

/* CTA pruh na vrchu paticky */
.footer-cta {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,0));
}
.footer-cta__row {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 2.5vw, 32px);
    align-items: center;
    justify-content: space-between;
    padding: clamp(24px, 3vw, 36px) var(--gutter);
}
.footer-cta__text { max-width: 56ch; }
.footer-cta__text h2 {
    color: #fff;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    margin-bottom: 6px;
}
.footer-cta__text p {
    color: rgba(255, 255, 255, .7);
    margin: 0;
    font-size: .95rem;
}
.footer-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}
.footer-cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    transition: background .15s, border-color .15s, transform .15s;
}
.footer-cta__phone:hover {
    background: rgba(255, 255, 255, .12);
    border-color: var(--orange);
    transform: translateY(-2px);
}
.footer-cta__phone .icon { color: var(--orange); width: 1.4em; height: 1.4em; }
.footer-cta__phone span { display: flex; flex-direction: column; line-height: 1.1; }
.footer-cta__phone small { font-size: .72rem; color: rgba(255,255,255,.6); margin-bottom: 2px; }
.footer-cta__phone strong { font-size: 1rem; font-weight: 700; }

/* Hlavni mrizka 4 sloupcu */
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: clamp(24px, 3vw, 48px);
    padding: clamp(40px, 5vw, 64px) var(--gutter);
}
.footer__col { min-width: 0; }
.footer__logo {
    height: 34px;
    width: auto;
    margin-bottom: 18px;
    background: #fff;
    padding: 9px 14px;
    border-radius: 12px;
    box-sizing: content-box;
}
.footer__claim {
    color: rgba(255, 255, 255, .65);
    max-width: 38ch;
    font-size: .95rem;
    margin: 0 0 22px;
}

/* Mini badge boxy v brand sloupci */
.footer__badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 22px;
}
.footer__badges li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    font-size: .85rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, .8);
}
.footer__badges .icon {
    color: var(--orange);
    width: 1.7em;
    height: 1.7em;
    flex: 0 0 auto;
}
.footer__badges strong { color: #fff; }

/* Social ikony */
.footer__socials { display: flex; gap: 10px; }
.footer__social {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    transition: background .15s, border-color .15s, transform .15s, color .15s;
}
.footer__social svg { width: 18px; height: 18px; }
.footer__social:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: translateY(-2px);
}

/* Titulek sloupce */
.footer__title {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer__title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 32px; height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

/* Seznam odkazu v sloupcich */
.footer__list { display: flex; flex-direction: column; gap: 2px; }
.footer__list li { padding: 0; }
.footer__list a,
.footer__contact-plain {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .8);
    transition: background .15s, color .15s, transform .15s;
}
.footer__list a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .05);
    transform: translateX(3px);
}
.footer__list .icon {
    color: var(--orange);
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
}

/* Kontaktni polozky se 2-radkovym popisem */
.footer__contact small {
    display: block;
    font-size: .72rem;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 2px;
}
.footer__contact strong {
    display: block;
    font-weight: 600;
    color: #fff;
    font-size: .95rem;
    line-height: 1.3;
}
.footer__contact .icon {
    width: 1.35em;
    height: 1.35em;
}
.footer__contact-plain { cursor: default; }
.footer__contact-plain:hover { background: transparent; transform: none; }

/* Skupina kontaktu: nadpis (Interiéry/Exteriéry) + telefon a e-mail pod ním */
.footer__contact-group { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.footer__contact-label {
    display: block; padding: 4px 10px 2px; font-size: .72rem; font-weight: 700;
    color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .05em;
}

/* Dolni radek (copyright + autor) */
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__bottom .container { padding-block: 18px; }
.footer__bottom p { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.footer__bottom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
    justify-content: space-between;
}
.footer__bottom-credit a {
    color: rgba(255, 255, 255, .8);
    border-bottom: 1px dotted rgba(255, 255, 255, .35);
    transition: color .15s, border-color .15s;
}
.footer__bottom-credit a:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}
@media (max-width: 640px) {
    .footer__bottom-row { justify-content: flex-start; }
}

/* ---------- 11. RESPONZIVITA ---------- */

/* Uzsi desktop: kompaktnejsi telefony */
@media (max-width: 1180px) {
    .phone-link__label { display: none; }
    .phone-link--header .icon { width: 1.4em; height: 1.4em; }
}

/* Tablet velky: uzsi rozestupy navigace, hero stats pod text (zabrani prekryvu),
   produktove karty s rozumnou maximalni sirkou */
@media (max-width: 1080px) {
    .main-nav__list { gap: clamp(8px, 1.4vw, 22px); }
    .main-nav__list a { font-size: .9rem; }

    /* Hero: na tabletu uz se content + stats mohou v desktopovem layoutu prekryvat,
       takze pousteme statistiky pod hlavni obsah. */
    .hero__content { max-width: 100%; }
    .hero__stats {
        position: static;
        width: 100%;
        margin-top: clamp(20px, 3vw, 32px);
        grid-template-columns: repeat(4, 1fr);
    }

    /* Produkty: 2 sloupce s maximalni sirkou karty, aby na 2. radku
       nebyly natazene pres celou sirku. */
    .products__grid {
        grid-template-columns: repeat(2, minmax(0, 360px));
        justify-content: center;
        gap: clamp(18px, 2.2vw, 28px);
    }
    .subcats__grid {
        grid-template-columns: repeat(2, minmax(0, 380px));
        justify-content: center;
    }
    /* 2-sloupcový grid zachovává plnou šířku containeru i na tabletu */
    .subcats__grid--cols-2 {
        grid-template-columns: repeat(2, 1fr);
        justify-content: stretch;
    }
}

/* Prepnuti na hamburger menu */
@media (max-width: 960px) {
    .hamburger { display: grid; }
    .header__nav-row { border-top: 0; }
    .main-nav {
        position: fixed; top: 0; right: 0; z-index: 120;
        width: min(360px, 86vw); height: 100dvh;
        background: #fff; box-shadow: -12px 0 40px rgba(0, 0, 0, .18);
        display: flex; flex-direction: column; gap: 8px;
        padding: 84px 28px 28px; transform: translateX(100%);
        transition: transform .3s ease; overflow-y: auto;
    }
    .main-nav.is-open { transform: translateX(0); }
    .main-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
    .main-nav__list a { display: flex; justify-content: space-between; padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--gray-100); }
    .main-nav__list a::after { display: none; }
    .main-nav__cta { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
    .main-nav__cta .btn { width: 100%; }
    .nav-close { display: block; position: absolute; top: 18px; right: 22px; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--navy); cursor: pointer; }
    /* telefony + CTA se presunou do mobilniho panelu */
    .header__phones,
    .header__actions .btn--primary { display: none; }
    .header__actions { gap: 10px; }

    /* Mobilní vysunuté menu má bílé pozadí -- přepíšeme bílý text z overlay hlavičky na čitelný navy.
       (overlay pravidla nastavují color:#fff všem .main-nav__list a a .phone-link uvnitř hlavičky.
       Specificita musí být ≥ 0,3,1, proto použijeme parent .site-header.) */
    .site-header .main-nav .main-nav__list a,
    .site-header .main-nav .phone-link__num,
    .site-header .main-nav .phone-link span,
    .site-header .main-nav .phone-link__label {
        color: var(--navy);
        text-shadow: none;
    }
    .site-header .main-nav .phone-link__label { color: var(--muted); }
    .site-header .main-nav .phone-link .icon,
    .site-header .main-nav .nav-caret {
        color: var(--orange);
        filter: none;
    }

    /* Hero do sloupce: obrazek nahore (banner), pod nim text a statistiky */
    .hero { display: flex; flex-direction: column; }
    .hero__media {
        position: relative; inset: auto; order: 0;
        width: 100%; height: clamp(220px, 52vw, 360px);
    }
    .hero__media::after { display: none; }
    .hero__inner { min-height: 0; gap: 22px; padding-block: clamp(24px, 5vw, 36px); }
    .hero__content { max-width: none; }
    .hero__stats {
        position: static; width: auto;
        right: auto; bottom: auto; margin-top: 4px;
    }

    /* Trust: heading nahore, ikony do mrizky */
    .trust__box { grid-template-columns: 1fr; text-align: center; }
    .trust__intro h2 br { display: none; }
    .trust__list { grid-template-columns: repeat(5, 1fr); }
    .trust__item + .trust__item::before { display: none; }

    /* Process do sloupce */
    .process__inner { grid-template-columns: 1fr; }
    .process__main { grid-template-columns: 1fr; text-align: center; }
    .process__heading br { display: none; }
}

/* Tablet: karty 2 sloupce */
@media (max-width: 860px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .config-grid { grid-template-columns: 1fr; }
    .config-box__content { max-width: 78%; }
    .trust__list { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
    .process__steps { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
    .step:nth-child(4)::before { display: none; }
    .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__badges { grid-template-columns: repeat(3, 1fr); }
    .footer-cta__row { flex-direction: column; align-items: flex-start; }
    .footer-cta__actions { width: 100%; }
}

/* Mobil: vse do jednoho sloupce */
@media (max-width: 560px) {
    :root { --header-h: 66px; }
    .logo img { height: 32px; }
    .hero__title { font-size: clamp(1.9rem, 9vw, 2.4rem); }
    .hero__benefits { gap: 16px; }
    .hero__benefits li { font-size: .82rem; }
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { flex: 0 0 auto; width: 100%; white-space: normal; }
    .hero__media img { height: 300px; }

    /* Statistiky do 2 sloupcu */
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat + .stat::before { display: none; }
    .stat { border-radius: 10px; background: rgba(255, 255, 255, .06); }

    .cards-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
    .trust__list { grid-template-columns: repeat(2, 1fr); }
    .process__steps { grid-template-columns: repeat(2, 1fr); }
    .step::before { display: none !important; }
    .config-box__content { max-width: 100%; }
    .config-box::before { background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .8) 60%, rgba(255, 255, 255, .55) 100%); }

    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__badges { grid-template-columns: 1fr; }
    .footer-cta__actions { flex-direction: column; align-items: stretch; }
    .footer-cta__phone,
    .footer-cta__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- 12. KONTAKTY (stranka kontakt.php) ---------- */

/* Heading stranky */
/* Page head: kompaktni - drobeckova navigace tvori vlastni utlumeny pruh,
   pod ni mensi titulek a lead. Setri 60-100 px svisleho mista oproti puvodu. */
.page-head {
    padding: 0 0 clamp(18px, 2.4vw, 30px);
    text-align: center;
}
.page-head__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-top: clamp(14px, 2vw, 22px); }
.page-head__lead {
    color: var(--muted);
    font-size: clamp(.95rem, 1.2vw, 1.05rem);
    max-width: 720px; margin: 10px auto 0;
    line-height: 1.55;
}

/* Kontaktni osoby - cele fotky vedle sebe */
.people { padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 5vw, 70px); }
.people__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: stretch;
}
.person {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.person__photo {
    width: 100%;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray-100) 100%);
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.person__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.person__body { padding: clamp(20px, 2.4vw, 32px); text-align: center; }
.person__role { color: var(--muted); font-size: .92rem; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.person__name { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 0 0 18px; color: var(--navy); }
.person__contacts { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.person__contacts li { display: inline-flex; align-items: center; gap: 10px; font-size: 1.02rem; font-weight: 600; color: var(--navy); }
.person__contacts a { color: var(--navy); }
.person__contacts a:hover { color: var(--orange); }
.person__icon {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--orange); color: #fff;
    display: grid; place-items: center;
    font-weight: 700; font-size: 1rem;
}
.person__icon svg { width: 18px; height: 18px; }

/* Firemni udaje + prodejna */
.contact-info { padding: clamp(30px, 4vw, 60px) 0; background: var(--gray-50); }
.contact-info__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 36px);
}
.info-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: var(--shadow-sm);
}
.info-card__title {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--orange);
    display: inline-block;
}
.info-card__company { margin: 0 0 8px; font-size: 1.1rem; color: var(--navy); }
.info-card__address { font-style: normal; color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.info-card__meta { display: grid; gap: 6px; margin: 0 0 18px; padding: 14px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.info-card__meta > div { display: flex; gap: 12px; }
.info-card__meta dt { font-weight: 700; color: var(--navy); min-width: 100px; }
.info-card__meta dd { margin: 0; color: var(--text); }
.info-card__note { font-size: .88rem; color: var(--muted); line-height: 1.55; margin: 0; }
.info-card__sub { font-size: 1.05rem; margin: 22px 0 12px; color: var(--navy); }

/* Otevirací doba */
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { padding: 9px 6px; text-align: left; border-bottom: 1px solid var(--gray-100); }
.hours th { font-weight: 600; color: var(--navy); }
.hours td { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours__closed th, .hours__closed td { color: var(--muted); }

/* Mapa */
.map-section { padding: clamp(40px, 5vw, 70px) 0; }
.map-section__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); text-align: center; }
.map-section__lead { text-align: center; color: var(--muted); margin: 10px 0 24px; }
.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    line-height: 0;
}
.map-embed iframe { display: block; width: 100%; height: 450px; border: 0; }
.map-section__link { text-align: center; margin-top: 22px; }

/* Responzivita - kontakt */
@media (max-width: 860px) {
    .people__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .contact-info__grid { grid-template-columns: 1fr; }
    .map-embed iframe { height: 360px; }
}

@media (max-width: 560px) {
    .info-card__meta dt { min-width: 80px; }
    .map-embed iframe { height: 300px; }
}

/* ---------- 13. PODKATEGORIE + PRODUKTY ---------- */

/* Drobeckova navigace */
/* Drobeckova navigace - vlastni utlumeny pruh sirky kontejneru, nezabira nadbytecne misto.
   `box-shadow + clip-path` triky se vyhybame - jen padding + jemne podbarveni a oddelovaci linka. */
.breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    font-size: .78rem; color: var(--muted);
    padding: 8px 0; margin: 0 0 4px;
    border-bottom: 1px solid var(--gray-100);
    text-align: left; justify-content: flex-start;
}
.breadcrumb a { color: var(--muted); transition: color .15s ease; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span[aria-hidden] { color: var(--gray-300); margin: 0 2px; }
.breadcrumb > :last-child { color: var(--navy); font-weight: 600; }

/* Rozcestnik podkategorii (5 velkych karet) */
.subcats { padding: clamp(20px, 3vw, 36px) 0 clamp(50px, 6vw, 80px); }
.subcats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.subcats__grid > .subcat:nth-child(1),
.subcats__grid > .subcat:nth-child(2) { grid-column: span 1; }

/* Modifier pro 2-sloupcový grid – karty roztaženy přes celou šířku containeru */
.subcats__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.subcats__grid--cols-2 > .subcat:nth-child(1),
.subcats__grid--cols-2 > .subcat:nth-child(2) { grid-column: span 1; }
.subcat {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm); overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    color: inherit;
}
.subcat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-200); }
.subcat__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); }
.subcat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.subcat:hover .subcat__media img { transform: scale(1.04); }
.subcat__icon {
    position: absolute; left: 16px; top: 16px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--orange); color: #fff;
    display: grid; place-items: center; box-shadow: var(--shadow);
}
.subcat__icon svg { width: 22px; height: 22px; }
.subcat__badge {
    position: absolute; top: 16px; right: 16px;
    background: #fff; color: var(--navy);
    padding: 5px 12px; border-radius: 999px;
    font-size: .78rem; font-weight: 800; letter-spacing: .02em;
    box-shadow: var(--shadow);
}
.subcat__body { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.subcat__features { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 0; }
.subcat__features li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.subcat__features .icon { color: var(--orange); width: 1em; height: 1em; }
.subcat__title { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.subcat__lead { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.subcat__link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--orange); font-weight: 700; font-size: .95rem;
    margin-top: 8px;
}
.subcat__link .icon { transition: transform .2s ease; }
.subcat:hover .subcat__link .icon { transform: translateX(4px); }

/* Vypis produktu */
.products { padding: clamp(20px, 3vw, 36px) 0 clamp(50px, 6vw, 80px); }
.products__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.product {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media img.is-zoomable { cursor: zoom-in; }
.product__tag {
    position: absolute; top: 14px; right: 14px;
    background: var(--orange); color: #fff;
    padding: 5px 12px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; letter-spacing: .02em;
    box-shadow: var(--shadow-sm);
}

/* Prémiová značka (KRISPOL) – odznak vlevo nahoře */
.product__brand {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px 5px 9px; border-radius: 999px;
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .06em;
    box-shadow: 0 4px 14px rgba(20, 30, 50, .28);
    border: 1px solid rgba(212, 175, 90, .55);
}
.product__brand .icon { width: 1.05em; height: 1.05em; color: #e3bd6b; }

/* Prémiová karta – jemný zlatý rámeček a výraznější stín */
.product--featured {
    border-color: rgba(212, 175, 90, .55);
    box-shadow: 0 12px 30px rgba(20, 30, 50, .12);
}
.product--featured::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    border-radius: var(--radius-lg);
    border: 1.5px solid transparent;
    background: linear-gradient(135deg, #e3bd6b, #b8893d) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.product--featured { position: relative; }
.product--featured:hover { box-shadow: 0 18px 40px rgba(20, 30, 50, .18); }
.product__body { padding: clamp(18px, 2vw, 24px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product__name { font-size: 1.2rem; color: var(--navy); }
.product__desc { color: var(--text); font-size: .94rem; margin: 0; line-height: 1.55; }
.product__features { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 0; }
.product__features li { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.product__features .icon { color: var(--orange); width: 1em; height: 1em; }
.product__cta { align-self: flex-start; margin-top: auto; }

.products__back { margin-top: clamp(30px, 4vw, 50px); text-align: center; }

/* Technické informace (specifikace podkategorie) */
.specs { padding: 0 0 clamp(50px, 6vw, 80px); }
.specs__title { font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--navy); margin: 0 0 14px; }
.specs__note {
    max-width: 880px; color: var(--text); line-height: 1.65;
    margin: 0 0 clamp(24px, 3vw, 36px);
}
.specs__grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(18px, 2.2vw, 28px);
}
.spec-card {
    background: var(--gray-50); border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg); padding: clamp(18px, 2vw, 24px);
}
.spec-card__title {
    font-size: 1.05rem; color: var(--navy); margin: 0 0 12px;
    padding-bottom: 10px; border-bottom: 2px solid var(--orange);
    display: inline-block;
}
.spec-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.spec-card__list li {
    position: relative; padding-left: 18px;
    font-size: .9rem; color: var(--text); line-height: 1.5;
}
.spec-card__list li::before {
    content: ""; position: absolute; left: 0; top: .55em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
}

@media (max-width: 640px) {
    .specs__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* Vzorník dekorů / barev */
.swatches { margin-top: clamp(28px, 3.5vw, 44px); }
.swatches__title { font-size: 1.15rem; color: var(--navy); margin: 0 0 8px; }
.swatches__note { color: var(--muted); font-size: .9rem; margin: 0 0 clamp(16px, 2vw, 22px); max-width: 760px; }
.swatches__grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: clamp(12px, 1.6vw, 18px);
}
.swatch { display: flex; flex-direction: column; gap: 7px; }
.swatch__img {
    width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: var(--radius-sm); border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.swatch__name { font-size: .82rem; color: var(--text); line-height: 1.3; }

@media (max-width: 640px) {
    .swatches__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Responzivita - podkategorie + produkty */
@media (max-width: 960px) {
    .subcats__grid { grid-template-columns: repeat(2, 1fr); }
    /* 2-sloupcový grid zůstává 2 sloupce ještě na tabletu, ne se nezúží */
    .subcats__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .subcats__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .subcats__grid--cols-2 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .products__grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
}

/* ---------- 14. CHYTRÁ DOMÁCNOST SOMFY ---------- */

.somfy-intro { padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 5vw, 70px); }
.somfy-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}
.somfy-intro__text h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    margin-bottom: 14px;
}
.somfy-intro__text p { color: var(--text); margin: 0 0 14px; line-height: 1.65; }
.somfy-intro__text .btn { margin-top: 10px; }
.somfy-intro__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    background: var(--gray-100);
}
.somfy-intro__media img { width: 100%; height: 100%; object-fit: cover; }

/* Bloky sekci s nadpisem */
.somfy-block { padding: clamp(40px, 5vw, 70px) 0; }
.somfy-block--light { background: var(--gray-50); }
.somfy-block__head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 3.5vw, 44px); }
.somfy-block__head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.somfy-block__head p { color: var(--muted); margin: 0; }

/* Mřížka funkcí s ikonami */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.4vw, 32px);
}
.feature {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 2.4vw, 30px);
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gray-200); }
.feature__icon {
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--gray-50);
    color: var(--navy);
    margin-bottom: 16px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature__title { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.feature__text { color: var(--muted); margin: 0; font-size: .94rem; line-height: 1.55; }

/* Varianta s oranžovou ikonou pro odlišení druhé sekce */
.features-grid--accent .feature__icon { background: rgba(243, 122, 29, .12); color: var(--orange); }

/* Responzivita - chytra domacnost */
@media (max-width: 960px) {
    .somfy-intro__grid { grid-template-columns: 1fr; }
    .somfy-intro__media { order: -1; aspect-ratio: 16 / 10; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .features-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* ---------- 15. POPTÁVKOVÝ FORMULÁŘ ---------- */

.form-section { padding: clamp(20px, 3vw, 40px) 0 clamp(50px, 6vw, 80px); }
.form-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: clamp(28px, 3vw, 48px);
    align-items: start;
}

/* Formulář */
.form {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 3vw, 40px);
    box-shadow: var(--shadow);
}
.form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 1.8vw, 22px);
}
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form__label { font-weight: 700; color: var(--navy); font-size: .95rem; }
.form__label small { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 4px; }
.form__req { color: var(--orange); }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
    font: inherit; font-size: 1rem; color: var(--text);
    background: var(--gray-50);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 13px 16px;
    width: 100%;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.form input:focus,
.form textarea:focus {
    border-color: var(--orange);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(243, 122, 29, .12);
}
.form textarea { resize: vertical; min-height: 140px; line-height: 1.5; }

/* Honeypot – skrytá pole pro chytání botů */
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Antispam – matematická otázka (užší vstup) */
.form__field--captcha {
    background: var(--gray-50);
    border: 1px dashed var(--gray-200);
    border-radius: var(--radius);
    padding: 14px 18px;
}
.form__field--captcha .form__label { font-weight: 600; }
.form__field--captcha .form__label strong { color: var(--orange); font-weight: 800; }
.form__field--captcha input { max-width: 160px; }

/* Soubory */
.form__file {
    display: flex; flex-direction: column; gap: 8px;
    background: var(--gray-50);
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.form__file:hover { border-color: var(--orange); background: #fff8f1; }
.form__file input[type="file"] {
    font: inherit; color: var(--text); cursor: pointer;
    background: transparent; border: 0; padding: 0; max-width: 100%;
}
.form__file-cta {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; color: var(--navy);
}
.form__file-cta .icon { color: var(--orange); }
.form__file-hint { font-size: .88rem; color: var(--muted); }

/* Akce a poznámka */
.form__actions {
    display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
    margin-top: clamp(20px, 2.4vw, 28px);
}
.form__note { color: var(--muted); font-size: .88rem; margin: 0; }

/* Bočný panel s telefony */
.form-aside {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: clamp(22px, 2.4vw, 30px);
    box-shadow: var(--shadow);
}
.form-aside h3 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.form-aside__phones { display: flex; flex-direction: column; gap: 14px; }
.form-aside__phones li { display: flex; flex-direction: column; gap: 4px; }
.form-aside__label { font-size: .78rem; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.form-aside__phones a {
    display: inline-flex; align-items: center; gap: 8px;
    color: #fff; font-weight: 800; font-size: 1.1rem;
}
.form-aside__phones a:hover { color: var(--orange); }
.form-aside__phones .icon { color: var(--orange); }
.form-aside__hours { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .75); font-size: .9rem; }

/* Zprávy nad formulářem (úspěch / chyby) */
.form-msg {
    background: #fff; border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 36px);
    box-shadow: var(--shadow); border: 1px solid var(--gray-100);
    margin-bottom: 22px;
}
.form-msg--ok {
    display: flex; gap: 18px; align-items: flex-start;
    border-left: 5px solid var(--green);
}
.form-msg--ok h2 { color: var(--navy); font-size: 1.4rem; margin-bottom: 10px; }
.form-msg--ok p { color: var(--text); margin: 0 0 18px; }
.form-msg--ok .form-msg__icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(47, 158, 92, .12); color: var(--green);
    display: grid; place-items: center; flex: 0 0 auto;
}
.form-msg--ok .form-msg__icon svg { width: 26px; height: 26px; }

.form-msg--err {
    border-left: 5px solid #d94545;
    color: var(--text);
}
.form-msg--err strong { color: #b91c1c; display: block; margin-bottom: 8px; }
.form-msg--err ul { padding-left: 22px; list-style: disc; }
.form-msg--err li { margin: 4px 0; }

/* Responzivita formuláře */
@media (max-width: 960px) {
    .form-wrap { grid-template-columns: 1fr; }
    .form-aside { order: -1; }
}
@media (max-width: 560px) {
    .form__grid { grid-template-columns: 1fr; }
}

/* ---------- 16. PROČ SI VYBRAT PRÁVĚ NÁS (proc-nas.php) ---------- */

/* Hero/head varianta pro tuto stranku */
.page-head--hero { padding-bottom: clamp(20px, 2.5vw, 32px); }

/* Mini statisticky pruh nad pribehy */
.reasons-stats { padding: 0 0 clamp(40px, 5vw, 70px); }
.reasons-stats__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(12px, 1.6vw, 22px);
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: clamp(20px, 2.4vw, 32px);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.rstat { text-align: center; padding-inline: clamp(6px, 1vw, 12px); position: relative; }
.rstat + .rstat::before {
    content: ""; position: absolute; left: 0; top: 20%; bottom: 20%;
    width: 1px; background: rgba(255, 255, 255, .15);
}
.rstat__num {
    display: block; font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.01em;
}
.rstat:nth-child(3) .rstat__num,
.rstat:nth-child(5) .rstat__num { color: var(--orange); }
.rstat__label { display: block; font-size: .82rem; color: rgba(255, 255, 255, .72); margin-top: 4px; }

/* Jednotlivá sekce – velký obrázek + bohatý text */
.reason { padding: clamp(40px, 5vw, 80px) 0; }
.reason:nth-child(even) { background: var(--gray-50); } /* mírný střídavý podklad */
.reason__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}
.reason--left  .reason__visual { order: 1; }
.reason--left  .reason__body   { order: 2; }
.reason--right .reason__visual { order: 2; }
.reason--right .reason__body   { order: 1; }

/* Vizuál – jeden nebo dvě fotky vedle sebe + velké číslo */
.reason__visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.reason__visual > img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}
.reason__split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    background: #fff;
}
.reason__split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

/* Velké pořadové číslo – „01"–„05" */
.reason__index {
    position: absolute; top: 18px; left: 22px;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    background: var(--orange);
    padding: 6px 18px;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(243, 122, 29, .35);
    letter-spacing: -.02em;
    line-height: 1;
}

/* Text */
.reason__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 16px; padding: 6px 14px;
    background: rgba(243, 122, 29, .12);
    border-radius: 999px;
    color: var(--orange); font-weight: 700; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .04em;
}
.reason__eyebrow svg { width: 1.05em; height: 1.05em; }
.reason__title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.reason__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--navy); font-weight: 600; margin: 0 0 18px; }
.reason__text { color: var(--text); margin: 0 0 12px; line-height: 1.7; }
.reason__text strong { color: var(--navy); }

.reason__bullets { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.reason__bullets li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--navy); }
.reason__bullets .icon { color: var(--orange); width: 1.15em; height: 1.15em; margin-top: 3px; flex: 0 0 auto; }
.reason__bullets strong { color: var(--navy); font-weight: 800; }

/* Závěrečné CTA */
.reasons-cta { padding: clamp(40px, 5vw, 80px) 0 clamp(60px, 7vw, 100px); }
.reasons-cta__box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: clamp(32px, 4vw, 56px);
    display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 3vw, 40px);
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.reasons-cta__box::before {
    content: ""; position: absolute; right: -80px; top: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(243, 122, 29, .28) 0%, transparent 70%);
    pointer-events: none;
}
.reasons-cta__text h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.reasons-cta__text p  { color: rgba(255, 255, 255, .78); margin: 0; line-height: 1.65; }
.reasons-cta__actions { display: flex; flex-direction: column; gap: 12px; }
.reasons-cta__actions .btn { width: 100%; }
.reasons-cta__actions .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.reasons-cta__actions .btn--outline:hover { background: #fff; color: var(--navy); }

/* Trust box jako celý odkaz – hover přidává jemný lift a zvýrazňuje šipku */
.trust__box--link {
    display: grid;
    color: inherit;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}
.trust__box--link:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(13, 22, 38, .35); }
.trust__box--link:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

/* „Celý příběh →" odkaz pod nadpisem – teď je to jen span, ale chová se jako vizuální CTA */
.trust__intro-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 18px;
    color: var(--orange); font-weight: 700; font-size: .95rem;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color .2s ease, gap .2s ease;
}
.trust__box--link:hover .trust__intro-link { border-bottom-color: var(--orange); gap: 12px; }
.trust__intro-link .icon { transition: transform .2s ease; }
.trust__box--link:hover .trust__intro-link .icon { transform: translateX(4px); }

/* Responzivita */
@media (max-width: 960px) {
    .reasons-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
    .rstat + .rstat::before { display: none; }
    .reason__grid { grid-template-columns: 1fr; }
    .reason--left .reason__visual,
    .reason--right .reason__visual { order: 1; }
    .reason--left .reason__body,
    .reason--right .reason__body   { order: 2; }
    .reasons-cta__box { grid-template-columns: 1fr; text-align: center; }
    .reasons-cta__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .reasons-cta__actions .btn { width: auto; flex: 1 1 220px; }
}
@media (max-width: 560px) {
    .reasons-stats__grid { grid-template-columns: 1fr 1fr; }
    .reason__visual > img { aspect-ratio: 1 / 1; }
    .reason__index { font-size: 2rem; padding: 4px 14px; top: 12px; left: 14px; }
    .reasons-cta__actions { flex-direction: column; }
    .reasons-cta__actions .btn { width: 100%; flex: 1; }
}

/* ---------- 17. POPTÁVKOVÝ KOŠÍK ---------- */

/* "+" tlačítko v rohu produktové karty */
.product__media { position: relative; }
.product__add {
    position: absolute; right: 12px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px 8px 10px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(13, 22, 38, .08);
    border-radius: 999px;
    color: var(--navy); font-weight: 700; font-size: .85rem;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(13, 22, 38, .15);
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.product__add:hover { background: var(--orange); color: #fff; border-color: var(--orange); transform: translateY(-2px); }
.product__add-icon {
    display: grid; place-items: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--orange); color: #fff;
    font-weight: 900; font-size: 1rem; line-height: 1;
}
.product__add:hover .product__add-icon { background: #fff; color: var(--orange); }

/* Stav: produkt je už v poptávce */
.product.is-in-inquiry .product__add { background: var(--green); color: #fff; border-color: var(--green); }
.product.is-in-inquiry .product__add-icon { background: #fff; color: var(--green); }
.product.is-in-inquiry .product__add:hover { background: #2a8a50; }

/* Plovoucí FAB widget vpravo dole */
.inquiry-fab {
    position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px);
    z-index: 90;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 20px 12px 14px;
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(13, 22, 38, .35), 0 0 0 4px rgba(243, 122, 29, .15);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    animation: inquiry-fab-in .35s cubic-bezier(.4, 0, .2, 1);
}
.inquiry-fab:hover {
    background: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(243, 122, 29, .45), 0 0 0 4px rgba(243, 122, 29, .25);
}
.inquiry-fab__icon {
    position: relative;
    display: grid; place-items: center;
    width: 42px; height: 42px;
    background: var(--orange);
    border-radius: 50%;
    color: #fff;
}
.inquiry-fab:hover .inquiry-fab__icon { background: #fff; color: var(--orange); }
.inquiry-fab__badge {
    position: absolute; top: -4px; right: -6px;
    min-width: 22px; height: 22px; padding: 0 6px;
    background: #fff; color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: 999px;
    font-size: .78rem; font-weight: 800;
    display: grid; place-items: center;
}
.inquiry-fab:hover .inquiry-fab__badge { border-color: var(--orange); color: var(--orange); }
.inquiry-fab__text { display: flex; flex-direction: column; line-height: 1.1; }
.inquiry-fab__text strong { font-size: .98rem; }
.inquiry-fab__text small { font-size: .76rem; opacity: .8; margin-top: 2px; }

@keyframes inquiry-fab-in {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.inquiry-fab--flash { animation: inquiry-fab-flash .6s ease; }
@keyframes inquiry-fab-flash {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.12); box-shadow: 0 22px 50px rgba(243, 122, 29, .55), 0 0 0 8px rgba(243, 122, 29, .25); }
    100% { transform: scale(1); }
}

/* Mobil: FAB jen ikona se značkou (nezabírá horizontální místo) */
@media (max-width: 560px) {
    .inquiry-fab { padding: 10px 14px; }
    .inquiry-fab__text { display: none; }
}

/* Seznam vybraných produktů na poptávkové stránce */
.selected-block {
    margin: 0 0 clamp(24px, 3vw, 36px);
    padding: clamp(20px, 2.4vw, 28px);
    background: rgba(243, 122, 29, .06);
    border: 1px dashed rgba(243, 122, 29, .35);
    border-radius: var(--radius-lg);
}
.selected-block__title {
    font-size: 1.1rem; color: var(--navy);
    margin: 0 0 12px;
}
.selected-empty { color: var(--muted); margin: 0; font-size: .95rem; }
.selected-empty a { color: var(--orange); font-weight: 700; }

.selected-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}
.selected-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
}
.selected-item img {
    width: 56px; height: 56px; border-radius: 10px;
    object-fit: cover; background: var(--gray-100);
}
.selected-item__name {
    color: var(--navy); font-weight: 700; font-size: .92rem;
    line-height: 1.3; text-decoration: none;
}
.selected-item__name:hover { color: var(--orange); }
.selected-item__remove {
    width: 30px; height: 30px;
    background: transparent; border: 0; border-radius: 50%;
    color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.selected-item__remove:hover { background: rgba(217, 69, 69, .12); color: #b91c1c; }
.selected-clear {
    margin-top: 12px;
    background: transparent; border: 0;
    color: var(--muted); font-size: .85rem; cursor: pointer;
    text-decoration: underline;
}
.selected-clear:hover { color: #b91c1c; }

/* ---------- 18. COOKIE CONSENT BANNER ---------- */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: var(--navy);
    color: #fff;
    box-shadow: 0 -18px 50px rgba(13, 22, 38, .25);
    transform: translateY(100%);
    transition: transform .3s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: clamp(16px, 2vw, 22px) var(--gutter);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(16px, 2vw, 28px);
    align-items: center;
}
.cookie-banner__text strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.cookie-banner__text p {
    margin: 0; color: rgba(255, 255, 255, .8);
    font-size: .88rem; line-height: 1.5;
    max-width: 70ch;
}
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-banner .btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}
.cookie-banner .btn--outline:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

/* Mobil: pod sebou */
@media (max-width: 720px) {
    .cookie-banner__inner { grid-template-columns: 1fr; }
    .cookie-banner__actions { justify-content: stretch; }
    .cookie-banner__actions .btn { flex: 1; min-width: 0; }
}

/* ---------- 19. ADMIN DASHBOARD ---------- */
.admin-body { background: var(--gray-50); min-height: 100vh; }

/* Login */
.admin-login {
    min-height: 100vh; display: grid; place-items: center;
    padding: clamp(20px, 4vw, 40px);
}
.admin-login__form {
    background: #fff; padding: clamp(30px, 4vw, 48px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 420px; width: 100%;
    display: flex; flex-direction: column; gap: 16px;
}
.admin-login__logo { height: 38px; width: auto; align-self: flex-start; margin-bottom: 8px; }
.admin-login h1 { font-size: 1.4rem; margin: 0; }
.admin-login p { color: var(--muted); font-size: .92rem; margin: 0; }
.admin-login__hint { color: var(--muted); font-size: .82rem; margin-top: 8px; }
.admin-login__hint code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; }
.admin-login__form .btn { margin-top: 8px; }

/* Hlavička dashboardu */
.admin-header { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.admin-header__row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px clamp(16px, 3vw, 32px);
    max-width: 1400px; margin: 0 auto;
}
.admin-header__brand { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; }
.admin-header__brand img { background: #fff; padding: 6px 10px; border-radius: 8px; }
.admin-header__user { display: flex; align-items: center; gap: 18px; font-size: .92rem; }
.admin-header__user span { color: rgba(255, 255, 255, .7); }
.admin-header__link { color: #fff; text-decoration: none; opacity: .85; }
.admin-header__link:hover { opacity: 1; color: var(--orange); }

/* Filtr tabs */
.admin-tabs {
    display: flex; gap: 4px; padding: 0 clamp(16px, 3vw, 32px) 14px;
    max-width: 1400px; margin: 0 auto;
    overflow-x: auto;
}
.admin-tabs__tab {
    padding: 9px 18px; border-radius: 999px;
    color: rgba(255, 255, 255, .78); text-decoration: none;
    font-size: .9rem; font-weight: 600;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.admin-tabs__tab:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.admin-tabs__tab.is-active { background: var(--orange); color: #fff; }

/* Hlavní obsah */
.admin-main {
    max-width: 1400px; margin: 0 auto;
    padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 32px);
    display: flex; flex-direction: column; gap: clamp(18px, 2vw, 28px);
}

/* KPI cards */
.admin-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.6vw, 22px);
}
.kpi {
    background: #fff; padding: clamp(18px, 2vw, 24px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 4px;
}
.kpi--accent { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); color: #fff; }
.kpi__label { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.kpi--accent .kpi__label { color: rgba(255, 255, 255, .85); }
.kpi__num { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); line-height: 1.1; }
.kpi--accent .kpi__num { color: #fff; }
.kpi__hint { font-size: .78rem; color: var(--muted); }

/* Karty s grafy + tabulkami */
.admin-card {
    background: #fff; padding: clamp(20px, 2.4vw, 28px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.admin-card h2 { font-size: 1.1rem; margin: 0 0 14px; }
.admin-card__lead { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 28px); }

/* Tabulka */
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--gray-100); }
.admin-table th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.admin-table td:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.admin-table th:nth-child(n+2) { text-align: right; }
.admin-table code { background: var(--gray-50); padding: 2px 8px; border-radius: 6px; font-size: .85rem; }
.admin-empty { text-align: center !important; color: var(--muted); padding: 24px 8px; }

/* Konverzní bar */
.bar { width: 100%; height: 6px; background: var(--gray-100); border-radius: 999px; margin-top: 4px; }
.bar__fill { height: 100%; background: linear-gradient(90deg, var(--orange) 0%, var(--green) 100%); border-radius: 999px; }

/* LIVE panel – tmavý box s pulzujícím kruhem a hodinovým grafem */
.admin-live {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(20px, 2.4vw, 28px);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "pulse text chart" "meta meta chart";
    gap: 16px clamp(20px, 3vw, 32px);
    align-items: center;
    position: relative;
    overflow: hidden;
}
.admin-live__pulse { grid-area: pulse; width: 14px; height: 14px; border-radius: 50%; background: #2f9e5c; box-shadow: 0 0 0 0 rgba(47, 158, 92, .8); animation: pulse 2s infinite; }
.admin-live__text { grid-area: text; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.admin-live__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .65); font-weight: 700; }
.admin-live__num   { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; line-height: 1; color: var(--orange); }
.admin-live__hint  { font-size: .82rem; color: rgba(255, 255, 255, .6); }
.admin-live__chart { grid-area: chart; width: clamp(220px, 30vw, 360px); max-width: 100%; }
.admin-live__meta  { grid-area: meta; color: rgba(255, 255, 255, .45); font-size: .75rem; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(47, 158, 92, .8); }
    50%      { box-shadow: 0 0 0 10px rgba(47, 158, 92, 0); }
}

/* 3-sloupcová verze admin-grid (zařízení / OS / prohlížeč) */
.admin-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* LIVE feed: čitelnější mono pro „před X s" sloupec */
.admin-table--live td:first-child { font-variant-numeric: tabular-nums; color: var(--muted); }
.admin-table--live td:first-child { text-align: left; }

/* Responzivita admin */
@media (max-width: 1080px) {
    .admin-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .admin-kpis { grid-template-columns: repeat(2, 1fr); }
    .admin-grid { grid-template-columns: 1fr; }
    .admin-grid--3 { grid-template-columns: 1fr; }
    .admin-live {
        grid-template-columns: auto 1fr;
        grid-template-areas: "pulse text" "chart chart" "meta meta";
    }
    .admin-live__chart { width: 100%; }
}

/* Snizeni pohybu pro uzivatele, kteri to preferuji */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   12. Konfigurátor sítí proti hmyzu
   ===================================================================== */

/* Layout: vlevo wizard, vpravo košík (desktop). Na mobilu pod sebou. */
.kf { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.kf__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(20px, 2.5vw, 36px);
    align-items: start;
}
.kf__main { min-width: 0; }

/* Krokový indikátor */
.kf__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(18px, 2.5vw, 28px);
    counter-reset: kfstep;
}
.kf__step {
    flex: 1 1 160px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--muted);
    font-weight: 700;
    font-size: .92rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
}
.kf__step span {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--white); color: var(--muted);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800;
    border: 1px solid var(--gray-200);
}
.kf__step.is-active { background: var(--navy); color: #fff; }
.kf__step.is-active span { background: var(--orange); color: #fff; border-color: var(--orange); }
.kf__step.is-done { background: #e8f3ed; color: var(--green); }
.kf__step.is-done span { background: var(--green); color: #fff; border-color: var(--green); }

/* Panely */
.kf__panel {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: clamp(18px, 3vw, 32px);
    box-shadow: var(--shadow-sm);
}
.kf__panel-title {
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    color: var(--navy);
    margin-bottom: 8px;
}
.kf__panel-lead { color: var(--muted); margin: 0 0 20px; }
.kf__nav { margin-top: 20px; }
.kf__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

/* KROK 1: dlaždice typů */
.kf__types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.kf-type {
    appearance: none;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    text-align: left;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s, border-color .18s, box-shadow .18s;
}
.kf-type:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow); }
.kf-type__media {
    aspect-ratio: 4 / 3;
    background: var(--gray-100);
    overflow: hidden;
}
.kf-type__media img { width: 100%; height: 100%; object-fit: cover; }
.kf-type__body {
    padding: 16px 18px 18px;
    display: flex; flex-direction: column; gap: 6px;
}
.kf-type__title { font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.kf-type__lead  { color: var(--muted); font-size: .9rem; }
.kf-type__cta {
    margin-top: 6px; color: var(--orange); font-weight: 700; font-size: .92rem;
    display: inline-flex; align-items: center; gap: 6px;
}

/* KROK 2: model */
.kf__models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.kf-model {
    appearance: none;
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    text-align: left;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .18s, border-color .18s, box-shadow .18s;
}
.kf-model:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow); }
.kf-model__media { position: relative; aspect-ratio: 4 / 3; background: var(--gray-100); }
.kf-model__media img { width: 100%; height: 100%; object-fit: cover; }
.kf-model__tag {
    position: absolute; top: 10px; left: 10px;
    background: var(--orange); color: #fff;
    font-size: .72rem; font-weight: 700; letter-spacing: .03em;
    padding: 4px 8px; border-radius: 999px;
    text-transform: uppercase;
}
.kf-model__body { padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 4px; }
.kf-model__name { font-weight: 800; color: var(--navy); font-size: 1rem; }
.kf-model__desc {
    color: var(--muted); font-size: .85rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}
.kf-model__cta {
    padding: 10px 16px 14px;
    color: var(--orange); font-weight: 700; font-size: .9rem;
    margin-top: auto;
}

/* KROK 3: formulář parametrů */
.kf__form { display: flex; flex-direction: column; gap: 18px; }
.kf__group {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 16px 18px 18px;
    background: var(--gray-50);
}
.kf__group legend {
    padding: 0 8px; font-weight: 800; color: var(--navy); font-size: .98rem;
}
.kf__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.kf__field { display: flex; flex-direction: column; gap: 6px; }
.kf__field > span {
    font-weight: 600; color: var(--navy); font-size: .9rem;
    display: flex; gap: 6px; align-items: baseline;
}
.kf__field em { color: var(--muted); font-style: normal; font-weight: 500; font-size: .82rem; }
.kf__field input[type="number"] {
    appearance: none;
    border: 1px solid var(--gray-200);
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    color: var(--text);
    transition: border-color .15s, box-shadow .15s;
}
.kf__field input[type="number"]:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(243, 122, 29, .15);
}
.kf__hint { color: var(--muted); font-size: .85rem; margin: 8px 0 0; }
.kf__hint--small { font-size: .78rem; margin-top: 4px; }

/* Swatches – barvy */
.kf__swatches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
}
.kf-swatch {
    appearance: none;
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    display: flex; align-items: center; gap: 10px;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--text);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.kf-swatch:hover { transform: translateY(-1px); border-color: var(--orange); }
.kf-swatch.is-active {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(243, 122, 29, .15);
}
.kf-swatch__dot {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.18);
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.kf-swatch__name { font-size: .85rem; line-height: 1.2; }

/* Extras (radio bloky) */
.kf__extra + .kf__extra { margin-top: 14px; }
.kf__extra-label { font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.kf__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.kf__choice {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border: 2px solid var(--gray-200);
    background: #fff;
    border-radius: 999px;
    cursor: pointer;
    font-size: .9rem;
    transition: border-color .15s, background .15s;
}
.kf__choice:hover { border-color: var(--orange); }
.kf__choice input { accent-color: var(--orange); }
.kf__choice input:checked + span { color: var(--navy); font-weight: 700; }
.kf__choice:has(input:checked) {
    border-color: var(--orange);
    background: #fff8f1;
}

/* Box s cenou */
.kf__price {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 18px 22px;
}
.kf__price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.kf__price-row strong { font-size: 1.1rem; }
.kf__price-row--total { margin-top: 6px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 8px; }
.kf__price-row--total strong { font-size: 1.6rem; color: var(--orange); }
.kf__price .kf__hint { color: rgba(255,255,255,.7); margin-top: 8px; }
.kf__price--note { display: flex; align-items: center; }
.kf__price--note .kf__hint { margin: 0; font-size: 1rem; line-height: 1.5; color: #fff; }
.kf__cart-note { margin: 0 0 12px; font-size: .9rem; line-height: 1.45; color: var(--text); }

/* ============ KOŠÍK ============ */
.kf__cart {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--header-h) - 32px);
}
.kf__cart--bump { animation: kfBump .35s ease-out; }
@keyframes kfBump {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 16px 40px rgba(243, 122, 29, .25); }
    100% { transform: scale(1); }
}
.kf__cart-head {
    background: var(--navy);
    color: #fff;
    padding: 14px 18px;
    display: flex; align-items: center; justify-content: space-between;
}
.kf__cart-head h3 { color: #fff; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.kf__cart-count {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--orange); color: #fff;
    min-width: 24px; height: 24px; border-radius: 999px;
    padding: 0 8px; font-size: .82rem; font-weight: 800;
}
.kf__cart-toggle {
    appearance: none; background: transparent; border: 0; color: rgba(255,255,255,.85);
    cursor: pointer; font-size: .82rem; padding: 4px 6px;
}
.kf__cart-toggle:hover { color: #fff; }

.kf__cart-body { overflow-y: auto; padding: 12px 16px; }
.kf__cart.is-collapsed .kf__cart-body,
.kf__cart.is-collapsed .kf__cart-foot { display: none; }

.kf__cart-empty { color: var(--muted); margin: 16px 0; text-align: center; font-size: .92rem; }
.kf__cart-list { display: flex; flex-direction: column; gap: 10px; }

.kf-cart-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 12px;
    background: var(--gray-50);
}
.kf-cart-item__head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
}
.kf-cart-item__head strong { color: var(--navy); font-size: .92rem; }
.kf-cart-item__rm {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.kf-cart-item__rm:hover { color: #c0392b; }
.kf-cart-item__model { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.kf-cart-item__meta {
    list-style: none; padding: 0; margin: 8px 0 0;
    display: flex; flex-direction: column; gap: 3px;
    font-size: .8rem; color: var(--text);
}
.kf-cart-item__dot {
    display: inline-block; width: 10px; height: 10px; border-radius: 50%;
    border: 1px solid rgba(0,0,0,.18); vertical-align: middle; margin-right: 2px;
}
.kf-cart-item__foot {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--gray-200);
    font-size: .85rem;
}
.kf-cart-item__foot strong { color: var(--orange); font-size: 1rem; }

.kf__cart-foot { border-top: 1px solid var(--gray-200); padding: 14px 18px; background: var(--gray-50); }
.kf__cart-total {
    display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px;
}
.kf__cart-total strong { color: var(--orange); font-size: 1.4rem; }
.kf__cart-checkout { width: 100%; justify-content: center; }
.kf__cart-checkout[disabled] { opacity: .55; cursor: not-allowed; }

/* Responzivita konfigurátoru */
@media (max-width: 980px) {
    .kf__layout { grid-template-columns: 1fr; }
    .kf__cart {
        position: relative;
        top: 0;
        max-height: none;
        order: 2;
    }
}
@media (max-width: 560px) {
    .kf__step { flex: 1 1 100%; }
    .kf__price-row--total strong { font-size: 1.3rem; }
}

/* Banner s odkazem na konfigurátor (na site-proti-hmyzu.php) */
.kf-banner { padding: 8px 0 0; }
.kf-banner__box {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    color: #fff;
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 32px);
    box-shadow: var(--shadow);
}
.kf-banner__text h2 { color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-bottom: 6px; }
.kf-banner__text p  { color: rgba(255,255,255,.85); margin: 0; max-width: 60ch; }
.kf-banner__box .btn { white-space: nowrap; }
@media (max-width: 720px) {
    .kf-banner__box { flex-direction: column; align-items: stretch; text-align: left; }
    .kf-banner__box .btn { width: 100%; justify-content: center; }
}

/* =====================================================================
   MODUL REFERENCE – pomocné utility, admin správa i veřejná stránka
   ===================================================================== */

/* ---- doplňkové utility a tlačítka ---- */
.is-hidden { display: none !important; }
.is-inline { display: inline; }
.btn--sm { --btn-py: 7px; --btn-px: 14px; font-size: .86rem; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--gray-200); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--danger { background: #fdecec; color: #b91c1c; border-color: #f6c9c9; }
.btn--danger:hover { background: #b91c1c; color: #fff; border-color: #b91c1c; }
.form__hint { display: block; margin-top: 4px; font-size: .8rem; color: var(--muted); }
.form-msg--warn { background: #fff7e6; border: 1px solid #f5d58a; color: #8a5a00; }

/* ---- přepínač modulů v adminu ---- */
.admin-modnav { display: flex; justify-content: center; gap: 4px; padding: 0 var(--gutter); background: var(--navy-deep); }
.admin-modnav__tab {
    padding: 11px 18px; color: rgba(255,255,255,.7); font-weight: 600; font-size: .92rem;
    border-bottom: 3px solid transparent; text-decoration: none;
}
.admin-modnav__tab:hover { color: #fff; }
.admin-modnav__tab.is-active { color: #fff; border-bottom-color: var(--orange); }

/* ---- admin: přehled poptávek a objednávek ---- */
.inq-msg { white-space: normal; max-width: 420px; }
.inq-details > summary { cursor: pointer; color: var(--orange); font-weight: 600; }
.inq-details[open] > summary { margin-bottom: 6px; }
.inq-items { margin: 4px 0 0; padding-left: 18px; }
.inq-items li { margin-bottom: 6px; }
.inq-pre { white-space: pre-wrap; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.inq-flag { display: inline-block; margin-top: 6px; color: var(--muted); }
.admin-card--narrow { max-width: 520px; margin-inline: auto; }

/* ===================== ADMIN – správa referencí ===================== */
.ref-form__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.ref-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 900px) { .ref-form__grid { grid-template-columns: 1fr; } }
.ref-form__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ref-form__actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.ref-form textarea,
.ref-form input[type="text"],
.ref-form input[type="date"] {
    width: 100%; padding: 11px 13px; border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm); font: inherit; background: #fff; color: var(--text);
}
.ref-form textarea:focus,
.ref-form input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,122,29,.15); }

.ref-sections { border: none; padding: 0; margin: 0; }
.ref-sections__grid { display: flex; flex-wrap: wrap; gap: 10px; }
.ref-check {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
    border: 1px solid var(--gray-200); border-radius: 999px; cursor: pointer; background: #fff;
    font-size: .92rem; user-select: none; transition: .15s;
}
.ref-check:hover { border-color: var(--navy); }
.ref-check input { accent-color: var(--orange); width: 16px; height: 16px; }
.ref-check:has(input:checked) { background: #fff3e8; border-color: var(--orange); color: var(--orange-dark); font-weight: 600; }

.ref-geo { display: flex; gap: 8px; margin-bottom: 10px; }
.ref-geo input { flex: 1; }
.ref-map { height: 340px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--gray-200); z-index: 0; }

.ref-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ref-preview__img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); }

.ref-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ref-thumb { position: relative; width: 120px; height: 120px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--gray-200); }
.ref-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ref-thumb__tools {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 6px;
    padding: 6px; background: linear-gradient(to top, rgba(17,29,49,.8), rgba(17,29,49,0));
    opacity: 0; transition: opacity .18s;
}
.ref-thumb:hover .ref-thumb__tools, .ref-thumb:focus-within .ref-thumb__tools { opacity: 1; }
.ref-thumb__btn {
    width: 30px; height: 30px; border: none; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.92); color: var(--navy); font-size: 16px; line-height: 1;
    display: grid; place-items: center; transition: .15s;
}
.ref-thumb__btn:hover { background: var(--orange); color: #fff; }
.ref-thumb__btn--del:hover { background: #b91c1c; color: #fff; }

.admin-table__actions { display: flex; gap: 6px; white-space: nowrap; }
.ref-tag {
    display: inline-block; padding: 2px 9px; margin: 2px 2px 2px 0; font-size: .76rem;
    background: var(--gray-100); border-radius: 999px; color: var(--navy);
}
.ref-badge { display: inline-block; padding: 2px 8px; font-size: .72rem; font-weight: 700; border-radius: 999px; margin-left: 6px; }
.ref-badge--soon { background: #fff3e8; color: var(--orange-dark); }
.ref-badge--draft { background: var(--gray-100); color: var(--muted); }

/* ===================== VEŘEJNÁ STRÁNKA REFERENCE ===================== */
.references { padding: clamp(28px, 5vw, 56px) 0; }

.ref-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.ref-filter__btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; cursor: pointer;
    border: 1px solid var(--gray-200); border-radius: 999px; background: #fff; color: var(--navy);
    font: inherit; font-weight: 600; font-size: .92rem; transition: .15s;
}
.ref-filter__btn:hover { border-color: var(--navy); transform: translateY(-1px); }
.ref-filter__btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.ref-filter__count {
    display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
    font-size: .76rem; border-radius: 999px; background: var(--gray-100); color: var(--navy);
}
.ref-filter__btn.is-active .ref-filter__count { background: var(--orange); color: #fff; }

.ref-public-map {
    height: clamp(360px, 55vh, 560px); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); z-index: 0;
}
.ref-empty { text-align: center; color: var(--muted); padding: 40px 0; }

.ref-popup { min-width: 150px; }
.ref-popup strong { display: block; font-size: .98rem; color: var(--navy); margin-bottom: 3px; }
.ref-popup__place { display: block; font-size: .85rem; color: var(--text); }
.ref-popup__date { display: block; font-size: .82rem; color: var(--muted); margin-top: 3px; }

.references__gallery-title { margin: clamp(30px, 5vw, 48px) 0 18px; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--navy); }
.ref-gallery {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px;
}
.ref-gallery__item {
    position: relative; padding: 0; border: none; cursor: zoom-in; background: var(--gray-100);
    border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
}
.ref-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ref-gallery__item:hover img { transform: scale(1.06); }
.ref-gallery__cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; text-align: left;
    color: #fff; font-size: .86rem; font-weight: 600;
    background: linear-gradient(to top, rgba(17,29,49,.85), rgba(17,29,49,0));
    opacity: 0; transform: translateY(8px); transition: .25s;
}
.ref-gallery__item:hover .ref-gallery__cap { opacity: 1; transform: translateY(0); }

/* ---- Lightbox ---- */
.ref-lightbox {
    position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
    background: rgba(10, 16, 28, .92); padding: 24px;
}
.ref-lightbox[hidden] { display: none; }
.ref-lightbox__figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ref-lightbox__figure img { max-width: 92vw; max-height: 80vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.ref-lightbox__figure figcaption { color: #fff; font-size: .95rem; text-align: center; }
.ref-lightbox__close, .ref-lightbox__nav {
    position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff; cursor: pointer;
    display: grid; place-items: center; border-radius: 50%; transition: .15s;
}
.ref-lightbox__close { top: 20px; right: 22px; width: 46px; height: 46px; font-size: 30px; line-height: 1; }
.ref-lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 34px; line-height: 1; }
.ref-lightbox__nav--prev { left: 18px; }
.ref-lightbox__nav--next { right: 18px; }
.ref-lightbox__close:hover, .ref-lightbox__nav:hover { background: var(--orange); }
@media (max-width: 600px) {
    .ref-lightbox__nav { width: 44px; height: 44px; font-size: 28px; }
    .ref-lightbox__nav--prev { left: 6px; }
    .ref-lightbox__nav--next { right: 6px; }
}

/* =====================================================================
   LEAFLET – základní rozvržení (lokálně, aby mapa fungovala i bez CDN CSS).
   Web má globální `img { max-width:100% }`, které Leaflet musí přebít.
   ===================================================================== */
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer { position: absolute; left: 0; top: 0; }
.leaflet-container { overflow: hidden; }
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow { user-select: none; -webkit-user-drag: none; }
.leaflet-tile { filter: inherit; visibility: hidden; }
.leaflet-tile-loaded { visibility: inherit; }
.leaflet-zoom-animated { transform-origin: 0 0; }

/* Klíčové: zrušit globální omezení velikosti obrázků uvnitř mapy */
.leaflet-container img { max-width: none !important; max-height: none !important; width: auto; height: auto; display: block; }
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile { max-width: none !important; max-height: none !important; }
.leaflet-container .leaflet-overlay-pane svg { max-width: none !important; max-height: none !important; }

/* Pořadí vrstev */
.leaflet-pane         { z-index: 400; }
.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }
.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

/* Ovládací prvky a atribuce */
.leaflet-control { position: relative; z-index: 800; pointer-events: visiblePainted; pointer-events: auto; float: left; clear: both; }
.leaflet-top, .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }
.leaflet-top    { top: 0; }
.leaflet-bottom { bottom: 0; }
.leaflet-left   { left: 0; }
.leaflet-right  { right: 0; }
.leaflet-left .leaflet-control   { margin-left: 10px; }
.leaflet-right .leaflet-control  { float: right; margin-right: 10px; }
.leaflet-top .leaflet-control    { margin-top: 10px; }
.leaflet-bottom .leaflet-control { margin-bottom: 10px; }

.leaflet-bar { box-shadow: 0 1px 5px rgba(0,0,0,.4); border-radius: 4px; }
.leaflet-bar a {
    background: #fff; color: #16233b; display: block; width: 26px; height: 26px; line-height: 26px;
    text-align: center; text-decoration: none; font: bold 18px/26px 'Lucida Console', monospace;
    border-bottom: 1px solid #ccc;
}
.leaflet-bar a:hover { background: #f4f4f4; }
.leaflet-bar a:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; }
.leaflet-bar a:last-child  { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom: none; }
.leaflet-control-attribution {
    background: rgba(255,255,255,.8); margin: 0; padding: 0 5px; font-size: 11px; color: #333;
}
.leaflet-control-attribution a { color: #0078a8; }

/* Popup */
.leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; }
.leaflet-popup-content-wrapper { padding: 1px; text-align: left; border-radius: 12px; background: #fff; box-shadow: 0 3px 14px rgba(0,0,0,.4); }
.leaflet-popup-content { margin: 13px 19px; line-height: 1.4; }
.leaflet-popup-tip-container { width: 40px; height: 20px; position: absolute; left: 50%; margin-left: -20px; overflow: hidden; pointer-events: none; }
.leaflet-popup-tip { width: 17px; height: 17px; padding: 1px; margin: -10px auto 0; background: #fff; box-shadow: 0 3px 14px rgba(0,0,0,.4); transform: rotate(45deg); }
.leaflet-popup-close-button { position: absolute; top: 0; right: 0; padding: 4px 8px; color: #757575; text-decoration: none; font: 16px/24px Tahoma, sans-serif; }
.leaflet-container a.leaflet-popup-close-button:hover { color: #16233b; }

.ref-geo-note { color: var(--orange-dark); font-weight: 600; margin-top: 6px; }

/* ---- Dropzóna pro nahrávání fotek (admin Reference) ---- */
.ref-dropzone {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; text-align: center; padding: 30px 20px; cursor: pointer;
    border: 2px dashed var(--gray-300); border-radius: var(--radius);
    background: var(--gray-50); color: var(--navy); transition: .18s;
}
.ref-dropzone:hover { border-color: var(--orange); background: #fff7f0; }
.ref-dropzone.is-dragover { border-color: var(--orange); background: #fff1e3; box-shadow: 0 0 0 4px rgba(243,122,29,.15); }
.ref-dropzone__input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.ref-dropzone__icon { width: 42px; height: 42px; color: var(--orange); }
.ref-dropzone.is-dragover .ref-dropzone__icon { transform: translateY(-2px); }
.ref-dropzone__title { font-weight: 700; font-size: 1.02rem; }
.ref-dropzone__hint { font-size: .85rem; color: var(--muted); }
.ref-dropzone__count {
    margin-top: 6px; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700;
    background: var(--orange); color: #fff;
}

/* =====================================================================
   REF-PROMO – box s referencemi na úvodní stránce
   ===================================================================== */
.ref-promo {
    background:
        radial-gradient(1200px 400px at 80% -10%, rgba(243,122,29,.18), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff;
    padding: clamp(48px, 7vw, 92px) 0;
    overflow: hidden;
}
.ref-promo__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(28px, 5vw, 60px);
    align-items: center;
}
@media (max-width: 880px) {
    .ref-promo__inner { grid-template-columns: 1fr; }
}

.ref-promo__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: var(--orange); margin-bottom: 14px;
}
.ref-promo__eyebrow .icon { width: 1.1em; height: 1.1em; }
.ref-promo__heading {
    font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.12; margin: 0 0 16px; color: #fff;
}
.ref-promo__lead { color: rgba(255,255,255,.78); font-size: 1.04rem; line-height: 1.6; margin: 0 0 24px; max-width: 56ch; }

.ref-promo__stats {
    display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 28px; padding: 0; list-style: none;
}
.ref-promo__stats li { display: flex; flex-direction: column; }
.ref-promo__stats strong { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: #fff; line-height: 1; }
.ref-promo__stats span { font-size: .86rem; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ----- Fotomozaika ----- */
.ref-promo__gallery {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    aspect-ratio: 7 / 5;
}
.ref-promo__tile {
    position: relative; margin: 0; overflow: hidden; border-radius: 16px;
    background: rgba(255,255,255,.06); box-shadow: var(--shadow-lg);
}
.ref-promo__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ref-promo__tile:hover img { transform: scale(1.07); }
.ref-promo__tile figcaption {
    position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 10px; font-size: .76rem; font-weight: 600; color: #fff;
    background: rgba(17,29,49,.66); backdrop-filter: blur(4px); border-radius: 999px;
}
.ref-promo__tile figcaption .icon { width: 1em; height: 1em; color: var(--orange); }
.ref-promo__tile--1 { grid-column: 1 / 4; grid-row: 1 / 3; }
.ref-promo__tile--2 { grid-column: 4 / 7; grid-row: 1 / 2; }
.ref-promo__tile--3 { grid-column: 4 / 5; grid-row: 2 / 3; }
.ref-promo__tile--4 { grid-column: 5 / 6; grid-row: 2 / 3; }
.ref-promo__tile--5 { grid-column: 6 / 7; grid-row: 2 / 3; }

.ref-promo__map-badge {
    position: absolute; top: -14px; right: -10px; z-index: 2;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 16px; font-size: .86rem; font-weight: 700; color: var(--navy);
    background: #fff; border-radius: 999px; box-shadow: var(--shadow-lg);
    transform: rotate(3deg);
}
.ref-promo__map-badge .icon { width: 1.1em; height: 1.1em; color: var(--orange); }

@media (max-width: 880px) {
    .ref-promo__gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        aspect-ratio: 4 / 3;
    }
    .ref-promo__tile--1 { grid-column: 1 / 3; grid-row: 1 / 2; }
    .ref-promo__tile--2 { grid-column: 1 / 2; grid-row: 2 / 3; }
    .ref-promo__tile--3 { grid-column: 2 / 3; grid-row: 2 / 3; }
    .ref-promo__tile--4 { grid-column: 1 / 2; grid-row: 3 / 4; }
    .ref-promo__tile--5 { grid-column: 2 / 3; grid-row: 3 / 4; }
    .ref-promo__map-badge { top: -12px; right: 8px; }
}
