:root {
    --red: #BF2225;
    --red-light: #E92C34;
    --dark-blue: #1e293b;
    --bg-light: #f8fafc;
    --surface: rgba(255, 255, 255, 0.75);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: rgba(226, 232, 240, 0.4);
    --border-solid: #e2e8f0;
    --header-h: 90px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --glass-blur: blur(12px);
    --transition: all 0.3s ease;
}

body.dark {
    --bg-light: #020617;
    --surface: rgba(30, 41, 59, 0.9);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --border: rgba(30, 41, 59, 0.5);
    --border-solid: #1e293b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(191, 34, 37, 0.08) 100%);
    color: var(--text-main);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
    overflow-x: hidden;
}
body.dark {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(233, 44, 52, 0.05) 100%);
}

/* ============================================
   TYPOGRAFIE
============================================ */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}
h1, .h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
h2, .h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}
h3, .h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.text-center { text-align: center; }

/* ============================================
   SCROLLBAR
============================================ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border-solid);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}

/* ============================================
   SELECT
============================================ */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 12px 40px 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}
body.dark select {
    background: #2b3b55;
    border-color: #334155;
    color: var(--text-main);
}
select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(191, 34, 37, 0.1);
}
select option {
    background: var(--bg-light);
    color: var(--text-main);
    padding: 10px 16px;
}
body.dark select option {
    background: var(--dark-blue);
    color: var(--text-main);
}
select::-ms-expand {
    display: none;
}

/* ============================================
   PŘEPÍNAČ TMAVÉHO REŽIMU
============================================ */
.theme-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 60px;
    height: 30px;
    vertical-align: middle;
}
.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #cbd5e1;
    transition: 0.3s;
    border-radius: 30px;
}
body.dark .slider {
    background: #475569;
}
.slider:before {
    position: absolute;
    content: "☀️";
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    width: 26px;
    left: 2px;
    bottom: 2px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
body.dark .slider:before {
    background: #1e293b;
    content: "🌙";
}
input:checked + .slider:before {
    transform: translateX(30px);
}

/* ============================================
   POZADÍ - PLAMEN
============================================ */
.flame-bg {
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 80%;
    height: 80%;
    pointer-events: none;
    z-index: 0;
}
.flame-layer {
    position: absolute;
    background-image: url('img/flame.webp');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
}
.flame-layer-1 {
    width: 100%;
    height: 100%;
    opacity: 0.06;
    filter: blur(4px);
    animation: floatFlame1 24s ease-in-out infinite;
}
.flame-layer-2 {
    width: 70%;
    height: 70%;
    bottom: 5%;
    right: 5%;
    opacity: 0.1;
    filter: blur(2px);
    animation: floatFlame2 18s ease-in-out infinite reverse;
}
.flame-layer-3 {
    width: 45%;
    height: 45%;
    bottom: 15%;
    right: 15%;
    opacity: 0.15;
    animation: floatFlame3 12s ease-in-out infinite;
}
body.dark .flame-layer-1 { opacity: 0.12; }
body.dark .flame-layer-2 { opacity: 0.18; }
body.dark .flame-layer-3 { opacity: 0.25; }

@keyframes floatFlame1 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(-2%, -2%) rotate(2deg) scale(1.02); }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}
@keyframes floatFlame2 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(2%, 1%) rotate(-2deg) scale(1.03); }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}
@keyframes floatFlame3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-1%, -1%) rotate(3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* ============================================
   KONTEJNER
============================================ */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ============================================
   GRID SYSTEM
============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   ODKAZY V OBSAHU
============================================ */
a {
    color: var(--red);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}
body.dark a {
    color: #E92C34;
}
p a, .card a:not(.btn):not(.btn-admin) {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}
p a:hover, .card a:not(.btn):not(.btn-admin):hover {
    border-bottom-color: var(--red);
    color: var(--red-light);
}
body.dark p a:hover, body.dark .card a:not(.btn):not(.btn-admin):hover {
    border-bottom-color: #E92C34;
    color: #F05454;
}
.btn, .btn-admin, nav a, .logo {
    border-bottom: none !important;
}

/* ============================================
   HEADER
============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.6));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

}
body.dark header {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6));
    border-bottom-color: rgba(30, 41, 59, 0.4);
}
header.scrolled { height: 70px; --header-h: 70px; box-shadow: var(--shadow-md); }

/* Skrytý header - plynulé zmizení */
body.header-hidden header {
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border-bottom: none;
}

.progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
}
.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--red);
    transition: width 0.1s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* ============================================
   LOGO (s obrázkem - světlý / tmavý režim)
============================================ */
.logo {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}
.logo img {
    height: 75px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: height 0.3s ease;
}
/* Světlý režim – logo.png */
.logo .logo-light {
    display: block;
}
.logo .logo-dark {
    display: none;
}
/* Tmavý režim – logo2.png */
body.dark .logo .logo-light {
    display: none;
}
body.dark .logo .logo-dark {
    display: block;
}

header.scrolled .logo img {
    height: 45px;
}
@media (max-width: 768px) {
    .logo img {
        height: 55px;
    }
    header.scrolled .logo img {
        height: 35px;
    }
}

/* ============================================
   NAVIGACE
============================================ */
nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}
nav ul li {
    display: inline-flex;
    align-items: center;
}
nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}
nav a:hover::after,
nav a.active::after {
    width: 100%;
}
nav a:hover { color: var(--red); }
nav a.active { color: var(--red-light); }

/* Tlačítko administrace (v menu) */
.btn-admin {
    background: var(--dark-blue);
    color: white !important;
    padding: 8px 20px;
    border-radius: 40px;
    transition: background 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
}
.btn-admin:hover { background: var(--red); transform: translateY(-2px); }
.btn-admin::after { display: none; }

/* ============================================
   TLAČÍTKO PRO SKRYTÍ HEADERU (desktop)
============================================ */
.hide-header-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.hide-header-btn:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
}
body.dark .hide-header-btn {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}
body.dark .hide-header-btn:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

/* ============================================
   TLAČÍTKO PRO ZOBRAZENÍ HEADERU (mimo header)
============================================ */
.show-header-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.3s ease;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* Normálně je schované */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}
.show-header-btn:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
}
body.dark .show-header-btn {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}
body.dark .show-header-btn:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

/* Když je header skrytý, zobrazíme tlačítko */
body.header-hidden .show-header-btn {
    opacity: 1 !important;
    transform: translateY(0);
    pointer-events: auto;
    display: inline-flex !important;
}

/* ============================================
   TLAČÍTKA
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
}
.btn-primary {
    background: var(--red);
    color: white;
    box-shadow: 0 4px 14px rgba(191, 34, 37, 0.3);
}
.btn-primary:hover {
    background: var(--red-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 34, 37, 0.4);
}
body.dark .btn-primary {
    color: white;
}
.btn-outline {
    border: 2px solid var(--border-solid);
    color: var(--text-main);
    background: transparent;
    box-shadow: none;
}
body.dark .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #e2e8f0;
}
.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}
body.dark .btn-outline:hover {
    border-color: var(--red-light);
    color: var(--red-light);
}

/* ============================================
   RADIO & CHECKBOX
============================================ */
input[type="radio"],
input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.radio-label, .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
    user-select: none;
}
.custom-radio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border: 2px solid var(--border-solid);
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.custom-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border: 2px solid var(--border-solid);
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}
.custom-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}
.custom-checkbox::after {
    content: '✓';
    font-size: 13px;
    font-weight: bold;
    color: var(--red);
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}
.radio-label:hover .custom-radio,
.checkbox-label:hover .custom-checkbox {
    border-color: var(--red);
}
input[type="radio"]:focus-visible + .custom-radio,
input[type="checkbox"]:focus-visible + .custom-checkbox {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
input[type="radio"]:checked + .custom-radio {
    border-color: var(--red);
}
input[type="radio"]:checked + .custom-radio::after {
    opacity: 1;
    transform: scale(1);
}
input[type="checkbox"]:checked + .custom-checkbox {
    border-color: var(--red);
}
input[type="checkbox"]:checked + .custom-checkbox::after {
    opacity: 1;
    transform: scale(1);
}
.radio-group, .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 8px;
}
body.dark .custom-radio,
body.dark .custom-checkbox {
    border-color: rgba(255, 255, 255, 0.3);
}
body.dark .radio-label:hover .custom-radio,
body.dark .checkbox-label:hover .custom-checkbox {
    border-color: var(--red-light);
}

/* ============================================
   MOBILNÍ MENU
============================================ */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-main);
    margin: 6px 0;
    transition: 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   KARTY
============================================ */
.card {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   KARTY - bez hover efektu (pro statický obsah)
============================================ */
.card-static {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    /* Žádný transition, žádný hover */
}

/* ============================================
   HERO
============================================ */
.hero {
    text-align: center;
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-xl);
    margin: 40px 0;
    padding: 60px 40px;
    border: 1px solid var(--border);
}
.hero .highlight { color: var(--red); }

/* ============================================
   CAROUSEL
============================================ */
.carousel-section {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: grab;
    will-change: transform;
}
.carousel-track.dragging {
    cursor: grabbing;
    transition: none;
}
.carousel-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 280px;
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.carousel-img {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--dark-blue);
}
.carousel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.carousel-item:hover .carousel-img img { transform: scale(1.05); }
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    max-width: calc(100% - 30px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.4s ease;
}
.carousel-item:hover .badge { transform: scale(1.05); }
.carousel-content { padding: 12px 16px; }
.carousel-content h3 { font-size: 1rem; margin: 0; }
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 20px;
}
.ctrl-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    pointer-events: auto;
    transition: 0.2s;
    font-size: 1.3rem;
    color: var(--text-main);
}
body.dark .ctrl-btn { background: rgba(15, 23, 42, 0.8); }
.ctrl-btn:hover { background: var(--red); color: white; }

/* ============================================
   FORMULÁŘE
============================================ */
.form-group { margin-bottom: 1.5rem; }
label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
input, textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}
body.dark input, body.dark textarea {
    background: #2b3b55;
    border-color: #334155;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(191, 34, 37, 0.1);
}

/* ============================================
   FAQ (plná šířka) - výraznější oddělení
============================================ */
.faq-item {
    border-bottom: 1px solid var(--border-solid);
}
body.dark .faq-item {
    border-bottom-color: #334155;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-answer {
    display: none;
    padding-bottom: 1rem;
    color: var(--text-muted);
}

/* ============================================
   MODERÁTOŘI / TÝM
============================================ */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}
.team-member {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-solid);
}
.team-member:last-child { border-bottom: none; }
body.dark .team-member {
    border-bottom-color: #334155;
}
.team-avatar {
    width: 40px;
    height: 40px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}
.team-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.team-info p { font-size: 0.75rem; margin-bottom: 0; }

/* ============================================
   PARTNEŘI
============================================ */
.partners-strip {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
    margin: 40px 0 0;
}
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.partner-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
}
.partner-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--red);
}
.partner-item img {
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}
/* Podpora pro textového partnera (bez obrázku) */
.partner-item span {
    font-size: 1rem;
    font-weight: 500;
}
@media (max-width: 768px) {
    .partners-grid { gap: 24px; }
    .partner-item img { height: 40px; }
    .partner-item span { font-size: 0.85rem; }
}

/* ============================================
   PATIČKA
============================================ */
footer {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    margin-top: 60px;
    padding: 40px 0 24px;
    text-align: center;
}

/* ============================================
   RESPONSIVITA
============================================ */
@media (max-width: 1024px) {
    .carousel-item { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 768px) {
    .carousel-item { flex: 0 0 100%; }
    .carousel-controls { display: flex; }
    .mobile-menu-btn { 
    display: block; 
    margin-left: auto;
}
    nav {
        position: fixed;
        z-index: 10000 !important;
        top: var(--header-h);
        left: -100%;
        width: 80%;
        height: calc(100vh - var(--header-h));
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        transition: left 0.3s ease;
        padding: 24px;
        border-right: 1px solid var(--border);
    }
    body.dark nav { background: rgba(15, 23, 42, 0.95); }
    nav.active { left: 0; }
    nav ul { flex-direction: column; gap: 20px; align-items: flex-start; }
    .hero { padding: 40px 20px; margin: 20px 0; }
}

/* Skryté menu na desktopu */
@media (min-width: 769px) {
    nav.collapsed ul {
        display: none;
    }
}

/* ============================================
   SCROLL TO TOP
============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    border: 1px solid var(--border);
    font-size: 1.3rem;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover { background: var(--red); color: white; }
@media (max-width: 768px) { .scroll-top { display: none; } }

/* ============================================
   COOKIE
============================================ */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 1000;
    font-size: 0.9rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.cookie-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-content p {
    margin: 0;
    flex: 1;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
}
.cookie-btn {
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.cookie-btn.accept {
    background: var(--red);
    color: white;
}
.cookie-btn.accept:hover {
    background: var(--red-light);
    transform: translateY(-2px);
}
.cookie-btn.decline {
    background: transparent;
    border: 1px solid var(--border-solid);
    color: var(--text-main);
}
.cookie-btn.decline:hover {
    border-color: var(--red);
    color: var(--red);
}
@media (max-width: 600px) {
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-buttons { width: 100%; justify-content: center; }
}


/* ============================================
   MODAL (univerzální)
============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    max-width: 700px;
    width: 90%;
    max-height: 80vh !important;          /* maximální výška = 80% viewportu */
    overflow-y: auto;          /* scrollování při přetečení */
    padding: 2rem;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}
/* Scrollbar v modalu (aby ladil s webem) */
.modal-content::-webkit-scrollbar {
    width: 8px;
}
.modal-content::-webkit-scrollbar-track {
    background: var(--border-solid);
    border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--red-light);
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    z-index: 1;
}
.modal-close:hover {
    color: var(--red);
}
.modal h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}
.modal .form-group {
    margin-bottom: 1rem;
}
.modal .btn {
    width: 100%;
    margin-top: 0.5rem;
}