/*
 * ECUTRONIC 10.4.17 · Contacto directo
 * WhatsApp en cabecera, franja de la portada y bloque del pie (sin botón flotante desde 10.4.18).
 * Usa las variables del tema (claro/oscuro). El verde solo identifica WhatsApp.
 */
body.ecu-mercury{--ecu-wa:#0e7c47;--ecu-wa-hover:#0b6a3c;--ecu-wa-ring:#7fd1a5}

/* Cabecera: solo donde cabe sin apretar el menú (en móvil, la franja de la portada, Contacto y el pie) */
body.ecu-mercury .site-header.ecu-header .header-whatsapp{display:none}
@media(min-width:701px) and (max-width:1179px),(min-width:1360px){
 html[data-theme] body.ecu-mercury .site-header.ecu-header a.header-whatsapp{display:inline-flex;align-items:center;gap:8px;box-sizing:border-box;height:var(--header-control-size,40px);padding:0 14px 0 10px;margin-right:6px;border:1px solid var(--mc-line);border-radius:999px;background:transparent;color:var(--mc-ink);text-decoration:none;white-space:nowrap;line-height:1;transition:border-color .2s,background-color .2s}
 html[data-theme] body.ecu-mercury .site-header.ecu-header a.header-whatsapp:hover{border-color:var(--ecu-wa);background:rgba(14,124,71,.07);color:var(--mc-ink)}
 body.ecu-mercury .site-header.ecu-header a.header-whatsapp:focus-visible{outline:3px solid var(--ecu-wa-ring);outline-offset:2px}
 body.ecu-mercury .site-header.ecu-header .header-whatsapp .ecu-contact-icon{width:20px;height:20px;flex:0 0 20px;color:var(--ecu-wa)}
 body.ecu-mercury .site-header.ecu-header .header-whatsapp>span{display:flex;flex-direction:column;gap:2px}
 body.ecu-mercury .site-header.ecu-header .header-whatsapp small{font:600 9px/1 var(--mc-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--mc-muted)}
 body.ecu-mercury .site-header.ecu-header .header-whatsapp b{font:600 13px/1 var(--mc-ui);color:var(--mc-ink)}
}

/* Franja de contacto de la portada */
body.ecu-mercury .home-contact-strip{position:relative;z-index:2;background:var(--mc-canvas);border-block:1px solid var(--mc-line);padding:30px 0}
body.ecu-mercury .home-contact-shell{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2.1fr) auto;align-items:center;gap:32px}
body.ecu-mercury .home-contact-lead h2{margin:8px 0 0;font:600 22px/1.2 var(--mc-display);letter-spacing:-.01em;color:var(--mc-ink)}
body.ecu-mercury .home-contact-facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.ecu-mercury .home-contact-facts li{display:flex;align-items:flex-start;gap:10px;margin:0;padding:0}
body.ecu-mercury .home-contact-facts .ecu-contact-icon{flex:0 0 22px;width:22px;height:22px;margin-top:1px;color:var(--mc-signal)}
body.ecu-mercury .home-contact-facts b{display:block;font:600 13px/1.35 var(--mc-ui);color:var(--mc-ink)}
body.ecu-mercury .home-contact-facts small{display:block;margin-top:2px;font:400 13px/1.45 var(--mc-ui);color:var(--mc-secondary)}
body.ecu-mercury .home-contact-facts small+small{margin-top:0}
body.ecu-mercury .home-contact-facts .home-contact-times{white-space:nowrap}
body.ecu-mercury .home-contact-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
html[data-theme] body.ecu-mercury a.home-contact-whatsapp{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:46px;padding:0 20px 0 16px;border:1px solid var(--ecu-wa);border-radius:999px;background:var(--ecu-wa);color:#fff;font:600 14px/1 var(--mc-ui);text-decoration:none;white-space:nowrap;transition:background-color .2s}
html[data-theme] body.ecu-mercury a.home-contact-whatsapp:is(:hover,:focus-visible,:visited,:active){color:#fff}
html[data-theme] body.ecu-mercury a.home-contact-whatsapp:hover{background:var(--ecu-wa-hover);border-color:var(--ecu-wa-hover)}
body.ecu-mercury a.home-contact-whatsapp:focus-visible{outline:3px solid var(--ecu-wa-ring);outline-offset:3px}
body.ecu-mercury .home-contact-whatsapp .ecu-contact-icon{width:20px;height:20px;flex:0 0 20px}
html[data-theme] body.ecu-mercury a.home-contact-mail{display:inline-flex;align-items:center;gap:7px;font:400 13px/1.4 var(--mc-ui);color:var(--mc-secondary);text-decoration:none}
html[data-theme] body.ecu-mercury a.home-contact-mail:hover{color:var(--mc-link)}
body.ecu-mercury .home-contact-mail .ecu-contact-icon{width:18px;height:18px;flex:0 0 18px}
@media(max-width:1100px){
 body.ecu-mercury .home-contact-shell{grid-template-columns:1fr;gap:20px}
 body.ecu-mercury .home-contact-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px 20px}
}
@media(max-width:700px){
 body.ecu-mercury .home-contact-strip{padding:26px 0}
 body.ecu-mercury .home-contact-lead h2{font-size:20px}
 body.ecu-mercury .home-contact-facts{grid-template-columns:1fr;gap:14px}
 body.ecu-mercury .home-contact-actions{flex-direction:column;align-items:stretch}
 html[data-theme] body.ecu-mercury a.home-contact-whatsapp{width:100%}
 html[data-theme] body.ecu-mercury a.home-contact-mail{justify-content:center}
}

/* Contacto en el pie */
body.ecu-mercury .site-footer address.footer-contact{display:grid;gap:9px;margin:18px 0 0;font-style:normal}
body.ecu-mercury .site-footer .footer-contact :is(a,p){display:flex;align-items:flex-start;gap:9px;margin:0;padding:0;font:400 13px/1.45 var(--mc-ui);color:var(--mc-secondary);text-decoration:none}
body.ecu-mercury .site-footer .footer-contact a:hover{color:var(--mc-link)}
body.ecu-mercury .site-footer .footer-contact span{font-size:13px;color:inherit}
body.ecu-mercury .site-footer .footer-contact b{font-weight:600;color:var(--mc-ink)}
body.ecu-mercury .site-footer .footer-contact .ecu-contact-icon{flex:0 0 18px;width:18px;height:18px;margin-top:1px;color:var(--mc-signal)}
body.ecu-mercury .site-footer .footer-contact a.footer-contact-social{padding-left:0}
