/* EVX public footer: bordered action cards, link columns, legal bar. */
body footer[role="contentinfo"],
body .layout-container > footer[role="contentinfo"] {
  background: #0b1220 !important;
  color: #e8edf6 !important;
  padding: 0 !important;
  text-align: left !important;
}

body footer[role="contentinfo"] .evx-foot {
  --ef-line: rgba(255, 255, 255, .14);
  --ef-line-strong: rgba(255, 255, 255, .38);
  --ef-muted: #9aa8bd;
  font-family: var(--evx-font, "Inter", "Noto Sans SC", Arial, sans-serif);
}

body footer[role="contentinfo"] .evx-foot__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 40px 0;
}

/* Top action cards */
body footer[role="contentinfo"] .evx-foot__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}

body footer[role="contentinfo"] .evx-foot-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--ef-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  color: inherit !important;
  text-decoration: none !important;
  transition: border-color .25s ease, background .25s ease;
}

body footer[role="contentinfo"] .evx-foot-card:hover {
  border-color: var(--ef-line-strong);
  background: rgba(255, 255, 255, .04);
}

body footer[role="contentinfo"] .evx-foot-card__text {
  display: grid;
  gap: 10px;
  min-width: 0;
}

body footer[role="contentinfo"] .evx-foot-card h2 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

body footer[role="contentinfo"] .evx-foot-card p {
  margin: 0;
  color: var(--ef-muted);
  font-size: 13px;
  line-height: 1.7;
}

body footer[role="contentinfo"] .evx-foot-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

body footer[role="contentinfo"] .evx-foot-card__cta span {
  transition: transform .2s ease;
}

body footer[role="contentinfo"] .evx-foot-card:hover .evx-foot-card__cta span {
  transform: translateX(3px);
}

body footer[role="contentinfo"] .evx-foot-card__icon {
  flex: 0 0 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: #7fb3ff;
}

body footer[role="contentinfo"] .efi {
  display: block;
  width: 26px;
  height: 26px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

body footer[role="contentinfo"] .efi-select {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E");
}

body footer[role="contentinfo"] .efi-support {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.3a2.5 2.5 0 1 1 3.4 2.3c-.7.3-1 .9-1 1.6v.4M12 17h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.3a2.5 2.5 0 1 1 3.4 2.3c-.7.3-1 .9-1 1.6v.4M12 17h.01'/%3E%3C/svg%3E");
}

body footer[role="contentinfo"] .efi-service {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.2-2.9 7.6-7 9-4.1-1.4-7-4.8-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.2-2.9 7.6-7 9-4.1-1.4-7-4.8-7-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

/* Link columns */
body footer[role="contentinfo"] .evx-foot__main {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}

body footer[role="contentinfo"] .evx-foot__logo {
  margin-bottom: 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
}

/* Real brand mark, rendered white so it reads on the dark sheet. */
body footer[role="contentinfo"] .evx-foot__logo-img {
  display: block;
  width: auto;
  height: 27px;
  max-width: 190px;
  filter: brightness(0) invert(1);
}

body footer[role="contentinfo"] .evx-foot__logo span {
  margin-left: 6px;
  color: #4a90ff;
  font-size: 17px;
  letter-spacing: 3px;
}

body footer[role="contentinfo"] .evx-foot__tagline {
  margin: 0 0 16px;
  color: #cfd8e6;
  font-size: 15px;
}

body footer[role="contentinfo"] .evx-foot__contact {
  margin: 0;
  color: var(--ef-muted);
  font-size: 13px;
  line-height: 1.9;
}

body footer[role="contentinfo"] .evx-foot__contact a {
  color: var(--ef-muted) !important;
  text-decoration: none !important;
}

body footer[role="contentinfo"] .evx-foot__contact a:hover {
  color: #fff !important;
}

body footer[role="contentinfo"] .evx-foot__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

body footer[role="contentinfo"] .evx-foot__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ef-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: #cfd8e6 !important;
  font-size: 11px;
  text-decoration: none !important;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

body footer[role="contentinfo"] .evx-foot__social a:hover {
  border-color: var(--ef-line-strong);
  background: rgba(74, 144, 255, .18);
  color: #fff !important;
}

body footer[role="contentinfo"] .evx-foot__col h3 {
  margin: 2px 0 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

body footer[role="contentinfo"] .evx-foot__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body footer[role="contentinfo"] .evx-foot__col li {
  margin: 0 0 10px;
}

body footer[role="contentinfo"] .evx-foot__col a {
  color: var(--ef-muted) !important;
  font-size: 13.5px;
  line-height: 1.6;
  text-decoration: none !important;
  transition: color .2s ease;
}

body footer[role="contentinfo"] .evx-foot__col a:hover {
  color: #fff !important;
}

/* Legal bar */
body footer[role="contentinfo"] .evx-foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--ef-line);
  color: var(--ef-muted);
  font-size: 12px;
}

body footer[role="contentinfo"] .evx-foot__legal > span {
  margin-right: auto;
}

body footer[role="contentinfo"] .evx-foot__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

body footer[role="contentinfo"] .evx-foot__legal-links a {
  color: var(--ef-muted) !important;
  font-size: 12px;
  text-decoration: none !important;
}

body footer[role="contentinfo"] .evx-foot__legal-links a:hover {
  color: #fff !important;
}

@media (max-width: 1100px) {
  body footer[role="contentinfo"] .evx-foot__main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
  body footer[role="contentinfo"] .evx-foot__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  body footer[role="contentinfo"] .evx-foot__inner {
    padding: 40px 22px 0;
  }
  body footer[role="contentinfo"] .evx-foot__cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 36px;
  }
  body footer[role="contentinfo"] .evx-foot__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding-bottom: 32px;
  }
}
