/* Footer — Nexcen Global contact (all pages) */
:root {
  --line: #d7e1f5;
}

.site-footer--full {
  border-top: 1px solid rgba(16, 24, 40, 0.1);
  margin-top: 28px;
}

.footer-wrap--with-contact {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-top: 28px;
  padding-bottom: 32px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 24, 40, 0.1);
}

.footer-copy {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Pages without styles.css global anchor reset — avoid default underlines on descenders (e.g. “Adaptive”) */
.footer-links a {
  color: #54617e;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: #2d3f5c;
}

.footer-links a:focus-visible {
  outline: 2px solid #2f7ef1;
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

/* Same width columns + identical internal grid on every card */
.footer-contact-card {
  display: grid;
  grid-template-columns: 56px 44px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(18, 38, 95, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.footer-contact-card:hover {
  border-color: #b0c4eb;
  box-shadow: 0 8px 22px rgba(18, 38, 95, 0.1);
  transform: translateY(-1px);
}

.footer-lead {
  width: 56px;
  height: 38px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  line-height: 0;
}

.footer-flag-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Raster flag via data-URI SVG — avoids emoji “IN/US” and inline-SVG grid quirks */
.footer-flag-img {
  width: 56px;
  height: 38px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 7px;
}

.footer-contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #e9f6f4, #e8eefc);
  border: 1px solid #c5d9e0;
  color: #146b7a;
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 20px;
  height: 20px;
}

.footer-contact-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.footer-contact-body--phone .footer-contact-value {
  font-size: clamp(0.82rem, 1.5vw, 0.92rem);
}

.footer-contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7a95;
}

.footer-contact-value {
  font-size: clamp(0.78rem, 1.45vw, 0.875rem);
  font-weight: 600;
  color: #1d2a4a;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  .footer-contact {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-contact-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .footer-main {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 18px;
    padding-top: 18px;
  }

  .footer-contact-body {
    align-items: center;
    text-align: center;
  }

  .footer-wrap--with-contact.footer-wrap {
    text-align: center;
  }

  .footer-contact-card {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
  }
}
