/* Shared navigation only: approved page sections keep their existing styles. */
.mp-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.mundo-header .header-container { gap: 24px; }
.mundo-header .header-logo, .mundo-header .header-actions { flex-shrink: 0; }
.mundo-header .nav-menu { gap: 22px !important; }
.mundo-header .nav-home-link { white-space: nowrap; }
.mundo-header .nav-home-link[aria-current], .mp-mobile-home[aria-current] { color: var(--blue-brand); }
.mp-mobile-home { display: flex; align-items: center; min-height: 68px; padding: 16px 0; color: var(--navy-deep); font-size: 17px; font-weight: 700; text-decoration: none; }
.mundo-header button.nav-link { border: 0; background: transparent; cursor: pointer; white-space: nowrap; line-height: 24px; }
.mundo-header .nav-item.is-current-section > .nav-link,
.mundo-header .nav-item.is-open > .nav-link { color: var(--blue-brand) !important; }
.mundo-header .nav-item.is-current-section > .nav-link::after { content: ''; position: absolute; bottom: 16px; left: 0; width: 20px; height: 2px; background: var(--green-accent); border-radius: 2px; }
.mundo-header .nav-item .nav-dropdown { visibility: visible; opacity: 1; pointer-events: auto; transform: translateX(-50%); top: calc(100% - 2px); width: 340px; max-width: calc(100vw - 40px); padding: 8px; border-radius: 14px; box-shadow: 0 16px 42px rgba(7,30,61,.12); animation: mp-dropdown-in .16s ease both; }
.mundo-header .nav-dropdown[hidden] { display: none !important; }
.mundo-header .dropdown-inner { margin: 0; padding: 0; list-style: none; gap: 2px; }
.mundo-header .dropdown-inner li { list-style: none; margin: 0; padding: 0; }
.mundo-header .dropdown-item { min-height: 58px; padding: 11px 14px; opacity: 1; }
.mundo-header .dropdown-item:hover, .mundo-header .dropdown-item:focus-visible { background: var(--bg-soft); }
.mundo-header .dropdown-item[aria-current] { background: var(--blue-light); box-shadow: inset 3px 0 var(--blue-brand); }
.mundo-header .dropdown-item-title { line-height: 1.4; }
.mundo-header .dropdown-item-desc { font-size: 12px; line-height: 1.45; }
.mundo-header .nav-item.is-open .dropdown-chevron { transform: rotate(180deg); stroke: var(--blue-brand); }
.mundo-header .header-consultation { padding: 12px 17px; font-size: 13px; white-space: nowrap; min-height: 44px; }
.mundo-header .mobile-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; padding: 9px; flex-shrink: 0; }
.mundo-header .mobile-toggle .bar { flex-shrink: 0; }

/* The full-screen scrim and the independently scrolling 90%-width panel. */
.mp-mobile-menu { position: fixed; inset: 0; z-index: 2200; height: 100vh; height: 100dvh; font-family: var(--font-sans); color: var(--navy-deep); isolation: isolate; }
.mp-mobile-menu[hidden] { display: none !important; }
.mp-mobile-menu *, .mp-mobile-menu *::before, .mp-mobile-menu *::after { box-sizing: border-box; }
.mp-mobile-backdrop { position: absolute; inset: 0; background: rgba(5,21,43,.44); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); opacity: 0; transition: opacity .35s ease; }
.mp-mobile-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: 90vw; height: 100%; max-height: none; margin: 0; padding: 0; background: #fff; box-shadow: -16px 0 60px rgba(5,21,43,.16); transform: translateX(100%); transition: transform .35s cubic-bezier(.22,.7,.22,1); outline-offset: -4px; overflow: hidden; }
.mp-mobile-menu.is-open .mp-mobile-backdrop { opacity: 1; }
.mp-mobile-menu.is-open .mp-mobile-panel { transform: translateX(0); }
.mp-mobile-top { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 88px; padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 20px 20px; border-bottom: 1px solid var(--border-subtle); background: #fff; }
.mp-mobile-brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 20px; font-weight: 800; line-height: 1; letter-spacing: -.04em; text-decoration: none; color: var(--navy-deep); white-space: nowrap; }
.mp-mobile-brand img { width: 30px; height: 30px; object-fit: contain; flex: 0 0 auto; }
.mp-mobile-brand-power { color: var(--green-accent); }
.mp-mobile-close { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--border-subtle); border-radius: 50%; background: #fff; color: var(--navy-deep); cursor: pointer; }
.mp-mobile-close:hover { background: var(--bg-soft); }
.mp-mobile-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 14px max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 24px; }
.mp-mobile-scroll nav { display: block; }
.mp-mobile-groups, .mp-accordion-inner ul { list-style: none; padding: 0; margin: 0; }
.mp-mobile-group { border-bottom: 1px solid var(--border-subtle); margin: 0; padding: 0; list-style: none; }
.mp-accordion-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 68px; padding: 16px 0; border: 0; background: transparent; color: var(--navy-deep); text-align: left; font-family: inherit; font-size: 17px; line-height: 1.45; font-weight: 700; letter-spacing: -.02em; cursor: pointer; }
.mp-accordion-toggle > span { min-width: 0; }
.mp-accordion-toggle svg { flex-shrink: 0; }
.mp-mobile-group.is-current-section > .mp-accordion-toggle { color: var(--blue-brand); }
.mp-accordion-toggle[aria-expanded="true"] .dropdown-chevron { transform: rotate(180deg); stroke: var(--blue-brand); }
.mp-accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.mp-accordion-panel.is-expanded { grid-template-rows: 1fr; }
.mp-accordion-inner { min-height: 0; overflow: hidden; }
.mp-accordion-inner ul { padding: 0 0 12px; }
.mp-accordion-inner a { display: flex; align-items: center; min-height: 46px; margin: 2px 0; padding: 11px 14px; border-radius: 8px; color: var(--text-body); text-decoration: none; font-size: 14px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.mp-accordion-inner a:hover { background: var(--bg-soft); color: var(--blue-brand); opacity: 1; }
.mp-accordion-inner a[aria-current] { color: var(--blue-brand); background: var(--blue-light); font-weight: 700; box-shadow: inset 3px 0 var(--blue-brand); }
.mp-mobile-action { padding-top: 28px; }
.mp-mobile-action .btn-talk-sales { width: 100%; min-height: 52px; justify-content: space-between; gap: 10px; border-radius: 10px; padding: 15px 17px; font-size: 13px; line-height: 1.5; letter-spacing: -.01em; }
.mp-mobile-action .btn-talk-sales svg { flex-shrink: 0; }
.mp-mobile-bottom { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.mp-mobile-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--navy-deep); text-decoration: none; }
.mp-mobile-bottom p { margin: 8px 0 0; font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.mp-mobile-menu :focus-visible { outline: 3px solid var(--blue-brand); outline-offset: 3px; }

/* The footer uses the same destinations; existing brand/contact/art copy stays intact. */
.footer-grid { grid-template-columns: minmax(170px,1fr) minmax(410px,2.4fr) minmax(210px,1.15fr) minmax(100px,.6fr); gap: 28px; }
.footer-navigation { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: start; gap: 22px; min-width: 0; }
.footer-nav-group { min-width: 0; }
.footer-navigation .footer-links a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 0; font-size: 12.5px; line-height: 1.6; }
.footer-navigation .footer-col-title { font-size: 14px; margin-bottom: 14px; }
.footer-nav-subheading { margin: 20px 0 8px; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.6; }
.footer-legal-pending { color: #94a3b8; }

@keyframes mp-dropdown-in { from { opacity: 0; margin-top: 5px; } to { opacity: 1; margin-top: 0; } }
@media (min-width: 1200px) { .mundo-header .mobile-toggle { display: none !important; } }
@media (max-width: 1199px) {
    .mundo-header .header-nav { display: none !important; }
    .mundo-header .mobile-toggle { display: flex !important; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-navigation { grid-column: 1 / -1; grid-row: 2; }
    .footer-col-art { grid-column: 1 / -1; }
}
@media (max-width: 768px) { .mundo-header .header-consultation { display: none; } }
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-navigation { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
    .footer-navigation .footer-nav-group:last-child { grid-column: 1 / -1; }
    .footer-navigation .footer-links a { min-height: 36px; }
    .footer-legal-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 350px) {
    .mp-mobile-top { padding-left: 16px; padding-right: 16px; }
    .mp-mobile-scroll { padding-left: 20px; padding-right: 20px; }
    .mp-mobile-brand { font-size: 18px; gap: 6px; }
    .mp-mobile-brand img { width: 28px; height: 28px; }
    .mp-accordion-toggle { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .mp-mobile-panel, .mp-mobile-backdrop, .mp-accordion-panel, .dropdown-chevron { transition: none !important; }
    .mundo-header .nav-dropdown { animation: none !important; }
}
