*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #1A1410;
    --bg-alt: #221C17;
    --text: #F5F0E8;
    --text-muted: #A8A29E;
    --accent: #C44536;
    --accent-hover: #ff6b6b;
    --accent-glow: #D4FF3F;
    --border: #3D3530;
    --card-bg: #251F1A;
    --radius: 16px;
    --radius-lg: 24px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-serif: 'Instrument Serif', serif;
    --font-hand: 'Caveat', cursive;
    --font-body: 'Inter', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
html.has-custom-cursor, html.has-custom-cursor * { cursor: none !important; }
#fxCanvas { position: fixed; inset: 0; pointer-events: none; z-index: 9997; }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px;
    opacity: 0.07;
    z-index: 9998;
    pointer-events: none;
    mix-blend-mode: overlay;
}
.noise-overlay { display: none; }

/* HEADER */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(26, 20, 16, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.site-header::after { content: ''; position: absolute; bottom: 0; left: 0; width: 200px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: headerLine 4s linear infinite; }
@keyframes headerLine { 0% { left: -200px; } 100% { left: 100%; } }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.15em; color: var(--text); text-decoration: none; }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-family: var(--font-display); font-size: 0.9rem; font-weight: 500; color: var(--text); text-decoration: none; position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.main-nav a:hover::after { width: 100%; }
.header-controls { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 8px; list-style: none; }
.lang-btn { background: none; border: 1px solid var(--border); padding: 6px 14px; font-family: var(--font-body); font-size: 0.85rem; color: var(--text-muted); cursor: pointer; border-radius: 8px; transition: all 0.3s; }
.lang-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 120px 32px 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; transition: transform 0.1s linear; will-change: transform; }
.parallax-wrapper { position: absolute; overflow: hidden; border-radius: 20px; }
.parallax-wrapper:nth-child(1) { top: 8%; left: 3%; width: 28%; height: 35%; animation: float1 22s ease-in-out infinite; }
.parallax-wrapper:nth-child(2) { top: 5%; right: 5%; width: 32%; height: 40%; animation: float2 26s ease-in-out infinite; }
.parallax-wrapper:nth-child(3) { bottom: 15%; left: 8%; width: 30%; height: 38%; animation: float3 20s ease-in-out infinite; }
.parallax-wrapper:nth-child(4) { bottom: 8%; right: 3%; width: 35%; height: 42%; animation: float4 24s ease-in-out infinite; }
.parallax-wrapper:nth-child(5) { top: 35%; left: 45%; width: 25%; height: 30%; animation: float5 18s ease-in-out infinite; }
.parallax-wrapper:nth-child(6) { top: 55%; left: 2%; width: 22%; height: 28%; animation: float6 23s ease-in-out infinite; }
.parallax-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: blur(1px); transition: opacity 0.5s, filter 0.5s; }
@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, -15px); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(15px, 25px); } }
@keyframes float3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-15px, 15px); } }
@keyframes float4 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(22px, 12px); } }
@keyframes float5 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(12px, -18px); } }
@keyframes float6 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-15px, 20px); } }

.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, #1A1410 0%, transparent 100%); z-index: 1; pointer-events: none; }
.hero::before { content: ''; position: absolute; top: 20%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(196, 69, 54, 0.15) 0%, transparent 70%); z-index: 0; pointer-events: none; animation: blobPulse 8s ease-in-out infinite; }
@keyframes blobPulse { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; } 50% { transform: translateX(-50%) scale(1.3); opacity: 0.8; } }

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; background: transparent; backdrop-filter: none; padding: 40px 20px; will-change: transform; transition: transform 0.1s linear; }
.kinetic-title { font-family: var(--font-serif); font-style: italic; font-size: clamp(3rem, 8vw, 7rem); font-weight: 400; line-height: 0.9; letter-spacing: -0.03em; margin-bottom: 32px; text-shadow: 0 4px 30px rgba(0,0,0,0.8); }
.kinetic-line { display: block; overflow: hidden; }
.kinetic-word { display: inline-block; opacity: 0; transform: translateY(100%); color: var(--text); }
.kinetic-word.animate { animation: kineticReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes kineticReveal { to { opacity: 1; transform: translateY(0); } }
.hero-subtitle { font-family: var(--font-display); font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 300; color: rgba(245, 240, 232, 0.8); margin-bottom: 48px; opacity: 0; transform: translateY(20px); text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.hero-subtitle.animate { animation: fadeUp 0.8s 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.cta-primary { display: inline-block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; padding: 18px 48px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 60px; border: none; cursor: pointer; transition: all 0.3s; opacity: 0; transform: translateY(20px); box-shadow: 0 0 30px rgba(196, 69, 54, 0.5); position: relative; }
.cta-primary.animate { animation: fadeUp 0.8s 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, ctaGlow 3s ease-in-out infinite; }
.cta-primary::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; border: 2px solid var(--accent); border-radius: 60px; animation: ctaRing 2s ease-out infinite; pointer-events: none; }
@keyframes ctaRing { 0% { width: 100%; height: 100%; opacity: 1; } 100% { width: 160%; height: 200%; opacity: 0; } }
@keyframes ctaGlow { 0%, 100% { box-shadow: 0 0 30px rgba(196, 69, 54, 0.5); } 50% { box-shadow: 0 0 50px rgba(196, 69, 54, 0.8); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.cta-primary:hover { background: var(--accent-hover); transform: translateY(-3px); }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); font-size: 0.85rem; color: rgba(245, 240, 232, 0.6); opacity: 0; animation: fadeUp 0.8s 2s forwards; z-index: 2; }

/* MARQUEE */
.marquee-section { background: var(--accent); color: var(--bg); padding: 16px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 10; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.marquee-track { display: flex; width: max-content; animation: marquee 25s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding-right: 4rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* SECTIONS */
section { padding: 100px 32px; max-width: 100%; margin: 0 auto; position: relative; }
.section-header { margin-bottom: 64px; text-align: center; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 16px; position: relative; display: inline-block; }
.section-title::before { content: ''; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 60px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); border-radius: 2px; animation: lineBreathe 3s ease-in-out infinite; }
@keyframes lineBreathe { 0%, 100% { width: 40px; opacity: 0.4; } 50% { width: 80px; opacity: 1; } }
.section-subtitle { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-muted); }

/* GALLERY */
.gallery-section { background: linear-gradient(180deg, #1A1410 0%, #0a0a0a 50%, #1A1410 100%); overflow: hidden; }
.gallery-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 80px; background: linear-gradient(to bottom, var(--accent), transparent); animation: linePulse 3s ease-in-out infinite; }
@keyframes linePulse { 0%, 100% { opacity: 0.5; height: 80px; } 50% { opacity: 1; height: 100px; } }
.gallery-section::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(ellipse 600px 400px at 20% 30%, rgba(196, 69, 54, 0.15) 0%, transparent 70%), radial-gradient(ellipse 500px 500px at 80% 60%, rgba(255, 107, 107, 0.1) 0%, transparent 70%); animation: galleryBgShift 20s ease-in-out infinite; pointer-events: none; z-index: 0; }
@keyframes galleryBgShift { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; } 50% { transform: scale(1.2) rotate(180deg); opacity: 1; } }

.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: -24px auto 24px; position: relative; z-index: 2; padding: 0 16px; }
.filter-chip { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 22px; border-radius: 40px; border: 1px solid var(--border); background: rgba(26,20,16,0.6); color: var(--text-muted); cursor: pointer; transition: all 0.3s; backdrop-filter: blur(8px); }
.filter-chip:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 20px rgba(196,69,54,0.4); }

.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 16px; max-width: 1800px; width: 95vw; margin: 0 auto; padding: 40px 20px; position: relative; z-index: 1; }
.bento-card { position: relative; background: var(--card-bg); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.4s, opacity 0.6s; border: 1px solid rgba(255,255,255,0.1); opacity: 0; transform: translateY(50px) scale(0.95); }
.bento-card.visible { opacity: 1; transform: translateY(0) scale(1); }
.bento-card.featured { grid-column: span 2; grid-row: span 2; }
.bento-card.featured.visible { transform: rotate(-1deg); }
.bento-card.medium { grid-column: span 2; grid-row: span 1; }
.bento-card.medium.visible { transform: rotate(1deg); }
.bento-card.visible:hover { border-color: var(--accent); box-shadow: 0 0 40px rgba(196, 69, 54, 0.3), 0 20px 60px rgba(0,0,0,0.5); transform: translateY(-10px) scale(1.02); }
.bento-card.featured.visible:hover, .bento-card.medium.visible:hover { transform: rotate(0deg) translateY(-10px) scale(1.02); }
.bento-card.hidden-by-filter { display: none; }
.bento-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); z-index: 10; pointer-events: none; transition: left 0.6s ease; }
.bento-card:hover::before { left: 100%; }
.bento-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(196, 69, 54, 0.1) 0%, transparent 50%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: 5; }
.bento-card:hover::after { opacity: 1; }

.card-image { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--bg-alt); }
.card-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.bento-card:hover .card-image img { transform: scale(1.15); }
.card-blurhash { position: absolute; inset: 0; background: var(--bg-alt); filter: blur(20px); transition: opacity 0.4s; z-index: 1; }
.card-blurhash.loaded { opacity: 0; }

.card-info { position: absolute; top: 0; left: 0; right: 0; z-index: 4; background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%); backdrop-filter: none; padding: 20px; border-radius: 0; box-shadow: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-info-text { display: flex; flex-direction: column; }
.card-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 2px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.bento-card.featured .card-name { font-size: 1.4rem; }
.card-category { font-size: 0.7rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; }
.card-number { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.12em; color: rgba(245,240,232,0.65); white-space: nowrap; padding-top: 4px; }

.card-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 60px 20px 80px; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%); color: #fff; z-index: 3; }
.card-overlay p { font-size: 0.9rem; line-height: 1.5; margin: 0; color: rgba(255,255,255,0.9); text-shadow: 0 2px 8px rgba(0,0,0,0.8); }

.card-actions { position: absolute; bottom: 15px; left: 15px; right: 15px; z-index: 5; display: flex; gap: 10px; }
.card-action-btn { flex: 1; padding: 10px 16px; font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; border-radius: 25px; cursor: pointer; transition: all 0.3s ease; text-align: center; border: none; text-transform: uppercase; letter-spacing: 0.05em; }
.card-action-btn.primary { background: var(--accent); color: #fff; box-shadow: 0 4px 15px rgba(196, 69, 54, 0.4); }
.card-action-btn.primary:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 6px 25px rgba(196, 69, 54, 0.6); }
.card-action-btn.secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); }
.card-action-btn.secondary:hover { background: rgba(255,255,255,0.2); border-color: #fff; transform: translateY(-3px); }

/* PROCESS */
.process-section { background: #2d2825; max-width: 100%; padding: 80px 32px 0; overflow: hidden; }
.process-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 20% 30%, rgba(196, 69, 54, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.08) 0%, transparent 50%); animation: bgShift 15s ease-in-out infinite; pointer-events: none; }
@keyframes bgShift { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.1) rotate(5deg); } }

.paint-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; text-align: center; margin: 0 auto 40px; max-width: 1200px; color: var(--accent); position: relative; display: block; text-shadow: 0 0 20px rgba(196, 69, 54, 0.5), 0 0 40px rgba(196, 69, 54, 0.3); animation: titleGlow 3s ease-in-out infinite; }
@keyframes titleGlow { 0%, 100% { text-shadow: 0 0 20px rgba(196, 69, 54, 0.5), 0 0 40px rgba(196, 69, 54, 0.3); } 50% { text-shadow: 0 0 30px rgba(196, 69, 54, 0.7), 0 0 60px rgba(196, 69, 54, 0.5); } }

.process-steps-container { scroll-snap-type: y mandatory; overflow-y: auto; height: 500px; max-width: 1200px; margin: 0 auto 80px; border-radius: var(--radius-lg); border: 2px solid rgba(196, 69, 54, 0.4); background: #1e1a18; position: relative; box-shadow: 0 0 80px rgba(196, 69, 54, 0.15), inset 0 0 80px rgba(0,0,0,0.5); animation: containerPulse 4s ease-in-out infinite; }
@keyframes containerPulse { 0%, 100% { box-shadow: 0 0 80px rgba(196, 69, 54, 0.15), inset 0 0 80px rgba(0,0,0,0.5); } 50% { box-shadow: 0 0 100px rgba(196, 69, 54, 0.25), inset 0 0 80px rgba(0,0,0,0.5); } }
.process-steps-container::-webkit-scrollbar { width: 10px; }
.process-steps-container::-webkit-scrollbar-track { background: #1a1a1a; border-radius: 5px; margin: 10px 0; }
.process-steps-container::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), #ff6b6b); border-radius: 5px; border: 2px solid #1a1a1a; }
.process-steps-container::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #ff6b6b, #f4a261); }

.process-steps-container::after { content: var(--scroll-hint, '↓ КРУТИ ↓'); position: absolute; bottom: 15px; right: 20px; background: rgba(196, 69, 54, 0.9); color: #fff; padding: 8px 16px; border-radius: 20px; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; z-index: 10; pointer-events: none; animation: scrollBounce 2s ease-in-out infinite; box-shadow: 0 4px 20px rgba(196, 69, 54, 0.5); }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-8px); opacity: 0.7; } }

.process-step-full { height: 500px; width: 100%; scroll-snap-align: start; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.step-background { position: absolute; inset: 0; z-index: 0; }
.step-background img { width: 100%; height: 100%; object-fit: cover; filter: blur(15px) brightness(0.6); }
.step-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1000px; padding: 40px; align-items: center; }
.step-number { font-family: var(--font-display); font-size: 12rem; font-weight: 700; text-align: center; color: transparent; -webkit-text-stroke: 2px rgba(196, 69, 54, 0.3); opacity: 0; transform: translateX(-50px); transition: all 1s; }
.process-step-full.active .step-number { opacity: 1; transform: translateX(0); -webkit-text-stroke: 0; background: linear-gradient(135deg, #c44536, #ff6b6b, #f4a261); -webkit-background-clip: text; background-clip: text; }
.step-text { opacity: 0; transform: translateX(50px); transition: all 0.8s 0.2s; }
.process-step-full.active .step-text { opacity: 1; transform: translateX(0); }
.step-text h3 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.step-text p { font-size: 1.05rem; color: rgba(255, 255, 255, 0.85); line-height: 1.7; }

/* CONTACT */
.order-section { background: linear-gradient(180deg, #1A1410 0%, #0a0a0a 50%, #1A1410 100%); max-width: 100%; position: relative; }
.order-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 100px; background: linear-gradient(to bottom, var(--accent), transparent); animation: linePulse 3s ease-in-out infinite; }
.order-section .section-title { font-size: 3.5rem; display: block; text-align: center; margin: 0 auto 20px; text-shadow: 0 0 30px rgba(196, 69, 54, 0.3); }

.contact-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; padding: 0 32px; }
.contact-info { position: sticky; top: 120px; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--accent); text-shadow: 0 0 20px rgba(196, 69, 54, 0.3); margin-bottom: 20px; }
.contact-link { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: rgba(30, 30, 30, 0.6); backdrop-filter: blur(10px); border: 1px solid rgba(196, 69, 54, 0.2); border-radius: 12px; text-decoration: none; color: #fff; margin-bottom: 16px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.contact-link::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(196, 69, 54, 0.1), transparent); transition: left 0.5s ease; }
.contact-link:hover::before { left: 100%; }
.contact-link:hover { border-color: var(--accent); background: rgba(196, 69, 54, 0.1); transform: translateX(8px); box-shadow: 0 5px 20px rgba(196, 69, 54, 0.3); }
.contact-link span:first-child { font-size: 1.3rem; filter: drop-shadow(0 0 8px currentColor); }

.contact-form { background: rgba(30, 30, 30, 0.6); backdrop-filter: blur(20px); border: 1px solid rgba(196, 69, 54, 0.3); border-radius: var(--radius-lg); padding: 40px; transition: all 0.4s ease; position: relative; }
.contact-form:hover { border-color: rgba(196, 69, 54, 0.5); box-shadow: 0 20px 80px rgba(196, 69, 54, 0.2); transform: translateY(-5px); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.form-group input, .form-group textarea { font-family: var(--font-body); padding: 14px 16px; border: 1px solid #333; border-radius: 12px; background: rgba(26, 26, 26, 0.8); color: #fff; outline: none; transition: all 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(196, 69, 54, 0.2); background: rgba(34, 34, 34, 0.9); }

.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); cursor: pointer; line-height: 1.5; }
.checkbox-label input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }
.checkbox-label a { color: var(--accent); text-decoration: underline; }
.checkbox-label a:hover { color: var(--accent-hover); }

.btn-submit { width: 100%; padding: 16px; border-radius: 60px; border: 2px solid var(--accent); background: transparent; color: var(--accent); font-weight: 600; font-family: var(--font-display); cursor: pointer; transition: all 0.4s ease; position: relative; overflow: hidden; z-index: 1; }
.btn-submit::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--accent); transition: left 0.4s ease; z-index: -1; }
.btn-submit:hover::before { left: 0; }
.btn-submit:hover { color: #fff; box-shadow: 0 0 50px rgba(196, 69, 54, 0.7); }

/* MODAL */
.work-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px; }
.work-modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(15px); }
.modal-content { position: relative; background: transparent; max-width: 1400px; width: 100%; max-height: 90vh; z-index: 1; }
.modal-close { position: absolute; top: -60px; right: 0; width: 44px; height: 44px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; color: #fff; font-size: 1.5rem; cursor: pointer; z-index: 10; }
.modal-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }

.modal-image { 
    position: relative; 
    border-radius: var(--radius); 
    overflow: hidden; 
    background: #000;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-image img { 
    width: 100%; 
    height: 100%; 
    max-height: 85vh;
    object-fit: contain;
}

.modal-info { color: #fff; display: flex; flex-direction: column; gap: 24px; }
.modal-info h2 { font-size: 2.5rem; margin-bottom: 8px; }
.modal-details { padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.detail-row { display: flex; justify-content: space-between; padding: 8px 0; }
.detail-row span:first-child { color: rgba(255, 255, 255, 0.5); }
.modal-actions { display: flex; gap: 16px; margin-top: auto; }
.modal-order-btn { flex: 1; padding: 18px; border-radius: 60px; background: var(--accent); color: #fff; border: none; font-weight: 600; cursor: pointer; }
.modal-variant-btn { flex: 1; padding: 18px; border-radius: 60px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font-weight: 600; cursor: pointer; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%; color: #fff; cursor: pointer; z-index: 10; }
.modal-prev { left: -90px; }
.modal-next { right: -90px; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 0 32px 48px; background: #0a0a0a; }
.footer-manifesto { text-align: center; padding: 90px 24px 50px; border-bottom: 1px solid var(--border); margin-bottom: 48px; }
.footer-big-logo { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 17vw, 15rem); line-height: 0.85; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 2px rgba(245,240,232,0.22); transition: all 0.6s ease; user-select: none; }
.footer-manifesto:hover .footer-big-logo { -webkit-text-stroke: 2px var(--accent); color: rgba(196,69,54,0.10); text-shadow: 0 0 80px rgba(196,69,54,0.35); }
.footer-quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 3vw, 2.2rem); line-height: 1.3; color: var(--text); max-width: 720px; margin: 36px auto 14px; }
.footer-sign { font-family: var(--font-hand); font-size: 1.5rem; color: var(--accent); }
.footer-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-brand .logo { display: block; margin-bottom: 4px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-made { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.footer-studio { font-family: var(--font-display); font-weight: 600; color: var(--text); text-decoration: none; }
.footer-studio:hover { color: var(--accent); }
.footer-tg-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #2AABEE; text-decoration: none; font-weight: 600; transition: all 0.3s ease; padding: 8px 16px; border-radius: 8px; background: rgba(42, 171, 238, 0.1); }
.footer-tg-link:hover { background: rgba(42, 171, 238, 0.2); transform: translateY(-2px); }

/* FLOATING BUTTONS */
.social-float { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 12px; z-index: 9990; }
.telegram-float, .whatsapp-float { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: all 0.3s; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); }
.telegram-float { background: #2AABEE; }
.whatsapp-float { background: #25D366; }
.telegram-float:hover, .whatsapp-float:hover { transform: scale(1.1) translateY(-3px); }
.scroll-top { position: fixed; bottom: 30px; left: 30px; width: 50px; height: 50px; background: var(--accent); color: #fff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 9990; opacity: 0; visibility: hidden; transition: all 0.3s; }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent-hover); transform: translateY(-3px); }

/* PRELOADER */
.preloader { position: fixed; inset: 0; background: #1A1410; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; transition: opacity 0.6s, visibility 0.6s; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-om { width: 180px; height: 180px; animation: preloaderPulse 1.5s ease-in-out infinite; }
.preloader-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: #F5F0E8; letter-spacing: 0.4em; }
@keyframes preloaderPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: 0.8; } }

/* EFFECTS */
.paint-drops { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: hidden; }
.drop { position: absolute; top: -30px; border-radius: 50%; opacity: 0.8; animation: dropFall linear forwards; }
@keyframes dropFall { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 0.8; } 100% { transform: translateY(110vh); opacity: 0; } }
.magnetic-btn { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important; }

/* COOKIE */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 3000; background: var(--card-bg); border-top: 1px solid var(--border); padding: 24px 32px; transform: translateY(100%); transition: transform 0.4s; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-content { max-width: 1400px; margin: 0 auto; }
.cookie-categories { display: flex; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.cookie-category { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; cursor: pointer; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cookie-btn { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; padding: 12px 28px; border-radius: 60px; cursor: pointer; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.cookie-btn.cookie-accept { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-btn.cookie-reject { background: var(--text); color: var(--bg); border-color: var(--text); }

/* CUSTOM CURSOR */
.custom-cursor { position: fixed; width: 8px; height: 8px; background: var(--accent-glow); border-radius: 50%; pointer-events: none; z-index: 99999; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, background 0.3s; mix-blend-mode: difference; }
.custom-cursor.hovered { width: 40px; height: 40px; background: transparent; border: 1px solid var(--accent-glow); }

/* DECO STARS */
.deco-star { position: absolute; color: var(--accent); font-size: 2rem; animation: spinSlow 10s linear infinite; pointer-events: none; opacity: 0.3; }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1500px) {
    .modal-prev { left: 12px; background: rgba(0,0,0,0.6); }
    .modal-next { right: 12px; background: rgba(0,0,0,0.6); }
}

@media (hover: none) and (pointer: coarse) {
    body { cursor: auto !important; }
    .custom-cursor { display: none !important; }
    html.has-custom-cursor, html.has-custom-cursor * { cursor: auto !important; }
}

@media (max-width: 768px) {
    .header-inner { padding: 12px 16px; flex-wrap: wrap; }
    .main-nav { order: 3; width: 100%; justify-content: center; gap: 20px; margin-top: 12px; }
    section { padding: 60px 16px !important; }
    .bento-grid { grid-template-columns: 1fr !important; padding: 20px 16px !important; }
    .bento-card.featured, .bento-card.medium { grid-column: span 1 !important; grid-row: span 1 !important; transform: none !important; }
    .bento-card.featured:hover, .bento-card.medium:hover { transform: translateY(-10px) scale(1.02) !important; }
    .card-actions { flex-direction: column !important; }
    .hero { padding: 100px 16px 60px !important; }
    .parallax-wrapper { width: 50% !important; }
    
    .contact-container { grid-template-columns: 1fr !important; padding: 0 !important; }
    .contact-info { position: static !important; text-align: center; }
    .form-grid { grid-template-columns: 1fr !important; }
    .contact-form { padding: 24px 16px !important; }
    
    .footer-inner { flex-direction: column !important; text-align: center; }
    .footer-manifesto { padding: 60px 16px 36px; }
    .paint-title { font-size: 1.8rem !important; }
    .filter-chip { padding: 8px 16px; font-size: 0.75rem; }
    
    .process-steps-container { height: 600px !important; }
    .process-step-full { height: 600px !important; }
    .step-content { grid-template-columns: 1fr !important; text-align: center; padding: 40px 20px !important; }
    .step-number { font-size: 8rem !important; }
    .step-text h3::after { left: 50% !important; transform: translateX(-50%) !important; }
    
    .work-modal { padding: 0 !important; }
    .work-modal.open { display: block !important; }
    .modal-content { max-height: none !important; height: auto !important; min-height: 100vh !important; }
    .modal-body { display: block !important; }
    .modal-image { width: 100% !important; height: auto !important; max-height: 75vh !important; aspect-ratio: auto !important; overflow: visible !important; background: #000 !important; }
    .modal-image img { width: 100% !important; height: auto !important; max-height: 75vh !important; object-fit: contain !important; display: block !important; }
    .modal-info { padding: 24px 20px 40px !important; background: var(--bg) !important; color: var(--text) !important; }
    .modal-info h2 { color: var(--text) !important; font-size: 1.5rem !important; }
    .modal-concept { color: var(--text-muted) !important; }
    .modal-details { border-color: var(--border) !important; }
    .detail-row span:first-child { color: var(--text-muted) !important; }
    .detail-row span:last-child { color: var(--text) !important; }
    .modal-actions { flex-direction: column !important; }
    .modal-order-btn, .modal-variant-btn { width: 100% !important; }
    .modal-close { top: 12px !important; right: 12px !important; background: rgba(0,0,0,0.8) !important; z-index: 100 !important; }
    .modal-nav { top: 40% !important; width: 44px !important; height: 44px !important; background: rgba(0,0,0,0.7) !important; }
    .modal-prev { left: 12px !important; }
    .modal-next { right: 12px !important; }
    
    .social-float { bottom: 20px !important; right: 20px !important; }
    .telegram-float, .whatsapp-float { width: 55px !important; height: 55px !important; }
    .scroll-top { bottom: 20px !important; left: 20px !important; width: 45px !important; height: 45px !important; }
}

@media (max-width: 480px) {
    .lang-btn { padding: 4px 10px; font-size: 0.75rem; }
    .paint-title { font-size: 1.6rem !important; }
    .step-number { font-size: 6rem !important; }
    .contact-form { padding: 16px !important; }
    .checkbox-label { font-size: 0.85rem !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}
/* ===== GALLERY: «БЕЛЫЙ КУБ» ===== */
.gallery-section { background: linear-gradient(180deg, #F5F0E8 0%, #EBE4D8 50%, #F5F0E8 100%); }
.gallery-section::after { background-image: radial-gradient(ellipse 700px 450px at 15% 25%, rgba(196,69,54,0.08) 0%, transparent 70%), radial-gradient(ellipse 600px 500px at 85% 65%, rgba(201,169,97,0.10) 0%, transparent 70%); animation: none; }
.gallery-section .section-title { color: #1A1410; }
.gallery-section .filter-chip { background: rgba(255,255,255,0.75); border-color: rgba(26,20,16,0.15); color: #6B625C; }
.gallery-section .filter-chip:hover { color: #1A1410; border-color: var(--accent); }
.gallery-section .filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.bento-card { background: #fff; border: 1px solid rgba(26,20,16,0.12); box-shadow: 0 12px 40px rgba(26,20,16,0.10); }
.bento-card.visible:hover { border-color: var(--accent); box-shadow: 0 25px 70px rgba(196,69,54,0.22), 0 15px 45px rgba(26,20,16,0.16); }
.card-blurhash { background: #DDD5C8; }

.card-info { background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 60%, transparent 100%); }

/* Описание и кнопки — только при наведении, искусство дышит */
.card-overlay { opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.card-actions { opacity: 0; transform: translateY(12px); transition: opacity .45s ease .05s, transform .45s ease .05s; pointer-events: none; }
.bento-card:hover .card-overlay, .bento-card:focus-within .card-overlay,
.bento-card:hover .card-actions, .bento-card:focus-within .card-actions { opacity: 1; transform: none; pointer-events: auto; }

.deco-star { opacity: 0.5; }

@media (hover: none) and (pointer: coarse) {
    .card-overlay, .card-actions { opacity: 1; transform: none; pointer-events: auto; }
}
/* ===== MODAL: музейная этикетка + стрелки на фото ===== */
.modal-image { position: relative; }
.modal-nav { top: 50%; left: auto; right: auto; background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); border-color: rgba(255,255,255,0.25); transition: background 0.3s; }
.modal-prev { left: 16px; }
.modal-next { right: 16px; }
.modal-nav:hover { background: rgba(196,69,54,0.85); }

.modal-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0; }
.detail-row { display: flex; flex-direction: column; gap: 6px; padding: 0; }
.detail-row span:first-child { font-family: var(--font-display); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.45); }
.detail-row span:last-child { font-size: 0.95rem; line-height: 1.55; color: #fff; text-align: left; }

@media (max-width: 768px) {
    .modal-details { grid-template-columns: 1fr; gap: 14px; }
    .modal-nav { top: 50% !important; width: 44px !important; height: 44px !important; }
    .modal-prev { left: 12px !important; }
    .modal-next { right: 12px !important; }
}