/* ============================================================
   LS footer — values taken verbatim from the design (Template.html)
   Global, scoped under #footer.ls-footer
   ============================================================ */

#footer.ls-footer {
  position: relative;
  overflow: hidden;
  margin-top: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3d5a55;
}

/* ---- the design footer surface: white -> mint gradient ---- */
#footer .ls-footer-main {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #e9f6f1 100%);
  border-top: 1px solid #d3eae2;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -24px 60px -36px rgba(20, 97, 87, .3);
}

/* dotted texture, masked so it fades out by 60% */
#footer .ls-footer-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(20, 97, 87, .12) 1.3px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 60%);
}

/* soft teal glow at the top-left */
#footer .ls-footer-glow {
  position: absolute;
  left: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(47, 181, 155, .22), rgba(47, 181, 155, 0) 70%);
}

#footer .ls-footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 40px;
}

/* ---- help banner (lives inside the footer, like the design) ---- */
#footer .ls-footer-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-radius: 26px;
  background: linear-gradient(120deg, #146157 0%, #1b7a6c 100%);
  color: #fff;
  box-shadow: 0 22px 44px -22px rgba(15, 77, 69, .65);
}
#footer .ls-footer-help-main { display: flex; align-items: center; gap: 16px; min-width: 0; }
#footer .ls-footer-help-ico {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  justify-content: center;
}
#footer .ls-footer-help-ico svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#footer .ls-footer-help-title { font-size: 19px; font-weight: 800; }
#footer .ls-footer-help-sub { margin-top: 4px; font-size: 14px; color: #d9f0ea; line-height: 1.8; }
#footer .ls-footer-help-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#footer .ls-footer-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  background: #fff;
  color: #0f4d45;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease;
}
#footer .ls-footer-help-btn:hover { transform: translateY(-1px); color: #0f4d45; }
#footer .ls-footer-help-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#footer .ls-footer-help-btn.is-ghost {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-weight: 700;
}

/* ---- columns ---- */
#footer .ls-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 48px 0 0;
}
#footer .ls-footer-grid > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
  flex: none;
}

/* brand */
#footer .ls-footer-brand { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
#footer .ls-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 14px 8px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #d3eae2;
  box-shadow: 0 12px 26px -16px rgba(20, 97, 87, .4);
  text-decoration: none;
}
#footer .ls-footer-mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(135deg, #2fb59b, #0f4d45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .5px;
  line-height: 1;
  direction: ltr;
}
#footer .ls-footer-name {
  font-size: 20px;
  font-weight: 800;
  color: #0b3d37;
  white-space: nowrap;
  line-height: 1;
}
#footer .ls-footer-tagline {
  margin: 0;
  max-width: 340px;
  font-size: 14px;
  line-height: 2;
  color: #3d5a55;
  font-weight: 500;
}

/* contact rows: icon chip on the right, text to its left */
#footer .ls-footer-contact { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
#footer .ls-footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: #3d5a55;
  line-height: 2;
}
#footer .ls-footer-contact li > a,
#footer .ls-footer-contact li > span:not(.ls-foot-ico) {
  order: 2;
  color: #3d5a55;
}
#footer .ls-footer-contact li > a {
  font-size: 14px;
  font-weight: 700;
  color: #0e2b27;
  unicode-bidi: isolate;
}
#footer .ls-footer-contact .ls-foot-ico {
  order: 1;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
#footer .ls-footer-contact .ls-foot-ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#footer .ls-foot-ico.is-mint  { background: #dcf0ea; color: #146157; }
#footer .ls-foot-ico.is-blue  { background: #e0efff; color: #1d5fa8; }
#footer .ls-foot-ico.is-amber { background: #fff0d2; color: #8a5200; }

#footer .ls-footer-social { display: none !important; }

/* column titles with the gradient underline */
#footer .ls-footer-col { min-width: 0; }
#footer .ls-footer-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: #0b3d37;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: static;
}
#footer .ls-footer-title::after {
  content: '';
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #2fb59b, #146157);
}

/* links with the small dot on the right */
#footer .ls-footer-links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
#footer .ls-footer-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
#footer .ls-footer-links li::before {
  content: '';
  order: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a9d6c9;
  flex: none;
  transition: background .15s ease, transform .15s ease;
}
#footer .ls-footer-links li:hover::before { background: #146157; transform: scale(1.4); }
#footer .ls-footer-links a {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: #3d5a55;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}
#footer .ls-footer-links a:hover { color: #146157; transform: translateX(-4px); }

/* ---- copyright bar ---- */
#footer .ls-footer-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid #d3eae2;
  background: rgba(220, 240, 234, .55);
  padding: 0;
}
#footer .ls-footer-bar > .container {
  max-width: 1280px;
  padding: 18px 24px;
}
#footer .ls-footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #3d5a55;
}
#footer .ls-footer-bar p,
#footer .ls-footer-bar .copyright {
  margin: 0;
  color: #3d5a55 !important;
  font-size: 13px;
  font-weight: 500;
}
#footer .ls-footer-bar-links { display: flex; align-items: center; gap: 14px; }
#footer .ls-footer-bar a { color: #146157; font-weight: 700; font-size: 13px; text-decoration: none; }
#footer .ls-footer-locale {
  border: 1px solid #d3eae2;
  background: #fff;
  border-radius: 10px;
  font-size: 12px;
  color: #3d5a55;
  padding: 4px 10px;
}

/* ---- responsive ---- */
@media (max-width: 1100px) {
  #footer .ls-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  #footer .ls-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
  #footer .ls-footer-brand { grid-column: 1 / -1; }
  #footer .ls-footer-main { border-radius: 28px 28px 0 0; }
  #footer .ls-footer-inner { padding: 32px 18px 28px; }
}
@media (max-width: 560px) {
  #footer .ls-footer-grid { grid-template-columns: 1fr; }
  #footer .ls-footer-help { padding: 18px; }
  #footer .ls-footer-help-title { font-size: 17px; }
  #footer .ls-footer-help-btn { height: 42px; padding: 0 16px; font-size: 13px; }
  #footer .ls-footer-bar-inner { justify-content: center; text-align: center; }
}
