        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --black: #000000;
            --dark-gray: #0a0a0a;
            --gray: #1a1a1a;
            --medium-gray: #2a2a2a;
            --light-gray: #404040;
            --text-gray: #808080;
            --border-gray: #333333;
            --white: #ffffff;
            --accent: #C5A882;
            --accent-hover: #B8A082;
            --accent-dark: #A67C52;
            --cream: #F7F5F2;
            --light-beige: #D0C7B8;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--black);
            color: var(--white);
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header Navigation */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1001;
            background: transparent;
            padding: 0;
        }
        
        .header-content {
            display: flex;
            align-items: center;
            padding: 13px 100px;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            position: relative;
        }
        
        .nav-left {
            display: flex;
            gap: 40px;
            list-style: none;
            position: absolute;
            left: 100px;
        }
        
        .nav-left a {
            color: var(--light-beige);
            text-decoration: none;
            font-size: 16px;
            font-weight: 300;
            transition: all 0.3s;
        }
        
        .nav-left a:hover {
            color: var(--accent);
        }
        
        .logo {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .logo img {
            height: 40px;
            width: auto;
        }
        
        .nav-right {
            display: flex;
            gap: 40px;
            list-style: none;
            position: absolute;
            right: 100px;
        }
        
        .nav-right a {
            color: var(--light-beige);
            text-decoration: none;
            font-size: 16px;
            font-weight: 300;
            transition: all 0.3s;
        }
        
        .nav-right a:hover {
            color: var(--accent);
        }

        /* Mobile Menu */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            padding: 10px;
            cursor: pointer;
            flex-direction: column;
            gap: 4px;
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
        }

        .mobile-menu-btn span {
            width: 25px;
            height: 3px;
            background: var(--light-beige);
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .mobile-menu-btn.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

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

        .mobile-menu-btn.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        .mobile-nav {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            /* Тот же серый, что у модалок и секции «Наша команда» */
            background: var(--medium-gray);
            display: none;
            border-top: 1px solid rgba(197, 168, 130, 0.2);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
        }

        .mobile-nav.active {
            display: block;
        }

        .mobile-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-nav li {
            border-bottom: 1px solid rgba(197, 168, 130, 0.1);
        }

        .mobile-nav li:last-child {
            border-bottom: none;
        }

        .mobile-nav a {
            display: block;
            padding: 15px 20px;
            color: var(--light-beige);
            text-decoration: none;
            font-size: 16px;
            font-weight: 300;
            transition: all 0.3s ease;
        }

        .mobile-nav a:hover {
            background: rgba(197, 168, 130, 0.1);
            color: var(--accent);
        }

        /* Hide desktop nav on mobile */
        @media (max-width: 768px) {
            .desktop-nav {
                display: none;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .logo {
                left: 20px;
                transform: none;
                position: absolute;
            }
        }

        /* Mobile landscape orientation */
        @media (max-width: 1024px) and (max-height: 768px) {
            .desktop-nav {
                display: none;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .logo {
                left: 20px;
                transform: none;
                position: absolute;
            }
        }

        /* Tablet portrait mode - show burger menu */
        @media (max-width: 1024px) and (orientation: portrait) {
            .desktop-nav {
                display: none;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .logo {
                left: 20px;
                transform: none;
                position: absolute;
            }
        }

        /* Hero Section */
        .hero-main {
            height: 100vh;
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/files/herobg.avif');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
        }
        
        .hero-content {
            max-width: 900px;
            padding: 0 20px;
        }
        
        .hero-title {
            font-size: 54px;
            font-weight: 300;
            line-height: 1.2;
            margin-bottom: 50px;
            color: #fff;
        }
        
        .telegram-btn {
            background: var(--accent);
            border: 2px solid var(--accent);
            color: var(--black);
            padding: 18px 40px;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 16px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        
        .telegram-btn::before {
            content: '✈';
            font-size: 18px;
        }
        
        .telegram-btn:hover {
            background: transparent;
            border-color: var(--accent);
            color: var(--accent);
            transform: translateY(-2px);
        }
        
        
        
        /* Main Sections */
        .section {
            padding: 80px 0;
            background: #1a1a1a;
        }
        
        .section-title {
            text-align: center;
            font-size: 32px;
            font-weight: 300;
            margin-bottom: 20px;
            color: var(--light-beige);
            text-transform: uppercase;
        }
        
        .section-subtitle {
            text-align: center;
            color: var(--light-beige);
            margin-bottom: 60px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        
        /* Team Section */
        .team-section {
            background: #2a2a2a;
            position: relative;
        }
        
        .founder {
            text-align: center;
            max-width: 400px;
            margin: 0 auto 80px;
            background: #333;
            padding: 40px;
            border-radius: 15px;
        }

        /* Первый участник занимает отдельную строку по центру,
           остальные идут ниже в три колонки. */
        .team-lead .founder {
            margin-bottom: 40px;
        }

        .team-grid .founder {
            flex: 0 1 340px;
            max-width: 340px;
            margin: 0;
            padding: 32px 26px;
        }
        
        /* Флексбокс вместо сетки: ряд всегда центрируется, сколько бы
           участников в нём ни осталось — один, два или три. */
        .team-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
            align-items: stretch;
            max-width: 1100px;
            margin: 0 auto;
        }
        
        .team-member {
            text-align: center;
        }
        
        .team-photo {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: #444;
            margin: 0 auto 20px;
            position: relative;
            background-size: cover;
            background-position: center;
            overflow: hidden;
        }
        
        .team-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }
        
        .team-name {
            font-size: 18px;
            font-weight: 500;
            margin-bottom: 10px;
            color: var(--accent);
        }
        
        .team-role {
            color: var(--light-beige);
            font-size: 14px;
            margin-bottom: 15px;
        }
        
        .team-description {
            color: var(--light-beige);
            font-size: 13px;
            line-height: 1.5;
        }
        
        
        /* Projects Section */
        .projects-section {
            background: #2a2a2a;
            position: relative;
        }
        
        .gallery-container {
            position: relative;
            width: 100%;
            margin-bottom: 40px;
        }
        
        .gallery-wrapper {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
        }
        
        .gallery-item {
            aspect-ratio: 3/4;
            background: var(--medium-gray);
            display: flex;
            align-items: flex-end;
            justify-content: flex-start;
            color: #fff;
            font-size: 16px;
            position: relative;
            border-radius: 15px;
            background-size: cover;
            background-position: center;
            padding: 25px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }
        
        .gallery-item::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(transparent, rgba(0,0,0,0.7));
            border-radius: 15px;
            z-index: 1;
        }
        
        .gallery-item-title {
            position: relative;
            z-index: 2;
            font-weight: 300;
            font-size: 22px;
            line-height: 1.15;
        }
        
        .gallery-item:last-child {
            margin-right: 0;
        }
        
        
        
        /* Services Section */
        .services-section {
            background: #2a2a2a;
            position: relative;
            overflow: hidden;
        }
        
        .services-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(197, 168, 130, 0.03) 0%, rgba(197, 168, 130, 0.01) 100%);
            z-index: 0;
        }
        
        .services-list {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        
        .service-item {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            margin-bottom: 20px;
            padding: 0;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            overflow: hidden;
            position: relative;
        }
        
        .service-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
            transition: left 0.6s ease;
        }
        
        .service-item:hover::before {
            left: 100%;
        }
        
        .service-item:hover {
            transform: translateY(-4px);
            background: rgba(197, 168, 130, 0.04);
            border-color: rgba(197, 168, 130, 0.2);
            box-shadow: 0 12px 40px rgba(197, 168, 130, 0.1);
        }
        
        .service-item.active {
            background: rgba(197, 168, 130, 0.05);
            border-color: rgba(197, 168, 130, 0.3);
            box-shadow: 0 8px 32px rgba(197, 168, 130, 0.15);
        }
        
        .service-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 28px 32px;
            position: relative;
        }
        
        .service-title {
            font-size: 20px;
            font-weight: 500;
            color: #fff;
            transition: color 0.3s ease;
            flex: 1;
            margin-right: 15px;
        }
        
        .service-item:hover .service-title {
            color: var(--accent);
        }
        
        .service-toggle {
            width: 32px;
            height: 32px;
            min-width: 32px;
            min-height: 32px;
            border-radius: 50%;
            background: rgba(197, 168, 130, 0.1);
            border: 1px solid rgba(197, 168, 130, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: var(--accent);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .service-toggle::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(197, 168, 130, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.3s ease;
        }
        
        .service-item:hover .service-toggle::before {
            width: 100%;
            height: 100%;
        }
        
        .service-toggle.active {
            transform: rotate(45deg);
            background: rgba(197, 168, 130, 0.2);
            border-color: rgba(197, 168, 130, 0.5);
        }
        
        .service-content {
            max-height: 0;
            overflow: hidden;
            padding: 0 32px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            transform: translateY(-10px);
        }
        
        .service-content.active {
            max-height: 600px;
            padding: 0 32px 32px;
            opacity: 1;
            transform: translateY(0);
        }
        
        .service-description {
            color: #ccc;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 20px;
            font-weight: 300;
        }
        
        .service-features {
            list-style: none;
            margin: 0 0 24px 0;
            padding: 0;
        }
        
        .service-features li {
            padding: 10px 0;
            color: #e0e0e0;
            font-size: 14px;
            position: relative;
            padding-left: 24px;
            transition: all 0.3s ease;
        }
        
        .service-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            top: 10px;
            color: var(--accent);
            font-weight: bold;
            font-size: 12px;
        }
        
        .service-features li:hover {
            color: #fff;
            padding-left: 28px;
        }
        
        .service-price {
            background: linear-gradient(135deg, var(--accent), var(--accent-hover));
            color: var(--black);
            padding: 12px 20px;
            border-radius: 24px;
            font-weight: 600;
            font-size: 16px;
            display: inline-block;
            box-shadow: 0 4px 16px rgba(197, 168, 130, 0.3);
            transition: all 0.3s ease;
        }
        
        .service-price:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 24px rgba(197, 168, 130, 0.4);
        }

        .service-additional {
            color: var(--beige-light);
            font-size: 14px;
            margin: 15px 0 20px 0;
            padding-top: 15px;
            border-top: 1px solid rgba(197, 168, 130, 0.2);
            font-weight: 500;
        }

        .service-additional ul {
            list-style: none;
            padding: 0;
            margin: 8px 0 0 0;
        }

        .service-additional li {
            padding: 3px 0;
            padding-left: 20px;
            position: relative;
        }

        .service-additional li:before {
            content: '+';
            color: var(--accent);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        /* Process Section */
        .process-section {
            background: #2a2a2a;
            position: relative;
        }
        
        .process-timeline {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }
        
        .process-timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #444;
            transform: translateX(-50%);
        }
        
        .process-step {
            display: flex;
            align-items: center;
            margin-bottom: 60px;
            position: relative;
        }
        
        .process-step:nth-child(even) {
            flex-direction: row-reverse;
        }
        
        .step-content {
            width: 45%;
            padding: 30px;
            background: #2a2a2a;
            border-radius: 10px;
            position: relative;
        }
        
        .step-number {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            background: #444;
            border: 3px solid var(--accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 600;
            z-index: 10;
        }
        
        .step-title {
            font-size: 18px;
            font-weight: 500;
            margin-bottom: 15px;
            color: #fff;
        }
        
        .step-description {
            color: #ccc;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .step-button {
            background: var(--accent);
            color: var(--black);
            border: 1px solid var(--accent);
            padding: 8px 20px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .step-button:hover {
            background: transparent;
            color: var(--accent);
            transform: translateY(-2px);
            box-shadow: 0 3px 15px rgba(197, 168, 130, 0.3);
        }
        
        
        /* Contact Section */
        .contact-section {
            background: #2a2a2a;
            padding: 80px 0;
            position: relative;
        }
        
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .form-group {
            flex: 1;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px 20px;
            background: rgba(255,255,255,0.9);
            border: none;
            border-radius: 25px;
            color: #333;
            font-size: 14px;
            font-family: 'Inter', sans-serif;
            transition: all 0.3s ease;
        }
        
        .form-group textarea {
            border-radius: 20px;
            min-height: 100px;
            resize: vertical;
        }
        
        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #999;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            background: rgba(255,255,255,1);
            box-shadow: 0 0 0 2px var(--accent);
        }
        
        .privacy-checkbox {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin: 25px 0;
            font-size: 13px;
            line-height: 1.5;
        }
        
        .privacy-checkbox input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin: 0;
            flex-shrink: 0;
            cursor: pointer;
        }
        
        .privacy-checkbox label {
            color: #ccc;
            cursor: pointer;
            flex: 1;
        }
        
        .privacy-checkbox a {
            color: var(--accent);
            text-decoration: underline;
        }
        
        .privacy-checkbox a:hover {
            color: var(--accent-hover);
        }
        
        .submit-btn {
            background: var(--accent);
            color: var(--black);
            padding: 15px 40px;
            border: 2px solid var(--accent);
            border-radius: 25px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s;
            width: 100%;
        }
        
        .submit-btn:hover {
            background: transparent;
            color: var(--accent);
            transform: translateY(-2px);
        }
        
        .submit-btn:disabled {
            background: #666;
            border-color: #666;
            color: #999;
            cursor: not-allowed;
            transform: none;
        }
        
        .form-message {
            margin-top: 20px;
            padding: 15px 20px;
            border-radius: 15px;
            text-align: center;
            font-size: 14px;
            display: none;
        }
        
        .form-message.success {
            background: rgba(76, 175, 80, 0.1);
            border: 1px solid rgba(76, 175, 80, 0.3);
            color: #4CAF50;
        }
        
        .form-message.error {
            background: rgba(244, 67, 54, 0.1);
            border: 1px solid rgba(244, 67, 54, 0.3);
            color: #f44336;
        }
        
        .loading-spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid transparent;
            border-top: 2px solid currentColor;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 10px;
        }
        
        .submit-btn.loading .loading-spinner {
            display: inline-block;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Cookie Banner */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(20px);
            padding: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 1000;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }
        
        .cookie-banner.show {
            transform: translateY(0);
        }
        
        .cookie-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .cookie-text {
            flex: 1;
            color: #ccc;
            font-size: 14px;
            line-height: 1.5;
            min-width: 250px;
        }
        
        .cookie-text a {
            color: var(--accent);
            text-decoration: underline;
        }
        
        .cookie-buttons {
            display: flex;
            gap: 15px;
        }
        
        .cookie-btn {
            padding: 10px 25px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            border: 1px solid transparent;
        }
        
        .cookie-btn.accept {
            background: var(--accent);
            color: var(--black);
        }
        
        .cookie-btn.accept:hover {
            background: var(--accent-hover);
            transform: translateY(-1px);
        }
        
        .cookie-btn.settings {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ccc;
        }
        
        .cookie-btn.settings:hover {
            border-color: var(--accent);
            color: var(--accent);
        }
        
        
        /* Footer */
        .footer {
            background: #1a1a1a;
            padding: 26px 0 14px;
            position: relative;
        }

        .footer-top {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 40px;
            align-items: start;
            padding-bottom: 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .footer-col-title {
            font-size: 14px;
            font-weight: 400;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--accent);
            margin: 0 0 12px;
        }

        /* Логотип выравнивается по центру высоты блока с навигацией */
        .footer-brand {
            align-self: center;
            display: grid;
            grid-template-columns: min-content;
        }

        .footer-logo {
            height: 36px;
            width: auto;
            display: block;
            margin-bottom: 14px;
        }

        /* Ссылки в два столбца. Многоколоночная раскладка сама делит список
           поровну при любом количестве пунктов — их число задаётся в админке. */
        /* Навигация занимает два столбца из четырёх, её внутренний
           межколоночный отступ равен внешнему — тогда все четыре
           столбца подвала выглядят одинаково. */
        .footer-nav {
            grid-column: span 1;
        }

        .footer-nav-cols {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 6px 24px;
            align-items: start;
        }

        .footer-nav-col {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-nav li {
            margin-bottom: 6px;
        }


        .footer-nav a {
            color: var(--light-beige);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;
        }

        .footer-nav a:hover {
            color: var(--accent);
        }

        .footer-cta {
            margin-top: 18px;
            padding: 11px 24px;
            background: none;
            color: var(--accent);
            border: 1px solid rgba(197, 168, 130, 0.5);
            border-radius: 30px;
            font-family: inherit;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.3s ease, color 0.3s ease;
        }

        .footer-cta:hover {
            background: var(--accent);
            color: #000;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
            padding-top: 12px;
            font-size: 13px;
            color: var(--text-gray);
        }

        .footer-policy {
            color: var(--text-gray);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-policy:hover {
            color: var(--accent);
        }
        
        .footer-phone {
            font-size: 24px;
            font-weight: 300;
            margin-bottom: 15px;
            color: var(--accent);
        }
        
        .footer-email {
            font-size: 18px;
            color: var(--light-beige);
            margin-bottom: 10px;
        }

        /* Телефон и почта — ссылки (tel: и mailto:), но выглядеть должны
           как обычный текст, а не как синие ссылки браузера по умолчанию. */
        .footer-phone a,
        .footer-email a {
            color: inherit;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-phone a:hover,
        .footer-email a:hover {
            color: var(--accent-hover);
        }
        
        .footer-location {
            color: var(--light-beige);
            margin-bottom: 30px;
        }
        
        .footer-social {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .footer-brand .footer-social {
            width: 100%;
            justify-content: space-between;
            gap: 8px;
        }

        .footer-brand .footer-social-link {
            width: 34px;
            height: 34px;
        }
        
        .footer-social-link {
            font-size: 12px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #333;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ccc;
            text-decoration: none;
            transition: all 0.3s;
            font-size: 12px;
        }
        
        .footer-social-link:hover {
            background: var(--accent);
            color: var(--black);
        }
        
        /* 360 Panorama Section */
        .panorama-section {
            background: #2a2a2a;
            position: relative;
            overflow: hidden;
        }
        
        .panorama-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
            pointer-events: none;
        }
        
        .panorama-wrapper {
            max-width: 1000px;
            margin: 0 auto;
        }
        
        .panorama-container {
            width: 100%;
            height: 600px;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            background: #000;
            box-shadow: 0 30px 80px rgba(0,0,0,0.7);
            cursor: grab;
            border: 1px solid rgba(255, 255, 255, 0.1);
            touch-action: none;
            user-select: none;
            -webkit-user-select: none;
            -webkit-touch-callout: none;
        }
        
        .panorama-container:active {
            cursor: grabbing;
        }
        
        #panorama-canvas {
            width: 100%;
            height: 100%;
            display: block;
        }
        
        .panorama-controls {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 6px;
            background: rgba(0,0,0,0.85);
            padding: 8px;
            border-radius: 30px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.1);
            width: calc(100% - 20px);
            max-width: calc(100% - 20px);
            flex-wrap: nowrap;
            justify-content: center;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            z-index: 10;
            box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        }

        .panorama-controls::-webkit-scrollbar {
            display: none;
        }
        
        .panorama-btn {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.7);
            padding: 6px 12px;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 11px;
            font-weight: 400;
            white-space: nowrap;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
            min-width: fit-content;
            flex-shrink: 0;
        }
        
        .panorama-btn:hover {
            background: rgba(255,255,255,0.1);
            color: #fff;
            transform: translateY(-1px);
        }
        
        .panorama-btn:active {
            transform: scale(0.95);
        }
        
        .panorama-btn.active {
            background: rgba(197,168,130,0.2);
            border-color: rgba(197,168,130,0.5);
            color: var(--accent);
            box-shadow: 0 0 20px rgba(197,168,130,0.3);
        }
        
        .panorama-loader {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }
        
        .panorama-loader.active {
            opacity: 1;
        }
        
        .loader-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(255,255,255,0.1);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: panoramaSpin 1s linear infinite;
        }
        
        @keyframes panoramaSpin {
            to { transform: rotate(360deg); }
        }
        
        .panorama-hint {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(0,0,0,0.8);
            color: rgba(255,255,255,0.8);
            padding: 10px 20px;
            border-radius: 20px;
            font-size: 13px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            gap: 8px;
            animation: fadeInOut 4s ease-in-out;
        }
        
        .mobile-hint {
            display: none;
        }
        
        @media (max-width: 768px) {
            .desktop-hint {
                display: none;
            }
            
            .mobile-hint {
                display: inline;
            }
        }
        
        @keyframes fadeInOut {
            0%, 100% { opacity: 0; }
            20%, 80% { opacity: 1; }
        }
        
        .fullscreen-btn {
            position: absolute;
            top: 20px;
            left: 20px;
            background: rgba(0,0,0,0.8);
            border: 1px solid rgba(255,255,255,0.2);
            color: rgba(255,255,255,0.8);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            backdrop-filter: blur(10px);
            z-index: 10;
        }
        
        .fullscreen-btn:hover {
            background: rgba(197,168,130,0.2);
            border-color: var(--accent);
            color: var(--accent);
            transform: scale(1.1);
        }
        
        .panorama-container.fullscreen {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            height: 100dvh !important; /* Dynamic viewport height for mobile */
            z-index: 9999 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
        }
        
        /* Fullscreen mobile specific styles */
        @media (max-width: 768px) {
            .panorama-container.fullscreen {
                width: 100vw !important;
                height: 100vh !important;
                height: 100dvh !important;
                max-width: none !important;
                max-height: none !important;
            }
            
            .panorama-container.fullscreen .panorama-controls {
                bottom: 80px !important;
                max-width: calc(100% - 20px) !important;
                background: rgba(0,0,0,0.9) !important;
                backdrop-filter: blur(25px) !important;
                padding: 8px !important;
            }
            
            .panorama-container.fullscreen .fullscreen-btn {
                top: 20px !important;
                left: 20px !important;
                z-index: 10001 !important;
            }
            
            .panorama-container.fullscreen .panorama-hint {
                top: 20px !important;
                right: 20px !important;
                z-index: 10001 !important;
            }
        }
        
        /* iOS Safari specific styles */
        .panorama-container.fullscreen {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            max-width: none !important;
            max-height: none !important;
            z-index: 999999 !important;
            background: #000 !important;
        }
        
        @supports (-webkit-touch-callout: none) {
            body.fullscreen-active {
                position: fixed !important;
                width: 100% !important;
                height: 100% !important;
                overflow: hidden !important;
                top: 0 !important;
                left: 0 !important;
            }
        }
        
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            animation: modalFadeIn 0.3s ease;
            overflow-y: auto;
        }
        
        .modal-content {
            position: relative;
            /* Тот же серый, что у секции «Наша команда» */
            background: var(--medium-gray);
            margin: 5% auto;
            padding: 30px;
            width: 90%;
            max-width: 1200px;
            border-radius: 15px;
            border: 1px solid var(--border-gray);
            animation: modalSlideIn 0.3s ease;
        }
        
        .modal-content.compact {
            max-width: 800px;
            padding: 20px;
        }
        
        .close {
            position: absolute;
            top: 15px;
            right: 25px;
            color: var(--text-gray);
            font-size: 35px;
            font-weight: 300;
            cursor: pointer;
            transition: color 0.3s;
        }
        
        .close:hover {
            color: var(--white);
        }
        
        .modal h2 {
            color: var(--white);
            margin-bottom: 30px;
            font-weight: 300;
            font-size: 28px;
        }
        
        /* Project Modal Gallery */
        .modal-gallery {
            display: flex;
            flex-direction: column;
            gap: 14px;
            align-items: stretch;
        }
        
        .modal-gallery-main {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            max-height: 58vh;
            margin-bottom: 0;
            border-radius: 10px;
            overflow: hidden;
            background: var(--dark-gray);
            position: relative;
        }
        
        .modal-gallery-main img {
            max-width: 100%;
            max-height: 58vh;
            width: auto;
            height: auto;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .modal-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.8);
            color: var(--accent);
            border: 2px solid var(--accent);
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            opacity: 0.9;
            font-weight: bold;
        }

        .modal-nav-btn:hover {
            opacity: 1;
            background: var(--accent);
            color: var(--black);
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 4px 15px rgba(197, 168, 130, 0.4);
        }

        .modal-nav-prev {
            left: 15px;
        }

        .modal-nav-next {
            right: 15px;
        }

        /* Navigation buttons visible on all devices */
        @media (max-width: 768px) {
            .modal-nav-btn {
                width: 45px;
                height: 45px;
                font-size: 20px;
            }
            .modal-nav-prev {
                left: 10px;
            }
            .modal-nav-next {
                right: 10px;
            }
        }

        .modal-gallery-thumbs {
            display: flex;
            flex-direction: row;
            gap: 10px;
            overflow-x: auto;
            overflow-y: hidden;
            width: 100%;
            padding-bottom: 8px;
        }
        
        .modal-gallery-thumbs::-webkit-scrollbar {
            height: 6px;
        }
        
        .modal-gallery-thumbs::-webkit-scrollbar-track {
            background: var(--medium-gray);
            border-radius: 3px;
        }
        
        .modal-gallery-thumbs::-webkit-scrollbar-thumb {
            background: var(--accent);
            border-radius: 3px;
        }
        
        .modal-gallery-thumbs::-webkit-scrollbar-thumb:hover {
            background: var(--accent-hover);
        }
        
        .modal-thumb {
            width: 110px;
            height: 78px;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.3s;
            flex-shrink: 0;
        }
        
        .modal-thumb:hover,
        .modal-thumb.active {
            border-color: var(--accent);
        }
        
        .modal-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Process Modal */
        .process-modal-content {
            text-align: center;
            position: relative;
        }
        
        .process-modal-content img {
            max-width: 100%;
            max-height: 70vh;
            height: auto;
            border-radius: 10px;
            border: 1px solid var(--border-gray);
            cursor: zoom-in;
            transition: transform 0.3s ease;
        }
        
        .process-modal-content img.zoomed {
            cursor: zoom-out;
            transform: scale(2);
            transform-origin: center;
        }

        /* Blueprints List Styles */
        .blueprints-list ul {
            list-style: none;
            padding: 0;
            margin: 0;
            max-height: 400px;
            overflow-y: auto;
        }

        .blueprints-list li {
            padding: 12px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--beige-light);
            transition: all 0.3s ease;
            position: relative;
            padding-left: 40px;
        }

        .blueprints-list li:before {
            content: '✓';
            position: absolute;
            left: 15px;
            color: var(--accent);
            font-weight: bold;
        }

        .blueprints-list li:hover {
            background: rgba(197, 168, 130, 0.1);
            color: var(--accent);
        }

        .blueprints-list li:last-child {
            border-bottom: none;
        }

        /* Gallery Item Hover Effect */
        .gallery-item {
            cursor: pointer;
        }
        
        .gallery-item::after {
            content: '👁';
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 20px;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 3;
        }
        
        .gallery-item:hover::after {
            opacity: 1;
        }
        
        @keyframes modalFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes modalSlideIn {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        
        
        /* Responsive */
        /* Mobile Styles */
        @media (max-width: 768px) {
            .container {
                padding: 0 15px;
            }
            
            /* Header Mobile */
            .header-content {
                padding: 20px 20px;
                flex-direction: column;
                gap: 20px;
                height: auto;
            }
            
            .nav-left,
            .nav-right {
                position: static;
                display: flex;
                gap: 20px;
                justify-content: center;
                flex-wrap: wrap;
            }
            
            .nav-left a,
            .nav-right a {
                font-size: 14px;
            }
            
            .logo {
                position: static;
                transform: none;
                order: -1;
            }
            
            /* Hero Mobile */
            .hero-title {
                font-size: 36px;
                line-height: 1.1;
                margin-bottom: 30px;
            }
            
            .hero-content {
                max-width: 100%;
                padding: 0 20px;
            }
            
            .telegram-btn {
                padding: 16px 32px;
                font-size: 14px;
            }
            
            /* Sections Mobile */
            .section {
                padding: 60px 0;
            }
            
            .section-title {
                font-size: 28px;
                margin-bottom: 15px;
            }
            
            .section-subtitle {
                font-size: 16px;
                margin-bottom: 40px;
            }
            
            /* Team Grid */
            .team-grid {
                gap: 30px;
            }

            .team-grid .founder {
                flex-basis: 100%;
                max-width: 400px;
            }
            
            /* Process Steps */
            .process-step {
                flex-direction: column !important;
                text-align: center;
                gap: 20px;
            }
            
            .step-content {
                width: 100%;
            }
            
            .step-number {
                position: relative;
                margin-bottom: 20px;
            }
            
            /* Gallery */
            .gallery-wrapper {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            /* Panorama Mobile */
            .panorama-container {
                height: 400px;
                border-radius: 15px;
            }
            
            .panorama-controls {
                bottom: 15px;
                gap: 6px;
                padding: 6px;
                max-width: 95%;
            }
            
            .panorama-controls {
                flex-wrap: wrap;
                max-width: 98%;
                gap: 4px;
                padding: 6px 8px;
                bottom: 15px;
                justify-content: stretch;
            }

            .panorama-btn {
                padding: 8px 6px;
                font-size: 11px;
                border-radius: 12px;
                flex: 1 1 auto;
                min-width: fit-content;
                text-align: center;
                max-width: calc(33.333% - 3px);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            
            .panorama-hint {
                top: 15px;
                right: 15px;
                padding: 8px 15px;
                font-size: 12px;
            }
            
            .fullscreen-btn {
                top: 15px;
                left: 15px;
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
            
            /* Contact Form */
            .form-row {
                flex-direction: column;
            }
            
            .form-group {
                margin-bottom: 20px;
            }
            
            input, textarea, select {
                font-size: 16px; /* Prevents zoom on iOS */
            }
            
            /* Modal Mobile */
            .modal-content {
                margin: 10px;
                width: calc(100% - 20px);
                padding: 20px;
            }
            
            .modal-content.compact {
                padding: 15px;
            }
            
            .modal-gallery-main {
                width: 100%;
                max-height: 55vh;
            }

            .modal-gallery-main img {
                max-height: 55vh;
            }

            .modal-gallery-thumbs {
                gap: 8px;
            }

            .modal-thumb {
                width: 80px;
                height: 58px;
            }
            
            /* Services Mobile */
            .services-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .hero-title {
                font-size: 28px;
            }
            
            .section-title {
                font-size: 24px;
            }
            
            .header-content {
                padding: 15px;
            }
            
            .nav-left,
            .nav-right {
                gap: 15px;
            }
            
            .panorama-container {
                height: 300px;
            }
            
            .panorama-controls {
                flex-wrap: wrap;
                gap: 3px;
                padding: 4px 6px;
                max-width: 96%;
                bottom: 10px;
                justify-content: stretch;
            }

            .panorama-btn {
                padding: 6px 4px;
                font-size: 10px;
                flex: 1 1 auto;
                min-width: fit-content;
                text-align: center;
                border-radius: 10px;
                max-width: calc(33.333% - 2px);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            /* Fullscreen mode for small mobile screens */
            .panorama-container.fullscreen .panorama-controls {
                bottom: 100px !important;
                max-width: calc(100% - 16px) !important;
                gap: 2px !important;
                padding: 6px !important;
            }

            .panorama-container.fullscreen .panorama-btn {
                padding: 8px 6px !important;
                font-size: 10px !important;
                min-width: fit-content !important;
            }
        }

        /* ---- Модалка заявки ---- */
        .lead-modal-content {
            max-width: 620px;
        }

        .lead-modal-subtitle {
            color: var(--text-gray);
            margin: -18px 0 26px;
            font-size: 15px;
            line-height: 1.6;
        }

        .lead-modal-content .contact-form {
            max-width: 100%;
            margin: 0;
        }

        /* Honeypot: невидим для людей, но доступен ботам */
        .hp-field {
            position: absolute !important;
            left: -9999px !important;
            width: 1px;
            height: 1px;
            overflow: hidden;
            opacity: 0;
            pointer-events: none;
        }

        @media (max-width: 768px) {
            .lead-modal-content {
                margin: 10% auto;
                padding: 24px 18px;
            }
            .lead-modal-content h2 {
                font-size: 22px;
            }
        }

        /* ---- Шапка: три колонки вместо абсолютного позиционирования ----
           Пунктов меню стало больше, и абсолютные left/right наезжали на логотип. */
        .header-content {
            justify-content: space-between;
            gap: 24px;
            padding-left: 40px;
            padding-right: 40px;
        }

        .header-content > .desktop-nav {
            flex: 1 1 0;
            min-width: 0;
        }

        .header-content > .desktop-nav:first-of-type {
            display: flex;
            justify-content: flex-start;
        }

        .header-content > .desktop-nav:last-of-type {
            display: flex;
            justify-content: flex-end;
        }

        .nav-left,
        .nav-right {
            position: static;
            left: auto;
            right: auto;
            gap: 28px;
            flex-wrap: nowrap;
            align-items: center;
        }

        .nav-left a,
        .nav-right a {
            white-space: nowrap;
        }

        .logo {
            position: static;
            left: auto;
            transform: none;
            flex: 0 0 auto;
        }

        /* Акцентный пункт «Рассчитать стоимость» */

        @media (max-width: 1280px) {
            .header-content {
                padding-left: 24px;
                padding-right: 24px;
            }
            .nav-left,
            .nav-right {
                gap: 18px;
            }
            .nav-left a,
            .nav-right a {
                font-size: 14px;
            }
        }

        @media (max-width: 768px) {
            .header-content > .desktop-nav {
                flex: 0 0 auto;
            }
        }

        /* ---- Бургер раньше: 7 пунктов меню не влезают в десктопную строку ----
           Раньше переключение было на 768px, но с новыми пунктами
           («Проект санузла», «Рассчитать стоимость») меню наезжало на логотип
           уже около 1000px, а после добавления «Отзывов» — около 1150px. */
        @media (max-width: 1200px) {
            .header-content {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                gap: 16px;
                padding: 13px 20px;
                height: auto;
            }

            .header-content > .desktop-nav {
                display: none !important;
            }

            .mobile-menu-btn {
                display: flex;
                order: 3;
            }

            .logo {
                order: 2;
                margin: 0 auto;
                position: static;
                transform: none;
            }

            .logo img {
                height: 38px;
            }
        }

        /* Мобильное меню: акцентный пункт заявки */

        @media (max-width: 480px) {
            .logo img {
                height: 32px;
            }
            .header-content {
                padding: 11px 14px;
            }
        }

        /* Бургер в потоке + симметричная распорка слева, чтобы логотип
           центрировался и кнопка не наезжала на него. */
        @media (max-width: 1200px) {
            .header-content::before {
                content: '';
                flex: 0 0 auto;
                width: 44px;
                order: 1;
            }

            .mobile-menu-btn {
                position: static;
                transform: none;
                width: 44px;
                height: 44px;
                align-items: center;
                justify-content: center;
                padding: 0;
            }

            .logo {
                flex: 1 1 auto;
                justify-content: center;
            }
        }

        /* CTA в мобильном меню выравнивается с остальными пунктами */

        /* Существующее правило `input { font-size: 16px }` проигрывало по
           специфичности селектору `.form-group input` (14px), и iOS зумил
           страницу при фокусе. Задаём с той же специфичностью. */
        @media (max-width: 768px) {
            .form-group input,
            .form-group textarea,
            .form-group select {
                font-size: 16px;
            }

            .privacy-checkbox input[type="checkbox"] {
                width: 22px;
                height: 22px;
                flex: 0 0 22px;
            }

            .lead-modal-content .submit-btn {
                min-height: 52px;
            }
        }

        /* ================= Проект санузла ================= */
        /* Секция рассчитана на вертикальное фото: колонки равной ширины,
           изображение показывается целиком, без обрезки, а текст справа
           ограничен той же шириной, что и фото. */
        .bathroom-layout {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 400px));
            justify-content: center;
            gap: 50px;
            align-items: start;
            margin-top: 50px;
        }

        .bathroom-media {
            border-radius: 15px;
            overflow: hidden;
            border: 1px solid var(--border-gray);
            background: var(--dark-gray);
        }

        .bathroom-media img {
            display: block;
            width: 100%;
            height: auto;
            transition: transform 0.6s ease;
        }

        .bathroom-media:hover img {
            transform: scale(1.03);
        }

        .bathroom-description {
            color: var(--text-gray);
            font-size: 17px;
            line-height: 1.75;
            margin-bottom: 30px;
        }

        .bathroom-includes h3 {
            color: var(--white);
            font-size: 18px;
            font-weight: 400;
            margin-bottom: 16px;
            letter-spacing: 0.5px;
        }

        .bathroom-includes ul {
            list-style: none;
            padding: 0;
            margin: 0 0 32px;
        }

        .bathroom-includes li {
            position: relative;
            padding-left: 26px;
            margin-bottom: 12px;
            color: var(--light-beige);
            font-size: 16px;
            line-height: 1.6;
        }

        .bathroom-includes li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 9px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent);
        }

        .bathroom-price {
            display: flex;
            flex-direction: column;
            gap: 6px;
            padding: 22px 26px;
            border: 1px solid rgba(197, 168, 130, 0.35);
            border-radius: 15px;
            background: rgba(197, 168, 130, 0.06);
        }

        .bathroom-price-value {
            color: var(--accent);
            font-size: 30px;
            font-weight: 400;
        }

        .bathroom-price-note {
            color: var(--text-gray);
            font-size: 14px;
        }

        .bathroom-cta {
            display: flex;
            justify-content: center;
            margin-top: 45px;
        }

        @media (max-width: 968px) {
            .bathroom-layout {
                grid-template-columns: minmax(0, 400px);
                gap: 32px;
                margin-top: 36px;
            }

            .bathroom-media img {
                height: auto;
            }

            .bathroom-description {
                font-size: 16px;
                margin-bottom: 24px;
            }

            .bathroom-price-value {
                font-size: 26px;
            }

            .bathroom-cta {
                margin-top: 32px;
            }

            .bathroom-cta .telegram-btn {
                width: 100%;
                max-width: 420px;
            }
        }

        /* ================= Отзывы ================= */
        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 26px;
            margin-top: 50px;
        }

        .review-card {
            background: var(--dark-gray);
            border: 1px solid var(--border-gray);
            border-radius: 15px;
            padding: 26px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            transition: border-color 0.3s ease, transform 0.3s ease;
        }

        .review-card:hover {
            border-color: rgba(197, 168, 130, 0.45);
            transform: translateY(-3px);
        }

        .review-head {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        /* Дата в правом верхнем углу карточки */
        .review-date {
            margin-left: auto;
            align-self: flex-start;
            flex: 0 0 auto;
            font-size: 13px;
            color: var(--text-gray);
            white-space: nowrap;
        }

        .review-avatar {
            width: 48px;
            height: 48px;
            flex: 0 0 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(197, 168, 130, 0.12);
            border: 1px solid rgba(197, 168, 130, 0.35);
            color: var(--accent);
        }

        .review-author {
            color: var(--white);
            font-size: 17px;
            font-weight: 400;
            margin-bottom: 4px;
        }

        .review-stars .star {
            color: rgba(255, 255, 255, 0.22);
            font-size: 16px;
            letter-spacing: 2px;
        }

        .review-stars .star.filled {
            color: var(--accent);
        }

        .review-text {
            color: var(--text-gray);
            font-size: 15px;
            line-height: 1.7;
            margin: 0;
            white-space: pre-line;
        }

        .review-photos {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .review-photos img {
            width: 84px;
            height: 84px;
            object-fit: cover;
            border-radius: 10px;
            cursor: pointer;
            border: 1px solid var(--border-gray);
            transition: transform 0.3s ease, border-color 0.3s ease;
        }

        .review-photos img:hover {
            transform: scale(1.05);
            border-color: var(--accent);
        }

        .reviews-empty {
            text-align: center;
            color: var(--text-gray);
            margin-top: 40px;
            font-size: 16px;
        }

        .reviews-cta {
            display: flex;
            justify-content: center;
            margin-top: 45px;
        }

        /* ---- Форма отзыва ---- */
        .rating-group {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
            margin-bottom: 6px;
        }

        .rating-label {
            color: var(--text-gray);
            font-size: 15px;
        }

        .rating-stars {
            display: flex;
            gap: 4px;
        }

        .rating-star {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 30px;
            line-height: 1;
            padding: 4px;
            color: rgba(255, 255, 255, 0.22);
            transition: color 0.2s ease, transform 0.2s ease;
        }

        /* .preview ставится из JS на все звёзды до наведённой включительно,
           поэтому :hover здесь не используется — он подсветил бы только одну. */
        .rating-star.active,
        .rating-star.preview {
            color: var(--accent);
        }

        /* Пока курсор над звёздами, подсветка следует за ним: уже выбранная
           оценка не должна «подсвечивать» звёзды правее наведённой. */
        .rating-stars.previewing .rating-star.active:not(.preview) {
            color: rgba(255, 255, 255, 0.22);
        }

        .rating-star:hover {
            transform: scale(1.15);
        }

        .photo-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .photo-upload-label {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 20px;
            border: 1px dashed rgba(197, 168, 130, 0.5);
            border-radius: 25px;
            color: var(--light-beige);
            font-size: 15px;
            cursor: pointer;
            transition: background 0.3s ease, border-color 0.3s ease;
        }

        .photo-upload-label:hover {
            background: rgba(197, 168, 130, 0.1);
            border-color: var(--accent);
        }

        #reviewPhotos {
            display: none;
        }

        .photo-preview {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .photo-preview-item {
            position: relative;
            width: 78px;
            height: 78px;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--border-gray);
        }

        .photo-preview-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .photo-preview-remove {
            position: absolute;
            top: 3px;
            right: 3px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            border: none;
            background: rgba(0, 0, 0, 0.75);
            color: #fff;
            font-size: 15px;
            line-height: 1;
            cursor: pointer;
        }

        @media (max-width: 768px) {
            .reviews-grid {
                grid-template-columns: 1fr;
                gap: 18px;
                margin-top: 34px;
            }

            .review-card {
                padding: 20px;
            }

            .reviews-cta {
                margin-top: 32px;
            }

            .reviews-cta .telegram-btn {
                width: 100%;
                max-width: 420px;
            }

            .rating-star {
                font-size: 34px;
                padding: 6px;
            }

            .photo-upload-label {
                min-height: 52px;
            }
        }

        /* Класс .telegram-btn теперь используется и для кнопок заявки/отзыва,
           где иконка самолётика не к месту. */
        .telegram-btn.no-icon::before {
            content: none;
        }

        /* Карточка проекта: площадь и город под названием (п.7) */
        .gallery-item-overlay {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .gallery-item-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 300;
            color: var(--light-beige);
            opacity: 0.85;
            letter-spacing: 0.3px;
        }

        .gallery-item-meta .meta-dot {
            opacity: 0.5;
        }

        @media (max-width: 768px) {
            .gallery-item-title {
                font-size: 19px;
            }

            .gallery-item-meta {
                font-size: 13px;
            }
        }

/* Шапка фиксированная, поэтому переход по якорю прятал заголовок секции
   под неё. scroll-margin-top учитывается и при scrollIntoView, и при
   переходе по ссылке с #. Значения = замеренная высота шапки (67/71/67) плюс запас. */
section[id] {
    scroll-margin-top: 88px;
}

@media (max-width: 1200px) {
    section[id] {
        scroll-margin-top: 92px;
    }
}

@media (max-width: 480px) {
    section[id] {
        scroll-margin-top: 88px;
    }
}

/* ---- Подвал на планшете и телефоне ---- */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }

    .footer-brand,
    .footer-nav {
        grid-column: 1 / -1;
    }

    .footer-nav-cols {
        column-gap: 30px;
    }
}

/* На телефоне верхняя часть подвала скрыта: логотип, соцсети и разделы
   уже есть в секции контактов и в бургер-меню. Остаётся нижняя полоса. */
@media (max-width: 768px) {
    .footer {
        padding: 22px 0 20px;
    }

    .footer-top {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding-top: 0;
    }
}


/* ---- Секция контактов перед подвалом ---- */
/* Идёт сразу за секцией с формой того же цвета, поэтому нужна линия —
   иначе два блока читаются как один длинный. */
.contacts-info-section {
    background: var(--medium-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contacts-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.contacts-info .footer-phone,
.contacts-info .footer-email,
.contacts-info .footer-location {
    margin: 0;
}

.contacts-info .footer-phone {
    font-size: 22px;
}

.contacts-info .footer-social {
    justify-content: center;
    margin-top: 6px;
}

/* Кнопка приведена к виду «Отправить заявку» из секции с формой:
   те же отступы, размер шрифта и скругление, значит и высота. */
.contacts-info .telegram-btn {
    margin-top: 14px;
    padding: 15px 40px;
    font-size: 14px;
    border-radius: 25px;
}

@media (max-width: 560px) {
    .contacts-info .footer-phone {
        font-size: 20px;
    }

    .contacts-info .telegram-btn {
        width: 100%;
        max-width: 420px;
    }
}

/* ---- Единый вид текстовых кнопок ----
   Браузер не наследует шрифт для <button>, поэтому кнопки рисовались
   системным Arial вместо Inter, а размеры расходились: 10px у кнопок
   тура, 12px у этапов, 14px у остальных. Кнопки-иконки (бургер,
   стрелки галереи, полноэкранный режим, звёзды) сюда не входят —
   у них размер шрифта задаёт размер глифа. */
.telegram-btn,
.submit-btn,
.step-button,
.panorama-btn,
.cookie-btn,
.footer-cta {
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
}

/* Кнопка — инлайн-флекс, и без выравнивания её текст прижимался
   к левому краю, когда кнопка растягивается на всю ширину. */
.telegram-btn {
    justify-content: center;
    text-align: center;
}
