/* ==========================================================================
   Sehli Global – site footer, locations row and "Book Consultation" side tab
   Loaded on every page. Brand: Poppins, red #EC1F26, navy #1B182F.
   ========================================================================== */

/* ---------- Footer shell ------------------------------------------------- */
.main-footer {
  position: relative;
  overflow: hidden;
  background: #1B182F !important;
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* The theme's demo skyline (Statue of Liberty) is not Canada: hide it */
.main-footer > .image-layer { display: none !important; }
.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #EC1F26 0%, #EC1F26 35%, rgba(236, 31, 38, 0) 100%);
}
.main-footer .widget-section {
  position: relative;
  padding: 80px 0 40px !important;
}
.main-footer .widget-section .row { row-gap: 36px; }

/* Column headings */
.main-footer .widget-title { margin: 0 0 22px !important; padding: 0 !important; }
.main-footer .widget-title h4 {
  position: relative;
  margin: 0 !important;
  padding: 0 0 14px !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 1.08rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
}
.main-footer .widget-title h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: #EC1F26;
}
.main-footer .widget-title h4::before { display: none !important; }

/* Text */
.main-footer p,
.main-footer .widget-content p {
  margin: 0 !important;
  color: rgba(255, 255, 255, .68) !important;
  font-family: inherit !important;
  font-size: .92rem !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
}

/* Link lists */
.main-footer .widget_nav_menu ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.main-footer .widget_nav_menu li {
  margin: 0 0 12px !important;
  padding: 0 !important;
  list-style: none !important;
}
.main-footer .widget_nav_menu li::before { display: none !important; }
.main-footer .widget_nav_menu li a {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 0 !important;
  color: rgba(255, 255, 255, .72) !important;
  font-size: .92rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  transition: color .2s ease, transform .2s ease;
}
.main-footer .widget_nav_menu li a::before {
  content: "" !important;
  position: static !important;
  flex: 0 0 auto;
  width: 6px !important;
  height: 6px !important;
  margin: 0 !important;
  border-top: 1.5px solid #EC1F26 !important;
  border-right: 1.5px solid #EC1F26 !important;
  background: none !important;
  transform: rotate(45deg);
}
.main-footer .widget_nav_menu li a:hover { color: #fff !important; transform: translateX(3px); }

/* Contact rows: icon column + text column, so wrapped lines line up */
.main-footer .widget-content p.footer-loc {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  margin: 0 0 18px !important;
  padding: 0 !important;
  line-height: 1.6 !important;
}
.main-footer .footer-loc:first-child,
.main-footer .widget-content > .footer-loc:first-of-type { margin-top: 0 !important; }
.main-footer .footer-loc > strong {
  grid-row: 1 / span 9;
  display: grid !important;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 !important;
  border-radius: 50%;
  background: rgba(236, 31, 38, .14);
}
.main-footer .footer-loc > strong i {
  margin: 0 !important;
  color: #FF6B70 !important;
  font-size: 14px !important;
  line-height: 1 !important;
}
.main-footer .footer-loc a { color: inherit !important; text-decoration: none !important; }
.main-footer .footer-loc a:hover { color: #fff !important; }

/* Social icons */
.main-footer .social-links {
  display: flex !important;
  gap: 10px;
  margin: 20px 0 0 46px !important;
  padding: 0 !important;
  list-style: none !important;
}
.main-footer .social-links li {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  list-style: none !important;
}
.main-footer .social-links li a {
  display: grid !important;
  place-items: center;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 1 !important;
  transition: background-color .2s ease, border-color .2s ease;
}
.main-footer .social-links li a:hover { background: #EC1F26 !important; border-color: #EC1F26 !important; }
.main-footer .social-links li a i { line-height: 1 !important; }

/* ---------- Locations row ------------------------------------------------ */
.sg-locations {
  position: relative;
  z-index: 2;
  padding: 0 0 34px;
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.sg-locations .auto-container {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.sg-locations:not(.is-placed) { background: #1B182F; padding-top: 30px; }
.sg-locations__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.sg-locations__list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.sg-locations__list li::before { display: none !important; }
.sg-locations__tag {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .8) !important;
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none !important;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
a.sg-locations__tag:hover,
a.sg-locations__tag:focus-visible { border-color: #EC1F26; background: #EC1F26; color: #fff !important; }

/* ---------- Copyright bar ------------------------------------------------ */
.main-footer .footer-bottom {
  position: relative;
  z-index: 2;
  padding: 22px 0 !important;
  background: #14111F !important;
}
.main-footer .footer-bottom p {
  margin: 0 !important;
  color: rgba(255, 255, 255, .55) !important;
  font-size: .85rem !important;
  line-height: 1.6 !important;
  text-align: center;
}
.main-footer .footer-bottom a { color: #fff !important; }

/* ---------- "Book Consultation" tab, fixed on the right ------------------ */
.fixed-quote {
  position: fixed !important;
  top: 50% !important;
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 9990 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-50%) !important;
}
.fixed-quote a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 18px 12px !important;
  border-radius: 10px 0 0 10px;
  background: #EC1F26 !important;
  color: #fff !important;
  font-family: Poppins, system-ui, sans-serif !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  letter-spacing: .1em;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  box-shadow: 0 10px 24px -8px rgba(236, 31, 38, .7);
  transition: background-color .2s ease, padding .2s ease !important;
}
.fixed-quote a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .3);
}
.fixed-quote a:hover,
.fixed-quote a:focus-visible { background: #C8141A !important; padding-right: 16px !important; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 991px) {
  .main-footer .widget-section { padding: 60px 0 30px !important; }
}
@media (max-width: 600px) {
  .main-footer .widget-section { padding: 50px 6px 24px !important; }
  .sg-locations { padding-bottom: 26px; }
  .sg-locations .auto-container { padding-top: 24px; }
  .sg-locations__list { gap: 8px; }
  .sg-locations__tag { padding: 6px 12px; font-size: .8rem; }
  .fixed-quote a { padding: 14px 9px !important; font-size: .72rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .main-footer *, .fixed-quote a { transition: none !important; }
}
