*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #2c1810;
    --primary-dark: #1a0f0a;
    --primary-light: #4a2c1a;
    --accent-color: #c9a962;
    --accent-muted: #a68b4a;
    --background-dark: #0f0a06;
    --background-gradient: linear-gradient(160deg, #0f0a06 0%, #1a1208 40%, #151008 100%);
    --card-bg: rgba(201, 169, 98, 0.04);
    --card-border: rgba(201, 169, 98, 0.12);
    --text-primary: #f5f0e8;
    --text-secondary: #d4cfc4;
    --text-muted: #9a9588;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 12px 48px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s ease;
    --border-radius: 14px;
    --border-radius-lg: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--background-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-muted);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 2px solid var(--card-border);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 10, 6, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    padding: 0.85rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--card-border);
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.logo:hover .logo-text {
    color: var(--accent-color);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-list a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.55rem 1rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--text-primary);
    background: rgba(201, 169, 98, 0.12);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--background-dark);
    z-index: 999;
    padding: 85px 2rem 2rem;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--card-border);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    margin-bottom: 0.4rem;
}

.mobile-nav-list a {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.mobile-nav-list a:hover {
    color: var(--text-primary);
    background: rgba(201, 169, 98, 0.12);
}

.mobile-nav-divider {
    height: 1px;
    background: var(--card-border);
    margin: 1.2rem 0;
}

.mobile-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-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-content {
    padding-top: 85px;
    min-height: calc(100vh - 420px);
}

.hero-section {
    position: relative;
    padding: 6rem 2rem 7rem;
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Home_Theater.jpg/1920px-Home_Theater.jpg') center/cover no-repeat;
    opacity: 0.12;
    z-index: -1;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-muted) 100%);
    color: var(--background-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(201, 169, 98, 0.25);
    color: var(--background-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: rgba(201, 169, 98, 0.15);
    color: var(--accent-color);
}

.section {
    padding: 5rem 2rem;
}

.section-alt {
    background: rgba(201, 169, 98, 0.02);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    margin-bottom: 0.85rem;
}

.section-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card-grid-asymmetric {
    grid-template-columns: 1.2fr 1fr;
    grid-auto-rows: auto;
}

.card-grid-asymmetric .card-featured {
    grid-row: span 2;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(201, 169, 98, 0.25);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-featured .card-image {
    height: 100%;
    min-height: 280px;
}

.card-content {
    padding: 1.75rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    color: var(--text-primary);
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    color: var(--accent-muted);
}

.featured-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-layout-reverse {
    direction: rtl;
}

.featured-layout-reverse > * {
    direction: ltr;
}

.featured-image {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-strong);
}

.featured-content h2 {
    margin-bottom: 1.5rem;
}

.featured-list {
    list-style: none;
    margin: 1.5rem 0;
}

.featured-list li {
    padding: 0.55rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.featured-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.info-grid-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
}

.info-box-tall {
    grid-row: span 2;
}

.info-box-wide {
    grid-column: span 2;
}

.info-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.info-box:hover {
    border-color: rgba(201, 169, 98, 0.2);
    background: rgba(201, 169, 98, 0.06);
}

.info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--card-border);
}

.info-box h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
}

.info-box p {
    font-size: 0.92rem;
}

.article-content {
    max-width: 840px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--card-border);
}

.article-meta {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.article-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
    box-shadow: var(--shadow-soft);
}

.article-body h2 {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}

.article-body h3 {
    margin-top: 2rem;
    color: var(--accent-color);
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.page-section {
    padding: 4rem 2rem;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h4 {
    color: var(--accent-color);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.6rem;
}

.contact-item p {
    font-size: 0.98rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.contact-item a {
    color: var(--text-primary);
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-map {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer {
    background: rgba(10, 6, 3, 0.95);
    border-top: 1px solid var(--card-border);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent-color);
    margin-bottom: 1.25rem;
}

.footer-about p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.footer-update {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
}

.footer-links ul,
.footer-resources ul {
    list-style: none;
}

.footer-links li,
.footer-resources li {
    margin-bottom: 0.45rem;
}

.footer-links a,
.footer-resources a {
    font-size: 0.92rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-resources a:hover {
    color: var(--accent-color);
}

.contact-details p {
    font-size: 0.88rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-details strong {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-bottom p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.footer-legal a {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

.footer-legal a:hover {
    color: var(--accent-color);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 10, 6, 0.98);
    border-top: 1px solid var(--card-border);
    padding: 1.5rem 2rem;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    margin-bottom: 0.4rem;
}

.cookie-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    max-width: 680px;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.cookie-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.cookie-accept {
    background: var(--accent-color);
    color: var(--background-dark);
}

.cookie-accept:hover {
    background: var(--accent-muted);
}

.cookie-reject {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
}

.cookie-reject:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.cookie-settings {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.cookie-settings:hover {
    background: rgba(201, 169, 98, 0.1);
}

.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.cookie-settings-modal.active {
    display: flex;
}

.cookie-modal-content {
    background: var(--background-dark);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.cookie-modal-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.cookie-modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.2rem;
    line-height: 1;
}

.cookie-modal-close:hover {
    color: var(--text-primary);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--card-border);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}

.cookie-option-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-border);
    border-radius: 24px;
    transition: var(--transition-fast);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--text-primary);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.cookie-toggle input:checked + .toggle-slider {
    background: var(--accent-color);
}

.cookie-toggle input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--card-border);
}

.cookie-save {
    width: 100%;
    background: var(--accent-color);
    color: var(--background-dark);
}

.cookie-save:hover {
    background: var(--accent-muted);
}

.policy-content {
    max-width: 840px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.policy-content h1 {
    margin-bottom: 1.5rem;
}

.policy-content h2 {
    margin-top: 2.25rem;
    color: var(--accent-color);
}

.policy-content p,
.policy-content li {
    color: var(--text-secondary);
}

.policy-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.45rem;
}

@media (max-width: 1024px) {
    .card-grid-asymmetric {
        grid-template-columns: 1fr;
    }
    .card-grid-asymmetric .card-featured {
        grid-row: span 1;
    }
    .card-featured .card-image {
        height: 220px;
        min-height: auto;
    }
    .info-grid-bento {
        grid-template-columns: 1fr 1fr;
    }
    .info-box-tall {
        grid-row: span 1;
    }
    .info-box-wide {
        grid-column: span 2;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .featured-layout,
    .featured-layout-reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .featured-layout-reverse {
        direction: ltr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .burger-menu {
        display: flex;
    }
    .header-container {
        padding: 0 1rem;
    }
    .hero-section {
        padding: 4rem 1rem 5rem;
    }
    .section {
        padding: 3rem 1rem;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
    .info-grid-bento {
        grid-template-columns: 1fr;
    }
    .info-box-wide {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-section {
        text-align: center;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        justify-content: center;
    }
    .article-content,
    .policy-content {
        padding: 2rem 1rem;
    }
    .page-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }
    .logo-icon {
        width: 38px;
        height: 38px;
    }
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.82rem;
    }
    .cookie-btn {
        padding: 0.55rem 1rem;
        font-size: 0.75rem;
    }
}
