/* ========== NAVBAR ========== */
.navbar{position:fixed;top:0;left:0;width:100%;z-index:1000;padding:16px 0;transition:all .4s;background:rgba(8,24,58,.95);backdrop-filter:blur(20px);box-shadow:0 4px 30px rgba(0,0,0,.15)}
.navbar.scrolled{padding:10px 0}
.navbar .container{display:flex;align-items:center;justify-content:space-between}
.nav-logo img{height:40px}
.nav-logo{font-family:var(--font-heading);font-size:1.5rem;font-weight:800;color:var(--white);display:flex;align-items:center;gap:10px}
.nav-logo span{color:var(--orange)}
.nav-menu{display:flex;gap:0;align-items:center}
.nav-item{position:relative}
.nav-item>a{color:var(--white);font-family:var(--font-heading);font-size:.78rem;font-weight:400;padding:10px 18px;display:flex;align-items:center;gap:6px;transition:color .3s;white-space:nowrap;letter-spacing:.5px}
.nav-item>a:hover,.nav-item:hover>a{color:var(--white)}
.nav-item>a .chevron{width:12px;height:12px;fill:currentColor;transition:transform .3s}
.nav-item:hover>a .chevron{transform:rotate(180deg)}

/* Mega dropdown */
.mega-dropdown{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(10px);opacity:0;visibility:hidden;pointer-events:none;transition:all .3s;background:var(--white);border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:28px 32px;min-width:280px;box-shadow:0 20px 60px rgba(0,0,0,.12)}
.nav-item:hover .mega-dropdown{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}

/* Mega products */
.mega-products{min-width:720px;display:grid;grid-template-columns:220px 1fr}
.mega-products .mega-left{border-right:1px solid rgba(0,0,0,.08);padding-right:24px}
.mega-products .mega-right{padding-left:24px;min-height:240px}
.mega-cat-list{display:flex;flex-direction:column;gap:2px}
.mega-cat-item{padding:10px 16px;border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;transition:all .25s;color:var(--navy);font-size:.88rem;font-weight:500}
.mega-cat-item:hover,.mega-cat-item.active{background:rgba(232,114,12,.08);color:var(--orange)}
.mega-cat-item.active{border-left:3px solid var(--orange)}
.mega-cat-item .cat-arrow{width:14px;height:14px;fill:rgba(8,24,58,.3);transition:all .25s}
.mega-cat-item:hover .cat-arrow,.mega-cat-item.active .cat-arrow{fill:var(--orange);transform:translateX(3px)}
.mega-sub-panel{display:none;flex-direction:column;gap:4px}
.mega-sub-panel.active{display:flex}
.mega-sub-panel h5{font-family:var(--font-heading);font-size:.75rem;color:var(--orange);margin-bottom:8px;text-transform:uppercase;letter-spacing:1px}
.mega-sub-link{padding:10px 14px;border-radius:8px;color:var(--navy);font-size:.88rem;font-weight:400;transition:all .25s;display:flex;align-items:center;gap:10px}
.mega-sub-link:hover{background:rgba(232,114,12,.06);color:var(--orange);transform:translateX(4px)}
.mega-sub-link .sub-dot{width:6px;height:6px;border-radius:50%;background:rgba(232,114,12,.4);flex-shrink:0}
.mega-sub-link:hover .sub-dot{background:var(--orange)}

/* Mega simple */
.mega-simple{min-width:240px}
.mega-simple-list{display:flex;flex-direction:column;gap:2px}
.mega-simple-link{padding:10px 14px;border-radius:8px;color:var(--navy);font-size:.88rem;font-weight:400;transition:all .25s;display:flex;align-items:center;gap:10px}
.mega-simple-link:hover{background:rgba(232,114,12,.04);color:var(--orange);transform:translateX(4px)}
.mega-simple-link .si-icon{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,rgba(232,114,12,.06),rgba(232,114,12,.14));border:1px solid rgba(232,114,12,.1);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .25s}
.mega-simple-link:hover .si-icon{background:var(--orange);border-color:var(--orange)}
.mega-simple-link .si-icon svg{width:24px;height:24px;color:var(--orange);fill:none;transition:all .25s}
.mega-simple-link:hover .si-icon svg{color:var(--white)}

/* Mega engineering */
.mega-eng{min-width:480px;display:grid;grid-template-columns:1fr 1fr;gap:24px}
.mega-eng-col h5{font-family:var(--font-heading);font-size:.72rem;color:var(--orange);margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}

/* Nav right */
.nav-right{display:flex;align-items:center;gap:16px}
.lang-toggle{display:flex;border:1px solid rgba(255,255,255,.3);border-radius:8px;overflow:hidden}
.lang-toggle a,.lang-toggle button{background:transparent;border:none;color:rgba(255,255,255,.6);padding:6px 14px;font-size:.8rem;font-weight:600;cursor:pointer;font-family:var(--font-body);transition:all .3s;text-decoration:none;display:inline-block}
.lang-toggle a.active,.lang-toggle button.active{background:var(--orange);color:var(--white)}
.nav-cta{background:var(--orange);color:var(--white);padding:10px 24px;border-radius:10px;font-weight:600;font-size:.85rem;transition:all .3s;border:2px solid transparent}
.nav-cta:hover{background:transparent;border-color:var(--orange);color:var(--orange)}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px}
.hamburger span{width:24px;height:2px;background:var(--white);transition:all .3s;border-radius:2px}

/* ========== BREADCRUMB ========== */
.breadcrumb-section{background:var(--navy);padding:120px 0 0}
.breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.breadcrumb a{color:rgba(255,255,255,.5);font-size:.85rem;transition:color .3s}
.breadcrumb a:hover{color:var(--orange)}
.breadcrumb .sep{color:rgba(255,255,255,.25);font-size:.75rem}
.breadcrumb .current{color:var(--orange);font-size:.85rem;font-weight:600}

/* ========== FOOTER ========== */
.footer{background:var(--footer);color:var(--white);padding:80px 0 0}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px;margin-bottom:60px}
.footer-brand p{color:rgba(255,255,255,.5);font-size:.9rem;line-height:1.7;margin-top:16px;max-width:280px}
.footer-socials{display:flex;gap:12px;margin-top:20px}
.footer-socials a{width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;transition:all .3s}
.footer-socials a:hover{background:var(--orange)}
.footer-socials a svg{width:18px;height:18px;fill:rgba(255,255,255,.6);transition:fill .3s}
.footer-socials a:hover svg{fill:var(--white)}
.footer-col h4{font-family:var(--font-heading);font-size:1rem;margin-bottom:20px}
.footer-col ul{display:flex;flex-direction:column;gap:12px}
.footer-col a{color:rgba(255,255,255,.5);font-size:.88rem;transition:color .3s}
.footer-col a:hover{color:var(--orange)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.06);padding:24px 0;display:flex;justify-content:space-between;align-items:center}
.footer-bottom p{color:rgba(255,255,255,.35);font-size:.82rem}
.footer-bottom a{color:rgba(255,255,255,.35);font-size:.82rem;transition:color .3s}
.footer-bottom a:hover{color:var(--orange)}
.footer-legal{display:flex;gap:24px}

/* ========== MOBILE MENU ========== */
.mobile-menu{display:none}
.mm-header,.mm-content,.mm-footer,.mm-section,.mm-sub,.mm-link{display:none}

@media(max-width:1024px){
  .nav-menu,.nav-cta,.mega-dropdown{display:none}
  .hamburger{display:flex}
  .mobile-menu{display:flex;position:fixed;inset:0;background:#000;z-index:1001;flex-direction:column;opacity:0;transform:scale(.97);transition:all .4s cubic-bezier(.4,0,.2,1);pointer-events:none}
  .mobile-menu::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--orange) 0%,transparent 100%);opacity:.4}
  .mobile-menu.open{opacity:1;transform:scale(1);pointer-events:auto}
  .mm-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid rgba(232,114,12,.15);flex-shrink:0}
  .mm-header img{height:32px}
  .mm-close{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:10px;cursor:pointer;color:var(--white);font-size:18px;transition:all .3s;border:none}
  .mm-close:hover{background:rgba(232,114,12,.15)}
  .mm-content{display:flex;flex:1;flex-direction:column;overflow-y:auto;padding:8px 0;scrollbar-width:thin;scrollbar-color:rgba(232,114,12,.3) transparent}
  .mm-section{display:block;border-bottom:1px solid rgba(232,114,12,.08)}
  .mm-section-btn{width:100%;display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:transparent;border:none;color:var(--white);font-family:var(--font-heading);font-size:.85rem;font-weight:400;letter-spacing:.5px;cursor:pointer;transition:all .25s;text-align:left}
  .mm-section-btn:hover{background:rgba(232,114,12,.06);padding-left:28px}
  .mm-section.expanded .mm-section-btn{background:rgba(232,114,12,.08);border-left:3px solid var(--orange);padding-left:21px}
  .mm-section-btn .mm-chev{width:14px;height:14px;stroke:var(--orange);fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s;flex-shrink:0}
  .mm-section.expanded .mm-section-btn .mm-chev{transform:rotate(180deg)}
  .mm-sub{display:block;max-height:0;overflow:hidden;transition:max-height .35s cubic-bezier(.4,0,.2,1);background:rgba(0,0,0,.1)}
  .mm-section.expanded .mm-sub{max-height:500px}
  .mm-sub a{display:flex;align-items:center;gap:10px;padding:12px 24px 12px 36px;color:rgba(255,255,255,.9);font-size:.9rem;font-weight:500;text-decoration:none;transition:all .2s;border-left:2px solid transparent}
  .mm-sub a:hover{color:var(--orange);background:rgba(232,114,12,.06);padding-left:40px;border-left-color:var(--orange)}
  .mm-sub .mm-dot{width:6px;height:6px;border-radius:50%;background:rgba(232,114,12,.4);flex-shrink:0}
  .mm-link{display:flex;align-items:center;padding:16px 24px;color:var(--white);font-family:var(--font-heading);font-size:.85rem;font-weight:400;letter-spacing:.5px;text-decoration:none;transition:all .25s;border-bottom:1px solid rgba(232,114,12,.08)}
  .mm-link:hover{background:rgba(232,114,12,.06);padding-left:28px}
  .mm-footer{display:block;padding:16px 24px;border-top:1px solid rgba(232,114,12,.15);flex-shrink:0}
  .mm-socials{display:flex;justify-content:space-around;margin-bottom:16px;padding:0 24px}
  .mm-socials a{width:44px;height:44px;display:flex;align-items:center;justify-content:center;transition:all .3s}
  .mm-socials svg{width:24px;height:24px;fill:#fff}
  .mm-socials a:hover svg{fill:var(--orange)}
  .mm-footer .btn-primary{width:100%;justify-content:center;background:linear-gradient(135deg,var(--orange),var(--orange-dark));border:none;padding:16px;border-radius:12px;color:var(--white);font-family:var(--font-heading);font-weight:400;font-size:.9rem;letter-spacing:.5px;display:flex;align-items:center;gap:8px;text-decoration:none}
  .footer-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:768px){
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:12px;text-align:center}
  .footer-legal{justify-content:center}
}

@media(max-width:480px){
  .footer-legal{flex-wrap:wrap;justify-content:center;gap:12px 16px}
}

/* Breadcrumb (bc) + Page Header (ph) — global info-page hero, used by info.njk layout */
.bc{background:var(--navy);padding:120px 0 0}
.bc nav{display:flex;align-items:center;gap:8px}
.bc a{color:rgba(255,255,255,.5);font-size:.85rem}
.bc a:hover{color:var(--orange)}
.bc .sep{color:rgba(255,255,255,.25);font-size:.75rem}
.bc .cur{color:var(--orange);font-size:.85rem;font-weight:600}
.ph{background:var(--navy);padding:40px 0 80px;text-align:center;position:relative;overflow:hidden}
.ph::before{content:'';position:absolute;top:0;right:0;width:600px;height:600px;background:radial-gradient(circle,rgba(232,114,12,.06),transparent 70%);pointer-events:none}
.ph .container{max-width:900px;position:relative;z-index:2}
.ph h1{font-family:var(--font-heading);font-size:clamp(2rem,4vw,3rem);color:var(--white);margin-bottom:16px}
.ph h1 em{color:var(--orange);font-style:normal}
.ph p{color:rgba(255,255,255,.55);font-size:1.05rem;max-width:650px;margin:0 auto;line-height:1.7}
.ph-stats{display:flex;justify-content:center;gap:48px;margin-top:40px;flex-wrap:wrap}
.ph-stat{text-align:center}
.ph-stat .num{font-family:var(--font-heading);font-size:2rem;font-weight:800;color:var(--orange)}
.ph-stat .label{font-size:.8rem;color:rgba(255,255,255,.45);margin-top:4px}
.cta-band{background:var(--orange);padding:80px 0;position:relative;overflow:hidden}
.cta-band::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.cta-band .container{text-align:center;position:relative;z-index:1}
.cta-band h2{font-family:var(--font-heading);font-size:clamp(1.5rem,3vw,2.2rem);color:var(--white);margin-bottom:16px}
.cta-band p{color:rgba(255,255,255,.85);font-size:1.05rem;margin-bottom:32px;max-width:600px;margin-left:auto;margin-right:auto}
.cta-band .btn-white{background:var(--white);color:var(--orange);padding:16px 40px;border-radius:12px;font-weight:700;font-size:1rem;transition:all .3s;display:inline-flex;align-items:center;gap:8px;border:2px solid var(--white)}
.cta-band .btn-white:hover{background:transparent;color:var(--white);transform:translateY(-3px);box-shadow:0 10px 30px rgba(0,0,0,.2)}
/* ^cta-band moved from product.css to layout.css for global access */

/* ========== CATS SECTION (global hub wrapper) ========== */
.cats{padding:100px 0;background:var(--bg)}
.cats .container{text-align:center}
.cats .section-title{margin-bottom:48px}
.cats .cat-grid{text-align:left}

/* ========== SOLUTION DETAIL SECTIONS (global) ========== */
.detail-section{padding:80px 0;border-bottom:1px solid rgba(0,0,0,.04)}
.detail-section:nth-child(even){background:var(--bg)}
.detail-section .container{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.detail-section:nth-child(even) .container{direction:rtl}
.detail-section:nth-child(even) .container>*{direction:ltr}
.detail-section.diagram-wide .container{grid-template-columns:1fr}
.detail-content{}
.detail-visual{display:flex;align-items:center;justify-content:center}
.detail-icon-box{width:200px;height:200px;background:linear-gradient(135deg,var(--orange-light),rgba(232,114,12,.06));border:2px solid rgba(232,114,12,.1);border-radius:24px;display:flex;align-items:center;justify-content:center}
.detail-icon-box svg{width:80px;height:80px;stroke:var(--orange);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;opacity:.4}
.detail-list{display:flex;flex-direction:column;gap:10px;margin-top:20px}
.detail-list-item{display:flex;align-items:center;gap:10px;font-size:.88rem;color:var(--navy)}
.detail-list-item::before{content:'';width:8px;height:8px;background:var(--orange);border-radius:50%;flex-shrink:0}
.product-link{display:inline-flex;align-items:center;gap:6px;background:var(--orange-light);color:var(--orange);padding:8px 16px;border-radius:100px;font-size:.82rem;font-weight:600;margin-right:8px;margin-top:8px;transition:all .3s;border:1px solid rgba(232,114,12,.15)}
.product-link:hover{background:var(--orange);color:var(--white)}
.blog-link{display:inline-flex;align-items:center;gap:6px;color:var(--orange);font-size:.88rem;font-weight:600;margin-top:20px;transition:gap .3s}
.blog-link:hover{gap:10px}
@media(max-width:1024px){
  .detail-section .container{grid-template-columns:1fr}
  .detail-section:nth-child(even) .container{direction:ltr}
  .detail-visual{order:-1}
}
