/*
  Location footer (shine-zee) — Figma 737:724.

  Desktop info row is five columns with a 100px gap:
  brand | Services | Company | estimate CTA | badges.
  Copyright sits in the legal row (60px gaps). Socials stay flush-end.
*/

.site-footer--zee .site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9375rem; /* 15px — same stack as logo / tagline in Figma */
}

.site-footer--zee .site-footer__contact-line,
.site-footer--zee .site-footer__contact-link {
  /* Phone + address use the tagline face (15px / 30px), not nav links. */
  font-family: var(--font-body-alt);
  font-weight: var(--fw-regular);
  font-size: var(--fs-footer-tagline);
  line-height: var(--lh-footer-tagline);
  letter-spacing: var(--ls-footer);
  color: var(--color-footer-text);
}

.site-footer--zee .site-footer__contact-link:hover,
.site-footer--zee .site-footer__contact-link:focus-visible {
  color: var(--color-footer-link-hover);
}

.site-footer--zee .site-footer__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  inline-size: 100%;
}

.site-footer--zee .site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem; /* 10px */
  box-sizing: border-box;
  min-block-size: 3.9375rem; /* 20 + 23 + 20 */
  padding: 1.25rem; /* 20px — Figma Btn-free-trial */
  border-radius: var(--radius-pill);
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: var(--fs-cta);
  line-height: var(--lh-nav);
  letter-spacing: var(--ls-cta);
  white-space: nowrap;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.site-footer--zee .site-footer__cta:hover {
  background-color: var(--color-primary-hover);
}

.site-footer--zee .site-footer__cta:focus-visible {
  outline-color: var(--color-text-inverse);
}

.site-footer--zee .site-footer__cta-icon {
  inline-size: 11px;
  block-size: 11px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .site-footer--zee .site-footer__top {
    /* Five Figma columns — do not space-between or the nav stretches. */
    justify-content: flex-start;
    gap: var(--footer-col-gap); /* 100px */
  }

  .site-footer--zee .site-footer__brand {
    flex: 1 0 0;
    min-inline-size: 0;
    inline-size: auto;
  }

  .site-footer--zee .site-footer__tagline,
  .site-footer--zee .site-footer__contact {
    max-inline-size: var(--footer-tagline-max); /* 240px */
  }

  .site-footer--zee .site-footer__contact {
    align-items: flex-start;
    margin-block-start: 0;
  }

  /* Services + Company share two flex units so gaps stay 100px. */
  .site-footer--zee .site-footer__nav {
    flex: 2 0 0;
    justify-content: flex-start;
    gap: var(--footer-col-gap);
    min-inline-size: 0;
    inline-size: auto;
  }

  .site-footer--zee .site-footer__col {
    flex: 1 0 0;
    min-inline-size: 0;
    inline-size: auto;
  }

  /*
    Lift CTA and badges into the top row as siblings
    (Figma: CTA column, then badge stack).
  */
  .site-footer--zee .site-footer__aside {
    display: contents;
  }

  .site-footer--zee .site-footer__cta {
    flex: 1 0 0;
    align-self: flex-start;
    justify-self: start;
    inline-size: auto;
    max-inline-size: 14.625rem; /* 234px */
  }

  .site-footer--zee .site-footer__badges {
    flex: 0 0 auto;
    align-items: flex-start;
    gap: var(--footer-badge-gap); /* 23px */
  }

  /* Extra separation from legal text; grid column-gap covers mid-width (see parent). */
  .site-footer--zee .site-footer__social {
    margin-inline-start: var(--footer-social-gap); /* 32px */
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  /* Parent footer grid already gaps meta ↔ social; avoid double spacing. */
  .site-footer--zee .site-footer__social {
    margin-inline-start: 0;
  }
}
