﻿* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Roboto', sans-serif;
        }

        *, *::before, *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 100px;
            overflow-x: hidden;
            max-width: 100vw;
        }

        body {
            overflow-x: hidden;
            background: #f8f9fa;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            max-width: 100vw;
            position: relative;
        }

        /* Touch improvements */
        * {
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            touch-action: manipulation;
        }

        /* Allow text selection for content */
        p, h1, h2, h3, h4, h5, h6, input, textarea, label {
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: linear-gradient(135deg, #2c1810 0%, #4a2f14 45%, #5c3d1e 100%);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 8px 0 4px;
            transition: transform 0.3s;
            box-shadow: 0 4px 16px rgba(44, 24, 16, 0.35);
            border-bottom: 1px solid rgba(198, 134, 12, 0.25);
        }

        header.header-hidden {
            transform: translateY(calc(-1 * var(--header-height, 110px)));
        }

        header.scrolled:not(.header-hidden) {
            box-shadow: 0 6px 22px rgba(44, 24, 16, 0.42);
        }

        nav {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            position: relative;
            min-height: 0;
        }

        .header-center {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            margin: 0 20px;
            min-width: 0;
            overflow: visible;
            text-decoration: none;
            color: inherit;
            cursor: pointer;
        }

        .company-name {
            margin-bottom: 0;
            animation: fadeInUp 0.8s ease-out 0.2s both;
            position: relative;
            padding-bottom: 2px;
        }

        .company-name::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, transparent, #c6860c, transparent);
        }

        .company-brand {
            display: block;
            width: 420px;
            height: auto;
            max-height: 68px;
            margin: 0 auto 0;
            object-fit: contain;
            object-position: center;
        }

        .company-name h1 {
            font-family: 'Playfair Display', serif;
            font-size: 28px;
            color: #2c1810;
            margin: 0;
            font-weight: 700;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        @supports (-webkit-background-clip: text) {
            .company-name h1 {
                background: linear-gradient(135deg, #f5e6c8, #e6c07a);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                color: transparent;
            }
        }

        .company-name h1 {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
        }

        .company-name p {
            font-size: 12px;
            color: #c6860c;
            margin: 0;
            font-weight: 500;
            font-style: italic;
            transition: color 0.3s ease;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
        }

        .company-name:hover p {
            color: #8b5a2b;
        }

        .quality-badges {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
            animation: fadeInUp 0.8s ease-out 0.5s both;
            max-width: 100%;
            overflow: hidden;
        }

        .badge {
            background: linear-gradient(135deg, #c6860c, #8b5a2b);
            color: white;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 600;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: transform 0.2s, box-shadow 0.2s;
            white-space: nowrap;
            border: 1px solid rgba(255, 255, 255, 0.2);
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }

        .badge::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: left 0.5s;
        }

        .badge:hover::before {
            left: 100%;
        }

        .badge:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .logo {
            display: flex;
            align-items: center;
            animation: fadeInUp 0.8s ease-out 0.1s both;
            flex-shrink: 0;
        }

        .logo img {
            height: 70px;
        }

        .nav-links {
            display: none;
        }

        .nav-links a {
            margin-left: 25px;
            text-decoration: none;
            color: #2c1810;
            font-weight: 400;
            font-size: 16px;
            position: relative;
            transition: color 0.3s;
            padding: 10px;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background: #c6860c;
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a:hover {
            color: #c6860c;
        }

        /* Main Content */
        main {
            padding-top: 100px;
        }

        .contacts-hero {
            background: #2c1810;
            padding: 100px 20px 50px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .contacts-hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: 48px;
            color: #f5e6c8;
            margin-bottom: 20px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .contacts-hero p {
            font-size: 18px;
            color: #e8dcc8;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .contacts-section {
            padding: 80px 20px;
            max-width: 100%;
            margin: 0 auto;
            background: linear-gradient(160deg, #f5e6c8 0%, #d4a574 45%, #b87d3a 100%);
        }

        .contacts-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
        }

        .contact-info {
            background: rgba(255, 248, 235, 0.92);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(44, 24, 16, 0.15);
            border: 1px solid rgba(198, 134, 12, 0.2);
        }

        .contact-info h2 {
            font-family: 'Playfair Display', serif;
            font-size: 32px;
            color: #2c1810;
            margin-bottom: 30px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
            padding: 15px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 12px;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .contact-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #c6860c, #8b5a2b);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            margin-right: 20px;
            flex-shrink: 0;
        }

        .contact-details h3 {
            font-family: 'Playfair Display', serif;
            color: #2c1810;
            margin-bottom: 5px;
            font-size: 18px;
        }

        .contact-details p {
            color: #555;
            line-height: 1.5;
            margin: 0;
        }

        .contact-details a {
            color: #c6860c;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

        .contact-details a:hover {
            color: #8b5a2b;
        }

        .contact-form {
            background: rgba(255, 248, 235, 0.92);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(44, 24, 16, 0.15);
            border: 1px solid rgba(198, 134, 12, 0.2);
        }

        /* Map card (вместо формы) */
        .map-card {
            background: rgba(255, 248, 235, 0.92);
            padding: 0;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(44, 24, 16, 0.15);
            border: 1px solid rgba(198, 134, 12, 0.2);
            overflow: hidden;
        }

        .map-frame {
            width: 100%;
            height: 520px;
            border: 0;
            display: block;
        }

        .map-actions {
            padding: 16px 20px;
            background: rgba(255, 248, 235, 0.95);
            border-top: 1px solid rgba(198, 134, 12, 0.2);
            display: flex;
            justify-content: center;
        }

        .map-open-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 22px;
            background: #ffcc00;
            color: #000;
            text-decoration: none;
            border-radius: 10px;
            font-weight: 700;
            border: 1px solid #e5b800;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
            letter-spacing: 0.2px;
        }

        .map-open-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            background: #ffbf00;
        }

        .map-open-btn:active {
            transform: translateY(0);
            background: #e6b800;
        }

        .contact-form h2 {
            font-family: 'Playfair Display', serif;
            font-size: 32px;
            color: #2c1810;
            margin-bottom: 30px;
            text-align: center;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 0;
            color: #2c1810;
            font-weight: 500;
            font-size: 16px;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid rgba(198, 134, 12, 0.25);
            border-radius: 12px;
            font-size: 16px;
            font-family: 'Roboto', sans-serif;
            transition: border-color 0.3s, box-shadow 0.3s;
            background: rgba(255, 252, 245, 0.9);
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #c6860c;
            box-shadow: 0 0 0 3px rgba(198, 134, 12, 0.1);
            background: #fff;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .submit-btn {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #c6860c, #8b5a2b);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            font-family: 'Roboto', sans-serif;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(198, 134, 12, 0.3);
        }

        .submit-btn:active {
            transform: translateY(-1px);
        }

        .hours-section {
            background: #2c1810;
            color: white;
            padding: 60px 20px;
            text-align: center;
        }

        .hours-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hours-section h2 {
            font-family: 'Playfair Display', serif;
            font-size: 36px;
            margin-bottom: 40px;
        }

        .hours-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
        }

        .hours-item {
            background: rgba(255, 255, 255, 0.1);
            padding: 25px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .hours-item h3 {
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            margin-bottom: 10px;
            color: #e6c07a;
        }

        .hours-item p {
            font-size: 16px;
            margin: 5px 0;
        }

        /* Footer / Contacts — единый стиль как на главной */
        footer, #contacts {
            padding: 60px 20px;
            background: #2c1810;
            color: #fff;
            text-align: center;
        }

        footer p, #contacts p {
            font-size: 16px;
            margin-bottom: 10px;
        }

        footer a, #contacts a {
            color: #e6c07a;
            text-decoration: none;
            transition: color 0.3s;
            padding: 5px;
        }

        footer a:hover, #contacts a:hover {
            color: #fff;
        }

        /* Mobile Menu */
        .mobile-menu-toggle {
            display: flex;
            flex-direction: column;
            justify-content: center;
            cursor: pointer;
            padding: 10px;
            width: 40px;
            height: 40px;
            position: relative;
            animation: fadeInUp 0.8s ease-out 0.6s both;
            flex-shrink: 0;
        }

        .mobile-menu-toggle span {
            width: 30px;
            height: 4px;
            background: #2c1810;
            margin: 3px 0;
            transition: all 0.3s ease;
            position: absolute;
            left: 5px;
        }

        .mobile-menu-toggle span:nth-child(1) {
            top: 8px;
        }

        .mobile-menu-toggle span:nth-child(2) {
            top: 18px;
        }

        .mobile-menu-toggle span:nth-child(3) {
            top: 28px;
        }

        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg);
            top: 18px;
        }

        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg);
            top: 18px;
        }

        .mobile-menu {
            position: fixed;
            top: var(--header-height, 72px);
            left: 0;
            width: 100%;
            height: calc(100vh - var(--header-height, 72px));
            height: calc(100dvh - var(--header-height, 72px));
            background: linear-gradient(180deg, #2c1810 0%, #4a2f14 50%, #5c3d1e 100%);
            backdrop-filter: none;
            display: none;
            flex-direction: column;
            padding: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
            z-index: 1001;
            transition: transform 0.3s ease-out, opacity 0.3s ease-out;
            transform: translateY(-100%);
            opacity: 0;
            overflow-y: auto;
        }

        /* Desktop menu improvements */
        @media (min-width: 769px) {
            nav {
                position: relative;
            }
            
            .header-center {
                margin: 0 30px;
            }

            .company-name h1 {
                font-size: 32px;
            }


            .company-name p {
                font-size: 14px;
            }

            .quality-badges {
                gap: 12px;
            }

            .badge {
                font-size: 11px;
                padding: 4px 10px;
            }

            .badge:nth-child(n+3) {
                display: inline-block;
            }

            .company-name::after {
                width: 60px;
                height: 3px;
            }

            nav {
                min-height: 70px;
            }
            
            .mobile-menu-toggle {
                width: 45px;
                height: 45px;
                padding: 12px;
                position: relative;
                margin-left: 20px;
                flex-shrink: 0;
            }

            .mobile-menu-toggle span {
                width: 32px;
                height: 4px;
            }

            .mobile-menu-toggle span:nth-child(1) {
                top: 12px;
            }

            .mobile-menu-toggle span:nth-child(2) {
                top: 20px;
            }

            .mobile-menu-toggle span:nth-child(3) {
                top: 28px;
            }

            .mobile-menu-toggle.active span:nth-child(1) {
                top: 20px;
            }

            .mobile-menu-toggle.active span:nth-child(3) {
                top: 20px;
            }

            .mobile-menu {
                top: 0;
                width: 400px;
                left: auto;
                right: 0;
                height: 100vh;
                transform: translateX(100%);
                border-radius: 0;
                margin-top: 0;
                transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-out;
                background: linear-gradient(180deg, #2c1810 0%, #3d2914 45%, #5c3d1e 100%);
                box-shadow: -10px 0 30px rgba(44, 24, 16, 0.45);
                backdrop-filter: none;
                border-left: 1px solid rgba(198, 134, 12, 0.35);
                padding: 50px 0 50px 0;
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                overflow-y: auto;
                z-index: 1002;
            }

            .mobile-menu.active {
                transform: translateX(0);
            }

            .mobile-menu a {
                padding: 25px 40px;
                font-size: 22px;
                font-weight: 500;
                color: #f5e6c8;
                text-decoration: none;
                display: block;
                position: relative;
                margin: 8px 30px;
                border-radius: 15px;
                transition: all 0.3s ease;
                border: none;
                background: transparent;
                text-align: left;
            }

            .mobile-menu a:hover {
                background: linear-gradient(135deg, #c6860c 0%, #8b5a2b 100%);
                color: white;
                transform: translateX(10px);
                box-shadow: 0 10px 25px rgba(198, 134, 12, 0.3);
            }

            .mobile-menu a::before {
                content: '';
                position: absolute;
                left: 0;
                top: 50%;
                width: 6px;
                height: 0;
                background: linear-gradient(to bottom, #c6860c, #8b5a2b);
                border-radius: 3px;
                transition: height 0.3s ease;
                transform: translateY(-50%);
            }

            .mobile-menu a:hover::before {
                height: 70%;
            }

            /* Кнопка закрытия меню */
            .menu-close-btn {
                position: absolute;
                top: 15px;
                right: 25px;
                width: 30px;
                height: 30px;
                cursor: pointer;
                z-index: 1003;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 5px;
                border-radius: 50%;
                transition: background 0.3s ease;
            }

            .menu-close-btn:hover {
                background: rgba(198, 134, 12, 0.25);
            }

            .menu-close-btn span {
                position: absolute;
                width: 20px;
                height: 2px;
                background: #e6c07a;
                transition: all 0.3s ease;
            }

            .menu-close-btn span:nth-child(1) {
                transform: rotate(45deg);
            }

            .menu-close-btn span:nth-child(2) {
                transform: rotate(-45deg);
            }

            .menu-close-btn:hover span {
                background: #c6860c;
            }

            /* Заголовок меню */
            .menu-header {
                padding: 0 40px 25px 40px;
                border-bottom: 1px solid rgba(198, 134, 12, 0.3);
                margin-bottom: 25px;
            }

            .menu-header h3 {
                font-family: 'Playfair Display', serif;
                font-size: 24px;
                color: #f5e6c8;
                margin: 0;
                font-weight: 700;
                text-align: left;
            }

            .mobile-menu-overlay {
                background: transparent;
                backdrop-filter: none;
                top: 0;
                height: 100vh;
            }
        }

        .mobile-menu.active {
            display: flex;
            transform: translateY(0);
            opacity: 1;
        }

        .mobile-menu a {
            padding: 12px 10px;
            text-decoration: none;
            color: #f5e6c8;
            font-weight: 400;
            font-size: 16px;
            border-bottom: 1px solid rgba(198, 134, 12, 0.25);
            transition: color 0.3s, background 0.2s;
            border-radius: 8px;
            margin-bottom: 3px;
            text-align: center;
        }

        .mobile-menu a:hover, .mobile-menu a:active {
            color: #fff;
            background: linear-gradient(135deg, #c6860c 0%, #8b5a2b 100%);
            border-bottom-color: #e6c07a;
        }

        .mobile-menu a:last-child {
            border-bottom: none;
        }

        /* Mobile menu overlay */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        @media (max-width: 768px) {
            .mobile-menu-overlay {
                display: none;
            }
        }

        /* Prevent content overlap when mobile menu is open - только для ПК */
        @media (min-width: 769px) {
            body.mobile-menu-open {
                overflow: hidden;
                height: 100vh;
            }
        }

        /* Tablet styles */
        @media (max-width: 1024px) and (min-width: 769px) {
            .company-name h1 {
                font-size: 26px;
            }

            .company-name p {
                font-size: 12px;
            }

            .badge {
                font-size: 10px;
                padding: 3px 8px;
            }

            .badge:nth-child(n+3) {
                display: inline-block;
            }

            .header-center {
                margin: 0 20px;
            }

            .company-name::after {
                width: 50px;
                height: 2px;
            }

            nav {
                min-height: 55px;
            }

            .contacts-grid {
                gap: 40px;
            }

            .contact-form, .contact-info {
                padding: 30px;
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            /* Hero Section */
            .contacts-hero {
                padding: 60px 15px 30px;
            }

            .contacts-hero h1 {
                font-size: 32px;
                margin-bottom: 15px;
            }

            .contacts-hero p {
                font-size: 16px;
            }

            /* Contacts Section */
            .contacts-section {
                padding: 40px 15px;
            }

            .contacts-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .contact-form, .contact-info {
                padding: 25px;
            }

            .contact-form h2, .contact-info h2 {
                font-size: 24px;
                margin-bottom: 20px;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .contact-item {
                padding: 12px;
                margin-bottom: 15px;
            }

            .contact-icon {
                width: 40px;
                height: 40px;
                font-size: 16px;
                margin-right: 15px;
            }

            .contact-details h3 {
                font-size: 16px;
            }

            /* Hours Section */
            .hours-section {
                padding: 40px 15px;
            }

            .hours-section h2 {
                font-size: 28px;
                margin-bottom: 25px;
            }

            .hours-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .hours-item {
                padding: 20px;
            }

            /* Footer */
            footer {
                padding: 40px 15px;
            }

            footer p {
                font-size: 14px;
                margin-bottom: 0;
            }

            /* Logo */
            .logo img {
                height: 50px;
            }

            .logo {
                align-self: center;
            }

            .mobile-menu-toggle {
                align-self: center;
            }

            /* Header */
            header {
                padding: 12px 0;
            }

            nav {
                padding: 0 15px;
                min-height: 50px;
            }

            .header-center {
                margin: 0 10px;
            }

            .company-name h1 {
                font-size: 20px;
            }

            .company-name p {
                font-size: 9px;
            }

            .quality-badges {
                gap: 4px;
            }

            .badge {
                font-size: 8px;
                padding: 2px 6px;
            }

            .badge:nth-child(n+3) {
                display: none;
            }

            .company-name::after {
                width: 30px;
                height: 1px;
            }

            nav {
                min-height: 48px;
            }

            main {
                padding-top: 80px;
            }

            /* Скрываем заголовок меню и кнопку закрытия на мобильных устройствах */
            .menu-header {
                display: none;
            }

            .menu-close-btn {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .contacts-hero h1 {
                font-size: 28px;
            }

            .contacts-hero p {
                font-size: 14px;
            }

            .contact-form, .contact-info {
                padding: 20px;
            }

            .contact-form h2, .contact-info h2 {
                font-size: 22px;
            }

            .form-group input,
            .form-group textarea,
            .form-group select {
                padding: 12px 15px;
                font-size: 14px;
            }

            .submit-btn {
                padding: 15px;
                font-size: 16px;
            }

            .logo img {
                height: 40px;
            }
            .mobile-menu {
                padding: 12px;
            }

            nav {
                min-height: 45px;
            }

            .mobile-menu a {
                padding: 10px 0;
                font-size: 14px;
                margin-bottom: 2px;
            }

            .header-center {
                margin: 0 8px;
            }

            .company-name h1 {
                font-size: 16px;
            }

            .company-name p {
                font-size: 8px;
            }

            .quality-badges {
                gap: 3px;
            }

            .badge {
                font-size: 7px;
                padding: 1px 4px;
            }

            .company-name::after {
                width: 25px;
                height: 1px;
            }

            nav {
                min-height: 42px;
            }

            main {
                padding-top: 70px;
            }

            /* Скрываем заголовок меню и кнопку закрытия на мобильных устройствах */
            .menu-header {
                display: none;
            }

            .menu-close-btn {
                display: none;
            }
        }

        @media (max-width: 360px) {
            .contacts-hero h1 {
                font-size: 24px;
            }

            .contacts-hero p {
                font-size: 13px;
            }

            .contact-form, .contact-info {
                padding: 15px;
            }

            .contact-form h2, .contact-info h2 {
                font-size: 20px;
            }

            .logo img {
                height: 35px;
            }

            nav {
                min-height: 40px;
            }

            .header-center {
                margin: 0 6px;
            }

            .company-name h1 {
                font-size: 14px;
            }

            .company-name p {
                font-size: 7px;
            }

            .quality-badges {
                gap: 2px;
            }

            .badge {
                font-size: 6px;
                padding: 1px 3px;
            }

            .company-name::after {
                width: 20px;
                height: 1px;
            }

            main {
                padding-top: 65px;
            }

            /* Скрываем заголовок меню и кнопку закрытия на мобильных устройствах */
            .menu-header {
                display: none;
            }

            .menu-close-btn {
                display: none;
            }
        }
    
        /* Slogan wrap override */
        .company-name p {
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            overflow-wrap: anywhere;
        }
        /* Light palette override */
        :root {
            --primary-color: #fff4df;
            --secondary-color: #f4bd62;
            --accent-color: #d99222;
            --bg-color: #fff8eb;
            --text-color: #3b2818;
            --border-color: rgba(194, 122, 36, 0.25);
        }

        body {
            background: #fff8eb !important;
            color: #3b2818;
        }

        header {
            background: linear-gradient(135deg, #fff0cf 0%, #f3c87f 50%, #e6ad61 100%) !important;
            border-bottom: 1px solid rgba(194, 122, 36, 0.25) !important;
            box-shadow: 0 4px 18px rgba(139, 90, 43, 0.18) !important;
        }

        .company-name h1 {
            color: #6f431b !important;
            background: linear-gradient(135deg, #6f431b, #b46f22) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
            text-shadow: none !important;
        }

        .company-name p,
        .nav-links a {
            color: #7a4b1e !important;
        }

        .badge,
        .cta-button,
        .featured-btn,
        .submit-btn,
        .filter-btn.active {
            background: linear-gradient(135deg, #e9b34f 0%, #d99222 55%, #b86f24 100%) !important;
            color: #fff !important;
            border-color: rgba(255, 244, 223, 0.55) !important;
        }

        .mobile-menu-toggle span,
        .menu-close-btn span {
            background: #7a4b1e !important;
        }

        .mobile-menu {
            background: linear-gradient(180deg, #fff3d6 0%, #f0c987 55%, #e6ad61 100%) !important;
            border-left: 1px solid rgba(194, 122, 36, 0.25) !important;
            box-shadow: -10px 0 30px rgba(139, 90, 43, 0.2) !important;
        }

        .mobile-menu a,
        .menu-header h3 {
            color: #4a2f14 !important;
        }

        .mobile-menu a:hover,
        .mobile-menu a:active {
            background: linear-gradient(135deg, #e9b34f 0%, #c88942 100%) !important;
            color: #fff !important;
        }

        .hero,
        .news-hero,
        .contacts-hero,
        .about-hero {
            background: linear-gradient(135deg, #fff0cf 0%, #f3c87f 55%, #e6ad61 100%) !important;
            background-image: linear-gradient(135deg, rgba(255, 240, 207, 0.92), rgba(230, 173, 97, 0.9)) !important;
        }

        .products,
        .history,
        .achievements,
        .contacts-section,
        .certificates,
        .news-section {
            background: linear-gradient(160deg, #fff8eb 0%, #f3d49a 48%, #e6ad61 100%) !important;
        }

        .about,
        .values,
        .cta-section,
        .featured-news {
            background: linear-gradient(160deg, #fff3d6 0%, #f0c987 50%, #dda45c 100%) !important;
        }

        .hero h1,
        .hero p,
        .news-hero h1,
        .news-hero p,
        .contacts-hero h1,
        .contacts-hero p,
        .about h2,
        .about p,
        .values h2,
        .values > p,
        .cta-section h2,
        .cta-section p,
        .featured-news h2,
        .featured-news p,
        .section h2,
        .section p {
            color: #3b2818 !important;
            text-shadow: none !important;
        }

        .product-item,
        .news-card,
        .value-card,
        .contact-info,
        .contact-form,
        .map-card,
        .certificate-card {
            background: rgba(255, 252, 245, 0.96) !important;
            border-color: rgba(194, 122, 36, 0.22) !important;
            box-shadow: 0 12px 30px rgba(139, 90, 43, 0.14) !important;
        }

        footer,
        #contacts {
            background: linear-gradient(135deg, #fff0cf 0%, #f3c87f 55%, #e6ad61 100%) !important;
            color: #3b2818 !important;
            border-top: 1px solid rgba(194, 122, 36, 0.25) !important;
        }

        footer a,
        #contacts a {
            color: #7a4b1e !important;
        }

        .about {
            background:
                radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.8) 0%, transparent 28%),
                radial-gradient(circle at 88% 12%, rgba(244, 189, 98, 0.45) 0%, transparent 32%),
                linear-gradient(145deg, #fff9ee 0%, #f7deb0 52%, #edbd78 100%) !important;
        }

        .cta-section {
            background:
                radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.72) 0%, transparent 28%),
                radial-gradient(circle at 84% 76%, rgba(255, 181, 107, 0.46) 0%, transparent 32%),
                linear-gradient(135deg, #ffe8bf 0%, #efad5d 52%, #c97a35 100%) !important;
        }
