/* ═══ VČELAŘSTVÍ PALEČEK — WebZítra ═══ */
/* Production-ready, Lighthouse 90+, mobile-first, dark/light mode */
/* Barvy: bílá + žlutá/zlatá, zelený accent (z loga) */

/* ── CSS Custom Properties ── */
:root {
    /* Colors — White & Yellow theme */
    --primary: #E8A020;
    --primary-hover: #D4911A;
    --primary-light: rgba(232, 160, 32, 0.10);

    --color-primary-bg: #FFFCF5;
    --color-bg: #ffffff;
    --color-bg-alt: #FAFAF7;
    --color-card-bg: #ffffff;

    /* Light theme */
    --bg: #ffffff;
    --bg-alt: #FAFAF7;
    --bg-dark: #4A3520;
    --bg-dark-2: #5E422E;
    --surface: #ffffff;
    --text: #1F2937;
    --text-muted: #6B7280;
    --text-dark: #FFFFFF;
    --text-dark-muted: #DEC9A8;
    --border: #E5E7EB;
    --white: #ffffff;

    --accent: #5B9A2F;
    --accent-light: rgba(91, 154, 47, 0.10);

    /* Typography */
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;

    /* Spacing */
    --section-pad: 80px;
    --container-max: 1200px;

    /* Transitions */
    --transition: 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.10);
}

/* Dark mode odstraněn — pouze light theme */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font);
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    transition: background var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }

/* ── Container ── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232, 160, 32, 0.4); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-full { width: 100%; }
.btn-small { padding: 8px 16px; font-size: 0.875rem; border-radius: 8px; }

/* ═══ NAVBAR ═══ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0; }
.nav-logo img { height: 38px; width: auto; transition: all var(--transition); }
.navbar.scrolled .nav-logo img { height: 32px; }
.nav-logo:hover img { opacity: 0.8; }
.nav-menu { display: flex; list-style: none; gap: 32px; }
.nav-link { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; transition: color var(--transition); }
.nav-link:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* Theme toggle odstraněn */

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: all var(--transition); border-radius: 2px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ HERO — Fullscreen Video Background ═══ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: #1B1D23;
}

/* Video background (desktop) */
.hero-video-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-video-bg video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.50) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
}
.hero-logo {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
}
.hero-logo img {
    height: 90px;
    width: auto;
    display: block;
}
.hero-logo img.hero-logo-color {
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.3));
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}
.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.hero .btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.hero .btn-outline { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); backdrop-filter: blur(4px); }
.hero .btn-outline:hover { background: #fff; color: var(--text); border-color: #fff; }

.hero-stats { display: flex; gap: 40px; justify-content: center; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary); text-shadow: 0 0 24px rgba(232, 160, 32, 0.3); }
.hero-stat span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

/* Navbar transparent on hero */
.hero ~ .navbar, .navbar:not(.scrolled) {
    background: transparent;
}
.navbar:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }
.navbar:not(.scrolled) .nav-link { color: rgba(255,255,255,0.8); }
.navbar:not(.scrolled) .nav-link:hover { color: var(--primary); }
.navbar:not(.scrolled) .nav-toggle span { background: #fff; }

/* ═══ SECTIONS ═══ */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-dark); position: relative; z-index: 1; padding-top: calc(var(--section-pad) - 20px); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; text-align: center; margin-bottom: 8px; }
.section-dark .section-title { color: var(--white); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3); }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1.1rem; margin-bottom: 48px; }
.section-dark .section-subtitle { color: var(--text-dark-muted); }
.section-dark a { color: var(--primary); }
.section-dark a:hover { color: var(--primary-hover); }

/* ═══ WAVE DIVIDERS ═══ */
.wave-divider {
    line-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: 90px;
}
@media (max-width: 768px) {
    .wave-divider svg { height: 60px; }
}
@media (max-width: 480px) {
    .wave-divider svg { height: 42px; }
}

/* ═══ ABOUT ═══ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }
.about-stats { display: flex; gap: 32px; margin-top: 32px; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.875rem; color: var(--text-muted); }
.about-image img { border-radius: 16px; box-shadow: var(--shadow-lg); }

/* ═══ PRODUCTS ═══ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(232, 160, 32, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08); border-color: var(--primary); }
.product-icon { font-size: 3rem; margin-bottom: 16px; }
.product-image { margin: -32px -32px 16px -32px; overflow: hidden; border-radius: 12px 12px 0 0; }
.product-image img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text); }
.product-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }
.product-price { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.product-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}
.product-status.available { background: var(--accent-light); color: var(--accent); }
.product-status.soldout { background: rgba(200, 100, 50, 0.1); color: #C86432; }

.products-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: var(--primary-light);
    border-radius: 12px;
}
.products-note p { color: var(--text); font-size: 1.05rem; }
.products-note a { font-weight: 600; }

/* ═══ LECTURES (PŘEDNÁŠKY) ═══ */
.lectures-intro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.lecture-type {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(232, 160, 32, 0.20);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.lecture-type::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.7;
}
.lecture-type:hover { transform: translateY(-6px); border-color: rgba(232, 160, 32, 0.35); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(232, 160, 32, 0.08); }
.lecture-type p { color: var(--text-dark-muted); font-size: 0.9rem; margin-top: 8px; }
.lecture-type-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    background: rgba(232, 160, 32, 0.15);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(232, 160, 32, 0.12);
}

.lecture-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
.badge-edu { background: rgba(74, 124, 63, 0.25); color: #90D080; }
.badge-honey { background: rgba(212, 168, 67, 0.25); color: #F0C060; }
.badge-event { background: rgba(200, 100, 50, 0.25); color: #F0A870; }
.badge-media { background: rgba(100, 140, 200, 0.2); color: #7BA3D4; }

.lecture-year {
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 160, 32, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}
.lecture-year:hover { border-color: rgba(232, 160, 32, 0.20); }
.year-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    font-size: 1.3rem;
    color: var(--white);
}
.year-number { font-weight: 800; }
.year-badge {
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}
.year-badge.current { background: var(--accent); color: #fff; }
.year-expand {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
}
.year-toggle { cursor: pointer; }
.year-toggle:hover .year-expand { color: var(--primary-hover); }

.lecture-table-wrapper { overflow-x: auto; }
.lecture-hidden { display: none; }

.lecture-table {
    width: 100%;
    border-collapse: collapse;
}
.lecture-table thead { background: rgba(232, 160, 32, 0.08); }
.lecture-table th {
    text-align: left;
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(232, 160, 32, 0.12);
}
.lecture-table td {
    padding: 14px 24px;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(232, 160, 32, 0.06);
}
.lecture-table tbody tr:hover { background: rgba(212, 168, 67, 0.05); }
.lecture-table tbody tr:last-child td { border-bottom: none; }

/* Odkazy u přednášek */
.lecture-link {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    background: rgba(232, 160, 32, 0.15);
    color: var(--primary);
    transition: all var(--transition);
    margin-left: 4px;
    vertical-align: middle;
    white-space: nowrap;
}
.lecture-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.lectures-links {
    margin-top: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 160, 32, 0.15);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.lectures-links p {
    color: var(--text-dark-muted);
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.lectures-links p:last-child { margin-bottom: 0; }
.lectures-links a { color: var(--primary); font-weight: 500; }
.lectures-links a:hover { color: var(--primary-hover); text-decoration: underline; }

/* ═══ PHOTO GALLERY ═══ */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.gallery-tab {
    padding: 8px 20px;
    border-radius: 24px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
}
.gallery-tab:hover { border-color: var(--primary); color: var(--primary); }
.gallery-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item { transition: transform 0.4s ease, box-shadow 0.3s ease; }
.gallery-item:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); }
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-item.gallery-hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img {
    max-width: 88vw;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 16px 64px rgba(0,0,0,0.5);
    object-fit: contain;
}
.lightbox-caption {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin-top: 16px;
    text-align: center;
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--transition);
    z-index: 2;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 16px 12px;
    border-radius: 8px;
    opacity: 0.6;
    transition: all var(--transition);
    z-index: 2;
    backdrop-filter: blur(4px);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.2); }

/* ═══ VIDEOS ═══ */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.video-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition);
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12); }
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.video-card h3 { padding: 16px 20px 4px; font-size: 1.05rem; color: var(--text); }
.video-card p { padding: 0 20px 16px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ═══ AWARDS ═══ */
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.award-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
}
.award-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(232, 160, 32, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08); }
.award-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--primary-light);
    border-radius: 16px;
}
.award-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.award-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ═══ FAQ ═══ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 160, 32, 0.15);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.faq-item:hover { border-color: rgba(232, 160, 32, 0.25); }
.faq-item[open] { border-color: var(--primary); box-shadow: 0 4px 20px rgba(232, 160, 32, 0.1); }
.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: transform var(--transition); }
.faq-item[open] .faq-question::after { content: '−'; }
.faq-answer { padding: 0 24px 20px; color: var(--text-dark-muted); }

/* ═══ CONTACT ═══ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item svg { color: var(--primary); flex-shrink: 0; margin-top: 4px; }
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item a { color: var(--text-muted); }
.contact-item span { color: var(--text-muted); }
.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition);
}
.contact-form:hover { box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ═══ FOOTER ═══ */
.footer { background: var(--bg-dark); color: var(--text-dark-muted); padding: 48px 0 24px; position: relative; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.footer-brand strong { color: var(--white); font-size: 1.2rem; display: block; margin-bottom: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dark-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(232, 160, 32, 0.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: flex-start; font-size: 0.875rem; gap: 16px; }
.footer-bottom p { line-height: 1.6; }
.footer-credit { white-space: nowrap; }
.footer-credit a { color: var(--primary); }

/* ═══ COOKIE BANNER ═══ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 24px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    pointer-events: none;
}
.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.cookie-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.cookie-banner p {
    font-size: 0.85rem;
    color: #b0b8c4;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}
.cookie-banner p a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner p a:hover { color: var(--primary-light, #e8a020); }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 768px) {
    .cookie-inner { flex-direction: column; text-align: center; gap: 12px; }
    .cookie-actions { width: 100%; justify-content: center; }
}

/* ═══ ACCESSIBILITY ═══ */
.btn:focus-visible, .nav-link:focus-visible, .theme-toggle:focus-visible, .nav-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}
.skip-nav {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 10001;
    transition: top 0.2s;
}
.skip-nav:focus {
    top: 12px;
    color: #fff;
}

/* ═══ SCROLL ANIMATIONS ═══ */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }
    .lectures-intro { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .videos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-pad: 60px; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 16px;
        transition: right var(--transition);
        box-shadow: -8px 0 24px rgba(0,0,0,0.1);
    }
    /* dark mode mobile menu removed */
    .nav-menu.active { right: 0; }
    .nav-link { font-size: 1.1rem; }
    .nav-toggle { display: flex; }

    .hero { min-height: 100vh; padding: 120px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .hero-logo img { height: 64px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { flex-wrap: wrap; gap: 24px; justify-content: center; }

    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-image { order: -1; }
    .about-stats { justify-content: center; }

    .products-grid { grid-template-columns: 1fr; }
    .awards-grid { grid-template-columns: 1fr; }
    .lectures-intro { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-tabs { gap: 6px; }
    .gallery-tab { padding: 6px 14px; font-size: 0.8rem; }
    .videos-grid { grid-template-columns: 1fr; }
    .lightbox-prev { left: 8px; padding: 12px 8px; font-size: 1.5rem; }
    .lightbox-next { right: 8px; padding: 12px 8px; font-size: 1.5rem; }

    /* Responsive lecture table */
    .lecture-table thead { display: none; }
    .lecture-table tr {
        display: block;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(232, 160, 32, 0.08);
    }
    .lecture-table td {
        display: block;
        padding: 4px 0;
        border: none;
        font-size: 0.9rem;
    }
    .lecture-table td::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--text-dark-muted);
    }
    .lecture-table td:last-child::before { content: ''; }

    .footer-content { flex-direction: column; gap: 24px; }
    .footer-links { flex-wrap: wrap; gap: 16px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 1.8rem; }
    .hero-logo img { height: 48px; }
    .about-stats { flex-direction: column; gap: 16px; }
    .product-card { padding: 24px; }
    .product-image { margin: -24px -24px 12px -24px; }
    .product-image img { height: 150px; }
    .contact-form { padding: 24px; }
    .lecture-table td { font-size: 0.85rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .gallery-tabs { gap: 4px; }
    .gallery-tab { padding: 5px 10px; font-size: 0.75rem; }
    .lightbox-img { max-width: 95vw; max-height: 75vh; }
}
