/* TITANIUM — homepage visual concept. All text, structure, links and forms preserved. */
body:has(#home.hero){background:#e8edf1;color:#182c40}
body:has(#home.hero) .hero{position:relative;isolation:isolate;overflow:hidden;color:#10253c;background:linear-gradient(117deg,#f8fafc 0%,#e8eef4 39%,#c4d0dc 70%,#8fa6bd 100%)}
body:has(#home.hero) .hero:before{content:"";position:absolute;left:0;top:12%;bottom:12%;width:3px;background:linear-gradient(#a2c5ff,#1269ed,#a2c5ff);z-index:2;pointer-events:none}
body:has(#home.hero) .hero:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(115deg,transparent 0,transparent 110px,rgba(255,255,255,.07) 111px,transparent 112px);pointer-events:none;z-index:0}
body:has(#home.hero) .hero-copy{position:relative;z-index:2}
body:has(#home.hero) .hero h1{color:#10243b;letter-spacing:-.058em;text-shadow:none}
body:has(#home.hero) .hero h1 em{color:#176be7;font-style:normal}
body:has(#home.hero) .hero-copy p{color:#3c536b}
body:has(#home.hero) .hero-art{position:relative}
body:has(#home.hero) .hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(234,241,247,.30),transparent 40%);pointer-events:none}
body:has(#home.hero) .hero-illustration{filter:saturate(1.13) contrast(1.13) brightness(1.03)}
body:has(#home.hero) .art-caption{color:#eaf2ff;background:rgba(14,35,57,.8);border:1px solid rgba(190,215,243,.36);backdrop-filter:blur(10px)}
body:has(#home.hero) .hero .button:not(.outline){background:#1269e8;border-color:#1269e8;color:#fff;box-shadow:0 10px 28px rgba(16,93,211,.20)}
body:has(#home.hero) .hero .button.outline{border-color:#4c85d6;color:#1556b6;background:rgba(255,255,255,.72)}
body:has(#home.hero) #products.products-section{background:linear-gradient(180deg,#e8edf1,#f1f4f7)!important;border-bottom:1px solid #bfcbd6;padding-top:58px;padding-bottom:76px}
body:has(#home.hero) #products .product-feature{border:1px solid #c3ceda;border-radius:18px;overflow:hidden;box-shadow:0 15px 38px rgba(19,44,66,.12);transition:transform .25s ease,box-shadow .25s ease}
body:has(#home.hero) #products .product-feature:hover{transform:translateY(-3px);box-shadow:0 22px 46px rgba(19,44,66,.18)}
body:has(#home.hero) #products .product-feature-content{background:linear-gradient(142deg,#2b435b,#152a40 78%);border-left:1px solid rgba(176,203,230,.3)}
body:has(#home.hero) #products .product-feature .eyebrow{color:#94bfff;letter-spacing:.15em}
body:has(#home.hero) #products .product-feature h3{letter-spacing:-.035em}
body:has(#home.hero) #products .product-feature-image img{filter:contrast(1.09) saturate(.93)}
body:has(#home.hero) .advantages{position:relative;color:#f8fbff;background:linear-gradient(115deg,#10283d,#203c56 60%,#132b43)}
body:has(#home.hero) .advantages:before{content:"";position:absolute;inset:0;background:linear-gradient(125deg,rgba(46,122,240,.11),transparent 55%);pointer-events:none}
body:has(#home.hero) .advantages h2,body:has(#home.hero) .advantages h3{color:#fff}
body:has(#home.hero) .advantages h2 span{color:#8db9ff}
body:has(#home.hero) .advantages p{color:#cedce9}
body:has(#home.hero) .advantages .adv-grid article{border-color:rgba(190,209,232,.25);background:rgba(255,255,255,.045);border-radius:12px}
body:has(#home.hero) .applications{background:#eef2f5;color:#13283c}
body:has(#home.hero) .applications h2,body:has(#home.hero) .applications h3{color:#13283c}
body:has(#home.hero) .applications h2 span{color:#176be7}
body:has(#home.hero) .application-card{background:#fafcfe;border:1px solid #cbd6e0;border-radius:15px;overflow:hidden;box-shadow:0 12px 30px rgba(24,50,75,.08)}
body:has(#home.hero) .process{background:linear-gradient(160deg,#dce5ed,#edf2f6);color:#172d43}
body:has(#home.hero) .process h2,body:has(#home.hero) .process h3{color:#14283e}
body:has(#home.hero) .process h2 span{color:#176be7}
body:has(#home.hero) .process .steps>div{border:1px solid #c2d0dc;background:rgba(255,255,255,.8);border-radius:13px;box-shadow:0 10px 24px rgba(25,56,82,.05)}
body:has(#home.hero) .contact{background:linear-gradient(115deg,#0f253b,#1c3b59 67%,#2a5682);color:#f7fbff}
body:has(#home.hero) .contact h2{color:#fff}
body:has(#home.hero) .contact h2 span{color:#a0c4ff}
body:has(#home.hero) .contact .button{background:#1269e8;border-color:#1269e8}
@media(max-width:780px){body:has(#home.hero) .hero{background:linear-gradient(155deg,#f6f9fc 0%,#d5e0eb 100%)}body:has(#home.hero) .hero:before{top:8%;bottom:58%}body:has(#home.hero) #products.products-section{padding-top:30px;padding-bottom:44px}body:has(#home.hero) #products .product-feature-content{border-left:0}}
@media(prefers-reduced-motion:reduce){body:has(#home.hero) #products .product-feature{transition:none}}

/* TITANIUM V2: polished silver/steel finish inspired by approved visual concept. */
body:has(#home.hero){background:#eaf0f5}
body:has(#home.hero) .hero{background:linear-gradient(100deg,#f7fafd 0%,#e7eff6 41%,#c5d4e1 100%)}
body:has(#home.hero) .hero-copy{padding-left:clamp(22px,3vw,52px)}
body:has(#home.hero) .hero-copy:before{content:"";position:absolute;left:clamp(4px,1vw,14px);top:8px;height:clamp(120px,43%,280px);width:3px;background:linear-gradient(#6aa3ff,#1269e8);border-radius:5px}
body:has(#home.hero) .hero h1{font-family:Manrope,Arial,sans-serif;font-weight:850;letter-spacing:-.045em!important;line-height:1.08!important;color:#10253d}
body:has(#home.hero) .hero h1 em{background:linear-gradient(95deg,#438bff,#0757c6);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
body:has(#home.hero) .hero-art{filter:drop-shadow(0 15px 24px rgba(28,61,99,.14))}
body:has(#home.hero) .hero-art:after{background:linear-gradient(90deg,rgba(236,243,249,.27),transparent 40%)}
body:has(#home.hero) #products.products-section{background:linear-gradient(155deg,#e5edf4,#f4f7fa 55%,#e4edf5)!important}
body:has(#home.hero) #products .product-feature{border-color:#c3d1df;box-shadow:0 18px 36px rgba(29,53,79,.11)}
body:has(#home.hero) #products .product-feature-content{background:linear-gradient(128deg,#2d4863 0%,#1c3046 62%,#13253a 100%)}
body:has(#home.hero) .advantages{background:linear-gradient(110deg,#10263c 0%,#213a52 65%,#0f2b48 100%)}
body:has(#home.hero) .applications{background:linear-gradient(160deg,#f4f7fa,#e7eef5)}
body:has(#home.hero) .process{background:linear-gradient(135deg,#dbe5ef,#f1f5f8)}
body:has(#home.hero) .contact{background:linear-gradient(110deg,#0b2036,#1c3b59 65%,#285a8d)}
body:has(#home.hero) .button,body:has(#home.hero) .milnar-catalog-cta a{transition:transform .18s ease,box-shadow .18s ease}
body:has(#home.hero) .button:hover,body:has(#home.hero) .milnar-catalog-cta a:hover{transform:translateY(-2px)}
@media(max-width:780px){body:has(#home.hero) .hero-copy{padding-left:20px}body:has(#home.hero) .hero-copy:before{left:4px;top:5px;height:120px}}
@media(prefers-reduced-motion:reduce){body:has(#home.hero) .button,body:has(#home.hero) .milnar-catalog-cta a{transition:none}}

/* Titanium V2.1 — fixes for hero seam, heading overflow and advantage cards. */
body:has(#home.hero) #home.hero {
  display:block!important; position:relative; isolation:isolate; min-height:clamp(620px,45vw,780px);
  overflow:hidden; background:#e8eef5!important;
}
body:has(#home.hero) #home.hero::before {
  content:""; position:absolute; inset:0; width:auto; height:auto; left:0; top:0; bottom:0;
  background:linear-gradient(90deg,rgba(247,250,253,.97) 0%,rgba(237,244,250,.91) 32%,rgba(232,240,247,.28) 55%,rgba(232,240,247,0) 78%),url("assets/hero-blend.webp") center center / cover no-repeat;
  z-index:0; pointer-events:none; border:0;
}
body:has(#home.hero) #home.hero::after {display:none!important}
body:has(#home.hero) #home.hero .hero-art {display:none!important}
body:has(#home.hero) #home.hero .hero-copy {
  position:relative; z-index:1; width:min(57%,850px); max-width:100%;
  padding:clamp(70px,7vw,120px) 30px 75px clamp(35px,4.7vw,90px);
}
body:has(#home.hero) #home.hero .hero-copy::before {left:clamp(14px,2.2vw,42px)}
body:has(#home.hero) #home.hero h1 {
  font-size:clamp(43px,4.55vw,82px)!important; line-height:1.12!important;
  margin:0 0 36px!important; overflow-wrap:normal; word-break:normal;
  letter-spacing:-.045em!important; text-shadow:none!important;
}
body:has(#home.hero) #home.hero .hero-copy p {max-width:590px;line-height:1.7}
body:has(#home.hero) .advantages .adv-grid {align-items:stretch;gap:22px}
body:has(#home.hero) .advantages .adv-grid article {
  box-sizing:border-box; min-width:0; padding:34px 28px!important; overflow-wrap:break-word;
}
body:has(#home.hero) .advantages .adv-grid article h3 {
  margin:0 0 24px!important; font-size:clamp(20px,1.65vw,28px)!important;
  line-height:1.3!important; letter-spacing:-.025em; overflow-wrap:break-word;
}
body:has(#home.hero) .advantages .adv-grid article p {margin:0;line-height:1.7}
@media(max-width:1050px){
 body:has(#home.hero) #home.hero .hero-copy {width:65%}
 body:has(#home.hero) #home.hero h1 {font-size:clamp(40px,5.3vw,66px)!important}
}
@media(max-width:760px){
 body:has(#home.hero) #home.hero {min-height:0}
 body:has(#home.hero) #home.hero::before {background:linear-gradient(180deg,rgba(247,250,253,.97) 0%,rgba(241,246,251,.94) 55%,rgba(231,240,248,.58) 100%),url("assets/hero-blend.webp") 68% center / cover no-repeat}
 body:has(#home.hero) #home.hero .hero-copy {width:100%;padding:65px 7% 75px 9%}
 body:has(#home.hero) #home.hero .hero-copy::before {left:4%;top:62px;height:160px}
 body:has(#home.hero) #home.hero h1 {font-size:clamp(36px,8vw,60px)!important;line-height:1.13!important}
 body:has(#home.hero) .advantages .adv-grid article {padding:27px 23px!important}
}
