/* KLIQ shared site footer
 * UI: resources/views/kliq-living/partials/site-footer.blade.php
 * Helpers: app/Helpers/KliqFooterHelper.php
 */

.site-footer,
.kliq-site-footer {
  background: #F5F5F5;
  font-family: 'Poppins', system-ui, sans-serif;
}

.site-footer .wrap,
.kliq-site-footer .kliq-footer-wrap {
  max-width: 1658px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 56px clamp(20px, 4vw, 131px) 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
}

.footer-brand img {
  height: 60px;
  width: auto;
  max-width: none;
  display: block;
  margin: 0;
  object-fit: contain;
}

.footer-brand .copy {
  margin: 0;
  color: #727272;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.4;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.6vw, 32px);
  margin: 0;
  padding: 0;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #282828;
  text-decoration: none;
  font-size: clamp(14px, 1.15vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
  transition: opacity .2s;
}

.footer-nav a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #282828;
  flex: 0 0 auto;
}

.footer-nav a:hover {
  opacity: .7;
  color: #282828;
}

/* Layout pages: hide legacy Bravo footer chrome */
.bravo_wrap .bravo_footer.kliq-footer {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.bravo_wrap .bravo_footer.kliq-footer .mailchimp,
.bravo_wrap .bravo_footer.kliq-footer .main-footer,
.bravo_wrap .bravo_footer.kliq-footer .copy-right {
  display: none !important;
}

/* Layout pages: match home footer sizing (override theme CSS) */
.bravo_wrap .kliq-site-footer.site-footer {
  background: #F5F5F5 !important;
  font-family: 'Poppins', system-ui, sans-serif;
}

.bravo_wrap .kliq-site-footer .kliq-footer-wrap {
  max-width: 1658px !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 56px clamp(20px, 4vw, 131px) 40px !important;
}

.bravo_wrap .kliq-site-footer .footer-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.bravo_wrap .kliq-site-footer .footer-logo-link {
  display: inline-block !important;
  line-height: 0 !important;
}

.bravo_wrap .kliq-site-footer .footer-brand img {
  height: 60px !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
  margin: 0 !important;
  object-fit: contain !important;
}

.bravo_wrap .kliq-site-footer .footer-brand .copy {
  margin: 0 !important;
  color: #727272 !important;
  font-size: clamp(14px, 1.1vw, 18px) !important;
  line-height: 1.4 !important;
}

.bravo_wrap .kliq-site-footer .footer-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(14px, 1.6vw, 32px) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bravo_wrap .kliq-site-footer .footer-nav a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #282828 !important;
  text-decoration: none !important;
  font-size: clamp(14px, 1.15vw, 20px) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  transition: opacity .2s !important;
}

.bravo_wrap .kliq-site-footer .footer-nav a::before {
  content: "" !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #282828 !important;
  flex: 0 0 auto !important;
}

.bravo_wrap .kliq-site-footer .footer-nav a:hover {
  opacity: .7 !important;
  color: #282828 !important;
}

@media (max-width: 991px) {
  .site-footer .wrap,
  .kliq-site-footer .kliq-footer-wrap,
  .bravo_wrap .kliq-site-footer .kliq-footer-wrap {
    padding-top: 40px !important;
    padding-bottom: 32px !important;
  }

  .footer-nav,
  .bravo_wrap .kliq-site-footer .footer-nav {
    justify-content: flex-start !important;
    gap: 14px !important;
  }
}
