/* ============================================
   HRABEMI SUCHOMEL – hlavní CSS
   Industriální styl: silný, čistý, důvěryhodný
   ============================================ */

/* ---------- PROMĚNNÉ ---------- */
:root {
    --red:       #DC2626;
    --red-dark:  #b91c1c;
    --black:     #111111;
    --dark:      #1a1a1a;
    --dark-2:    #222222;
    --gray-900:  #1f2937;
    --gray-800:  #2d3748;
    --gray-600:  #4b5563;
    --gray-400:  #9ca3af;
    --gray-100:  #f3f4f6;
    --white:     #ffffff;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    --radius:    4px;
    --shadow:    0 4px 20px rgba(0,0,0,.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
    --trans:     .22s ease;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- UTILITY ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.text-accent { color: var(--red); }

/* ---------- TLAČÍTKA ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--trans), color var(--trans), border-color var(--trans), transform var(--trans);
    white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary   { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--outline   { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--white     { background: var(--white); color: var(--red); border-color: var(--white); }
.btn--white:hover { background: var(--gray-100); }
.btn--dark      { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark:hover { background: var(--dark-2); }
.btn--lg        { padding: 1rem 2rem; font-size: 1.05rem; }
.btn--full      { width: 100%; justify-content: center; }

/* ---------- TOP BAR ---------- */
.topbar {
    background: var(--dark);
    color: var(--gray-400);
    font-size: .82rem;
    padding: .5rem 0;
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.topbar__contacts { display: flex; gap: 1.2rem; align-items: center; }
.topbar__contacts a { color: var(--gray-400); transition: color var(--trans); }
.topbar__contacts a:hover { color: var(--red); }
.topbar__contacts i { margin-right: .3rem; color: var(--red); }

/* ---------- HEADER / NAV ---------- */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    transition: box-shadow var(--trans);
}
.header--scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.14); }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.header__logo img { height: 70px; width: auto; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__link {
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gray-600);
    padding: .55rem 1rem;
    border-radius: var(--radius);
    transition: color var(--trans), background var(--trans);
}
.nav__link:hover { color: var(--red); background: rgba(220,38,38,.06); }
.nav__link--active { color: var(--red); }
.nav__link--cta {
    background: var(--red);
    color: var(--white);
    padding: .6rem 1.2rem;
    margin-left: .5rem;
}
.nav__link--cta:hover { background: var(--red-dark); color: var(--white); }

.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; height: 20px;
    background: none; border: none; cursor: pointer; padding: 0;
}
.nav__burger span {
    display: block; height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10,10,10,.82) 0%,
        rgba(10,10,10,.65) 55%,
        rgba(10,10,10,.4) 100%
    );
}
.hero__content {
    position: relative; z-index: 1;
    padding: 5rem 1.5rem 4rem;
    max-width: 700px;
}
.hero__tag {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 2px;
    margin-bottom: 1.2rem;
}
.hero__title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .01em;
    margin-bottom: 1.2rem;
}
.hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.78);
    margin-bottom: 2.2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__stats {
    position: relative; z-index: 1;
    background: rgba(17,17,17,.88);
    backdrop-filter: blur(6px);
    border-top: 3px solid var(--red);
    margin-top: auto;
}
.hero__stats-inner {
    display: flex;
    justify-content: space-around;
    padding: 1.6rem 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.stat { text-align: center; }
.stat__num {
    display: block;
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1.1;
}
.stat__label {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ---------- SEKCE ---------- */
.section { padding: 5rem 0; }
.section--light { background: var(--white); }
.section--dark  { background: var(--gray-100); }

.section__head { text-align: center; margin-bottom: 3.5rem; }
.section__label {
    display: inline-block;
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(220,38,38,.08);
    padding: .25rem .8rem;
    border-radius: 2px;
    margin-bottom: .9rem;
}
.section__title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--gray-900);
    margin-bottom: .8rem;
}
.section__sub { color: var(--gray-600); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* ---------- SLUŽBY ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 2rem;
    transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans);
}
.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: var(--red);
}
.service-card__icon {
    width: 54px; height: 54px;
    background: var(--red);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.4rem; color: var(--white);
}
.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .5rem;
    color: var(--gray-900);
}
.service-card p { color: var(--gray-600); font-size: .95rem; }

/* ---------- O MNĚ ---------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
}
.about__imgs {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}
.about__img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.about__img--main {
    width: 300%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
}
.about__text .section__title { text-align: left; }
.about__text p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 1rem;
}
.about__reasons {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    margin-top: 1.5rem;
}
.reason {
    display: flex; align-items: center; gap: .7rem;
    font-size: .98rem; color: var(--gray-900);
}
.reason i { color: var(--red); font-size: 1.1rem; flex-shrink: 0; }

/* ---------- TECHNIKA ---------- */
.equipment {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    align-items: start;
}
.equipment__main { position: relative; }
.equipment__main img {
    border-radius: var(--radius);
    width: 100%;
    box-shadow: var(--shadow-lg);
}
.equipment__badge {
    position: absolute; bottom: 1rem; left: 1rem;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: .1em;
    padding: .4rem 1rem;
    border-radius: var(--radius);
    font-size: .9rem;
}
.equipment__items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.equip-item { position: relative; border-radius: var(--radius); overflow: hidden; }
.equip-item img { width: 100%; height: 220px; object-fit: cover; }
.equip-item__label {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(17,17,17,.72);
    color: var(--white);
    font-family: var(--font-head);
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .4rem .8rem;
}

/* ---------- CTA ---------- */
.cta-section {
    background: var(--red);
    padding: 3.5rem 0;
}
.cta-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-section h2 {
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: .3rem;
}
.cta-section p { color: rgba(255,255,255,.8); }
.cta-section__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- FORMULÁŘ ---------- */
.page-hero {
    background: linear-gradient(105deg, var(--dark) 0%, var(--gray-800) 100%);
    padding: 4rem 0;
    text-align: center;
}
.page-hero__label {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .25rem .8rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}
.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: .8rem;
}
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.page-hero__stats {
    display: flex; justify-content: center; gap: 3rem;
    margin-top: 2.5rem; flex-wrap: wrap;
}
.page-hero__stat .stat__num { font-size: 2.2rem; }

.form-section { padding: 4rem 0; background: var(--gray-100); }
.form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem 3rem;
    max-width: 860px;
    margin: 0 auto;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--gray-900);
}
.form-group label i { color: var(--red); margin-right: .3rem; }
.form-group input,
.form-group select,
.form-group textarea {
    padding: .75rem 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .97rem;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color var(--trans), box-shadow var(--trans);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.form-group input.is-invalid,
.form-group textarea.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}
.form-group .error-msg { font-size: .82rem; color: #ef4444; }
.form-group .hint { font-size: .82rem; color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 150px; }
.form-group select { appearance: none; cursor: pointer; }

.form-tip {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 3px solid var(--red);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    font-size: .92rem;
    color: var(--gray-900);
}
.form-tip strong { display: block; margin-bottom: .3rem; }
.form-submit { text-align: center; padding-top: 1rem; }
.form-submit p { font-size: .85rem; color: var(--gray-400); margin-top: .8rem; }

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}
.form-success__icon {
    width: 72px; height: 72px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #16a34a;
    margin: 0 auto 1.2rem;
}
.form-success h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: .5rem;
    color: var(--gray-900);
}

/* ---------- RECENZE ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 820px; margin: 0 auto; }
.review-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    transition: box-shadow var(--trans);
}
.review-card:hover { box-shadow: var(--shadow); }
.review-card__top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.review-card__avatar {
    width: 50px; height: 50px;
    background: var(--red);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}
.review-card__meta { flex: 1; }
.review-card__name {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gray-900);
}
.review-card__date { font-size: .82rem; color: var(--gray-400); }
.review-card__stars { color: #f59e0b; font-size: .95rem; letter-spacing: .1em; }
.review-card__tag {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: rgba(220,38,38,.1);
    color: var(--red);
    font-size: .78rem;
    font-weight: 600;
    padding: .2rem .7rem;
    border-radius: 2px;
}
.review-card blockquote {
    font-size: .97rem;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.7;
    border-left: 3px solid var(--red);
    padding-left: 1rem;
    margin: 0;
}
.review-cta {
    text-align: center;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-top: 3rem;
}
.review-cta h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.review-cta p { color: var(--gray-600); margin-bottom: 1.5rem; }
.review-cta__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- STATS STRIP ---------- */
.stats-strip {
    background: var(--dark);
    padding: 3rem 0;
}
.stats-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.stats-strip .stat__num { font-size: 2.2rem; }
.stats-strip .stat__label { color: rgba(255,255,255,.5); }

/* ---------- FOOTER ---------- */
.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,.75);
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding: 3.5rem 1.5rem;
}
.footer__logo { height: 44px; margin-bottom: 1rem; }
.footer__col p { font-size: .9rem; color: rgba(255,255,255,.5); }
.footer__col h4 {
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer__col li { font-size: .9rem; display: flex; align-items: flex-start; gap: .5rem; }
.footer__col li i { color: var(--red); margin-top: .15rem; flex-shrink: 0; }
.footer__col a { color: rgba(255,255,255,.75); transition: color var(--trans); }
.footer__col a:hover { color: var(--red); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.2rem 1.5rem;
}
.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .82rem;
    color: rgba(255,255,255,.35);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--red);
    color: var(--white);
    border: none; border-radius: var(--radius);
    cursor: pointer; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    opacity: 0; pointer-events: none;
    transition: opacity var(--trans), transform var(--trans);
    box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--dark);
    color: rgba(255,255,255,.85);
    padding: 1rem 0;
    z-index: 999;
    border-top: 3px solid var(--red);
    transform: translateY(100%);
    transition: transform .35s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.cookie-banner p { font-size: .88rem; }
.cookie-banner__btns { display: flex; gap: .7rem; flex-shrink: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .about { grid-template-columns: 1fr; }
    .about__imgs { display: none; }
    .equipment { grid-template-columns: 1fr; }
    .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .nav { 
        display: none; 
        position: absolute; top: 72px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 1.5rem;
        box-shadow: 0 8px 24px rgba(0,0,0,.12);
        border-top: 3px solid var(--red);
        gap: .25rem;
    }
    .nav.is-open { display: flex; }
    .nav__link { padding: .7rem 1rem; border-radius: var(--radius); }
    .nav__link--cta { margin-left: 0; }
    .nav__burger { display: flex; }
    .header__inner { position: relative; }

    .hero { min-height: 80vh; }
    .hero__content { padding: 3rem 1.5rem 2rem; }
    .hero__actions { flex-direction: column; }
    .hero__stats-inner { gap: .5rem; }
    .stat__num { font-size: 1.5rem; }

    .cta-section__inner { flex-direction: column; text-align: center; }
    .cta-section__actions { justify-content: center; }

    .form-wrap { padding: 1.5rem; }
    .form-grid-2 { grid-template-columns: 1fr; }

    .footer__inner { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem; }
    .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }

    .page-hero__stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2rem; }
    .stats-strip__inner { grid-template-columns: 1fr 1fr; }
    .review-card { padding: 1.2rem; }
    .review-card__tag { display: none; }
}
/* ============================================
   GALERIE – DOPLNĚK STYLU
   ============================================ */

/* ---------- FILTRY ---------- */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 2rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1.1rem;
    border: 2px solid var(--gray-400);
    border-radius: var(--radius);
    background: transparent;
    color: var(--gray-600);
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--trans), color var(--trans), border-color var(--trans);
}

.filter-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

.filter-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ---------- GRID GALERIE ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--gray-100);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform var(--trans), box-shadow var(--trans);
}

.gallery-item img {
    width: 100%;
    height: 240px;          /* jednotná výška = pravidelná, klidná mřížka */
    object-fit: cover;      /* fotka se ořízne tak, aby vyplnila prostor beze zkreslení */
    display: block;
    transition: transform .4s ease;
}
.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* "Široká" dlaždice — zabere 2 sloupce místo 1, zůstává stejně vysoká
   jako ostatní, takže mřížka zůstává zarovnaná a pravidelná. */
.gallery-item.gi--wide {
    grid-column: span 2;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/* ---------- OVERLAY ---------- */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
    padding: 1.5rem 1rem .8rem;
    transform: translateY(8px);
    opacity: 0;
    transition: opacity var(--trans), transform var(--trans);
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.go-title {
    color: var(--white);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.go-cat {
    color: rgba(255,255,255,.7);
    font-size: .8rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}

/* ---------- ZOOM IKONA ---------- */
.gallery-zoom {
    position: absolute;
    top: .7rem;
    right: .7rem;
    width: 34px;
    height: 34px;
    background: rgba(0,0,0,.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: .85rem;
    opacity: 0;
    transition: opacity var(--trans), background var(--trans);
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
}

.gallery-zoom:hover {
    background: var(--red);
}

/* ---------- PLACEHOLDER ---------- */
.gallery-placeholder {
    cursor: default;
    border: 2px dashed var(--gray-400);
    box-shadow: none;
}

.gallery-placeholder:hover {
    transform: none;
    box-shadow: none;
}

.ph-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: .6rem;
    color: var(--gray-400);
}

.ph-inner i {
    font-size: 2rem;
}

.ph-inner span {
    font-size: .85rem;
    font-family: var(--font-head);
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ---------- EMPTY STATE ---------- */
.gallery-empty {
    display: none;
    text-align: center;
    color: var(--gray-400);
    font-size: 1.1rem;
    padding: 3rem 0;
}

.gallery-empty i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: .5rem;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.is-open {
    display: flex;
}

.lb-inner {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}

.lb-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.lb-caption {
    color: rgba(255,255,255,.8);
    font-family: var(--font-head);
    font-size: .95rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-align: center;
}

.lb-counter {
    color: rgba(255,255,255,.4);
    font-size: .8rem;
}

/* close */
.lb-close {
    position: fixed;
    top: 1.2rem;
    right: 1.5rem;
    background: rgba(255,255,255,.1);
    border: none;
    color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--trans);
    z-index: 1001;
}

.lb-close:hover {
    background: var(--red);
}

/* nav */
.lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.1);
    border: none;
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--trans);
    z-index: 1001;
}

.lb-nav:hover {
    background: var(--red);
}

.lb-nav--prev {
    left: 1.2rem;
}

.lb-nav--next {
    right: 1.2rem;
}

/* ---------- FILTER HIDE ---------- */
.gallery-item.is-hidden {
    display: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.gi--wide {
        grid-column: span 1;
    }

    .gallery-filters {
        gap: .4rem;
    }

    .filter-btn {
        font-size: .78rem;
        padding: .4rem .8rem;
    }

    .lb-nav--prev {
        left: .4rem;
    }

    .lb-nav--next {
        right: .4rem;
    }
}
/* reCAPTCHA badge — posunutí výš, ať nepřekrývá tlačítko "Zpět nahoru" */
.grecaptcha-badge {
    bottom: 80px !important;
}