:root{--red:#b5121b;--ink:#111;--muted:#6d6d6d;--sand:#eeeae4;}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:Manrope,Arial,sans-serif;color:var(--ink);background:#fff;}
img{display:block;width:100%;}
button,a{font:inherit;}
.header{position:fixed;z-index:50;top:0;left:0;right:0;}
.header nav a,.head-phone{color:#111;text-decoration:none;font-size:13px;}
.head-phone{font-weight:700;}
.menu{display:none;border:0;background:none;font-size:24px;}
.hero{height:100vh;min-height:720px;position:relative;color:#fff;}
.hero>img{height:100%;object-fit:cover;}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.22) 65%,rgba(0,0,0,.06));}
.hero-content{position:absolute;left:7vw;bottom:10vh;max-width:780px;}
@media(min-width:901px){.hero-content{bottom:clamp(140px,22vh,210px);}}
.eyebrow{display:block;text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:700;margin-bottom:22px;}
.eyebrow.dark{color:var(--red);}
h1,h2,h3,p{margin-top:0;}
h1{font-size:clamp(40px,4.8vw,72px);line-height:1.02;letter-spacing:-.045em;font-weight:400;margin-bottom:26px;}
h2{font-size:clamp(36px,4.5vw,66px);line-height:1.04;letter-spacing:-.045em;font-weight:400;margin-bottom:24px;}
.hero p{font-size:19px;line-height:1.6;max-width:700px;}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px;}
button{border:0;background:var(--red);color:#fff;padding:17px 24px;cursor:pointer;font-weight:700;}
button.ghost{background:transparent;border:1px solid rgba(255,255,255,.65);}
.hero-facts{display:flex;gap:30px;margin-top:44px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;}
.section{padding:120px 7vw;}
.narrow{max-width:900px;margin:auto;text-align:center;}
.narrow p,.section-head+p{font-size:18px;line-height:1.7;color:var(--muted);}
.section-head{max-width:900px;margin-bottom:55px;}
.series-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.series-grid article{background:#f3f2ef;}
.series-grid article>img{height:360px;object-fit:cover;}
.series-grid article>div{padding:28px;}
.series-grid b{color:var(--red);font-size:12px;}
.series-grid h3{font-size:34px;font-weight:400;margin:10px 0;}
.series-grid p{color:var(--muted);line-height:1.7;}
.series-grid button{padding:0;background:none;color:var(--red);}
.gallery{background:#101010;color:#fff;overflow:hidden;}
.section-head.light{color:#fff;}
.gallery-track{display:flex;gap:16px;overflow:auto;padding-bottom:12px;}
.gallery-track img{max-width:760px;object-fit:cover;}
.tech{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:6vw;}
.tech-copy p{color:var(--muted);line-height:1.8;font-size:17px;}
.tech-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:40px;}
.tech-facts strong{display:block;font-size:27px;}
.tech-facts span{font-size:12px;color:var(--muted);}
.showroom{position:relative;min-height:650px;color:#fff;display:flex;align-items:center;overflow:hidden;}
.showroom>img{position:absolute;inset:0;height:100%;object-fit:cover;}
.showroom:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.2));}
.showroom-copy{position:relative;z-index:2;max-width:760px;}
.lead-form{display:grid;gap:12px;}
.lead-form input,.lead-form select{width:100%;padding:17px;border:1px solid #ddd;background:#fff;font:inherit;}
.lead-form label{font-size:11px;display:flex;gap:8px;align-items:flex-start;}
.lead-form label input{width:auto;}
footer{padding:55px 7vw;background:#0c0c0c;color:#aaa;display:grid;grid-template-columns:1.2fr 1fr 1.2fr 1fr;gap:30px;font-size:12px;line-height:1.7;}
footer a{color:#fff;text-decoration:none;display:block;}
.modal{position:fixed;z-index:100;inset:0;background:rgba(0,0,0,.75);place-items:center;padding:20px;}
.modal.open{display:grid;}
.modal-card{background:#fff;padding:50px;max-width:560px;width:100%;position:relative;}
.modal-card h2{font-size:42px;}
.modal-card .close{position:absolute;right:16px;top:12px;background:none;color:#111;font-size:32px;padding:0;}
@media (max-width:900px){.header nav,.head-phone{display:none;}.menu{display:block;margin-left:auto;}.hero{min-height:650px;}.hero-content{left:24px;right:24px;bottom:55px;}.hero-facts{gap:12px;flex-direction:column;}.section{padding:80px 22px;}.series-grid{grid-template-columns:1fr;}.tech{grid-template-columns:1fr;}.tech-facts{grid-template-columns:1fr;}.showroom{min-height:620px;}footer{grid-template-columns:1fr 1fr;}.modal-card{padding:40px 24px;}.modal-card h2{font-size:34px;}.hero h1{font-size:clamp(36px,10vw,50px);line-height:1.04;}}
:root{--ease:cubic-bezier(.22,.61,.36,1);--ease-out:cubic-bezier(.16,1,.3,1);}
body{overflow-x:hidden;}
.header{transition:height .35s var(--ease),background .35s,border-color .35s,box-shadow .35s,transform .35s;}
.header nav a,.head-phone{position:relative;transition:color .25s;}
.header nav a:after{content:"";position:absolute;left:0;right:0;height:2px;background:var(--red);transform:scaleX(0);transform-origin:right;transition:transform .35s var(--ease);}
.header nav a:hover{color:var(--red);}
.header nav a:hover:after{transform:scaleX(1);transform-origin:left;}
.hero{overflow:hidden;}
.hero>img{animation:heroZoom 9s var(--ease-out) both;will-change:transform;}
@keyframes heroZoom{from{transform:scale(1.075)}to{transform:scale(1)}}
.hero-shade{animation:heroShade 1.2s ease both;}
@keyframes heroShade{from{opacity:0}to{opacity:1}}
.hero-content>*{opacity:0;transform:translateY(28px);animation:heroRise .85s var(--ease-out) forwards;}
.hero-content>.eyebrow{animation-delay:.15s;}
.hero-content>h1{animation-delay:.28s;}
.hero-content>p{animation-delay:.4s;}
.hero-content>.actions{animation-delay:.52s;}
.hero-content>.hero-facts{animation-delay:.66s;}
@keyframes heroRise{to{opacity:1;transform:none}}
button{position:relative;overflow:hidden;transition:transform .25s var(--ease),background .25s,box-shadow .25s,color .25s,border-color .25s;}
button:not(.menu):not(.close):before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.24) 50%,transparent 80%);transform:translateX(-130%);transition:transform .7s var(--ease);}
button:not(.menu):not(.close):hover:before{transform:translateX(130%);}
button:not(.menu):not(.close):hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.16);}
button:not(.menu):not(.close):active{transform:translateY(0);}
.reveal{opacity:0;transform:translateY(46px);transition:opacity .78s var(--ease),transform .78s var(--ease);}
.reveal.from-left{transform:translateX(-55px);}
.reveal.from-right{transform:translateX(55px);}
.reveal.in{opacity:1;transform:none;}
.reveal-group>*{opacity:0;transform:translateY(35px);transition:opacity .68s var(--ease),transform .68s var(--ease);}
.reveal-group.in>*{opacity:1;transform:none;}
.reveal-group.in>*:nth-child(1){transition-delay:.02s;}
.reveal-group.in>*:nth-child(2){transition-delay:.11s;}
.reveal-group.in>*:nth-child(3){transition-delay:.20s;}
.reveal-group.in>*:nth-child(4){transition-delay:.29s;}
.reveal-group.in>*:nth-child(5){transition-delay:.38s;}
.series-grid article{transition:transform .5s var(--ease),box-shadow .5s var(--ease),background .35s;will-change:transform;}
.series-grid article{overflow:hidden;}
.series-grid article>img{transition:transform .75s var(--ease),filter .45s;}
.series-grid article:hover{transform:translateY(-10px);box-shadow:0 24px 55px rgba(0,0,0,.13);}
.series-grid article:hover>img{transform:scale(1.055);filter:contrast(1.03);}
.series-grid article button{transition:letter-spacing .35s,color .25s;}
.series-grid article:hover button{letter-spacing:.06em;}
.showroom{overflow:hidden;}
.showroom>img{transition:transform 1.1s var(--ease);will-change:transform;}
.showroom:hover>img{transform:scale(1.045);}
.gallery-track{scrollbar-width:none;scroll-behavior:smooth;user-select:none;}
.gallery-track::-webkit-scrollbar{display:none;}
.gallery-track.dragging{cursor:grabbing;scroll-behavior:auto;}
.gallery-track img{flex:0 0 auto;transition:transform .65s var(--ease),filter .4s,opacity .4s;will-change:transform;}
.gallery-track img:hover{transform:scale(.985);filter:brightness(1.07);}
.gallery-track:after{content:"Перетяните, чтобы посмотреть больше";flex:0 0 220px;place-items:center;text-align:center;color:#888;font-size:11px;letter-spacing:.12em;text-transform:uppercase;border:1px solid #333;}
.tech-img img{transition:transform .8s var(--ease),filter .5s;}
.tech:hover .tech-img img{transform:scale(1.035);filter:drop-shadow(0 24px 28px rgba(0,0,0,.15));}
.tech-facts>div{position:relative;padding-top:16px;}
.tech-facts>div:before{content:"";position:absolute;left:0;top:0;width:34px;height:2px;background:var(--red);transition:width .45s var(--ease);}
.tech-facts>div:hover:before{width:75%;}
.modal{display:grid;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .35s,visibility .35s;}
.modal.open{opacity:1;visibility:visible;pointer-events:auto;}
.modal-card{transform:translateY(35px) scale(.97);opacity:0;transition:transform .45s var(--ease-out),opacity .35s;}
.modal.open .modal-card{transform:none;opacity:1;}
.close{transition:transform .3s,color .3s;}
.close:hover{transform:rotate(90deg);color:var(--red);}
@media (max-width:900px){.header.scrolled{height:64px;}.header nav.mobile-open{animation:menuDrop .35s var(--ease-out) both;}@keyframes menuDrop{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:none}}.gallery-track:after{flex-basis:150px;}.reveal.from-left,.reveal.from-right{transform:translateY(35px);}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}.hero>img,.hero-content>*,.hero-shade{animation:none!important;}.reveal,.reveal-group>*,.series-grid article,.showroom>img{transition:none!important;transform:none!important;opacity:1!important;}}
.recognition{background:#f7f6f3;color:var(--ink);padding-left:0;padding-right:0;overflow:hidden;}
.recognition-head{max-width:1180px;margin:0 auto;padding:0 7vw;text-align:center;}
.recognition-head .eyebrow{color:var(--red);}
.recognition-head h2{max-width:980px;margin:14px auto 0;font-size:clamp(34px,4.4vw,64px);font-weight:300;line-height:1.08;letter-spacing:-.035em;}
.awards-ticker{margin-top:52px;overflow:hidden;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%);mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%);}
.awards-ticker:hover .awards-track{animation-play-state:paused;}
.awards-track{display:flex;align-items:center;gap:64px;width:max-content;animation:awardsScroll 30s linear infinite;will-change:transform;}
@keyframes awardsScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.award-img{width:auto;height:80px;max-width:190px;object-fit:contain;flex-shrink:0;filter:grayscale(30%);opacity:.58;transition:opacity .3s,filter .3s,transform .3s;}
.award-img:hover{filter:none;opacity:1;transform:scale(1.05);}
@media (max-width:900px){.recognition-head{padding:0 22px;}.recognition-head h2 br{display:none;}.awards-ticker{margin-top:38px;}.awards-track{gap:42px;}.award-img{height:62px;max-width:145px;}}
@media (prefers-reduced-motion:reduce){.awards-track{animation:none;flex-wrap:wrap;justify-content:center;width:auto;padding:0 22px;}.awards-track .award-img[aria-hidden="true"]{display:none;}}
html:not(.pirnar-js-ready) .reveal,html:not(.pirnar-js-ready) .reveal-group>*{opacity:1!important;transform:none!important;}
.awards-ticker{min-height:82px;}
.header{column-gap:32px;}
.header>.brand{min-width:0;white-space:nowrap;}
.header>.brand img{width:104px;height:52px;object-fit:contain;flex:0 0 auto;}
.header>.brand span{display:block;}
.header nav{margin-left:0;}
.gallery-slider{position:relative;}
.gallery-track{overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:0;padding:0 0 14px;touch-action:pan-x;cursor:grab;}
.gallery-track img{width:min(76vw,920px);height:clamp(360px,52vw,600px);scroll-snap-align:start;scroll-snap-stop:always;border-radius:2px;}
.gallery-track:after{display:none;}
.gallery-arrow{position:absolute;z-index:5;top:50%;width:54px;height:54px;padding:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#111;font-size:38px;line-height:1;box-shadow:0 12px 34px rgba(0,0,0,.28);transform:translateY(-50%);transition:background .25s,color .25s,transform .25s,opacity .25s;}
.gallery-arrow:hover{background:var(--red);color:#fff;transform:translateY(-50%) scale(1.06);}
.gallery-prev{left:18px;}
.gallery-next{right:18px;}
.gallery-arrow:disabled{opacity:.35;cursor:default;}
.gallery-dots{display:flex;justify-content:center;gap:9px;margin-top:22px;}
@media (max-width:1100px){.header{column-gap:20px;}}
@media (max-width:900px){.header{display:flex;height:70px;padding:0 18px;gap:14px;}.header>.brand{white-space:normal;gap:10px;}.header>.brand img{width:88px;height:44px;}.header>.brand span{font-size:9px;line-height:1.25;}.header .menu{margin-left:auto;}.gallery{padding-left:0;padding-right:0;}.gallery .section-head{padding-left:22px;padding-right:22px;}.gallery-track{gap:10px;padding-left:22px;padding-right:22px;scroll-padding-left:22px;}.gallery-track img{width:calc(100vw - 44px);height:62vw;min-height:300px;max-height:470px;}.gallery-arrow{width:44px;height:44px;font-size:32px;background:rgba(255,255,255,.9);}.gallery-prev{left:8px;}.gallery-next{right:8px;}.gallery-dots{margin-top:16px;}}
@media (max-width:520px){.header>.brand span{display:none;}.gallery-track img{height:72vw;min-height:270px;}.gallery-arrow{top:48%;width:40px;height:40px;}}
.header{height:88px;padding:0 clamp(18px,4vw,30px) 0 clamp(22px,4vw,32px);background:rgba(247,245,242,.96);border-bottom:1px solid #e4ddd4;backdrop-filter:blur(10px);display:grid;align-items:stretch;gap:0;overflow:visible;}
.header.scrolled{height:76px;background:rgba(247,245,242,.985);border-color:#ddd4ca;box-shadow:0 10px 28px rgba(0,0,0,.08);}
.brand{display:flex;align-items:center;gap:18px;color:#6a6661;text-decoration:none;font-size:10px;line-height:1.2;letter-spacing:.16em;text-transform:uppercase;font-weight:700;white-space:nowrap;}
.brand img{width:auto;height:50px;object-fit:contain;flex:0 0 auto;}
.brand span{display:block;padding-left:18px;border-left:1px solid #dad3ca;}
.header nav{display:flex;align-items:center;justify-content:center;gap:34px;justify-self:center;min-width:0;padding:0 22px;}
.header nav a{color:#3a3a3a;text-decoration:none;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.12em;}
.header nav a:after{bottom:-18px;}
.header-cta{align-self:stretch;display:flex;align-items:center;justify-content:center;min-width:146px;padding:0 22px;background:var(--red);color:#fff;border:0;text-align:center;font-size:14px;font-weight:700;line-height:1.2;letter-spacing:0;}
.header-cta:hover{transform:none;box-shadow:none;background:#ca1620;}
.header-cta:before{display:none;}
.header .menu{display:none;align-self:center;justify-self:end;margin-left:14px;border:0;background:none;color:#2a2a2a;font-size:28px;padding:0 0 0 12px;line-height:1;}
main{padding-top:0;}
@media (max-width:1280px){.header nav{gap:24px;padding:0 18px;}.header nav a{font-size:12px;}.header-cta{min-width:132px;padding:0 18px;font-size:13px;}}
@media (max-width:1100px){.header{padding-left:20px;}.brand img{height:46px;}.brand span{font-size:9px;padding-left:14px;}.header nav{gap:18px;padding:0 14px;}.header nav a{font-size:11px;letter-spacing:.1em;}.header-cta{min-width:122px;}}
@media (max-width:900px){.header,.header.scrolled{display:grid;height:72px;padding:0 14px 0 16px;align-items:center;}.brand{gap:10px;white-space:normal;}.brand img{height:40px;}.brand span{font-size:8px;padding-left:10px;letter-spacing:.12em;}.header .menu{display:block;position:relative;z-index:12;}.header nav{display:none;}.header nav.mobile-open{display:flex;position:absolute;top:72px;left:0;right:0;padding:24px 22px;background:rgba(247,245,242,.99);box-shadow:0 18px 30px rgba(0,0,0,.12);flex-direction:column;gap:18px;z-index:11;border-bottom:1px solid #e7ded3;}.header.scrolled nav.mobile-open{top:72px;}.header nav.mobile-open a{font-size:13px;padding:2px 0;}}
@media (max-width:520px){.brand span{display:block;font-size:7px;padding-left:8px;}.brand img{height:36px;}}
.header{grid-template-columns:auto 1fr auto auto auto;}
.header .head-phone{display:flex;align-items:center;justify-content:center;padding:0 22px;color:#222;text-decoration:none;font-size:14px;font-weight:700;white-space:nowrap;border-left:1px solid #ddd4ca;}
.header .head-phone:hover{color:var(--red);}
@media (max-width:1280px){.header .head-phone{padding:0 16px;font-size:13px;}}
@media (max-width:1100px){.header{grid-template-columns:auto 1fr auto auto auto;}.header .head-phone{display:flex;padding:0 12px;font-size:12px;}}
@media (max-width:900px){.header,.header.scrolled{grid-template-columns:1fr auto auto;}.header .head-phone{display:flex;border-left:0;padding:0 8px;font-size:12px;}.header-cta{display:none;}}
@media (max-width:560px){.header .head-phone{font-size:11px;padding:0 4px;}.brand span{display:none;}}
.tech-video{width:100%;height:auto;display:block;}
.tech-badges{display:flex;align-items:center;gap:24px;margin-top:34px;flex-wrap:wrap;}
.tech-badges img{width:auto;height:72px;max-width:145px;object-fit:contain;}
.tech-badges img:last-child{height:76px;}
.security{display:grid;grid-template-columns:.9fr 1.1fr;background:#111;color:#fff;padding:0;}
.security-copy{padding:105px 7vw;}
.security-copy p{color:#c8c8c8;line-height:1.8;font-size:17px;}
.security-list{grid-template-columns:1fr 1fr;background:#3b3b3b;}
.security-list span{background:#111;padding:16px;font-size:13px;}
.security-visual{border:0;}
.finishes{background:#111;color:#fff;}
.finish-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.finish-grid article{background:#191919;}
.finish-grid article>img{height:330px;object-fit:cover;min-height:330px;}
.finish-grid article>div:last-child{padding:26px;}
.finish-grid h3{font-size:27px;font-weight:400;margin:0 0 10px;}
.finish-grid p{color:#bdbdbd;line-height:1.7;margin:0;}
.series-grid-four{grid-template-columns:repeat(4,1fr);}
.series-grid-four article>img{height:310px;}
.series-grid-four article>div{padding:24px;}
.series-grid-four h3{font-size:30px;}
.care{background:#eeeae4;}
.care-copy{max-width:1280px;margin:0 auto;}
.care-copy>p{max-width:790px;color:var(--muted);font-size:18px;line-height:1.75;}
.care-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#d1cbc3;margin-top:50px;}
.care-grid article{background:#eeeae4;padding:30px 24px;min-height:230px;}
.care-grid b{color:var(--red);font-size:12px;}
.care-grid h3{font-size:22px;font-weight:500;margin:42px 0 12px;}
.care-grid p{color:var(--muted);font-size:14px;line-height:1.65;}
@media (max-width:1100px){.series-grid-four{grid-template-columns:repeat(2,1fr);}.care-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:900px){.finish-grid{grid-template-columns:1fr;}.security{grid-template-columns:1fr;}.security-copy{padding:70px 24px;}.security-visual{min-height:400px;}.tech-badges{gap:16px;}.tech-badges img{height:58px;}.series-grid-four{grid-template-columns:repeat(2,1fr);}.series-grid-four article>img{height:260px;}.care{padding:80px 22px;}.care-grid{grid-template-columns:1fr;}.care-grid article{min-height:auto;}
}
@media (max-width:520px){.series-grid-four{gap:10px;}.series-grid-four article>div{padding:17px;}.series-grid-four h3{font-size:24px;}.series-grid-four p{font-size:13px;}.series-grid-four article>img{height:220px;}.tech-badges img{height:48px;}.finish-grid article>img{height:260px;min-height:260px;}}
.security-list{display:flex;flex-direction:column;gap:0;margin-top:34px;border-top:1px solid rgba(255,255,255,.2);}
.security-tab{appearance:none;width:100%;display:flex;align-items:center;justify-content:space-between;padding:18px 0;border:0;border-bottom:1px solid rgba(255,255,255,.18);background:transparent;color:rgba(255,255,255,.64);font:inherit;font-size:16px;line-height:1.35;text-align:left;cursor:pointer;transition:color .25s ease,padding-left .25s ease;}
.security-tab::after{content:"↗";font-size:18px;opacity:.35;transition:transform .25s ease,opacity .25s ease;}
.security-tab:hover,.security-tab.active{color:#fff;padding-left:10px;}
.security-tab.active::after{opacity:1;transform:translate(4px,-2px);}
.security-visual{min-height:650px;position:relative;overflow:hidden;background:#181818;display:flex;align-items:center;justify-content:center;}
.security-visual img{width:100%;height:100%;min-height:650px;object-fit:cover;display:block;transition:opacity .22s ease,transform .45s ease;transform:scale(1.001);}
.security-visual img.changing{opacity:.18;transform:scale(1.018);}
@media (min-width:901px){.security{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    height:620px;
    min-height:620px;
    max-height:620px;
    overflow:hidden;
    align-items:stretch;
  }.security-copy{
    padding:52px 5.5vw 46px;
    min-width:0;
    overflow:hidden;
  }.security-copy h2{
    margin-bottom:18px;
  }.security-copy p{
    margin-top:0;
    margin-bottom:0;
    font-size:15px;
    line-height:1.6;
  }.security-list{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:1px;
    margin-top:24px;
    border:0;
    background:rgba(255,255,255,.15);
  }.security-tab{
    min-height:50px;
    width:100%;
    padding:11px 14px;
    border:0;
    background:#111;
    color:rgba(255,255,255,.68);
    font-size:13px;
    line-height:1.25;
  }.security-tab:hover,.security-tab.active{
    padding-left:18px;
    background:#181818;
    color:#fff;
  }.security-tab::after{
    font-size:14px;
  }.security-visual{
    height:620px;
    min-height:620px;
    max-height:620px;
    padding:42px;
    box-sizing:border-box;
    overflow:hidden;
    background:#181818;
    display:flex;
    align-items:center;
    justify-content:center;
  }.security-visual img{
    width:auto;
    height:auto;
    min-height:0;
    max-width:min(100%,500px);
    max-height:536px;
    object-fit:contain;
    background:transparent;
  }}
@media (max-width:900px){.security{height:auto;min-height:0;max-height:none;overflow:visible;}.security-copy{padding:58px 24px 42px;}.security-list{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin-top:24px;border:0;background:rgba(255,255,255,.15);}.security-tab{min-height:50px;padding:11px 12px;border:0;background:#111;font-size:13px;}.security-tab:hover,.security-tab.active{padding-left:15px;background:#181818;}.security-visual{height:360px;min-height:360px;max-height:360px;padding:22px;box-sizing:border-box;}.security-visual img{width:auto;height:auto;min-height:0;max-width:100%;max-height:316px;object-fit:contain;background:transparent;}}
@media (max-width:520px){.security-copy{padding:50px 18px 36px;}.security-list{grid-template-columns:1fr 1fr;}.security-tab{min-height:48px;padding:9px 10px;font-size:12px;}.security-tab:hover,.security-tab.active{padding-left:12px;}.security-visual{height:300px;min-height:300px;max-height:300px;padding:16px;}.security-visual img{max-height:268px;}}
.core-fillings{background:#f5f2ef;}
.core-fillings .section-head{max-width:920px;text-align:center;}
.core-solutions{display:grid;}
.core-panels{display:flex;flex-direction:column;}
.core-item{background:#ece9e5;border:1px solid #e3ddd6;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease;color:var(--ink);}
.core-item.active{background:linear-gradient(180deg,#e10009 0%,#9a0003 100%);border-color:#9b0b10;box-shadow:0 18px 40px rgba(131,10,14,.18);color:#fff;}
.core-trigger{appearance:none;width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:left;}
.core-trigger-title{line-height:1.15;font-weight:700;letter-spacing:-.02em;}
.core-trigger-icon{font-size:38px;line-height:1;font-weight:300;color:var(--red);transition:transform .25s ease,color .25s ease;}
.core-item.active .core-trigger-icon{color:#fff;transform:rotate(45deg);}
.core-body{display:none;}
.core-item.active .core-body{display:block;}
.core-body p{margin:0;color:inherit;opacity:.96;}
.core-visual img{transition:opacity .25s ease,transform .45s ease;}
.core-visual img.changing{opacity:.18;transform:scale(1.03);}
@media (max-width:1100px){.core-visual img{height:auto;max-height:320px;object-fit:contain;}}
@media (max-width:700px){.core-fillings .section-head{margin-bottom:28px;}.core-panels{gap:12px;}.core-trigger-icon{font-size:30px;}.core-visual img{height:auto;max-height:230px;object-fit:contain;}}
@media (max-width:1100px){.core-visual{min-height:0 !important;}}
@media (max-width:700px){.core-visual{min-height:0 !important;padding:0 !important;}}
.core-visual{background:transparent !important;border-radius:0 !important;min-height:0 !important;padding:0 !important;overflow:visible !important;}
.core-visual img{display:block;height:auto !important;max-height:none !important;object-fit:contain !important;border-radius:0 !important;box-shadow:none !important;background:transparent !important;}
@media (max-width:1280px){.core-visual{max-width:500px !important;}}
@media (max-width:1100px){.core-visual{padding:0 !important;}}
@media (max-width:700px){.core-visual{max-width:100% !important;}}
.core-fillings .section-head{margin:0 auto 34px !important;}
.core-panels{padding-top:0 !important;}
.core-visual{align-self:start !important;margin-top:0 !important;}
@media (max-width:1100px){.core-fillings .section-head{margin-bottom:28px !important;}.core-visual{order:-1;}}
.core-trigger{padding:18px 20px !important;}
.core-trigger-title{font-size:21px !important;}
.core-body{padding:0 20px 18px !important;}
.core-body p{max-width:500px !important;font-size:16px !important;line-height:1.52 !important;}
@media (max-width:700px){.core-trigger{padding:16px 16px !important;}.core-trigger-title{font-size:18px !important;}.core-body{padding:0 16px 16px !important;}.core-body p{font-size:15px !important;line-height:1.45 !important;}}
.core-panels{gap:8px !important;}
@media (max-width:1100px){.core-panels{gap:8px !important;}}
@media (max-width:1280px){.core-solutions{grid-template-columns:minmax(0,1fr) 335px !important;}.core-visual,.core-visual img{width:335px !important;max-width:335px !important;}}
@media (max-width:1100px){.core-visual{width:320px !important;max-width:100% !important;justify-self:center !important;}}
@media (max-width:700px){.core-visual,.core-visual img{width:100% !important;max-width:100% !important;}}
.core-solutions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;gap:18px !important;align-items:start !important;}
.core-panels{max-width:100% !important;}
.core-visual{width:100% !important;max-width:100% !important;justify-self:start !important;display:flex !important;justify-content:center !important;align-items:flex-start !important;}
.core-visual img{width:355px !important;max-width:355px !important;}
@media (max-width:1280px){.core-solutions{gap:16px !important;}.core-visual img{width:335px !important;max-width:335px !important;}}
@media (max-width:1100px){.core-solutions{grid-template-columns:1fr !important;gap:12px !important;}.core-visual{justify-content:center !important;}.core-visual img{width:320px !important;max-width:320px !important;}}
@media (max-width:700px){.core-visual img{width:100% !important;max-width:100% !important;}}
.core-fillings--clean{
  background:#f5f2ef;
}
.core-fillings--clean .section-head{
  
  margin:0 auto 34px !important;
  text-align:center !important;
}
.core-fillings--clean .section-head .eyebrow{
  margin-bottom:10px;
}
.core-fillings--clean .section-head h2{
  
  margin:0 auto 18px;
}
.core-fillings--clean .section-head p{
  max-width:760px;
  margin:0 auto;
  color:var(--muted);
  line-height:1.55;
}
.core-fillings--clean .core-solutions{
  max-width:1120px;
  margin:0 auto;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 506px !important;
  gap:16px !important;
  align-items:start !important;
}
.core-fillings--clean .core-panels{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  max-width:100% !important;
}
.core-fillings--clean .core-item{
  background:#ece9e5;
  border:1px solid #dfdbd4;
  color:var(--ink);
  box-shadow:none;
  transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,color .25s ease;
}
.core-fillings--clean .core-item.active{
  background:linear-gradient(180deg,#e4000b 0%,#a90005 100%);
  border-color:#a10007;
  color:#fff;
  box-shadow:0 14px 28px rgba(131,10,14,.12);
}
.core-fillings--clean .core-trigger{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px 22px !important;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.core-fillings--clean .core-trigger-title{
  font-size:21px !important;
  line-height:1.2;
  font-weight:700;
  letter-spacing:-.02em;
}
.core-fillings--clean .core-trigger-icon{
  font-size:40px !important;
  line-height:1;
  font-weight:300;
  color:var(--red);
  transition:transform .25s ease,color .25s ease;
  flex:0 0 auto;
}
.core-fillings--clean .core-item.active .core-trigger-icon{
  color:#fff;
  transform:rotate(45deg);
}
.core-fillings--clean .core-body{
  display:none;
  padding:0 22px 22px !important;
}
.core-fillings--clean .core-item.active .core-body{
  display:block;
}
.core-fillings--clean .core-body p{
  margin:0;
  max-width:540px !important;
  color:inherit;
  font-size:16px !important;
  line-height:1.55 !important;
}
.core-fillings--clean .core-visual{
  width:506px !important;
  max-width:506px !important;
  min-height:506px !important;
  padding:0 !important;
  margin:0 !important;
  background:linear-gradient(180deg,#191919 0%,#7b8181 100%) !important;
  border-radius:4px !important;
  
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  justify-self:start !important;
  align-self:start !important;
}
.core-fillings--clean .core-visual img{
  display:block !important;

  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  
}
.core-fillings--clean .core-visual img.changing{
  opacity:.18;
  transform:scale(1.03);
}
@media (max-width: 1280px){.core-fillings--clean .core-solutions{
    max-width:1040px;
    grid-template-columns:minmax(0,1fr) 460px !important;
    gap:14px !important;
  }.core-fillings--clean .core-visual{
    width:460px !important;
    max-width:460px !important;
    min-height:460px !important;
  }}
@media (max-width: 1100px){.core-fillings--clean .section-head{
    margin-bottom:28px !important;
  }.core-fillings--clean .core-solutions{
    grid-template-columns:1fr !important;
    gap:16px !important;
    max-width:680px;
  }.core-fillings--clean .core-visual{
    order:-1;
    width:440px !important;
    max-width:100% !important;
    min-height:440px !important;
    justify-self:center !important;
  }}
@media (max-width: 700px){.core-fillings--clean .section-head h2{
    margin-bottom:14px;
  }.core-fillings--clean .core-panels{
    gap:10px !important;
  }.core-fillings--clean .core-trigger{
    padding:18px 18px !important;
  }.core-fillings--clean .core-trigger-title{
    font-size:18px !important;
  }.core-fillings--clean .core-trigger-icon{
    font-size:32px !important;
  }.core-fillings--clean .core-body{
    padding:0 18px 18px !important;
  }.core-fillings--clean .core-body p{
    font-size:15px !important;
    line-height:1.48 !important;
  }.core-fillings--clean .core-visual{
    width:100% !important;
    min-height:320px !important;
  }}
.core-fillings--clean .core-visual{
  overflow:hidden !important;
}
.core-fillings--clean .core-visual img{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  margin:0 !important;
}
@media (max-width: 1280px){.core-fillings--clean .core-visual img{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
  }}
@media (max-width: 1100px){.core-fillings--clean .core-visual img{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
  }}
@media (max-width: 700px){.core-fillings--clean .core-visual img{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
  }}
.core-fillings--clean .section-head{max-width:1180px !important;}
.core-fillings--clean .section-head h2{max-width:none !important;}
.core-fillings--clean .core-title-line{white-space:nowrap;}
@media (max-width:900px){.core-fillings--clean .core-title-line{white-space:normal;}}

.legal-page{margin:0;background:#f3f1ee;color:#111;font-family:Manrope,Arial,sans-serif;}
.legal-topbar{min-height:82px;padding:0 7vw;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f7f5f2;border-bottom:1px solid #e4ddd4;}
.legal-brand{display:flex;align-items:center;gap:16px;color:#6a6661;text-decoration:none;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;}
.legal-brand img{width:auto;height:46px;}
.legal-back{color:#111;text-decoration:none;font-size:13px;font-weight:700;border-bottom:1px solid #aaa;padding-bottom:3px;}
.legal-main{padding:72px 7vw 90px;}
.legal-shell{max-width:960px;margin:0 auto;background:#fff;padding:64px clamp(24px,5vw,72px);box-shadow:0 18px 60px rgba(0,0,0,.06);}
.legal-shell h1{max-width:800px;font-size:clamp(34px,4.2vw,58px);line-height:1.06;font-weight:400;letter-spacing:-.04em;margin:0 0 42px;}
.legal-content{font-size:15px;line-height:1.78;color:#333;overflow-wrap:anywhere;}
.legal-content table{width:100%;border-collapse:collapse;margin:18px 0;}
.legal-content td{padding:10px 12px;border:1px solid #ddd;vertical-align:top;}
.legal-content ul{padding-left:22px;}
.legal-content a{color:#8f0f16;}
.legal-footer{padding:34px 7vw;background:#0c0c0c;color:#aaa;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:12px;line-height:1.7;}
.legal-footer a{color:#fff;text-decoration:none;}
@media (max-width:700px){.legal-topbar{min-height:70px;padding:0 18px;}.legal-brand span{display:none;}.legal-brand img{height:38px;}.legal-back{font-size:12px;}.legal-main{padding:34px 16px 54px;}.legal-shell{padding:34px 20px;}.legal-shell h1{margin-bottom:30px;}.legal-content{font-size:14px;}.legal-footer{padding:28px 18px;}}

/* PIRNAR handles — clean rolling fan */
.pirnar-handle-section{
  display:grid;
  grid-template-columns:minmax(0,58%) minmax(0,42%);
  height:760px;
  padding:0;
  background:#eeeae4;
  color:var(--ink);
  overflow:hidden;
}
.pirnar-handle-fan{
  position:relative;
  height:100%;
  min-width:0;
  overflow:hidden;
  background:#e4ded5;
  isolation:isolate;
}
.pirnar-handle-panel{
  position:absolute;
  top:0;
  left:0;
  width:clamp(480px,64%,680px);
  height:100%;
  margin:0;
  overflow:hidden;
  background:#252525;
  box-shadow:0 20px 46px rgba(0,0,0,.18);
  transition:left .72s cubic-bezier(.22,.61,.36,1),filter .28s ease,box-shadow .28s ease;
  will-change:left;
  outline:0;
  cursor:pointer;
}
.pirnar-handle-panel img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}
.pirnar-handle-panel:hover,
.pirnar-handle-panel:focus-visible{
  filter:brightness(1.025);
  box-shadow:0 26px 58px rgba(0,0,0,.24);
}
.pirnar-handle-panel:focus-visible:after{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(255,255,255,.8);
  pointer-events:none;
}
.pirnar-handle-copy{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:88px 7vw 88px 5vw;
  background:#eeeae4;
}
.pirnar-handle-copy h2{max-width:540px;margin-bottom:20px;}
.pirnar-handle-copy p{
  max-width:570px;
  margin-bottom:32px;
  color:#5d5b56;
  font-size:17px;
  line-height:1.78;
}
.pirnar-handle-copy button{align-self:flex-start;}
@media(max-width:1300px){
  .pirnar-handle-section{height:680px;grid-template-columns:minmax(0,57%) minmax(0,43%);}
  .pirnar-handle-panel{width:clamp(440px,70%,600px);}
  .pirnar-handle-copy{padding:70px 5vw 70px 4vw;}
}
@media(max-width:900px){
  .pirnar-handle-section{display:grid;grid-template-columns:1fr;height:auto;overflow:visible;}
  .pirnar-handle-fan{
    height:500px;
    display:flex;
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    padding:0 22px;
    scrollbar-width:none;
    isolation:auto;
  }
  .pirnar-handle-fan::-webkit-scrollbar{display:none;}
  .pirnar-handle-panel{
    position:relative;
    top:auto;
    left:auto!important;
    flex:0 0 calc(100vw - 56px);
    width:auto;
    height:500px;
    scroll-snap-align:start;
    transition:filter .28s ease,box-shadow .28s ease;
  }
  .pirnar-handle-copy{height:auto;padding:42px 24px 70px;}
  .pirnar-handle-copy p{font-size:16px;line-height:1.72;}
}
@media(max-width:520px){
  .pirnar-handle-fan,.pirnar-handle-panel{height:430px;}
  .pirnar-handle-panel{flex-basis:calc(100vw - 44px);}
  .pirnar-handle-fan{padding:0 16px;gap:10px;}
}

/* 2026-08-28: realized projects gallery refresh */
.gallery.section{
  padding-top:96px;
  padding-bottom:88px;
}
.gallery .section-head{
  margin-bottom:42px;
}
.gallery-slider{
  position:relative;
}
.gallery-track{
  gap:14px;
  padding:0 0 10px;
  scroll-padding-inline:0;
}
.gallery-track img{
  width:min(70vw,860px);
  height:clamp(300px,42vw,500px);
  object-fit:contain;
  object-position:center center;
  background:#151515;
  border-radius:2px;
}
.gallery-arrow{
  width:48px;
  height:48px;
  padding:0;
  display:grid;
  place-items:center;
  font-size:32px;
  line-height:1;
}
.gallery-dots{
  display:flex;
  justify-content:center;
  gap:7px;
  margin-top:14px;
}
.gallery-dot{
  width:9px;
  height:9px;
  min-width:9px;
  padding:0;
  border:0;
  background:#b5121b;
  opacity:.38;
  box-shadow:none;
  transform:none !important;
}
.gallery-dot:hover{
  opacity:.7;
  box-shadow:none;
}
.gallery-dot.active,
.gallery-dot[aria-current="true"]{
  opacity:1;
}
.gallery-dot:before{display:none !important;}
@media (max-width:900px){
  .gallery.section{padding-top:76px;padding-bottom:70px;}
  .gallery .section-head{margin-bottom:30px;}
  .gallery-track{gap:10px;padding-left:22px;padding-right:22px;scroll-padding-left:22px;}
  .gallery-track img{width:calc(100vw - 44px);height:56vw;min-height:260px;max-height:420px;}
  .gallery-arrow{width:40px;height:40px;font-size:28px;}
  .gallery-dots{gap:6px;margin-top:12px;}
  .gallery-dot{width:8px;height:8px;min-width:8px;}
}

/* 2026-08-28: realized projects gallery refined like Pirnar REFERENCES */
.gallery.section{
  padding-top:88px;
  padding-bottom:80px;
  background:#f3f1ee;
}
.gallery .section-head{
  margin-bottom:36px;
}
.gallery-slider{
  position:relative;
}
.gallery-track{
  gap:18px;
  padding:0;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  scroll-padding-inline:0;
  cursor:grab;
}
.gallery-track img{
  flex:0 0 auto;
  width:min(38vw,540px);
  height:clamp(320px,38vw,500px);
  object-fit:cover;
  object-position:center center;
  background:none;
  border-radius:2px;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  box-shadow:none;
}
.gallery-track img:hover{
  transform:scale(.992);
  filter:brightness(1.03);
}
.gallery-arrow{
  width:44px;
  height:44px;
  padding:0;
  display:grid;
  place-items:center;
  font-size:30px;
  line-height:1;
  background:rgba(255,255,255,.88);
  color:#111;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.gallery-arrow:hover{background:var(--red);color:#fff;}
.gallery-prev{left:10px;}
.gallery-next{right:10px;}
.gallery-dots{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:12px;
}
.gallery-dot{
  width:7px;
  height:7px;
  min-width:7px;
  padding:0;
  border:0;
  border-radius:999px;
  background:#b5121b;
  opacity:.32;
  box-shadow:none;
  transform:none !important;
}
.gallery-dot:hover{opacity:.68;box-shadow:none;}
.gallery-dot.active,
.gallery-dot[aria-current="true"]{opacity:1;}
.gallery-dot:before{display:none !important;}
@media(max-width:1200px){
  .gallery-track img{
    width:min(44vw,500px);
    height:clamp(300px,42vw,460px);
  }
}
@media(max-width:900px){
  .gallery.section{padding-top:72px;padding-bottom:66px;}
  .gallery .section-head{margin-bottom:28px;padding-left:22px;padding-right:22px;}
  .gallery-track{gap:10px;padding-left:22px;padding-right:22px;scroll-padding-left:22px;}
  .gallery-track img{width:calc(100vw - 44px);height:58vw;min-height:250px;max-height:410px;}
  .gallery-arrow{width:38px;height:38px;font-size:26px;}
  .gallery-prev{left:8px;}
  .gallery-next{right:8px;}
  .gallery-dots{gap:5px;margin-top:10px;}
  .gallery-dot{width:6px;height:6px;min-width:6px;}
}

/* 2026-08-31: realized projects — corrected palette, looping controls and fullscreen viewer */
.gallery.section{
  background:#f3f1ee;
  color:#111;
}
.gallery .section-head,
.gallery .section-head.light{
  color:#111;
}
.gallery .section-head h2{
  color:#111;
}
.gallery .section-head .eyebrow{
  color:var(--red);
}
.gallery-track img{
  cursor:zoom-in;
}
.gallery-arrow:disabled{
  opacity:1;
  cursor:pointer;
}
body.gallery-lightbox-open{
  overflow:hidden;
}
.gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:250;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 76px;
  background:rgba(10,10,10,.96);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease,visibility .25s ease;
}
.gallery-lightbox.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.gallery-lightbox-image{
  display:block;
  width:auto;
  height:auto;
  max-width:min(92vw,1800px);
  max-height:90vh;
  object-fit:contain;
  box-shadow:0 28px 80px rgba(0,0,0,.32);
  user-select:none;
}
.gallery-lightbox-close,
.gallery-lightbox-nav{
  position:absolute;
  z-index:2;
  display:grid;
  place-items:center;
  border:0;
  padding:0;
  background:rgba(255,255,255,.92);
  color:#111;
  box-shadow:none;
}
.gallery-lightbox-close:before,
.gallery-lightbox-nav:before{
  display:none !important;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover{
  transform:none !important;
  box-shadow:none !important;
  background:#fff;
  color:var(--red);
}
.gallery-lightbox-close{
  top:22px;
  right:24px;
  width:46px;
  height:46px;
  border-radius:50%;
  font-size:30px;
  font-weight:300;
  line-height:1;
}
.gallery-lightbox-nav{
  top:50%;
  width:48px;
  height:48px;
  border-radius:50%;
  transform:translateY(-50%) !important;
  font-size:34px;
  line-height:1;
}
.gallery-lightbox-nav:hover{
  transform:translateY(-50%) !important;
}
.gallery-lightbox-prev{left:20px;}
.gallery-lightbox-next{right:20px;}
.gallery-lightbox-counter{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  color:rgba(255,255,255,.72);
  font-size:12px;
  letter-spacing:.12em;
}
@media(max-width:700px){
  .gallery-lightbox{
    padding:62px 14px 54px;
  }
  .gallery-lightbox-image{
    max-width:100%;
    max-height:calc(100vh - 116px);
  }
  .gallery-lightbox-close{
    top:12px;
    right:12px;
    width:42px;
    height:42px;
  }
  .gallery-lightbox-nav{
    top:auto;
    bottom:10px;
    width:42px;
    height:42px;
    transform:none !important;
  }
  .gallery-lightbox-nav:hover{transform:none !important;}
  .gallery-lightbox-prev{left:12px;}
  .gallery-lightbox-next{right:12px;}
  .gallery-lightbox-counter{bottom:22px;}
}

/* 2026-09-08: official PIRNAR link in footer */
.footer-brand-col{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;}
.footer-brand-col .brand{margin:0;}
.footer-brand-note{color:#8f8f8f;font-size:11px;line-height:1.45;letter-spacing:.04em;}
.footer-brand-link{display:inline-flex;align-items:center;gap:7px;color:#fff;font-size:12px;font-weight:600;line-height:1.4;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.34);padding-bottom:3px;transition:color .25s,border-color .25s;}
.footer-brand-link span{display:inline-block;transition:transform .25s;}
.footer-brand-link:hover{color:#fff;border-color:var(--red);}
.footer-brand-link:hover span{transform:translate(2px,-2px);}
@media(max-width:900px){.footer-brand-col{grid-column:1 / -1;}.footer-brand-note{font-size:10px;}}

/* 2026-09-08: fine-tune specific realized projects crops */
.gallery-track img[src$="gallery-project-09.webp"]{
  object-position: 22% center;
}
.gallery-track img[src$="gallery-project-11.webp"]{
  object-position: 74% center;
}

/* 2026-09-08: desktop-only hero line breaks */
@media(max-width:900px){.desktop-hero-break{display:none;}}

/* 2026-09-08: raise hero content on mobile */
@media (max-width:900px){
  .hero-content{
    bottom:115px;
  }
}
@media (max-width:900px) and (max-height:720px){
  .hero-content{
    bottom:72px;
  }
}

/* 2026-09-08: refined mobile navigation */
.mobile-menu-cta{display:none;}
@media (max-width:900px){
  .header nav.mobile-open{
    top:72px;
    left:0;
    right:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:18px 18px 20px;
    background:rgba(247,245,242,.985);
    border-top:1px solid rgba(181,18,27,.16);
    border-bottom:1px solid #ded6cd;
    box-shadow:0 24px 50px rgba(15,15,15,.16);
    backdrop-filter:blur(16px);
    z-index:11;
  }
  .header nav.mobile-open::before{
    content:"Навигация";
    display:block;
    padding:2px 2px 12px;
    color:#8b837b;
    font-size:10px;
    font-weight:700;
    letter-spacing:.16em;
    text-transform:uppercase;
  }
  .header nav.mobile-open a{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-height:50px;
    padding:0 2px;
    border-bottom:1px solid #e2dbd4;
    color:#181818;
    font-size:14px;
    font-weight:600;
    letter-spacing:.11em;
    text-align:left;
  }
  .header nav.mobile-open a::after{
    content:"→";
    position:static;
    width:auto;
    height:auto;
    background:none;
    transform:none;
    color:#b5121b;
    font-size:18px;
    font-weight:400;
    line-height:1;
  }
  .header nav.mobile-open a:hover{
    color:#b5121b;
  }
  .header nav.mobile-open .mobile-menu-cta{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:52px;
    margin-top:18px;
    padding:0 20px;
    border:0;
    background:#b5121b;
    color:#fff;
    font-size:14px;
    font-weight:700;
    letter-spacing:.02em;
    box-shadow:none;
  }
  .header nav.mobile-open .mobile-menu-cta::before{display:none;}
  .header nav.mobile-open .mobile-menu-cta:hover{
    transform:none;
    background:#c51620;
    box-shadow:none;
  }
  .header .menu[aria-expanded="true"]{
    color:#b5121b;
  }
}


/* 2026-09-08: desktop hero image without top/bottom crop */
@media (min-width:901px){
  .hero{
    background:#141414;
  }
  .hero > img{
    object-fit:contain;
    object-position:center center;
  }
}


/* 2026-09-08: wide generated hero; preserve full image height */
@media (min-width:901px){
  .hero > img{
    object-fit:cover;
    object-position:center center;
  }
}


/* 2026-09-09: Apple / iOS / iPadOS Safari compatibility */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  -webkit-tap-highlight-color:transparent;
}
body{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
button,a,input,select,textarea{
  -webkit-tap-highlight-color:transparent;
}
button,input,select,textarea{
  font-family:inherit;
}
button,
input[type="button"],
input[type="submit"]{
  -webkit-appearance:none;
  appearance:none;
}
input[type="checkbox"]{
  -webkit-appearance:auto;
  appearance:auto;
}
img,video{
  max-width:100%;
}
.header{
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.gallery-track,
.pirnar-handle-fan{
  -webkit-overflow-scrolling:touch;
}

/* Stable viewport height while Safari toolbars expand/collapse. */
@supports (height:100svh){
  .hero{height:100svh;}
}

/* iPhone / iPad portrait + compact Safari */
@media (max-width:900px){
  .header,
  .header.scrolled{
    height:calc(72px + env(safe-area-inset-top));
    padding-top:env(safe-area-inset-top);
    padding-left:max(16px,env(safe-area-inset-left));
    padding-right:max(14px,env(safe-area-inset-right));
  }
  .header nav.mobile-open,
  .header.scrolled nav.mobile-open{
    top:calc(72px + env(safe-area-inset-top));
    left:0;
    right:0;
    max-height:calc(100svh - 72px - env(safe-area-inset-top));
    padding-left:max(18px,env(safe-area-inset-left));
    padding-right:max(18px,env(safe-area-inset-right));
    padding-bottom:max(20px,env(safe-area-inset-bottom));
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    -webkit-backdrop-filter:blur(16px);
    backdrop-filter:blur(16px);
  }
  .hero{
    min-height:650px;
  }
  .hero-content{
    left:max(24px,calc(env(safe-area-inset-left) + 18px));
    right:max(24px,calc(env(safe-area-inset-right) + 18px));
    bottom:max(115px,calc(86px + env(safe-area-inset-bottom)));
  }
  .section:not(.gallery):not(.showroom):not(.pirnar-handle-section):not(.security){
    padding-left:max(22px,calc(env(safe-area-inset-left) + 16px));
    padding-right:max(22px,calc(env(safe-area-inset-right) + 16px));
  }
  .gallery .section-head{
    padding-left:max(22px,calc(env(safe-area-inset-left) + 16px));
    padding-right:max(22px,calc(env(safe-area-inset-right) + 16px));
  }
  .gallery-track{
    padding-left:max(22px,calc(env(safe-area-inset-left) + 16px));
    padding-right:max(22px,calc(env(safe-area-inset-right) + 16px));
    scroll-padding-left:max(22px,calc(env(safe-area-inset-left) + 16px));
    touch-action:pan-x pan-y pinch-zoom;
  }
  .pirnar-handle-fan{
    padding-left:max(22px,calc(env(safe-area-inset-left) + 16px));
    padding-right:max(22px,calc(env(safe-area-inset-right) + 16px));
    touch-action:pan-x pan-y pinch-zoom;
    overscroll-behavior-x:contain;
  }
  .lead-form input,
  .lead-form select,
  .lead-form textarea{
    min-height:50px;
    font-size:16px; /* Prevent Safari focus zoom. */
    line-height:1.25;
    border-radius:0;
  }
  .lead-form button,
  .mobile-menu-cta,
  .menu,
  .gallery-arrow,
  .gallery-lightbox-close,
  .gallery-lightbox-nav{
    min-width:44px;
    min-height:44px;
    touch-action:manipulation;
  }
  .modal{
    padding-top:max(20px,env(safe-area-inset-top));
    padding-right:max(16px,env(safe-area-inset-right));
    padding-bottom:max(20px,env(safe-area-inset-bottom));
    padding-left:max(16px,env(safe-area-inset-left));
    overscroll-behavior:contain;
  }
  .modal-card{
    max-height:calc(100svh - max(40px,env(safe-area-inset-top)) - max(40px,env(safe-area-inset-bottom)));
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .gallery-lightbox{
    padding-top:max(62px,calc(env(safe-area-inset-top) + 48px));
    padding-right:max(14px,env(safe-area-inset-right));
    padding-bottom:max(54px,calc(env(safe-area-inset-bottom) + 44px));
    padding-left:max(14px,env(safe-area-inset-left));
    overscroll-behavior:contain;
  }
  .gallery-lightbox-image{
    max-height:calc(100svh - 116px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
  footer{
    padding-left:max(22px,calc(env(safe-area-inset-left) + 16px));
    padding-right:max(22px,calc(env(safe-area-inset-right) + 16px));
    padding-bottom:max(55px,calc(38px + env(safe-area-inset-bottom)));
  }
}

@supports (height:100dvh){
  @media (max-width:900px){
    .header nav.mobile-open,
    .header.scrolled nav.mobile-open{
      max-height:calc(100dvh - 72px - env(safe-area-inset-top));
    }
    .modal-card{
      max-height:calc(100dvh - max(40px,env(safe-area-inset-top)) - max(40px,env(safe-area-inset-bottom)));
    }
    .gallery-lightbox-image{
      max-height:calc(100dvh - 116px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }
  }
}

/* Landscape iPhone safe areas. */
@media (max-height:520px) and (orientation:landscape){
  .hero{min-height:520px;}
  .hero-content{
    bottom:max(38px,calc(24px + env(safe-area-inset-bottom)));
  }
  .header nav.mobile-open{
    padding-top:10px;
    padding-bottom:max(10px,env(safe-area-inset-bottom));
  }
}

/* Touch devices: avoid sticky hover transforms and extra GPU work. */
@media (hover:none) and (pointer:coarse){
  button:not(.menu):not(.close):hover,
  .series-grid article:hover,
  .gallery-track img:hover,
  .award-img:hover,
  .showroom:hover>img,
  .pirnar-handle-panel:hover{
    transform:none;
    box-shadow:none;
    filter:none;
  }
  button:not(.menu):not(.close):hover:before{transform:translateX(-130%);}
  .series-grid article:hover>img{transform:none;filter:none;}
  .header nav a:hover{color:inherit;}
}


/* Apple safe areas for privacy/legal page */
@media (max-width:700px){
  .legal-topbar{
    min-height:calc(70px + env(safe-area-inset-top));
    padding-top:env(safe-area-inset-top);
    padding-left:max(18px,env(safe-area-inset-left));
    padding-right:max(18px,env(safe-area-inset-right));
  }
  .legal-main{
    padding-left:max(16px,calc(env(safe-area-inset-left) + 12px));
    padding-right:max(16px,calc(env(safe-area-inset-right) + 12px));
  }
  .legal-footer{
    padding-left:max(18px,calc(env(safe-area-inset-left) + 12px));
    padding-right:max(18px,calc(env(safe-area-inset-right) + 12px));
    padding-bottom:max(28px,calc(18px + env(safe-area-inset-bottom)));
  }
}


/* 2026-09-09: mobile fix for Products PIRNAR cards */
@media (max-width:520px){
  .series-grid-four{
    align-items:stretch;
  }
  .series-grid-four article{
    display:flex;
    flex-direction:column;
    height:100%;
  }
  .series-grid-four article>img{
    display:block;
    width:100%;
    height:220px;
    object-fit:cover;
    object-position:center center;
  }
  .series-grid-four article>div{
    display:flex;
    flex-direction:column;
    flex:1;
  }
  .series-grid-four article button{
    margin-top:auto;
    white-space:nowrap;
    font-size:13px;
    line-height:1.2;
  }
}


/* 2026-09-09: refined site footer */
.site-footer{
  padding:68px 7vw 62px;
  grid-template-columns:minmax(260px,1.45fr) minmax(180px,.85fr) minmax(230px,1fr) minmax(190px,.85fr);
  gap:54px;
  align-items:start;
  font-size:14px;
  line-height:1.65;
}
.site-footer .footer-brand-col{
  gap:12px;
}
.site-footer .footer-brand-col .brand img{
  height:58px;
  width:auto;
}
.site-footer .footer-brand-note{
  margin-top:2px;
  color:#8f8f8f;
  font-size:12px;
  line-height:1.45;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.site-footer .footer-company{
  max-width:360px;
  margin:5px 0 8px;
  color:#f0f0f0;
  font-size:15px;
  line-height:1.55;
}
.site-footer .footer-brand-link{
  display:inline-block;
  align-self:flex-start;
  color:#fff;
  font-size:14px;
  font-weight:600;
  line-height:1.45;
  border-bottom:1px solid rgba(255,255,255,.34);
  padding-bottom:3px;
}
.site-footer .footer-col{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  min-width:0;
}
.site-footer .footer-label{
  margin-bottom:7px;
  color:#777;
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.site-footer .footer-col a{
  color:#f4f4f4;
  font-size:14px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.site-footer .footer-col p{
  margin:0;
  color:#d1d1d1;
  font-size:14px;
  line-height:1.65;
}
.site-footer .footer-meta{
  color:#d1d1d1;
  font-size:14px;
  line-height:1.65;
}
.site-footer a{
  transition:color .25s,border-color .25s;
}
.site-footer a:hover{
  color:#fff;
}
.site-footer .footer-brand-link:hover{
  border-color:var(--red);
}
@media(max-width:1050px){
  .site-footer{
    grid-template-columns:1.35fr 1fr 1fr;
    gap:38px;
  }
  .site-footer .footer-brand-col{
    grid-column:1 / -1;
  }
}
@media(max-width:700px){
  .site-footer{
    display:flex;
    flex-direction:column;
    gap:0;
    padding-top:48px;
    padding-bottom:max(48px,calc(32px + env(safe-area-inset-bottom)));
    font-size:15px;
  }
  .site-footer .footer-brand-col,
  .site-footer .footer-col{
    width:100%;
    padding:24px 0;
    border-bottom:1px solid rgba(255,255,255,.10);
  }
  .site-footer .footer-brand-col{
    padding-top:0;
    gap:12px;
  }
  .site-footer .footer-brand-col .brand img{
    height:54px;
  }
  .site-footer .footer-brand-note{
    font-size:11px;
  }
  .site-footer .footer-company{
    max-width:none;
    margin:4px 0 7px;
    font-size:15px;
    line-height:1.55;
  }
  .site-footer .footer-brand-link,
  .site-footer .footer-col a,
  .site-footer .footer-col p,
  .site-footer .footer-meta{
    font-size:15px;
  }
  .site-footer .footer-label{
    margin-bottom:5px;
  }
  .site-footer .footer-info{
    border-bottom:0;
    padding-bottom:0;
  }
  .legal-footer{
    font-size:13px;
    line-height:1.65;
  }
}


/* 2026-09-09: PIRNAR-style square controls for project lightbox */
.gallery-lightbox-close,
.gallery-lightbox-nav{
  border-radius:0 !important;
  background:#fff;
  color:#111;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 28px rgba(0,0,0,.16);
  transition:background .22s ease,color .22s ease,border-color .22s ease;
}
.gallery-lightbox-close{
  width:52px;
  height:52px;
  font-size:31px;
  font-weight:300;
}
.gallery-lightbox-nav{
  width:52px;
  height:52px;
  font-size:34px;
  font-weight:300;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover{
  background:var(--red);
  color:#fff;
  border-color:var(--red);
  box-shadow:0 10px 28px rgba(0,0,0,.16) !important;
}
@media(max-width:700px){
  .gallery-lightbox-close,
  .gallery-lightbox-nav{
    width:46px;
    height:46px;
  }
  .gallery-lightbox-close{font-size:28px;}
  .gallery-lightbox-nav{font-size:31px;}
}


/* 2026-09-09: square arrows for the main realized-projects gallery */
.gallery-slider .gallery-arrow{
  width:52px;
  height:52px;
  border-radius:0 !important;
  border:1px solid rgba(17,17,17,.10);
  background:#fff !important;
  color:#111 !important;
  box-shadow:none !important;
}
.gallery-slider .gallery-arrow:hover{
  background:var(--red) !important;
  color:#fff !important;
}
@media (max-width:900px){
  .gallery-slider .gallery-arrow{
    width:42px;
    height:42px;
    border-radius:0 !important;
  }
}


/* 2026-09-09: reliable hero copy visibility on iPhone / mobile Safari */
@media (max-width:900px){
  .hero-content>*{
    opacity:1 !important;
    transform:none !important;
    animation:none !important;
  }
}


/* 2026-09-09: modal overlay must be fully absent while closed */
#modal:not(.open){
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
#modal.open{
  display:grid !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}



/* 2026-09-14: refined messenger icons and visibility */
.messenger-links{display:flex;align-items:center;gap:10px;}
.messenger-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#151515;transition:color .25s ease,transform .25s ease,border-color .25s ease,background-color .25s ease;}
.messenger-link:hover{color:var(--red);}
.messenger-link svg,.messenger-link img{display:block;width:100%;height:100%;}
.messenger-link img{object-fit:contain;}
.messenger-icon{display:block;overflow:visible;}
.messenger-image{transform:translateZ(0);}
.mobile-messengers{display:none;}

.header-messengers{align-self:stretch;gap:6px;padding:0 10px;border-left:1px solid #ddd4ca;}
.header-messengers .messenger-link{width:44px;min-width:44px;height:100%;}
.header-messengers .messenger-link svg,
.header-messengers .messenger-link img{width:30px;height:30px;}
.header-messengers .messenger-link:hover{transform:translateY(-1px);}
.header-messengers .messenger-phone svg{width:31px;height:31px;}

.footer-messengers{margin-top:14px;gap:12px;}
.footer-messengers .messenger-link{width:46px;height:46px;border:0;background:transparent;color:#fff;}
.footer-messengers .messenger-link:hover{background:transparent;opacity:.8;transform:translateY(-1px);}
.footer-messengers .messenger-link svg,
.footer-messengers .messenger-link img{width:24px;height:24px;}
.footer-messengers .messenger-link img{filter:brightness(0) invert(1);}

@media (min-width:901px){
  .mobile-messengers{display:none !important;}
}

@media (max-width:1280px){
  .header-messengers{padding:0 8px;gap:4px;}
  .header-messengers .messenger-link{width:40px;min-width:40px;}
  .header-messengers .messenger-link svg,
  .header-messengers .messenger-link img{width:27px;height:27px;}
  .header-messengers .messenger-phone svg{width:28px;height:28px;}
}

@media (max-width:1100px){
  .header-messengers{padding:0 6px;border-left:0;}
}

@media (max-width:900px){
  .header-messengers{padding:0 4px 0 0;border-left:0;gap:8px;}
  .header-messengers .messenger-link{width:36px;min-width:36px;height:36px;}
  .header-messengers .messenger-link svg,
  .header-messengers .messenger-link img{width:28px;height:28px;}
  .header-messengers .messenger-phone svg{width:28px;height:28px;}

  .mobile-messengers{display:none;}
  .header nav.mobile-open .mobile-messengers{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
    margin-top:14px;
    padding-top:14px;
  }
  .header nav.mobile-open .mobile-messengers .messenger-link{
    width:52px;
    height:52px;
    border:1px solid #d9d1c7;
    background:#f7f3ed;
  }
  .header nav.mobile-open .mobile-messengers .messenger-link svg,
  .header nav.mobile-open .mobile-messengers .messenger-link img{width:26px;height:26px;}
  .header nav.mobile-open .mobile-messengers .messenger-link:hover{transform:none;background:#fff;}
}


/* 2026-09-14: desktop header cleanup - remove phone icon and divider lines */
@media (min-width:901px){
  .header-messengers{border-left:0;}
  .header .head-phone{border-left:0;}
  .header-messengers .messenger-phone{display:none;}
}


/* 2026-09-14: hide numeric phone in mobile header */
@media (max-width:900px){
  .header .head-phone{display:none !important;}
}


/* 2026-09-14: mobile navigation spans the full site width */
@media (max-width:900px){
  .header nav.mobile-open,
  .header.scrolled nav.mobile-open{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    justify-self:stretch !important;
    box-sizing:border-box;
  }
}

/* 2026-09-14: center messenger buttons in mobile menu and remove navigation arrows */
@media (max-width:900px){
  .header nav.mobile-open .mobile-messengers{
    justify-content:center;
  }
  .header nav.mobile-open .mobile-messengers .messenger-link{
    justify-content:center;
    padding:0;
  }
  .header nav.mobile-open .mobile-messengers .messenger-link::after{
    content:none !important;
    display:none !important;
  }
}


/* 2026-09-14: architecture intro uses the same beige background as realized projects */
.intro.section{background:#f3f1ee;}


/* 2026-09-14: equal visual height for all mobile header icons */
@media (max-width:900px){
  .header-messengers .messenger-link{width:38px;min-width:38px;height:38px;}
  .header-messengers .messenger-link svg,
  .header-messengers .messenger-link img,
  .header-messengers .messenger-phone svg{width:30px;height:30px;}
  .header .menu{width:38px;height:38px;padding:0;display:flex;align-items:center;justify-content:center;font-size:30px;line-height:1;}
}

/* 2026-09-14: dedicated thank-you page layout */
.thanks-page{
  min-height:100svh;
  display:grid;
  grid-template-rows:auto 1fr auto;
  margin:0;
  background:#f3f0eb;
  color:#111;
  overflow-x:hidden;
}
.thanks-header{
  min-height:88px;
  padding:0 7vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  background:#f8f6f2;
  border-bottom:1px solid #dfd8cf;
}
.thanks-header .brand{
  margin:0;
  padding:0;
}
.thanks-header .brand img{
  width:auto;
  height:50px;
  object-fit:contain;
}
.thanks-header .head-phone{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  color:#111;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.thanks-main{
  width:100%;
  padding:clamp(56px,8vw,118px) 7vw;
  display:grid;
  align-items:center;
}
.thanks-card{
  width:min(100%,1180px);
  margin:0 auto;
  padding:clamp(42px,6vw,88px);
  background:#fff;
  box-shadow:0 22px 70px rgba(24,18,12,.08);
  position:relative;
  overflow:hidden;
}
.thanks-card::after{
  content:"";
  position:absolute;
  right:0;
  top:0;
  width:8px;
  height:100%;
  background:var(--red);
}
.thanks-card .eyebrow{
  margin-bottom:24px;
}
.thanks-card h1{
  max-width:940px;
  margin:0 0 28px;
  font-size:clamp(46px,6vw,88px);
  line-height:.98;
  letter-spacing:-.055em;
  font-weight:300;
}
.thanks-card>p{
  max-width:760px;
  margin:0;
  color:#5f5b57;
  font-size:clamp(16px,1.35vw,19px);
  line-height:1.72;
}
.thanks-actions{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:40px;
}
.thanks-actions a{
  min-height:54px;
  padding:15px 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  transition:transform .25s ease,background-color .25s ease,color .25s ease,border-color .25s ease;
}
.thanks-actions a:hover{
  transform:translateY(-1px);
}
.thanks-actions .primary{
  background:var(--red);
  border:1px solid var(--red);
  color:#fff;
}
.thanks-actions .primary:hover{
  background:#990f17;
  border-color:#990f17;
}
.thanks-actions .secondary{
  background:transparent;
  border:1px solid #cbc3b9;
  color:#111;
}
.thanks-actions .secondary:hover{
  border-color:#111;
}
.thanks-footer{
  min-height:104px;
  padding:30px 7vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  background:#0c0c0c;
  color:#929292;
  font-size:12px;
  line-height:1.6;
}
.thanks-footer a{
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.3);
  padding-bottom:2px;
}

@media (max-width:700px){
  .thanks-header{
    min-height:72px;
    padding:0 18px;
  }
  .thanks-header .brand img{
    height:40px;
  }
  .thanks-header .head-phone{
    display:none !important;
  }
  .thanks-main{
    padding:32px 16px 44px;
    align-items:start;
  }
  .thanks-card{
    padding:38px 24px 42px;
    box-shadow:0 14px 42px rgba(24,18,12,.07);
  }
  .thanks-card::after{
    width:5px;
  }
  .thanks-card .eyebrow{
    margin-bottom:18px;
  }
  .thanks-card h1{
    margin-bottom:22px;
    font-size:clamp(40px,12vw,58px);
    line-height:1.01;
  }
  .thanks-card>p{
    font-size:15px;
    line-height:1.65;
  }
  .thanks-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-top:30px;
  }
  .thanks-actions a{
    width:100%;
    min-height:52px;
  }
  .thanks-footer{
    min-height:auto;
    padding:28px 18px;
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
  }
}


/* 2026-09-14: iPhone stability pass — handles, awards and horizontal overflow */
@media (max-width:900px){
  html,body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }
  main{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  /* Handles: one stable swipe card at a time on iPhone/iPad portrait. */
  .pirnar-handle-section{
    width:100%;
    max-width:100%;
    overflow:hidden;
  }
  .pirnar-handle-fan{
    width:100%;
    max-width:100%;
    height:auto !important;
    min-height:0;
    display:flex;
    align-items:stretch;
    gap:10px;
    overflow-x:auto;
    overflow-y:hidden;
    padding-left:max(18px,calc(env(safe-area-inset-left) + 14px));
    padding-right:max(18px,calc(env(safe-area-inset-right) + 14px));
    scroll-padding-left:max(18px,calc(env(safe-area-inset-left) + 14px));
    scroll-padding-right:max(18px,calc(env(safe-area-inset-right) + 14px));
    scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .pirnar-handle-fan::-webkit-scrollbar{display:none;}
  .pirnar-handle-panel{
    position:relative !important;
    inset:auto !important;
    left:auto !important;
    top:auto !important;
    flex:0 0 100%;
    width:100% !important;
    max-width:100%;
    height:auto !important;
    aspect-ratio:1100 / 1280;
    margin:0;
    scroll-snap-align:center;
    scroll-snap-stop:always;
    transform:none !important;
  }
  .pirnar-handle-panel img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }

  /* Awards: keep a single clean horizontal row instead of wrapping/scattering. */
  .recognition{
    width:100%;
    max-width:100%;
    overflow:hidden;
  }
  .awards-ticker{
    min-height:72px;
    margin-top:38px;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    -webkit-mask-image:none !important;
    mask-image:none !important;
  }
  .awards-ticker::-webkit-scrollbar{display:none;}
  .awards-track{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center;
    justify-content:flex-start !important;
    gap:34px;
    width:max-content !important;
    min-width:max-content;
    padding-left:max(22px,calc(env(safe-area-inset-left) + 16px)) !important;
    padding-right:max(22px,calc(env(safe-area-inset-right) + 16px)) !important;
    animation:none !important;
    transform:none !important;
    will-change:auto;
  }
  .awards-track .award-img[aria-hidden="true"]{
    display:none !important;
  }
  .award-img{
    flex:0 0 auto;
    width:auto !important;
    height:60px;
    max-width:150px;
    object-fit:contain;
    transform:none !important;
  }
}

@media (max-width:430px){
  .pirnar-handle-fan{
    gap:8px;
    padding-left:max(16px,calc(env(safe-area-inset-left) + 12px));
    padding-right:max(16px,calc(env(safe-area-inset-right) + 12px));
    scroll-padding-left:max(16px,calc(env(safe-area-inset-left) + 12px));
    scroll-padding-right:max(16px,calc(env(safe-area-inset-right) + 12px));
  }
  .awards-track{gap:28px;}
  .award-img{height:56px;max-width:140px;}
}

@media (prefers-reduced-motion:reduce) and (max-width:900px){
  .awards-track{
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    width:max-content !important;
  }
}


/* 2026-09-14: iPhone hero content must stay below fixed header */
@media (max-width:900px) and (orientation:portrait){
  .hero{
    min-height:max(780px,100svh);
  }
  .hero-content{
    top:calc(72px + env(safe-area-inset-top) + 24px);
    bottom:auto;
  }
}

@media (max-width:900px) and (orientation:portrait) and (max-height:720px){
  .hero{
    min-height:780px;
  }
  .hero-content{
    top:calc(72px + env(safe-area-inset-top) + 18px);
    bottom:auto;
  }
}


/* 2026-09-14: mobile header phone number + clean messenger menu */
@media (max-width:900px){
  .header-messengers{display:none !important;}
  .header .head-phone{
    display:flex !important;
    align-items:center;
    justify-content:center;
    border-left:0 !important;
    padding:0 4px;
    font-size:12px;
    white-space:nowrap;
  }

  .header nav.mobile-open .mobile-messengers{
    justify-content:center;
    gap:18px;
  }
  .header nav.mobile-open .mobile-messengers .messenger-link{
    width:42px;
    height:42px;
    min-width:42px;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    padding:0 !important;
  }
  .header nav.mobile-open .mobile-messengers .messenger-link img,
  .header nav.mobile-open .mobile-messengers .messenger-link svg{
    width:34px;
    height:34px;
  }
}

@media (max-width:390px){
  .header .head-phone{font-size:11px;}
}

/* 2026-09-14: mobile handles — text first, gallery below */
@media (max-width:900px){
  .pirnar-handle-copy{
    order:1;
  }
  .pirnar-handle-fan{
    order:2;
  }
}

/* 2026-10-14: keep header tracks wide enough for their contents.
   Compact navigation starts at 1280px; keep the JS media query in sync. */
.header{grid-template-columns:max-content minmax(max-content,1fr) max-content max-content max-content;}
.header>.brand{flex-shrink:0;}
.header>.brand span{flex-shrink:0;}
.header nav{min-width:max-content;}
.header nav>a{flex-shrink:0;white-space:nowrap;}
.header .header-cta{flex-shrink:0;}
.header .header-cta:hover{transform:none;box-shadow:none;}
.header :is(a,button):focus-visible{outline:2px solid var(--red);outline-offset:4px;}
#series,#tech,#awards,#showroom{scroll-margin-top:100px;}

@media (max-width:1280px){
  .header,.header.scrolled{
    display:grid;
    grid-template-columns:minmax(0,1fr) max-content max-content max-content;
    align-items:center;
    gap:16px;
    height:calc(72px + env(safe-area-inset-top));
    padding:env(safe-area-inset-top) max(20px,env(safe-area-inset-right)) 0 max(20px,env(safe-area-inset-left));
  }
  .header>.brand{justify-self:start;min-width:0;}
  .header>.header-messengers{display:none !important;}
  .header .head-phone{
    display:flex !important;
    align-items:center;
    justify-content:center;
    border:0;
    padding:0;
    font-size:14px;
    white-space:nowrap;
  }
  .header .header-cta{min-width:132px;align-self:stretch;}
  .header .menu{
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:12;
    width:44px;
    height:44px;
    margin:0;
    padding:0;
    font-size:30px;
    line-height:1;
    cursor:pointer;
  }
  .header nav{display:none;min-width:0;}
  .header nav.mobile-open,.header.scrolled nav.mobile-open{
    display:flex;
    position:absolute !important;
    top:100%;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    justify-self:stretch !important;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    padding:18px max(22px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));
    max-height:calc(100vh - 72px - env(safe-area-inset-top));
    max-height:calc(100dvh - 72px - env(safe-area-inset-top));
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    background:rgba(247,245,242,.99);
    border-top:1px solid rgba(181,18,27,.16);
    border-bottom:1px solid #ded6cd;
    box-shadow:0 24px 50px rgba(15,15,15,.16);
    z-index:11;
  }
  .header nav.mobile-open::before{
    content:"Навигация";display:block;padding:2px 2px 12px;
    color:#8b837b;font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  }
  .header nav.mobile-open>a{
    display:flex;align-items:center;justify-content:space-between;flex-shrink:0;
    width:100%;min-height:50px;padding:0 2px;border-bottom:1px solid #e2dbd4;
    color:#181818;font-size:14px;font-weight:600;letter-spacing:.11em;text-align:left;
  }
  .header nav.mobile-open>a::after{
    content:"→";position:static;width:auto;height:auto;background:none;
    transform:none;color:var(--red);font-size:18px;font-weight:400;line-height:1;
  }
  .header nav.mobile-open .mobile-messengers{
    display:flex !important;flex-shrink:0;align-items:center;justify-content:center;
    gap:18px;margin-top:14px;padding-top:14px;
  }
  .header nav.mobile-open .mobile-messengers .messenger-link{
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
    width:44px;min-width:44px;height:44px;min-height:44px;
    padding:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;
  }
  .header nav.mobile-open .mobile-messengers .messenger-link::after{content:none !important;display:none !important;}
  .header nav.mobile-open .mobile-messengers .messenger-link img{width:34px;height:34px;}
  .header nav.mobile-open .mobile-menu-cta{
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
    width:100%;min-height:52px;margin-top:18px;padding:0 20px;
    border:0;background:var(--red);color:#fff;font-size:14px;font-weight:700;letter-spacing:.02em;box-shadow:none;
  }
  .header nav.mobile-open .mobile-menu-cta::before{display:none;}
  .header nav.mobile-open .mobile-menu-cta:hover{transform:none;background:#c51620;box-shadow:none;}
  .header .menu[aria-expanded="true"]{color:var(--red);}
  #series,#tech,#awards,#showroom{scroll-margin-top:calc(88px + env(safe-area-inset-top));}
}
@media (max-width:900px){
  .header,.header.scrolled{
    grid-template-columns:minmax(0,1fr) max-content max-content;
    gap:8px;
    padding-left:max(16px,env(safe-area-inset-left));
    padding-right:max(14px,env(safe-area-inset-right));
  }
  .header .header-cta{display:none;}
  .header .head-phone{font-size:12px;}
}
@media (max-width:390px){
  .header .head-phone{font-size:11px;}
}
