/* V10 — small, scoped CSS over the stable V8 theme. */
html{scroll-padding-top:105px}
.site-header,.site-header.compact{position:sticky!important;top:0!important;height:80px!important;min-height:80px!important;z-index:1000!important;transition:background-color .2s ease,box-shadow .2s ease!important}
html:has(#wpadminbar) .site-header,html:has(#wpadminbar) .site-header.compact{top:32px!important}
html:has(#wpadminbar) .scroll-progress{top:32px}
.hero-media::before,body.sm-hero-hd #inicio .hero-media::before{transform:none!important;transition:none!important;filter:none!important;will-change:auto!important}
body.sm-custom-hero #inicio .hero-media::before{background-image:linear-gradient(90deg,rgba(6,28,37,.09),rgba(6,28,37,.04)),var(--sm-hero-photo)!important;transform:none!important}
.preview-flag,.sm-proof-strip,.marquee{display:none!important}
.stats .stat-icon{width:43px;height:43px;min-width:43px;border-radius:12px;background:#eaf4f2;padding:9px;stroke:#195c6d;stroke-width:1.7;transition:background-color .25s ease}
.stats .stat:hover .stat-icon{background:#dceae6}
.stats .stat strong{font-weight:750;letter-spacing:-.01em}
.stats .stat span{color:#52666d;line-height:1.45}
#marcas.brands{padding-block:88px;background:#f5f7f6}
#marcas .section-head{margin-bottom:28px}
#marcas .brand-search,#marcas .brand-filter,#marcas .brand-grid,#marcas .brand-info,#marcas .brand-note{display:none!important}
.sm-brand-banner{overflow:hidden;max-width:100%;padding:12px 0;border-top:1px solid #d9e3e1;border-bottom:1px solid #d9e3e1}
.sm-logo-row{width:100%;overflow:hidden;display:flex;min-height:100px;align-items:center}
.sm-logo-row+.sm-logo-row{border-top:1px solid #e4ebe8}
.sm-logo-track{display:flex;width:max-content;flex-shrink:0;animation:sm-scroll-logos 45s linear infinite;will-change:transform}
.sm-logo-row-2 .sm-logo-track{animation-duration:55s;animation-direction:reverse}
.sm-brand-banner:hover .sm-logo-track,.sm-brand-banner:focus-within .sm-logo-track{animation-play-state:paused}
.sm-logo-set{display:flex;flex-shrink:0;align-items:center}
.sm-logo-card{height:100px;width:190px;min-width:190px;padding:18px 25px;display:flex;justify-content:center;align-items:center}
.sm-logo-card img{display:block;max-width:100%;width:150px;max-height:61px;object-fit:contain;filter:grayscale(1);opacity:.85;transition:opacity .25s ease,filter .25s ease}
.sm-logo-card img:hover{filter:grayscale(0);opacity:1}
.sm-brand-interior-ready .ip-brand-controls,.sm-brand-interior-ready .ip-brand-layout{display:none!important}
.sm-brand-interior-ready .sm-brand-banner{margin-top:28px}
@keyframes sm-scroll-logos{to{transform:translateX(-50%)}}
@media(max-width:900px){
.sm-logo-row{min-height:84px}
.sm-logo-card{height:84px;width:145px;min-width:145px;padding:14px 18px}
.sm-logo-card img{width:118px;max-height:50px}
#marcas.brands{padding-block:62px}
}
@media(max-width:782px){
html:has(#wpadminbar) .site-header,html:has(#wpadminbar) .site-header.compact{top:46px!important}
html:has(#wpadminbar) .scroll-progress{top:46px}
}
@media(max-width:600px){
.sm-logo-row{min-height:76px}
.sm-logo-card{height:76px;width:133px;min-width:133px}
.sm-logo-card img{width:102px;max-height:45px}
}
@media(prefers-reduced-motion:reduce){
.sm-logo-track{animation:none!important;will-change:auto}
.sm-logo-row{overflow-x:auto}
}

/* V14: todas las marcas mantienen su proporción original, sin estiramientos. */
.sm-logo-row .sm-logo-card{
  flex:0 0 185px;width:185px;height:102px;padding:15px 18px;
  display:flex;align-items:center;justify-content:center;box-sizing:border-box;
}
.sm-logo-row .sm-logo-card img{
  display:block;width:148px;height:57px;
  max-width:148px;max-height:57px;min-width:0;
  object-fit:contain;object-position:center;
  transform:none!important;filter:none!important;opacity:1;
  transition:opacity .2s ease;
}
.sm-logo-row .sm-logo-card img:hover{transform:none!important;opacity:.86}
@media(max-width:900px){
  .sm-logo-row .sm-logo-card{flex-basis:156px;width:156px;height:88px;padding:12px}
  .sm-logo-row .sm-logo-card img{width:132px;height:49px;max-width:132px;max-height:49px}
}
@media(max-width:600px){
  .sm-logo-row .sm-logo-card{flex-basis:148px;width:148px;height:82px;padding:10px}
  .sm-logo-row .sm-logo-card img{width:126px;height:45px;max-width:126px;max-height:45px}
}


/* Performance: no reservar capas de animación a carruseles que no se ven. */
html.sm-logo-visibility-ready .sm-brand-banner.sm-out-of-view .sm-logo-track,
html.sm-page-hidden .sm-brand-banner .sm-logo-track{
  animation-play-state:paused!important;
  will-change:auto!important;
}
html.sm-logo-visibility-ready .sm-brand-banner:not(.sm-out-of-view) .sm-logo-track{
  will-change:transform;
}
@media(prefers-reduced-motion:reduce){
  html.sm-logo-visibility-ready .sm-brand-banner .sm-logo-track{
    animation:none!important;will-change:auto!important;
  }
}


/* StockMarca 3.0 | Footer definitivo: logotipo negro y menú legal histórico. */
footer.footer.sm-footer-production {
  padding-top:48px;
  padding-bottom:44px;
  border-top:1px solid #d7e2df;
  color:#344f58;
  background:#f7f9f7;
  display:flex;
  gap:48px;
  justify-content:space-between;
  align-items:flex-start;
}
footer.sm-footer-production .sm-footer-brand {
  min-width:210px;
  flex:0 1 310px;
}
footer.sm-footer-production .logo {
  display:inline-flex;
  width:190px;
  max-width:100%;
  align-items:center;
  justify-content:flex-start;
}
footer.sm-footer-production .logo img.sm-official-logo {
  display:block;
  width:190px!important;
  height:auto!important;
  max-width:100%;
  object-fit:contain;
  object-position:left center;
  filter:brightness(0)!important;
}
footer.sm-footer-production .sm-footer-brand p {
  color:#4b6570;
  font-size:12px;
  line-height:1.6;
  margin:16px 0 0;
}
footer.sm-footer-production .foot-links {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start;
  gap:15px 26px;
  max-width:680px;
  margin:15px 0 0;
}
footer.sm-footer-production .foot-links a {
  color:#193741!important;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  line-height:1.5;
  white-space:normal;
}
footer.sm-footer-production .foot-links a:hover,
footer.sm-footer-production .foot-links a:focus-visible {
  color:#a8102a!important;
  text-decoration:underline;
  text-underline-offset:4px;
}
@media(max-width:840px) {
  footer.footer.sm-footer-production {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    padding-top:36px;
    padding-bottom:38px;
  }
  footer.sm-footer-production .sm-footer-brand {min-width:0}
  footer.sm-footer-production .foot-links {max-width:100%;margin-top:14px}
}
@media(max-width:480px) {
  footer.sm-footer-production .foot-links {
    grid-template-columns:minmax(0,1fr);
    gap:13px;
  }
}
