/* Site footer — dark band, logo, offices, map (Figma) */

.figma-footer {
  position: relative;
  margin-top: 0 !important;
  padding: clamp(1.75rem, 4vw, 2.6rem) 0 0;
  background-color: #161616;
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.figma-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    radial-gradient(ellipse 90% 70% at 50% 40%, rgba(60, 190, 178, 0.12), transparent 60%),
    url("../img/Dotted%20Asia.png") center / min(1200px, 95%) no-repeat;
}

.figma-footer__main,
.figma-footer__bar {
  position: relative;
  z-index: 1;
}

.figma-footer__main {
  display: grid;
  grid-template-columns: minmax(140px, 0.95fr) repeat(3, minmax(0, 1fr)) minmax(200px, 1.15fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: start;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.figma-footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

.figma-footer__logo {
  display: block;
  line-height: 0;
}

.figma-footer__logo img {
  width: clamp(94px, 9vw, 134px);
  height: auto;
}

.figma-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.figma-footer__social-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3cbeb2;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.figma-footer__social-link:hover {
  background: #35a89d;
  transform: translateY(-1px);
}

.figma-footer__social-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Matches homepage section eyebrows (e.g. figma-industries__eyebrow) */
.figma-footer__eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.figma-footer__col--brand .figma-footer__eyebrow {
  color: #3cbeb2;
}

.figma-footer__heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.figma-footer__heading-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 0.35rem;
}

.figma-footer__heading-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.25rem;
  height: 3px;
  border-radius: 2px;
  background: #3cbeb2;
}

.figma-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.figma-footer__links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.figma-footer__links a:hover {
  color: #3cbeb2;
}

.figma-footer__text {
  margin: 0;
  max-width: 22rem;
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.figma-footer__col--map {
  min-width: 0;
}

.figma-footer__map-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #2a2a2a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.figma-footer__map {
  display: block;
  width: 100%;
  height: clamp(140px, 18vw, 200px);
  border: 0;
}

.figma-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.figma-footer__bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.9rem 0 1.1rem;
  text-align: center;
}

.figma-footer__copyright {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
}

.figma-footer__credit {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.58);
}

.figma-footer__credit a {
  color: #3cbeb2;
  text-decoration: none;
  font-weight: 600;
}

.figma-footer__credit a:hover {
  color: #5ed4c9;
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .figma-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-footer__col--brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .figma-footer__col--map {
    grid-column: 1 / -1;
  }

  .figma-footer__map {
    height: 220px;
  }
}

@media (max-width: 560px) {
  .figma-footer__main {
    grid-template-columns: 1fr;
  }

  .figma-footer__col--brand {
    flex-direction: column;
    align-items: center;
  }
}
