/* V2 additions: shared navigation fixes and internal catalogue/ficha components.
   Home photographic layers, carousel, cards, widths and vertical spacing stay in styles.css. */
[hidden]{display:none!important}
main > section[id]{scroll-margin-top:calc(var(--header-height,82px) + 9px)}
.home-page .section-head h2{max-width:none;overflow-wrap:normal}
.home-page .section-head .lede{justify-self:start}
.nav-desktop{gap:clamp(16px,1.6vw,28px);flex:1;justify-content:space-evenly;min-width:0}
.nav-desktop a{letter-spacing:.025em;font-size:.875rem;white-space:nowrap}
.site-header .bar{max-width:1440px;gap:28px}
.site-header .logo{flex-shrink:0}
.site-header .logo img{height:40px}
.nav-toggle{border-radius:4px;flex-shrink:0}
@media(min-width:1025px) and (max-width:1250px){
 .site-header .bar{gap:18px;padding-inline:22px}
 .site-header .logo img{height:36px}
 .nav-desktop{gap:12px}
 .nav-desktop a{font-size:.75rem;letter-spacing:0}
 .nav-cta .btn{font-size:.78rem;padding:12px}
}
@media(max-width:1024px){.site-header .logo img{height:36px}.nav-desktop{display:none}}
.nav-mobile{max-height:calc(100dvh - 84px);overflow-y:auto}
.nav-cta a.active{color:var(--yellow);border-color:var(--yellow)}
.inner-page .page-hero .container{width:100%}
.inner-page .page-hero h1{max-width:26ch}
.inner-page .cat-block > img{object-fit:cover;padding:0}
.breadcrumbs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:.875rem;color:var(--gray-text);margin-bottom:34px}
.breadcrumbs a:hover{color:var(--yellow)}
.breadcrumbs [aria-current]{color:var(--yellow)}
.catalogue-hero{position:relative;background-size:cover;background-position:center;min-height:365px;display:flex;align-items:center;padding:42px 0 56px}
.catalogue-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,10,20,.78),rgba(1,10,20,.42) 55%,rgba(1,10,20,.08))}
.catalogue-hero .container{width:100%;position:relative}
.catalogue-hero h1{font-size:clamp(2rem,3.8vw,3.3rem);max-width:28ch;margin:14px 0 20px;overflow-wrap:anywhere}
.catalogue-hero p{max-width:65ch;color:var(--gray-text);font-size:1.1rem}
.catalogue{padding-top:48px}
.category-nav{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:36px}
.category-nav a{border:1px solid var(--gray-border);border-radius:4px;padding:11px 15px;font-family:var(--font-display);font-size:.875rem}
.category-nav a:hover,.category-nav a[aria-current]{border-color:var(--yellow);color:var(--yellow)}
.catalogue-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:18px}
.catalogue-toolbar label{display:flex;flex-direction:column;gap:8px;font-size:.875rem;color:var(--gray-text);min-width:155px;max-width:100%}
.catalogue-toolbar select{font:inherit;color:white;background:var(--navy-surface);border:1px solid var(--gray-border);border-radius:4px;padding:12px 38px 12px 14px;max-width:100%;min-height:46px;cursor:pointer}
.catalogue-count{margin:28px 0 24px;font-size:1rem;color:var(--gray-text)}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.product-card-image{height:260px;display:grid;place-items:center;background:rgba(1,10,20,.4);padding:28px;border-bottom:1px solid var(--gray-border)}
.product-card-image img{width:100%;height:100%;min-height:0;object-fit:contain}
.product-card .card-body{gap:14px;padding:26px}
.product-card .card-body h3{font-size:1.15rem;line-height:1.4;overflow-wrap:anywhere}
.product-card .card-body p{font-size:1rem}
.product-card .eyebrow{font-size:.8rem;letter-spacing:.08em}
.product-metric{color:var(--white);font-weight:500}
.product-top{padding:36px 0 24px}
.product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:start}
.product-gallery{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;position:sticky;top:112px}
.gallery-thumbs{display:flex;flex-direction:column;gap:12px}
.gallery-thumb{width:72px;height:78px;padding:8px;background:var(--navy-surface);border:1px solid var(--gray-border);border-radius:6px;cursor:pointer}
.gallery-thumb img{width:100%;height:100%;object-fit:contain}
.gallery-thumb:hover,.gallery-thumb[aria-pressed="true"]{border-color:var(--yellow)}
.gallery-main{
  border:1px solid var(--gray-border);
  background:radial-gradient(
    ellipse at 50% 56%,
    rgba(0,110,252,.60) 0%,
    rgba(0,110,252,.325) 28%,
    rgba(2,55,165,.125) 55%,
    transparent 78%
  ),var(--navy-surface);
  border-radius:var(--radius);
  height:510px;
  display:grid;
  place-items:center;
  padding:30px;
}.gallery-main img{width:100%;height:100%;object-fit:contain;min-height:0}
.gallery-main.gallery-main--bottom-flush{padding-bottom:0}
.gallery-main.gallery-main--bottom-flush > img{object-position:center bottom}
.gallery-main.gallery-main--bottom-flush[data-flush-edge="left"]{padding-left:0}
.gallery-main.gallery-main--bottom-flush[data-flush-edge="left"] > img{object-position:left bottom}
.gallery-main.gallery-main--bottom-flush[data-flush-edge="right"]{padding-right:0}
.gallery-main.gallery-main--bottom-flush[data-flush-edge="right"] > img{object-position:right bottom}
.product-summary h1{font-size:clamp(2rem,3.4vw,2.9rem);line-height:1.2;margin:16px 0;overflow-wrap:anywhere}
.product-subtitle{font-size:1.18rem;color:var(--gray-text)}
.product-value{font:500 1.45rem var(--font-display);color:var(--yellow);margin:18px 0 22px}
.product-description{color:var(--gray-text);font-size:1rem;line-height:1.7}
.product-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 0}
.product-highlights>div{background:var(--navy-surface);border:1px solid var(--gray-border);border-radius:6px;padding:15px;font-size:.95rem;overflow-wrap:anywhere}
.product-details{padding-top:64px}
.product-details h2{font-size:clamp(1.4rem,2.4vw,1.9rem);margin-bottom:26px}
.features-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-bottom:64px}
.feature{display:flex;gap:16px;align-items:start}
.feature>span{color:var(--yellow);font-size:2rem;line-height:1}
.feature h3{font-size:1rem;line-height:1.4;margin-bottom:10px}
.feature p{font-size:1rem;color:var(--gray-text);line-height:1.65}
.specifications{margin-bottom:64px}
.specifications details{border:1px solid var(--gray-border);border-radius:6px;background:var(--navy-surface);margin-bottom:12px}
.specifications summary{font-family:var(--font-display);padding:20px 24px;cursor:pointer;font-size:.95rem;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px}
.specifications summary::-webkit-details-marker{display:none}
.specifications summary::after{content:'+';font-size:1.5rem;color:var(--yellow)}
.specifications details[open] summary::after{content:'−'}
.specifications details[open] summary{border-bottom:1px solid var(--gray-border)}
.specifications dl{margin:0;padding:8px 24px 16px}
.specifications dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:26px;padding:15px 0;border-bottom:1px solid var(--gray-border)}
.specifications dl>div:last-child{border:none}
.specifications dt{color:var(--gray-text)}
.specifications dd{margin:0;overflow-wrap:anywhere}
.specifications ul{padding:12px 24px 22px}
.specifications li{padding:10px 0;color:var(--gray-text)}
.related-head{display:flex;justify-content:space-between;align-items:center;gap:20px}
.related-head>div{display:flex;gap:8px;margin-bottom:26px}
.carousel-control{width:44px;height:44px;border:1px solid var(--gray-border);border-radius:4px;color:white;background:var(--navy-surface);font-size:1.3rem;cursor:pointer}
.carousel-control:hover{background:var(--yellow);color:var(--navy)}
.carousel-control:disabled{opacity:.35;cursor:default;background:var(--navy-surface);color:var(--gray-text)}
.inner-page article.card:hover{transform:none;border-color:var(--gray-border)}
.related-products{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 72px)/4);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding:5px 0 18px;scrollbar-color:var(--gray-border) var(--navy)}
.related-products .card{scroll-snap-align:start}
.related-products .product-card-image{height:210px;padding:22px}
.related-products .card-body{padding:20px}
.product-summary .btn{white-space:normal}
.inner-page .cta-band h2{max-width:30ch}
.product-page .cta-band{padding:64px 0}
.product-page .cta-band .container{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 40px;align-items:center}
.product-page .cta-band h2{font-size:clamp(1.6rem,2.5vw,2rem);grid-column:1}
.product-page .cta-band p{grid-column:1;margin-top:0}
.product-page .cta-band .actions{grid-column:2;grid-row:1 / 3;margin:0}
@media(min-width:1025px) and (max-width:1180px){.nav-desktop{gap:13px}.nav-desktop a{letter-spacing:.025em}}
@media(max-width:1024px){
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .product-layout{gap:28px}
 .product-gallery{grid-template-columns:1fr;position:static}
 .gallery-thumbs{order:2;flex-direction:row;flex-wrap:wrap}
 .gallery-main{height:420px}
 .features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .related-products{grid-auto-columns:calc((100% - 48px)/3)}
}
@media(max-width:760px){
 .product-page .cta-band .container{grid-template-columns:1fr}
 .product-page .cta-band .actions{grid-column:1;grid-row:auto;margin-top:18px}
 .product-layout{grid-template-columns:1fr;gap:32px}
 .gallery-main{height:390px}
 .product-gallery{grid-template-columns:64px minmax(0,1fr);gap:12px}
 .gallery-thumbs{order:0;flex-direction:column}
 .gallery-thumb{width:64px;height:64px}
 .features-grid{grid-template-columns:1fr;gap:26px}
 .related-products{grid-auto-columns:75%}
 .inner-page .page-hero{min-height:490px}
 .inner-page .page-hero h1{font-size:2rem;overflow-wrap:anywhere}
}
@media(max-width:640px){
 main>section[id]{scroll-margin-top:var(--header-offset,75px)}
 .home-page .section-head h2{font-size:1.8rem;overflow-wrap:anywhere}
 .catalogue-hero{min-height:370px;padding:30px 0 40px}
 .catalogue-hero h1{font-size:2rem}
 .catalogue-hero p{font-size:1rem}
 .product-grid{grid-template-columns:1fr}
 .category-nav{gap:8px}
 .category-nav a{font-size:.8rem;padding:10px}
 .catalogue-toolbar{gap:12px}
 .catalogue-toolbar label{width:100%}
 .catalogue-toolbar select{width:100%;white-space:normal}
 .product-card-image{height:285px}
 .product-highlights{gap:10px}
 .product-top{padding-top:26px}
 .product-summary h1{font-size:2rem}
 .gallery-main{height:335px;padding:20px}
 .specifications summary{padding:16px;font-size:.875rem}
 .specifications dl{padding:8px 16px 16px}
 .specifications dl>div{grid-template-columns:1fr;gap:8px}
 .related-head{align-items:start}
 .related-head h2{font-size:1.35rem}
 .product-summary .btn{width:100%;justify-content:center;font-size:.875rem}
}

/* V3: fluid shared scale, Home anchor frames and disclosure navigation. */
:root{--container:clamp(1180px,90vw,1600px);--header-offset:83px;--gap:clamp(16px,1.7vw,28px)}
.container{padding-inline:clamp(20px,2.5vw,48px)}
main>section[id]{scroll-margin-top:var(--header-offset,83px)}
.site-header .bar{max-width:1440px;gap:28px;padding-inline:clamp(22px,2vw,28px)}
.site-header .logo img{width:clamp(150px,12vw,215px);height:auto}
.nav-desktop{gap:clamp(16px,1.6vw,28px);justify-content:space-evenly}
.nav-desktop a{font-size:clamp(.75rem,.85vw,.95rem);letter-spacing:.015em}
.nav-group{position:relative;display:flex;align-items:center;min-width:0}
.nav-desktop .nav-group{padding-block:8px}
.nav-desktop .submenu-toggle{display:none}
.submenu-toggle{display:grid;place-items:center;flex-shrink:0;width:24px;height:36px;padding:0;border:0;background:transparent;color:var(--white);font:inherit;cursor:pointer}
.submenu-toggle:hover,.submenu-toggle[aria-expanded="true"]{color:var(--yellow)}
.submenu-toggle span{display:none}
.nav-mobile .submenu-toggle::after{content:'+'}
.nav-mobile .submenu-toggle[aria-expanded="true"]::after{content:'−'}
.nav-submenu{position:absolute;top:100%;left:0;z-index:2;width:max-content;max-width:min(340px,calc(100vw - 40px));padding:10px;background:var(--navy-surface);border:1px solid var(--gray-border);border-radius:var(--radius)}
.nav-desktop .nav-submenu a,.nav-mobile .nav-submenu a{display:block;padding:11px 12px;border:0;font-family:var(--font-display);font-weight:500;font-size:.875rem;line-height:1.5;letter-spacing:0;text-transform:none;white-space:normal;transition:color .15s ease,background .15s ease}
.nav-submenu a:hover,.nav-submenu a:focus-visible{color:var(--yellow);background:var(--navy)}
.nav-desktop .nav-group:last-child .nav-submenu{left:auto;right:0}
.nav-cta .btn{font-size:clamp(.78rem,.9vw,.92rem);padding:.9em 1.2em}
.nav-cta .btn:hover,.nav-cta .btn:focus-visible{color:var(--navy)}
.home-page main>section[id],.home-page #soluciones,.home-page #nosotros{min-height:calc(100svh - var(--header-offset));display:flex;align-items:center}
.home-page main>section[id]>.container{width:100%}
.home-page .hero-dots{justify-content:center}
.home-page .hero::after{background:linear-gradient(90deg,rgba(1,10,20,.62) 0%,rgba(1,10,20,.42) 24%,rgba(1,10,20,.12) 48%,transparent 68%)}
.home-page #academia.section-bg::before{background:linear-gradient(90deg,rgba(1,10,20,.88),rgba(1,10,20,.80) 55%,rgba(1,10,20,.76))}
.home-page main>.section,.home-page #contacto{padding-block:clamp(32px,6svh,80px)}
.home-page .section-head{grid-template-columns:fit-content(50%) minmax(0,1fr);gap:clamp(24px,3vw,48px);max-width:1100px;margin-bottom:clamp(24px,3.5svh,42px)}
.home-page .section-head h2{font-size:clamp(1.8rem,2.7vw,2.8rem);overflow-wrap:normal}
.home-page .section-head .lede{max-width:48ch;justify-self:start;font-size:clamp(1rem,1.1vw,1.12rem)}
.home-page .home-about-layout{gap:clamp(28px,3.5vw,56px)}
.home-page #nosotros.home-about{background:linear-gradient(90deg,rgba(1,10,20,.92),rgba(1,10,20,.82) 55%,rgba(1,10,20,.78)),url('../img/03_HOME_HERO_03.webp') center/cover no-repeat}
@media(min-width:1201px) and (max-width:1250px){
 .site-header .bar{gap:18px;padding-inline:22px}
 .nav-desktop{gap:12px}
}
@media(max-width:1200px){
 .site-header .nav-desktop,.site-header .nav-cta .btn{display:none}
 .nav-toggle{display:block}
 body.menu-open .nav-mobile{display:flex}
 .site-header .nav-cta{margin-left:auto}
 .site-header>.container:not(.bar){position:absolute;top:100%;left:0;right:0;max-width:none;background:var(--navy)}
 body.menu-open .site-header>.container:not(.bar){height:calc(100dvh - var(--header-offset) + 1px)}
 .nav-toggle{display:grid;place-items:center;padding:0;line-height:1}
 .nav-mobile{height:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
 .nav-mobile>*{flex-shrink:0}
 .nav-mobile .btn{border-bottom-color:var(--white)}
 .nav-mobile .btn:hover,.nav-mobile .btn:focus-visible{border-bottom-color:var(--yellow)}
 .nav-mobile .nav-group{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center}
 .nav-mobile .nav-group>a{min-width:0}
 .nav-mobile .submenu-toggle{width:44px;height:44px}
 .nav-mobile .nav-submenu{position:static;grid-column:1 / -1;width:100%;max-width:none;margin-bottom:8px;padding:6px 10px;border-left:2px solid var(--gray-border)}
}
@media(max-width:900px){
 .home-page .section-head{grid-template-columns:1fr;gap:18px}
 .home-page .section-head .lede{max-width:60ch}
}
@media(max-width:640px){
 .site-header .logo img{width:clamp(145px,40vw,170px)}
 .home-page main>.section,.home-page #contacto{padding-block:44px}
 .home-page .section-head h2{font-size:clamp(1.4rem,6.8vw,1.8rem);overflow-wrap:anywhere}
 .home-page .branch-card{min-height:360px}
}

/* Contextual product contact: native disclosure, mouse/keyboard/touch. */
.product-page .product-advisor{position:relative;width:fit-content;max-width:100%}
.product-page .product-advisor>summary{list-style:none;cursor:pointer}
.product-page .product-advisor>summary::-webkit-details-marker{display:none}
.product-page .product-advisor-options{position:absolute;top:calc(100% + 8px);left:0;z-index:10;min-width:180px;width:100%;padding:6px;background:var(--navy-surface);border:1px solid var(--gray-border);border-radius:4px}
.product-page .product-advisor-options a{display:flex;align-items:center;min-height:44px;padding:10px 14px;font-family:var(--font-display);color:var(--white)}
.product-page .product-advisor-options a:hover,.product-page .product-advisor-options a:focus-visible{color:var(--yellow);background:var(--navy)}
.product-page .product-advisor>summary:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
@media(max-width:640px){.product-page .product-summary>.product-advisor{width:100%}}

/* Mobile card scale only; product galleries and larger viewports stay unchanged. */
@media(max-width:640px){
 .home-grid .card-media{min-height:180px}
 .home-grid .card-body{padding:18px;gap:8px}
 .product-card .product-card-image{height:200px;padding:18px}
 .product-card .card-body{padding:18px;gap:10px}
 .home-page .branch-card,.branch-grid .branch-card{min-height:300px}
 .branch-grid .branch-card .branch-body{padding:22px 20px}
}

/* Home mobile: category carousels and compact two-card branches. */
.home-card-carousel-controls{display:none}

@media(max-width:640px){

 #energia .home-grid,
 #telecomunicaciones .home-grid{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:84%;
  grid-template-columns:none;
  gap:14px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding-bottom:4px;
 }

 #energia .home-grid::-webkit-scrollbar,
 #telecomunicaciones .home-grid::-webkit-scrollbar{
  display:none;
 }

 #energia .home-grid>.card,
 #telecomunicaciones .home-grid>.card{
  scroll-snap-align:start;
  scroll-snap-stop:always;
 }

 .home-card-carousel-controls{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:12px;
 }

 .home-card-carousel-controls button{
  width:44px;
  height:44px;
  padding:0;
  border:1px solid var(--gray-border);
  border-radius:4px;
  background:transparent;
  color:var(--yellow);
  font-size:1.15rem;
  cursor:pointer;
 }

 .home-card-carousel-controls button:hover,
 .home-card-carousel-controls button:focus-visible{
  border-color:var(--yellow);
  background:#F8C400;
  color:#010A14;
 }

 #soluciones .branch-grid,
 #academia .branch-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
 }

 #soluciones .branch-card,
 #academia .branch-card{
  min-height:315px;
 }

 #soluciones .branch-card .branch-body,
 #academia .branch-card .branch-body{
  padding:16px 12px;
 }

 #soluciones .branch-card h3,
 #academia .branch-card h3{
  font-size:1.05rem;
  margin-bottom:8px;
 }

 #soluciones .branch-card p,
 #academia .branch-card p{
  font-size:.82rem;
  line-height:1.4;
  margin-bottom:12px;
 }

 #soluciones .branch-card .card-link,
 #academia .branch-card .card-link{
  font-size:.68rem;
  line-height:1.35;
  letter-spacing:.025em;
 }
}

/* Energy only: shared horizontal navigation and Home carousel. */
.energy-category-navigation{display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:36px}
.catalogue-page .category-nav.category-nav--energy{flex:1;min-width:0;max-width:100%;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;margin-bottom:0;padding:4px}
.category-nav--energy::-webkit-scrollbar,#energia .home-grid::-webkit-scrollbar{display:none}
.category-nav--energy a{flex:0 0 auto;white-space:nowrap}
.energy-category-arrow,#energia .home-card-carousel-controls button{flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid var(--gray-border);border-radius:4px;background:transparent;color:var(--yellow);font-size:18px;cursor:pointer}
.energy-category-arrow:hover:not(:disabled),#energia .home-card-carousel-controls button:hover:not(:disabled){background:var(--yellow);color:var(--navy)}
.energy-category-arrow:disabled,#energia .home-card-carousel-controls button:disabled{opacity:.35;cursor:default}
.energy-category-arrow:focus-visible,#energia .home-card-carousel-controls button:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
.energy-category-arrow[hidden],#energia .home-card-carousel-controls[hidden]{display:none!important}
#energia .home-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 5 * var(--gap,24px) - 40px) / 5);gap:var(--gap,24px);overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
#energia .home-grid>.card{min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
#energia .energy-carousel-frame{position:relative;min-width:0;padding-inline:56px}
#energia .home-card-carousel-controls{display:flex;position:absolute;top:50%;left:0;right:0;height:0;margin:0;pointer-events:none}
#energia .home-card-carousel-controls button{position:absolute;top:0;transform:translateY(-50%);background:rgba(7,21,34,.88);border-color:rgba(203,203,203,.3);pointer-events:auto}
#energia .home-card-carousel-controls [data-card-prev]{left:0}
#energia .home-card-carousel-controls [data-card-next]{right:0}
#energia .home-card-carousel-controls button:disabled{visibility:hidden;pointer-events:none}
@media(max-width:640px){#energia .energy-carousel-frame{padding-inline:48px;margin-inline:-12px}}
#telecomunicaciones .energy-carousel-frame{display:contents}
@media(max-width:640px){
 #telecomunicaciones .energy-carousel-frame{display:block;position:relative;min-width:0;padding-inline:48px;margin-inline:-12px}
 #telecomunicaciones .home-card-carousel-controls{display:flex;position:absolute;top:50%;left:0;right:0;height:0;margin:0;pointer-events:none}
 #telecomunicaciones .home-card-carousel-controls button{position:absolute;top:0;transform:translateY(-50%);background:rgba(7,21,34,.88);border-color:rgba(203,203,203,.3);pointer-events:auto}
 #telecomunicaciones .home-card-carousel-controls button:hover:not(:disabled),#telecomunicaciones .home-card-carousel-controls button:active:not(:disabled){background:var(--yellow);color:var(--navy)}
 #telecomunicaciones .home-card-carousel-controls button:disabled{background:rgba(7,21,34,.88);color:var(--yellow)}
 #telecomunicaciones .home-card-carousel-controls [data-card-prev]{left:0}
 #telecomunicaciones .home-card-carousel-controls [data-card-next]{right:0}
 #telecomunicaciones .home-card-carousel-controls button:disabled{visibility:hidden;pointer-events:none}
 #telecomunicaciones .home-card-carousel-controls[hidden]{display:none!important}
}
@media(min-width:1101px) and (max-width:1450px){#energia .home-grid{grid-auto-columns:calc((100% - 4 * var(--gap,24px) - 32px) / 4)}}
@media(min-width:641px) and (max-width:1100px){#energia .home-grid{grid-auto-columns:calc((100% - 3 * var(--gap,24px) - 24px) / 3)}}

/* Catalogue-only layout: all categories on desktop, swipe navigation on mobile. */
.catalogue-page .category-nav{justify-content:center}
.catalogue-page .category-nav a:focus-visible,
.catalogue-page .catalogue-toolbar :focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
.product-page .product-versions{margin-top:22px;overflow-wrap:anywhere}
.product-page .product-versions h2{margin-bottom:8px}
@media(max-width:640px){
 .catalogue-page .category-nav{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;max-width:100%;padding-bottom:12px;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:var(--gray-border) var(--navy)}
 .catalogue-page .category-nav a{flex:0 0 auto;white-space:nowrap}
 .catalogue-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .catalogue-page .product-grid .product-card{min-width:0}
 .catalogue-page .product-grid .product-card-image{height:150px;padding:12px}
 .catalogue-page .product-grid .card-body{padding:12px;gap:9px;min-width:0}
 .catalogue-page .product-grid .eyebrow{font-size:.7rem;letter-spacing:.025em;overflow-wrap:anywhere}
 .catalogue-page .product-grid h3{font-size:.92rem;line-height:1.35;overflow-wrap:anywhere}
 .catalogue-page .product-grid .card-body p{font-size:.8rem;line-height:1.4;overflow-wrap:anywhere}
 .catalogue-page .product-grid .product-metric{font-size:.85rem;overflow-wrap:anywhere}
 .catalogue-page .product-grid .card-link{font-size:.68rem;letter-spacing:.02em;white-space:normal;overflow-wrap:anywhere}
}
.catalogue-hero[style*="ENERGIA_01_FONDO_GENERAL"] {
  background-image: var(--cc-upload-catalogue-energy, none) !important;
}
.catalogue-hero[style*="TELECOM_01_FONDO_GENERAL"] {
  background-image: var(--cc-upload-catalogue-telecom, none) !important;
}
#distribuidores.ccd-home-distributors {
  background-image:
    linear-gradient(
      90deg,
      rgba(1, 10, 20, .60) 0%,
      rgba(1, 10, 20, .40) 55%,
      rgba(1, 10, 20, .25) 100%
    ),
    var(--cc-upload-distributors-legacy, none) !important;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
