/* Footer — source: sections/Footer.tsx */

/* Not .lt-section: the footer has its own asymmetric rhythm. The JSON zeroes
   Elementor's default container padding so this is the only source of it. */
#lt-footer {
  background: #0d1a2e;
  padding: clamp(40px, 6vw, 64px) 0 clamp(24px, 3vw, 32px);
}

/*
 * SOURCE BUG FIX.
 * styles.css shipped `@media (max-width:640px){ footer .lt-footer-top{
 * flex-direction:column !important; gap:28px !important } }`, but Footer.tsx
 * never put .lt-footer-top on anything — the rule matched nothing, so the
 * footer never stacked on mobile and only reflowed via flex-wrap. The class is
 * applied for real here (JSON 13000003) and the media query below now bites.
 */
#lt-footer .lt-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* The three groups size to their content rather than Elementor's
   --container-widget-width / --width of 100%, which would stack them at every
   width and make space-between a no-op.
   Deliberately no `max-width: none` here: at (1,2,0) it would outrank
   .lt-footer-brand's (1,1,0) 300px cap below and silently kill it. Elementor's
   own `.e-con > .elementor-widget { max-width: 100% }` is 100% OF THE ROW, so
   it cannot constrain items this size anyway — there is nothing to reset. */
#lt-footer .lt-footer-top > .elementor-element {
  width: auto !important;
  margin: 0;
  flex: 0 1 auto;
}

/* Brand */
#lt-footer .lt-footer-brand {
  max-width: 300px;
}

/* Elementor's frontend CSS sizes any img[src$=".svg"] to a 48px default, so the
   width reset is load-bearing, not tidiness. brightness(0) invert(1) flattens
   the blue/red brand mark to solid white for the dark ground — it needs a real
   SVG, which is why the logo is served from the mu-plugin (see the manifest). */
#lt-footer .lt-footer-logo img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

#lt-footer .lt-footer-logo {
  margin-bottom: 14px;
}

#lt-footer .lt-footer-tagline p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* Nav — in-page anchors, not the source's 8 route links: this is a single
   landing page and /plans, /contact et al. do not exist here. */
#lt-footer .lt-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

#lt-footer .lt-footer-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.60);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

#lt-footer .lt-footer-links a:hover {
  color: #fff;
}

/* Contact */
#lt-footer .lt-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#lt-footer .lt-footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

#lt-footer .lt-footer-phone:hover {
  color: #fff;
}

#lt-footer .lt-footer-wa {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #25D366;
  text-decoration: none;
}

/* Bottom row */
#lt-footer .lt-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
}

#lt-footer .lt-footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* The rule the source shipped but never wired up. align-items:flex-start on the
   row keeps the stacked groups at the inline start rather than stretching. */
@media (max-width: 640px) {
  #lt-footer .lt-footer-top {
    flex-direction: column !important;
    gap: 28px !important;
  }
}
