/* ============================================
   LightScreen Pro — PREMIUM LUXURY MODERN 2025-2026
   Чистота, воздух, золото, Bento UI, микроанимации
   ============================================ */

/* ========== ПРЕМИАЛЬНЫЕ ПЕРЕМЕННЫЕ ========== */
:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Изысканная типографика */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
    
    /* Просторные отступы */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 5rem;
    --spacing-4xl: 8rem;
    
    /* Плавные анимации с правильным easing */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Премиальная цветовая схема */
    --bg-primary: #ffffff;
    --bg-secondary: #faf9f7;
    --bg-tertiary: #f5f3f0;
    --bg-accent: #faf8f5;
    
    --text-primary: #1a1614;
    --text-secondary: #4a4542;
    --text-muted: #8a8580;
    --text-light: #b5b0aa;
    
    --border-subtle: rgba(0, 0, 0, 0.04);
    --border-medium: rgba(0, 0, 0, 0.06);
    --border-strong: rgba(0, 0, 0, 0.08);
    
    /* Дорогие золотые акценты */
    --accent-gold: #c9a84c;
    --accent-gold-light: #dfc27d;
    --accent-gold-dark: #9a7b2e;
    --accent-gold-soft: rgba(201, 168, 76, 0.08);
    --accent-vibrant: #ff6b6b;
    
    /* Премиальные тени */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.02), 0 2px 4px rgba(0, 0, 0, 0.01);
    --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.03), 0 4px 8px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.04), 0 8px 16px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.05), 0 12px 24px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 0 60px rgba(201, 168, 76, 0.08);
    --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.01), 0 8px 16px rgba(0, 0, 0, 0.02), 0 16px 32px rgba(0, 0, 0, 0.02);
    --shadow-bento: 0 10px 30px -5px rgba(0, 0, 0, 0.03), 0 5px 15px rgba(0, 0, 0, 0.02);
    --shadow-bento-hover: 0 25px 40px -10px rgba(0, 0, 0, 0.06), 0 10px 25px rgba(201, 168, 76, 0.05);
    
    /* Стеклянные эффекты */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-hover: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(20px);
    
    /* Градиенты */
    --gradient-gold: linear-gradient(135deg, #c9a84c 0%, #dfc27d 50%, #c9a84c 100%);
    --gradient-dark: linear-gradient(135deg, #1a1614 0%, #2a2420 100%);
    --gradient-light: linear-gradient(135deg, #ffffff 0%, #faf9f7 100%);
    
    /* Переменные для параллакса */
    --mouse-x: 0px;
    --mouse-y: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: 1.6;
    background: var(--bg-secondary);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Декоративные фоновые элементы */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-gold-soft) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at calc(50% + var(--mouse-x)) calc(50% + var(--mouse-y)), var(--accent-gold-soft) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

/* ========== ПРЕЛОАДЕР ========== */
#page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

#page-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-size: 4rem;
    animation: softPulse 2s ease-in-out infinite;
}

.preloader-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 16px;
    letter-spacing: -0.02em;
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    margin: 24px auto 0;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes softPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* ========== ТИПОГРАФИКА ========== */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--font-size-5xl); margin-bottom: var(--spacing-lg); }
h2 { font-size: var(--font-size-3xl); margin-bottom: var(--spacing-md); }
h3 { font-size: var(--font-size-xl); margin-bottom: var(--spacing-sm); }

.gradient-text {
    background: linear-gradient(135deg, #1a1a1a, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Уверенная типографика 2025-2026 */
.display-1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.brutalist-title {
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    border-left: 6px solid var(--accent-vibrant);
    padding-left: var(--spacing-lg);
    letter-spacing: -0.02em;
    font-size: 1.5rem;
}

/* ========== СТИЛИ ПОЛОС ПРОКРУТКИ ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37, #b8960c);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e6c144, #c9a61d);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #d4af37 #f0f0f0;
}

/* Горизонтальные скроллы */
.color-palette::-webkit-scrollbar,
.colors-scroll::-webkit-scrollbar,
.ui-row::-webkit-scrollbar,
.catalog-grid::-webkit-scrollbar {
    height: 4px;
}

.color-palette::-webkit-scrollbar-track,
.colors-scroll::-webkit-scrollbar-track,
.ui-row::-webkit-scrollbar-track,
.catalog-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.color-palette::-webkit-scrollbar-thumb,
.colors-scroll::-webkit-scrollbar-thumb,
.ui-row::-webkit-scrollbar-thumb,
.catalog-grid::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

/* ========== КОНТЕЙНЕР ========== */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

/* ========== ПРЕМИАЛЬНЫЕ КНОПКИ ========== */
.btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 60px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(4px);
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.btn:hover::before {
    opacity: 0.05;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent-gold-light);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.btn:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.2);
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}

.btn-primary {
    background: var(--gradient-dark);
    border: none;
    color: white;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
    border-radius: 60px;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    color: var(--text-primary);
    border-color: transparent;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-medium);
    color: var(--text-primary);
    box-shadow: none;
    backdrop-filter: none;
}

.btn-outline:hover {
    background: var(--bg-primary);
    border-color: var(--accent-gold);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-base);
    position: relative;
}

.btn-link:hover {
    gap: 12px;
    color: var(--accent-gold-dark);
    text-decoration: none;
}

.btn-pulse {
    animation: softPulse 2s ease-in-out infinite;
}

/* ========== ЗАГОЛОВКИ СЕКЦИЙ ========== */
.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    background: linear-gradient(135deg, #1a1a1a, #4a4a4a, #b8960c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, transparent);
    margin: var(--spacing-md) auto 0;
    border-radius: 3px;
}

.category-title {
    font-size: var(--font-size-3xl);
    margin: var(--spacing-3xl) 0 var(--spacing-xl);
    padding-left: var(--spacing-lg);
    border-left: 4px solid #d4af37;
    position: relative;
}

.category-title::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #d4af37, #b8960c);
    border-radius: 4px;
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
    font-size: var(--font-size-lg);
    line-height: 1.5;
}

/* ========== ПРЕМИАЛЬНЫЙ ХЕДЕР ========== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;  /* ← сплошной белый фон */
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 80px;
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    height: 64px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-base);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    font-size: 36px;
    transition: font-size var(--transition-base);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.2));
}

.site-header.scrolled .logo-icon {
    font-size: 30px;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.03em;
    transition: font-size var(--transition-base);
}

.site-header.scrolled .logo-text {
    font-size: 22px;
}

/* ========== НАВИГАЦИЯ ========== */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 100px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--accent-gold);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: calc(100% - 36px);
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.nav-link:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.2);
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}

.nav-icon {
    font-size: 18px;
}

/* Дропдаун */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform var(--transition-base);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
    z-index: 100;
    box-shadow: var(--shadow-xl);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--accent-gold-soft);
    color: var(--text-primary);
    transform: translateX(5px);
}

/* ========== МОБИЛЬНОЕ МЕНЮ ========== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 10px;
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 999;
    transition: right var(--transition-base);
    padding: 90px 24px 30px;
    overflow-y: auto;
    border-left: 1px solid var(--border-subtle);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.mobile-nav-icon {
    font-size: 24px;
    width: 32px;
}

.mobile-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
}

.mobile-dropdown-arrow {
    transition: transform var(--transition-base);
}

.mobile-dropdown.open .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    padding-left: 46px;
    padding-bottom: 16px;
}

.mobile-dropdown.open .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.mobile-dropdown-menu a:hover {
    color: var(--accent-gold);
}

/* ========== BENTO UI GRID ========== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin: var(--spacing-2xl) 0;
}

.bento-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 36px;
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-bento);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bento-item.tall { grid-row: span 2; }
.bento-item.wide { grid-column: span 2; }

.bento-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-bento-hover);
    border-color: var(--accent-gold-light);
    background: var(--glass-bg-hover);
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-gold);
}

.bento-item h3 {
    font-size: 1.35rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 600;
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========== ПРЕМИАЛЬНЫЙ ФУТЕР ========== */
.footer {
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer .container {
    max-width: 1200px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-vibrant);
    transition: width 0.2s;
}

.footer-links a:hover {
    color: var(--accent-vibrant);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-subtle);
}

/* Старый футер (для обратной совместимости) */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    position: relative;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-gold);
    transition: width var(--transition-base);
}

.footer-col a:hover::after {
    width: 100%;
}

.footer-col a:hover {
    color: var(--accent-gold);
    transform: translateX(6px);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
}

/* ========== ХЛЕБНЫЕ КРОШКИ ========== */
.breadcrumbs {
    padding: 16px 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
}

.breadcrumbs a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-gold);
    transition: width var(--transition-base);
}

.breadcrumbs a:hover::after {
    width: 100%;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-light);
}

/* ========== ПРЕМИАЛЬНЫЕ КАРТОЧКИ ========== */
.catalog-item,
.tool-card,
.health-card,
.contact-card,
.home-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 32px;
    padding: var(--spacing-xl) var(--spacing-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    animation: cardAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: var(--shadow-card);
}

.catalog-item::before,
.tool-card::before,
.health-card::before,
.contact-card::before,
.home-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-gold-soft), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.catalog-item:hover::before,
.tool-card:hover::before,
.health-card:hover::before,
.contact-card:hover::before,
.home-card:hover::before {
    opacity: 1;
}

.catalog-item:hover,
.tool-card:hover,
.health-card:hover,
.contact-card:hover,
.home-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    background: var(--glass-bg-hover);
    border-color: var(--accent-gold-light);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Анимация появления карточек */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Staggered animation */
.catalog-item:nth-child(1) { animation-delay: 0.05s; }
.catalog-item:nth-child(2) { animation-delay: 0.1s; }
.catalog-item:nth-child(3) { animation-delay: 0.15s; }
.catalog-item:nth-child(4) { animation-delay: 0.2s; }
.catalog-item:nth-child(5) { animation-delay: 0.25s; }
.catalog-item:nth-child(6) { animation-delay: 0.3s; }

/* Сетки */
.catalog-grid,
.tools-grid,
.contacts-grid,
.health-grid,
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

/* ========== СТРАНИЦА КАТАЛОГА ЦВЕТОВ ========== */
.colors-catalog {
    padding: 60px 0;
}

.colors-catalog h1 {
    font-size: var(--font-size-5xl);
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a, #d4af37, #b8960c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.catalog-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.catalog-item:hover .catalog-preview {
    transform: scale(1.05);
    box-shadow: 0 0 25px currentColor;
}

.catalog-name {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.catalog-icon {
    text-align: center;
    font-size: 28px;
}

/* ========== ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ ДЛЯ ЦВЕТОВ ========== */
.colors-scroll {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: var(--spacing-md) 0 var(--spacing-xl);
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: #d4af37 #f0f0f0;
}

.colors-scroll:active {
    cursor: grabbing;
}

.color-card {
    flex-shrink: 0;
    width: 110px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: var(--spacing-lg) var(--spacing-sm);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.color-card:hover {
    transform: translateY(-6px) scale(1.02) rotateX(2deg);
    border-color: var(--accent-gold);
    background: var(--glass-bg-hover);
    box-shadow: var(--shadow-glow);
}

.color-preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.color-card:hover .color-preview {
    transform: scale(1.05);
    box-shadow: 0 0 20px currentColor;
}

.color-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.color-icon {
    font-size: var(--font-size-lg);
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.color-card:hover .color-icon {
    opacity: 1;
}

/* ========== ПРЕМИАЛЬНЫЙ ГЕРОЙ ========== */
.hero {
    text-align: center;
    padding: 100px 0 80px;
    animation: heroFade 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, var(--accent-gold-soft) 0%, transparent 50%);
    animation: slowRotate 30s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.04em;
    line-height: 1.1;
    animation: textReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    animation: textReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: textReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.875rem;
    color: var(--accent-gold);
}

.nowrap {
    white-space: nowrap;
}

/* ========== ПРЕИМУЩЕСТВА (старые) ========== */
.features {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature {
    text-align: center;
    padding: 32px 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
}

.feature:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold-light);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========== ПРЕМИАЛЬНЫЙ FAQ ========== */
.faq {
    padding: 60px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: 24px;
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--accent-gold-light);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
    transition: all var(--transition-base);
    font-size: 1.0625rem;
}

.faq-item.open .faq-question {
    background: var(--accent-gold-soft);
    color: var(--accent-gold-dark);
}

.faq-arrow {
    color: var(--accent-gold);
    transition: all var(--transition-base);
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    background: var(--accent-gold);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 32px;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer > div {
    padding-bottom: 24px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
}

.faq-answer a {
    color: var(--accent-gold);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ========== ПРЕДУПРЕЖДЕНИЕ ========== */
.warning-compact {
    background: #fff9e6;
    border-left: 4px solid var(--accent-gold);
    border-radius: 16px;
    padding: 16px 20px;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.warning-compact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.warning-compact-text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.warning-compact-text strong {
    color: var(--accent-gold-dark);
    font-weight: 600;
}

.warning-compact-link {
    color: var(--accent-gold-dark);
    text-decoration: none;
    margin-left: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.warning-compact-link:hover {
    text-decoration: underline;
}

.warning-compact-details {
    display: none;
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.warning-compact-details.show {
    display: block;
}

.warning-compact-details p {
    margin: 8px 0;
}

.warning-compact-details ul {
    margin: 8px 0 8px 20px;
}

.warning-compact-details li {
    margin: 4px 0;
}

/* ========== SEO ТЕКСТ ========== */
.seo-text-block {
    padding: 40px 0 60px;
}

.seo-text-wrapper {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.seo-text-wrapper h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.seo-text-wrapper p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.seo-text-wrapper h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 28px 0 16px;
    font-weight: 600;
}

.seo-text-wrapper ul,
.seo-text-wrapper ol {
    margin: 16px 0 16px 24px;
    color: var(--text-secondary);
}

.seo-text-wrapper li {
    margin-bottom: 8px;
}

.seo-text-full {
    margin-top: 24px;
}

.btn-readmore {
    background: var(--accent-gold-soft);
    border: 1px solid var(--accent-gold-light);
    color: var(--accent-gold-dark);
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: all var(--transition-base);
}

.btn-readmore:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== КНОПКА НАВЕРХ ========== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-primary);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-lg);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-gold);
}

/* ========== СТРАНИЦА О ПРОЕКТЕ ========== */
.about-page {
    padding: 60px 0;
}

.about-page h1 {
    font-size: var(--font-size-5xl);
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 48px;
}

.about-section h2 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.about-section p,
.about-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
}

/* ========== СТРАНИЦА КОНТАКТОВ ========== */
.contacts-page {
    padding: 60px 0;
    min-height: 70vh;
}

.contacts-page h1 {
    font-size: var(--font-size-5xl);
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-card {
    text-align: center;
}

.contact-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.contact-card h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 1rem;
}

.contact-card a {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
}

.contact-note {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    background: var(--accent-gold-soft);
    border-radius: 32px;
    max-width: 700px;
    margin: 60px auto 0;
}

/* ========== СТРАНИЦА СВЕТОТЕРАПИИ ========== */
.health-page {
    padding: 60px 0;
}

.health-page h1 {
    font-size: var(--font-size-5xl);
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.health-card {
    text-align: center;
}

.health-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.health-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.health-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.health-info {
    background: var(--accent-gold-soft);
    border-radius: 32px;
    padding: 48px;
    margin-top: 48px;
}

.health-info h2 {
    color: var(--accent-gold-dark);
    margin-bottom: 24px;
    font-size: 1.75rem;
}

.health-info p,
.health-info li {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========== СТРАНИЦА ИНСТРУМЕНТОВ ========== */
.tools-page {
    padding: 60px 0;
    min-height: 70vh;
}

.tools-page h1 {
    font-size: var(--font-size-5xl);
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tool-card {
    text-align: center;
}

.tool-icon {
    font-size: 56px;
    margin-bottom: 24px;
}

.tool-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.tool-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.tool-link {
    color: var(--accent-gold);
    font-size: 0.9375rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tool-card:hover .tool-link {
    gap: 12px;
}

/* ========== СТРАНИЦА ДОМАШНИЙ УЮТ ========== */
.home-page {
    padding: 60px 0;
}

.home-page h1 {
    font-size: var(--font-size-5xl);
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-card {
    text-align: center;
}

.home-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.home-card h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.home-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ========== СТРАНИЦА 404 ========== */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    font-size: 140px;
    font-weight: 700;
    background: linear-gradient(135deg, #d4af37, #b8960c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

.error-title {
    font-size: 2.25rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.error-text {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.125rem;
}

.error-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== ОТЗЫВЫ И КЕЙСЫ ========== */
.reviews-section {
    padding: 60px 0;
    background: var(--bg-tertiary);
    border-radius: 48px;
    margin: 40px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 32px;
    padding: 32px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    background: var(--glass-bg-hover);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
}

.review-info h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.review-stars {
    color: var(--accent-gold);
    font-size: 14px;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 14px;
}

.review-date {
    font-size: 11px;
    color: var(--text-muted);
}

.review-platform {
    display: inline-block;
    background: var(--accent-gold-soft);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--accent-gold-dark);
    margin-top: 12px;
}

.cases-section {
    padding: 60px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.case-card {
    background: var(--bg-primary);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-xl);
}

.case-images {
    display: flex;
    position: relative;
    background: #fafafa;
}

.case-before, .case-after {
    flex: 1;
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.case-before {
    border-right: 1px solid var(--border-subtle);
}

.case-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.case-before .case-badge {
    color: #c92a2a;
}

.case-after .case-badge {
    color: #2b8a3e;
}

.case-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 12px;
    transition: 0.3s;
    box-shadow: 0 0 20px currentColor;
}

.case-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.case-desc-small {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
}

.case-content {
    padding: 24px;
    text-align: center;
}

.case-content h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.case-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.case-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.case-stat {
    text-align: center;
}

.case-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-gold-dark);
}

.case-stat-label {
    font-size: 10px;
    color: var(--text-muted);
}

.add-review-btn {
    display: block;
    text-align: center;
    margin-top: 40px;
}

.stat-number {
    display: inline-block;
    font-weight: 700;
    color: var(--accent-gold-dark);
}

/* ========== АНИМАЦИИ ========== */
@keyframes ripple {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 300px; height: 300px; opacity: 0; }
}

@keyframes subtlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-indicator {
    animation: subtlePulse 2s ease-in-out infinite;
}

/* Анимированный градиентный фон */
.animated-bg {
    background: linear-gradient(-45deg, #faf9f7, #fff, #f5f3f0, #faf9f7);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.03));
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
    border-radius: 8px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-gold-soft);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--accent-gold-dark);
    font-weight: 500;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 992px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .header-container { height: 64px; padding: 0 20px; }
    
    h1 { font-size: var(--font-size-4xl); }
    h2 { font-size: var(--font-size-2xl); }
    .section-title { font-size: var(--font-size-3xl); }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-item.wide {
        grid-column: span 2;
    }
    .bento-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    h1 { font-size: var(--font-size-3xl); }
    .hero { padding: 60px 0 40px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.75rem; }
    .hero-features { gap: 16px; font-size: 0.75rem; }
    
    .catalog-grid,
    .tools-grid,
    .contacts-grid,
    .health-grid,
    .home-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .color-card { width: 95px; }
    .color-preview { width: 50px; height: 50px; }
    .color-name { font-size: 0.75rem; }
    
    .seo-text-wrapper { padding: 24px; }
    .seo-text-wrapper h2 { font-size: 1.25rem; }
    
    .contacts-page h1 { font-size: 2.25rem; }
    .contact-card { padding: 35px 20px; }
    .error-code { font-size: 100px; }
    .error-title { font-size: 1.5rem; }
    .health-page h1 { font-size: 2.25rem; }
    .tools-page h1 { font-size: 2.25rem; }
    .home-page h1 { font-size: 2.25rem; }
    
    .subtitle {
        font-size: 1rem;
        padding: 0 16px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .case-images {
        flex-direction: column;
    }
    
    .case-before {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 640px) {
    .nowrap { white-space: normal; }
    
    .hero h1 { font-size: 2rem; }
    .hero-buttons .btn { padding: 12px 24px; font-size: 0.875rem; }
    .hero-features { flex-direction: column; align-items: center; gap: 8px; }
    
    .warning-compact { padding: 12px; }
    .warning-compact-text { font-size: 0.75rem; }
    
    .colors-scroll { gap: 12px; }
    .color-card { width: 85px; }
    .color-preview { width: 45px; height: 45px; }
    .color-name { font-size: 0.6875rem; }
    
    .section-title { font-size: 1.5rem; }
    
    .faq-question { padding: 20px 24px; font-size: 0.9375rem; }
    .faq-answer { padding: 0 24px; }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item.wide {
        grid-column: span 1;
    }
    
    .brutalist-title {
        font-size: 1.2rem;
        border-left-width: 4px;
        padding-left: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .btn { padding: 10px 20px; font-size: 0.875rem; }
    .btn-large { padding: 12px 28px; }
    .section-title { font-size: 1.5rem; }
    .logo-text { font-size: 1.25rem; }
    .logo-icon { font-size: 28px; }
    
    .catalog-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .subtitle {
        font-size: 0.875rem;
    }
    
    .preloader-logo {
        font-size: 3rem;
    }
    
    .preloader-text {
        font-size: 1.2rem;
    }
}