/*
 * Life Aveda Clinic — Complete Footer Stylesheet
 * Matches footer.php classes supplied by the site owner.
 * Install as: /wp-content/themes/lifeaveda-clinic-child/assets/css/lifeaveda-footer.css
 */

.lifeaveda-footer,
.lifeaveda-footer * { box-sizing: border-box; }

.lifeaveda-footer {
  --la-footer-bg: #f5f2ea;
  --la-footer-bottom: #eae5d9;
  --la-footer-green: #293f2b;
  --la-footer-heading: #292e27;
  --la-footer-text: #62665c;
  --la-footer-line: rgba(41,63,43,.14);
  display: block;
  width: 100%;
  margin: 0;
  color: var(--la-footer-text);
  background: var(--la-footer-bg);
  border-top: 1px solid rgba(41,63,43,.10);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
.lifeaveda-footer a { color: inherit; text-decoration: none; transition: color .2s ease,background-color .2s ease,transform .2s ease; }
.lifeaveda-footer a:hover { color: var(--la-footer-green); }
.lifeaveda-footer__main { width: 100%; padding: 52px 0 44px; }
.lifeaveda-footer__grid {
  width: min(1500px,calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px,1.25fr) minmax(130px,.78fr) minmax(170px,.95fr) minmax(260px,1.25fr);
  column-gap: clamp(25px,3.4vw,60px);
  row-gap: 36px;
  align-items: start;
}
.lifeaveda-footer__brand,.lifeaveda-footer__column { min-width: 0; margin: 0; padding: 0; }
.lifeaveda-footer__logo-link { display: inline-flex; align-items: center; max-width: 100%; margin: 0 0 13px; }
.lifeaveda-footer__logo { display: block; width: 190px; max-width: 100%; height: auto; max-height: 110px; object-fit: contain; object-position: left center; }
.lifeaveda-footer__brand > p { max-width: 370px; margin: 4px 0 18px; color: var(--la-footer-text); font: 400 14px/1.65 "DM Sans",Arial,sans-serif; }
.lifeaveda-footer__column h2 { margin: 7px 0 20px; padding: 0; color: var(--la-footer-heading); font: 700 17px/1.35 "DM Sans",Arial,sans-serif; letter-spacing: -.01em; }

/* Normalize WordPress menu lists against common theme defaults */
.lifeaveda-footer ul.lifeaveda-footer__links,
.lifeaveda-footer ul.lifeaveda-social-menu,
.lifeaveda-footer ul.lifeaveda-contact-list {
  list-style: none !important; padding: 0 !important; margin: 0 !important;
}
.lifeaveda-footer ul.lifeaveda-footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.lifeaveda-footer ul.lifeaveda-footer__links > li {
  display: block; width: 100%; margin: 0 !important; padding: 0 !important;
  list-style: none !important; border: 0; background: transparent;
}
.lifeaveda-footer ul.lifeaveda-footer__links > li::before,
.lifeaveda-footer ul.lifeaveda-social-menu > li::before { content: none !important; display: none !important; }
.lifeaveda-footer ul.lifeaveda-footer__links > li > a {
  display: inline-block; padding: 0; color: var(--la-footer-text);
  font: 400 14px/1.6 "DM Sans",Arial,sans-serif; overflow-wrap: anywhere;
}
.lifeaveda-footer ul.lifeaveda-footer__links > li > a:hover { color: var(--la-footer-green); text-decoration: underline; text-underline-offset: 3px; }

/* Social menu buttons */
.lifeaveda-footer nav.lifeaveda-footer__social { display: block; margin: 20px 0 0; padding: 0; }
.lifeaveda-footer ul.lifeaveda-social-menu {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center;
  justify-content: flex-start; gap: 10px;
}
.lifeaveda-footer ul.lifeaveda-social-menu > li {
  display: block; width: auto; margin: 0 !important; padding: 0 !important; list-style: none !important;
}
.lifeaveda-footer ul.lifeaveda-social-menu > li > a {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 39px; height: 39px; min-width: 39px; padding: 0;
  border: 1px solid rgba(41,63,43,.08); border-radius: 50%;
  color: #fff; background: var(--la-footer-green); font-size: 17px; font-weight: 600;
  line-height: 1; overflow: hidden;
}
.lifeaveda-footer ul.lifeaveda-social-menu > li > a:hover { color: #fff; background: #1d3020; transform: translateY(-2px); }
.lifeaveda-footer ul.lifeaveda-social-menu > li > a span { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; line-height: 1; }
.lifeaveda-footer ul.lifeaveda-social-menu .fa-brands,
.lifeaveda-footer ul.lifeaveda-social-menu .fa-solid,
.lifeaveda-footer ul.lifeaveda-social-menu .fa-regular { line-height: 1; }

/* Facebook fallback for the current menu item ID; no icon font required */
.lifeaveda-footer ul.lifeaveda-social-menu > li#menu-item-23 > a {
  font-size: 0 !important; color: transparent !important;
}
.lifeaveda-footer ul.lifeaveda-social-menu > li#menu-item-23 > a::before {
  content: "f"; display: block; color: #fff; font-family: Arial,Helvetica,sans-serif;
  font-size: 29px; font-weight: 700; line-height: 1; transform: translateY(3px);
}
.lifeaveda-footer ul.lifeaveda-social-menu > li#menu-item-23 > a > span { display: none !important; }

/* Contact details and icons */
.lifeaveda-footer ul.lifeaveda-contact-list { display: flex; flex-direction: column; gap: 17px; }
.lifeaveda-footer ul.lifeaveda-contact-list > li {
  display: grid; grid-template-columns: 27px minmax(0,1fr); align-items: start; column-gap: 13px;
  margin: 0 !important; padding: 0 !important; color: var(--la-footer-text);
  font-size: 14px; line-height: 1.65; list-style: none !important; border: 0;
}
.lifeaveda-footer ul.lifeaveda-contact-list > li::before { content: none !important; display: none !important; }
.lifeaveda-footer .lifeaveda-contact-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 27px; min-width: 27px;
  height: 27px; margin: 0; color: var(--la-footer-green); font-size: 20px; line-height: 1;
}
.lifeaveda-footer .lifeaveda-contact-icon svg {
  display: block; width: 23px; height: 23px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.lifeaveda-footer .lifeaveda-contact-icon i { display: inline-block; font-size: 20px; line-height: 1; }
.lifeaveda-footer .lifeaveda-contact-list a { color: var(--la-footer-text); overflow-wrap: anywhere; }
.lifeaveda-footer .lifeaveda-contact-list a:hover { color: var(--la-footer-green); text-decoration: underline; text-underline-offset: 3px; }
.lifeaveda-footer .lifeaveda-footer__license { margin: 15px 0 0 40px; color: #777a70; font-size: 12px; line-height: 1.5; }
.lifeaveda-footer .lifeaveda-social-note { max-width: 290px; color: var(--la-footer-text); font-size: 12px; }

/* Copyright bar */
.lifeaveda-footer__bottom { width: 100%; background: var(--la-footer-bottom); border-top: 1px solid var(--la-footer-line); }
.lifeaveda-footer__bottom-inner {
  width: min(1500px,calc(100% - 64px)); min-height: 56px; margin: 0 auto; padding: 13px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: #6b6e64; font-size: 11px; line-height: 1.5;
}
.lifeaveda-footer__legal { text-align: right; }
.lifeaveda-footer__legal a { color: var(--la-footer-green); text-decoration: underline; text-underline-offset: 2px; }

/* Tablet */
@media (max-width:1100px) {
  .lifeaveda-footer__grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.8fr) minmax(0,1fr); column-gap: 32px; }
  .lifeaveda-footer__contact { grid-column: 1 / -1; }
  .lifeaveda-footer ul.lifeaveda-contact-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 26px; row-gap: 16px; }
}

/* Mobile */
@media (max-width:700px) {
  .lifeaveda-footer__main { padding: 38px 0 30px; }
  .lifeaveda-footer__grid { width: calc(100% - 36px); grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 22px; row-gap: 30px; }
  .lifeaveda-footer__brand { grid-column: 1 / -1; }
  .lifeaveda-footer__logo { width: 170px; }
  .lifeaveda-footer__column h2 { margin-top: 0; margin-bottom: 15px; font-size: 16px; }
  .lifeaveda-footer__contact { grid-column: 1 / -1; }
  .lifeaveda-footer ul.lifeaveda-contact-list { display: flex; flex-direction: column; gap: 15px; }
  .lifeaveda-footer__bottom-inner { width: calc(100% - 36px); align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
  .lifeaveda-footer__legal { text-align: left; }
}
@media (max-width:390px) {
  .lifeaveda-footer__grid { grid-template-columns: minmax(0,1fr); }
  .lifeaveda-footer__brand,.lifeaveda-footer__contact { grid-column: auto; }
  .lifeaveda-footer__column { padding-bottom: 2px; }
}
