        @font-face {
            font-family: 'AA Stetica';
            src: url('fonts/AA%20Stetica%20Regular.otf') format('opentype');
            font-weight: 400; font-style: normal; font-display: swap;
        }
        @font-face {
            font-family: 'Lineyka';
            src: url('fonts/Lineyka.otf') format('opentype');
            font-weight: 400; font-style: normal; font-display: swap;
        }

        :root {
            --hero-bg: url('./images/view-3d-car-model.webp');
            --bg-primary: #EAEFF5;
            --bg-secondary: #F3F7FC;
            --accent-blue: #161E54;
            --accent-orange: #F16D34;
            --accent-orange-hover: #FF986A;
            --text-primary: #1C1C1E;
            --text-secondary: #3a3a3c;
            --text-muted: #6e6e73;
            --glass-bg: rgba(255, 255, 255, 0.65);
            --glass-border: rgba(255, 255, 255, 0.75);
            --card-radius: 24px;
            --btn-radius: 14px;
            --font-heading: 'AA Stetica', Georgia, serif;
            --font-body: 'Lineyka', system-ui, sans-serif;
            --max-width: 1280px;
            --header-height: 72px;
            --shadow-sm: 0 4px 20px rgba(0,0,0,0.04);
            --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
            --shadow-lg: 0 20px 50px rgba(0,0,0,0.1);
        }

        *{ box-sizing:border-box; margin:0; padding:0; }
        html{ scroll-behavior:auto; font-size:16px; -webkit-font-smoothing:antialiased; overflow-x: hidden; width:100%; height:100%; }
        body{ font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; min-height:100vh; width:100%; max-width:100%; position:relative; display:flex; flex-direction:column; }
        .site-wrapper{ flex:1; display:flex; flex-direction:column; }

        @keyframes iconWiggle {
            0%, 100% { transform: rotate(0deg) scale(1); }
            25% { transform: rotate(-15deg) scale(1.1); }
            50% { transform: rotate(10deg) scale(1.1); }
            75% { transform: rotate(-5deg) scale(1.1); }
        }
        .icon-img { width: 1.2em; height: 1.2em; vertical-align: middle; margin-right: 0.25em; transition: transform 0.3s; }

        #gradientCanvas{ position:fixed; inset:0; z-index:0; pointer-events:none; }
        #scroll-progress{ position:fixed; top:0; left:0; height:3px; background:linear-gradient(90deg,#161E54,#F16D34,#FF986A); z-index:9999; width:0%; border-radius:0 2px 2px 0; }

        .header{ position:fixed; top:0; left:0; right:0; z-index:5000; background:rgba(234,239,245,0.85); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-bottom:1px solid rgba(0,0,0,0.06); height:var(--header-height); display:flex; align-items:center; transition:background 0.3s, box-shadow 0.3s; }
        .header.scrolled{ background:rgba(255,255,255,0.96); box-shadow:0 1px 20px rgba(0,0,0,0.07); }
        .header__inner{ max-width:var(--max-width); margin:0 auto; padding:0 24px; width:100%; display:flex; align-items:center; justify-content:space-between; }
        .header__logo{ font-family:var(--font-heading); font-weight:800; font-size:1.25rem; color:var(--accent-blue); letter-spacing:-0.3px; text-decoration:none; display:flex; align-items:center; gap:10px; }
        .header__logo-icon{ width:40px; height:40px; border-radius:10px; background:linear-gradient(135deg,#161E54,#F16D34); display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.1rem; font-weight:800; }
        .header__contacts{ display:flex; align-items:center; gap:16px; }
        .header__phone{ font-weight:600; color:var(--text-primary); text-decoration:none; font-size:0.95rem; transition:0.2s; white-space:nowrap; }
        .header__phone:hover{ color:var(--accent-orange); }
        .header__cta-sm{ background:var(--accent-orange); color:#fff; border:none; padding:12px 24px; border-radius:var(--btn-radius); font-family:var(--font-body); font-weight:700; font-size:0.92rem; cursor:pointer; transition:0.25s; white-space:nowrap; box-shadow:0 2px 12px rgba(241,109,52,0.25); }
        .header__cta-sm:hover{ background:var(--accent-orange-hover); transform:translateY(-1px); box-shadow:0 6px 24px rgba(241,109,52,0.4); }

        /* ====== HERO PREMIUM ====== */
        .hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: var(--header-height); z-index: 1; isolation: isolate; }
        .hero__bg { position: absolute; inset: 0; background-image: var(--hero-bg); background-position: center center; background-size: cover; background-repeat: no-repeat; transform: scale(1.04); z-index: 0; }
        .hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,18,0.88) 0%, rgba(7,10,18,0.72) 34%, rgba(7,10,18,0.32) 60%, rgba(7,10,18,0.08) 100%), linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.32) 100%); }
        .hero__overlay { position: absolute; inset: 0; background: radial-gradient(circle at 80% 35%, rgba(241,109,52,0.18), transparent 28%), radial-gradient(circle at 65% 75%, rgba(241,109,52,0.12), transparent 30%); z-index: 1; }
        .hero__content {
            position: relative; z-index: 2;
            width: 100%; max-width: var(--max-width);
            margin: 0 auto; padding: 0 24px;
            display: flex; align-items: center; justify-content: space-between;
            flex-wrap: wrap; gap: 24px;
        }
        .hero__banner-wrap {
            flex: 0 0 40%; max-width: 40%;
            display: none; /* показывается через JS */
            order: 0;
        }
        .hero__banner {
            display:block; width:100%;
            border-radius:16px; overflow:hidden;
            background:transparent;
        }
        .hero__banner picture, .hero__banner img {
            display:block; width:100%; height:auto;
        }
        .hero__layout {
            flex: 1; min-width: 300px;
            order: 1;
        }
        .hero__badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; justify-content: flex-end; }
        .hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: rgba(255,255,255,0.92); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.2px; box-shadow: 0 10px 30px rgba(0,0,0,0.14); transition: background 0.25s ease, border-color 0.25s ease; }
        .hero__badge:hover { background: rgba(255,255,255,0.12); border-color: rgba(241,109,52,0.42); }
        .hero__glass-panel { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(14,18,32,0.76) 0%, rgba(14,18,32,0.58) 100%); border: 1px solid rgba(255,255,255,0.1); border-radius: 30px; padding: 32px 44px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 20px 80px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.08); max-width: 720px; margin-left: auto; }
        .hero__glass-panel::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 38%); pointer-events: none; }
        .hero__title { position: relative; z-index: 1; font-family: var(--font-heading); font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 0.98; letter-spacing: -2px; color: #ffffff; margin-bottom: 24px; max-width: 620px; margin-left: auto; text-align: right; }
        .hero__title-accent { color: var(--accent-orange); }
        .hero__subtitle { position: relative; z-index: 1; max-width: 560px; font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,0.72); margin-left: auto; text-align: right; }
        .hero__buttons-outer { margin-top: 18px; display: flex; justify-content: flex-end; }
        .hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
        .hero__buttons-row { display: flex; gap: 14px; align-items: center; }

        .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 16px 30px; border-radius: 16px; font-family: var(--font-body); font-weight: 600; font-size: 0.96rem; cursor: pointer; border: none; text-decoration: none; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease; user-select: none; -webkit-tap-highlight-color: transparent; }
        .btn:hover { transform: translateY(-2px); }
        .btn:active { transform: scale(0.95) translateY(0); box-shadow: inset 0 4px 12px rgba(0,0,0,0.15), 0 2px 6px rgba(0,0,0,0.05); transition-duration: 0.08s; }
        .btn--primary { background: linear-gradient(135deg,#F16D34 0%,#ff8b57 100%); color: #fff; box-shadow: 0 14px 40px rgba(241,109,52,0.35); }
        .btn--primary:hover { box-shadow: 0 18px 44px rgba(241,109,52,0.5); }
        .btn--telegram { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
        .btn--telegram:hover { background: #229ED9; border-color: #229ED9; box-shadow: 0 4px 16px rgba(34,158,217,0.3); }
        .btn--vk { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 16px; min-width: 58px; width: 58px; height: 58px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
        .btn--vk:hover { background: #5181b8; border-color: #5181b8; box-shadow: 0 4px 16px rgba(81,129,184,0.3); }
        .btn--vk .icon-img { width: 28px; height: 28px; margin: 0; }

        .hero__scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; color: #fff; animation: floatDown 2.2s ease-in-out infinite; text-align: center; }
        @keyframes floatDown { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; } 50% { transform: translateX(-50%) translateY(10px); opacity: 1; } }
        .hero__scroll-hint span { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 4px; }
        .hero__scroll-hint::after { content: '↓'; display: block; font-size: 1.2rem; animation: bounceArrow 2.2s ease-in-out infinite; }
        @keyframes bounceArrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

        @media (max-width:1024px) {
            .hero__content { align-items: flex-end; padding-bottom: 60px; flex-direction: column; }
            .hero__layout { max-width: 100%; order: 1; }
            .hero__glass-panel { padding: 38px; }
            .hero__banner-wrap { flex: 0 0 100%; max-width: 100%; order: 2; margin-top: 18px; }
        }
        @media (max-width:768px) {
            .hero { min-height: 100svh; align-items: flex-end; }
            .hero__content { padding: 0 18px 26px; flex-direction: column; align-items: stretch; }
            .hero__banner-wrap { flex: 0 0 100%; max-width: 100%; order: 2; margin-top: 18px; }
            .hero__layout { width: 100%; order: 1; min-width: 0; }
            .hero__banner-wrap { display: none; } /* скрываем, т.к. баннер обычно не нужен на мобильных в герое */
            .hero__banner-wrap[style*="display:block"] { display: block; } /* но если JS показал — показываем */
            .hero__badges { gap: 10px; margin-bottom: 18px; }
            .hero__badges .hero__badge:first-child { margin-top: 10px; }
            .hero__badge { width: 100%; justify-content: center; padding: 11px 14px; font-size: 0.78rem; text-align: center; }
            .hero__glass-panel { border-radius: 26px; padding: 28px 22px; }
            .hero__title { font-size: clamp(2.2rem, 10vw, 3.3rem); line-height: 1.02; letter-spacing: -1.4px; margin-bottom: 18px; }
            .hero__subtitle { font-size: 0.95rem; line-height: 1.65; }
            .hero__buttons-outer { margin-top: 14px; width: 100%; }
            .hero__buttons { flex-direction: column; width: 100%; }
            .hero__buttons .btn { width: 100%; min-height: 56px; padding: 15px 18px; border-radius: 14px; font-size: 0.92rem; }
            .hero__buttons .btn--vk { width: 54px; height: 54px; min-width: 54px; min-height: 54px; padding: 12px; flex-shrink: 0; align-self: center; }
            .hero__buttons .btn--vk .icon-img { width: 28px; height: 28px; }
            .hero__buttons .hero__buttons-row { display: flex; gap: 10px; width: 100%; }
            .hero__buttons .hero__buttons-row .btn--telegram { flex: 1; }
            .hero__buttons .hero__buttons-row .btn--vk { width: 54px; height: 54px; min-width: 54px; min-height: 54px; }
            .hero__scroll-hint { display: none; }
            
            .header__logo { font-size: 1.05rem; gap: 8px; }
            .header__logo-icon { width: 32px; height: 32px; font-size: 0.95rem; border-radius: 8px; }
            .portfolio-info-panel { flex-direction: column; text-align: left; padding: 20px; }
            .portfolio-info-video { flex: 0 0 auto; width: 100%; height: 200px; }
            .section-header-row { flex-direction: column; align-items: flex-start; gap: 12px; }
        }
        @media (max-width:600px) {
            .master-card { flex-direction: column; text-align: center; gap: 20px; padding: 24px; }
        }
        @media (max-width:480px) {
            .hero__content { padding: 0 14px 18px; }
            .hero__glass-panel { padding: 24px 18px; border-radius: 22px; }
            .hero__title { font-size: 2rem; margin-bottom: 16px; }
            .hero__subtitle { font-size: 0.9rem; }
            .hero__badge { border-radius: 18px; }
        }

        /* Центрирование кнопок в контактах */
        #contacts .section__title { text-align: center; }
        #contacts .contact-form > .btn { display: block; margin-left: auto; margin-right: auto; }
        #contacts .social-row .btn { display: inline-flex; margin: 0; }

        .section{ padding:80px 24px; position:relative; z-index:1; }
        .section:nth-child(even){ background:var(--bg-secondary); }
        .section + .section { border-top: 1px solid rgba(0,0,0,0.04); }
        .stack-section{ position: relative; z-index: 1; }
        .section__inner{ max-width:var(--max-width); margin:0 auto; position: relative; z-index: 2; }
        .section-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
        .section-header-left { flex: 1; }
        .section__label{ font-family:var(--font-body); font-size:0.8rem; text-transform:uppercase; letter-spacing:2px; color:var(--accent-orange); font-weight:700; margin-bottom:8px; }
        .section__title{ font-family:var(--font-heading); font-weight:700; font-size:clamp(1.6rem,3.5vw,2.4rem); color:var(--text-primary); letter-spacing:-0.5px; line-height:1.2; }

        .video-link { font-size: 0.9rem; color: var(--accent-blue); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: rgba(255,255,255,0.8); backdrop-filter: blur(4px); border-radius: 50px; border: 1px solid rgba(0,0,0,0.06); transition: 0.3s; cursor: pointer; }

        /* Typography system */
        h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }
        h3 { font-size: 1.4rem; letter-spacing: -0.3px; margin-bottom: 12px; }
        h4 { font-size: 1.15rem; margin-bottom: 8px; }
        h5 { font-size: 1rem; margin-bottom: 6px; }
        h6 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
        p { margin-bottom: 12px; }
        ul, ol { margin: 12px 0; padding-left: 20px; }
        li { margin-bottom: 6px; line-height: 1.5; }
        blockquote { border-left: 3px solid var(--accent-orange); padding: 12px 20px; margin: 16px 0; background: rgba(0,0,0,0.02); border-radius: 0 12px 12px 0; font-style: italic; color: var(--text-secondary); }
        code { background: rgba(0,0,0,0.05); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
        .video-link:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--accent-orange); }

        .anim-fade-up  { will-change:opacity,transform; opacity:0; transform:translateY(50px);   transition:opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
        .anim-fade-left{ will-change:opacity,transform; opacity:0; transform:translateX(-60px);  transition:opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
        .anim-fade-right{will-change:opacity,transform; opacity:0; transform:translateX(60px);   transition:opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
        .anim-scale    { will-change:opacity,transform; opacity:0; transform:scale(0.85);         transition:opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1); }
        .anim-scale-spring { will-change:opacity,transform; opacity:0; transform:scale(0.82);     transition:opacity 0.75s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1); }
        .in-view       { opacity:1 !important; transform:none !important; will-change:unset !important; }

        .advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 32px; }
        .advantage-card{ background: rgba(255,255,255,0.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.8); border-radius: var(--card-radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s, background 0.3s; }
        .advantage-card:hover{ transform:translateY(-8px); box-shadow: var(--shadow-lg); background: #fff; }
        .advantage-card__icon{ width:48px; height:48px; border-radius:16px; background:linear-gradient(135deg,#e8ecf2,#f0f2f5); display:flex; align-items:center; justify-content:center; font-size:1.5rem; color:var(--accent-blue); margin-bottom:16px; transition:0.3s; animation:iconFloat 4s ease-in-out infinite; }
        @keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
        .advantage-card:hover .advantage-card__icon{ background:var(--accent-orange); color:#fff; transform:rotate(-8deg) scale(1.1); }
        .advantage-card__title{ font-family:var(--font-heading); font-weight:600; font-size:1.1rem; margin-bottom:6px; }
        .advantage-card__desc{ font-size:0.9rem; color:var(--text-muted); line-height:1.5; }

        .catalog-layout { display: flex; gap: 32px; align-items: flex-start; }
        .catalog-sidebar { flex: 0 0 280px; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 8px; z-index: 10; }
        .catalog-filter-mobile { display: none; }
        .catalog-content { flex: 1; min-width: 0; }
        .catalog-filter { padding: 14px 20px; border-radius: 16px; background: rgba(255,255,255,0.65); backdrop-filter: blur(4px); border:1px solid rgba(0,0,0,0.05); font-family:var(--font-body); font-weight:600; font-size:0.9rem; cursor:pointer; transition:0.3s; text-align: left; width: 100%; display: block; color:var(--text-secondary); box-shadow: var(--shadow-sm); }
        .catalog-filter:hover { background:rgba(255,255,255,0.9); transform: translateX(4px); }
        .catalog-filter.active { background:var(--accent-orange); color:#fff; border-color:var(--accent-orange); box-shadow:0 8px 20px rgba(241,109,52,0.3); transform: translateX(8px); }

        .catalog-search-wrap { position: relative; width: 100%; }
        .catalog-search-wrap input { padding: 14px 40px 14px 20px; border-radius: 16px; background: rgba(255,255,255,0.65); backdrop-filter: blur(4px); border:1px solid rgba(0,0,0,0.05); font-family:var(--font-body); font-weight:600; font-size:0.9rem; width: 100%; outline: none; transition: 0.3s; color: var(--text-secondary); box-shadow: var(--shadow-sm); }
        .catalog-search-wrap input:focus { background: rgba(255,255,255,0.9); border-color: var(--accent-orange); box-shadow: 0 8px 20px rgba(241,109,52,0.15); transform: translateX(4px); color: var(--text); }
        .catalog-search-wrap .search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; opacity: 0.4; pointer-events: none; }

        .catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 24px; overflow: hidden; }
        .catalog-grid.collapsed { max-height: 520px; mask-image: linear-gradient(to bottom, black 60%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%); transition: max-height 0.5s cubic-bezier(0.22,1,0.36,1), mask-image 0.5s ease, -webkit-mask-image 0.5s ease; }
        .catalog-grid:not(.collapsed) { max-height: 3000px; }

        .catalog-expand-wrap { display: flex; justify-content: center; margin-top: 20px; }
        .catalog-expand-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 50px; background: var(--accent-orange); color: #fff; border: none; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: 0.3s; box-shadow: 0 6px 18px rgba(241,109,52,0.3); }
        .catalog-expand-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(241,109,52,0.4); }
        .catalog-expand-btn .arrow { display: inline-block; transition: transform 0.3s; font-size: 1.2rem; line-height: 1; }
        .catalog-expand-btn.hidden { display: none; }
        .flip-card { perspective: 1000px; height: clamp(220px, 60vw, 360px); min-width: 0; will-change: transform; }
        .flip-card-inner{ position:relative; width:100%; height:100%; transition:transform 0.6s cubic-bezier(0.22,1,0.36,1); transform-style:preserve-3d; border-radius:24px; }
        @media (hover: hover) and (pointer: fine) {
            .flip-card:not(.no-hover):hover .flip-card-inner { transform: rotateY(180deg); }
        }
        .flip-card.is-flipped .flip-card-inner{ transform:rotateY(180deg); }
        .flip-card.tapped .flip-card-inner{ transform:rotateY(180deg); }
        .flip-card-front, .flip-card-back{ position:absolute; width:100%; height:100%; backface-visibility:hidden; border-radius:24px; overflow:hidden; box-shadow: var(--shadow-sm); }
        .flip-card-front{ background:#fff; display:flex; flex-direction:column; }
        .flip-card-img{ width:100%; height:50%; object-fit:cover; }
        .flip-card-body{ padding:20px; flex:1; display:flex; flex-direction:column; justify-content:center; }
        .flip-card-title{ font-family:var(--font-heading); font-weight:600; font-size:1.1rem; margin-bottom:4px; line-height: 1.3; }
        .flip-card-price{ font-weight:700; font-size:1.3rem; color:var(--accent-orange); margin-top:4px; }

        .flip-card-back{ background: rgba(14,18,32,0.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:20px; text-align:center; transform:rotateY(180deg); gap: 16px; border: 1px solid rgba(255,255,255,0.2); }
        .flip-card-back p { font-size:0.9rem; line-height:1.5; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
        .flip-card-btn { background: #fff; color: var(--accent-orange); border: none; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
        .flip-card-btn:hover { background: var(--accent-orange); color: #fff; transform: scale(1.03); }

        .portfolio-accordion { margin-top: 8px; }
        .portfolio-accordion-header { display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 18px 28px; background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); border: 1px solid rgba(0,0,0,0.04); border-radius: 24px; margin-bottom: 24px; transition: 0.3s; box-shadow: var(--shadow-sm); }
        .portfolio-accordion.open .portfolio-accordion-header { border-radius: 24px 24px 0 0; margin-bottom: 0; border-bottom: none; }
        .portfolio-accordion-header:hover { background: #fff; box-shadow: var(--shadow-md); }
        .portfolio-accordion-title { font-weight: 600; font-size: 1.1rem; color: var(--accent-blue); }
        .portfolio-arrow { font-size: 1.2rem; color: var(--accent-orange); font-weight: bold; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1); }
        .portfolio-accordion.open .portfolio-arrow { transform: rotate(90deg); }
        .portfolio-collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s cubic-bezier(0.22,1,0.36,1); }
        .portfolio-accordion.open .portfolio-collapse { grid-template-rows: 1fr; }
        .portfolio-collapse-inner { overflow: hidden; }

        .portfolio-filters{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:24px; margin-top: 8px; }
        .portfolio-filter{ padding:8px 20px; border-radius:50px; background:rgba(255,255,255,0.8); backdrop-filter: blur(4px); border:1px solid rgba(0,0,0,0.06); font-family:var(--font-body); font-weight:600; font-size:0.85rem; cursor:pointer; transition:0.3s; color:var(--text-secondary); }
        .portfolio-filter:hover{ background:rgba(255,255,255,0.95); transform: translateY(-2px); }
        .portfolio-filter.active{ background:var(--accent-orange); color:#fff; border-color:var(--accent-orange); box-shadow:0 6px 16px rgba(241,109,52,0.25); }

        .portfolio-info-panel { display: flex; gap: 24px; background: #fff; padding: 28px; border-radius: 24px; border: 1px solid rgba(0,0,0,0.04); margin-bottom: 24px; align-items: center; box-shadow: var(--shadow-sm); }
        .portfolio-info-text { flex: 1; }
        .portfolio-info-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; color: var(--accent-blue); }
        .portfolio-info-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; }
        .portfolio-info-video { flex: 0 0 240px; height: 140px; border-radius: 16px; background: #eee; overflow: hidden; position: relative; cursor: pointer; }
        .portfolio-info-video img { width: 100%; height: 100%; object-fit: cover; }
        .portfolio-info-video::after { content: '▶'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: rgba(255,255,255,0.8); background: rgba(0,0,0,0.3); transition: 0.3s; }
        .portfolio-info-video:hover::after { color: #fff; background: rgba(241,109,52,0.6); }
        .portfolio-info-video.no-video { pointer-events: none; opacity: 0.5; }
        .portfolio-info-video.no-video::after { content: '🚫'; }

        .portfolio-scroll-wrap { position: relative; }
        .portfolio-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; padding: 10px 0 20px; cursor: default; user-select: auto; }

        .portfolio-scroll-hint { display: none; }

        .portfolio-item { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; background: #e0e0e0; display: block; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; cursor: pointer; }
        .portfolio-item:hover { box-shadow: var(--shadow-lg); transform: scale(1.02); }
        .portfolio-item__img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .portfolio-item__after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); object-fit: cover; width: 100%; height: 100%; }
        .portfolio-item.no-before .portfolio-item__after { display: none; }
        .portfolio-item.no-before .portfolio-item__img { border-radius: 20px; }

        .process-master-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
        .process-column, .master-column { min-width: 0; }
        .process__line-container{ position:relative; padding-left:40px; }
        .process__line-track{ position:absolute; left:18px; top:0; bottom:0; width:3px; background:#e0e0e0; border-radius:2px; }
        .process__line-fill{ position:absolute; left:0; top:0; width:100%; background:linear-gradient(180deg,var(--accent-blue),var(--accent-orange)); height:0%; transition:height 0.1s linear; border-radius:2px; }
        .process-step{ position:relative; padding:20px 0 28px 28px; }
        .process-step__dot{ position:absolute; left:-31px; top:22px; width:20px; height:20px; border-radius:50%; background:#e0e0e0; border:3px solid var(--bg-primary); z-index:2; transition:background 0.3s,box-shadow 0.3s; }
        .process-step.active .process-step__dot{ background:var(--accent-orange); box-shadow:0 0 0 8px rgba(241,109,52,0.15); }
        .process-step__title{ font-family:var(--font-heading); font-weight:600; font-size:1.05rem; transition:color 0.3s; }
        .process-step.active .process-step__title{ color:var(--accent-orange); }
        .process-step__desc{ font-size:0.9rem; color:var(--text-muted); margin-top:4px; }

        .master-card{ display:flex; gap:36px; align-items:center; background:#fff; border-radius:24px; padding:36px; border:1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-md); transition: 0.3s; overflow: visible; position: relative; }
        .master-card:hover{ transform:translateY(-5px); box-shadow: var(--shadow-lg); }
        .master-card__img{ width:130px; height:130px; border-radius:50%; object-fit:cover; background:#e8e8e8; border:3px solid rgba(241,109,52,0.2); flex-shrink:0; transition: transform 0.3s ease; position: relative; z-index: 1; }
        .master-card:hover .master-card__img{ transform: scale(2); z-index: 10; position: relative; }
        @media(min-width:769px){
            .master-card:hover .master-card__img{ transform: scale(1.8) translateX(-30px); max-width: 160px; max-height: 160px; }
        }
        .master-card__name{ font-family:var(--font-heading); font-weight:700; font-size:1.4rem; margin-bottom:4px; }
        .master-card__role{ font-size:0.9rem; color:var(--accent-orange); font-weight:600; margin-bottom:8px; }
        .master-card__bio{ font-size:0.9rem; color:var(--text-muted); line-height:1.6; }

        .review-card{ background:#fff; border-radius:24px; padding:28px; border:1px solid rgba(0,0,0,0.04); height:100%; transition:0.3s; box-shadow: var(--shadow-sm); }
        .review-card:hover{ transform:translateY(-4px); box-shadow: var(--shadow-lg); }
        .review-card__stars{ color:#F16D34; margin-bottom:8px; font-size:1.1rem; letter-spacing:2px; }
        .review-card__text{ font-size:0.9rem; color:var(--text-secondary); line-height:1.6; font-style:italic; }
        .review-card__author{ font-weight:600; font-size:0.85rem; margin-top:12px; color:var(--accent-blue); }

        .stats-row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:20px; margin-top:32px; }
        .stat-block{ text-align:center; padding:24px; background:rgba(255,255,255,0.75); backdrop-filter: blur(8px); border:1px solid rgba(0,0,0,0.04); border-radius:24px; cursor:default; transition: 0.3s; box-shadow: var(--shadow-sm); }
        .stat-block[onclick]{ cursor:pointer; }
        .stat-block[onclick]:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
        .stat-block__num{ font-family:var(--font-heading); font-weight:800; font-size:2.2rem; color:var(--accent-blue); line-height:1; }
        .stat-block__num span{ color:var(--accent-orange); }
        .stat-block__label{ font-size:0.85rem; color:var(--text-muted); margin-top:4px; }

        .contacts-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:30px; align-items:start; }
        .contact-form{ background:#fff; border-radius:24px; padding:36px; border:1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-md); }
        .contact-form__field{ width:100%; padding:16px 18px; border-radius:14px; border:1.5px solid #e0e0e0; font-family:var(--font-body); font-size:1rem; background:#fafafa; transition:border-color 0.2s,box-shadow 0.2s; margin-bottom:14px; caret-color: var(--accent-orange); }
        .contact-form__field:focus{ outline:none; border-color:var(--accent-orange); box-shadow:0 0 0 4px rgba(241,109,52,0.1); }
  .contact-form__field.contact-form__textarea{ min-height:84px; resize:vertical; font-family:inherit; }
  .contact-form__counter{ font-size:0.75rem; color:var(--text-muted); text-align:right; margin:-6px 2px 10px; }
  .contact-form__error{ font-size:0.8rem; color:#e5484d; background:#fdecec; border-left:3px solid #e5484d; padding:7px 12px; border-radius:8px; margin:-8px 0 14px; display:none; line-height:1.4; }
  .contact-form__error.show{ display:block; animation:fadeInUp 0.2s ease; }
  .contact-form__field.field-invalid{ border-color:#e5484d !important; box-shadow:0 0 0 3px rgba(229,72,77,0.12) !important; }
  @keyframes fadeInUp{ from{ opacity:0; transform:translateY(-4px);} to{ opacity:1; transform:translateY(0);} }
        .consent-row{ display:flex; gap:10px; font-size:0.85rem; color:var(--text-muted); margin-top:10px; align-items:flex-start; }
        .consent-row input[type="checkbox"]{ width:20px; height:20px; margin-top:2px; accent-color: var(--accent-orange); }
        .map-wrap{ height:380px; background:#eee; border-radius:24px; overflow:hidden; position: relative; box-shadow: var(--shadow-md); }
        .map-wrap iframe{ width:100%; height:100%; border:0; }
        .form-success{ display:none; text-align:center; padding:20px; background:linear-gradient(135deg,#e8f5e9,#f1f8e9); border-radius:16px; border:1.5px solid #c8e6c9; font-weight:600; }
        .form-success.show{ display:block; }

        .reviews-widget-wrap { margin-top: 32px; max-width: 720px; margin-left: auto; margin-right: auto; }
        .reviews-widget-wrap iframe { width: 100%; height: 600px; border: none; border-radius: 16px; display: block; }
        @media(max-width:768px){
            .reviews-widget-wrap iframe { height: 420px; }
        }
        @media(max-width:480px){
            .reviews-widget-wrap iframe { height: 380px; }
        }

        .footer{ background:var(--accent-blue); color:rgba(255,255,255,0.9); padding:40px 24px 32px; text-align:center; font-size:0.8rem; position:relative; z-index:10; }
        .footer__inner{ max-width:var(--max-width); margin:0 auto; display:flex; flex-direction:column; gap:20px; }
        .footer__brand{ font-family:var(--font-heading); font-size:1.1rem; font-weight:700; letter-spacing:-0.3px; }
        .footer__info{ display:flex; justify-content:center; gap:24px; flex-wrap:wrap; font-size:0.9rem; line-height:1.6; }
        .footer__info a{ color:rgba(255,255,255,0.85); text-decoration:none; transition:color 0.2s; }
        .footer__info a:hover{ color:var(--accent-orange); }
        .footer__socials{ display:flex; justify-content:center; gap:20px; flex-wrap:wrap; }
        .footer__social-link{ display:flex; flex-direction:column; align-items:center; gap:6px; text-decoration:none; color:rgba(255,255,255,0.7); font-size:0.75rem; transition:color 0.2s, transform 0.2s; }
        .footer__social-link:hover{ color:#fff; transform:translateY(-3px); }
        .footer__social-icon{ width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; transition:transform 0.25s, box-shadow 0.25s; }
        .footer__social-link:hover .footer__social-icon{ transform:scale(1.1); box-shadow:0 4px 16px rgba(0,0,0,0.3); }
        .footer__social-icon img{ width:20px; height:20px; filter:brightness(0) invert(1); }
        .footer__social-name{ white-space:nowrap; font-size:0.72rem; letter-spacing:0.3px; }
        .footer__bottom{ font-size:0.75rem; opacity:0.6; display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
        .footer__age{ display:inline-block; border:1.5px solid rgba(255,255,255,0.5); border-radius:6px; padding:2px 8px; font-weight:600; }

        @media(max-width:600px){
            .footer{ padding:32px 16px 28px; }
            .footer__info{ flex-direction:column; align-items:center; gap:10px; font-size:0.85rem; }
            .footer__socials{ gap:14px; }
            .footer__social-icon{ width:38px; height:38px; }
            .footer__social-icon img{ width:18px; height:18px; }
            .footer__social-name{ font-size:0.65rem; }
        }
        @media(max-width:400px){
            .footer__social-link{ gap:4px; }
            .footer__social-icon{ width:34px; height:34px; }
            .footer__social-icon img{ width:16px; height:16px; }
            .footer__social-name{ font-size:0.6rem; }
            .footer__bottom{ flex-direction:column; align-items:center; gap:6px; }
        }

        .cookie-bar { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 10000; background: #fff; border-radius: 18px; padding: 14px 22px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); display: flex; align-items: center; gap: 14px; font-size: 0.85rem; color: var(--text-secondary); max-width: 650px; width: calc(100% - 32px); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
        .cookie-bar.show { opacity: 1; visibility: visible; animation: cookieIn 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
        @keyframes cookieIn { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
        .cookie-bar.hiding { animation: cookieOut 0.25s ease-in forwards; }
        @keyframes cookieOut { from { opacity: 1; transform: translateX(-50%) translateY(0); } to { opacity: 0; transform: translateX(-50%) translateY(20px); } }
        .cookie-bar__icon { font-size: 1.3rem; flex-shrink: 0; }
        .cookie-bar__text { flex: 1; min-width: 0; line-height: 1.4; }
        .cookie-bar__actions { display: flex; gap: 10px; flex-shrink: 0; }
        .cookie-bar__btn { padding: 10px 18px; border-radius: 12px; border: none; font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: 0.2s; white-space: nowrap; }
        .cookie-bar__btn--accept { background: var(--accent-orange); color: #fff; box-shadow: 0 4px 12px rgba(241,109,52,0.3); }
        .cookie-bar__btn--accept:hover { background: var(--accent-orange-hover); transform: translateY(-1px); }
        .cookie-bar__btn--decline { background: #f0f0f0; color: var(--text-muted); }
        .cookie-bar__btn--decline:hover { background: #e0e0e0; }
        @media(max-width:520px){
            .cookie-bar { flex-direction: column; text-align: center; gap: 12px; padding: 16px 18px; bottom: 12px; }
            .cookie-bar__actions { width: 100%; }
            .cookie-bar__btn { flex: 1; }
        }

        .modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity 0.3s; }
        .modal.show { display: flex; opacity: 1; }
        .modal-content { background: #000; width: 100%; max-width: 800px; border-radius: 20px; overflow: hidden; aspect-ratio: 16/9; position: relative; }
        .modal-privacy-content { background: #fff; color: #1C1C1E; width: 100%; max-width: 700px; max-height: 80vh; overflow-y: auto; border-radius: 24px; padding: 40px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
        .modal-close { position: absolute; top: 16px; right: 16px; color: #333; font-size: 2rem; cursor: pointer; line-height: 1; transition: 0.2s; z-index: 10; }
        .modal-close:hover { color: var(--accent-orange); }
        .modal iframe { width: 100%; height: 100%; border: none; }

        .video-close-btn { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.65); color: #fff; border: none; border-radius: 12px; padding: 8px 16px; font-size: 0.9rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(4px); transition: 0.2s; z-index: 20; display: flex; align-items: center; gap: 4px; }
        .video-close-btn:hover { background: var(--accent-orange); }

        .custom-dropdown { position: relative; width: 100%; margin-bottom: 20px; }
        .custom-dropdown__button { width: 100%; padding: 18px 24px; border-radius: 18px; border: 1px solid rgba(0,0,0,0.06); font-family: var(--font-body); font-weight: 600; font-size: 1rem; background: rgba(255,255,255,0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text-primary); text-align: left; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: border-color 0.2s; box-shadow: var(--shadow-sm); }
        .custom-dropdown__arrow { font-size: 0.8rem; transition: transform 0.3s; }
        .custom-dropdown.open .custom-dropdown__arrow { transform: rotate(180deg); }
        .custom-dropdown__list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 18px; box-shadow: 0 16px 40px rgba(0,0,0,0.12); max-height: 0; overflow: hidden; transition: max-height 0.4s ease; z-index: 20; }
        .custom-dropdown.open .custom-dropdown__list { max-height: 60vh; overflow-y: auto; }
        .custom-dropdown__item { padding: 16px 24px; cursor: pointer; font-weight: 500; transition: background 0.2s; color: var(--text-secondary); }
        .custom-dropdown__item:hover { background: rgba(241,109,52,0.06); }
        .custom-dropdown__item.active { color: var(--accent-orange); font-weight: 700; }

        .btn--full { width: 100%; }
        .contact-form .btn--primary { background: linear-gradient(135deg, #e85d1a 0%, #ff6b3a 100%); color: #fff; width: 100%; border: none; box-shadow: 0 6px 18px rgba(232,93,26,0.35); }
        .contact-form .btn--primary:hover { background: linear-gradient(135deg, #d04e10 0%, #e85d1a 100%); box-shadow: 0 10px 28px rgba(232,93,26,0.45); }
        .contact-form .btn--vk { background: linear-gradient(135deg, #5181b8 0%, #6a9bd0 100%); color: #fff; border: none; box-shadow: 0 6px 18px rgba(81,129,184,0.35); flex: 0 0 auto; }
        .contact-form .btn--vk:hover { background: linear-gradient(135deg, #3d6a9e 0%, #5181b8 100%); box-shadow: 0 10px 28px rgba(81,129,184,0.45); }
        .contact-form .btn--vk .icon-img { width: 24px; height: 24px; }
        .contact-form .btn--square { padding: 16px; min-width: 54px; width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .contact-form .btn--square .icon-img { width: 26px; height: 26px; margin: 0; }
        .contact-form .social-row { display: flex; gap: 10px; }
        .contact-form .btn--telegram { background: linear-gradient(135deg, #1a8dc9 0%, #0e6fa3 100%); color: #fff; border: none; box-shadow: 0 6px 18px rgba(26,141,201,0.35); flex: 1; }
        .contact-form .btn--telegram:hover { background: linear-gradient(135deg, #1578ad 0%, #0a5c88 100%); box-shadow: 0 10px 28px rgba(26,141,201,0.45); }

        @media(max-width:900px){
            .catalog-layout { flex-direction: column; align-items: stretch; }
            .catalog-content { width: 100%; } 
            .catalog-sidebar { display: none; }
            .catalog-filter-mobile { display: block; }
            .contacts-grid{ grid-template-columns:1fr; }
            .header__phone{ display:none; }
            .process-master-grid { grid-template-columns: 1fr; }
            .map-wrap { height: 300px; }
            .reviews-widget-wrap iframe { height: 500px; }
        }
        @media(max-width:480px){
            .header__inner{ padding: 0 12px; }
            .header__cta-sm{ padding: 10px 14px; font-size: 0.8rem; min-height: auto; }
            .header__cta-sm .icon-img{ width: 1em; height: 1em; }
        }

        .gallery-modal{ display:none; position:fixed; inset:0; z-index:99999; background:rgba(0,0,0,0.92); align-items:center; justify-content:center; backdrop-filter:blur(12px); opacity:0; transition:opacity 0.3s ease; }
        .gallery-modal.show{ display:flex; opacity:1; }
        .gallery-close{ position:absolute; top:18px; right:24px; z-index:10; color:#fff; font-size:1.6rem; cursor:pointer; width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,0.12); transition:0.2s; }
        .gallery-close:hover{ background:var(--accent-orange); }
        .gallery-nav{ position:absolute; top:50%; transform:translateY(-50%); z-index:10; color:#fff; font-size:2.8rem; cursor:pointer; padding:16px 12px; background:rgba(255,255,255,0.08); border-radius:12px; transition:0.2s; line-height:1; user-select:none; }
        .gallery-nav:hover{ background:rgba(241,109,52,0.6); }
        .gallery-prev{ left:16px; }
        .gallery-next{ right:16px; }
        .gallery-counter{ position:absolute; bottom:20px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,0.5); font-size:0.85rem; background:rgba(0,0,0,0.5); padding:4px 14px; border-radius:20px; }
        .gallery-modal-content{ position:relative; max-width:90vw; max-height:90vh; display:flex; align-items:center; justify-content:center; }
        .gallery-split{ display:flex; width:100%; max-width:1200px; height:auto; border-radius:12px; overflow:hidden; }
        .gallery-split-left, .gallery-split-right{ flex:1; min-width:0; }
        .gallery-split-left img, .gallery-split-right img{ width:100%; height:auto; display:block; object-fit:cover; min-height:300px; max-height:85vh; }
        .gallery-split-left{ border-right:2px solid rgba(255,255,255,0.15); }
        .gallery-split-left, .gallery-split-right{ position:relative; }
        .gallery-split-label{ position:absolute; bottom:12px; color:#fff; font-size:0.75rem; background:rgba(0,0,0,0.5); padding:3px 10px; border-radius:10px; pointer-events:none; }
        .gallery-split-label--left{ left:12px; }
        .gallery-split-label--right{ right:12px; }

        @media(max-width:700px){
            .gallery-nav{ font-size:2rem; padding:12px 8px; }
            .gallery-prev{ left:4px; }
            .gallery-next{ right:4px; }
            .gallery-modal-content{ max-width:98vw; max-height:90vh; overflow-y:auto; -webkit-overflow-scrolling:touch; }
            .gallery-split{ flex-direction:column; }
            .gallery-split-left{ border-right:none; border-bottom:2px solid rgba(255,255,255,0.15); position:relative; }
            .gallery-split-right{ position:relative; }
            .gallery-split-left img, .gallery-split-right img{ min-height:auto; max-height:60vh; }
            .gallery-img-single{ max-height:80vh; }
        }

        /* ═══════════════════════════════════════
           PERFORMANCE OPTIMIZATIONS
           ═══════════════════════════════════════ */

        /* Content-visibility for lazy sections */
        #advantages { content-visibility: auto; contain-intrinsic-size: 600px; }
        #catalog { content-visibility: auto; contain-intrinsic-size: 800px; }
        #portfolio { content-visibility: auto; contain-intrinsic-size: 400px; }
        #process-master { content-visibility: auto; contain-intrinsic-size: 500px; }
        #reviews { content-visibility: auto; contain-intrinsic-size: 650px; }
        #contacts { content-visibility: auto; contain-intrinsic-size: 600px; }

        /* Mobile: reduce expensive backdrop-filter blur (big perf gain) */
        @media (max-width: 768px) {
            .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(234,239,245,0.95); }
            .header.scrolled { background: rgba(255,255,255,0.98); }
            .hero__glass-panel { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .hero__badge { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .advantage-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .catalog-filter { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .portfolio-filter { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .portfolio-accordion-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .stat-block { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .btn--telegram, .btn--vk { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .custom-dropdown__button { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .video-link { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .flip-card-back { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .catalog-search-wrap input { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .gallery-modal { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .modal { backdrop-filter: none; -webkit-backdrop-filter: none; }
            .video-close-btn { backdrop-filter: none; -webkit-backdrop-filter: none; }

            /* Reduce hover complexity on mobile */
            .advantage-card:hover { transform: translateY(-4px); }
            .master-card:hover { transform: translateY(-3px); }
            .portfolio-item:hover { transform: none; box-shadow: var(--shadow-sm); }
            .master-card:hover .master-card__img { transform: none; }
            .flip-card:hover .flip-card-inner { transform: none; }
            .flip-card.tapped .flip-card-inner { transform: rotateY(180deg); }
            .catalog-filter:hover { transform: none; }
        }

        /* Reduced motion preference */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

/* ══════════════════════════════════════════════════════
   🌙 PREMIUM DARK MODE — "Lacquer Noir"
   Глубокий тёмный режим с эффектами лакового покрытия,
   стекла, неона и глянцевого блеска.
   ══════════════════════════════════════════════════════ */

/* ── Кнопка переключения темы в хедере ── */
.header__theme-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--accent-orange);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.25s;
    flex-shrink: 0;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(241,109,52,0.2);
}
.header__theme-btn:hover {
    background: var(--accent-orange-hover);
    transform: scale(1.08);
    box-shadow: 0 4px 18px rgba(241,109,52,0.4);
}
.header__theme-btn:active {
    transform: scale(0.92);
}
.header__theme-icon {
    line-height: 1;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.header__theme-btn.dark .header__theme-icon {
    transform: rotate(360deg);
}
/* В тёмной теме — та же оранжевая кнопка, чуть ярче */
body.dark-mode .header__theme-btn {
    background: linear-gradient(135deg, #FF6B3D, #FF8B5E);
    box-shadow: 0 2px 16px rgba(255,107,61,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
body.dark-mode .header__theme-btn:hover {
    box-shadow: 0 4px 24px rgba(255,107,61,0.5);
}

/* ── CSS Variables for Dark Mode ── */
body.dark-mode {
    --bg-primary: #0A0A0F;
    --bg-secondary: #111118;
    --text-primary: #F0F0F4;
    --text-secondary: #B0B0C0;
    --text-muted: #707088;
    --accent-blue: #4A6CF7;
    --accent-orange: #FF6B3D;
    --accent-orange-hover: #FF8B5E;
    --glass-bg: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.10);
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.3), 0 2px 10px rgba(74,108,247,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.4), 0 4px 16px rgba(74,108,247,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.5), 0 8px 30px rgba(255,107,61,0.06);
    --hero-bg: url('./images/view-3d-car-model.webp');
    color-scheme: dark;
}
body.dark-mode,
body.dark-mode .header {
    background-color: var(--bg-primary);
}
body.dark-mode .section {
    background: var(--bg-primary);
}
body.dark-mode .section:nth-child(even) {
    background: var(--bg-secondary);
}
/* stack-section dot pattern removed — clean minimalism */

/* ── Header в тёмной теме ── */
body.dark-mode .header {
    background: rgba(10,10,15,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
body.dark-mode .header.scrolled {
    background: rgba(10,10,15,0.96);
    box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}
body.dark-mode .header__logo {
    color: var(--text-primary);
}
body.dark-mode .header__logo-icon {
    background: linear-gradient(135deg, #4A6CF7, #FF6B3D);
    box-shadow: 0 0 20px rgba(74,108,247,0.3);
}
body.dark-mode .header__phone {
    color: var(--text-primary);
}

/* ── HERO — усиленный неон-глянец ── */
body.dark-mode .hero__bg::after {
    background: linear-gradient(90deg, rgba(5,5,12,0.95) 0%, rgba(5,5,12,0.78) 34%, rgba(5,5,12,0.35) 60%, rgba(5,5,12,0.10) 100%),
                linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.4) 100%);
}
body.dark-mode .hero__overlay {
    background: radial-gradient(circle at 80% 35%, rgba(74,108,247,0.15), transparent 28%),
                radial-gradient(circle at 65% 75%, rgba(255,107,61,0.10), transparent 30%);
}
body.dark-mode .hero__glass-panel {
    background: linear-gradient(180deg, rgba(10,10,20,0.82) 0%, rgba(10,10,20,0.65) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}
body.dark-mode .hero__glass-panel::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent 38%);
}
body.dark-mode .hero__title-accent {
    color: #FF6B3D;
    text-shadow: 0 0 40px rgba(255,107,61,0.3), 0 0 80px rgba(255,107,61,0.1);
}
body.dark-mode .hero__subtitle {
    color: rgba(255,255,255,0.65);
}

/* ── Премиальные стеклянные кнопки (Dark Mode) ── */
body.dark-mode .btn--primary {
    background: linear-gradient(135deg, #FF6B3D 0%, #FF8B5E 50%, #FF6B3D 100%);
    background-size: 200% 200%;
    animation: glossyShimmer 3s ease-in-out infinite;
    color: #fff;
    box-shadow: 0 14px 40px rgba(255,107,61,0.3),
                inset 0 1px 0 rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}
body.dark-mode .btn--primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%,
        transparent 0deg,
        rgba(255,255,255,0.1) 30deg,
        transparent 60deg,
        rgba(255,255,255,0.05) 120deg,
        transparent 180deg,
        rgba(255,255,255,0.08) 240deg,
        transparent 300deg,
        transparent 360deg);
    animation: glassRotate 6s linear infinite;
    pointer-events: none;
}
body.dark-mode .btn--primary::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 8%;
    right: 8%;
    height: 35%;
    background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 100%);
    border-radius: 12px 12px 50% 50%;
    pointer-events: none;
    filter: blur(2px);
}
body.dark-mode .btn--primary:hover {
    box-shadow: 0 18px 44px rgba(255,107,61,0.5),
                inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

/* Эффект стекла для Telegram и VK кнопок */
body.dark-mode .btn--telegram {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    position: relative;
    overflow: hidden;
}
body.dark-mode .btn--telegram::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}
body.dark-mode .btn--telegram:hover::before {
    left: 100%;
}
body.dark-mode .btn--telegram:hover {
    background: rgba(34,158,217,0.2);
    border-color: rgba(34,158,217,0.4);
    box-shadow: 0 4px 24px rgba(34,158,217,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

body.dark-mode .btn--vk {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    position: relative;
    overflow: hidden;
}
body.dark-mode .btn--vk::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}
body.dark-mode .btn--vk:hover::before {
    left: 100%;
}
body.dark-mode .btn--vk:hover {
    background: rgba(81,129,184,0.2);
    border-color: rgba(81,129,184,0.4);
    box-shadow: 0 4px 24px rgba(81,129,184,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Кнопка в хедере */
body.dark-mode .header__cta-sm {
    background: linear-gradient(135deg, #FF6B3D, #FF8B5E);
    box-shadow: 0 2px 16px rgba(255,107,61,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}
body.dark-mode .header__cta-sm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}
body.dark-mode .header__cta-sm:hover::before {
    left: 100%;
}

/* ── Анимации ── */
@keyframes glossyShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes glassRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes neonPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(74,108,247,0.2), 0 0 40px rgba(74,108,247,0.1); }
    50% { box-shadow: 0 0 30px rgba(74,108,247,0.4), 0 0 60px rgba(74,108,247,0.2); }
}
@keyframes lacquerShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Карточки преимуществ (Dark) ── */
body.dark-mode .advantage-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}
body.dark-mode .advantage-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}
body.dark-mode .advantage-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(74,108,247,0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    transform: translateY(-8px);
}
body.dark-mode .advantage-card__icon {
    background: linear-gradient(135deg, rgba(74,108,247,0.15), rgba(74,108,247,0.05));
    color: #4A6CF7;
    box-shadow: 0 0 20px rgba(74,108,247,0.1);
}
body.dark-mode .advantage-card:hover .advantage-card__icon {
    background: linear-gradient(135deg, #4A6CF7, #FF6B3D);
    color: #fff;
    box-shadow: 0 0 30px rgba(74,108,247,0.3);
}

/* ── Секция статистики (Dark) ── */
body.dark-mode .stat-block {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
}
body.dark-mode .stat-block__num {
    color: var(--text-primary);
}
body.dark-mode .stat-block[onclick]:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(74,108,247,0.2);
}

/* ── Flip-карточки каталога (Dark) ── */
body.dark-mode .flip-card-front {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
}
body.dark-mode .flip-card-body {
    color: var(--text-primary);
}
body.dark-mode .flip-card-title {
    color: var(--text-primary);
}
body.dark-mode .flip-card-price {
    color: #FF6B3D;
    text-shadow: 0 0 20px rgba(255,107,61,0.2);
}
body.dark-mode .flip-card-back {
    background: rgba(10,10,20,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
}
body.dark-mode .flip-card-btn {
    background: linear-gradient(135deg, #FF6B3D, #FF8B5E);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,107,61,0.3);
}
body.dark-mode .flip-card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(255,107,61,0.4);
}

/* ── Фильтры каталога (Dark) ── */
body.dark-mode .catalog-filter {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-secondary);
}
body.dark-mode .catalog-filter:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(4px);
}
body.dark-mode .catalog-filter.active {
    background: linear-gradient(135deg, #FF6B3D, #FF8B5E);
    color: #fff;
    border-color: #FF6B3D;
    box-shadow: 0 8px 24px rgba(255,107,61,0.3);
}

/* ── Поиск (Dark) ── */
body.dark-mode .catalog-search-wrap input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-primary);
}
body.dark-mode .catalog-search-wrap input:focus {
    background: rgba(255,255,255,0.08);
    border-color: #4A6CF7;
    box-shadow: 0 8px 24px rgba(74,108,247,0.15);
}

/* ── Портфолио (Dark) ── */
body.dark-mode .portfolio-accordion-header {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}
body.dark-mode .portfolio-accordion-header:hover {
    background: rgba(255,255,255,0.07);
}
body.dark-mode .portfolio-accordion-title {
    color: var(--text-primary);
}
body.dark-mode .portfolio-filter {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-secondary);
}
body.dark-mode .portfolio-filter:hover {
    background: rgba(255,255,255,0.08);
}
body.dark-mode .portfolio-filter.active {
    background: linear-gradient(135deg, #FF6B3D, #FF8B5E);
    color: #fff;
    border-color: #FF6B3D;
}
body.dark-mode .portfolio-info-panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}
body.dark-mode .portfolio-info-title {
    color: var(--text-primary);
}
body.dark-mode .portfolio-info-desc {
    color: var(--text-secondary);
}

/* ── Процесс (Dark) ── */
body.dark-mode .process__line-track {
    background: rgba(255,255,255,0.1);
}
body.dark-mode .process__line-fill {
    background: linear-gradient(180deg, #4A6CF7, #FF6B3D);
}
body.dark-mode .process-step__dot {
    background: rgba(255,255,255,0.15);
    border-color: var(--bg-primary);
}
body.dark-mode .process-step.active .process-step__dot {
    background: #FF6B3D;
    box-shadow: 0 0 0 8px rgba(255,107,61,0.15), 0 0 20px rgba(255,107,61,0.2);
}
body.dark-mode .process-step.active .process-step__title {
    color: #FF6B3D;
}
body.dark-mode .process-step__desc {
    color: var(--text-muted);
}

/* ── Мастер-карта (Dark) ── */
body.dark-mode .master-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}
body.dark-mode .master-card__name {
    color: var(--text-primary);
}
body.dark-mode .master-card__role {
    color: #FF6B3D;
}
body.dark-mode .master-card__bio {
    color: var(--text-secondary);
}
body.dark-mode .master-card__img {
    border-color: rgba(255,107,61,0.3);
    box-shadow: 0 0 30px rgba(255,107,61,0.15);
}

/* ── Форма контактов (Dark) ── */
body.dark-mode .contact-form {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}
body.dark-mode .contact-form__field {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.08);
    color: var(--text-primary);
}
body.dark-mode .contact-form__error{
    background: rgba(229,72,77,0.15);
    border-left-color: #ff6b5e;
    color: #ff8a80;
}
body.dark-mode .contact-form__field.field-invalid{
    border-color: #ff6b5e !important;
    box-shadow: 0 0 0 3px rgba(255,107,94,0.15) !important;
}
body.dark-mode .contact-form__field:focus {
    border-color: #FF6B3D;
    box-shadow: 0 0 0 4px rgba(255,107,61,0.1);
}
body.dark-mode .contact-form .btn--primary {
    background: linear-gradient(135deg, #FF6B3D, #FF8B5E);
    position: relative;
    overflow: hidden;
}
body.dark-mode .contact-form .btn--primary::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 8%;
    right: 8%;
    height: 35%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
    border-radius: 10px 10px 50% 50%;
    pointer-events: none;
    filter: blur(2px);
}
body.dark-mode .contact-form .btn--telegram {
    background: linear-gradient(135deg, rgba(34,158,217,0.2), rgba(34,158,217,0.1));
    border: 1px solid rgba(34,158,217,0.2);
}
body.dark-mode .contact-form .btn--vk {
    background: linear-gradient(135deg, rgba(81,129,184,0.2), rgba(81,129,184,0.1));
    border: 1px solid rgba(81,129,184,0.2);
}
body.dark-mode .consent-row {
    color: var(--text-muted);
}
body.dark-mode .form-success {
    background: linear-gradient(135deg, rgba(76,175,80,0.15), rgba(76,175,80,0.08));
    border-color: rgba(76,175,80,0.2);
    color: #81C784;
}

/* ── Футер (Dark) ── */
body.dark-mode .footer {
    background: rgba(5,5,12,0.95);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── Cookie bar (Dark) ── */
body.dark-mode .cookie-bar {
    background: rgba(20,20,30,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-secondary);
}
body.dark-mode .cookie-bar__btn--decline {
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
}
body.dark-mode .cookie-bar__btn--decline:hover {
    background: rgba(255,255,255,0.12);
}

/* ── Modal (Dark) ── */
body.dark-mode .modal-privacy-content {
    background: rgba(15,15,25,0.98);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.06);
}
body.dark-mode .modal-close {
    color: var(--text-secondary);
}
body.dark-mode .video-close-btn {
    background: rgba(255,255,255,0.1);
}

/* ── Custom dropdown (Dark) ── */
body.dark-mode .custom-dropdown__button {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-primary);
}
body.dark-mode .custom-dropdown__list {
    background: rgba(15,15,25,0.98);
    border: 1px solid rgba(255,255,255,0.06);
}
body.dark-mode .custom-dropdown__item {
    color: var(--text-secondary);
}
body.dark-mode .custom-dropdown__item:hover {
    background: rgba(255,255,255,0.05);
}
body.dark-mode .custom-dropdown__item.active {
    color: #FF6B3D;
}

/* ── Video link (Dark) ── */
body.dark-mode .video-link {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-primary);
}
body.dark-mode .video-link:hover {
    background: rgba(255,255,255,0.07);
    color: #FF6B3D;
}

/* ── Gallery (Dark) ── */
body.dark-mode .gallery-modal {
    background: rgba(0,0,0,0.95);
}

/* ── Scrollbar (Dark) ── */
body.dark-mode::-webkit-scrollbar {
    width: 8px;
}
body.dark-mode::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
body.dark-mode::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}
body.dark-mode::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* ── Sections inner glow ── */
body.dark-mode .section__title {
    color: var(--text-primary);
}
body.dark-mode .section__label {
    color: #FF6B3D;
}

/* ── Badge hover в Hero (Dark) ── */
body.dark-mode .hero__badge:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,107,61,0.4);
}

/* ── Убираем лишние фоны на мобильных (Dark) ── */
@media (max-width: 768px) {
    body.dark-mode .header {
        background: rgba(10,10,15,0.95);
    }
    body.dark-mode .header.scrolled {
        background: rgba(10,10,15,0.98);
    }
    body.dark-mode .hero__glass-panel {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    body.dark-mode .advantage-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    body.dark-mode .btn--telegram,
    body.dark-mode .btn--vk {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    body.dark-mode .flip-card-back {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ══════════════════════════════════════════════════════
   ✨ GLASS SHINE — эффект стеклянного блеска на карточках
   Блик преследует курсор мыши
   ══════════════════════════════════════════════════════ */

/* Базовая маска — каждый элемент с shine отслеживает мышь через JS */
.glass-shine {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Не ломаем flip-card — у них position:absolute критичен */
.flip-card-front.glass-shine {
    position: absolute;
}

.glass-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle 120px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(255,255,255,0.25) 0%,
        rgba(255,255,255,0.10) 30%,
        rgba(255,255,255,0.03) 55%,
        transparent 75%
    );
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
}

.glass-shine:hover::before {
    opacity: 1;
}

/* В тёмной теме — более яркий, холодный блик */
body.dark-mode .glass-shine::before {
    background: radial-gradient(
        circle 120px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(180,200,255,0.30) 0%,
        rgba(120,160,255,0.12) 30%,
        rgba(100,140,255,0.04) 55%,
        transparent 75%
    );
}

/* Усиленный блеск для карточек преимуществ */
body.dark-mode .advantage-card.glass-shine::before {
    background: radial-gradient(
        circle 160px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(200,215,255,0.35) 0%,
        rgba(140,175,255,0.15) 30%,
        rgba(100,140,255,0.05) 55%,
        transparent 75%
    );
}

/* Блеск для мастер-карты */
body.dark-mode .master-card.glass-shine::before {
    background: radial-gradient(
        circle 200px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(200,215,255,0.28) 0%,
        rgba(140,175,255,0.10) 30%,
        rgba(100,140,255,0.03) 55%,
        transparent 75%
    );
}

/* Блеск для формы контактов */
body.dark-mode .contact-form.glass-shine::before {
    background: radial-gradient(
        circle 180px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(200,215,255,0.25) 0%,
        rgba(140,175,255,0.10) 30%,
        rgba(100,140,255,0.03) 55%,
        transparent 75%
    );
}

/* Flip-карточки — блеск на front стороне */
body.dark-mode .flip-card-front.glass-shine::before {
    background: radial-gradient(
        circle 140px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(200,215,255,0.30) 0%,
        rgba(140,175,255,0.12) 30%,
        rgba(100,140,255,0.04) 55%,
        transparent 75%
    );
}

/* Portfolio info panel */
body.dark-mode .portfolio-info-panel.glass-shine::before {
    background: radial-gradient(
        circle 160px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(200,215,255,0.25) 0%,
        rgba(140,175,255,0.08) 30%,
        rgba(100,140,255,0.03) 55%,
        transparent 75%
    );
}

/* Stat блоки */
body.dark-mode .stat-block.glass-shine::before {
    background: radial-gradient(
        circle 120px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(200,215,255,0.22) 0%,
        rgba(140,175,255,0.08) 30%,
        rgba(100,140,255,0.02) 55%,
        transparent 75%
    );
}

/* ✦ Hero badge — Официальный центр TEYES и 5.0 на Яндекс */
body.dark-mode .hero__badge.glass-shine::before {
    background: radial-gradient(
        circle 180px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(200,215,255,0.28) 0%,
        rgba(140,175,255,0.12) 30%,
        rgba(100,140,255,0.04) 55%,
        transparent 75%
    );
}

/* Светлая тема — badge блеск */
.hero__badge.glass-shine::before {
    background: radial-gradient(
        circle 180px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(255,255,255,0.30) 0%,
        rgba(255,255,255,0.12) 30%,
        rgba(255,255,255,0.04) 55%,
        transparent 75%
    );
}

/* ✦ Telegram и VK кнопки */
body.dark-mode .btn--telegram.glass-shine::before,
body.dark-mode .btn--vk.glass-shine::before {
    background: radial-gradient(
        circle 140px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(200,215,255,0.25) 0%,
        rgba(140,175,255,0.12) 30%,
        rgba(100,140,255,0.04) 55%,
        transparent 75%
    );
}
.btn--telegram.glass-shine::before,
.btn--vk.glass-shine::before {
    background: radial-gradient(
        circle 140px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(255,255,255,0.22) 0%,
        rgba(255,255,255,0.10) 30%,
        rgba(255,255,255,0.03) 55%,
        transparent 75%
    );
}

/* ✦ Section label — "Почему мы", "Каталог", "Процесс", "Мастер", "Отзывы" */
.section__label.glass-shine::before {
    background: radial-gradient(
        circle 100px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(255,255,255,0.18) 0%,
        rgba(255,255,255,0.06) 30%,
        rgba(255,255,255,0.02) 55%,
        transparent 75%
    );
}
body.dark-mode .section__label.glass-shine::before {
    background: radial-gradient(
        circle 100px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(180,200,255,0.22) 0%,
        rgba(120,160,255,0.08) 30%,
        rgba(100,140,255,0.03) 55%,
        transparent 75%
    );
}

/* ✦ Catalog filter — левое меню в Услуги и цены */
.catalog-filter.glass-shine::before {
    background: radial-gradient(
        circle 100px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(255,255,255,0.20) 0%,
        rgba(255,255,255,0.08) 30%,
        rgba(255,255,255,0.02) 55%,
        transparent 75%
    );
}
body.dark-mode .catalog-filter.glass-shine::before {
    background: radial-gradient(
        circle 100px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(180,200,255,0.22) 0%,
        rgba(120,160,255,0.08) 30%,
        rgba(100,140,255,0.03) 55%,
        transparent 75%
    );
}

/* ✦ Portfolio filter — категории в До и после */
.portfolio-filter.glass-shine::before {
    background: radial-gradient(
        circle 100px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(255,255,255,0.20) 0%,
        rgba(255,255,255,0.08) 30%,
        rgba(255,255,255,0.02) 55%,
        transparent 75%
    );
}
body.dark-mode .portfolio-filter.glass-shine::before {
    background: radial-gradient(
        circle 100px at var(--shine-x, 50%) var(--shine-y, 0%),
        rgba(180,200,255,0.22) 0%,
        rgba(120,160,255,0.08) 30%,
        rgba(100,140,255,0.03) 55%,
        transparent 75%
    );
}

/* ══════════════════════════════════════════════════════
   🎛️ PREMIUM SKEUOMORPHISM — максимальный скевоморфизм
   Текстуры, тиснение, глянец, объём, реалистичные
   материалы в тёмной теме
   ══════════════════════════════════════════════════════ */

/* ── 1. Skeuo-тиснение на заголовках (emboss + deboss) ── */
body.dark-mode .section__title {
    color: #fff;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.08),
        0 -1px 0 rgba(0,0,0,0.3),
        0 0 40px rgba(74,108,247,0.08);
    letter-spacing: 0.5px;
}

/* ── 4. Header: глянцевый металл с хром-отливом ── */
body.dark-mode .header {
    background: linear-gradient(
        180deg,
        rgba(20,20,30,0.97) 0%,
        rgba(12,12,18,0.97) 100%
    );
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 1px 30px rgba(0,0,0,0.4),
        inset 0 0 60px rgba(74,108,247,0.05),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ── 5. Hero glass panel: толстое ламинированное стекло ── */
body.dark-mode .hero__glass-panel {
    background:
        linear-gradient(
            135deg,
            rgba(15,15,25,0.88) 0%,
            rgba(20,20,35,0.75) 40%,
            rgba(15,15,25,0.82) 100%
        );
    border: 1px solid rgba(255,255,255,0.10);
    border-top-color: rgba(255,255,255,0.15);
    border-bottom-color: rgba(0,0,0,0.3);
    box-shadow:
        0 25px 80px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -1px 0 rgba(0,0,0,0.3),
        0 0 60px rgba(74,108,247,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ── 6. Карточки преимуществ: лаковое дерево / чёрный рояль ── */
body.dark-mode .advantage-card {
    background:
        linear-gradient(
            145deg,
            rgba(25,25,35,0.85) 0%,
            rgba(15,15,22,0.95) 50%,
            rgba(20,20,30,0.90) 100%
        );
    border: 1px solid rgba(255,255,255,0.06);
    border-top-color: rgba(255,255,255,0.10);
    border-bottom-color: rgba(0,0,0,0.2);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -1px 0 rgba(0,0,0,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
body.dark-mode .advantage-card:hover {
    background:
        linear-gradient(
            145deg,
            rgba(30,30,42,0.90) 0%,
            rgba(18,18,28,0.95) 50%,
            rgba(22,22,35,0.92) 100%
        );
    border-color: rgba(74,108,247,0.15);
    border-top-color: rgba(255,255,255,0.12);
    box-shadow:
        0 16px 48px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 30px rgba(74,108,247,0.06);
    transform: translateY(-6px);
}

/* ── 7. Иконки: стеклянные капсулы с глянцем ── */
body.dark-mode .advantage-card__icon {
    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(120,160,255,0.25) 0%,
            rgba(74,108,247,0.10) 40%,
            rgba(30,50,120,0.05) 100%
        );
    border: 1px solid rgba(255,255,255,0.08);
    border-top-color: rgba(255,255,255,0.15);
    box-shadow:
        0 4px 16px rgba(74,108,247,0.15),
        inset 0 1px 0 rgba(255,255,255,0.20),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    color: #6A8FFF;
    text-shadow: 0 0 20px rgba(74,108,247,0.3);
}
body.dark-mode .advantage-card:hover .advantage-card__icon {
    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255,140,80,0.25) 0%,
            rgba(255,107,61,0.12) 40%,
            rgba(200,60,30,0.05) 100%
        );
    border-color: rgba(255,107,61,0.2);
    box-shadow:
        0 6px 24px rgba(255,107,61,0.25),
        inset 0 1px 0 rgba(255,255,255,0.20);
    color: #FF8B5E;
    transform: rotate(-8deg) scale(1.1);
}

/* ── 8. Flip-карточки: матовое стекло с текстурой ── */
body.dark-mode .flip-card-front {
    background:
        linear-gradient(
            160deg,
            rgba(25,25,38,0.90) 0%,
            rgba(15,15,22,0.95) 100%
        );
    border: 1px solid rgba(255,255,255,0.06);
    border-top-color: rgba(255,255,255,0.10);
    box-shadow:
        0 8px 30px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 -1px 0 rgba(0,0,0,0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
body.dark-mode .flip-card-back {
    background:
        linear-gradient(
            160deg,
            rgba(10,10,22,0.95) 0%,
            rgba(5,5,15,0.98) 100%
        );
    border: 1px solid rgba(255,255,255,0.06);
    border-top-color: rgba(255,255,255,0.08);
    box-shadow:
        inset 0 0 60px rgba(74,108,247,0.05),
        inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
body.dark-mode .flip-card-price {
    text-shadow:
        0 0 30px rgba(255,107,61,0.3),
        0 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #FF6B3D, #FF9B6E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
body.dark-mode .flip-card-btn {
    background:
        linear-gradient(
            145deg,
            rgba(255,107,61,0.9) 0%,
            rgba(200,70,40,0.9) 100%
        );
    border: 1px solid rgba(255,255,255,0.10);
    border-top-color: rgba(255,255,255,0.20);
    box-shadow:
        0 4px 16px rgba(255,107,61,0.3),
        inset 0 1px 0 rgba(255,255,255,0.20),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ── 9. Фильтры каталога: неоновые переключатели ── */
body.dark-mode .catalog-filter {
    background:
        linear-gradient(
            180deg,
            rgba(25,25,35,0.85) 0%,
            rgba(15,15,22,0.90) 100%
        );
    border: 1px solid rgba(255,255,255,0.06);
    border-top-color: rgba(255,255,255,0.08);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.04);
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
body.dark-mode .catalog-filter.active {
    background:
        linear-gradient(
            180deg,
            rgba(255,107,61,0.85) 0%,
            rgba(200,70,40,0.90) 100%
        );
    border-color: rgba(255,107,61,0.3);
    border-top-color: rgba(255,255,255,0.15);
    box-shadow:
        0 8px 24px rgba(255,107,61,0.3),
        inset 0 1px 0 rgba(255,255,255,0.15),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ── 10. Поле поиска: углублённое поле с тиснением ── */
body.dark-mode .catalog-search-wrap input {
    background:
        linear-gradient(
            180deg,
            rgba(10,10,16,0.90) 0%,
            rgba(15,15,22,0.85) 100%
        );
    border: 1px solid rgba(255,255,255,0.04);
    border-bottom-color: rgba(255,255,255,0.08);
    box-shadow:
        inset 0 2px 8px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.02),
        0 1px 0 rgba(255,255,255,0.03);
    color: var(--text-primary);
    text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
body.dark-mode .catalog-search-wrap input:focus {
    background:
        linear-gradient(
            180deg,
            rgba(12,12,20,0.95) 0%,
            rgba(18,18,28,0.90) 100%
        );
    border-color: rgba(74,108,247,0.2);
    border-bottom-color: rgba(74,108,247,0.3);
    box-shadow:
        inset 0 2px 12px rgba(0,0,0,0.4),
        0 0 0 3px rgba(74,108,247,0.08);
}

/* ── 11. Мастер-карта: глянцевый винил ── */
body.dark-mode .master-card {
    background:
        linear-gradient(
            145deg,
            rgba(25,25,38,0.88) 0%,
            rgba(15,15,22,0.95) 60%,
            rgba(20,20,32,0.90) 100%
        );
    border: 1px solid rgba(255,255,255,0.06);
    border-top-color: rgba(255,255,255,0.08);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.04),
        inset 0 -1px 0 rgba(0,0,0,0.1);
}
body.dark-mode .master-card__img {
    border: 2px solid rgba(255,107,61,0.2);
    box-shadow:
        0 0 40px rgba(255,107,61,0.12),
        inset 0 0 20px rgba(255,107,61,0.05);
}
body.dark-mode .master-card__role {
    text-shadow:
        0 0 20px rgba(255,107,61,0.2),
        0 1px 2px rgba(0,0,0,0.2);
}

/* ── 12. Форма контактов: матовое стекло с бортиками ── */
body.dark-mode .contact-form {
    background:
        linear-gradient(
            145deg,
            rgba(20,20,32,0.85) 0%,
            rgba(12,12,20,0.92) 100%
        );
    border: 1px solid rgba(255,255,255,0.06);
    border-top-color: rgba(255,255,255,0.08);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.04),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
body.dark-mode .contact-form__field {
    background:
        linear-gradient(
            180deg,
            rgba(10,10,16,0.85) 0%,
            rgba(15,15,22,0.80) 100%
        );
    border: 1.5px solid rgba(255,255,255,0.04);
    border-bottom-color: rgba(255,255,255,0.08);
    box-shadow:
        inset 0 2px 6px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.02);
    color: var(--text-primary);
    text-shadow: 0 1px 0 rgba(0,0,0,0.2);
    transition: border-color 0.3s, box-shadow 0.3s;
}
body.dark-mode .contact-form__field:focus {
    border-color: rgba(255,107,61,0.3);
    border-bottom-color: rgba(255,107,61,0.4);
    box-shadow:
        inset 0 2px 8px rgba(0,0,0,0.4),
        0 0 0 4px rgba(255,107,61,0.06);
}

/* ── 13. Stat-блоки: цифровые индикаторы ── */
body.dark-mode .stat-block {
    background:
        linear-gradient(
            180deg,
            rgba(20,20,32,0.80) 0%,
            rgba(12,12,20,0.88) 100%
        );
    border: 1px solid rgba(255,255,255,0.04);
    border-top-color: rgba(255,255,255,0.06);
    box-shadow:
        0 4px 16px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.03),
        inset 0 -1px 0 rgba(0,0,0,0.1);
}
body.dark-mode .stat-block__num {
    text-shadow:
        0 0 30px rgba(255,107,61,0.15),
        0 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #F0F0F4 20%, #FF6B3D 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── 14. Аккордеон портфолио: текстурированный ── */
body.dark-mode .portfolio-accordion-header {
    background:
        linear-gradient(
            180deg,
            rgba(22,22,35,0.85) 0%,
            rgba(14,14,22,0.90) 100%
        );
    border: 1px solid rgba(255,255,255,0.05);
    border-top-color: rgba(255,255,255,0.07);
    box-shadow:
        0 4px 16px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.03);
}
body.dark-mode .portfolio-accordion-title {
    text-shadow: 0 1px 0 rgba(0,0,0,0.2);
    color: #FF6B3D;
    -webkit-text-fill-color: #FF6B3D;
}

/* ── 15. Info panel портфолио: глянцевый планшет ── */
body.dark-mode .portfolio-info-panel {
    background:
        linear-gradient(
            145deg,
            rgba(22,22,35,0.88) 0%,
            rgba(14,14,22,0.94) 100%
        );
    border: 1px solid rgba(255,255,255,0.05);
    border-top-color: rgba(255,255,255,0.08);
    box-shadow:
        0 8px 30px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.04),
        inset 0 -1px 0 rgba(0,0,0,0.1);
}
body.dark-mode .portfolio-info-title {
    background: linear-gradient(135deg, #F0F0F4, #B0B0C0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── 16. Шкала процесса: футуристический трек ── */
body.dark-mode .process__line-track {
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.04) 0px,
            rgba(255,255,255,0.04) 2px,
            transparent 2px,
            transparent 6px
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,0.06) 0%,
            rgba(255,255,255,0.02) 100%
        );
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}
body.dark-mode .process__line-fill {
    background:
        linear-gradient(
            180deg,
            rgba(74,108,247,0.6) 0%,
            rgba(255,107,61,0.6) 100%
        );
    box-shadow:
        0 0 12px rgba(74,108,247,0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}
body.dark-mode .process-step__dot {
    border-width: 3px;
    border-color: rgba(255,255,255,0.1);
    box-shadow:
        0 0 0 4px rgba(0,0,0,0.2),
        inset 0 0 8px rgba(0,0,0,0.2);
}
body.dark-mode .process-step.active .process-step__dot {
    border-color: rgba(255,107,61,0.3);
    box-shadow:
        0 0 0 8px rgba(255,107,61,0.15),
        0 0 30px rgba(255,107,61,0.2),
        inset 0 0 10px rgba(255,107,61,0.1);
}

/* ── 17. Cookie bar: физический стикер ── */
body.dark-mode .cookie-bar {
    background:
        linear-gradient(
            180deg,
            rgba(25,25,38,0.96) 0%,
            rgba(18,18,28,0.98) 100%
        );
    border: 1px solid rgba(255,255,255,0.06);
    border-top-color: rgba(255,255,255,0.08);
    box-shadow:
        0 8px 40px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* ── 18. Modal: глубокое ламинированное стекло ── */
body.dark-mode .modal-privacy-content {
    background:
        linear-gradient(
            160deg,
            rgba(18,18,30,0.98) 0%,
            rgba(10,10,20,0.99) 100%
        );
    border: 1px solid rgba(255,255,255,0.04);
    border-top-color: rgba(255,255,255,0.06);
    box-shadow:
        0 30px 120px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

/* ── 19. Бейджи Hero: эмалированные значки ── */
body.dark-mode .hero__badge {
    background:
        linear-gradient(
            145deg,
            rgba(25,25,38,0.85) 0%,
            rgba(15,15,22,0.92) 100%
        );
    border: 1px solid rgba(255,255,255,0.06);
    border-top-color: rgba(255,255,255,0.08);
    box-shadow:
        0 4px 16px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.04);
}
body.dark-mode .hero__badge:hover {
    background:
        linear-gradient(
            145deg,
            rgba(30,30,42,0.90) 0%,
            rgba(18,18,28,0.94) 100%
        );
    border-color: rgba(255,107,61,0.15);
    box-shadow:
        0 8px 24px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 0 20px rgba(255,107,61,0.05);
}

/* ── 20. Кнопки в футере: неоновые пилюли ── */
body.dark-mode .footer .btn--telegram,
body.dark-mode .footer .btn--vk {
    background:
        linear-gradient(
            180deg,
            rgba(25,25,38,0.85) 0%,
            rgba(15,15,22,0.90) 100%
        );
    border: 1px solid rgba(255,255,255,0.06);
    border-top-color: rgba(255,255,255,0.08);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

/* ── 21. Review карточки (если есть): матовый пластик ── */
body.dark-mode .review-card {
    background:
        linear-gradient(
            145deg,
            rgba(22,22,35,0.85) 0%,
            rgba(14,14,22,0.92) 100%
        );
    border: 1px solid rgba(255,255,255,0.04);
    border-top-color: rgba(255,255,255,0.06);
    box-shadow:
        0 8px 30px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

/* ── 22. Video link: плёночная кнопка ── */
body.dark-mode .video-link {
    background:
        linear-gradient(
            145deg,
            rgba(22,22,35,0.85) 0%,
            rgba(14,14,22,0.90) 100%
        );
    border: 1px solid rgba(255,255,255,0.04);
    border-top-color: rgba(255,255,255,0.06);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

/* ── Разделители секций в тёмной теме ── */
body.dark-mode .section + .section { border-top: 1px solid rgba(255,255,255,0.04); }

/* ── 23. Дефолтные секции: мягкое свечение ── */
body.dark-mode .section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(74,108,247,0.02) 0%,
            transparent 60%
        );
}
body.dark-mode .section:nth-child(even)::after {
    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(255,107,61,0.015) 0%,
            transparent 60%
        );
}

/* ── 24. Custom dropdown: ниспадающая панель ── */
body.dark-mode .custom-dropdown__button {
    background:
        linear-gradient(
            180deg,
            rgba(25,25,38,0.85) 0%,
            rgba(15,15,22,0.90) 100%
        );
    border: 1px solid rgba(255,255,255,0.06);
    border-top-color: rgba(255,255,255,0.08);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.04);
}
body.dark-mode .custom-dropdown__list {
    background:
        linear-gradient(
            180deg,
            rgba(18,18,30,0.98) 0%,
            rgba(12,12,22,0.99) 100%
        );
    border: 1px solid rgba(255,255,255,0.04);
    border-top-color: rgba(255,255,255,0.06);
    box-shadow:
        0 12px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.02);
}
body.dark-mode .custom-dropdown__item.active {
    background:
        linear-gradient(
            90deg,
            rgba(255,107,61,0.12) 0%,
            transparent 100%
        );
    border-left: 2px solid rgba(255,107,61,0.4);
}

/* ── 25. Scrollbar: хромированный ── */
body.dark-mode::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.15) 0%,
            rgba(255,255,255,0.08) 100%
        );
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
body.dark-mode::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.22) 0%,
            rgba(255,255,255,0.12) 100%
        );
}

/* ── 26. Глобальные скево-тени на всех карточках ── */
body.dark-mode .advantage-card,
body.dark-mode .master-card,
body.dark-mode .stat-block,
body.dark-mode .contact-form,
body.dark-mode .portfolio-info-panel,
body.dark-mode .review-card,
body.dark-mode .flip-card-front {
    transition:
        transform 0.35s cubic-bezier(0.22,1,0.36,1),
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}


