/* ---------- LUXURY EASING & GLOBAL ENHANCEMENTS ---------- */
:root {
    /* Primary Color Scheme - Blue tones for trust and professionalism */
    --color-primary: #4361ee;
    --color-primary-dark: #3a56d4;
    --color-primary-light: #4895ef;
    --color-secondary: #198754;
    --color-accent: #ff6b6b;
    --color-success: #198754;
    --color-warning: #ffc107;
    --color-error: #dc3545;
    
    /* Neutral Colors */
    --color-bg: #f8f9fa;
    --color-bg-secondary: #e9ecef;
    --color-surface: #ffffff;
    --color-border: #dee2e6;
    --color-border-light: #ced4da;
    
    /* Text Colors */
    --color-text: #212529;
    --color-text-secondary: #495057;
    --color-text-muted: #6c757d;
    --color-text-light: #f8f9fa;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Enhanced shadows for depth */
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-deep: 0 30px 90px rgba(0, 0, 0, 0.16);
    --shadow-lift: 0 40px 120px rgba(0, 0, 0, 0.2);
    
    /* Radii */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Luxury easing curves */
    --ease-luxury: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.1, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-morph: cubic-bezier(0.77, 0, 0.175, 1);
    
    /* Glass effect */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --glass-blur: blur(16px);
    
    /* Animation durations */
    --duration-micro: 150ms;
    --duration-fast: 300ms;
    --duration-base: 500ms;
    --duration-slow: 800ms;
    --duration-luxury: 1200ms;
    
    /* Typography */
    --font-heading: 'Satoshi', 'Manrope', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Container */
    --container-width: 1200px;
    --container-padding: 24px;
    
    /* Text Stroke */
    --text-stroke-width: 1px;
}

/* Dark Mode */
.dark-mode {
    --color-bg: #0f172a;
    --color-bg-secondary: #1e293b;
    --color-surface: #334155;
    --color-border: #475569;
    --color-border-light: #475569;
    --color-text: #f1f5f9;
    --color-text-secondary: #cbd5e1;
    --color-text-muted: #94a3b8;
    --color-text-light: #f8fafc;
}

/* ---------- GLOBAL SMOOTHNESS ENHANCEMENTS ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ---------- GLOBAL SMOOTHNESS ENHANCEMENTS ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* единое значение для якорей */
    font-kerning: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* критическое исправление */
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    background-attachment: fixed;
    background-size: 100% 100%;
    position: relative;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

/* Smooth scroll behavior */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
}

*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 20px;
}

/* ---------- PREMIUM CONTAINER ENHANCEMENTS ---------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-border) 50%, 
        transparent 100%);
    opacity: 0.3;
}



/* Soft parallax background */
.hero__bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, 
            rgba(67, 97, 238, 0.03) 0%, 
            rgba(73, 149, 239, 0.06) 100%),
        radial-gradient(
            circle at 20% 80%,
            rgba(67, 97, 238, 0.08) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(73, 149, 239, 0.06) 0%,
            transparent 50%
        );
    animation: gradientShift 20s ease infinite alternate;
    z-index: -2;
}

@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 0%;
        background-size: 100% 100%;
    }
    50% { 
        background-position: 100% 100%;
        background-size: 150% 150%;
    }
}

/* Depth effect overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(0, 0, 0, 0.05) 0%,
            transparent 50%
        );
    pointer-events: none;
    z-index: -1;
    opacity: .4;
}


.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 2rem;
    animation: floatLuxury 6s var(--ease-luxury) infinite;
    backdrop-filter: var(--glass-blur);
    background: var(--color-primary);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

@keyframes floatLuxury {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    33% { 
        transform: translateY(-10px) rotate(1deg); 
    }
    66% { 
        transform: translateY(5px) rotate(-1deg); 
    }
}

/* Title line-by-line reveal */
.hero__title {
    margin-bottom: 1.5rem;
}


.hero__title-sub {
    display: block;
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    opacity: 0;
    transform: translateY(20px);
    animation: titleReveal 1.2s var(--ease-luxury) 0.3s forwards;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
}

.hero__list {
    list-style: none;
    margin-bottom: 2rem;
}

.hero__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--color-text);
    opacity: 0;
    transform: translateX(-20px);
    animation: listItemReveal 0.8s var(--ease-smooth) forwards;
}

.hero__list li:nth-child(1) { animation-delay: 0.6s; }
.hero__list li:nth-child(2) { animation-delay: 0.8s; }
.hero__list li:nth-child(3) { animation-delay: 1.0s; }
.hero__list li:nth-child(4) { animation-delay: 1.2s; }
.hero__list li:nth-child(5) { animation-delay: 1.4s; }

@keyframes listItemReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero__list li i {
    color: var(--color-success);
}

.hero__actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero__stats {
    display: flex;
    gap: 2rem;
    perspective: 1000px;
}

.stat {
    position: relative;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform var(--duration-base) var(--ease-luxury);
}

.stat:hover {
    transform: translateY(-10px) translateZ(20px);
}

.stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 100%
    );
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity var(--duration-fast) var(--ease-smooth);
    pointer-events: none;
}

.stat:hover::before {
    opacity: 1;
}

.stat__number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.stat__label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.hero__image {
    position: relative;
}

.hero__image::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(
        circle,
        rgba(255,255,255,.15),
        transparent 70%
    );
    opacity: .6;
    pointer-events: none;
}

/* Swiper depth effect */
.hero-swiper {
    max-width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-xl);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
    animation: swiperFloat 20s var(--ease-luxury) infinite alternate;
}

@keyframes swiperFloat {
    0%, 100% { transform: perspective(1000px) rotateX(2deg) rotateY(-2deg); }
    50% { transform: perspective(1000px) rotateX(-1deg) rotateY(1deg); }
}

.hero-swiper::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
}

.hero-swiper .swiper-slide {
    max-width: 100%;
}

.hero-swiper img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* ---------- PREMIUM GALLERY - ARCHITECTURAL PORTFOLIO ---------- */
.gallery {
    background: var(--color-bg-secondary);
    position: relative;
    background: linear-gradient(
        to bottom,
        var(--color-bg) 0%,
        var(--color-bg-secondary) 50%,
        var(--color-bg) 100%
    );
    padding: 100px 0;
}

.gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.04),
        transparent 30%,
        transparent 70%,
        rgba(0,0,0,0.03)
    );
    opacity: .4;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

.section__subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--color-surface);
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: all var(--duration-fast) var(--ease-morph);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-primary-light) 100%
    );
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--duration-base) var(--ease-morph);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.filter-btn.active::before {
    opacity: 1;
    transform: scale(1);
}

.filter-btn.active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Premium gallery hover effect */
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    isolation: isolate;
    transform-style: preserve-3d;
    transition: all var(--duration-base) var(--ease-luxury);
    overflow: hidden;
    background: var(--color-surface);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-smooth);
    z-index: 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-smooth);
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: var(--shadow-deep);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::after {
    opacity: 0.3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--duration-slow) var(--ease-luxury);
    filter: brightness(1) blur(0px);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) blur(1px);
}

.gallery-item__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: all var(--duration-base) var(--ease-luxury);
    z-index: 2;
}

.gallery-item:hover .gallery-item__overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item__overlay h4 {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-base) var(--ease-luxury) 0.1s;
}

.gallery-item__overlay p {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-base) var(--ease-luxury) 0.2s;
}

.gallery-item:hover .gallery-item__overlay h4,
.gallery-item:hover .gallery-item__overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- PREMIUM REVIEWS - SOCIAL PROOF ---------- */
.reviews {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-border) 50%, 
        transparent 100%);
    opacity: 0.3;
}

.reviews__container {
    position: relative;
    margin-bottom: 4rem;
}

.reviews-swiper {
    padding: 2rem 0;
}

.reviews-swiper .swiper-slide {
    opacity: 0.4;
    transform: scale(0.9);
    transition: all var(--duration-base) var(--ease-luxury);
}

.reviews-swiper .swiper-slide-active,
.reviews-swiper .swiper-slide-duplicate-active {
    opacity: 1;
    transform: scale(1);
}

/* Review cards with depth and glass */
.review-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: auto;
    box-shadow: var(--shadow-md);
    position: relative;
    backdrop-filter: var(--glass-blur);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: all var(--duration-base) var(--ease-luxury);
}

.review-card::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    opacity: .04;
    font-family: serif;
    pointer-events: none;
}

.review-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-smooth);
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-10px) translateZ(20px);
    box-shadow: var(--shadow-medium);
}

.review-card:hover::after {
    opacity: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: var(--color-text);
}

.review-date {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Living stars animation */
.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-flex;
    gap: 2px;
}

.stars i {
    color: #ffc107;
    margin-right: 2px;
}

.stars i.far {
    color: var(--color-border);
}

/* Убираем псевдоэлементы для звёзд */
.stars::before,
.stars::after {
    display: none !important;
}

.review-card:hover .stars i {
    animation: starPulse 2s var(--ease-elastic);
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.review-text {
    color: var(--color-text);
    line-height: 1.6;
}

.review-text p {
    position: relative;
    overflow: hidden;
}

.review-text p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--color-primary) 0%, 
        transparent 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-base) var(--ease-luxury);
}

.review-card:hover .review-text p::after {
    transform: scaleX(1);
}

/* ---------- PREMIUM BUTTON ENHANCEMENTS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--duration-fast) var(--ease-luxury);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform-style: preserve-3d;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transition: left 0.6s var(--ease-luxury);
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-primary-dark) 100%
    );
    color: white;
    box-shadow: 
        0 4px 20px rgba(67, 97, 238, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn--primary:hover {
    background: linear-gradient(
        135deg,
        var(--color-primary-dark) 0%,
        var(--color-primary) 100%
    );
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(67, 97, 238, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    border-image: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-primary-light) 100%
    ) 1;
}

.btn--outline:hover {
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-primary-dark) 100%
    );
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn--with-icon i {
    font-size: 1.1em;
}

.btn--large {
    padding: 16px 32px !important;
    font-size: 1.1rem !important;
}

.btn--small {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
}

.btn--block {
    width: 100% !important;
    display: block !important;
}

/* ---------- PREMIUM CARDS ENHANCEMENTS ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-base) var(--ease-luxury);
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(0);
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-smooth);
    pointer-events: none;
    z-index: 1;
}

.feature:hover {
    transform: translateY(-10px) translateZ(20px);
    box-shadow: var(--shadow-medium);
}

.feature:hover::before {
    opacity: 1;
}

.feature__icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    position: relative;
    transform-style: preserve-3d;
    transition: all var(--duration-base) var(--ease-luxury);
}

.feature:hover .feature__icon {
    transform: rotateY(180deg) scale(1.1);
}

.feature__icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-primary-light) 100%
    );
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-smooth);
}

.feature:hover .feature__icon::before {
    opacity: 0.2;
}

/* ---------- PREMIUM FORM ENHANCEMENTS ---------- */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: 0 0 0 0 rgba(0,0,0,0.08);
    transition: box-shadow 0.4s var(--ease-luxury);
    pointer-events: none;
}

.form-group:focus-within::after {
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    color: var(--color-text);
    transition: all var(--duration-fast) var(--ease-smooth);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 20px rgba(67, 97, 238, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.form-group label {
    transition: all var(--duration-fast) var(--ease-smooth);
}

.form-group:focus-within label {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Rating stars enhancement */
.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    cursor: pointer;
    color: var(--color-border);
    font-size: 1.5rem;
    transition: all var(--duration-fast) var(--ease-smooth);
}

.rating-stars label:hover {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.3));
}

.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input:checked ~ label {
    color: #ffc107;
}

.rating-stars input:checked ~ label {
    animation: starCheck 0.6s var(--ease-elastic);
}

@keyframes starCheck {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.2); }
}

/* ---------- DARK MODE ENHANCEMENTS ---------- */
.dark-mode .hero__bg {
    background: 
        linear-gradient(135deg, 
            rgba(67, 97, 238, 0.05) 0%, 
            rgba(73, 149, 239, 0.08) 100%),
        radial-gradient(
            circle at 20% 80%,
            rgba(67, 97, 238, 0.1) 0%,
            #000000 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(73, 149, 239, 0.08) 0%,
            #fff6f62e 50%
        );
}

.dark-mode .hero::before {
    background: 
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(0, 0, 0, 0.1) 0%,
            transparent 50%
        );
}

.dark-mode .review-card,
.dark-mode .feature {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .form-group input,
.dark-mode .form-group textarea {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(71, 85, 105, 0.8);
}

.dark-mode .header.scrolled {
    background: rgba(15, 23, 42, 0.98);
}

.dark-mode .gallery,
.dark-mode .prices {
    background: var(--color-bg-secondary);
}

.dark-mode .filter-btn,
.dark-mode .price-filter-btn {
    background: var(--color-surface);
}

.dark-mode .gallery-item {
    background: var(--color-surface);
}

.dark-mode .input-with-slider input[type="number"],
.dark-mode .material-option,
.dark-mode .counter input[type="number"],
.dark-mode textarea {
    background: var(--color-bg-secondary);
    border-color: var(--color-border);
}

.dark-mode .result-card,
.dark-mode .review-card,
.dark-mode .contact-card,
.dark-mode .modal__content {
    background: var(--color-surface);
    border-color: var(--color-border);
}

/* ---------- PREMIUM RESPONSIVE ENHANCEMENTS ---------- */
@media (max-width: 1200px) {
    .hero-swiper {
        transform: perspective(800px) rotateX(1deg) rotateY(-1deg);
    }
    
    .hero__container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .hero__image {
        order: -1;
    }
    
    .calculator__wrapper {
        grid-template-columns: 1fr;
    }
    
    .contacts__wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .nav.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .burger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 30px;
        height: 30px;
        justify-content: center;
    }
    
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero__title-main {
        font-size: 2.5rem;
    }
    
    .hero__stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer__main {
        grid-template-columns: 1fr;
    }
    
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Reduce animations on mobile for performance */
    .hero__badge,
    .hero-swiper,
    .gallery-item,
    .review-card,
    .feature {
        animation: none !important;
    }
    
    .hero__list li {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    
    /* Adjust hover effects for touch devices */
    .gallery-item:hover,
    .review-card:hover,
    .feature:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: scale(1.05);
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .about__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Simplify effects on very small screens */
    :root {
        --container-padding: 16px;
        --glass-blur: blur(4px);
    }
    
    .hero__title-main {
        font-size: 2rem;
    }
    
    .hero__title-sub {
        font-size: 1.2rem;
    }
    
    /* Disable complex gradients on mobile for performance */
    .hero__bg,
    .hero::before {
        background: rgba(67, 97, 238, 0.05);
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .modal__content {
        padding: 2rem 1.5rem;
    }
    
    .footer__nav {
        grid-template-columns: 1fr;
    }
    
    .footer__links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ---------- PERFORMANCE OPTIMIZATIONS ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Hardware acceleration for smooth animations */
.gallery-item,
.review-card,
.feature,
.result-card,
.contact-card,
.hero-swiper,
.btn {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ---------- SCROLL REVEAL ANIMATIONS ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px) rotateX(10deg);
    transition: all var(--duration-slow) var(--ease-luxury);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

[data-reveal-left] {
    opacity: 0;
    transform: translateX(-40px);
    transition: all var(--duration-slow) var(--ease-luxury);
}

[data-reveal-left].is-visible {
    opacity: 1;
    transform: translateX(0);
}

[data-reveal-right] {
    opacity: 0;
    transform: translateX(40px);
    transition: all var(--duration-slow) var(--ease-luxury);
}

[data-reveal-right].is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Add subtle noise texture for premium feel */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

/* Enhanced focus styles for accessibility */
*:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ТАБЛИЦ И КОНТЕЙНЕРОВ ===== */

/* Стили для таблиц */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--radius);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

th {
    background: var(--color-bg-secondary);
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tr:hover {
    background: rgba(67, 97, 238, 0.03);
}

td {
    vertical-align: middle;
}

/* Стили для ячеек с материалами */
.material-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.material-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.price-cell {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
    white-space: nowrap;
}

/* ===== СТИЛИ ДЛЯ КОНТЕЙНЕРОВ ЦЕН ===== */
.price-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2rem;
}

.price-filter-btn {
    padding: 10px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.price-filter-btn:hover,
.price-filter-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.price-tables {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.price-table {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface);
}

.price-table__header {
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.price-table__header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-table__toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--color-text);
}

/* ===== СТИЛИ ДЛЯ МОДАЛЬНЫХ ОКОН ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal__content {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-xl);
    line-height: 0.8;
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal__close:hover {
    background: var(--color-bg-secondary);
}

.modal__header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal__icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.modal__title {
    margin-bottom: 0.5rem;
}

.modal__subtitle {
    color: var(--color-text-secondary);
}

/* ===== СТИЛИ ДЛЯ ПОЛЕЙ ФОРМЫ ===== */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    color: var(--color-text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.input-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== СТИЛИ ДЛЯ ЧЕКБОКСОВ ===== */
.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox label {
    cursor: pointer;
    font-size: 0.9rem;
}

.accent-link {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ===== СТИЛИ ДЛЯ ЛОАДЕРА ===== */
.loader {
    text-align: center;
    padding: 3rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

.no-items, .error-message {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.no-items div, .error-message div {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ===== СТИЛИ ДЛЯ СЕКЦИЙ ===== */
.section {
    padding: 80px 0;
}

.section__footer {
    text-align: center;
    margin-top: 2rem;
}

/* ===== СТИЛИ ДЛЯ ХЕДЕРА ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-text);
}

.logo--accent {
    color: var(--color-primary);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.nav__link:hover {
    color: var(--color-primary);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--color-text);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.theme-toggle:hover {
    background: var(--color-bg-secondary);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== СТИЛИ ДЛЯ ФУТЕРА ===== */
.footer {
    background: var(--color-bg-secondary);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer__content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer__main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer__description {
    margin-top: 1rem;
    color: var(--color-text-secondary);
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__nav-column h4 {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.footer__nav-column a {
    display: block;
    color: var(--color-text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer__nav-column a:hover {
    color: var(--color-primary);
}

.footer__bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-text-secondary);
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer__links a {
    color: var(--color-text-secondary);
    text-decoration: none;
}

.footer__links a:hover {
    color: var(--color-primary);
}

/* ===== СТИЛИ ДЛЯ FAQ ===== */
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: var(--color-surface);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--color-text);
    cursor: pointer;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    background: var(--color-bg-secondary);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq__cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

/* ===== СТИЛИ ДЛЯ SEO ТЕКСТА ===== */
.seo-text {
    background: var(--color-bg-secondary);
    padding: 3rem 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.seo-text h2, .seo-text h3 {
    color: var(--color-text);
}

.seo-text ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.seo-text li {
    margin-bottom: 0.5rem;
}

/* ===== СТИЛИ ДЛЯ КОНТАКТОВ ===== */
.contact-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact-card__header {
    margin-bottom: 2rem;
}

.contact-badge {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}

.contact-value:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.vk { background: #4c75a3; }
.social-link.tg { background: #0088cc; }
.social-link.inst { background: #e4405f; }
.social-link.wa { background: #25d366; }

.map-container {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--color-border);
}

.map-placeholder {
    color: var(--color-text-secondary);
}

.map-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.map-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.map-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== СТИЛИ ДЛЯ КАЛЬКУЛЯТОРА ===== */
.calculator__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.calculator__inputs, .calculator__result {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.input-group {
    margin-bottom: 2rem;
    display: inline-block;
}

.input-with-slider {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-with-slider input[type="number"] {
    width: 100px;
    padding: 10px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.slider-container {
    flex: 1;
}

.slider {
    width: 100%;
    height: 8px;
    background: var(--color-bg-secondary);
    border-radius: 4px;
    outline: none;
    --webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
}

.material-select {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.material-option {
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.material-option.active {
    border-color: var(--color-primary);
    background: rgba(67, 97, 238, 0.05);
}

.material-option:hover:not(.active) {
    border-color: var(--color-primary-light);
}

.material-icon {
    width: 40px;
    height: 40px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.material-info {
    flex: 1;
}

.material-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.material-price {
    font-size: 0.9rem;
    color: var(--color-primary);
}

.material-check {
    color: var(--color-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.material-option.active .material-check {
    opacity: 1;
}

.counter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.counter input[type="number"] {
    width: 80px;
    padding: 10px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    text-align: center;
    font-size: 1.1rem;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.counter-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.input-hint {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
}

.result-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.result-header {
    margin-bottom: 2rem;
}

.result-badge {
    display: inline-block;
    background: var(--color-success);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.result-details {
    background: var(--color-bg-secondary);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.detail:last-child {
    border-bottom: none;
}

.detail span:first-child {
    color: var(--color-text-secondary);
}

.detail span:last-child {
    font-weight: 600;
}

.result-hint {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-warning);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* ===== СТИЛИ ДЛЯ О ТАБЛИЦ ===== */
.about__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}


.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* ===== СТИЛИ ДЛЯ CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta__subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ===== СТИЛИ ДЛЯ ФОРМЫ ОТЗЫВОВ ===== */
.reviews__form {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.form-subtitle {
    color: var(--color-text-secondary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-text {
    font-weight: 600;
    color: var(--color-primary);
}

.char-counter {
    text-align: right;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.form-hint {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== СТИЛИ ДЛЯ СЛАЙДОВ SWIPER ===== */
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem;
    z-index: 2;
}

.slide-badge {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 600;
}

/* ===== СТИЛИ ДЛЯ NOTE В ЦЕНАХ ===== */
.price-note {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.note-icon {
    font-size: 3rem;
}

.note-content {
    flex: 1;
}

.note-content h4 {
    margin-bottom: 0.5rem;
}

.note-content p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* ===== АДАПТИВНЫЕ ПРАВКИ ===== */
@media (max-width: 992px) {
    .calculator__wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer__main {
        grid-template-columns: 1fr;
    }
    
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .material-select {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer__nav {
        grid-template-columns: 1fr;
    }
    
    .price-note {
        flex-direction: column;
        text-align: center;
    }
    
    .nav {
        display: none;
    }
    
    .nav.active {
        display: flex;
    }
    
    .burger {
        display: flex;
    }
}

@media (max-width: 576px) {
    .hero__actions {
        flex-direction: column;
    }
    
    .about__stats {
        grid-template-columns: 1fr;
    }
    
    .hero__stats {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

/* ===== СТИЛИ ДЛЯ ВСПЛЫВАЮЩИХ ОКОН ===== */
.success-popup,
.error-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-base) var(--ease-luxury);
    backdrop-filter: blur(5px);
}

.success-popup.show,
.error-popup.show {
    opacity: 1;
    visibility: visible;
}

.success-popup-content,
.error-popup-content {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: translateY(30px) scale(0.95);
    transition: all var(--duration-base) var(--ease-elastic);
    box-shadow: var(--shadow-deep);
    position: relative;
    overflow: hidden;
}

.success-popup.show .success-popup-content,
.error-popup.show .error-popup-content {
    transform: translateY(0) scale(1);
}

.success-popup-content::before,
.error-popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-success), var(--color-primary));
}

.error-popup-content::before {
    background: linear-gradient(90deg, var(--color-error), var(--color-warning));
}

.success-icon,
.error-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: popupIcon 0.6s var(--ease-elastic);
}

@keyframes popupIcon {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.success-popup-content h3,
.error-popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.success-popup-content p,
.error-popup-content p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-popup-content .btn,
.error-popup-content .btn {
    min-width: 120px;
}

/* Анимация появления фона */
.success-popup::before,
.error-popup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-slow);
}

.success-popup.show::before,
.error-popup.show::before {
    opacity: 1;
}

/* Эффект пульсации для успешного попапа */
.success-popup-content {
    animation: successPulse 2s var(--ease-luxury) infinite;
}

@keyframes successPulse {
    0%, 100% { box-shadow: var(--shadow-deep); }
    50% { box-shadow: 0 0 50px rgba(25, 135, 84, 0.3); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .success-popup-content,
    .error-popup-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .success-icon,
    .error-icon {
        font-size: 3rem;
    }
    
    .success-popup-content h3,
    .error-popup-content h3 {
        font-size: 1.5rem;
    }
}

/* Если нужно темное оформление для dark mode */
.dark-mode .success-popup-content,
.dark-mode .error-popup-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

/* ===== ЯДРО: СИСТЕМА ДИЗАЙНА ===== */
:root {
  /* Расширенная цветовая палитра */

  --color-primary-100: #dbeafe;
  --color-primary-200: #bfdbfe;
  --color-primary-300: #93c5fd;
  --color-primary-400: #60a5fa;
  --color-primary-500: #3b82f6;
  --color-primary-600: #2563eb;
  --color-primary-700: #1d4ed8;
  --color-primary-800: #1e40af;
  --color-primary-900: #1e3a8a;
  
  /* Система теней с глубиной */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-2xl: 0 50px 100px -20px rgb(0 0 0 / 0.3);
  
  /* Glass morphism эффекты */
  --glass-bg-light: rgba(255, 255, 255, 0.7);
  --glass-border-light: rgba(255, 255, 255, 0.2);
  --glass-shadow-light: 0 8px 32px rgba(31, 38, 135, 0.37);
  --glass-bg-dark: rgba(15, 23, 42, 0.7);
  --glass-border-dark: rgba(255, 255, 255, 0.1);
  
  /* Улучшенные анимации */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-back: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== БАЗОВЫЕ УЛУЧШЕНИЯ ===== */
body {
  font-feature-settings: "ss01", "ss02", "cv01", "cv02";
  text-rendering: optimizeSpeed;
  overflow-x: hidden;
}

.container {
  animation: containerReveal 1s var(--ease-out-expo);
}

@keyframes containerReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== НАВИГАЦИЯ ПРЕМИУМ ===== */
.header {
  background: var(--glass-bg-light);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--glass-border-light);
  transition: all 0.4s var(--ease-out-expo);
}

.dark-mode .header {
  background: var(--glass-bg-dark);
  border-bottom: 1px solid var(--glass-border-dark);
}

.header.scrolled {
  transform: translateY(0);
  box-shadow: var(--shadow-lg);
  animation: headerSlideDown 0.6s var(--ease-out-expo);
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.nav__link {
  position: relative;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out-expo);
}

.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-400), var(--color-primary-600));
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s var(--ease-out-expo);
  z-index: -1;
}

.nav__link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav__link:hover {
  color: white;
  transform: translateY(-2px);
}

/* ===== ГЕРОЙ С АНИМАЦИЯМИ ===== */
.hero__badge {
  background: linear-gradient(135deg, var(--color-primary-400), var(--color-primary-600));
  border: none;
  animation: badgeFloat 4s var(--ease-in-out-back) infinite;
  position: relative;
  overflow: hidden;
}

.hero__badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  animation: shine 3s infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes shine {
  100% { transform: translateX(100%); }
}



@keyframes titleGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===== КАРТОЧКИ РАБОТ ===== */
.gallery-item {
  perspective: 1000px;
  transform-style: preserve-3d;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
  z-index: 2;
}

.gallery-item:hover::before {
  transform: translateX(100%);
}

.gallery-item img {
  transform: scale(1.1);
  transition: transform 1.2s var(--ease-out-expo);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== КАЛЬКУЛЯТОР С 3D ЭФФЕКТОМ ===== */
.calculator__inputs,
.calculator__result {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: 32px;
  box-shadow: var(--shadow-xl);
  transform-style: preserve-3d;
  transition: all 0.6s var(--ease-out-expo);
}

.dark-mode .calculator__inputs,
.dark-mode .calculator__result {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
}

.calculator__inputs:hover,
.calculator__result:hover {
  transform: translateY(-8px) translateZ(20px);
  box-shadow: var(--shadow-2xl);
}

.material-option {
  border: 2px solid transparent;
  background: linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
              linear-gradient(135deg, var(--color-primary-300), var(--color-primary-500)) border-box;
  transition: all 0.4s var(--ease-spring);
}

.material-option:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.material-option.active {
  border-color: var(--color-primary-500);
  background: linear-gradient(var(--color-primary-50), var(--color-primary-50)) padding-box,
              linear-gradient(135deg, var(--color-primary-400), var(--color-primary-600)) border-box;
  animation: materialPulse 2s infinite;
}

@keyframes materialPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
}

/* ===== ТАБЛИЦЫ ЦЕН С МОДЕРН ДИЗАЙНОМ ===== */
.price-table {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.dark-mode .price-table {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
}

.price-table:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.price-table__header {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-700));
  color: white;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.price-table__header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  animation: headerShine 6s infinite linear;
}

@keyframes headerShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* Это основной контейнер, который включает горизонтальный скролл */
.table-responsive {
    overflow-x: auto;                     /* ← именно здесь появляется нижний скроллбар при переполнении */
    margin: 20px 0;
    border-radius: var(--radius);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

/* Сама таблица не сжимается ниже определённой ширины */
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;                     /* ← из-за этого на узких экранах таблица становится шире экрана */
}

th {
  background: linear-gradient(to bottom, var(--color-primary-50), var(--color-surface));
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  padding: 16px 24px;
  border-bottom: 2px solid var(--color-primary-200);
}

td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s;
}

tr:hover td {
  background-color: var(--color-primary-50);
}

tr:last-child td {
  border-bottom: none;
}

/* ===== ОТЗЫВЫ С ИНТЕРАКТИВНЫМИ ЭЛЕМЕНТАМИ ===== */
.review-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-light);
  border-radius: 24px;
  transition: all 0.6s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.dark-mode .review-card {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
}

.review-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%,
    transparent 50%,
    rgba(139, 92, 246, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.6s;
}

.review-card:hover::before {
  opacity: 1;
}

.review-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
}

/* ===== ФОРМЫ С ИНТЕРАКТИВНЫМИ ПОЛЯМИ ===== */
.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--glass-bg-light);
  backdrop-filter: blur(10px);
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 1rem;
  transition: all 0.4s var(--ease-out-expo);
}

.dark-mode .form-group input,
.dark-mode .form-group textarea,
.dark-mode .form-group select {
  background: var(--glass-bg-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
  outline: none;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 0.3s;
}

.form-group:focus-within label {
  color: var(--color-primary-600);
  transform: translateY(-2px);
}

/* ===== КНОПКИ С ГРАДИЕНТАМИ И АНИМАЦИЯМИ ===== */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease-spring);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-700));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-800));
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-primary-500);
  color: var(--color-primary-600);
  position: relative;
}

.btn--outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-700));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.btn--outline:hover {
  color: white;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.btn--outline:hover::after {
  opacity: 1;
}

/* ===== ФУТЕР С ГРАДИЕНТОМ ===== */
.footer {
  background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-bg) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer__logo {
  position: relative;
}

.footer__logo .logo {
  color: white;
}

.footer__nav-column a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
  position: relative;
  padding-left: 0;
}

.footer__nav-column a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s;
}

.footer__nav-column a:hover {
  color: white;
  padding-left: 24px;
}

.footer__nav-column a:hover::before {
  opacity: 1;
  left: 0;
}

/* ===== АДАПТИВНОСТЬ И МИКРОАНИМАЦИИ ===== */
@media (max-width: 768px) {
  .hero__title-main {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  
  .calculator__wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .footer__nav {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .features {
    grid-template-columns: 1fr;
  }
  
  .hero__stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .price-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .price-filter-btn {
    width: 100%;
  }
}

/* Плавное появление элементов при скролле */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.8s var(--ease-out-expo);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-reveal-left] {
  opacity: 0;
  transform: translateX(-40px) rotateY(10deg);
  transition: all 0.8s var(--ease-out-expo);
}

[data-reveal-left].is-visible {
  opacity: 1;
  transform: translateX(0) rotateY(0);
}

[data-reveal-right] {
  opacity: 0;
  transform: translateX(40px) rotateY(-10deg);
  transition: all 0.8s var(--ease-out-expo);
}

[data-reveal-right].is-visible {
  opacity: 1;
  transform: translateX(0) rotateY(0);
}

/* Микро-анимация для всех интерактивных элементов */
.btn,
.nav__link,
.filter-btn,
.price-filter-btn,
.material-option,
.gallery-item,
.review-card,
.feature {
  animation: elementReveal 0.6s var(--ease-out-expo) backwards;
}

@keyframes elementReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Плавный скролл для якорей */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Улучшение читаемости в тёмной теме */
.dark-mode {
  color-scheme: dark;
}

.dark-mode body {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Оптимизация производительности */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--color-primary-500), var(--color-primary-700));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--color-primary-600), var(--color-primary-800));
}

/* ===== СИСТЕМА ОТСТУПОВ И СЕТКА ===== */
:root {
  /* 8px система (стандарт Figma/UI) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  
  /* Типографика */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.75rem;   /* 60px */
  --text-7xl: 4.5rem;    /* 72px */
}

/* ===== ХЕДЕР: ПИКСЕЛЬ ПЕРФЕКТ ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px; /* Фиксированная высота */
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-mode .header {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--color-text);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: var(--text-3xl);
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.logo--accent {
  color: var(--color-primary-600);
  position: relative;
}

.logo--accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--color-primary-400) 0%,
    var(--color-primary-600) 50%,
    var(--color-primary-400) 100%);
  opacity: 0.7;
  border-radius: 1px;
}

/* Навигация */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  justify-content: center;
  max-width: 800px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  white-space: nowrap;
}

.nav__link i {
  font-size: var(--text-base);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.nav__link:hover {
  color: var(--color-primary-600);
  background: rgba(59, 130, 246, 0.05);
}

.nav__link:hover i {
  opacity: 1;
  transform: translateY(-1px);
}

.nav__link.active {
  color: var(--color-primary-600);
  background: rgba(59, 130, 246, 0.1);
  font-weight: 600;
}

.nav__link.active::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--color-primary-500);
  border-radius: 50%;
}

/* Кнопки действий */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--color-primary-50);
  border-color: var(--color-primary-300);
  transform: rotate(15deg);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, transform 0.3s;
}

.theme-icon.sun {
  color: #f59e0b;
}

.theme-icon.moon {
  color: #cbd5e1;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.burger:hover {
  background: var(--color-primary-50);
  border-color: var(--color-primary-300);
}

.burger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== ГЕРОЙ СЕКЦИЯ: РЕЗИНОВАЯ ВЕРСТКА ===== */
.hero {
  min-height: 100vh;
  padding: calc(-100px + var(--space-9)) 0 var(--space-9);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.hero__content {
  max-width: 600px;
    background-color: rgb(0 0 0 / 19%); /* Полупрозрачный фон */
  backdrop-filter: blur(5px);               /* Размытие фона за элементом */
  --webkit-backdrop-filter: blur(10px);      /* Поддержка для Safari */
  padding: 20px;
  border-radius: 30px;
} 


.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-primary-600);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
  backdrop-filter: blur(10px);
}

.hero__title {
  margin-bottom: var(--space-4);
}

.hero__title-main {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  background: linear-gradient(
    135deg,
    var(--color-primary-600) 0%,
    var(--color-primary-800) 50%,
    var(--color-primary-600) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: textShine 8s ease-in-out infinite;
}

@keyframes textShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__title-sub {
  font-size: clamp(var(--text-lg), 2vw, var(--text-2xl));
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  max-width: 500px;
}

.hero__list {
  list-style: none;
  margin: var(--space-6) 0;
  padding: 0;
}

.hero__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.5;
}

.hero__list li i {
  color: var(--color-success);
  font-size: var(--text-lg);
  margin-top: 2px;
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  margin: var(--space-7) 0;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-7);
}

.stat {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat__number {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-primary-600);
  margin-bottom: var(--space-1);
  display: block;
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  opacity: 0.9;
}

/* Изображение в герое */
.hero__image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__image:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-swiper {
  width: 100%;
  height: 600px;
  border-radius: inherit;
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

.hero-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-swiper .swiper-slide-active img {
  transform: scale(1.1);
}

/* ===== АДАПТИВНОСТЬ ХЕДЕРА И ГЕРОЯ ===== */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
  .header__container {
    padding: 0 var(--space-4);
  }
  
  .nav {
    gap: var(--space-1);
  }
  
  .nav__link {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }
  
  .hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
  
  .hero__image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-swiper {
    height: 400px;
  }
}

/* Мобильные (до 768px) */
@media (max-width: 768px) {
  .header {
    height: 72px;
  }
  
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: var(--space-4);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    gap: var(--space-3);
    border-top: 1px solid var(--color-border);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav__link {
    width: 100%;
    justify-content: center;
    padding: var(--space-4);
    font-size: var(--text-base);
  }
  
  .nav__link.active::before {
    display: none;
  }
  
  .burger {
    display: flex;
  }
  
  .logo {
    font-size: var(--text-xl);
  }
  
  .hero {
    padding: calc(72px + var(--space-7)) 0 var(--space-7);
  }
  
  .hero__container {
    padding: 0 var(--space-4);
  }
  
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero__stats {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .stat {
    min-width: 100px;
  }
  
  .hero__title-main {
    font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl));
  }
  
  .hero-swiper {
    height: 300px;
  }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
  .header__actions {
    gap: var(--space-2);
  }
  
  .theme-toggle {
    width: 40px;
    height: 40px;
  }
  
  .burger {
    width: 40px;
    height: 40px;
  }
  
  .hero__badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
  }
  
  .hero__list li {
    font-size: var(--text-sm);
  }
  
  .stat__number {
    font-size: var(--text-2xl);
  }
  
  .stat__label {
    font-size: var(--text-xs);
  }
  
  .hero-swiper {
    height: 250px;
  }
}

/* ===== МИКРОАНИМАЦИИ ДЛЯ ИНТЕРАКТИВА ===== */
.nav__link,
.btn,
.theme-toggle,
.burger {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.nav__link:nth-child(1) { animation-delay: 0.1s; }
.nav__link:nth-child(2) { animation-delay: 0.2s; }
.nav__link:nth-child(3) { animation-delay: 0.3s; }
.nav__link:nth-child(4) { animation-delay: 0.4s; }
.nav__link:nth-child(5) { animation-delay: 0.5s; }
.nav__link:nth-child(6) { animation-delay: 0.6s; }
.nav__link:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ПЛАВНЫЙ СКРОЛЛ ДЛЯ ЯКОРЕЙ ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* ===== ТЁМНАЯ ТЕМА КОРРЕКЦИИ ===== */
.dark-mode .nav__link {
  color: rgba(255, 255, 255, 0.8);
}

.dark-mode .nav__link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.dark-mode .nav__link.active {
  color: white;
  background: rgba(59, 130, 246, 0.2);
}

.dark-mode .burger span {
  background: white;
}

/* ===== ФИКС ДЛЯ МОДАЛЬНЫХ ОКОН ===== */
body.modal-open {
  overflow: hidden;
}

body.modal-open .header {
  padding-right: 15px; /* Компенсация скроллбара */
}

/* ===== ХОВЕР ЭФФЕКТЫ ДЛЯ ДЕСКТОПОВ ===== */
@media (hover: hover) and (pointer: fine) {
  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary-500);
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }
  
  .nav__link:hover::after {
    width: 20px;
  }
  
  .theme-toggle:hover .theme-icon {
    transform: translate(-50%, -50%) rotate(180deg);
  }
}


@media (max-width: 480px) {
  .header__container {
    padding: 0 var(--space-4);
  }
  
  .nav {
    gap: var(--space-1);
  }
  
  .nav__link {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }
  
  .hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
  
  .hero__image {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }
  
  .hero-swiper {
    height: 300px;
  }
}

/* ---------- НОВЫЕ ПРЕМИУМ-СТИЛИ ---------- */

/* Частицы на фоне */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Видео-фон в hero */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

/* Параллакс-слои */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
}
.layer-1 {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxjaXJjbGUgY3g9IjEwIiBjeT0iMTAiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4xKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwKSIvPjwvc3ZnPg==');
}
.layer-2 {
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 30%);
}
.layer-3 {
    background: linear-gradient(125deg, transparent 30%, rgba(67,97,238,0.1) 50%, transparent 70%);
}

/* Сплит-текст анимация */
.split-text .word,
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotate(5deg);
    animation: splitReveal 0.6s cubic-bezier(0.5, 0, 0, 1) forwards;
}
@keyframes splitReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

/* Неон + Glassmorphism для карточек */
.feature,
.review-card,
.price-table,
.calculator__inputs,
.calculator__result {
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2), 0 0 0 1px rgba(67, 97, 238, 0.2) inset;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.dark-mode .feature,
.dark-mode .review-card,
.dark-mode .price-table,
.dark-mode .calculator__inputs,
.dark-mode .calculator__result {
    background: rgba(15, 23, 42, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.feature:hover,
.review-card:hover,
.price-table:hover,
.calculator__inputs:hover,
.calculator__result:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(67, 97, 238, 0.3), 0 0 30px rgba(67, 97, 238, 0.3);
}

/* Анимация счётчиков */
.stat__number {
    transition: all 0.3s;
}

/* Плавные переходы секций (clip-path) */
/* Базовое состояние (всегда активно) */
.section {
    /* Теперь анимация работает в ОБЕ стороны */
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Состояние скрыто */
.section:not(.is-visible) {
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    filter: blur(10px);
}

/* Состояние видно */
.section.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}

/* Lottie контейнер */
.lottie-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

/* Микро-анимации форм */
.form-group input,
.form-group textarea,
.form-group select {
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: scale(1.02);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(67, 97, 238, 0.5);
}
.checkbox label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}
.checkbox label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.2s;
}
.checkbox input[type="checkbox"]:checked + label:before {
    background: var(--color-primary);
    border-color: var(--color-primary);
    content: '✓';
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

