/* Spanish site navigation: uses the same logo, spacing and overlay treatment as the English homepage. */
.pt-site-header{background:#070d1d;color:#fff;position:relative;z-index:1000;font-family:Arial,Helvetica,sans-serif}
body.lang-pt-br.path-frontpage .pt-site-header{position:absolute;top:0;left:0;right:0;background:rgba(10,23,34,.84);border-bottom:0}
.pt-site-header__inner{max-width:1400px;min-height:80px;margin:0 auto;padding:0 30px;display:flex;align-items:center;gap:34px}
.pt-site-brand{display:flex;align-items:center;line-height:1;text-decoration:none;color:#fff;min-width:220px}
.pt-site-brand img{display:block;width:142px;height:auto;max-height:70px;object-fit:contain}
.pt-site-nav{display:flex;justify-content:center;align-items:center;gap:5px;flex:1}.pt-site-nav> a,.pt-site-product-trigger,.pt-site-lang{display:inline-flex;align-items:center;min-height:46px;padding:0 15px;color:#fff;text-decoration:none;font-size:15px;font-weight:700;text-transform:uppercase;white-space:nowrap;transition:background .18s ease,color .18s ease}
.pt-site-nav> a:hover,.pt-site-nav> a:focus,.pt-site-product-trigger:hover,.pt-site-product-trigger:focus{background:rgba(255,255,255,.13);color:#fff;outline:0}.pt-site-lang{border:1px solid rgba(255,255,255,.48);border-radius:5px;min-height:36px;padding:0 12px;font-size:13px}
.pt-site-header__inner{position:relative}.pt-site-product-item{position:static;height:100%;display:flex;align-items:center}.pt-site-product-trigger{cursor:pointer}.pt-site-megamenu{position:absolute;z-index:1200;top:80px;left:0;right:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 26px;padding:28px 40px 22px;background:#fff;color:#42474d;box-shadow:0 12px 26px rgba(4,14,31,.24);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-5px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease}.pt-site-product-item:hover .pt-site-megamenu,.pt-site-product-item:focus-within .pt-site-megamenu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.pt-site-mega-col{min-width:0;background-repeat:no-repeat;background-position:right top;background-size:auto 52px;padding-right:6px}.pt-site-mega-col--traffic{background-image:url('/images/headimg/pn-01.png')}.pt-site-mega-col--solar{background-image:url('/images/headimg/pn-02.png')}.pt-site-mega-col--controller{background-image:url('/images/headimg/pn-03.png')}.pt-site-mega-col--board{background-image:url('/images/headimg/pn-04.png')}.pt-site-mega-col--pole{background-image:url('/images/headimg/pn-05.png')}.pt-site-mega-col--new{background-image:url('/images/headimg/pn-06.png')}.pt-site-mega-col h3{margin:0 0 8px;padding:0 58px 8px 0;border-bottom:2px solid #d64c22;font-size:16px;line-height:1.25;text-transform:uppercase}.pt-site-mega-col h3 a{display:block;color:#d64c22;text-decoration:none}.pt-site-mega-col>a{display:block;padding:5px 4px;color:#42474d;text-decoration:none;font-size:13px;line-height:1.35}.pt-site-mega-col>a:before{content:'›';margin-right:7px;color:#d64c22;font-weight:800}.pt-site-mega-col>a:hover,.pt-site-mega-col>a:focus{padding-left:8px;background:#f6f3f1;color:#d64c22;outline:0}
/* The original header remains in static legacy pages for compatibility; the Spanish header above is the public navigation. */
.pt-site-product-item.is-open .pt-site-megamenu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
@media (min-width:801px){.pt-site-nav{height:80px}.pt-site-product-item{height:80px}}
body.lang-pt-br .body-header{display:none!important}
.pt-site-header + .body-header{display:none!important}
body.lang-pt-br .homepage-hero .hero-content{position:relative;z-index:2}body.lang-pt-br .homepage-hero .hero-video:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,14,31,.84),rgba(4,14,31,.38) 58%,rgba(4,14,31,.2))}
@media (max-width:800px){.pt-site-header__inner{min-height:0;gap:10px;flex-wrap:wrap;padding:13px 16px}.pt-site-brand{min-width:auto;flex:1}.pt-site-brand img{width:128px}.pt-site-nav{order:3;justify-content:flex-start;width:100%;overflow-x:auto;padding-bottom:2px;gap:2px}.pt-site-nav> a,.pt-site-product-trigger{font-size:12px;padding:0 10px;min-height:36px}.pt-site-lang{min-height:32px}.pt-site-product-item{position:relative}.pt-site-megamenu{position:fixed;top:104px;left:12px;right:12px;max-height:calc(100vh - 116px);overflow-y:auto;grid-template-columns:1fr;gap:16px;padding:20px;transform:translateY(-5px)} }
/* Keep Spanish homepage copy visible in the first viewport. The legacy hero
   reserves a large desktop video offset; the Spanish overlay header needs a
   smaller, explicit offset so visitors see the title and CTA immediately. */
body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-content{padding:190px 0 110px!important}
body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-left{margin-top:0!important;width:100%!important;max-width:760px;padding-right:0!important}
body.lang-pt-br.path-frontpage .paragraph--homepage-hero h1{color:#fff!important;font-size:clamp(34px,4vw,58px)!important;line-height:1.08!important;margin:0 0 16px!important;text-shadow:0 2px 18px rgba(0,0,0,.28)}
body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-content p{color:#fff!important}
body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-video img.vjs-tech{object-position:center center!important}
@media(max-width:767px){body.lang-pt-br.path-frontpage .pt-site-header{position:relative!important;background:#070d1d!important}body.lang-pt-br.path-frontpage .pt-site-header__inner{display:flex;min-height:auto;align-items:center;flex-wrap:wrap;padding:12px 14px 8px}body.lang-pt-br.path-frontpage .pt-site-brand{flex:1 1 100%;justify-content:center}body.lang-pt-br.path-frontpage .pt-site-brand img{width:132px}body.lang-pt-br.path-frontpage .pt-site-nav{order:3;width:100%;overflow-x:auto;justify-content:flex-start;padding-bottom:2px}body.lang-pt-br.path-frontpage .paragraph--homepage-hero .hero-content{padding:42px 0 70px!important}body.lang-pt-br.path-frontpage .paragraph--homepage-hero h1{font-size:34px!important}}
/* Spanish product categories: a visible fallback for the legacy empty carousel. */
.gq-pt-product-grid{max-width:1400px;margin:0 auto;padding:8px 30px 34px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gq-pt-product-card{min-height:118px;display:grid;grid-template-columns:56px minmax(0,1fr) 18px;align-items:center;gap:14px;padding:18px 18px;background:#fff;border:1px solid #d9e1ec;border-radius:8px;color:#11233f;text-decoration:none;box-shadow:0 4px 12px rgba(11,35,64,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.gq-pt-product-card:hover,.gq-pt-product-card:focus{transform:translateY(-3px);border-color:#e04b2b;box-shadow:0 10px 24px rgba(11,35,64,.12);outline:0}
.gq-pt-product-card__icon{width:56px;height:56px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#eaf1fb;color:#1f64c8;font-size:14px;font-weight:800;letter-spacing:-.4px}
.gq-pt-product-card strong{display:block;font-size:16px;line-height:1.3;color:#152944}.gq-pt-product-card small{display:block;margin-top:6px;color:#6c7a8e;font-size:13px;line-height:1.45}.gq-pt-product-card__arrow{font-size:22px;color:#e04b2b;font-weight:700;text-align:right}
@media(max-width:1050px){.gq-pt-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.gq-pt-product-grid{grid-template-columns:1fr;padding:8px 16px 26px;gap:12px}.gq-pt-product-card{min-height:98px;padding:14px}.gq-pt-product-card__icon{width:48px;height:48px}.gq-pt-product-card strong{font-size:15px}.gq-pt-product-card small{font-size:12px}}

.pt-site-langs{display:flex;gap:8px;align-items:center}
.pt-site-menu-toggle{display:none}
@media (max-width:800px){
  body.lang-pt-br .pt-site-header__inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:10px 14px!important}
  body.lang-pt-br .pt-site-brand{min-width:0!important;flex:none!important;justify-content:flex-start!important;grid-column:1}
  body.lang-pt-br .pt-site-brand img{width:124px!important}
  body.lang-pt-br .pt-site-langs{grid-column:2;gap:4px;align-items:center}
  body.lang-pt-br .pt-site-lang{min-width:36px;min-height:44px;padding:0 8px;justify-content:center}
  body.lang-pt-br .pt-site-menu-toggle{grid-column:3;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.48);border-radius:5px;background:transparent;color:#fff;cursor:pointer}
  body.lang-pt-br .pt-site-menu-toggle span{display:block;width:18px;height:2px;background:currentColor;border-radius:2px}
  body.lang-pt-br .pt-site-menu-toggle b{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  body.lang-pt-br .pt-site-nav{display:none!important;grid-column:1/-1;order:unset;width:auto;overflow:visible;grid-template-columns:1fr;gap:4px;margin:4px 0 0;padding:10px 0 0;border-top:1px solid rgba(255,255,255,.2)}
  body.lang-pt-br .pt-site-header.is-menu-open .pt-site-nav{display:grid!important}
  body.lang-pt-br .pt-site-nav>a{min-height:46px;padding:0 12px;font-size:14px;justify-content:flex-start;border-radius:4px}
  body.lang-pt-br .pt-site-nav>a:active{background:rgba(255,255,255,.18)}
}
@media (min-width:480px) and (max-width:800px){body.lang-pt-br .pt-site-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Mobile-browser baseline: iOS Safari, Android Chrome and narrow devices. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;max-width:100%;overflow-x:hidden;overflow-x:clip}
body{max-width:100%;overflow-x:hidden;overflow-x:clip;-webkit-tap-highlight-color:rgba(0,0,0,0)}
img{max-width:100%;height:auto}
@media (max-width:800px){
  input,select,textarea{font-size:16px}
  button,a{touch-action:manipulation}
  .body-header .hamburger{min-width:44px;min-height:44px;padding:0 8px;touch-action:manipulation}
  .body-header .hamburger:focus-visible,.es-site-menu-toggle:focus-visible,.pt-site-menu-toggle:focus-visible{outline:3px solid #f7df10;outline-offset:3px}
}
@supports (padding:max(0px)){
  @media (max-width:800px){
    .body-header .container{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}
    body.lang-es .es-site-header__inner,body.lang-pt-br .pt-site-header__inner{padding-left:max(14px,env(safe-area-inset-left))!important;padding-right:max(14px,env(safe-area-inset-right))!important}
  }
}
