/* ==========================================================
   MATAR MEDICAL — PRECISION FOOTER SYSTEM V3.3
   Scoped exclusively to .mmf-root. One shortcode in WoodMart Footer Builder.
   Genuine customer contacts only. No visual library requirements.
   ========================================================== */
.mmf-root{--mmf-ink:#f7f9ff;--mmf-navy:#132653;--mmf-navy2:#192f61;--mmf-deep:#0b1836;--mmf-yellow:#ffcd08;--mmf-gold:#f9a916;--mmf-mist:#c8d7ef;--mmf-stroke:rgba(212,228,255,.17);--mmf-radius:18px;--mmf-content:1280px;--mmf-pad:clamp(18px,3.3vw,48px);position:relative;isolation:isolate;overflow:hidden;direction:rtl;color:var(--mmf-ink);background:var(--mmf-deep);font-family:inherit;line-height:1.75}
.mmf-root,.mmf-root *,.mmf-root *::before,.mmf-root *::after{box-sizing:border-box}
.mmf-root :is(h2,p,ul){margin:0;padding:0}
.mmf-root svg{display:inline-block;width:19px;height:19px;flex:none;vertical-align:middle}
.mmf-root a{color:inherit;text-decoration:none}
.mmf-root a:focus-visible{outline:3px solid var(--mmf-yellow)!important;outline-offset:4px;border-radius:5px}
.mmf-root a:hover{color:var(--mmf-yellow)}
/* Seamless marquee: identical copies with no inter-copy padding discrepancy. */
.mmf-root .mmf-ticker{overflow:hidden;background:var(--mmf-yellow);color:#152653;border-bottom:1px solid rgba(0,0,0,.09);direction:ltr}
.mmf-root .mmf-track{display:flex;align-items:center;width:max-content;animation:mmf-precision-slide 44s linear infinite;will-change:transform}
.mmf-root .mmf-ticker-set{display:flex;align-items:center;flex:none;white-space:nowrap;direction:rtl;gap:0;padding:0;font-size:clamp(11px,.86vw,13px);font-weight:800;line-height:1.5;letter-spacing:0}
.mmf-root .mmf-ticker-set>span:not(.mmf-spark){display:inline-flex;align-items:center;min-height:46px;padding-inline:clamp(17px,2.1vw,32px)}
.mmf-root .mmf-spark{font-size:11px;opacity:.64;line-height:1}
@keyframes mmf-precision-slide{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.mmf-root .mmf-ticker:hover .mmf-track,.mmf-root .mmf-ticker:focus-within .mmf-track{animation-play-state:paused}
/* Global footer surface */
.mmf-root .mmf-main{position:relative;isolation:isolate;padding:clamp(54px,5.7vw,92px) var(--mmf-pad) clamp(54px,5vw,76px);background:radial-gradient(ellipse 460px 420px at 95% 4%,rgba(255,205,8,.095),transparent 72%),radial-gradient(ellipse 610px 500px at 5% 105%,rgba(45,104,201,.23),transparent 71%),linear-gradient(140deg,#142a5b 0%,#0d1c3e 84%)}
.mmf-root .mmf-main::before{content:"";position:absolute;inset:0;opacity:.18;pointer-events:none;background-image:linear-gradient(to right,rgba(240,245,255,.13) 1px,transparent 1px),linear-gradient(to bottom,rgba(240,245,255,.1) 1px,transparent 1px);background-size:120px 120px;mask-image:linear-gradient(to left,black,transparent 76%)}
.mmf-root .mmf-inner{position:relative;z-index:1;width:100%;max-width:var(--mmf-content);margin-inline:auto;display:grid;grid-template-columns:minmax(260px,1.42fr) minmax(145px,.76fr) minmax(170px,.86fr) minmax(250px,1.15fr);gap:clamp(24px,3.1vw,50px);align-items:start}
.mmf-root .mmf-inner>*{min-width:0}
/* Brand lockup */
.mmf-root .mmf-brand-card{max-width:390px;min-height:105px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:clamp(12px,1.5vw,18px);border-radius:var(--mmf-radius);background:#fff;box-shadow:0 19px 45px rgba(2,10,35,.21);border:1px solid rgba(255,255,255,.8)}
.mmf-root .mmf-brand{display:flex;align-items:center;min-width:0;flex:1;max-width:275px}
.mmf-root .mmf-logo{display:block;max-width:100%;max-height:75px;width:auto;height:auto;object-fit:contain;object-position:right center}
.mmf-root .mmf-brand-fallback{display:grid;color:#263771;font-size:clamp(18px,1.55vw,24px);font-weight:900;line-height:1.15;letter-spacing:-.025em;direction:ltr;text-align:left}
.mmf-root .mmf-brand-fallback span{font-size:clamp(12px,1vw,15px);color:#b87d00}
.mmf-root .mmf-since{align-self:center;display:inline-flex;gap:7px;align-items:center;flex:none;border-radius:999px;background:#fff7d6;color:#624300;padding:7px 9px;font-size:11px;line-height:1.45;font-weight:800;white-space:nowrap}
.mmf-root .mmf-since-dot{width:6px;height:6px;background:#d69b00;border-radius:50%}
.mmf-root .mmf-intro-text{margin-top:clamp(24px,2.4vw,33px)!important;font-size:clamp(19px,1.5vw,23px);font-weight:800;line-height:1.7;color:#fff;text-wrap:balance}
.mmf-root .mmf-intro-text strong{display:inline-block;font-size:clamp(14px,1vw,16px);font-weight:700;color:var(--mmf-yellow);line-height:1.9}
.mmf-root .mmf-intro-sub{margin-top:13px!important;font-size:clamp(12px,.9vw,13px);line-height:2;color:var(--mmf-mist);max-width:365px}
.mmf-root .mmf-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.mmf-root .mmf-social a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 15px;border-radius:11px;background:rgba(255,255,255,.045);border:1px solid var(--mmf-stroke);font-size:12px;line-height:1.4;font-weight:700;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.mmf-root .mmf-social a:hover{color:#fff;border-color:rgba(255,205,8,.5);background:rgba(255,255,255,.11);transform:translateY(-2px)}
.mmf-root .mmf-social svg{width:17px;height:17px;color:var(--mmf-yellow)}
/* Navigation hierarchy */
.mmf-root :is(.mmf-links,.mmf-contact)>h2{font-size:clamp(15px,1vw,17px);font-weight:800;line-height:1.6;color:#fff;margin:8px 0 clamp(22px,2vw,30px)!important;letter-spacing:0}
.mmf-root :is(.mmf-links,.mmf-contact)>h2::after{content:"";display:block;width:32px;height:3px;margin-top:12px;border-radius:9px;background:linear-gradient(90deg,var(--mmf-yellow),var(--mmf-gold))}
.mmf-root .mmf-links ul{list-style:none;display:grid;gap:6px;padding:0!important}
.mmf-root .mmf-links li{list-style:none;margin:0;padding:0}
.mmf-root .mmf-links li a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;min-height:37px;color:#d6e1f2;font-size:clamp(12px,.9vw,13px);font-weight:550;line-height:1.6;transition:color .2s ease,transform .2s ease}
.mmf-root .mmf-links li a:hover{color:var(--mmf-yellow);transform:translateX(-3px)}
.mmf-root .mmf-links li svg{width:14px;height:14px;opacity:.52}
.mmf-root .mmf-empty{color:var(--mmf-mist);font-size:13px;line-height:1.9}
.mmf-root .mmf-inline-link{display:inline-flex;align-items:center;gap:8px;margin-top:12px;color:var(--mmf-yellow)!important;font-size:13px;font-weight:800}
.mmf-root .mmf-inline-link svg{width:15px;height:15px}
/* Branch cards */
.mmf-root .mmf-contact{min-width:0}
.mmf-root .mmf-branch{padding:16px 18px 17px;margin-bottom:12px;border-radius:15px;border:1px solid var(--mmf-stroke);background:linear-gradient(140deg,rgba(255,255,255,.085),rgba(255,255,255,.025));transition:background .2s ease,border-color .2s ease}
.mmf-root .mmf-branch:last-child{margin-bottom:0}
.mmf-root .mmf-branch:hover{border-color:rgba(255,205,8,.36);background:rgba(255,255,255,.075)}
.mmf-root .mmf-branch-top{display:flex;align-items:center;gap:9px;color:#fff;font-size:12.5px;line-height:1.6}
.mmf-root .mmf-branch-top strong{font-weight:800}
.mmf-root .mmf-branch-top svg{width:18px;height:18px;color:var(--mmf-yellow)}
.mmf-root .mmf-branch p{margin:9px 0 12px!important;font-size:11.5px;line-height:1.85;color:var(--mmf-mist)}
.mmf-root .mmf-branch-numbers{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;direction:ltr;justify-content:flex-end}
.mmf-root .mmf-branch-numbers a{display:inline-block;direction:ltr;unicode-bidi:isolate;min-height:26px;font-size:clamp(12px,.9vw,14px);font-weight:800;line-height:1.6;color:var(--mmf-yellow);white-space:nowrap}
.mmf-root .mmf-branch-numbers a:hover{text-decoration:underline;text-underline-offset:3px}
.mmf-root .mmf-branch-numbers .mmf-landline{font-size:11px;font-weight:650;color:#dce7f8}
/* Editorial conversion band */
.mmf-root .mmf-action{padding:clamp(26px,3vw,40px) var(--mmf-pad);background:linear-gradient(110deg,#193971 0%,#1b3265 70%,#132650 100%);border-block:1px solid var(--mmf-stroke)}
.mmf-root .mmf-action-inner{width:100%;max-width:var(--mmf-content);margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:26px}
.mmf-root .mmf-action-inner>div{min-width:0}
.mmf-root .mmf-label{display:inline-block;direction:ltr;color:var(--mmf-yellow);font:800 11px/1.5 Arial,sans-serif;letter-spacing:.15em}
.mmf-root .mmf-action strong{display:block;margin:6px 0 5px;font-size:clamp(19px,1.9vw,27px);font-weight:800;line-height:1.55;color:#fff;text-wrap:balance}
.mmf-root .mmf-action p{font-size:13px;color:var(--mmf-mist);line-height:1.8}
.mmf-root .mmf-shop-button{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:10px;min-height:54px;padding:14px clamp(18px,2.2vw,30px);border-radius:12px;background:var(--mmf-yellow);color:#152653!important;font-size:13px;font-weight:850;line-height:1.45;box-shadow:0 10px 28px rgba(2,9,34,.13);transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
.mmf-root .mmf-shop-button svg{width:17px;height:17px}
.mmf-root .mmf-shop-button:hover{background:#ffe074;color:#152653!important;transform:translateY(-2px);box-shadow:0 17px 32px rgba(2,9,34,.25)}
/* Developer credit: distinct and prominent, but not a false partnership claim */
.mmf-root .mmf-bottom{padding:21px var(--mmf-pad);background:var(--mmf-deep)}
.mmf-root .mmf-bottom-inner{max-width:var(--mmf-content);margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:18px 32px}
.mmf-root .mmf-copyright{font-size:11.5px;line-height:1.8;color:#c1cee4}
.mmf-root .mmf-developer{display:flex;align-items:center;gap:12px;min-width:0}
.mmf-root .mmf-dev-lead{font-size:11px;font-weight:650;line-height:1.5;color:#d5e1f2;white-space:nowrap}
.mmf-root .mmf-developer>a{min-height:61px;display:flex;align-items:center;gap:12px;padding:9px 15px;border-radius:14px;border:1px solid rgba(255,205,8,.42);background:linear-gradient(125deg,rgba(255,205,8,.14),rgba(255,205,8,.045));transition:border-color .2s ease,background .2s ease,transform .2s ease}
.mmf-root .mmf-developer>a:hover{border-color:var(--mmf-yellow);background:rgba(255,205,8,.15);transform:translateY(-1px);color:#fff}
.mmf-root .mmf-dev-mark{flex:none;display:flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:11px;background:var(--mmf-yellow);color:#132653;font:900 23px/1 Arial,sans-serif;direction:ltr}
.mmf-root .mmf-dev-mark span{font-size:14px}
.mmf-root .mmf-dev-name{min-width:0;display:grid;gap:1px;text-align:left;direction:ltr}
.mmf-root .mmf-dev-name b{font-size:13px;line-height:1.3;font-weight:800;color:#fff;white-space:nowrap}
.mmf-root .mmf-dev-name small{font-size:10.5px;line-height:1.6;font-weight:500;color:#d7e3f5;direction:rtl;text-align:left}
.mmf-root .mmf-developer svg{width:15px;height:15px;color:var(--mmf-yellow)}
@media(max-width:1120px){.mmf-root .mmf-inner{grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:46px 38px}.mmf-root .mmf-contact{grid-column:2;grid-row:2}.mmf-root .mmf-links--cats{grid-column:1;grid-row:2}.mmf-root .mmf-intro-sub{max-width:500px}}
@media(max-width:760px){.mmf-root .mmf-main{padding-block:50px}.mmf-root .mmf-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 22px}.mmf-root .mmf-intro,.mmf-root .mmf-contact{grid-column:1/-1;grid-row:auto}.mmf-root .mmf-links--cats{grid-column:auto;grid-row:auto}.mmf-root .mmf-brand-card{max-width:390px}.mmf-root .mmf-branch{max-width:none}.mmf-root .mmf-action-inner{align-items:stretch;flex-direction:column;gap:20px}.mmf-root .mmf-shop-button{width:100%}.mmf-root .mmf-bottom-inner{align-items:center;flex-direction:column;gap:14px;text-align:center}.mmf-root .mmf-developer{justify-content:center;flex-wrap:wrap}.mmf-root .mmf-ticker-set>span:not(.mmf-spark){min-height:41px}}
@media(max-width:420px){.mmf-root{--mmf-pad:16px}.mmf-root .mmf-inner{gap:30px 17px}.mmf-root .mmf-brand-card{min-height:92px}.mmf-root .mmf-brand{max-width:65%}.mmf-root .mmf-logo{max-height:65px}.mmf-root .mmf-since{font-size:10px;padding:6px 7px}.mmf-root :is(.mmf-links,.mmf-contact)>h2{font-size:14px}.mmf-root .mmf-links li a{font-size:11.5px}.mmf-root .mmf-developer>a{max-width:100%}.mmf-root .mmf-dev-name b{font-size:12px;white-space:normal}.mmf-root .mmf-dev-lead{width:100%;text-align:center}.mmf-root .mmf-social a{padding-inline:12px}}
@media(max-width:330px){.mmf-root .mmf-inner{grid-template-columns:1fr}.mmf-root .mmf-links--cats{grid-column:1}.mmf-root .mmf-brand-card{padding:11px}.mmf-root .mmf-branch{padding:14px}}
@media(prefers-reduced-motion:reduce){.mmf-root .mmf-ticker{overflow-x:auto}.mmf-root .mmf-track{animation:none;will-change:auto}.mmf-root .mmf-ticker-set[aria-hidden="true"]{display:none}.mmf-root *, .mmf-root *::before, .mmf-root *::after{transition:none!important;scroll-behavior:auto!important}}
