/* ==========================================================================
   modern_marine theme additions (loaded after the design's style/components/responsive.css).
   1. The design's inline styles, moved into classes with the same values (markup is otherwise unchanged).
   2. Admin-driven blocks the static design did not have, in its own visual language: header search,
      mini cart drawer, marquee, banners, FAQ, social icons, newsletter, pagination, empty states.
   3. Accessibility fixes: keyboard mega menu, focus rings, skip link, reduced motion.
   Colours come from the tokens in style.css :root, overridden by Theme settings (header.php).
   ========================================================================== */

/* ---------- base helpers ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--color-navy-dark); color: #fff; padding: .75rem 1rem; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--color-blue-accent); outline-offset: 2px; }
.mm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.mm-muted { color: var(--color-text-muted); }
.mm-strong { font-weight: 700; color: var(--color-navy-dark); }
.mm-note { font-size: .85rem; color: var(--color-text-muted); margin: .5rem 0; display: flex; gap: .4rem; align-items: flex-start; }
.mm-mt-1 { margin-top: 1rem; } .mm-mt-2 { margin-top: 1.5rem; } .mm-mt-3 { margin-top: 3rem; }
.mm-wrap { flex-wrap: wrap; }
.mm-center { justify-content: center; }
.mm-rel { position: relative; }
.mm-narrow { max-width: 960px; }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; } .icon-xs { width: .75rem; height: .75rem; }
.icon-fill { fill: currentColor; stroke: none; }
.logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; color: var(--color-navy-dark); }
.header-transparent:not(.is-sticky) .logo-text { color: #fff; }

/* ---------- page wrapper + breadcrumb (design: inner pages use main.section) ---------- */
.mm-page { padding-top: 2rem; }
.mm-crumbs { margin-bottom: 2rem; font-size: .9rem; color: var(--color-text-muted); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.mm-crumbs a { color: var(--color-text-muted); }
.mm-crumbs a:hover { color: var(--color-brand-blue); }
.mm-crumbs [aria-current] { color: var(--color-navy-dark); font-weight: 600; }
.section-header--left { text-align: left; margin-bottom: 2rem; margin-left: 0; margin-right: 0; max-width: none; }
.section-header--left .section-subtitle { margin-left: 0; }
.mm-section-white { background-color: var(--color-white); border-top: 1px solid var(--color-border); }
.mm-section-soft { background-color: var(--color-off-white); border-top: 1px solid var(--color-border); }
.mm-section-tight { padding-top: 3rem; padding-bottom: 3rem; }

/* ---------- header: keyboard mega menu, header search, utility ---------- */
.nav-item.has-dropdown:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.mega-column h4 a { color: inherit; }
.mega-menu-inner { row-gap: 1.25rem; }
.mm-header-search { background: var(--color-white); border-top: 1px solid var(--color-border); padding: .9rem 0; position: relative; z-index: 5; }
.mm-header-search .search-input-group { position: relative; }
.hamburger-btn .icon, .header-action-btn .icon { width: 22px; height: 22px; }
.top-bar-feature .icon { width: 14px; height: 14px; }

/* live search suggestions (core HTML, restyled) */
.search-suggest { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); max-height: 360px; overflow: auto; z-index: 50; text-align: left; }
.search-suggest.open { display: block; }
.search-suggest .autocomplete-suggestions-dropdown { position: static !important; box-shadow: none !important; border: 0 !important; font-family: var(--font-primary) !important; }
.search-suggest .search-rslt-row:hover, .search-suggest .active-search-item { background: var(--color-blue-light) !important; }
.mm-suggest-empty { padding: .9rem 1rem; margin: 0; color: var(--color-text-muted); }
.search-input-group { position: relative; }

/* ---------- marquee (header_marquee_* / footer_marquee_*) ---------- */
.mm-marquee { overflow: hidden; white-space: nowrap; font-weight: 600; letter-spacing: .02em; }
.mm-marquee__track { display: inline-flex; gap: 3rem; padding-left: 3rem; animation: mmMarquee 40s linear infinite; will-change: transform; }
.mm-marquee__track span::after { content: '\2022'; margin-left: 3rem; opacity: .6; }
.mm-marquee:hover .mm-marquee__track { animation-play-state: paused; }
@keyframes mmMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- mini cart drawer (N09) ---------- */
.mm-drawer { position: fixed; inset: 0; z-index: 2000; visibility: hidden; }
.mm-drawer.open { visibility: visible; }
.mm-drawer__backdrop { position: absolute; inset: 0; background: rgba(7, 21, 43, .55); opacity: 0; transition: opacity var(--transition-normal); }
.mm-drawer.open .mm-drawer__backdrop { opacity: 1; }
.mm-drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform var(--transition-normal); display: flex; flex-direction: column; }
.mm-drawer.open .mm-drawer__panel { transform: translateX(0); }
.mm-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.mm-drawer__head h3 { margin: 0; font-size: 1.15rem; }
.mm-drawer__body { padding: 1rem 1.25rem; overflow: auto; flex: 1; }
.mm-mini-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .9rem; }
.mm-mini-list .cart-item-flex { position: relative; flex-direction: row; align-items: center; gap: .75rem; padding-left: 0; width: auto; }
.mm-mini-list .cart-item-img { position: static; width: 56px; height: 56px; }
.mm-mini-list .cart-item-flex > b { white-space: nowrap; font-size: .95rem; }
.mm-mini-info { min-width: 0; }
.mm-mini-info { flex: 1; display: flex; flex-direction: column; font-size: .9rem; }
.mm-mini-info a { font-weight: 600; color: var(--color-navy-dark); }
.mm-mini-actions { display: grid; gap: .6rem; margin-top: 1rem; }

/* ---------- product card (design card; inline button styles moved here) ---------- */
.product-card[hidden] { display: none; }
.product-img-wrap > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.product-img-wrap img { width: auto; height: auto; }
.product-title a { color: inherit; }
.mm-old-price { font-size: .8rem; color: var(--color-text-light); font-weight: 500; margin-left: .35rem; }
.mm-price-request { font-size: .95rem; color: var(--color-brand-blue); }
.mm-card-row { display: flex; gap: .5rem; margin-top: .5rem; }
.mm-card-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: .55rem .5rem; border-radius: var(--radius-sm); font-size: .8rem; font-weight: 700; border: 1px solid var(--color-brand-blue); color: var(--color-brand-blue); background: #fff; transition: all var(--transition-fast); text-align: center; }
.mm-card-btn:hover { background: var(--color-blue-light); }
.mm-card-btn--wa { border-color: #128C4A; color: #fff; background: #128C4A; }
.mm-card-btn--wa:hover { background: #0F7A40; color: #fff; }
.badge-blue { background: var(--color-blue-light); color: var(--color-brand-blue); }
.badge-danger { background: #FEE2E2; color: #B91C1C; }

/* ---------- category / article / industry cards ---------- */
.category-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.mm-post-img, .mm-ind-img { height: 220px; display: block; }
.mm-cat-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 180px; color: var(--color-brand-blue); background: linear-gradient(135deg, var(--color-blue-light), #fff); }
.mm-cat-ph .icon { width: 48px; height: 48px; }
.mm-subcats { list-style: none; padding: 0; margin: .25rem 0 1rem; display: flex; flex-wrap: wrap; gap: .35rem .75rem; font-size: .85rem; }
.mm-subcats a { color: var(--color-text-muted); }
.mm-subcats a:hover { color: var(--color-brand-blue); }
.mm-post-date { font-size: .8rem; color: var(--color-text-muted); margin: 0 0 .75rem; }
.category-title a { color: inherit; }

/* ---------- home blocks ---------- */
.mm-banners .grid { gap: 1.25rem; }
.mm-banner { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.mm-banner img { width: 100%; height: auto; display: block; transition: transform var(--transition-slow); }
.mm-banner:hover img { transform: scale(1.03); }
.brand-item { color: inherit; text-decoration: none; }
.spec-card.mm-why-card, .spec-card.mm-promo { background: var(--color-off-white); border-color: var(--color-border); box-shadow: none; }
.mm-why-card .spec-card-icon, .mm-promo .spec-card-icon { background: var(--color-blue-light); color: var(--color-brand-blue); }
.mm-why-card h4, .mm-promo h4 { margin-bottom: .5rem; }
.mm-why-card p, .mm-promo p { font-size: .85rem; margin-bottom: 0; }
.mm-promo-code b { font-family: ui-monospace, Menlo, monospace; color: var(--color-brand-blue); letter-spacing: .05em; }
.mm-cta-title { color: var(--color-white); margin-bottom: 1rem; }
.mm-cta-text { max-width: 680px; margin: 0 auto 2.5rem; font-size: 1.15rem; color: #94A3B8; }
.hero img.hero-bg-video { object-fit: cover; }
.hero-tag .icon { margin-right: .25rem; }
[data-aos] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-aos].aos-animate { opacity: 1; transform: none; }
.no-js [data-aos] { opacity: 1; transform: none; }

/* FAQ (details/summary, no JS) */
.mm-faq { display: grid; gap: .75rem; }
.mm-faq__item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.mm-faq__item summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; color: var(--color-navy-dark); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.mm-faq__item summary::-webkit-details-marker { display: none; }
.mm-faq__item summary::after { content: '+'; font-size: 1.25rem; color: var(--color-brand-blue); line-height: 1; }
.mm-faq__item[open] summary::after { content: '–'; }
.mm-faq__a { padding: 0 1.25rem 1rem; color: var(--color-text-muted); }

/* ---------- catalogue ---------- */
.mm-filter-card { background: #fff; border-radius: 12px; border: 1px solid var(--color-border); padding: 1.5rem; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); align-self: start; }
.mm-filter-title { font-size: 1.1rem; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--color-border); }
.mm-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mm-filter-actions { display: grid; gap: .5rem; }
.mm-btn-outline-dark { color: var(--color-navy-dark); border-color: var(--color-border); }
.mm-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; background: #fff; padding: 1rem 1.25rem; border-radius: 10px; border: 1px solid var(--color-border); }
.mm-results-count { font-weight: 700; color: var(--color-navy-dark); }
.mm-results-note { font-size: .875rem; color: var(--color-text-muted); display: inline-flex; gap: .35rem; align-items: center; }
.mm-pagination ul { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.mm-pagination a, .mm-pagination .page-link { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 .75rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; color: var(--color-navy-dark); font-weight: 600; }
.mm-pagination .active .page-link { background: var(--color-brand-blue); border-color: var(--color-brand-blue); color: #fff; }

/* empty states */
.mm-empty { text-align: center; padding: 3.5rem 1.5rem; background: #fff; border: 1px dashed var(--color-border); border-radius: var(--radius-lg); }
.mm-empty > .icon { width: 44px; height: 44px; color: var(--color-brand-blue); margin-bottom: .75rem; }
.mm-empty h2 { font-size: 1.35rem; margin-bottom: .5rem; }
.mm-empty p { color: var(--color-text-muted); max-width: 520px; margin: 0 auto 1.25rem; }
.mm-empty--sm { padding: 2rem 1rem; }

/* ---------- product page (design inline styles → classes) ---------- */
.mm-pd-layout { margin-bottom: 4rem; }
.mm-pd-gallery { background: #fff; border-radius: 16px; border: 1px solid var(--color-border); padding: 2.5rem; text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.mm-pd-gallery img { max-height: 360px; width: auto; max-width: 100%; height: auto; margin: 0 auto; object-fit: contain; }
.mm-pd-stock { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.mm-pd-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.mm-pd-thumbs button { border: 2px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; padding: 2px; cursor: pointer; }
.mm-pd-thumbs button.active { border-color: var(--color-brand-blue); }
.mm-pd-thumbs img { width: 72px; height: 54px; object-fit: contain; }
/* Product image viewer: main image opens a full-screen lightbox (arrows, keys, swipe, thumbnails) */
.mm-pd-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.mm-pd-zoom__hint { position: absolute; right: 0; bottom: -1.5rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: var(--color-text-muted); }
.mm-pd-zoom:hover .mm-pd-zoom__hint, .mm-pd-zoom:focus-visible .mm-pd-zoom__hint { color: var(--color-brand-blue); }
.mm-lightbox { position: fixed; inset: 0; z-index: 2147483600; background: rgba(7, 21, 43, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 4.5rem 1rem; }
.mm-lightbox[hidden] { display: none; }
.mm-lightbox__stage { flex: 1; min-height: 0; width: 100%; margin: 0; display: flex; align-items: center; justify-content: center; }
.mm-lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: var(--radius-md); padding: 1rem; cursor: default; }
.mm-lightbox__close, .mm-lightbox__nav { position: absolute; width: 46px; height: 46px; border-radius: var(--radius-full); border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition-normal); }
.mm-lightbox__close:hover, .mm-lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.mm-lightbox__close:focus-visible, .mm-lightbox__nav:focus-visible, .mm-lightbox__thumbs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mm-lightbox__close { top: 1rem; right: 1rem; }
.mm-lightbox__nav { top: 50%; transform: translateY(-50%); }
.mm-lightbox__nav--prev { left: 1rem; }
.mm-lightbox__nav--next { right: 1rem; }
.mm-lightbox__count { position: absolute; top: 1.4rem; left: 1.25rem; color: rgba(255, 255, 255, .8); font-size: .9rem; font-weight: 600; }
.mm-lightbox__thumbs { display: flex; gap: .5rem; margin-top: 1rem; overflow-x: auto; max-width: 100%; padding: 2px; }
.mm-lightbox__thumbs button { flex: none; border: 2px solid transparent; border-radius: var(--radius-sm); background: #fff; padding: 2px; cursor: pointer; opacity: .6; }
.mm-lightbox__thumbs button.active { border-color: var(--color-brand-blue); opacity: 1; }
.mm-lightbox__thumbs img { width: 64px; height: 48px; object-fit: contain; display: block; }
@media (max-width: 576px) {
  .mm-lightbox { padding: 3.75rem .75rem .75rem; }
  .mm-pd-zoom__hint { bottom: -1.1rem; font-size: .75rem; }
  .mm-lightbox__nav { top: auto; bottom: 5.25rem; transform: none; width: 40px; height: 40px; }
  .mm-lightbox__nav--prev { left: .75rem; }
  .mm-lightbox__nav--next { right: .75rem; }
}
.mm-pd-brand { font-size: .85rem; font-weight: 800; color: var(--color-brand-blue); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.mm-pd-title { font-size: 2.25rem; margin-bottom: .75rem; }
.mm-pd-part { font-family: ui-monospace, Menlo, monospace; font-size: .95rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }
.mm-pd-pricebox { background: var(--color-blue-light); border: 1px solid rgba(22, 82, 160, .15); padding: 1.25rem; border-radius: 12px; margin-bottom: 1.5rem; }
.mm-pd-pricelabel { font-size: .85rem; color: var(--color-text-muted); margin-bottom: .25rem; }
.mm-pd-price { font-size: 2.25rem; font-weight: 800; color: var(--color-navy-dark); font-family: var(--font-heading); }
.mm-pd-price--rfq { font-size: 1.6rem; color: var(--color-brand-blue); }
.mm-pd-assure { font-size: .8rem; color: #047857; font-weight: 600; margin-top: .35rem; display: flex; gap: .35rem; align-items: center; }
.mm-pd-assure span { color: var(--color-text-muted); font-weight: 500; }
.mm-pd-desc { font-size: 1.05rem; line-height: 1.6; margin-bottom: 2rem; }
.mm-qty-input { width: 44px; text-align: center; border: none; background: transparent; font-weight: 700; font-size: 1rem; -moz-appearance: textfield; }
.cart-qty-control[data-qty] { height: 48px; }
.mm-pd-wa-row { display: flex; gap: 1rem; margin-top: 1rem; }
.mm-pd-wa { color: #128C4A; border-color: #128C4A; width: 100%; }
.mm-pd-panel { background: #fff; border-radius: 16px; border: 1px solid var(--color-border); padding: 2.5rem; box-shadow: var(--shadow-sm); margin-bottom: 2.5rem; }
.mm-pd-panel-title { font-size: 1.4rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--color-border); padding-bottom: .75rem; }
.mm-spec-table { width: 100%; border-collapse: collapse; margin-bottom: 2.5rem; }
.mm-spec-table th { font-weight: 600; width: 35%; background: var(--color-off-white); padding: .75rem 1rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.mm-spec-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--color-border); }
.mm-pd-subtitle { margin-bottom: 1rem; color: var(--color-navy-dark); }
.mm-check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.mm-check-list li { margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; color: var(--color-navy-dark); }
.mm-check-list li span { color: var(--color-brand-blue); font-weight: 700; }
.mm-doc-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; background: var(--color-off-white); border-radius: 6px; margin-bottom: .5rem; border: 1px solid var(--color-border); }
.mm-doc-row span { font-size: .9rem; font-weight: 600; color: var(--color-navy-dark); display: inline-flex; gap: .4rem; align-items: center; }
.mm-review { padding: .9rem 0; border-bottom: 1px solid var(--color-border); }
.mm-stars { color: #F59E0B; margin-left: .35rem; }
.mm-prose { line-height: 1.7; }
.mm-prose p { margin-bottom: 1rem; }
.mm-prose h2, .mm-prose h3 { margin: 1.5rem 0 .75rem; }
.mm-prose ul, .mm-prose ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.mm-prose a { color: var(--color-link, var(--color-brand-blue)); text-decoration: underline; }

/* ---------- cart page ---------- */
.mm-cart-name { font-weight: 700; color: var(--color-navy-dark); }
.mm-cart-remove { background: none; border: none; color: #DC2626; cursor: pointer; font-weight: 700; font-size: 1rem; padding: .25rem .5rem; }
.mm-cart-foot { display: flex; justify-content: space-between; margin-top: 1.5rem; }
.mm-summary-title { margin-bottom: 1.25rem; color: var(--color-navy-dark); padding-bottom: .5rem; border-bottom: 1px solid var(--color-border); }
tr.is-busy { opacity: .5; pointer-events: none; }

/* ---------- about ---------- */
.mm-about-hero { margin-bottom: 4rem; }
.mm-about-title { font-size: 2.6rem; margin: 1rem 0 1.25rem; }
.mm-about-lead { font-size: 1.1rem; line-height: 1.7; color: var(--color-text-muted); }
.mm-about-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.mm-about-card { background: var(--color-navy-dark); color: #fff; border-radius: 16px; padding: 2.5rem; box-shadow: var(--shadow-lg); }
.mm-about-card img { width: 220px; height: auto; background: #fff; border-radius: 10px; padding: .75rem; margin-bottom: 1.5rem; }
.mm-about-card h3 { color: #fff; margin-bottom: 1rem; }
.mm-about-card p { color: #CBD5E1; font-style: italic; font-size: 1.05rem; }
.mm-about-sign { margin-top: 1rem; color: var(--color-blue-accent); font-weight: 700; }
.mm-about-stats { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 2.5rem; margin-bottom: 4rem; box-shadow: var(--shadow-sm); }
.mm-about-stats .stat-number { font-size: 2.5rem; font-weight: 800; color: var(--color-brand-blue); font-family: var(--font-heading); }
.mm-stat-label { font-weight: 700; color: var(--color-navy-dark); }
.mm-stat-note { font-size: .85rem; color: var(--color-text-muted); }
.mm-mv-card { background: var(--color-off-white); border: 1px solid var(--color-border); border-radius: 16px; padding: 2.25rem; }
.mm-mv-card h3 { margin-bottom: .75rem; }
.mm-mv-card--dark { background: var(--color-navy-main); border-color: var(--color-navy-main); }
.mm-mv-card--dark h3 { color: #fff; } .mm-mv-card--dark p { color: #CBD5E1; }

/* ---------- contact + quote ---------- */
.mm-contact-layout { align-items: start; }
.mm-contact-cards { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.mm-contact-card { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1.25rem; box-shadow: var(--shadow-sm); }
.mm-contact-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--color-blue-light); color: var(--color-brand-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mm-contact-label { font-size: .8rem; color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.mm-contact-val a, .mm-contact-val span { font-weight: 700; color: var(--color-navy-dark); word-break: break-word; }
.mm-hubs { background: var(--color-navy-dark); color: #fff; border-radius: 16px; padding: 2rem; text-align: center; }
.mm-hubs-ic { color: var(--color-blue-accent); margin-bottom: .5rem; } .mm-hubs-ic .icon { width: 40px; height: 40px; }
.mm-hubs-title { color: #fff; font-size: 1.2rem; margin-bottom: 1rem; }
.mm-hub { display: flex; flex-direction: column; gap: .15rem; padding: .75rem 0; border-top: 1px solid rgba(255, 255, 255, .1); color: #CBD5E1; font-size: .9rem; }
.mm-hub b { color: #fff; } .mm-hub a { color: var(--color-blue-accent); }
.mm-map { margin-top: 1rem; border-radius: 12px; overflow: hidden; min-height: 260px; background: rgba(255, 255, 255, .06); display: flex; }
.mm-map iframe { border: 0; width: 100%; min-height: 280px; }
.mm-map-facade { flex: 1; background: none; border: 0; color: #fff; font-weight: 700; cursor: pointer; display: inline-flex; gap: .5rem; align-items: center; justify-content: center; }
.mm-form-title { font-size: 1.5rem; margin-bottom: .5rem; }
.mm-form-lead { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.mm-form-step { font-size: 1.1rem; margin: 1.5rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--color-border); color: var(--color-navy-dark); }
.mm-form-step:first-of-type { margin-top: 0; }
.privacy-form-notice, .privacy-notice { font-size: .8rem; color: var(--color-text-muted); margin: .75rem 0; }

/* ---------- solutions / industries / articles ---------- */
.mm-solutions { display: grid; gap: 2rem; }
.mm-solution-title { font-size: 1.6rem; margin: .75rem 0; } .mm-solution-title a { color: inherit; }
.mm-solution-text { color: var(--color-text-muted); margin-bottom: 1rem; }
.mm-solution-media { background: var(--color-off-white); border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.mm-solution-media img { width: 100%; height: auto; }
.mm-cta-band { margin-top: 3rem; padding: 3rem 1.5rem; border-radius: 16px; text-align: center; }
.mm-cta-band h2 { color: #fff; margin-bottom: .75rem; } .mm-cta-band p { color: #94A3B8; margin-bottom: 1.5rem; }
.mm-article { max-width: 860px; }
.mm-article-img { width: 100%; height: auto; border-radius: 12px; margin-bottom: 1.5rem; }
.mm-article-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.mm-more-card { display: block; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1.25rem; transition: border-color var(--transition-fast); }
.mm-more-card:hover { border-color: var(--color-brand-blue); }
.mm-more-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }

/* ---------- brands directory (design inline tile styles + hover handlers → class) ---------- */
.mm-brand-tile { background: #fff; border-radius: 16px; border: 1px solid var(--color-border); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); transition: all .3s ease; display: flex; flex-direction: column; align-items: center; }
.mm-brand-tile:hover, .mm-brand-tile:focus-within { border-color: var(--color-brand-blue); transform: translateY(-4px); }
.mm-brand-name { font-size: 1.8rem; font-weight: 800; color: var(--color-text-dark); margin-bottom: .5rem; letter-spacing: -.03em; }
.mm-brand-logo { max-height: 80px; width: auto; margin-bottom: .75rem; object-fit: contain; }
.mm-brand-tile p { font-size: .9rem; color: var(--color-text-muted); margin-bottom: 1.5rem; flex: 1; }

/* ---------- footer additions (social, newsletter, legal) ---------- */
.mm-social { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; gap: .6rem; flex-wrap: wrap; }
.mm-social a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background var(--transition-fast); }
.mm-social a:hover { background: var(--color-brand-blue); }
.mm-wa-link { color: #25D366 !important; }
.mm-newsletter { margin-top: 1.5rem; }
.mm-newsletter__label { display: block; font-size: .95rem; margin-bottom: .6rem; }
.mm-newsletter__row { display: flex; gap: .5rem; }
.mm-newsletter .form-control { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; min-width: 0; }
.mm-newsletter .form-control::placeholder { color: #94A3B8; }
.footer .privacy-form-notice, .footer .privacy-notice { color: #94A3B8; }
.footer .privacy-form-notice a, .footer .privacy-notice a { color: #CBD5E1; }
.mm-legal { flex-wrap: wrap; }
.footer-link .icon { margin-right: .25rem; }

/* ---------- system pages: design shell for the cloned account/legal views ---------- */
.sys-top.mm-page { padding-bottom: 4rem; }

@media (max-width: 1024px) {
  .mm-pd-title, .mm-about-title { font-size: 1.8rem; }
  .mm-pd-panel { padding: 1.5rem; }
}
@media (max-width: 576px) {
  .mm-card-row { flex-direction: column; }
  .mm-newsletter__row { flex-direction: column; }
  .mm-results-bar { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-aos] { opacity: 1; transform: none; }
}
