/* Spanish site navigation: uses the same logo, spacing and overlay treatment as the English homepage. */
.es-site-header{background:#070d1d;color:#fff;position:relative;z-index:1000;font-family:Arial,Helvetica,sans-serif}
body.lang-es.path-frontpage .es-site-header{position:absolute;top:0;left:0;right:0;background:rgba(10,23,34,.84);border-bottom:0}
.es-site-header__inner{max-width:1400px;min-height:80px;margin:0 auto;padding:0 30px;display:flex;align-items:center;gap:34px}
.es-site-brand{display:flex;align-items:center;line-height:1;text-decoration:none;color:#fff;min-width:220px}
.es-site-brand img{display:block;width:142px;height:auto;max-height:70px;object-fit:contain}
.es-site-nav{display:flex;justify-content:center;align-items:center;gap:5px;flex:1}.es-site-nav> a,.es-site-product-trigger,.es-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}
.es-site-nav> a:hover,.es-site-nav> a:focus,.es-site-product-trigger:hover,.es-site-product-trigger:focus{background:rgba(255,255,255,.13);color:#fff;outline:0}.es-site-lang{border:1px solid rgba(255,255,255,.48);border-radius:5px;min-height:36px;padding:0 12px;font-size:13px}
.es-site-header__inner{position:relative}.es-site-product-item{position:static;height:100%;display:flex;align-items:center}.es-site-product-trigger{cursor:pointer}.es-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}.es-site-product-item:hover .es-site-megamenu,.es-site-product-item:focus-within .es-site-megamenu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.es-site-mega-col{min-width:0;background-repeat:no-repeat;background-position:right top;background-size:auto 52px;padding-right:6px}.es-site-mega-col--traffic{background-image:url('/images/headimg/pn-01.png')}.es-site-mega-col--solar{background-image:url('/images/headimg/pn-02.png')}.es-site-mega-col--controller{background-image:url('/images/headimg/pn-03.png')}.es-site-mega-col--board{background-image:url('/images/headimg/pn-04.png')}.es-site-mega-col--pole{background-image:url('/images/headimg/pn-05.png')}.es-site-mega-col--new{background-image:url('/images/headimg/pn-06.png')}.es-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}.es-site-mega-col h3 a{display:block;color:#d64c22;text-decoration:none}.es-site-mega-col>a{display:block;padding:5px 4px;color:#42474d;text-decoration:none;font-size:13px;line-height:1.35}.es-site-mega-col>a:before{content:'›';margin-right:7px;color:#d64c22;font-weight:800}.es-site-mega-col>a:hover,.es-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. */
.es-site-product-item.is-open .es-site-megamenu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
@media (min-width:801px){.es-site-nav{height:80px}.es-site-product-item{height:80px}}
body.lang-es .body-header{display:none!important}
.es-site-header + .body-header{display:none!important}
body.lang-es .homepage-hero .hero-content{position:relative;z-index:2}body.lang-es .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){.es-site-header__inner{min-height:0;gap:10px;flex-wrap:wrap;padding:13px 16px}.es-site-brand{min-width:auto;flex:1}.es-site-brand img{width:128px}.es-site-nav{order:3;justify-content:flex-start;width:100%;overflow-x:auto;padding-bottom:2px;gap:2px}.es-site-nav> a,.es-site-product-trigger{font-size:12px;padding:0 10px;min-height:36px}.es-site-lang{min-height:32px}.es-site-product-item{position:relative}.es-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-es.path-frontpage .paragraph--homepage-hero .hero-content{padding:190px 0 110px!important}
body.lang-es.path-frontpage .paragraph--homepage-hero .hero-left{margin-top:0!important;width:100%!important;max-width:760px;padding-right:0!important}
body.lang-es.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-es.path-frontpage .paragraph--homepage-hero .hero-content p{color:#fff!important}
body.lang-es.path-frontpage .paragraph--homepage-hero .hero-video img.vjs-tech{object-position:center center!important}
@media(max-width:767px){body.lang-es.path-frontpage .es-site-header{position:relative!important;background:#070d1d!important}body.lang-es.path-frontpage .es-site-header__inner{display:flex;min-height:auto;align-items:center;flex-wrap:wrap;padding:12px 14px 8px}body.lang-es.path-frontpage .es-site-brand{flex:1 1 100%;justify-content:center}body.lang-es.path-frontpage .es-site-brand img{width:132px}body.lang-es.path-frontpage .es-site-nav{order:3;width:100%;overflow-x:auto;justify-content:flex-start;padding-bottom:2px}body.lang-es.path-frontpage .paragraph--homepage-hero .hero-content{padding:42px 0 70px!important}body.lang-es.path-frontpage .paragraph--homepage-hero h1{font-size:34px!important}}
/* Spanish product categories: a visible fallback for the legacy empty carousel. */
.gq-es-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-es-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-es-product-card:hover,.gq-es-product-card:focus{transform:translateY(-3px);border-color:#e04b2b;box-shadow:0 10px 24px rgba(11,35,64,.12);outline:0}
.gq-es-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-es-product-card strong{display:block;font-size:16px;line-height:1.3;color:#152944}.gq-es-product-card small{display:block;margin-top:6px;color:#6c7a8e;font-size:13px;line-height:1.45}.gq-es-product-card__arrow{font-size:22px;color:#e04b2b;font-weight:700;text-align:right}
@media(max-width:1050px){.gq-es-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.gq-es-product-grid{grid-template-columns:1fr;padding:8px 16px 26px;gap:12px}.gq-es-product-card{min-height:98px;padding:14px}.gq-es-product-card__icon{width:48px;height:48px}.gq-es-product-card strong{font-size:15px}.gq-es-product-card small{font-size:12px}}
