/* Shared header; home blends into its full-width hero. */
.ps-header-v2{background:#0f172af5}
.ps-header-v2 .ps-header-inner{gap:24px;min-height:96px;padding-block:18px}
.ps-header-v2 .ps-logo img{height:54px}
.ps-header-v2 .ps-nav{justify-content:flex-start;flex:1}
.ps-header-menu,.ps-submenu{list-style:none;margin:0;padding:0}
.ps-header-menu{display:flex;align-items:center;gap:14px;width:100%;justify-content:space-evenly}
.ps-header-item{position:relative;min-width:0}
.ps-header-item-top{display:flex;align-items:center;border-radius:10px}
.ps-header-v2 .ps-header-item-top>a{padding:10px 4px;font-size:15px;font-weight:600;color:#f8fafc;white-space:nowrap}
.ps-header-v2 .ps-header-item-top>a:hover{background:transparent;color:#80bdff}
.ps-header-item.is-current>.ps-header-item-top{background:#ffffff0c}
.ps-submenu-toggle{display:flex;align-items:center;justify-content:center;width:28px;height:38px;color:#cbd5e1;cursor:pointer;border-radius:6px;flex-shrink:0}
.ps-submenu-toggle svg{width:16px;height:16px;transition:transform .2s}
.ps-submenu-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.ps-submenu-toggle:hover{background:#ffffff16;color:#80bdff}
.ps-header-v2 .ps-submenu{position:absolute;top:calc(100% + 12px);left:0;z-index:60;width:310px;padding:10px;border:1px solid #334155;border-radius:14px;background:#102238;box-shadow:0 18px 48px #02061766;max-height:60vh;overflow:auto}
.ps-submenu[hidden]{display:none}
.ps-header-v2 .ps-submenu a{display:block;white-space:normal;font-size:14px;padding:10px 12px;line-height:1.45;border-radius:7px;color:#dbeafe}
.ps-header-v2 .ps-submenu a:hover{background:#2563eb;color:white}
.ps-header-v2 .ps-header-phone{display:flex;border:0;padding:14px 18px;background:#0755ff;color:#fff;border-radius:12px;font:600 15px/1.4 Inter,sans-serif;gap:8px;margin:0}
.ps-header-v2 .ps-header-phone svg{color:white;width:18px;height:18px}
.ps-header-v2 .ps-header-phone:hover{background:#2563eb}
.ps-search-toggle{display:flex;width:46px;height:46px;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #ffffff40;border-radius:12px;color:white;background:#ffffff06;cursor:pointer}
.ps-search-toggle svg{width:23px;height:23px}
.ps-search-toggle:hover{background:#ffffff18}
.ps-header-home{background:#06182b;border-bottom:0;backdrop-filter:none;position:relative}
.ps-header-home .ps-header-inner{background:transparent}
.ps-search-dialog form>label{display:block;font-size:16px;margin:20px 0 10px}
.ps-search-dialog form>div{display:flex;gap:12px}
.ps-search-dialog input{min-width:0;flex:1;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:16px}
.ps-home-hero{background:#06182b url('hero-background.webp') center/cover no-repeat;color:#fff;overflow:hidden}
.ps-hero-inner{position:relative;max-width:1440px;margin:auto;padding:30px 32px 38px;display:grid;grid-template-columns:1.05fr 1fr;align-items:center}
.ps-hero-copy{position:relative;z-index:2;padding-block:12px 40px}
.ps-hero-badge{display:inline-block;border:1px solid #9fb4cc66;border-radius:30px;padding:7px 14px;background:linear-gradient(100deg,#ffffff08,#1356b32b);font-size:14px;color:#f8fafc;margin:0 0 22px!important}
.ps-hero-badge span{color:#80bdff;white-space:nowrap}
.ps-home-hero h1{color:#fff;font-size:clamp(34px,3.5vw,52px);line-height:1.07;letter-spacing:-.025em;font-weight:800;margin:0 0 18px;overflow-wrap:normal}
.ps-hero-lead{font-size:19px;line-height:1.4;max-width:610px;margin-bottom:26px!important;color:#f1f5f9}
.ps-hero-actions{display:flex;gap:18px;align-items:stretch}
.ps-hero-actions .ps-button{font-size:17px;padding:16px 22px;gap:14px;background:#0755ff;white-space:nowrap}
.ps-hero-actions .ps-button:hover{background:#2563eb}
.ps-hero-actions .ps-hero-catalog{border-color:#ffffff60;background:#ffffff08;color:#fff}
.ps-hero-catalog svg{width:24px;height:24px;color:#80bdff;flex-shrink:0}
.ps-hero-visual{position:relative;align-self:stretch;margin:-35px -65px -10px -40px;min-height:430px;pointer-events:none}
.ps-hero-visual img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:57% center;mask-image:linear-gradient(to right,transparent,#000 15%,#000 85%,transparent);}
.ps-hero-note{position:absolute;right:0;top:55%;font-size:17px;line-height:1.3;padding-left:24px;color:white;text-shadow:0 1px 5px #06182b;max-width:180px}
.ps-hero-note:before{content:'';position:absolute;left:0;top:0;width:2px;height:72px;background:#a5d3ff;transform:rotate(18deg);transform-origin:top}
.ps-hero-benefits{position:relative;z-index:2;grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:10px 0 0;padding:0;gap:28px}
.ps-hero-benefits li{display:flex;align-items:center;gap:20px;padding:0 24px 0 0;font-size:15px;line-height:1.35;border-right:1px solid #a5d3ff55;color:#fff}
.ps-hero-benefits li:last-child{border:0;padding-right:0}
.ps-hero-benefits svg{width:42px;height:48px;flex-shrink:0;color:#80bdff}
@media(min-width:1024px) and (max-width:1650px){
 .ps-header-v2 .ps-header-inner{gap:14px;padding-inline:24px}
 .ps-header-v2 .ps-header-item-top>a{font-size:13px}
 .ps-header-menu{gap:8px}
 .ps-header-v2 .ps-header-phone{font-size:13px;padding:12px}
 .ps-header-v2 .ps-header-phone svg{display:none}
 .ps-header-v2 .ps-logo img{height:42px}
 .ps-search-toggle{width:40px;height:40px}
 .ps-home-hero h1{font-size:38px}
 .ps-hero-lead{font-size:17px}
 .ps-hero-actions{gap:10px;flex-wrap:wrap}
 .ps-hero-actions .ps-button{font-size:15px;padding:14px 18px}
 .ps-hero-note{right:20px;font-size:14px}
 .ps-hero-benefits{gap:16px}
 .ps-hero-benefits li{font-size:13px;gap:12px;padding-right:16px}
}
@media(max-width:1399px){
 .ps-header-v2 .ps-header-inner{min-height:80px;padding:16px 24px;gap:14px}
 .ps-header-v2 .ps-logo img{height:46px}
 .ps-header-v2 .ps-header-phone{display:none}
 .ps-header-v2 .ps-search-toggle{margin-left:auto;width:44px;height:44px}
 .ps-header-v2 .ps-menu-toggle{display:flex;align-items:center;justify-content:center;margin:0;width:44px;height:44px;padding:8px;border:1px solid #ffffff40;border-radius:12px;color:#fff}
 .ps-header-v2 .ps-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#0c1b2f;padding:16px 24px;max-height:calc(100dvh - 100px);overflow:auto;border-top:1px solid #ffffff20;box-shadow:0 18px 32px #0003}
 .ps-header-v2 .ps-nav.is-open{display:block}
 .ps-header-menu{display:block}
 .ps-header-item-top{justify-content:space-between}
 .ps-header-v2 .ps-header-item-top>a{font-size:17px;padding:13px 10px;white-space:normal;flex:1}
 .ps-header-v2 .ps-submenu-toggle{height:44px;width:44px}
 .ps-header-v2 .ps-submenu{position:static;width:100%;max-height:none;box-shadow:none;margin:4px 0 10px;border:0;background:#ffffff06}
 .ps-header-v2 .ps-submenu a{font-size:15px}
 .ps-header-v2 .ps-mobile-contacts{display:grid;gap:12px;padding:18px 10px 8px;margin-top:14px;border-top:1px solid #334155}
 .ps-header-v2 .ps-mobile-contacts a{display:flex;align-items:center;gap:10px;padding:0;font:14px/1.5 'JetBrains Mono',monospace;white-space:normal;overflow-wrap:anywhere}
 .ps-mobile-contacts svg{width:18px;height:18px;color:#80bdff;flex-shrink:0}
}
@media(max-width:800px){
 .ps-hero-inner{grid-template-columns:1fr;padding:22px 24px 32px}
 .ps-hero-copy{padding:0;z-index:2}
 .ps-home-hero h1{font-size:clamp(32px,7.8vw,48px);line-height:1.12;margin-bottom:18px}
 .ps-hero-badge{font-size:13px;padding:7px 12px;margin-bottom:22px!important}
 .ps-hero-lead{font-size:17px;line-height:1.4;max-width:600px}
 .ps-hero-actions{flex-direction:column;gap:12px}
 .ps-hero-actions .ps-button{font-size:17px;padding:17px 16px;white-space:normal}
 .ps-hero-visual{height:410px;min-height:0;margin:0 -24px;overflow:hidden}
 .ps-hero-visual img{object-fit:cover;object-position:58% center;mask-image:linear-gradient(to bottom,transparent,#000 10%,#000 85%,transparent)}
 .ps-hero-note{top:48%;right:14px;font-size:13px;max-width:122px;padding-left:18px}
 .ps-hero-benefits{grid-template-columns:1fr;gap:0;margin-top:8px;padding:0 8px}
 .ps-hero-benefits li{font-size:15px;border-right:0;padding:17px 0;gap:24px;position:relative}
 .ps-hero-benefits li+li:before{content:'';position:absolute;top:0;left:66px;right:0;border-top:1px solid #a5d3ff33}
 .ps-hero-benefits li:last-child{padding:17px 0}
 .ps-hero-benefits svg{width:42px;height:44px}
 .ps-search-dialog form>div{flex-direction:column}
}
@media(min-width:801px) and (max-width:1023px){.ps-home-hero h1{font-size:36px}.ps-hero-actions{flex-direction:column}.ps-hero-note{display:none}.ps-hero-benefits{grid-template-columns:1fr 1fr}.ps-hero-benefits li:nth-child(2){border:0}}
.admin-bar .ps-header-home{top:0}
.ps-home-hero{background-image:linear-gradient(to bottom,#06182b,transparent 90px),url('hero-background.webp')}
.ps-hero-visual img{mask-image:linear-gradient(to right,transparent,#000 15%,#000 85%,transparent),linear-gradient(to bottom,transparent,#000 10%,#000 88%,transparent);mask-composite:intersect}
@media(min-width:1451px){.ps-hero-note{max-width:none;width:190px;right:-16px;font-size:17px}}
@media(max-width:800px){.ps-hero-visual img{mask-image:linear-gradient(to bottom,transparent,#000 10%,#000 85%,transparent)}}
@media(max-width:800px){
 .ps-hero-visual img{width:150%;max-width:none;left:-50%;object-position:center;mask-image:linear-gradient(to bottom,transparent,#000 10%,#000 85%,transparent)}
 .ps-hero-note{right:12px;max-width:112px;font-size:12px;top:51%}
}
@media(max-width:1399px){.admin-bar .ps-header-v2 .ps-nav{max-height:calc(100dvh - 130px)}}
@media(min-width:1024px) and (max-width:1399px){.ps-header-v2 .ps-nav{max-height:calc(83.333dvh - 100px)}.admin-bar .ps-header-v2 .ps-nav{max-height:calc(83.333dvh - 130px)}}

/* Keep the desktop sensor and its annotation within the hero content boundary. */
@media(min-width:1024px){
 .ps-hero-visual{margin-right:0;margin-left:-105px}
 .ps-hero-note{right:0}
}

/* The header scrolls with the page, including internal pages. */
.ps-header-v2,.admin-bar .ps-header-v2{position:relative;top:0}


/* Use the open space before the sensor without moving the artwork. */
@media(min-width:1024px){
 .ps-hero-copy{width:calc(100% + 80px)}
 .ps-hero-lead{max-width:720px}
}
@media(min-width:1451px){
 .ps-hero-copy{width:calc(100% + 120px)}
 .ps-hero-lead{max-width:760px}
}
