:root {
    --pure-white: #ffffff;
    --soft-white: #f9f9f9;
    --deep-black: #000000;
    --rich-black: #0a0a0a;
    --gold-primary: #d4af37;
    --gold-dark: #a78b2a;
    --gold-light: #e8d9a5;
    --gold-accent: #ffd700;
    --taupe: #8a7a6b;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-dark: rgba(0, 0, 0, 0.15);
    --border-light: #e0e0e0;
    --border-gold: rgba(212, 175, 55, 0.3);
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-heading: 'Palatino', 'Palatino Linotype', 'Book Antiqua', 'Georgia', serif;
    --font-body: 'Palatino', 'Palatino Linotype', 'Book Antiqua', 'Georgia', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--pure-white);
    color: var(--rich-black);
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', 'Times New Roman', serif;
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

body:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Основная сетка - увеличена прозрачность с 0.08 до 0.12 */
        linear-gradient(90deg, transparent 99%, rgba(212, 175, 55, 0.12) 100%) 0 0 / 40px 40px,
        linear-gradient(180deg, transparent 99%, rgba(212, 175, 55, 0.12) 100%) 0 0 / 40px 40px,
        
        /* Крупная сетка - увеличена прозрачность с 0.05 до 0.08 */
        linear-gradient(90deg, transparent 99%, rgba(212, 175, 55, 0.08) 100%) 0 0 / 120px 120px,
        linear-gradient(180deg, transparent 99%, rgba(212, 175, 55, 0.08) 100%) 0 0 / 120px 120px;
    
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Palatino', 'Palatino Linotype', 'Book Antiqua', 'Times New Roman', serif;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

section {
    margin-bottom: 60px;
    position: relative;
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s ease;
    background-color: transparent;
}

/* Добавить в начало стилей */
.static-logo {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    text-align: center;
    pointer-events: none;
}

.static-logo .logo {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--deep-black);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: auto;
    text-decoration: none;
}

.static-logo .logo:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.header-initial {
    display: none !important;
}

/* Обновить отступы для main-content */
.main-content {
    padding-top: 150px; /* Увеличить отступ для учета статичного логотипа */
    transition: padding-top 0.5s ease;
    margin: 0;
}

.header-scrolled ~ .main-content {
    padding-top: 80px; /* Уменьшить отступ при скролле */
}

.header-initial {
    padding: 0;
    text-align: center;
    background-color: transparent;
    transition: all 0.5s ease;
}

.header-initial .logo {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--deep-black);
    margin-bottom: 40px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.header-initial .logo:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.header-expanded {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    background-color: var(--pure-white);
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 200px; /* ограничение общей ширины */
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--deep-black);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.header-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.header-nav a {
    color: var(--rich-black);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
}

.header-nav a:hover {
    color: var(--gold-primary);
}

.header-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.header-nav a:hover:after {
    width: 100%;
}

.btn-header {
    padding: 12px 30px;
    font-size: 1rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--pure-white);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
}

.header-scrolled .header-initial {
    padding: 20px 0;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.header-scrolled .header-expanded {
    height: auto;
    opacity: 1;
    padding: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

.about-section {
    padding: 80px 0;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 25px;
}

.about-content ul {
    list-style: none;
    margin: 30px 0;
    padding-left: 20px;
}

.about-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.about-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 1.8rem;
    line-height: 1;
}

.about-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    flex: 0 0 200px;
    padding: 40px 20px;
    background: var(--soft-white);
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.5s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--gold-primary);
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 1.05rem;
    color: var(--rich-black);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
    margin: 80px auto;
    width: 70%;
}

.pantograph-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.pantograph-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.product-description {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--rich-black);
    position: relative;
}

.product-description:after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
}

.pantograph-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 60px auto;
    max-width: 1000px;
}

.pantograph-card {
    flex: 1 1 100%;
    min-width: 300px;
    max-width: 500px;
    background: var(--pure-white);
    padding: 30px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px var(--shadow-light);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    margin-bottom: 30px;
}

.pantograph-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px var(--shadow-dark);
    border-color: var(--gold-primary);
}

.pantograph-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-dark));
}

.pantograph-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--rich-black);
    font-weight: var(--font-weight-semibold);
    position: relative;
    padding-bottom: 15px;
}

.pantograph-card h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-primary);
}

.pantograph-card ul {
    list-style: none;
    padding-left: 0;
}

.pantograph-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    font-family: var(--font-body);
    font-weight: var(--font-weight-regular);
}

.pantograph-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 1.5rem;
    line-height: 1;
    top: -3px;
}

.product-conclusion {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--rich-black);
    margin-top: 50px;
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 60px auto;
    max-width: 1200px;
}

.gallery-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.gallery-item {
    flex: 1 1 calc(50% - 30px);
    min-width: 300px;
    max-width: 550px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    transition: all 0.5s ease;
    background: white;
    aspect-ratio: 1 / 1.2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.8s ease;
}

.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px var(--shadow-dark);
    border: 1px solid var(--gold-primary);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.model-container {
    width: 100%;
    height: 500px;
    position: relative;
    margin: 60px 0;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2),
                0 0 0 1px rgba(0, 0, 0, 0.8) inset;
    background: #000000;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.5s ease;
}

.model-container:hover {
    box-shadow: 0 25px 70px rgba(212, 175, 55, 0.3),
                0 0 0 1px rgba(0, 0, 0, 0.9) inset;
    border-color: var(--gold-accent);
}

.model-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold-light);
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.model-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff6b6b;
    text-align: center;
    padding: 20px;
}

.all-colors-btn-container {
    text-align: center;
    margin-top: 30px;
}

.btn-all-colors {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--pure-white);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.btn-all-colors:hover {
    background: var(--gold-primary);
    color: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-all-colors .btn-icon {
    transition: transform 0.3s ease;
}

.btn-all-colors:hover .btn-icon {
    transform: translateX(5px);
}

.section-title {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.catalog-cta {
    padding: 80px 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23d4af37" stroke-width="0.5" stroke-opacity="0.1"/></svg>');
    background-size: 120px;
    margin: 60px 0;
    position: relative;
}

.luxury-catalog-box {
    background: var(--soft-white);
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.luxury-catalog-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
}

.luxury-catalog-box h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--rich-black);
    margin-bottom: 25px;
    letter-spacing: 1px;
    font-weight: var(--font-weight-semibold);
}

.luxury-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--rich-black);
    max-width: 700px;
    margin: 0 auto 35px;
}

.divider-gold {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
    margin: 0 auto 30px;
}

.btn-luxury-catalog {
    background: linear-gradient(135deg, var(--rich-black), #2a2520);
    color: var(--pure-white);
    padding: 18px 45px;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.btn-luxury-catalog:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(60, 53, 45, 0.3);
}

.btn-luxury-catalog:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: 0.6s;
}

.btn-luxury-catalog:hover:before {
    left: 100%;
}

.btn-icon {
    font-size: 1.3rem;
    transition: transform 0.4s ease;
}

.btn-luxury-catalog:hover .btn-icon {
    transform: translateX(5px);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-accordion {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--pure-white);
}

.faq-item:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: var(--soft-white);
    border: none;
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    color: var(--rich-black);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.05);
}

.question-text {
    font-size: 1.2rem;
    font-weight: var(--font-weight-medium);
    margin-right: 20px;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover .question-text {
    color: var(--gold-primary);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
}

.faq-question:hover h4 {
    color: var(--gold-primary);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.faq-question:hover .faq-toggle {
    border-color: var(--gold-primary);
    background: var(--gold-primary);
    color: var(--pure-white);
}

.toggle-icon {
    font-size: 1.2rem;
    font-weight: var(--font-weight-light);
    transition: all 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    background: var(--pure-white);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 25px;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--rich-black);
    border-top: 1px solid var(--border-light);
    background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .faq-answer p {
        padding: 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .faq-question {
        padding: 15px;
    }
    
    .question-text {
        font-size: 1rem;
        margin-right: 15px;
    }
    
    .faq-toggle {
        width: 25px;
        height: 25px;
    }
    
    .faq-answer p {
        padding: 15px;
    }
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding: 10px 0 20px;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Стили для переработанной секции отзывов */
.reviews-section {
    padding: 100px 0;
    background: var(--pure-white);
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.reviews-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--rich-black);
}

.nav-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.reviews-pagination {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--rich-black);
    display: flex;
    align-items: center;
    gap: 5px;
}

.current-review {
    color: var(--gold-primary);
    font-weight: var(--font-weight-bold);
}

.pagination-divider {
    color: var(--taupe);
}

.reviews-track {
    position: relative;
    min-height: 500px;
    margin-bottom: 40px;
}

.review-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateX(50px);
    pointer-events: none;
    z-index: 1;
}

.review-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    z-index: 2;
}

.review-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-dark));
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.review-author-info {
    flex: 1;
}

.review-author {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: var(--font-weight-semibold);
    color: var(--rich-black);
    margin-bottom: 5px;
}

.review-date {
    font-size: 0.9rem;
    color: var(--taupe);
}

.review-rating {
    color: var(--gold-primary);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-content {
    margin-bottom: 25px;
    color: var(--rich-black);
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
}

.review-content:before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    font-size: 4rem;
    color: var(--gold-light);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-image {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    margin: 25px 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-image:before {
    content: "Фото отзыва";
    position: absolute;
    color: #999;
    font-style: italic;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    position: relative;
    z-index: 2;
}

.review-image.full-display {
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-image.full-display img {
    object-fit: contain;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
}

.review-card:hover .review-image img {
    transform: scale(1.05);
}

.review-product-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.add-review-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
    position: relative;
    z-index: 10;
}


.product-tag {
    background: var(--soft-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--rich-black);
    border: 1px solid var(--border-light);
}

.product-color {
    color: var(--taupe);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.product-color:before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 8px;
    opacity: 0.7;
}

.reviews-indicators {
    display: none;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--gold-primary);
    transform: scale(1.2);
}

.add-review-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}

.add-review-cta p {
    margin-bottom: 20px;
    color: var(--rich-black);
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: var(--pure-white);
}


.contacts {
    background: #f5f5f5;
    color: #333;
    padding: 80px 0 40px;
    margin-top: 80px;
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.contacts:before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contacts-info h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--gold-primary);
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.contacts-info h4:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-primary);
}

.contacts-info ul {
    list-style: none;
}

.contacts-info ul li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    position: relative;
    padding-left: 30px;
    color: #555;
}

.contacts-info ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--taupe);
    font-size: 1.5rem;
    line-height: 1;
}

.contacts-info ul li strong {
    display: inline-block;
    min-width: 140px;
    color: #333;
    font-weight: var(--font-weight-medium);
}

.copyright {
    text-align: center;
    padding-top: 60px;
    font-size: 0.95rem;
    color: #666;
    margin-top: 40px;
    position: relative;
}

.copyright:before {
    content: "";
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: #ccc;
}

.order-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

.order-toggle {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    border: 2px solid white;
}

.order-toggle:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
}

.order-icon {
    font-size: 1.5rem;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.order-text {
    font-size: 0.7rem;
    margin-top: 2px;
    opacity: 0.9;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.order-toggle:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    color: var(--gold-accent);
}

.order-dropdown {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--border-light);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23e6d6a8" stroke-width="0.5" stroke-opacity="0.1"/></svg>');
}

.order-menu.active .order-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.order-dropdown h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--rich-black);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.order-dropdown h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
}

.order-dropdown p {
    color: var(--rich-black);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.btn-order {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-order:hover .btn-icon {
    transform: translateX(5px);
}

.order-contacts {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.order-contacts p {
    font-size: 0.9rem;
    color: var(--taupe);
    margin-bottom: 10px;
}

.order-phone {
    display: block;
    color: var(--rich-black);
    font-weight: var(--font-weight-medium);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.order-phone:hover {
    color: var(--gold-primary);
}

.main-content {
    padding-top: 100px;
    transition: padding-top 0.5s ease;
    margin: 0;
}

.header-scrolled ~ .main-content {
    padding-top: 0px;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--pure-white);
    padding: 18px 55px;
    text-decoration: none;
    border-radius: 0;
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    border: 1px solid var(--gold-primary);
}

.btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
    color: var(--gold-accent);
}

.btn:hover:before {
    left: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }


.site-footer {
    background: #f5f5f5;
    color: #333;
    padding: 80px 0 40px;
    margin-top: 80px;
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
}

.site-footer:before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-info h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--gold-primary);
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.footer-info h4:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-info ul {
    list-style: none;
}

.footer-info ul li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    position: relative;
    padding-left: 30px;
    color: #555;
}

.footer-info ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--taupe);
    font-size: 1.5rem;
    line-height: 1;
}

.footer-info ul li strong {
    display: inline-block;
    min-width: 140px;
    color: #333;
    font-weight: var(--font-weight-medium);
}

.copyright {
    text-align: center;
    padding-top: 60px;
    font-size: 0.95rem;
    color: #666;
    margin-top: 40px;
    position: relative;
}

.copyright:before {
    content: "";
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: #ccc;
}

.model-hint {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold-light);
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
    border: 1px solid var(--gold-primary);
    animation: pulse 2s infinite;
    z-index: 10;
    transition: all 0.5s ease;
}

.model-hint span {
    font-size: 1.2rem;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Скрываем подсказку после начала взаимодействия */
.model-container.user-interacted .model-hint {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.features-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.features-row .pantograph-card {
    flex: 1 1 calc(50% - 30px);
    min-width: 300px;
    max-width: 450px;
    margin-bottom: 0;
}

.order-dropdown ul {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.order-dropdown ul li {
    margin-bottom: 10px;
}

.order-dropdown ul li a {
    display: block;
    padding: 10px 15px;
    color: var(--rich-black);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.order-dropdown ul li a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    transform: translateX(5px);
}

.order-dropdown ul li a:before {
    content: "→";
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--gold-primary);
}

.order-dropdown ul li a:hover:before {
    opacity: 1;
    left: -10px;
}

.order-dropdown .btn-order {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-dropdown .btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.order-dropdown .btn-order .btn-icon {
    transition: transform 0.3s ease;
}

.order-dropdown .btn-order:hover .btn-icon {
    transform: translateX(3px);
}

.order-contacts {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.order-contacts p {
    font-size: 0.9rem;
    color: var(--taupe);
    margin-bottom: 10px;
}

.order-phone {
    display: block;
    color: var(--rich-black);
    font-weight: var(--font-weight-medium);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.order-phone:hover {
    color: var(--gold-primary);
}

@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .static-logo .logo {
        font-size: 3.5rem;
    }
    
    .header-nav ul {
        gap: 20px;
    }
    
    
    .gallery-item {
        flex: 1 1 calc(50% - 20px);
        min-width: 280px;
    }
    
    .model-container {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .static-logo .logo {
        font-size: 3rem;
        top: 20px;
    }
    
    .header-content {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .header-nav {
        margin: 20px 0;
    }
    
    .header-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .about-features {
        gap: 30px;
    }
    
    .feature-item {
        flex: 0 0 180px;
        padding: 30px 15px;
    }
    
    .pantograph-features {
        gap: 20px;
    }
    
    
    .gallery-row {
        gap: 20px;
    }
    
    .gallery-item {
        flex: 1 1 100%;
    }
    
    .luxury-catalog-box {
        padding: 40px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .reviews-track {
        min-height: 550px;
    }
    
    .review-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .static-logo .logo {
        font-size: 2.5rem;
        top: 15px;
    }
    
    .static-logo .logo:after {
        bottom: -10px;
        width: 70%;
    }
    
    .about-section, .pantograph-section {
        padding: 60px 0;
    }
    
    .about-content {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .about-features {
        gap: 20px;
        margin-top: 40px;
    }
    
    .feature-item {
        flex: 0 0 150px;
        padding: 25px 10px;
    }
    
    .feature-item h3 {
        font-size: 2rem;
    }
    
    .feature-item p {
        font-size: 0.95rem;
    }
    
    .divider {
        margin: 60px auto;
        width: 80%;
    }
    
    .product-description {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .pantograph-card h3 {
        font-size: 1.3rem;
    }
    
    .product-conclusion {
        font-size: 1.1rem;
        margin-top: 40px;
    }
    
    .model-container {
        height: 300px;
    }
    
    .luxury-catalog-box {
        padding: 30px 20px;
    }
    
    .luxury-catalog-box h3 {
        font-size: 1.7rem;
    }
    
    .luxury-text {
        font-size: 1rem;
    }
    
    .btn-luxury-catalog {
        padding: 15px 30px;
    }
    
    .reviews-section {
        padding: 80px 0;
    }
    
    .reviews-nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .reviews-track {
        min-height: 600px;
    }
    
    .review-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .review-content {
        font-size: 1rem;
        padding-left: 20px;
    }
    
    .review-image {
        height: 200px;
    }
    
    .order-dropdown {
        width: 280px;
        padding: 20px;
    }
    
    .order-dropdown h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .static-logo .logo {
        font-size: 2rem;
        top: 10px;
        padding: 0 15px;
    }
    
    .static-logo .logo:after {
        bottom: -8px;
        width: 60%;
    }
    
    .about-section, .pantograph-section {
        padding: 40px 0;
    }
    
    .about-content {
        font-size: 0.95rem;
    }
    
    .about-content ul li {
        padding-left: 25px;
        font-size: 0.95rem;
    }
    
    .about-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .feature-item {
        width: 100%;
        max-width: 250px;
        flex: none;
    }
    
    .divider {
        margin: 40px auto;
        width: 90%;
    }
    
    .product-description {
        font-size: 1rem;
    }
    
    .pantograph-card {
        padding: 20px;
    }
    
    .pantograph-card h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .pantograph-card ul li {
        font-size: 0.95rem;
        padding-left: 20px;
    }
    
    .product-conclusion {
        font-size: 1rem;
        margin-top: 30px;
    }
    
    .gallery-row {
        gap: 15px;
    }
    
    .gallery-item {
        aspect-ratio: 1 / 1.1;
    }
    
    .model-container {
        height: 250px;
    }
    
    .luxury-catalog-box {
        margin: 0 10px;
        padding: 25px 15px;
    }
    
    .luxury-catalog-box h3 {
        font-size: 1.5rem;
    }
    
    .btn-luxury-catalog {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .faq-question h4 {
        font-size: 1.1rem;
    }
    
    .reviews-section {
        padding: 60px 0;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-author {
        font-size: 1.1rem;
    }
    
    .review-content {
        font-size: 0.95rem;
        padding-left: 15px;
    }
    
    .review-image {
        height: 150px;
    }
    
    .contacts {
        padding: 60px 0 30px;
    }
    
    .contacts-info h4 {
        font-size: 1.3rem;
    }
    
    .contacts-info ul li {
        font-size: 0.95rem;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 25px;
    }
    
    .contacts-info ul li strong {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .copyright {
        padding-top: 40px;
        font-size: 0.9rem;
    }
    
    .copyright:before {
        width: 150px;
    }
    
    .order-menu {
        bottom: 20px;
        right: 20px;
    }
    
    .order-toggle {
        width: 50px;
        height: 50px;
    }
    
    .order-icon {
        font-size: 1.3rem;
    }
    
    .order-text {
        font-size: 0.6rem;
    }
    
    .order-dropdown {
        width: 260px;
        right: -10px;
    }
}

@media (max-width: 400px) {
    .static-logo .logo {
        font-size: 1.7rem;
    }
    
    .header-nav ul {
        gap: 10px;
    }
    
    .header-nav a {
        font-size: 0.95rem;
    }
    
    .btn-header {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .about-content ul li {
        padding-left: 20px;
    }
    
    
    .model-container {
        height: 200px;
    }
    
    .luxury-catalog-box h3 {
        font-size: 1.3rem;
    }
    
    .luxury-text {
        font-size: 0.95rem;
    }
    
    .btn-luxury-catalog {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .review-card {
        padding: 15px;
    }
    
    .review-author {
        font-size: 1rem;
    }
    
    .review-content {
        font-size: 0.9rem;
    }
    
    .review-image {
        height: 120px;
    }
    
    .order-dropdown {
        width: 240px;
        padding: 15px;
    }
    
    .order-dropdown h4 {
        font-size: 1.1rem;
    }
    
    .order-dropdown p {
        font-size: 0.95rem;
    }
    
    .btn-order {
        padding: 14px;
        font-size: 0.95rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .feature-item:hover {
        transform: none;
    }
    
    .pantograph-card:hover {
        transform: none;
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    .model-container:hover {
        box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2),
                    0 0 0 1px rgba(0, 0, 0, 0.8) inset;
        border-color: var(--gold-primary);
    }
    
    .btn-header:hover {
        transform: none;
    }
    
    .btn-all-colors:hover {
        transform: none;
    }
    
    .btn-luxury-catalog:hover {
        transform: none;
    }
    
    .btn-order:hover {
        transform: none;
    }
    
    .order-toggle:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.model-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 249, 249, 0.9);
    z-index: 5;
}

.placeholder-content {
    text-align: center;
    color: var(--taupe);
}

.placeholder-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-load-model {
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--gold-primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-load-model:hover {
    background: var(--gold-dark);
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: var(--pure-white);
    border: 2px solid var(--gold-primary);
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--rich-black);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-text p {
    color: var(--taupe);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: var(--gold-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.cookie-text a:hover {
    border-bottom-color: var(--gold-primary);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accept {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--pure-white);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-settings {
    background: transparent;
    color: var(--rich-black);
    border: 1px solid var(--border-light);
}

.btn-settings:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.btn-reject {
    background: transparent;
    color: var(--taupe);
    border: 1px solid transparent;
}

.btn-reject:hover {
    color: #ff4757;
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 10px;
        padding: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .btn-cookie {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 576px) {
    .cookie-banner {
        width: 95%;
        padding: 15px;
    }
    
    .cookie-text h4 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-cookie {
        width: 100%;
    }
}

/* Animation for cookie banner appearance */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.cookie-banner.active {
    animation: slideInUp 0.6s ease forwards;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
}

/* Исправление для статичного логотипа на мобильных */
@media (max-width: 768px) {
    .static-logo {
        position: relative;
        top: 0;
        margin: 20px 0;
        text-align: center;
    }
    
    .static-logo .logo {
        font-size: 2rem;
        padding: 0 10px;
    }
    
    .main-content {
        padding-top: 20px !important;
    }
}

/* Адаптация header для мобильных */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .header-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 15px 0;
    }
    
    .header-nav a {
        font-size: 0.9rem;
    }
    
    .btn-header {
        margin-top: 15px;
    }
}

/* Адаптация секций для мобильных */
@media (max-width: 768px) {
    section {
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .about-content, .product-description {
        padding: 0 10px;
        font-size: 1rem;
    }
    
    .about-content ul li, .pantograph-card ul li {
        font-size: 0.9rem;
    }
}

/* Адаптация сеток и flex-контейнеров */
@media (max-width: 768px) {
    .about-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }
    
    .gallery-row {
        flex-direction: column;
    }
    
    .gallery-item {
        flex: 1 1 100%;
        margin-bottom: 15px;
    }
}

/* Адаптация отступов и размеров шрифтов */
@media (max-width: 576px) {
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 0.8rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .about-content p, .product-description p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .feature-item h3 {
        font-size: 2rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .divider {
        margin: 40px auto;
        width: 90%;
    }
}

/* Адаптация футера для мобильных */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-info h4 {
        font-size: 1.2rem;
    }
    
    .footer-info ul li {
        font-size: 0.9rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-info ul li strong {
        min-width: auto;
        margin-bottom: 5px;
    }
}

/* Адаптация кнопок для мобильных */
@media (max-width: 576px) {
    .btn, .btn-header, .btn-all-colors, .btn-luxury-catalog {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .btn-header {
        margin-top: 15px;
    }
}

/* Улучшение отображения форм на мобильных */
@media (max-width: 576px) {
    input, textarea, select {
        font-size: 16px !important; /* Предотвращает масштабирование в iOS */
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 12px 15px;
    }
}

/* Специфические исправления для очень маленьких экранов */
@media (max-width: 400px) {
    .static-logo .logo {
        font-size: 1.7rem;
    }
    
    .header-nav ul {
        gap: 8px;
    }
    
    .header-nav a {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
}

/* Улучшение читаемости текста на мобильных */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.6;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    
    p, li, td {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Предотвращение слишком мелкого текста */
@media (max-width: 576px) {
    p, li, span, a {
        font-size: 15px !important;
    }
}

/* Исправление проблем с горизонтальной прокруткой */
@media (max-width: 768px) {
    .product-gallery, 
    .pantograph-features, 
    .reviews-container, 
    .faq-container {
        width: 100%;
        overflow: hidden;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Улучшение навигационного меню для мобильных */
@media (max-width: 992px) {
    .order-dropdown {
        width: 280px;
        right: -10px;
    }
    
    .order-dropdown ul li a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Адаптация cookie-баннера для мобильных */
@media (max-width: 576px) {
    .cookie-banner {
        width: 95%;
        padding: 15px;
        bottom: 10px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-cookie {
        width: 100%;
    }
}

.reduced-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

:root {
    --vh: 1vh;
}

@media (max-width: 768px) {
    .gallery-row {
        flex-direction: row !important;
        flex-wrap: wrap;
    }
    
    .gallery-item {
        flex: 1 1 calc(50% - 15px) !important;
        min-width: calc(50% - 15px) !important;
        margin-bottom: 15px;
    }
}

/* Для карточек характеристик и функционала */
@media (max-width: 768px) {
    .features-row {
        flex-direction: row !important;
        flex-wrap: wrap;
    }
    
    .pantograph-card {
        flex: 1 1 calc(50% - 15px) !important;
        min-width: calc(50% - 15px) !important;
        margin-bottom: 20px;
    }
}

/* Убедимся, что контент не выходит за пределы экрана */
@media (max-width: 576px) {
    .gallery-item {
        flex: 1 1 calc(50% - 10px) !important;
        min-width: calc(50% - 10px) !important;
    }
    
    .pantograph-card {
        flex: 1 1 calc(50% - 10px) !important;
        min-width: calc(50% - 10px) !important;
        padding: 15px;
    }
    
    .pantograph-card h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .pantograph-card ul li {
        font-size: 0.85rem;
        padding-left: 18px;
        margin-bottom: 8px;
    }
}

/* Для очень маленьких экранов можно оставить одну колонку */
@media (max-width: 400px) {
    .gallery-item,
    .pantograph-card {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
}

.header-logo img {
    max-width: 60px; /* или нужный вам размер */
    height: auto;
    object-fit: contain;
}

.logo-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 200px; /* ограничение общей ширины */
}


@media (max-width: 768px) {
    .header-logo {
        max-width: 150px;
    }
    
    .header-logo img {
        max-width: 40px;
    }
    
    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
}

.header-logo img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
}

/* Уменьшение шапки при скролле на мобильных устройствах */
@media (max-width: 768px) {
    .header-scrolled .header-expanded {
        padding: 5px 0 !important;
    }
    
    .header-scrolled .header-logo img {
        max-width: 30px !important;
        height: 30px !important;
    }
    
    .header-scrolled .logo-text {
        font-size: 1rem !important;
    }
    
    .header-scrolled .header-nav a {
        font-size: 0.8rem !important;
        padding: 5px 8px;
    }
    
    .header-scrolled .btn-header {
        padding: 8px 15px !important;
        font-size: 0.8rem !important;
    }
    
    .header-scrolled .header-content {
        padding: 5px 0 !important;
    }
}

/* Дополнительное уменьшение для очень маленьких экранов */
@media (max-width: 480px) {
    .header-scrolled .header-expanded {
        padding: 3px 0 !important;
    }
    
    .header-scrolled .header-logo {
        gap: 8px;
    }
    
    .header-scrolled .header-logo img {
        max-width: 25px !important;
        height: 25px !important;
    }
    
    .header-scrolled .logo-text {
        font-size: 0.9rem !important;
        letter-spacing: 0.5px;
    }
    
    .header-scrolled .header-nav ul {
        gap: 8px;
    }
    
    .header-scrolled .header-nav a {
        font-size: 0.75rem !important;
        padding: 4px 6px;
    }
    
    .header-scrolled .btn-header {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
}