/* ========================================
   SPOLU - Modern Design System
   ======================================== */

/* CSS Variables - Design Tokens (SPOLU Editorial Style) */
:root {
    /* SPOLU Brand Colors - Warm Editorial Palette */
    --ink: #0E0E0E;
    --paper: #F5F2EC;
    --cream: #EDE9E0;
    --accent: #C84B2F;
    --accent2: #2F6AC8;
    --muted: #6B6760;
    --border: rgba(14, 14, 14, 0.1);

    /* Modern aliases (for backward compatibility) */
    --color-primary: #C84B2F;
    --color-primary-dark: #A33D24;
    --color-primary-light: #D66247;
    --color-primary-hover: #A33D24;

    --color-accent: #2F6AC8;
    --color-accent-dark: #2355A0;
    --color-accent-light: #4A7FD4;

    --color-warning: #E8A04A;
    --color-error: #C84B2F;
    --color-success: #2F6AC8;

    /* Neutral Colors - Warm Grays */
    --color-dark: #0E0E0E;
    --color-dark-secondary: #1A1A1A;
    --color-gray-900: #252525;
    --color-gray-800: #3A3A3A;
    --color-gray-700: #4F4F4F;
    --color-gray-600: #6B6760;
    --color-gray-500: #8B8680;
    --color-gray-400: #A8A39E;
    --color-gray-300: #C5C0BB;
    --color-gray-200: #DDD9D4;
    --color-gray-100: #EDE9E0;
    --color-gray-50: #F5F2EC;
    --color-white: #FFFFFF;

    /* Background Colors */
    --bg-primary: #F5F2EC;
    --bg-secondary: #EDE9E0;
    --bg-tertiary: #E5E1D8;
    --bg-dark: #0E0E0E;
    --bg-dark-secondary: #1A1A1A;

    /* Text Colors */
    --text-primary: #0E0E0E;
    --text-secondary: #6B6760;
    --text-tertiary: #8B8680;
    --text-inverse: #F5F2EC;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius - More subtle */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 9999px;

    /* Shadows - Softer */
    --shadow-sm: 0 1px 2px 0 rgba(14, 14, 14, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(14, 14, 14, 0.08), 0 2px 4px -1px rgba(14, 14, 14, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(14, 14, 14, 0.08), 0 4px 6px -2px rgba(14, 14, 14, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(14, 14, 14, 0.08), 0 10px 10px -5px rgba(14, 14, 14, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(14, 14, 14, 0.15);
    --shadow-inner: inset 0 2px 4px 0 rgba(14, 14, 14, 0.04);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography - Editorial Style */
    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'DM Serif Display', Georgia, 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: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Line Heights */
    --leading-tight: 1.05;
    --leading-snug: 1.25;
    --leading-normal: 1.6;
    --leading-relaxed: 1.65;
    --leading-loose: 1.8;

    /* Container */
    --container-max-width: 1160px;
    --container-padding: 2rem;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
}

/* Noise/Grain Texture Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: var(--leading-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: var(--text-5xl);
    line-height: 1.05;
    letter-spacing: -0.03em;
}
h2 { 
    font-size: var(--text-4xl);
    line-height: 1.1;
    letter-spacing: -0.025em;
}
h3 { 
    font-size: var(--text-3xl);
    line-height: 1.15;
}
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

h1 em, h2 em, h3 em {
    font-style: italic;
    color: var(--accent);
}

p {
    margin-bottom: var(--space-md);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-hover);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.language-switcher .lang-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.language-switcher a.lang-option {
    cursor: pointer;
}

.language-switcher a.lang-option:hover {
    opacity: 0.85;
    transform: scale(1.1);
}

.language-switcher .lang-option.active {
    opacity: 1;
    cursor: default;
}

/* Responsive spacing */
@media (max-width: 768px) {
    .language-switcher {
        gap: 0.5rem;
    }

    .language-switcher .lang-option {
        font-size: 1.25rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-inverse);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--color-gray-300);
}

.btn-secondary:hover {
    background: var(--color-gray-200);
    border-color: var(--color-gray-400);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--text-inverse);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: var(--text-lg);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
}

/* Cards */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-featured {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: var(--text-inverse);
}

.badge-success {
    background: var(--color-success);
    color: var(--text-inverse);
}

/* Gradients */
.gradient-background {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInFromLeft 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInFromRight 0.6s ease-out;
}

/* Forms */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-family: var(--font-sans);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-input::placeholder {
    color: var(--color-gray-400);
}

.form-error {
    font-size: var(--text-sm);
    color: var(--color-error);
    margin-top: var(--space-xs);
}

/* Loading states */
.skeleton {
    background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-gray-200);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive utilities */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2.25rem;
        --text-4xl: 1.875rem;
        --text-3xl: 1.5rem;
        --container-padding: 1rem;
    }

    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    h3 { font-size: var(--text-2xl); }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Remove outline from headings set by FocusOnNavigate */
h1:focus,
h2:focus,
h3:focus,
h4:focus,
h5:focus,
h6:focus {
    outline: none;
}

/* ========================================
   SPOLU EDITORIAL COMPONENTS
   ======================================== */

/* Eyebrow Label */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.eyebrow-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

/* Section Label */
.section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-label-line {
    width: 32px;
    height: 1px;
    background: var(--muted);
}

.section-label-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Marquee */
.marquee-wrap {
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marqueeScroll 40s linear infinite;
    will-change: transform;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
}

.marquee-dot {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Quote Block */
.quote-block {
    padding: 2rem;
    background: var(--bg-secondary);
    border-left: 3px solid var(--accent);
    font-size: 1.125rem;
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    font-style: italic;
    margin: 2rem 0;
}

/* Pair Cards (from old concept section) */
.pair-card {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.pair-side {
    flex: 1;
    padding: 1.5rem;
    background: var(--bg-secondary);
}

.pair-side.active {
    background: rgba(200, 75, 47, 0.06);
    border-left: 2px solid var(--accent);
}

.pair-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.pair-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pair-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--muted);
    padding: 0 0.5rem;
}

/* Editorial Hero Styles */
.hero-editorial {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
}

.hero-editorial .hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    max-width: 14ch;
    margin-bottom: 1.5rem;
}

.hero-editorial .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--muted);
    max-width: 62ch;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.scroll-indicator-line {
    width: 40px;
    height: 1px;
    background: var(--muted);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Fade-in animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeIn {
    animation: fadeUp 0.7s ease-out forwards;
}

.animate-fadeIn:nth-child(1) { animation-delay: 0.1s; opacity: 0; }
.animate-fadeIn:nth-child(2) { animation-delay: 0.2s; opacity: 0; }
.animate-fadeIn:nth-child(3) { animation-delay: 0.35s; opacity: 0; }
.animate-fadeIn:nth-child(4) { animation-delay: 0.5s; opacity: 0; }

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Section Styles */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 60ch;
    margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ========================================
   ICON SHAPES - Professional Static Icons
   ======================================== */

.icon-shape {
    width: 64px;
    height: 64px;
    display: inline-block;
    position: relative;
    transition: opacity 0.2s ease;
}

.icon-shape:hover {
    opacity: 0.85;
}

.icon-circle {
    background: #4f46e5;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

.icon-hexagon {
    background: #0891b2;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.15);
}

.icon-diamond {
    background: #10b981;
    transform: rotate(45deg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.icon-square {
    background: #f59e0b;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.icon-triangle {
    background: #8b5cf6;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}

.icon-pentagon {
    background: #ec4899;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.15);
}

/* ========================================
   PUBLIC LAYOUT - HEADER & FOOTER FULL WIDTH
   ======================================== */

/* Header Full Width */
.public-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    background: #FFFFFF !important;
    border-bottom: 2px solid rgba(14, 14, 14, 0.08) !important;
    box-shadow: 0 4px 12px 0 rgba(14, 14, 14, 0.06) !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.public-header.scrolled {
    box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.public-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.25rem 2rem !important;
    gap: 2rem !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Footer Full Width */
.public-footer {
    width: 100% !important;
    background: #FFFFFF !important;
    color: #0E0E0E !important;
    padding: 3rem 0 2rem !important;
    border-top: 2px solid rgba(14, 14, 14, 0.08) !important;
    box-shadow: 0 -4px 12px 0 rgba(14, 14, 14, 0.04) !important;
}

.footer-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: center !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    width: 100% !important;
}

/* Navigation Menu Styling */
.nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    flex: 1 !important;
    justify-content: center !important;
}

.nav-link {
    position: relative !important;
    padding: 0.625rem 1.25rem !important;
    font-size: 1.0625rem !important;
    font-weight: 500 !important;
    color: #6B6760 !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 6px !important;
}

.nav-link:hover {
    color: #0E0E0E !important;
}

.logo {
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.logo:hover {
    opacity: 0.8 !important;
}

/* Footer Links */
.footer-logo {
    display: inline-block !important;
    transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer-logo:hover {
    opacity: 0.7 !important;
}

.footer-copy {
    color: rgba(14, 14, 14, 0.6) !important;
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.footer-copy a {
    color: rgba(14, 14, 14, 0.4) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(14, 14, 14, 0.15) !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.footer-copy a:hover {
    color: #0E0E0E !important;
    border-bottom-color: rgba(14, 14, 14, 0.3) !important;
}

.footer-links {
    display: flex !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-wrap: wrap !important;
}

.footer-links a {
    color: rgba(14, 14, 14, 0.6) !important;
    font-size: 0.875rem !important;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
}

.footer-links a:hover {
    color: #0E0E0E !important;
}

/* Footer Top Row - Logo + Copyright inline */
.footer-top {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    flex-wrap: wrap !important;
}

.footer-top .footer-logo {
    flex-shrink: 0 !important;
}

.footer-top .footer-copy {
    margin: 0 !important;
}

/* Increase bottom padding for all page sections to create space before footer */
.page-section {
    padding-bottom: 8rem !important;
}

/* ========================================
   ACCESSIBILITY UTILITIES
   ======================================== */

/* Visually hidden - SEO & Screen Reader only */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
}

