.reference-footer.sitefooter{position:relative;isolation:isolate;overflow:hidden;background:#c81713;padding:0;color:#fff}
.reference-footer .footer-scene{position:absolute;inset:-8px;z-index:-2;background:url('/wp-content/themes/imdifer-2026/assets/inicio/assets/footer/fachada-imdifer.webp') center 55%/cover no-repeat;filter:blur(3px);opacity:.24;pointer-events:none}
.reference-footer:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(120deg,rgba(215,25,20,.91),rgba(201,17,13,.79) 50%,rgba(155,9,8,.89));pointer-events:none}
.reference-footer:after{content:'';position:absolute;right:20px;top:38px;width:90px;height:110px;background:radial-gradient(circle,#ffffff25 2px,transparent 2.6px) 0 0/13px 13px;z-index:-1;pointer-events:none}
.reference-footer .wrap{max-width:1440px;padding-left:40px;padding-right:40px}
.reference-footer .footer-main{padding-top:52px;padding-bottom:38px}
.reference-footer .footergrid{grid-template-columns:1.08fr 1fr 1.1fr 1.14fr;gap:0;align-items:stretch}
.reference-footer .footergrid>div{min-width:0;padding:0 25px;border-left:1px solid #ffffff32}
.reference-footer .footergrid>div:first-child{border:0;padding-left:0}
.reference-footer .footergrid>div:last-child{padding-right:0}
.reference-footer .footlogo{max-width:300px;width:100%;height:auto;margin:10px 0 25px;filter:brightness(0) invert(1)}
.reference-footer .foot-title-line{display:block;width:43px;height:4px;border-radius:3px;background:#ff6159;margin:0 0 19px}
.reference-footer h3{font-size:20px;letter-spacing:.1px;line-height:1.2;margin:0 0 12px;color:#fff}
.reference-footer .brandtext{font-size:14px;line-height:1.7;margin:0 0 20px;color:#fff}
.reference-footer .footer-contact-links{display:flex;gap:12px;margin:0 0 20px}
.reference-footer .footer-contact-links a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#ff514961;transition:background .15s}
.reference-footer .footer-contact-links a:hover{background:#ff6b64}
.reference-footer svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.reference-footer .satisfaction{width:100px;max-width:100%;height:auto}
.reference-footer .footerproducts{display:flex;flex-direction:column;gap:0}
.reference-footer .footerproduct{display:grid;grid-template-columns:72px minmax(0,1fr) 13px;gap:13px;align-items:center;padding:12px 0;border-bottom:1px solid #ffffff38;min-height:100px;font-size:13px;line-height:1.35;font-weight:700}
.reference-footer .footerproduct:first-child{padding-top:0;min-height:88px}
.reference-footer .footerproduct:last-child{border:0;padding-bottom:0}
.reference-footer .footerproduct img{width:72px;height:76px;background:white;border-radius:8px;object-fit:contain;padding:6px}
.reference-footer .footerproduct>svg{width:13px;height:20px}
.reference-footer .footerbranches{display:block}
.reference-footer .footerbranches section{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;border-bottom:1px solid #ffffff38;padding:16px 0}
.reference-footer .footerbranches section:first-of-type{padding-top:0}
.reference-footer .footerbranches section:last-child{border:0;padding-bottom:0}
.reference-footer .branch-pin{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#a9080980;margin-top:3px}
.reference-footer .branch-pin svg{width:21px;height:24px}
.reference-footer .footerbranches h4{font-size:14px;line-height:1.4;margin:0 0 6px}
.reference-footer .footerbranches .branch-line{display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.6;margin:3px 0;color:white}
.reference-footer .branch-line svg{width:13px;height:17px;margin-top:2px}
.reference-footer .branch-line a{overflow-wrap:anywhere;min-width:0}
.reference-footer .footer-map-card{position:relative;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 12px 26px #69020025}
.reference-footer .footmap{width:100%;height:371px;display:block;border:0;filter:saturate(.65)}
.reference-footer .footmaplink{display:flex;align-items:center;gap:11px;background:white;border-radius:10px;margin:0;padding:14px 12px;color:#bc1712!important;font-size:15px;min-height:76px;border-top:1px solid #e2e5e8}
.reference-footer .footmaplink strong{font-size:15px;display:block;line-height:1.3}
.reference-footer .footmaplink small{display:block;font-size:11px;color:#5a6771;margin-top:3px}
.reference-footer .map-pin{display:grid;place-items:center;background:var(--rojo);color:white;width:36px;height:36px;border-radius:50%;flex-shrink:0}
.reference-footer .footmaplink>svg{margin-left:auto;width:13px}
.reference-footer .footer-bottom-wrap{background:#810b08a6;border-top:1px solid #ffffff12}
.reference-footer .footerbottom{border:0;margin:0;min-height:72px;padding-top:22px;padding-bottom:22px;gap:20px}
.reference-footer .footerbottom nav{gap:0}
.reference-footer .footerbottom nav a{padding:0 20px;border-right:1px solid #ffffff40;font-size:11px;line-height:1.7}
.reference-footer .footerbottom nav a:first-child{padding-left:0}
.reference-footer .footerbottom nav a:last-child{border:0}
.reference-footer .footerbottom p{font-size:11px;color:#fff}
.reference-footer a{color:#fff}
.reference-footer a:focus-visible{outline:3px solid white;outline-offset:4px}
@media(min-width:1450px){.reference-footer .footerproduct{grid-template-columns:86px minmax(0,1fr) 14px;font-size:15px;gap:15px;min-height:113px}.reference-footer .footerproduct img{width:86px;height:88px}.reference-footer .footerproduct:first-child{min-height:99px}.reference-footer .footerbranches h4{font-size:16px}.reference-footer .footerbranches .branch-line{font-size:13px}.reference-footer .footerbranches section{padding:20px 0}.reference-footer .footmap{height:408px}.reference-footer .brandtext{font-size:16px}.reference-footer h3{font-size:23px}}
@media(max-width:1150px){.reference-footer .footergrid{grid-template-columns:1fr 1fr;gap:35px 0}.reference-footer .footergrid>div{padding:0 30px}.reference-footer .footergrid>div:nth-child(odd){border:0;padding-left:0}.reference-footer .footergrid>div:nth-child(even){padding-right:0}.reference-footer .footerbottom{flex-direction:column;align-items:flex-start}.reference-footer .footerbranches section{padding:16px 0}.reference-footer .brandtext{max-width:360px}.reference-footer .footlogo{max-width:300px}.reference-footer .footmap{height:300px}.reference-footer .footerproduct{grid-template-columns:76px 1fr 16px;font-size:14px}.reference-footer .footerproduct img{width:76px;height:76px}}
@media(max-width:600px){.reference-footer .wrap{padding-left:22px;padding-right:22px}.reference-footer .footer-main{padding-top:34px;padding-bottom:30px}.reference-footer .footergrid{grid-template-columns:1fr;gap:30px}.reference-footer .footergrid>div{padding:0!important;border-left:0;border-top:1px solid #ffffff38;padding-top:26px!important}.reference-footer .footergrid>div:first-child{padding-top:0!important;border:0}.reference-footer .footlogo{width:265px;max-width:100%;margin:0 0 23px}.reference-footer .brandtext{font-size:14px;max-width:none}.reference-footer .footerbrand{display:grid;grid-template-columns:1fr 92px;column-gap:20px}.reference-footer .footerbrand>.footlogo,.reference-footer .footerbrand>.foot-title-line,.reference-footer .footerbrand>.brandtext{grid-column:1/-1}.reference-footer .footer-contact-links{align-self:center;margin:0}.reference-footer .satisfaction{width:88px;justify-self:end}.reference-footer h3{font-size:21px}.reference-footer .footerproducts{display:flex;gap:0}.reference-footer .footerproduct{grid-template-columns:76px minmax(0,1fr) 16px;font-size:15px;gap:17px;min-height:100px}.reference-footer .footerproduct img{width:76px;height:76px}.reference-footer .footerbranches section{grid-template-columns:38px 1fr;gap:14px;padding:19px 0}.reference-footer .footerbranches h4{font-size:16px}.reference-footer .footerbranches .branch-line{font-size:13px}.reference-footer .footmap{height:275px}.reference-footer .footmaplink{padding:15px}.reference-footer .footerbottom{gap:18px;padding-top:23px;padding-bottom:23px}.reference-footer .footerbottom nav{gap:12px 0;display:grid;grid-template-columns:1fr 1fr;width:100%}.reference-footer .footerbottom nav a{padding:0 10px 0 0;font-size:10px;border:0}.reference-footer .footerbottom p{font-size:10px;line-height:1.6}.reference-footer:before{background:linear-gradient(180deg,#cf1713ed,#b8120fdc)}.reference-footer .footer-scene{background-position:47% top;background-size:auto 620px;background-repeat:no-repeat;opacity:.28}}
@media(prefers-reduced-motion:reduce){.reference-footer *{transition:none!important}}
.reference-footer .footer-map-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 13px}
.reference-footer .footer-map-tabs button{min-height:39px;border:1px solid #ffffff70;border-radius:5px;background:#9a0b0840;color:white;font:inherit;font-weight:700;font-size:11px;cursor:pointer;padding:7px 6px;line-height:1.3}
.reference-footer .footer-map-tabs button[aria-pressed="true"]{background:#fff;color:#b51510;border-color:#fff;box-shadow:0 3px 8px #69020025}
.reference-footer .footer-map-tabs button:hover{background:#ff686080}
.reference-footer .footer-map-tabs button[aria-pressed="true"]:hover{background:#fff4f3}
.reference-footer .footer-map-tabs button:focus-visible{outline:3px solid white;outline-offset:3px}
.reference-footer .footer-map-address{padding:12px 14px 0;margin:0;color:#4a5862;font-size:12px;line-height:1.5;background:#fff;min-height:43px}
.reference-footer .branch-address-link{text-decoration:underline;text-decoration-color:#ffffff66;text-underline-offset:3px}
.reference-footer .footer-location .footmap{height:300px}
.reference-footer .footer-location .footmaplink{border-top:0}
@media(max-width:1150px){.reference-footer .footer-location .footmap{height:260px}}
@media(max-width:600px){.reference-footer .footer-map-tabs button{min-height:44px;font-size:13px}.reference-footer .footer-map-address{font-size:13px;padding-top:14px}.reference-footer .footer-location .footmap{height:275px}}
.reference-footer .footer-map-tabs button span{display:block}.reference-footer .footer-map-tabs button small{display:block;font-size:9px;font-weight:400;margin-top:3px;letter-spacing:.1px}.reference-footer .footer-map-tabs button{min-height:53px}
