/* MovillGas V4 ˇ estilos compartidos. Sin componentes de páginas. */
:root {
 --mg-navy:#002554; --mg-blue:#003e99; --mg-link:#0055b8; --mg-sky:#5fc3e2; --mg-amber:#e7a33e;
 --mg-ink:#35465b; --mg-line:#d2dee8; --mg-paper:#fefdfb; --mg-whatsapp:#117c43;
}
.mg-site-header, .mg-site-header * { box-sizing:border-box; }
.mg-site-header { position:relative; z-index:100; font-family:inherit; }
.mg-topbar { background:var(--mg-navy); color:#fff; }
.mg-topbar-inner { max-width:1280px; margin:auto; padding:6px 32px; display:flex; justify-content:space-between; align-items:center; gap:20px; }
.mg-topbar-group { display:flex; align-items:center; gap:10px; min-width:0; }
.mg-topbar-link { min-height:44px; display:inline-flex; gap:8px; align-items:center; padding:8px 10px; color:#fff; text-decoration:none; font-size:14px; line-height:1.4; border-radius:2px; }
.mg-topbar-link:hover { color:#fff; background:#ffffff16; }
.mg-emergency-link { padding-left:0; }
.mg-emergency-link strong { display:inline-block; white-space:nowrap; }
.mg-topbar-icon { flex-shrink:0; width:20px; height:20px; border:1px solid #e7a33e; color:#f3bb69; border-radius:50%; display:grid; place-items:center; font-weight:700; }
.mg-topbar-payment { background:var(--mg-amber); color:var(--mg-navy); font-weight:700; }
.mg-topbar-payment:hover { background:#f2ba65; color:var(--mg-navy); }
.mg-topbar-secondary { border:1px solid #91a9c3; }
.mg-topbar-search { display:flex; width:230px; min-width:0; height:44px; margin:0; border:1px solid #91a9c3; background:#ffffff0d; }
.mg-topbar-search input[type=search] { width:100%; min-width:0; height:42px; padding:8px 10px; border:0; background:transparent; color:#fff; font-size:16px; }
.mg-topbar-search input::placeholder { color:#c5d4e6; }
.mg-topbar-search button { display:grid; place-items:center; flex:0 0 44px; padding:0; background:transparent; color:#fff; border:0; }
.mg-topbar-search button svg { width:18px; height:18px; }
.mg-search-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mg-topbar :is(a,input,button):focus-visible { outline:2px solid #fff; outline-offset:2px; }
header.site-header { background:#fff; border-bottom:2px solid var(--mg-navy); }
header.site-header .inside-header { max-width:1280px; padding:14px 32px; margin:auto; display:flex; align-items:center; gap:24px; }
header.site-header .site-branding-container { display:flex; align-items:center; gap:10px; min-width:0; }
header.site-header .site-logo img { display:block; width:54px; height:54px; object-fit:contain; }
header.site-header .main-title { font-size:22px; line-height:1.2; letter-spacing:-.7px; }
header.site-header .main-title a { color:var(--mg-navy); }
header.site-header .main-navigation { margin-left:auto; background:#fff; }
header.site-header .main-navigation .main-nav > ul > li > a { padding-inline:12px; color:var(--mg-navy); font-size:14px; font-weight:600; transition:box-shadow .18s ease; }
header.site-header .main-navigation .main-nav > ul > li > a:hover, header.site-header .main-navigation .main-nav > ul > li.current-menu-item > a { box-shadow:inset 0 -2px var(--mg-amber); color:var(--mg-link); }
header.site-header .main-navigation ul ul { background:#fff; border-top:2px solid var(--mg-amber); box-shadow:0 10px 25px #00255412; }
header.site-header .main-navigation ul ul a { color:var(--mg-navy); font-size:14px; line-height:1.5; }
header.site-header .menu-toggle { min-width:44px; min-height:44px; color:var(--mg-navy); }
header.site-header :is(a,button):focus-visible { outline:3px solid var(--mg-link); outline-offset:2px; }
.site-footer .footer-widgets-container { max-width:none; padding:0; }
.site-footer .inside-footer-widgets { display:block; }
.site-footer .footer-widget-1 { width:100%; }
.site-footer .widget { margin:0; }
.site-footer { background:var(--mg-navy); }
.site-footer .site-info { background:var(--mg-navy); color:#adc2d7; font-size:12px; }
.site-footer .site-info a { color:#f3bb69; }
footer.site-footer-legal-esp { width:100%; box-sizing:border-box; background:var(--mg-navy); color:#fff; padding:42px 32px 20px; border-top:3px solid var(--mg-amber); }
footer.site-footer-legal-esp .footer-grid { max-width:1216px; margin:auto; display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:28px 40px; }
footer.site-footer-legal-esp .footer-col { min-width:0; }
footer.site-footer-legal-esp .footer-col:first-child { grid-column:1/-1; border-bottom:1px solid #ffffff30; padding-bottom:18px; display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:12px 40px; align-items:start; }
footer.site-footer-legal-esp .footer-col:first-child h4 { font-size:28px; letter-spacing:-.8px; grid-row:span 3; }
footer.site-footer-legal-esp .footer-col h4 { margin:0 0 12px; color:#fff; font-size:15px; line-height:1.4; }
footer.site-footer-legal-esp .footer-col p, footer.site-footer-legal-esp .footer-col li { margin:0 0 6px; font-size:14px; line-height:1.65; color:#d8e4ef; overflow-wrap:anywhere; }
footer.site-footer-legal-esp .footer-col ul { list-style:none; padding:0; margin:0; }
footer.site-footer-legal-esp a { color:#f3bb69; text-underline-offset:5px; display:inline-block; min-height:44px; padding-block:10px; }
footer.site-footer-legal-esp a:hover { color:#fff; }
footer.site-footer-legal-esp a:focus-visible { outline:3px solid #fff; outline-offset:3px; }
footer.site-footer-legal-esp .copyright-bar-esp { max-width:1216px; margin:24px auto 0; padding-top:16px; border-top:1px solid #ffffff30; font-size:12px; line-height:1.65; color:#b9cbdc; }
.mg-whatsapp-float { box-sizing:border-box; position:fixed; right:max(16px,env(safe-area-inset-right)); bottom:max(20px,env(safe-area-inset-bottom)); width:56px; max-width:calc(100vw - 32px); height:56px; padding:13px; gap:0; border-radius:999px; border:1px solid #ffffff80; background:var(--mg-whatsapp); color:#fff; display:inline-flex; align-items:center; justify-content:center; z-index:90; text-decoration:none; box-shadow:0 4px 16px #00255424; transition:width .24s ease,gap .24s ease,transform .18s ease,background-color .18s ease; animation:mg-contact-enter .35s ease-out 1; }
.mg-whatsapp-float[hidden] { display:none; }
.mg-whatsapp-float:hover { background:#0c6535;color:#fff;transform:translateY(-2px); }
.mg-whatsapp-float:focus-visible { outline:3px solid var(--mg-amber);outline-offset:4px;color:#fff; }
.mg-whatsapp-icon { display:grid; place-items:center; flex:0 0 28px; }
.mg-whatsapp-label { max-width:0;opacity:0;overflow:hidden;font:650 15px/1.4 system-ui,sans-serif;white-space:nowrap;transition:max-width .24s ease,opacity .18s ease; }
.mg-whatsapp-float:is(:hover,:focus-visible) { width:164px;gap:10px; }
.mg-whatsapp-float:is(:hover,:focus-visible) .mg-whatsapp-label { max-width:100px;opacity:1; }
.mg-whatsapp-icon img,.mg-whatsapp-icon svg { width:28px; height:28px; }
.mg-whatsapp-tooltip { position:absolute; right:0; bottom:calc(100% + 10px); width:max-content;max-width:calc(100vw - 32px);padding:8px 12px;line-height:1.5; background:var(--mg-navy); color:#fff; font-size:13px; opacity:0; pointer-events:none;border-radius:6px; }
.mg-whatsapp-float:is(:hover,:focus-visible) .mg-whatsapp-tooltip { opacity:1; }
@keyframes mg-contact-enter { from { transform:translateY(8px); } to { transform:translateY(0); } }
@media (min-width:769px) and (max-width:1100px) {
 header.site-header .inside-header { flex-wrap:wrap; }
 header.site-header #site-navigation { flex-basis:100%; margin-left:0; }
}
@media (max-width:900px) {
 .mg-topbar-inner { flex-wrap:wrap; gap:4px; }
 .mg-topbar-group { width:100%; justify-content:space-between; }
 .mg-topbar-search { flex:1; width:auto; }
 footer.site-footer-legal-esp .footer-grid { grid-template-columns:1fr 1fr; }
 footer.site-footer-legal-esp .footer-col:first-child { display:block; }
 footer.site-footer-legal-esp .footer-col:last-child { grid-column:1/-1; }
}
@media (max-width:600px) {
 .mg-topbar-inner { padding:4px 16px; }
 .mg-topbar-group { gap:6px; }
 .mg-topbar-group:last-child { display:grid; grid-template-columns:1fr 1fr; }
 .mg-topbar-search { grid-column:1/-1; grid-row:1; width:100%; }
 .mg-topbar-link { padding:8px 6px; justify-content:center; font-size:13px; }
 .mg-emergency-link strong { display:block; }
 .mg-emergency-link { justify-content:flex-start; }
 header.site-header .inside-header { padding:10px 16px; gap:12px; }
 header.site-header .site-logo img { width:42px; height:42px; }
 header.site-header .main-title { font-size:20px; }
 header.site-header .mobile-menu-control-wrapper { margin-left:auto; }
 header.site-header .menu-toggle { width:44px;height:44px;padding:0; }
 footer.site-footer-legal-esp { padding:30px 22px 18px; }
 footer.site-footer-legal-esp .footer-grid { grid-template-columns:1fr; gap:22px; }
 footer.site-footer-legal-esp .footer-col { padding-bottom:12px; border-bottom:1px solid #ffffff20; }
}
@media (prefers-reduced-motion:reduce) { header.site-header .main-navigation a,.mg-whatsapp-float,.mg-whatsapp-label { transition:none;animation:none; } }

/* Acceso al contenido: reutiliza el enlace nativo si existe. */
.mg-skip-link { position:fixed;top:12px;left:12px;right:auto;z-index:100000;max-width:calc(100vw - 24px);padding:14px 18px;background:#fff;color:#002554;font:650 16px/1.4 system-ui,sans-serif;text-decoration:underline;transform:translateY(-250%); }
.mg-skip-link:focus { transform:none;width:auto;height:auto;clip:auto;clip-path:none;overflow:visible;outline:3px solid #0055b8;outline-offset:2px; }
.mg7-users .mg-map-close { display:block;margin:18px 0 0 auto;min-height:44px;padding:10px 18px;border:1px solid #002554;background:#002554;color:#fff;font:600 15px/1.5 system-ui,sans-serif;cursor:pointer; }
.mg7-users :is(.mg-map-close,.popup-close):focus-visible { outline:3px solid #0055b8;outline-offset:3px; }
