/*
 * WELCOME TO RUSSIA V4.1: OLIGARCH LUXURY POLISH
 * Design System: "Dark Wealth" - Refined
 * Philosophy: Old Money Elegance, Professional Polish
 * 
 * CHANGELOG from V4:
 * - Added mobile hamburger navigation
 * - Enhanced animations (fadeInUp, pulse)
 * - Improved form styles with gold focus
 * - New card variants (featured, dark)
 * - Better footer link animations
 * - New utility classes
 */

/* ============================================
   1. DESIGN TOKENS - DARK WEALTH
   ============================================ */

:root {
    /* === PRIMARY COLORS === */

    /* Base: Dark Authority */
    --color-charcoal: #0F1113;
    --color-slate-dark: #1A1D23;
    --color-slate: #2C3038;
    --color-off-white: #F5F3EF;

    /* Russian Tricolor - Dark Interpretation */
    --color-navy-deep: #0A1628;
    --color-burgundy-deep: #4A0E0E;

    /* Gold - The Statement Accent */
    --color-gold: #D4AF37;
    --color-gold-muted: #B8936C;
    --color-bronze: #8B7355;
    --color-gold-glow: rgba(212, 175, 55, 0.2);

    /* Accent Colors */
    --color-navy-accent: #1E3A5F;
    --color-burgundy-accent: #6B1515;

    /* Semantic */
    --color-text-primary: var(--color-charcoal);
    --color-text-secondary: var(--color-slate);
    --color-text-meta: #6F6D68;
    --color-text-light: var(--color-off-white);

    --color-bg-primary: var(--color-off-white);
    --color-bg-dark: var(--color-charcoal);
    --color-bg-navy: var(--color-navy-deep);

    --color-border: rgba(0, 0, 0, 0.1);
    --color-border-gold: var(--color-gold);

    /* === TYPOGRAPHY === */

    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: 4rem;

    /* Line Heights */
    --leading-tight: 1.1;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;
    --leading-loose: 1.7;

    /* Font Weights */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* === SPACING === */

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* === LAYOUT === */

    --max-width-prose: 65ch;
    --max-width-content: 1440px;
    --max-width-wide: 1600px;

    /* === TRANSITIONS === */

    --transition-fast: 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);

    /* === SHADOWS === */

    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);

    /* === Z-INDEX === */

    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-overlay: 1040;
    --z-modal: 1050;
}

/* ============================================
   2. ANIMATIONS - V4.1 NEW
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes goldGlow {

    0%,
    100% {
        box-shadow: 0 0 5px var(--color-gold-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--color-gold-glow), 0 0 30px var(--color-gold-glow);
    }
}

/* ============================================
   3. RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-loose);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
}

/* ============================================
   4. TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: var(--weight-medium);
    line-height: var(--leading-tight);
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-6xl);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--text-4xl);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-xl);
    font-family: var(--font-sans);
    font-weight: var(--weight-semibold);
}

p {
    margin-bottom: var(--space-6);
    max-width: var(--max-width-prose);
}

/* V4.1: Section Titles */
.section-title {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: var(--weight-semibold);
    color: var(--color-gold);
    margin-bottom: var(--space-2);
    display: block;
}

.text-lead {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-gold-muted);
    font-weight: var(--weight-normal);
}

.text-meta {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: var(--weight-semibold);
    color: var(--color-text-meta);
}

/* V4.1: Text Accent */
.text-accent {
    color: var(--color-gold);
    font-weight: var(--weight-medium);
}

/* V4.1: Blockquote */
blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--text-xl);
    color: var(--color-slate);
    border-left: 3px solid var(--color-gold);
    padding-left: var(--space-6);
    margin: var(--space-8) 0;
    max-width: var(--max-width-prose);
}

blockquote cite {
    display: block;
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--color-gold-muted);
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-gold);
}

strong {
    font-weight: var(--weight-semibold);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* ============================================
   5. LAYOUT
   ============================================ */

.container {
    max-width: var(--max-width-content);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-16);
    padding-right: var(--space-16);
}

@media (max-width: 768px) {
    .container {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }
}

.section {
    padding: var(--space-24) 0;
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.grid {
    display: grid;
    gap: var(--space-8);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* V4.1: Grid Sidebar Layout */
.grid-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-12);
}

@media (max-width: 1024px) {
    .grid-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   6. NAVIGATION - DARK AUTHORITY
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 17, 19, 0.85);
    /* Glassmorphism Base */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--color-border-gold);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--color-off-white);
    line-height: 1.2;
}

.nav-logo span {
    color: var(--color-gold);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-top: var(--space-1);
}

.nav-links {
    display: flex;
    gap: var(--space-12);
    list-style: none;
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-off-white);
    padding-bottom: var(--space-1);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

.nav-lang {
    display: flex;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--color-off-white);
}

.nav-lang a {
    padding: var(--space-1) var(--space-2);
    color: var(--color-off-white);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.nav-lang a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-lang a.active {
    color: var(--color-gold);
}

/* V4.1: Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: var(--z-modal);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-off-white);
    transition: all var(--transition-fast);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: var(--z-overlay);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Panel */
.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: rgba(15, 17, 19, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 2px solid var(--color-gold);
    z-index: var(--z-modal);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    padding: var(--space-24) var(--space-8);
}

.nav-mobile.active {
    transform: translateX(0);
}

.nav-mobile .nav-links {
    flex-direction: column;
    gap: var(--space-6);
}

.nav-mobile .nav-link {
    font-size: var(--text-lg);
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile .nav-lang {
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .nav-links {
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .navbar .nav-links,
    .navbar .nav-lang {
        display: none;
    }

    .nav-mobile {
        display: block;
    }
}

/* ============================================
   7. HERO - DARK POWER
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--color-navy-deep) 0%, #0D1F35 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: var(--space-32) 0 var(--space-24);
    margin-top: 80px;
    color: var(--color-off-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1547448415-e9f5b28e570d?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: 0;
}

/* V4.1: Hero Gradient Border */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 var(--space-6);
}

/* V4.1: Animated Hero Text */
.hero h1 {
    color: var(--color-off-white);
    margin-bottom: var(--space-8);
    font-size: var(--text-6xl);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero .text-lead {
    color: var(--color-gold-muted);
    margin-bottom: var(--space-12);
    font-size: var(--text-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-ctas {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* ============================================
   8. BUTTONS & CTAs
   ============================================ */

.btn {
    display: inline-block;
    padding: var(--space-4) var(--space-12);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.02em;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* V4.1: Button Shimmer Effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--color-burgundy-deep);
    color: var(--color-off-white);
    border: 2px solid var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-burgundy-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy), var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--color-off-white);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-charcoal);
}

.btn-text {
    color: var(--color-gold);
    font-weight: var(--weight-medium);
    transition: opacity var(--transition-fast);
    padding: 0;
}

.btn-text:hover {
    opacity: 0.7;
}

/* V4.1: Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-6);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-6) var(--space-16);
    font-size: var(--text-lg);
}

/* ============================================
   9. CARDS - REFINED LUXURY
   ============================================ */

.card {
    display: block;
    background: white;
    border-left: 3px solid var(--color-gold);
    padding: var(--space-12);
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-card);
    position: relative;
}

.card:hover {
    border-left-width: 4px;
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

/* V4.1: Card Media */
.card-media {
    margin: calc(var(--space-12) * -1) calc(var(--space-12) * -1) var(--space-6) calc(var(--space-12) * -1);
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-media img {
    transform: scale(1.05);
}

/* V4.1: Card Featured */
.card-featured {
    background: white;
    border: 2px solid var(--color-gold);
    padding: var(--space-12);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-slow);
    position: relative;
}

.card-featured::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-bronze), var(--color-gold));
}

.card-featured:hover {
    box-shadow: var(--shadow-heavy), var(--shadow-gold);
    transform: translateY(-4px);
}

/* V4.1: Card Dark */
.card-dark {
    background: var(--color-slate-dark);
    color: var(--color-off-white);
    border-left: 3px solid var(--color-gold);
    padding: var(--space-12);
    transition: all var(--transition-slow);
}

.card-dark h3 {
    color: var(--color-off-white);
}

.card-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.card-dark:hover {
    background: var(--color-slate);
    transform: translateY(-4px);
}

.card-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: var(--space-6);
}

.card h3 {
    color: var(--color-charcoal);
    margin-bottom: var(--space-4);
    font-size: var(--text-2xl);
}

.card p {
    color: var(--color-slate);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

/* Magazine Card */
.card-magazine {
    background: white;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-slow);
    border-top: 3px solid var(--color-gold);
}

.card-magazine:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.card-magazine-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card-magazine:hover .card-magazine-image {
    transform: scale(1.05);
}

.card-magazine-content {
    padding: var(--space-8);
}

/* V4.1: Card Sizes */
.card-lg {
    padding: var(--space-16);
}

.card-sm {
    padding: var(--space-6);
}

.card-lg h3 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
}

.card-sm h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.card-sm p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}

/* ============================================
   10. FORMS - V4.1 NEW
   ============================================ */

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--color-text-primary);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 0;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px var(--color-gold-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-meta);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Dark Form Variant */
.form-dark .form-label {
    color: var(--color-off-white);
}

.form-dark .form-input,
.form-dark .form-textarea {
    background: var(--color-slate-dark);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--color-off-white);
}

.form-dark .form-input:focus,
.form-dark .form-textarea:focus {
    border-color: var(--color-gold);
}

/* ============================================
   11. STATS BAR - QUIET CONFIDENCE
   ============================================ */

.stats-bar {
    background: var(--color-charcoal);
    border-top: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    padding: var(--space-16) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-12);
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    font-weight: var(--weight-bold);
    color: var(--color-gold);
    display: block;
    margin-bottom: var(--space-2);
}

.stat-label {
    color: var(--color-off-white);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   12. FOOTER - FOUNDATION
   ============================================ */

.footer {
    background: var(--color-bg-dark);
    color: var(--color-off-white);
    border-top: 2px solid var(--color-gold);
    padding: var(--space-24) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    color: var(--color-off-white);
    margin-bottom: var(--space-4);
}

.footer-logo span {
    color: var(--color-gold);
}

.footer h4 {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: var(--space-6);
}

.footer ul {
    list-style: none;
    line-height: 2;
}

/* V4.1: Footer Link Animations */
.footer a {
    color: var(--color-off-white);
    opacity: 0.8;
    position: relative;
    display: inline-block;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width var(--transition-fast);
}

.footer a:hover {
    color: var(--color-gold);
    opacity: 1;
}

.footer a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-8);
    display: flex;
    justify-content: space-between;
    font-size: var(--text-xs);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

/* ============================================
   13. DIVIDERS & DECORATIVE - V4.1 NEW
   ============================================ */

.divider {
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin: var(--space-8) 0;
}

.divider-center {
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin: var(--space-8) auto;
}

.divider-wide {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: var(--space-12) 0;
}

/* ============================================
   14. UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mb-12 {
    margin-bottom: var(--space-12);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-8 {
    margin-top: var(--space-8);
}

/* V4.1: Visibility */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(15, 17, 19, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* V4.1: Animation Utilities */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* ============================================
   15. RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --text-6xl: 3rem;
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
    }

    .nav-links {
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    :root {
        --space-24: 4rem;
        --space-32: 5rem;
    }

    .hero {
        min-height: auto;
        padding: var(--space-24) var(--space-6);
    }

    .hero h1 {
        font-size: var(--text-4xl);
    }

    .section {
        padding: var(--space-16) 0;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .nav-toggle,
    .nav-mobile,
    .nav-overlay {
        display: none !important;
    }

    .hero {
        min-height: auto;
        margin-top: 0;
        background: none;
        color: black;
    }

    .btn {
        border: 1px solid black;
    }
}

/* ============================================
   FAQ ACCORDION - PREMIUM
   ============================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-list details {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.faq-list details:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.6rem 0;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--color-charcoal);
    transition: color 0.3s ease;
    list-style: none;
    -webkit-appearance: none;
    appearance: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::marker {
    content: '';
    display: none;
}

.faq-list summary:hover {
    color: var(--color-gold);
}

.faq-icon {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 1.5px solid var(--color-border-gold);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background: var(--color-gold);
    transform: translate(-50%, -50%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .faq-icon {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

details[open] .faq-icon::before,
details[open] .faq-icon::after {
    background: white;
}

details[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

details[open]>summary {
    color: var(--color-charcoal);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s ease;
    opacity: 0;
}

details[open] .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-answer-inner {
    overflow: hidden;
    padding: 0;
}

details[open] .faq-answer-inner {
    padding: 0 0 1.75rem 0;
}

.faq-answer-inner p {
    line-height: 1.8;
    opacity: 0.65;
    font-size: 0.95rem;
    max-width: 88%;
    border-left: 2px solid rgba(193, 167, 107, 0.12);
    padding-left: 1.25rem;
}

.section-dark .faq-list details {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.section-dark .faq-list details:first-child {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.section-dark .faq-list summary {
    color: var(--color-off-white);
}

.section-dark .faq-list summary:hover {
    color: var(--color-gold);
}

.section-dark .faq-icon {
    border-color: rgba(193, 167, 107, 0.35);
}

.section-dark details[open] .faq-icon {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.section-dark .faq-answer-inner p {
    color: var(--color-off-white);
    opacity: 0.55;
    border-left-color: rgba(193, 167, 107, 0.2);
}

@media (max-width: 768px) {
    .faq-list summary {
        font-size: 0.95rem;
        padding: 1.35rem 0;
        gap: 1.25rem;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
    }

    .faq-icon::before,
    .faq-icon::after {
        width: 10px;
    }

    .faq-answer-inner p {
        max-width: 100%;
        font-size: 0.9rem;
    }
}

/* Defensive overrides: Ensure ONLY .faq-icon renders, no pseudo-element icons */
.faq-list summary::before {
    content: none !important;
    display: none !important;
}

.faq-list summary::after {
    content: none !important;
    display: none !important;
}

/* Additional safety: ensure no marker pseudo-elements */
.faq-list summary::-webkit-details-marker {
    display: none !important;
}

.faq-list summary::marker {
    content: '' !important;
    display: none !important;
}