/* Pulido general del pie de página y de las secciones principales en pantallas táctiles. */
.footer{
  position:relative;isolation:isolate;overflow:hidden;padding-top:62px;
  background:radial-gradient(ellipse at 10% 0%,rgba(19,95,155,.26),transparent 38%),linear-gradient(135deg,#061c33 0%,#0a2b4b 58%,#071f38 100%);
}
.footer:before{position:absolute;z-index:-1;top:0;right:0;left:0;height:4px;background:linear-gradient(90deg,#ffcb05 0%,#ffcb05 28%,#1a6bab 75%,#ffcb05 100%);content:""}
.footer-grid{position:relative;grid-template-columns:1.35fr 1.1fr .8fr 1fr;gap:clamp(24px,3.2vw,48px);padding-bottom:42px}
.footer-about .brand-light{display:inline-flex;width:max-content;max-width:100%;padding:5px 13px;border:1px solid rgba(255,255,255,.76);border-radius:12px;background:#fff;box-shadow:0 10px 26px rgba(0,0,0,.14)}
.footer-about .footer-logo{width:174px;height:62px;object-fit:contain}
.footer-about p{max-width:340px;margin:19px 0 22px;color:#b7c9da;font-size:13px;line-height:1.8}
.footer h4{position:relative;margin:4px 0 23px;padding-bottom:12px;color:#fff;font-size:13px;font-weight:800;letter-spacing:.35px}
.footer h4:after{position:absolute;bottom:0;left:0;width:30px;height:2px;border-radius:2px;background:var(--yellow);content:""}
.footer ul{gap:12px;color:#c2d0de;font-size:12px;line-height:1.55}
.footer .footer-column a{display:inline-block;transition:color .18s ease,transform .18s ease}
.footer .footer-column a:hover{color:var(--yellow);transform:translateX(3px)}
.footer .contact-list{gap:14px}
.footer .contact-list li{gap:11px;color:#d4deea;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.footer .contact-list li>svg{width:31px;height:31px;flex:0 0 31px;padding:7px;border:1px solid rgba(255,203,5,.24);border-radius:9px;background:rgba(255,203,5,.09);color:var(--yellow)}
.footer .socials{gap:9px}
.footer .socials a{width:38px;height:38px;border-color:rgba(213,229,243,.24);background:rgba(255,255,255,.04);color:#eaf2f8;transition:background .2s,border-color .2s,color .2s,transform .2s}
.footer .socials a:hover{transform:translateY(-2px);border-color:var(--yellow);background:var(--yellow);color:var(--blue-deep)}
.footer-bottom{position:relative;margin-top:0;padding:19px 0 22px;border-top:1px solid rgba(220,234,246,.14);color:#9db2c5;font-size:11px;line-height:1.7}

/* Cinta de beneficios continua, ligera y sin controles visibles. */
.trust-bar{overflow:hidden;border-top:1px solid #e8eef4;border-bottom:1px solid #e8eef4;background:linear-gradient(90deg,#f8fbfe,#fff 48%,#f8fbfe)}
.trust-marquee{position:relative;overflow:hidden;width:100%;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.trust-track{display:flex;width:max-content;animation:trust-marquee-scroll 18s linear infinite;will-change:transform}
.trust-marquee:hover .trust-track{animation-play-state:paused}
.trust-set{display:flex;flex:none}
.trust-item{display:flex;flex:0 0 220px;align-items:center;gap:11px;min-height:66px;padding:8px 12px;border-right:1px solid #e8eef4}
.trust-item>svg{flex:0 0 34px;width:34px;height:34px;padding:7px;border:1px solid #dce9f5;border-radius:10px;background:#edf5fc;color:var(--blue)}
.trust-item>div{min-width:0}
.trust-item strong{display:block;color:var(--blue-deep);font-size:12px;line-height:1.3;white-space:nowrap}
.trust-item small{display:block;margin-top:3px;color:#74869a;font-size:10px;line-height:1.25;white-space:nowrap}
@keyframes trust-marquee-scroll{to{transform:translateX(-16.6666667%)}}

@media(max-width:900px){
  #soluciones .category-grid{
    display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;padding:3px 1px 12px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;touch-action:pan-x pan-y;
  }
  #soluciones .category-grid::-webkit-scrollbar{display:none;width:0;height:0}
  #soluciones .category-card{flex:0 0 clamp(260px,37vw,320px);height:166px;transform:none}
  #soluciones .category-card:hover{transform:none}
  .home-featured .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .home-featured .product-card .product-image{--product-image-height:clamp(170px,25vw,220px)}
  .footer-grid{grid-template-columns:1.1fr .9fr .9fr;gap:30px}
  .footer-about{grid-column:1/-1}
}
@media(max-width:700px){
  .trust-track{animation-duration:16s}
  .trust-item{flex-basis:220px;min-height:58px;gap:9px;padding:7px 12px}
  .trust-item>svg{flex-basis:31px;width:31px;height:31px;padding:6px;border-radius:9px}
  .trust-item strong{font-size:11px}
  .trust-item small{font-size:9px}
  #soluciones .category-card{flex-basis:min(80vw,320px);height:154px}
  .home-featured .product-grid{gap:11px}
  .home-featured .product-card .product-image{--product-image-height:clamp(150px,30vw,210px)}
  .footer{padding-top:45px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px;padding-bottom:30px}
  .footer-about,.footer-contact{grid-column:1/-1}
  .footer-about p{max-width:480px}
  .footer-bottom{gap:8px;padding:17px 0 20px}
}
@media(max-width:560px){
  #soluciones .category-grid{gap:11px;margin-right:-13px;margin-left:-13px;padding-right:13px;padding-left:13px}
  #soluciones .category-card{flex-basis:min(82vw,310px);height:148px;border-radius:13px}
  #soluciones .category-copy{padding:16px;max-width:68%}
  #soluciones .category-copy strong{font-size:14px}
  #soluciones .category-copy span{margin-top:7px;font-size:11px}
  #soluciones .category-card img{width:56%}
  .home-featured .product-grid{gap:9px}
  .home-featured .product-card{border:1px solid #e4eaf0;border-radius:13px;background:#fff;box-shadow:0 5px 16px rgba(3,31,62,.045)}
  .home-featured .product-card .product-image{--product-image-height:clamp(132px,39vw,172px);background:#f8fafc}
  .home-featured .product-card .product-image img{inset:14px 8px 8px;width:calc(100% - 16px);height:calc(100% - 22px)}
  .home-featured .product-card .product-body{padding:11px 9px 10px}
  .home-featured .product-card .product-brand{min-height:13px;font-size:9px;letter-spacing:.6px}
  .home-featured .product-card .product-title{min-height:0;margin:5px 0 6px;font-size:10.5px;line-height:1.4}
  .home-featured .product-card .product-sku{min-height:14px;font-size:9px}
  .home-featured .product-card .product-quote-label{align-self:flex-start;max-width:100%;margin:6px 0;padding:5px 7px;font-size:9px;white-space:normal}
  .home-featured .product-card .product-stock{font-size:9px;line-height:1.35}
  .home-featured .product-card .product-actions{grid-template-columns:minmax(0,1fr) 33px;gap:5px;padding-top:9px}
  .home-featured .product-card .product-actions .btn{min-height:36px;padding:7px 4px;font-size:9px;line-height:1.25}
  .home-featured .product-card .product-actions .icon-btn{min-height:36px}
  .home-featured .product-card .product-tag{top:8px;left:8px;padding:5px 7px;font-size:8px}
  .footer{padding-top:39px}
  .footer-grid{gap:25px 16px}
  .footer-about .brand-light{padding:4px 10px;border-radius:10px}
  .footer-about .footer-logo{width:155px;height:54px}
  .footer-about p{margin:15px 0 18px;font-size:12px;line-height:1.7}
  .footer h4{margin-bottom:17px;font-size:12px}
  .footer ul{gap:10px;font-size:11px}
  .footer .contact-list{gap:11px}
  .footer .contact-list li{font-size:11px}
  .footer-bottom{align-items:flex-start;font-size:10px}
}
@media(max-width:360px){
  #soluciones .category-card{flex-basis:84vw}
  .home-featured .product-card .product-body{padding-right:7px;padding-left:7px}
  .home-featured .product-card .product-actions{grid-template-columns:minmax(0,1fr) 30px;gap:4px}
  .footer-grid{grid-template-columns:1fr;gap:23px}
  .footer-about,.footer-contact{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){
  .trust-track{width:100%;animation:none;transform:none}
  .trust-set[aria-hidden="true"]{display:none}
  .trust-set:not([aria-hidden="true"]){width:max-content;flex-wrap:nowrap;justify-content:flex-start}
  .trust-item{flex:0 0 220px;max-width:none}
}
