/* NESkills canonical footer — shared unchanged by every page. */

.site-footer.site-footer-v3.footer-v4 {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .92);
  background:
    radial-gradient(circle at 8% -20%, rgba(255, 255, 255, .78), transparent 32%),
    radial-gradient(circle at 92% 110%, rgba(6, 161, 177, .14), transparent 38%),
    linear-gradient(135deg, #fbfaf6 0%, #f4faf9 48%, #eaf7f7 100%);
  color: #34353a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 -14px 34px rgba(52, 53, 58, .08);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-footer.site-footer-v3.footer-v4::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 161, 177, .75), transparent);
}

.site-footer-v3 a,
.site-footer-v3 span,
.site-footer-v3 small { margin: 0; }

.site-footer-v3 a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.site-footer-v3 a:hover,
.site-footer-v3 a:focus-visible { color: #006e7c; }

.site-footer-v3 h3 {
  margin: 0 0 14px;
  color: #34353a;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-v3-desktop {
  display: block;
  padding-top: 44px;
  padding-bottom: 18px;
}

.footer-v3-mobile { display: none; }

.footer-v3-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(150px, .72fr) minmax(220px, 1fr);
  gap: 34px;
  align-items: start;
}

.footer-current .footer-v3-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(18px, 2.5vw, 38px);
}

.footer-v3-brand-link {
  display: inline-flex;
  align-items: center;
}

.site-footer-v3 .footer-v3-official-logo {
  display: block;
  width: 132px;
  height: auto;
  max-width: 100%;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.footer-v3-brand > p,
.footer-v3-mobile-brand > p {
  max-width: 310px;
  margin: 15px 0 17px;
  color: #3b5b67;
  font-size: .76rem;
  line-height: 1.65;
}

.footer-v3-proof {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 20px;
}

.site-footer-v3 .footer-v3-proof > span {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 0 20px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3b5b67;
  box-shadow: none;
  font-size: .7rem;
  font-weight: 600;
}

.site-footer-v3 .footer-v3-proof > span + span {
  padding: 0 0 0 20px;
  border-left: 1px solid rgba(52, 53, 58, .22);
}

.site-footer-v3 .footer-v3-proof strong {
  color: #34353a;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}

.site-footer-v3 .footer-v3-proof small {
  color: #3b5b67;
  font-size: .64rem;
  font-weight: 600;
}

.site-footer-v3 .footer-v3-column a {
  display: block;
  margin: 0 0 9px;
  color: #3b5b67;
  font-size: .72rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.footer-v3-column a:hover,
.footer-v3-column a:focus-visible { transform: translateX(2px); }

.footer-v3-contact { min-width: 0; }

.footer-v3-contact-simple p {
  margin: 0 0 9px;
  color: #3b5b67;
  font-size: .72rem;
  line-height: 1.4;
}

.footer-v3-contact-simple p a {
  color: inherit;
  border-bottom: 1px solid rgba(52, 53, 58, .28);
}

.footer-v3-contact-simple p a:hover,
.footer-v3-contact-simple p a:focus-visible { border-color: #006e7c; }

.site-footer-v3 :is(.footer-v3-demo, .footer-v3-mobile-demo) {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  background: linear-gradient(180deg, #0cb2c2 0%, #06a1b1 54%, #078e9d 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .30), 0 7px 18px rgba(6, 161, 177, .20);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.site-footer-v3 :is(.footer-v3-demo, .footer-v3-mobile-demo):is(:hover, :focus-visible) {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 10px 22px rgba(6, 161, 177, .27);
}

.footer-trust-universal {
  margin-top: 25px;
  padding: 17px 0;
  border: 0;
  border-top: 1px solid rgba(52, 53, 58, .18);
  border-bottom: 1px solid rgba(52, 53, 58, .18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.footer-trust-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 0;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-trust-item figure {
  display: grid;
  width: 82px;
  height: 52px;
  min-width: 82px;
  min-height: 52px;
  align-items: center;
  justify-items: center;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-trust-item img {
  width: auto;
  height: auto;
  max-width: 78px;
  max-height: 50px;
  object-fit: contain;
  filter: none;
}

.footer-trust-item:nth-child(-n + 2) img {
  max-width: 50px;
  max-height: 50px;
}

.footer-trust-item strong {
  color: #34353a;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.25;
}

.footer-v3-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(52, 53, 58, .18);
}

.footer-v3-legal p {
  margin: 0;
  color: rgba(52, 53, 58, .78);
  font-size: .62rem;
  line-height: 1.5;
}

.footer-v3-legal nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.site-footer-v3 .footer-v3-legal :is(a, span) {
  display: inline;
  color: rgba(52, 53, 58, .78);
  font-size: .62rem;
  line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .footer-v3-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .65fr) minmax(0, 1fr); gap: 24px; }
  .footer-v3-brand { grid-column: auto; }
  .footer-v3-contact { grid-column: auto; display: block; }
  .footer-current .footer-v3-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
  .footer-current .footer-v3-brand,
  .footer-current .footer-v3-contact { grid-column: 1 / -1; }
  .footer-trust-item {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .footer-v3-desktop { display: none; }
  .footer-v3-mobile { display: block; padding: 34px 0 18px; }
  .footer-v3-mobile-brand { text-align: center; }
  .footer-v3-mobile-brand .footer-v3-brand-link { justify-content: center; }
  .site-footer-v3 .footer-v3-official-logo { width: 120px; }
  .footer-v3-mobile-brand > p { margin-inline: auto; }
  .footer-v3-proof { justify-content: center; margin-top: 15px; }
  .site-footer-v3 .footer-v3-proof > span { align-items: center; }
  .footer-trust-universal { margin-top: 20px; padding: 14px 0; }
  .footer-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 8px; }
  .footer-trust-item {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    text-align: center;
  }
  .footer-trust-item figure { width: 78px; height: 50px; min-width: 78px; min-height: 50px; }
  .footer-trust-item img { max-width: 74px; max-height: 48px; }
  .footer-trust-item:nth-child(-n + 2) img { max-width: 48px; max-height: 48px; }
  .footer-v3-mobile-nav { margin-top: 18px; border-bottom: 1px solid rgba(52, 53, 58, .18); }
  .footer-v3-mobile-explore { border-top: 1px solid rgba(52, 53, 58, .18); padding: 16px 0 12px; }
  .footer-v3-mobile-explore h3 { margin: 0 0 9px; color: #34353a; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .footer-v3-mobile-explore > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .site-footer-v3 .footer-v3-mobile-explore a { display: block; padding: 6px 0; color: #3b5b67; font-size: .72rem; line-height: 1.35; overflow-wrap: anywhere; }
  .footer-current .footer-v3-mobile-nav > nav { border-top: 1px solid rgba(52, 53, 58, .18); padding: 16px 0 12px; }
  .footer-current .footer-v3-mobile-nav h3 { margin: 0 0 9px; color: #34353a; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .footer-current .footer-v3-mobile-nav nav > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .site-footer-v3.footer-current .footer-v3-mobile-nav nav a { display: flex; align-items: center; min-height: 36px; padding: 5px 0; color: #3b5b67; font-size: .72rem; line-height: 1.35; overflow-wrap: anywhere; }
  .footer-v3-mobile-contact-simple { margin-top: 18px; }
  .footer-v3-mobile-contact-simple p {
    margin: 0 0 8px;
    color: #3b5b67;
    font-size: .8rem;
    line-height: 1.4;
  }
  .footer-v3-mobile-contact-simple p a {
    color: inherit;
    border-bottom: 1px solid rgba(52, 53, 58, .28);
  }
  .site-footer-v3 .footer-v3-mobile-demo {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding-inline: 20px;
    margin-top: 10px;
  }
  .footer-v3-mobile-legal {
    padding-top: 16px;
    border-top: 1px solid rgba(52, 53, 58, .18);
    text-align: center;
  }
  .footer-v3-mobile-legal p {
    margin: 0;
    color: rgba(52, 53, 58, .78);
    font-size: .8125rem;
    line-height: 1.45;
  }
  .footer-v3-mobile-legal nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
  }
  .site-footer-v3 .footer-v3-mobile-legal nav :is(a, span) {
    display: inline;
    color: rgba(52, 53, 58, .78);
    font-size: .8125rem;
    line-height: 1.4;
  }
}
