@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700;800&display=swap');
:root{--ink:#152d4b;--muted:#70839b;--blue:#5588c7;--purple:#6749e7;--line:#d8e5ef;--mx:0px;--my:0px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f4f8fc;color:var(--ink);font:16px/1.65 Manrope,'Segoe UI',sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}.skip{position:absolute;top:-100px;left:10px;z-index:50;background:white;padding:10px}.skip:focus{top:10px}.wrap{width:min(1320px,88%);margin-inline:auto}.background{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 70% 5%,#dbeeff 0,transparent 47%),#f6f9fc}.orb{position:absolute;border-radius:50%;filter:blur(4px);background:radial-gradient(circle at 35% 30%,#ffffffbf,#c4e3f455 38%,#a5c5e22a 65%,transparent 72%);animation:drift 17s ease-in-out infinite alternate}.orb-a{width:55vw;height:55vw;right:-16%;top:-20%}.orb-b{width:32vw;height:32vw;left:-17%;top:42%;animation-delay:-6s}.wire{position:absolute;border:1px solid #a9c8e53d;box-shadow:inset 0 0 60px #c5dded35,0 0 80px #bfdcf334;transform:perspective(700px) rotateX(58deg) rotateZ(35deg) translate(var(--mx),var(--my));animation:wire 22s ease-in-out infinite alternate}.wire-a{width:45vw;height:45vw;right:-13%;top:25%;border-radius:18%}.wire-b{width:30vw;height:30vw;left:-15%;bottom:3%;border-radius:50%;animation-delay:-10s}@keyframes drift{to{translate:25px 25px}}@keyframes wire{to{transform:perspective(700px) rotateX(68deg) rotateZ(65deg) translate(var(--mx),var(--my))}}#header{position:relative;z-index:10}.header-inner{width:min(1440px,88%);margin:auto;height:100px;display:flex;align-items:center;gap:32px}.brand{display:inline-flex;align-items:center;gap:12px;font-family:Unbounded,'Segoe UI',sans-serif;font-size:11px;line-height:1.15;font-weight:700;letter-spacing:-.05em;white-space:nowrap}.brand-symbol{font-size:43px;letter-spacing:-.18em;margin-right:8px}.brand-symbol span{color:#785ff1}.brand small{display:block;font:600 8px Manrope,sans-serif;letter-spacing:.12em;color:#8190a2;margin-top:6px}.nav{display:flex;gap:36px;margin:auto;align-items:center}.nav a{font-size:14px;font-weight:700;position:relative;padding:12px 0}.nav a:after{content:'';position:absolute;bottom:4px;left:0;width:0;height:2px;background:#7458e6;transition:width .25s}.nav a:hover:after,.nav a[aria-current]:after{width:100%}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;background:linear-gradient(120deg,#775df0,#5436d2);color:#fff;border-radius:7px;padding:17px 24px;font-weight:800;font-size:14px;line-height:1.2;box-shadow:0 12px 24px #6549dc2b;transition:transform .25s,box-shadow .25s}.button:hover{transform:translateY(-3px);box-shadow:0 16px 30px #6549dc45}.header-cta{padding:14px 19px}.button-outline{background:#ffffffb8;border-color:#cddce9;color:#263e5a;box-shadow:none}.button-white{background:white;color:#5943d2;white-space:nowrap}.menu-toggle{display:none;background:none;border:0;padding:10px}.menu-toggle span{display:block;width:25px;height:2px;background:var(--ink);margin:6px}.hero{min-height:690px;display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;gap:5%;padding:65px 0 95px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:#6d87a8}.eyebrow:before{content:'';display:inline-block;vertical-align:middle;width:26px;height:2px;background:#7658e7;margin-right:10px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.16;letter-spacing:-.06em}h1,h2{font-family:Unbounded,'Segoe UI',sans-serif;font-weight:600}h1{font-size:clamp(43px,5.4vw,76px);margin:27px 0;line-height:1.12}h2{font-size:clamp(32px,3.6vw,54px);margin:24px 0}h3{font-family:Unbounded,'Segoe UI',sans-serif;font-size:18px;font-weight:500}h1 em,h2 em{font-style:normal;color:#5f8fc9}.hero-lead,.lead{font-size:18px;line-height:1.8;color:#6b7e96;max-width:500px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}.hero-bottom{font-size:10px;letter-spacing:.13em;color:#8a9bae;font-weight:800;margin-top:85px;display:flex;align-items:center;gap:13px}.little-line{width:38px;height:1px;background:#9db3c6}.hero-visual{position:relative;padding:20px 35px 50px 0}.hero-panel{height:525px;position:relative;border-radius:4px 90px 4px 4px;overflow:hidden;box-shadow:0 25px 80px #597b9b28}.hero-panel .placeholder{height:100%;background:linear-gradient(135deg,#b4d2e5,#779ab4 55%,#3f627b)}.hero-panel-overlay{position:absolute;left:32px;bottom:35px;color:white;text-shadow:0 2px 12px #17365060;pointer-events:none}.hero-panel-overlay span{font-size:10px;letter-spacing:.15em}.hero-panel-overlay strong{display:block;font-family:Unbounded,sans-serif;font-size:23px;line-height:1.35;margin-top:10px}.hero-panel .placeholder-caption{top:20px;bottom:auto}.hero-side{position:absolute;right:-20px;bottom:0;width:38%;height:200px;border:8px solid #f4f8fc;box-shadow:0 20px 35px #4c6f8c22}.hero-side .placeholder{height:100%}.hero-tag{position:absolute;bottom:38px;left:-35px;background:white;padding:18px 22px;display:flex;gap:15px;align-items:center;box-shadow:0 15px 40px #315c7b20;font-size:12px}.hero-tag small{display:block;color:#91a1b2}.tag-icon{font-size:27px;color:#7254e6}.hero-outline{position:absolute;top:-6px;right:0;width:45%;height:45%;border-top:1px solid #95b7d6;border-right:1px solid #95b7d6;z-index:-1}.placeholder{position:relative;width:100%;height:100%;min-height:180px;overflow:hidden;background:linear-gradient(145deg,#d8eaf4,#a9c5d8 55%,#7697ae);display:grid;place-items:center}.placeholder:after{content:'';position:absolute;inset:0;background:linear-gradient(120deg,transparent 38%,#ffffff30 39%,transparent 40%)}.placeholder-grid{position:absolute;inset:-30%;transform:perspective(500px) rotateX(52deg) rotateZ(-20deg);background-image:linear-gradient(#ffffff32 1px,transparent 1px),linear-gradient(90deg,#ffffff32 1px,transparent 1px);background-size:42px 42px}.placeholder-icon{position:relative;font-size:clamp(70px,8vw,125px);color:#f3faff8c;font-weight:400;line-height:1;filter:drop-shadow(7px 12px 1px #345a7340)}.placeholder-caption{position:absolute;bottom:13px;left:15px;color:#fff;font-size:9px;letter-spacing:.12em;font-weight:800;text-shadow:0 1px 4px #24475d99;z-index:1}.product-image{width:100%;height:100%;object-fit:cover}.section{padding:105px 0}.about{display:grid;grid-template-columns:1fr 1fr;gap:9%;border-top:1px solid var(--line)}.about-copy{position:relative;padding-top:12px}.about-copy>p{font-size:20px;color:#526983;line-height:1.8}.quote-mark{font-family:Georgia,serif;position:absolute;right:0;top:-75px;font-size:120px;color:#dce9f3}.signature{display:flex;gap:14px;align-items:center;margin-top:28px}.signature-mark{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#e4edfa;color:#6785b4;font-weight:800}.signature small{display:block;color:#8a9baa;font-size:12px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:40px}.section-heading h2{margin-bottom:0}.section-heading>p{color:var(--muted);max-width:340px;margin-bottom:3px}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.category-card,.product-card{background:white;border:1px solid #e2ebf2;overflow:hidden;transition:transform .3s,box-shadow .3s}.category-card:hover,.product-card:hover{transform:translateY(-5px);box-shadow:0 20px 50px #496b881b}.category-card>.placeholder,.category-card>img{height:210px}.category-body,.card-content{padding:25px}.category-body small,.card-overline{font-size:10px;letter-spacing:.13em;color:#8194ab;font-weight:800}.category-body h3{margin:13px 0}.category-body p,.card-content p{font-size:14px;color:#7b8da1;min-height:48px}.category-body>span,.text-link,.text-button{color:#644bd8;font-size:13px;font-weight:800}.portfolio-section{background:#eaf2f8}.portfolio-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;grid-template-rows:180px 180px;gap:14px}.portfolio-item{position:relative;border:0;padding:0;overflow:hidden;background:#a7c1d2;text-align:left}.portfolio-item:first-child{grid-row:span 2}.portfolio-item:nth-child(4){grid-column:span 2}.portfolio-item>span:last-child{position:absolute;left:18px;bottom:15px;color:white;font-weight:800;text-shadow:0 2px 6px #173b58}.portfolio-item .placeholder-caption{top:12px;bottom:auto}.portfolio-item .placeholder,.portfolio-item img{transition:transform .5s}.portfolio-item:hover .placeholder,.portfolio-item:hover img{transform:scale(1.04)}.caption{color:#8293a5;font-size:13px;margin:15px 0 25px}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.benefit{border-top:1px solid #c6d8e6;padding-top:25px}.benefit>span{font-size:30px;color:#7154df}.benefit h3{margin:20px 0 12px}.benefit p,.step p{color:var(--muted)}.process-section{background:#eff5fa}.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}.step{border-top:2px solid #bdd2e3;padding-top:20px}.step b{color:#7556e3;font-size:13px}.step h3{font-size:16px;line-height:1.5;margin-top:20px}.cta{margin-top:100px;background:#182f50;color:#fff;padding:65px;display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative;overflow:hidden}.cta:after{content:'';position:absolute;right:22%;top:-180px;width:450px;height:450px;border:1px solid #779bc93d;border-radius:50%;box-shadow:0 0 0 40px #ffffff06,0 0 0 80px #ffffff05;pointer-events:none}.cta>*{position:relative;z-index:1}.cta h2{margin:22px 0}.cta h2 em{color:#9ac2ee}.cta p{color:#b2c5d7;margin:0}.eyebrow.light{color:#b7cce0}footer{background:#10213b;color:#e9f2fa;margin-top:100px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px;padding:70px 0 25px}.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:9px;color:#a7bacd;font-size:14px}.footer-grid p{color:#a7bacd}.footer-grid h3{font:800 11px Manrope,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#fff;margin:0 0 10px}.footer-grid a:hover{color:#a897ff}.footer-bottom{grid-column:1/-1;border-top:1px solid #ffffff20;margin-top:35px;padding-top:20px;display:flex!important;flex-direction:row!important;justify-content:space-between;font-size:12px!important}.page-intro{padding:75px 0 45px}.page-intro h1{font-size:clamp(42px,5vw,70px)}.catalog-tools{border-top:1px solid var(--line);padding-top:30px}.search-label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:800;max-width:420px}.search-label input,.form-grid input,.form-grid select,.form-grid textarea{border:1px solid #d7e3ed;background:#fbfdff;border-radius:5px;padding:14px;color:var(--ink);width:100%}.filters{display:flex;flex-wrap:wrap;gap:9px;margin:25px 0}.filter{border:1px solid #d6e2eb;background:#fff;color:#61758d;border-radius:30px;padding:10px 15px;font-size:13px;font-weight:700}.filter.active{background:#1b3455;border-color:#1b3455;color:white}.result-count{color:#8192a3;font-size:13px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.image-button{padding:0;border:0;width:100%;height:230px;display:block}.card-content h3{margin:12px 0}.card-foot{border-top:1px solid #edf2f6;padding-top:16px;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;font-weight:700;color:#566b82;margin-bottom:15px}.text-button{border:0;background:none;padding:0}.empty{padding:35px;background:white}.contact-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:9%;align-items:start}.contact-block{border-top:1px solid #cbdce9;padding:25px 0}.contact-block>span{font-size:10px;font-weight:800;letter-spacing:.15em;color:#8598ae}.contact-block h3{margin:18px 0 10px}.contact-block p{color:var(--muted)}.contact-block a{display:block;color:#6649dd}.contact-accent{margin-top:30px;background:#e4eef8;padding:32px;color:#6687b0;font-size:26px}.contact-accent b{display:block;font-family:Unbounded,sans-serif;color:#345477;font-size:17px;line-height:1.5;margin-top:15px}.contact-form{background:white;border:1px solid #e2ebf2;padding:40px;box-shadow:0 25px 60px #5e7f9a0e}.form-heading h2{font-size:27px}.form-heading p,.form-note{font-size:13px;color:#8595a8}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:800}.form-grid label span{color:#98a7b7;font-weight:500}.form-grid label.full{grid-column:1/-1}.form-grid textarea{resize:vertical;min-height:120px}.file-label small{font-weight:400;color:#8494a5}.contact-form>.button{margin:24px 0 5px}.result-box{background:#edf5fb;padding:22px;margin-top:25px}.result-box p{font-size:14px;color:#607890}.result-box textarea{width:100%;min-height:180px;padding:12px;border:1px solid #cdddea;resize:vertical}.result-box span{display:block;margin-top:10px;color:#466a87;font-size:13px}dialog{width:min(760px,92vw);max-height:90vh;border:0;padding:0;box-shadow:0 30px 100px #142d48aa}dialog::backdrop{background:#10213bc2}.dialog-close{position:absolute;z-index:2;right:15px;top:15px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;font-size:25px}.dialog-art{height:320px;position:relative}.dialog-body{padding:35px}.dialog-body h2{font-size:30px}.dialog-body p{color:#6a8097}.gallery-controls{position:absolute;bottom:10px;right:10px;background:#ffffffdf;display:flex;align-items:center;gap:10px;padding:4px}.gallery-controls button{border:0;background:none;font-size:24px}.reveal{opacity:0;transform:translateY(18px);transition:opacity .65s,transform .65s}.reveal.visible{opacity:1;transform:none}:focus-visible{outline:3px solid #8267f0;outline-offset:3px}@media(max-width:850px){.header-inner{height:78px}.header-cta{display:none}.menu-toggle{display:block;margin-left:auto}.nav{display:none;position:absolute;top:70px;left:6%;right:6%;background:#fff;padding:20px 25px;box-shadow:0 15px 35px #28476122;flex-direction:column;gap:8px;align-items:stretch}.nav.open{display:flex}.hero{grid-template-columns:1fr;padding:60px 0;gap:35px}.hero-visual{width:95%;margin:auto}.hero-panel{height:400px}.hero-bottom{margin-top:40px}.about,.contact-layout{grid-template-columns:1fr;gap:25px}.categories,.product-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(3,1fr)}.section{padding:75px 0}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}@media(max-width:550px){h1{font-size:40px}h2{font-size:31px}.hero-lead,.lead{font-size:16px}.hero-panel{height:310px}.hero-side{height:135px}.hero-tag{left:-12px;bottom:10px;padding:12px;font-size:11px}.hero-bottom{font-size:9px}.categories,.product-grid,.benefits,.form-grid{grid-template-columns:1fr}.form-grid label.full{grid-column:auto}.section-heading{display:block}.section-heading>p{margin-top:20px}.portfolio-grid{grid-template-columns:1fr 1fr;grid-template-rows:180px 180px}.portfolio-item:first-child{grid-row:auto}.portfolio-item:nth-child(4){grid-column:auto}.steps{grid-template-columns:1fr 1fr}.cta{padding:35px;display:block}.cta .button{margin-top:25px}.contact-form{padding:24px}.footer-bottom{display:block!important}.footer-bottom span{display:block;margin-bottom:8px}.page-intro{padding:50px 0 30px}.dialog-body{padding:25px}.dialog-art{height:240px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}@media(max-width:700px){.wire-b,.orb-b{display:none}}

/* Тёмная тема */
:root{--ink:#edf4ff;--muted:#b1bfd2;--line:#283a50}
body{background:#05070b;color:var(--ink)}
.background{background:radial-gradient(ellipse at 72% 4%,#10223e 0,transparent 43%),#05070b}
.orb{background:radial-gradient(circle at 35% 30%,#29497855,#18305530 40%,transparent 72%)}
.wire{border-color:#6c9bd23d;box-shadow:inset 0 0 60px #36679b1a,0 0 80px #335e9b20}
.hero-lead,.lead,.about-copy>p{color:#b8c7d9}
.eyebrow{color:#a4bddc}.hero-bottom{color:#a6b6cb}.quote-mark{color:#273d56}
.category-card,.product-card,.contact-form,dialog{background:#111c2c;color:var(--ink);border-color:#263a50}
.category-body p,.card-content p,.dialog-body p{color:#b0c0d1}
.category-body>span,.text-link,.text-button,.contact-block a{color:#b0a1ff}
.card-foot{border-color:#2c3d50;color:#c4d3e1}
.portfolio-section,.process-section{background:#0b1421}
.benefit,.step,.contact-block{border-color:#344a63}
.button-outline{background:#142338;color:#edf4ff;border-color:#415673}
.hero-tag{background:#17263a;color:#f0f6ff}.hero-side{border-color:#05070b}
.hero-panel .placeholder{background:linear-gradient(135deg,#56728b,#304c65 55%,#182d43)}
.placeholder{background:linear-gradient(145deg,#4d6b83,#314e65 55%,#1b3043)}
.signature-mark,.contact-accent{background:#1b3048;color:#a2bfe1}.contact-accent b{color:#e0edfa}
.search-label input,.form-grid input,.form-grid select,.form-grid textarea{background:#0b1624;color:#eff6ff;border-color:#3a4e65;color-scheme:dark}
.search-label input::placeholder,.form-grid input::placeholder,.form-grid textarea::placeholder{color:#9caec1}
.filter{background:#132238;color:#c1d0e0;border-color:#3b5066}.filter.active{background:#6749e7;border-color:#8069ef;color:white}
.empty,.result-box{background:#17283d;color:#edf4ff}.result-box p,.result-box span{color:#bdd0e4}.result-box textarea{background:#0b1624;color:#edf4ff;border-color:#40556d}
.dialog-close{background:#eaf2fc;color:#16283d}.gallery-controls{color:#16283d}
.skip{color:#152d4b}.cta{background:#172c4a}
@media(max-width:850px){.nav{background:#15243a;box-shadow:0 15px 35px #0009}}

.hero-connect{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:30px}.hero-contact{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:800;color:#d9e9fa}.hero-contact:hover{color:#b5a6ff}.contact-icon,.max-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #435673;border-radius:50%;color:#b5a5ff;font-size:17px}.hero-max{display:inline-flex;align-items:center;gap:10px;font-size:12px;line-height:1.3;color:#e8f1fb}.hero-max:hover{color:#b5a6ff}.hero-max small{display:block;color:#a6b8cc;font-size:11px;margin-top:2px}.max-icon{font-weight:800;font-size:14px;background:#7156e521;border-color:#7156e577}.hero-max-pending{opacity:.8}.hero-bottom{margin-top:45px}@media(max-width:550px){.hero-connect{gap:16px}.hero-bottom{margin-top:35px}}

/* Пространственная сцена и анимации интерфейса */
.hero{position:relative;isolation:isolate}
.hero-copy,.hero-visual{position:relative;z-index:2}
.metal-scene{position:absolute;z-index:3;pointer-events:none;width:55%;height:80%;right:-14%;top:-9%;opacity:.8;filter:drop-shadow(0 0 22px #3e8bda66);animation:scene-in 1.7s ease both}
.hero-copy{z-index:4}.hero-panel:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#08172777,transparent 55%);pointer-events:none}
.hero-copy>.eyebrow,.hero-copy>h1,.hero-copy>.hero-lead,.hero-copy>.actions,.hero-copy>.hero-connect,.hero-copy>.hero-bottom{animation:hero-in .85s cubic-bezier(.2,.7,.2,1) both}
.hero-copy>h1{animation-delay:.12s}.hero-copy>.hero-lead{animation-delay:.26s}.hero-copy>.actions{animation-delay:.4s}.hero-copy>.hero-connect{animation-delay:.53s}.hero-copy>.hero-bottom{animation-delay:.65s}
.hero-panel,.hero-side{animation:hero-photo 1.25s cubic-bezier(.2,.7,.2,1) .22s both}.hero-side{animation-delay:.44s}.hero-tag{animation:hero-in .9s ease .65s both}
@keyframes hero-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@keyframes hero-photo{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes scene-in{from{opacity:0;transform:translateY(25px) scale(.94)}to{opacity:.8;transform:translateY(0) scale(1)}}
.categories,.product-grid,.portfolio-grid{perspective:1100px}
.category-card,.product-card,.portfolio-item{transform-style:preserve-3d;will-change:auto;transition:transform .4s cubic-bezier(.2,.7,.2,1),box-shadow .4s,border-color .4s,opacity .65s}
.category-card.visible:hover,.product-card.visible:hover,.portfolio-item.visible:hover{transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-6px);border-color:#668dc8;box-shadow:0 22px 55px #0008,0 0 0 1px #70a9ff33,0 0 28px #447ed01c}
.category-card img,.product-card img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.category-card:hover img,.product-card:hover img{transform:scale(1.045)}
.image-button{overflow:hidden}
.category-body>span,.text-link{transition:color .3s,text-shadow .3s}.category-card:hover .category-body>span,.product-card:hover .text-link{color:#d4caff;text-shadow:0 0 15px #9e83ff77}
.button{transition:transform .25s,box-shadow .3s,filter .3s}.button:hover{transform:translateY(-3px) scale(1.025);filter:brightness(1.08);box-shadow:0 14px 35px #7257e65c}.button:active{transform:translateY(0) scale(.97)}
.section-heading h2{transition:transform .8s cubic-bezier(.2,.7,.2,1)}.section-heading.reveal:not(.visible) h2{transform:translateY(15px)}
.portfolio-section,.process-section{position:relative;overflow:hidden}.portfolio-section:before,.process-section:before{content:'';position:absolute;width:480px;height:480px;right:-180px;top:-250px;border:1px solid #74a8db35;border-radius:22%;transform:rotate(36deg);box-shadow:0 0 100px #386ca922,inset 0 0 80px #3c79b21a;pointer-events:none}.process-section:before{right:auto;left:-260px;top:20px;border-radius:50%}
@media(max-width:850px){.metal-scene{width:68%;height:43%;right:-14%;top:42%;opacity:.7}.hero-copy{z-index:4}}
@media(max-width:550px){.metal-scene{width:72%;height:34%;right:-20%;top:52%;filter:drop-shadow(0 0 12px #3e8bda55)}.hero-visual{overflow:visible}}
@media(prefers-reduced-motion:reduce){.hero-copy>.eyebrow,.hero-copy>h1,.hero-copy>.hero-lead,.hero-copy>.actions,.hero-copy>.hero-connect,.hero-copy>.hero-bottom,.hero-panel,.hero-side,.hero-tag,.metal-scene{animation:none!important}.metal-scene{opacity:.8}.category-card.visible:hover,.product-card.visible:hover,.portfolio-item.visible:hover{transform:none}}

/* Красный акцент для основных действий связи */
.header-cta,.cta .button,.hero-contact,a.hero-max,.contact-form>button[type="submit"]{background:linear-gradient(120deg,#d73943,#a9182a);color:#fff;border:1px solid #ed6d74;box-shadow:0 8px 22px #b51e303b;transition:transform .25s,box-shadow .25s,filter .25s}
.hero-contact,a.hero-max{border-radius:8px;padding:10px 15px;min-height:54px}
a.hero-max small{color:#ffe4e5}.hero-contact .contact-icon,a.hero-max .max-icon{color:white;background:#ffffff1a;border-color:#ffffff66}
.header-cta:hover,.cta .button:hover,.hero-contact:hover,a.hero-max:hover,.contact-form>button[type="submit"]:hover{color:#fff;filter:brightness(1.1);transform:translateY(-2px);box-shadow:0 12px 28px #d62f444f}
.header-cta:active,.cta .button:active,.hero-contact:active,a.hero-max:active,.contact-form>button[type="submit"]:active{transform:scale(.97)}
@media(prefers-reduced-motion:reduce){.header-cta:hover,.cta .button:hover,.hero-contact:hover,a.hero-max:hover,.contact-form>button[type="submit"]:hover{transform:none}}
.contact-channels .hero-max { display: inline-flex; }

.dialog-art { height: clamp(240px, 56vh, 600px); background: #0b1421; }
.dialog-art .product-image { object-fit: contain; }
.gallery-controls { position: static; justify-content: center; }
@media (max-width: 380px) {
  .steps { grid-template-columns: 1fr; }
}

/* Первый экран и каталог */
.background { background: radial-gradient(ellipse at 76% 5%, #1a222f 0, transparent 47%), #090a0c; }
.background .orb, .background .wire { opacity: .28; }
.hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: auto; padding-block: clamp(42px, 7vw, 105px); }
.hero h1 { font-family: Manrope, 'Segoe UI', sans-serif; font-size: clamp(24px, 3.5vw, 57px); line-height: 1.1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.hero h1 em { color: #bdcad9; }
.hero .actions { align-items: center; }
.hero .actions .hero-contact { min-height: 48px; padding: 12px 18px; }
.hero .actions .button-outline { background: #1b2027; border-color: #43505f; }
.hero .hero-connect { margin-top: 14px; }
.hero a.hero-max, .hero a.hero-max:hover { background: transparent; border-color: transparent; box-shadow: none; color: #c6d1df; padding: 4px 0; min-height: 44px; transform: none; }
.hero a.hero-max:hover b { text-decoration: underline; }
.hero a.hero-max .max-icon { background: #232932; border-color: #414955; width: 26px; height: 26px; }
.hero-max .max-icon, .hero a.hero-max .max-icon, .hero-max-direct .max-icon { object-fit: contain; border: 0; border-radius: 23%; background: transparent; flex: none; }
.hero-max-direct { min-height: 44px; gap: 8px; padding: 8px 12px; font-size: 13px; }
.hero-max-direct .max-icon { width: 24px; height: 24px; }
.hero-max-direct:disabled { opacity: .8; cursor: default; transform: none; box-shadow: none; filter: none; }
.hero-feature { width: 100%; margin: 0; padding: 0; }
.hero-feature .hero-panel { height: auto; aspect-ratio: 4 / 3; border-radius: 16px; background: #151a20; box-shadow: 0 20px 52px #0007; }
.hero-feature .product-image { object-fit: contain; }
.hero-feature .hero-panel::after { display: none; }
.hero-feature figcaption { margin-top: 10px; font-size: 13px; color: #adb9c9; }
.category-card, .product-card { background: #161b22; border-color: #313b48; }
.portfolio-item > span:last-child { right: 0; left: 0; bottom: 0; padding: 24px 12px 10px; background: linear-gradient(transparent, #090d16ed); font-size: clamp(12px, 1.5vw, 16px); }
.card-detail { display: inline-flex; align-items: center; min-height: 44px; text-align: left; }
.card-detail:hover { text-decoration: underline; }
@media (max-width: 850px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(24px, 7.4vw, 51px); }
}

/* Появление блоков и отклик интерфейса */
@media (prefers-reduced-motion: no-preference) {
  .hero-feature .hero-panel::after {
    display: block;
    inset: 0;
    width: 48%;
    background: linear-gradient(90deg, transparent, #e1edff28, transparent);
    opacity: 0;
    animation: photo-light 1.2s .55s ease-out both;
  }

  .hero-feature figcaption {
    animation: hero-in .65s .55s both;
  }

  @keyframes photo-light {
    from { transform: translateX(-110%) skewX(-18deg); opacity: 0; }
    35%, 65% { opacity: 1; }
    to { transform: translateX(240%) skewX(-18deg); opacity: 0; }
  }

  :is(.categories, .product-grid, .portfolio-grid, .benefits, .steps) > .reveal.visible:not(:hover) {
    transition-delay: var(--reveal-offset, 0s);
  }

  :is(.categories, .product-grid, .portfolio-grid, .benefits, .steps) > .reveal:nth-child(3n + 2) {
    --reveal-offset: 70ms;
  }

  :is(.categories, .product-grid, .portfolio-grid, .benefits, .steps) > .reveal:nth-child(3n) {
    --reveal-offset: 140ms;
  }

  .reveal:not(.visible):focus-within { opacity: 1; transform: none; transition-delay: 0s; }

  dialog[open] { animation: gallery-in .28s cubic-bezier(.2, .7, .2, 1) both; }
  dialog[open]::backdrop { animation: backdrop-in .22s ease-out both; }

  @keyframes gallery-in {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  @keyframes backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

/* Типографика по образцу сайта «Металл Строй» */
body, .brand, .brand small, h2, h3, .hero-panel-overlay strong, .footer-grid h3, .contact-accent b { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; }
h1, .hero h1 { font-family: Montserrat, sans-serif; font-weight: 800; letter-spacing: normal; }
.hero-lead { font-family: 'Open Sans', sans-serif; }

.footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-legal ul { display: flex; flex-wrap: wrap; column-gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: #c4d3e1; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal + .footer-bottom { margin-top: 0; }
.legal-page { max-width: 780px; padding-block: 40px 16px; }
.legal-page h1 { margin-block: 30px 16px; font-size: clamp(2rem, 5vw, 3rem); overflow-wrap: anywhere; }
.legal-page h2 { margin-block: 0 20px; font-size: clamp(1.375rem, 3.5vw, 2rem); letter-spacing: -.02em; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page a { color: #d5caff; text-decoration: underline; text-underline-offset: 3px; }
.legal-page article { margin-block: 44px; padding-top: 26px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-page nav ul { padding-inline-start: 1.25rem; }
.legal-page nav a { display: inline-block; padding-block: 7px; }

.hero { row-gap: 24px; padding-top: 20px; }
.hero > h1 { grid-column: 1 / -1; position: relative; z-index: 4; margin: 0; font-size: clamp(21px, 6vw, 26px); overflow-wrap: anywhere; }
@media (min-width: 851px) {
  .hero > h1 { font-size: clamp(26px, 3.4vw, 45px); }
}

.demo-notice{position:relative;z-index:1;margin:0;padding:10px 16px;text-align:center;font-size:.875rem;line-height:1.45;font-weight:650;background:#202945;color:#f2f5ff;border-bottom:1px solid #49577b;overflow-wrap:anywhere}
