/* =========================================================
   Badr Al Safaa Medical Centre — Site footer (all pages)
   Built from Figma file "Badr-Al-Safaa", frame "DesktopFooter" (698:42972)
   Loads after style.css (and any page CSS). The same footer markup is used
   on every page: brand · working hours · campus contact · legal bar.
   ========================================================= */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2'); }

.site-footer.site-footer--v2 { position: relative; background: #121110; border-top: 0; padding: 62px 0 0; font-family: var(--f-jakarta); }
.site-footer--v2::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(1024px, 100%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(212,160,23,0), rgba(212,160,23,0.45), rgba(212,160,23,0));
}
.site-footer--v2 .footer-grid {
  display: grid; grid-template-columns: 465px 260px 362px; grid-template-rows: auto; justify-content: space-between;
  gap: 48px; min-height: 312px; padding-bottom: 48px; border-bottom: 0;
}
.site-footer--v2 .footer-brand, .site-footer--v2 .footer-col { grid-column: auto; }

/* Brand column */
.site-footer--v2 .footer-brand { gap: 25px; }
.site-footer--v2 .footer-brand__logo img { width: 203.715px; height: 60px; }
.site-footer--v2 .footer-brand__text { max-width: 384px; padding-right: 0; font-size: 14px; line-height: 23px; color: #877f75; }
.site-footer--v2 .footer-brand__meta { padding-top: 0; margin-top: -1px; gap: 27px; }
.site-footer--v2 .footer-brand__nhra { font-size: 12.5px; line-height: 16px; color: #877f75; }
.site-footer--v2 .socials a { background: #211e1b; }
.site-footer--v2 .socials a:hover { background: #2f2a26; }

/* Column titles */
.site-footer--v2 .footer-col { gap: 17px; }
.site-footer--v2 .footer-col__title { gap: 9px; font-family: var(--f-sans); font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 0.9px; color: #fff; }
.site-footer--v2 .footer-col__title i { width: 4px; height: 4px; background: #e6ca65; }

/* Working hours */
.site-footer--v2 .hours { gap: 11px; }
.site-footer--v2 .hours__row { padding-bottom: 10px; border-bottom: 1px solid #26211c; }
.site-footer--v2 .hours__label { font-weight: 400; font-size: 13px; line-height: 16px; color: #877f75; }
.site-footer--v2 .hours__time { padding-top: 0 !important; font-family: var(--f-sans); font-weight: 600; font-size: 12px; line-height: 16px; color: #e6ca65; }
.site-footer--v2 .hours__open { gap: 7px; font-family: var(--f-sans); font-weight: 400; font-size: 12px; line-height: 18px; color: #34d399; }
.site-footer--v2 .hours__open i { width: 3px; height: 3px; }
.site-footer--v2 .footer-pay { padding-top: 0; gap: 4px; font-family: var(--f-sans); font-weight: 500; font-size: 12px; line-height: 18px; color: #e6ca65; }
.site-footer--v2 .footer-pay span { display: inline-block; transition: transform .2s; }
.site-footer--v2 .footer-pay:hover span { transform: translateX(2px); }

/* Campus contact */
.site-footer--v2 .contact-list { gap: 14px; }
.site-footer--v2 .contact-list li { gap: 8px; font-size: 12.5px; line-height: 16.5px; color: #877f75; }
.site-footer--v2 .contact-list li:first-child img { margin-top: 0; }
.site-footer--v2 .contact-list img { width: 16px; height: 16px; }
.site-footer--v2 .contact-list a { transition: color .2s; }
.site-footer--v2 .contact-list a:hover { color: #e6ca65; }

/* Legal bar */
.site-footer--v2 .footer-legal { background: #0d0c0b; border-top: 1px solid #1c1916; }
.site-footer--v2 .footer-legal__inner { min-height: 68px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer--v2 .footer-bottom__copy { width: auto; padding-right: 0; font-size: 12px; line-height: 16px; color: #877f75; white-space: nowrap; }
.site-footer--v2 .footer-bottom__links { gap: 20px; font-size: 12px; line-height: 16px; }
.site-footer--v2 .footer-bottom__links a { color: #877f75; }
.site-footer--v2 .footer-bottom__links a:hover { color: #e6ca65; }
.site-footer--v2 .footer-bottom__links span { color: #3d362e; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .site-footer--v2 .footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer--v2 .footer-legal__inner { padding: 16px 0; flex-wrap: wrap; }
  .site-footer--v2 .footer-bottom__copy { white-space: normal; }
}
@media (max-width: 960px) {
  .site-footer--v2 .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer--v2 .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer--v2 { padding-top: 48px; }
  .site-footer--v2 .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; min-height: 0; }
  .site-footer--v2 .footer-brand__text br { display: none; }
  .site-footer--v2 .footer-bottom__links { flex-wrap: wrap; }
}

/* Arabic (right-to-left) */
html[dir="rtl"] .site-footer--v2 .footer-pay span { transform: scaleX(-1); }
html[dir="rtl"] .site-footer--v2 .footer-pay:hover span { transform: scaleX(-1) translateX(2px); }
