/* Ajustes limitados a las cuatro referencias solicitadas. */
body.native-home-flow .stats{padding:72px 0 87px}
body.native-home-flow .stats .section-shell{width:min(1024px,calc(100% - 48px))}
html body.native-home-flow .stats .section-title{
 left:0;width:fit-content!important;max-width:100%;margin:0 auto 80px!important;
 font-size:42px!important;line-height:1.2!important;text-align:center;text-align-last:center;text-wrap:balance;
}
body.native-home-flow .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
body.native-home-flow .stats .stat strong{font:400 56px/1.1 "Nanum Myeongjo",Georgia,serif;color:#fff}
body.native-home-flow .stats .stat span{font:500 16px/1.03 "Montserrat",Arial,sans-serif;margin-top:10px;color:#fff}

body.native-home-flow .locations{padding:10px 0 28px}
body.native-home-flow .locations .section-shell{width:min(1024px,calc(100% - 48px))}
html body.native-home-flow .locations .section-title{font-size:34px!important;font-weight:700!important;line-height:1.2!important;margin:0 auto 48px!important}
body.native-home-flow .locations-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:43px 0}
body.native-home-flow .locations-grid .location-card{grid-column:span 2;min-width:0}
body.native-home-flow .locations-grid .location-card:nth-child(4){grid-column:1/span 3}
body.native-home-flow .locations-grid .location-card:nth-child(5){grid-column:4/span 3}
body.native-home-flow .locations .pin-icon{width:44px;height:58px;object-fit:contain;margin:0 auto 25px}
html body.native-home-flow .locations .location-card h3{
 font:700 13px/18px "Montserrat",Arial,sans-serif!important;color:#62666c!important;
 background:none!important;-webkit-text-fill-color:currentColor!important;margin:0 0 15px;
}
body.native-home-flow .locations .location-card p{font:400 13px/22px "Montserrat",Arial,sans-serif;color:#4b5057;max-width:280px;margin:0 auto 14px}
body.native-home-flow .locations .location-card:nth-child(n+4) p{max-width:480px}
body.native-home-flow .locations .location-card:nth-child(3) p{max-width:300px}
body.native-home-flow .locations .location-phone{font:400 13px/20px "Montserrat",Arial,sans-serif;color:#4b5057}

body.native-home-flow .sectors{padding:68px 0 58px}
body.native-home-flow .sectors .section-shell{width:min(972px,calc(100% - 48px))}
html body.native-home-flow .sectors .section-title{font-size:34px!important;font-weight:700!important;line-height:1.2!important;margin:0 auto 58px!important}
body.native-home-flow .sector-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:72px 53px}
body.native-home-flow .sectors .sector img{width:52px;height:52px;object-fit:contain;margin:0 auto}
html body.native-home-flow .sectors .sector p{
 font:400 14px/20px "Montserrat",Arial,sans-serif!important;color:#041f40!important;
 background:none!important;-webkit-text-fill-color:currentColor!important;
 margin:25px 0 0;padding-bottom:15px;border-bottom:1px solid #d6a243;overflow-wrap:normal;
}

/* Servicios usa exactamente la misma geometría de portada que Nosotros. */
html body.services-page .services-cover-hero.lf-reference-cover{height:347px!important;min-height:347px!important}

@media(max-width:1050px){
 body.native-home-flow .sector-grid{gap:60px 28px}
 html body.native-home-flow .stats .section-title{font-size:clamp(28px,3.7vw,42px)!important}
}
@media(max-width:900px){
 body.native-home-flow .stats .stat span{font-size:14px}
 body.native-home-flow .sector-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:50px 35px}
 body.native-home-flow .locations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 28px}
 body.native-home-flow .locations-grid .location-card,
 body.native-home-flow .locations-grid .location-card:nth-child(4){grid-column:auto}
 body.native-home-flow .locations-grid .location-card:nth-child(5){grid-column:1/-1;width:min(480px,100%);justify-self:center}
}
@media(max-width:600px){
 body.native-home-flow .stats{padding:58px 0}
 body.native-home-flow .stats-grid{grid-template-columns:1fr;gap:42px}
 html body.native-home-flow .stats .section-title{font-size:28px!important;margin-bottom:46px!important}
 body.native-home-flow .stats .stat strong{font-size:52px}
 body.native-home-flow .locations{padding:40px 0}
 body.native-home-flow .locations-grid{grid-template-columns:1fr;gap:44px}
 body.native-home-flow .locations-grid .location-card:nth-child(n){grid-column:auto;width:100%}
 body.native-home-flow .locations .location-card p{max-width:100%}
 html body.native-home-flow .locations .section-title,
 html body.native-home-flow .sectors .section-title{font-size:clamp(26px,7vw,32px)!important}
 body.native-home-flow .sectors{padding:55px 0}
 body.native-home-flow .sector-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 24px}
 body.native-home-flow .sectors .sector p{font-size:13px!important}
}

/* Igualación definitiva Servicios = Nosotros */
html body.services-page .services-cover-hero.lf-reference-cover{
  height:347px!important;
  min-height:347px!important;
}
@media(max-width:900px){
  html body.services-page .services-cover-hero.lf-reference-cover{
    height:300px!important;
    min-height:300px!important;
  }
}

/* 2026-09-26 — Hover premium para las 3 tarjetas principales */
body.native-home-flow .value-card{
  position:relative;
  overflow:hidden;
  transition:transform .32s cubic-bezier(.22,.61,.36,1),
             box-shadow .32s ease,
             background-color .32s ease;
  will-change:transform;
}
body.native-home-flow .value-card::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  background:linear-gradient(90deg,transparent 0%,#c7a45b 50%,transparent 100%);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .32s ease;
  pointer-events:none;
}
@media (hover:hover) and (pointer:fine){
  body.native-home-flow .value-card:hover{
    transform:translateY(-18px) scale(1.03);
    box-shadow:none;
    background:#fffefb;
  }
  body.native-home-flow .value-card:hover::after{
    transform:scaleX(1);
  }
  body.native-home-flow .value-card .ornament,
  body.native-home-flow .value-card h3{
    transition:transform .32s ease,color .32s ease;
  }
  body.native-home-flow .value-card:hover .ornament{
    transform:translateY(-2px) scale(1.03);
  }
  body.native-home-flow .value-card:hover h3{
    transform:translateY(-2px);
  }
}

/* Ajustes puntuales: servicios con colores sólidos, sin atenuación lateral. */
body.services-page #portfolio{
  background:#E7E8F3!important;
}
body.services-page #portfolio .pf-card{
  background:#041f40;
  opacity:1;
  filter:none;
  box-shadow:none;
}
body.services-page #portfolio .pf-card::before{
  background:none;
}
body.services-page #portfolio .pf-card-rule{
  background:#c7a551;
}
body.services-page #portfolio .pf-arrow{
  background:#041f40;
}
body.services-page #portfolio .pf-arrow:hover{
  background:#0b315b;
}
body.services-page #portfolio .pf-progress button{
  background:#b5bec9;
}
body.services-page #portfolio .pf-progress button.is-active{
  background:#d6b45c;
}
body.services-page #portfolio .pf-count{
  color:#5e6b7a;
}
body.services-page #portfolio .pf-count strong{
  color:#a78234;
}

/* Logos más pequeños: área visual uniforme y centros del carrusel intactos.
   Las medidas compensan el margen transparente original de cada archivo. */
body.native-home-flow .client-logo img{
  width:calc(var(--client-logo-width) * var(--client-logo-scale,1));
  height:calc(var(--client-logo-height) * var(--client-logo-scale,1));
  max-width:none;
  max-height:none;
  object-fit:contain;
}

body.native-home-flow .client-logo img[src$="client-aceros-murillo.png"]{--client-logo-width:100.016px;--client-logo-height:34.129px;}
body.native-home-flow .client-logo img[src$="client-caosa.png"]{--client-logo-width:80.667px;--client-logo-height:58.738px;}
body.native-home-flow .client-logo img[src$="client-fovae.png"]{--client-logo-width:102.296px;--client-logo-height:35.722px;}
body.native-home-flow .client-logo img[src$="client-grupo-adet.png"]{--client-logo-width:134.763px;--client-logo-height:26.204px;}
body.native-home-flow .client-logo img[src$="client-grupo-gia.png"]{--client-logo-width:74.003px;--client-logo-height:63.211px;}
body.native-home-flow .client-logo img[src$="client-kartell.png"]{--client-logo-width:97.260px;--client-logo-height:55.438px;}
body.native-home-flow .client-logo img[src$="client-mmcarbon.png"]{--client-logo-width:110.622px;--client-logo-height:30.704px;}
body.native-home-flow .client-logo img[src$="client-mobius.png"]{--client-logo-width:72.863px;--client-logo-height:64.943px;}
body.native-home-flow .client-logo img[src$="client-nanoprotech.png"]{--client-logo-width:99.728px;--client-logo-height:50.709px;}
body.native-home-flow .client-logo img[src$="client-plastictrends.png"]{--client-logo-width:158.707px;--client-logo-height:23.724px;}
body.native-home-flow .client-logo img[src$="client-sty.png"]{--client-logo-width:74.557px;--client-logo-height:43.943px;}
body.native-home-flow .client-logo img[src$="client-vecore.png"]{--client-logo-width:80.279px;--client-logo-height:42.292px;}
@media(max-width:980px){body.native-home-flow .client-logo img{--client-logo-scale:.92;}}
@media(max-width:640px){body.native-home-flow .client-logo img{--client-logo-scale:.84;}}

/* 2026-10-01 — Realce más robusto SOLO en Inicio:
   3 tarjetas principales, Soluciones Legales y Ubicaciones. */
body.native-home-flow .value-card{
  box-shadow:
    0 18px 46px rgba(4,31,64,.14),
    0 4px 14px rgba(4,31,64,.08);
}

@media (hover:hover) and (pointer:fine){
  body.native-home-flow .value-card:hover{
    transform:translateY(-20px) scale(1.035);
    box-shadow:
      0 30px 68px rgba(4,31,64,.22),
      0 8px 22px rgba(4,31,64,.12);
  }

  body.native-home-flow #servicios .solution-item:hover{
    transform:translateY(-9px) scale(1.065);
    filter:drop-shadow(0 15px 15px rgba(4,31,64,.22));
  }

  body.native-home-flow .locations .locations-grid article:hover{
    transform:translate3d(0,-16px,34px) scale(1.06) !important;
    filter:drop-shadow(0 19px 22px rgba(4,31,64,.22)) !important;
  }
}

/* Refuerza también el pulso automático de Ubicaciones para pantallas de bajo contraste. */
@keyframes locationBlockPulse{
  0%,14%,100%{
    transform:translate3d(0,0,0) scale(1);
    filter:drop-shadow(0 0 0 rgba(4,31,64,0));
  }
  3.5%{
    transform:translate3d(0,3px,0) scale(.992);
    filter:drop-shadow(0 4px 7px rgba(4,31,64,.06));
  }
  7%{
    transform:translate3d(0,-15px,32px) scale(1.055);
    filter:drop-shadow(0 19px 22px rgba(4,31,64,.22));
  }
  10.5%{
    transform:translate3d(0,-5px,14px) scale(1.02);
    filter:drop-shadow(0 9px 13px rgba(4,31,64,.11));
  }
}
