:root {
    --bg-primary: #0f1419;
    --bg-secondary: #1a222c;
    --bg-card: #1e2832;
    --text-primary: #e8ecf0;
    --text-secondary: #9ca8b4;
    --text-muted: #6b7884;
    --accent: #4a9fd4;
    --accent-hover: #5eb0e8;
    --accent-muted: rgba(74, 159, 212, 0.2);
    --border: #2d3844;
    --success: #5a9a6a;
    --error: #c45a5a;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 10px 20px;
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.page-loader.show {
    opacity: 1;
    pointer-events: all;
}
.loader-ring {
    width: 44px;
    height: 44px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(15, 20, 25, 0.97) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}
.logo-img {
    width: 40px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}
.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.burger-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger-btn.active span:nth-child(2) {
    opacity: 0;
}
.burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}
.nav-dropdown {
    position: relative;
}
.nav-dropdown .dropdown-toggle {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-menu li a:hover {
    background: var(--accent-muted);
    color: var(--accent);
}
.hero {
    position: relative;
    min-height: 42vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg-primary) 85%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    padding-bottom: 48px;
}
.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 8px;
}
.hero-tagline {
    font-family: 'Noto Sans', sans-serif;
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 520px;
}
.section {
    padding: 48px 0;
}
.intro {
    padding-top: 40px;
}
.intro-text {
    font-size: 1.1rem;
    max-width: 680px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}
.intro-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.intro-meta a {
    color: var(--accent);
    text-decoration: none;
}
.intro-meta a:hover {
    text-decoration: underline;
}
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 28px;
    font-weight: 500;
}
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
    border-color: var(--accent);
}
.card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}
.card-featured .card-img {
    aspect-ratio: 16/9;
}
.card-featured .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 32px;
}
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body {
    padding: 20px 24px;
}
.card-body h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.card-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.cta {
    padding-top: 24px;
    padding-bottom: 56px;
}
.cta p {
    font-size: 0.95rem;
    color: var(--text-muted);
}
.cta a {
    color: var(--accent);
    text-decoration: none;
}
.cta a:hover {
    text-decoration: underline;
}
.page-header {
    margin-bottom: 28px;
}
.page-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.page-meta,
.page-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.prose {
    font-size: 1rem;
}
.prose p {
    margin-bottom: 16px;
}
.prose h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    margin-top: 32px;
    margin-bottom: 12px;
}
.prose a {
    color: var(--accent);
    text-decoration: none;
}
.prose a:hover {
    text-decoration: underline;
}
.article-header {
    margin-bottom: 24px;
}
.article-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.article-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.article-hero {
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.article-hero img {
    width: 100%;
    height: auto;
    display: block;
}
.contact-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
}
.contact-details h2,
.contact-note p {
    margin-bottom: 12px;
}
.contact-details p,
.contact-note p {
    font-size: 1rem;
    color: var(--text-secondary);
}
.contact-details a {
    color: var(--accent);
    text-decoration: none;
}
.contact-details a:hover {
    text-decoration: underline;
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    flex: 1;
    min-width: 200px;
}
.cookie-content a {
    color: var(--accent);
    text-decoration: none;
}
.cookie-content a:hover {
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
}
.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.cookie-btn.accept {
    background: var(--accent);
    color: var(--bg-primary);
}
.cookie-btn.accept:hover {
    background: var(--accent-hover);
}
.cookie-btn.reject {
    background: var(--border);
    color: var(--text-primary);
}
.cookie-btn.reject:hover {
    background: var(--text-muted);
}
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}
.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    margin-bottom: 32px;
}
.footer-brand .footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
}
.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.footer-col h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col a,
.footer-col p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
}
.footer-col a:hover {
    color: var(--accent);
}
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
@media (max-width: 900px) {
    .cards {
        grid-template-columns: 1fr;
    }
    .card-featured {
        grid-template-columns: 1fr;
    }
    .card-featured .card-body {
        padding: 20px 24px;
    }
    .footer-main {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-block {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border);
        padding: 80px 24px 24px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .main-nav .nav-list > li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    .main-nav .nav-link {
        display: block;
        padding: 14px 0;
    }
    .nav-dropdown .dropdown-toggle {
        display: block;
        padding: 14px 0;
        width: 100%;
        text-align: left;
    }
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        margin: 0;
        border: none;
        border-radius: 0;
        background: var(--bg-primary);
        padding: 0 0 8px 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-dropdown.active .dropdown-menu {
        max-height: 400px;
    }
    .dropdown-menu li a {
        padding: 10px 0;
    }
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .hero-inner {
        padding-bottom: 32px;
    }
    .section {
        padding: 32px 0;
    }
}