/* R95 — final footer alignment + approved logo isolation.
 * Scope: footer only. Header, hero/slider, e-card and page sections are untouched.
 */

/* Brand unit: keep logo + clinic copy as one centered lockup. */
.r93-footer__identity{
  display:grid!important;
  justify-items:center!important;
  align-content:center!important;
  text-align:center!important;
}
.r93-footer__brand,
html[dir="rtl"] .r93-footer__brand{
  width:min(100%,380px)!important;
  margin-inline:auto!important;
  justify-content:center!important;
  align-items:center!important;
}

/* LTR: logo left / copy right. RTL: logo right / copy left. */
html[dir="ltr"] .r93-footer__brand{
  flex-direction:row!important;
  direction:ltr!important;
}
html[dir="rtl"] .r93-footer__brand{
  flex-direction:row-reverse!important;
  direction:ltr!important;
}

/* Use the exact same premium ivory/gold isolation language as the approved header. */
.r93-footer__mark{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:74px!important;
  height:74px!important;
  flex:0 0 74px!important;
  padding:9px!important;
  border-radius:50%!important;
  overflow:visible!important;
  background:
    radial-gradient(circle at 36% 30%,#fff 0 31%,var(--r94-ivory,#fffaf0) 58%,#f0e2c5 100%)!important;
  border:2px solid rgba(221,176,80,.88)!important;
  box-shadow:
    0 0 0 3px rgba(255,250,240,.13),
    0 8px 22px rgba(0,0,0,.26),
    inset 0 0 0 1px rgba(255,255,255,.92),
    inset 0 -7px 14px rgba(183,135,47,.08)!important;
  isolation:isolate!important;
}
.r93-footer__mark::after{
  content:""!important;
  position:absolute!important;
  inset:-5px!important;
  border-radius:50%!important;
  border:1px solid rgba(240,205,125,.20)!important;
  pointer-events:none!important;
}
.r93-footer__mark img{
  display:block!important;
  width:91%!important;
  height:91%!important;
  object-fit:contain!important;
  filter:drop-shadow(0 2px 2px rgba(2,24,43,.20))!important;
}
.r93-footer__copy{
  width:236px!important;
  min-width:0!important;
  text-align:center!important;
}
.r93-footer__copy strong,
.r93-footer__copy small,
.r93-footer__copy i,
html[dir="rtl"] .r93-footer__copy strong,
html[dir="rtl"] .r93-footer__copy small,
html[dir="rtl"] .r93-footer__copy i{
  width:100%!important;
  text-align:center!important;
}
.r93-footer__motto{
  width:100%!important;
  max-width:360px!important;
  margin-inline:auto!important;
  text-align:center!important;
}

/* Final legal/copyright strip: center it in every language and every viewport. */
.r93-footer__bottom,
html[dir="rtl"] .r93-footer__bottom,
html[dir="ltr"] .r93-footer__bottom{
  width:min(1380px,calc(100% - 56px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:12px 0 16px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:7px!important;
}
.r93-footer__legal,
html[dir="rtl"] .r93-footer__legal,
html[dir="ltr"] .r93-footer__legal{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px 18px!important;
  margin:0 auto!important;
  text-align:center!important;
  order:1!important;
}
html[dir="rtl"] .r93-footer__legal{direction:rtl!important}
html[dir="ltr"] .r93-footer__legal{direction:ltr!important}
.r93-footer__bottom p,
html[dir="rtl"] .r93-footer__bottom p,
html[dir="ltr"] .r93-footer__bottom p{
  width:100%!important;
  max-width:900px!important;
  margin:0 auto!important;
  text-align:center!important;
  order:2!important;
}

@media(max-width:960px){
  .r93-footer__brand,
  html[dir="rtl"] .r93-footer__brand{
    width:min(100%,330px)!important;
    gap:11px!important;
  }
  .r93-footer__mark{
    width:64px!important;
    height:64px!important;
    flex-basis:64px!important;
    padding:8px!important;
  }
  .r93-footer__copy{width:218px!important}
  .r93-footer__bottom,
  html[dir="rtl"] .r93-footer__bottom,
  html[dir="ltr"] .r93-footer__bottom{
    width:calc(100% - 36px)!important;
    max-width:560px!important;
    padding:10px 0 14px!important;
  }
}

@media(max-width:520px){
  .r93-footer__brand,
  html[dir="rtl"] .r93-footer__brand{
    width:min(100%,300px)!important;
    gap:9px!important;
  }
  .r93-footer__mark{
    width:58px!important;
    height:58px!important;
    flex-basis:58px!important;
    padding:7px!important;
  }
  .r93-footer__copy{width:205px!important}
  .r93-footer__legal{gap:7px 13px!important}
  .r93-footer__bottom p{max-width:330px!important}
}
