*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0f0f12;
    --color-bg-warm: #161618;
    --color-bg-card: #1c1c21;
    --color-bg-elevated: #222228;
    --color-text: #e8e6e1;
    --color-text-muted: #9a978f;
    --color-accent: #c9a84c;
    --color-accent-light: #dfc06e;
    --color-accent-dark: #a68932;
    --color-border: #2e2e35;
    --color-white: #ffffff;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-mono: 'Space Grotesk', sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-white);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-aperture {
    width: 60px;
    height: 60px;
    position: relative;
    animation: rotateAperture 2s linear infinite;
}

.aperture-blade {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    opacity: 0.7;
    border-radius: 2px;
}

.aperture-blade:nth-child(1) { top: 0; left: 18px; transform: rotate(0deg); animation: bladePulse 1.2s ease-in-out infinite; }
.aperture-blade:nth-child(2) { top: 9px; left: 33px; transform: rotate(60deg); animation: bladePulse 1.2s ease-in-out 0.2s infinite; }
.aperture-blade:nth-child(3) { top: 27px; left: 33px; transform: rotate(120deg); animation: bladePulse 1.2s ease-in-out 0.4s infinite; }
.aperture-blade:nth-child(4) { top: 36px; left: 18px; transform: rotate(180deg); animation: bladePulse 1.2s ease-in-out 0.6s infinite; }
.aperture-blade:nth-child(5) { top: 27px; left: 3px; transform: rotate(240deg); animation: bladePulse 1.2s ease-in-out 0.8s infinite; }
.aperture-blade:nth-child(6) { top: 9px; left: 3px; transform: rotate(300deg); animation: bladePulse 1.2s ease-in-out 1s infinite; }

@keyframes rotateAperture {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bladePulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 15, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: background var(--transition);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--color-accent);
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--color-accent);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-list > li > a,
.nav-list > li > .dropdown-toggle {
    display: block;
    padding: 8px 16px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    transition: all var(--transition);
    background: none;
    border: none;
    cursor: pointer;
}

.nav-list > li > a:hover,
.nav-list > li > a.active,
.nav-list > li > .dropdown-toggle:hover {
    color: var(--color-white);
    background: var(--color-bg-elevated);
}

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    border-radius: 6px;
    transition: all var(--transition);
}

.dropdown-menu a:hover {
    color: var(--color-white);
    background: var(--color-bg-elevated);
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--color-bg), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 100px;
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero h1 span {
    color: var(--color-accent);
    font-style: italic;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--color-accent);
    color: var(--color-bg);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.hero-cta:hover {
    background: var(--color-accent-light);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.section {
    padding: 100px 24px;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    margin-bottom: 56px;
}

.section-header .label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-muted);
    max-width: 560px;
    font-size: 1.05rem;
}

.section-alt {
    background: var(--color-bg-warm);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.article-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.article-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent-dark);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.article-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    background: rgba(15, 15, 18, 0.85);
    backdrop-filter: blur(8px);
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.article-card-body {
    padding: 24px;
}

.article-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.article-card-body h3 a {
    color: var(--color-white);
}

.article-card-body h3 a:hover {
    color: var(--color-accent);
}

.article-card-body p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.features-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-item {
    background: var(--color-bg-card);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition);
}

.feature-item:hover {
    background: var(--color-bg-elevated);
}

.feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 12px;
    color: var(--color-accent);
}

.feature-item h4 {
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--color-white);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 3; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 3; }
.gallery-item:nth-child(6) { grid-column: span 5; grid-row: span 2; }

.page-hero {
    padding: 160px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06), transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    font-family: var(--font-display);
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 24px 0;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb span {
    margin: 0 8px;
    opacity: 0.4;
}

.article-layout {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 100px;
}

.article-layout .article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.article-layout .article-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    max-height: 460px;
}

.article-layout .article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-layout h2 {
    margin: 48px 0 20px;
    font-size: 1.8rem;
}

.article-layout h3 {
    margin: 36px 0 16px;
    font-size: 1.4rem;
}

.article-layout p {
    margin-bottom: 18px;
    color: var(--color-text);
    font-size: 1.02rem;
}

.article-layout ul,
.article-layout ol {
    margin: 0 0 20px 24px;
    color: var(--color-text);
}

.article-layout li {
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.article-layout blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    background: var(--color-bg-warm);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text-muted);
}

.article-layout .article-image {
    margin: 32px 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-layout .article-image img {
    width: 100%;
}

.article-layout .article-image figcaption {
    padding: 10px 0;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    text-align: center;
}

.article-layout .info-box {
    margin: 32px 0;
    padding: 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.article-layout .info-box h4 {
    margin-bottom: 12px;
    font-family: var(--font-display);
}

.article-related {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.article-related h3 {
    margin-bottom: 24px;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.article-related-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.article-related-card:hover {
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
}

.article-related-card img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.article-related-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.article-related-card h4 a {
    color: var(--color-white);
}

.article-related-card p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 100px;
}

.contact-info-block {
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.contact-info-block h3 {
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 10px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-item-text p,
.contact-item-text a {
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 100px;
}

.about-content p {
    margin-bottom: 18px;
    font-size: 1.02rem;
    color: var(--color-text);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
}

.about-value {
    padding: 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-align: center;
}

.about-value h4 {
    margin: 14px 0 8px;
    font-family: var(--font-display);
}

.about-value p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 100px;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
}

.policy-content p {
    margin-bottom: 14px;
    color: var(--color-text);
    font-size: 0.98rem;
}

.policy-content ul {
    margin: 0 0 18px 24px;
    color: var(--color-text);
}

.policy-content li {
    margin-bottom: 6px;
    font-size: 0.98rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    padding: 20px 24px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    flex: 1;
}

.cookie-content p a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.cookie-btn.accept {
    background: var(--color-accent);
    color: var(--color-bg);
}

.cookie-btn.accept:hover {
    background: var(--color-accent-light);
}

.cookie-btn.reject {
    background: var(--color-bg-elevated);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

.cookie-btn.reject:hover {
    color: var(--color-white);
    border-color: var(--color-text-muted);
}

.site-footer {
    background: var(--color-bg-warm);
    border-top: 1px solid var(--color-border);
    padding: 64px 24px 0;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo:hover {
    color: var(--color-accent);
}

.footer-about p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-col ul a:hover {
    color: var(--color-accent);
}

.footer-col p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 32px 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.comparison-table th {
    background: var(--color-bg-elevated);
    padding: 14px 18px;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-border);
}

.comparison-table td {
    padding: 14px 18px;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) td {
    background: rgba(255,255,255,0.02);
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.external-link::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-mosaic {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 150px;
    }
    .gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
    .gallery-item:nth-child(2) { grid-column: span 3; }
    .gallery-item:nth-child(3) { grid-column: span 3; }
    .gallery-item:nth-child(4) { grid-column: span 3; }
    .gallery-item:nth-child(5) { grid-column: span 3; }
    .gallery-item:nth-child(6) { grid-column: span 6; }
}

@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-bg-card);
        border-left: 1px solid var(--color-border);
        padding: 100px 24px 40px;
        transition: right 0.4s ease;
        z-index: 999;
        overflow-y: auto;
    }
    .main-nav.open {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .nav-list > li > a,
    .nav-list > li > .dropdown-toggle {
        padding: 12px 16px;
        font-size: 1rem;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        display: none;
    }
    .has-dropdown.open .dropdown-menu {
        display: block;
    }
    .hero {
        min-height: 80vh;
    }
    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .features-strip {
        grid-template-columns: 1fr;
    }
    .gallery-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 140px;
    }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .gallery-item:nth-child(2) { grid-column: span 1; }
    .gallery-item:nth-child(3) { grid-column: span 1; }
    .gallery-item:nth-child(4) { grid-column: span 1; }
    .gallery-item:nth-child(5) { grid-column: span 1; }
    .gallery-item:nth-child(6) { grid-column: span 2; }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .about-values {
        grid-template-columns: 1fr;
    }
    .article-related-grid {
        grid-template-columns: 1fr;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .section {
        padding: 64px 24px;
    }
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav-overlay.visible {
    opacity: 1;
    visibility: visible;
}