/* Site footer — templates/partials/footer.html (2026-09 dark redesign).
   Deep navy, a violet glow echoing the hero, a gradient CTA card overlapping its top edge. */

.wh-foot {
  --f-bg: #070b1f;
  --f-ink: #eef0ff;
  --f-muted: #9aa3c4;
  --f-dim: #6a7396;
  --f-line: rgba(255, 255, 255, .08);
  --f-grad: linear-gradient(117.69deg, #231fff -29.66%, #bf41eb 113.48%);
  position: relative;
  isolation: isolate;
  display: flow-root;                /* stops the CTA's negative margin collapsing into ours */
  margin-top: 150px;                 /* room for the CTA card that rises above the footer */
  padding-top: 0;
  background: var(--f-bg);
  color: var(--f-muted);
  font-size: 15px;
  overflow: visible;                 /* the CTA card rises above the top edge */
}
.wh-foot * { letter-spacing: normal; }
.wh-foot__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(126, 70, 255, .28), transparent 70%),
    radial-gradient(45% 40% at 5% 30%, rgba(35, 31, 255, .22), transparent 70%),
    radial-gradient(50% 60% at 50% 110%, rgba(191, 65, 235, .18), transparent 70%);
}
.wh-foot a { color: inherit; text-decoration: none; }
.wh-foot ul { list-style: none; margin: 0; padding: 0; }
.wh-foot .wh-i { width: 18px; height: 18px; flex: none; }

/* ---- CTA card ---- */
.wh-foot__cta {
  position: relative;
  margin-top: -130px;                /* rises out of the footer; negative margin, so no dead space below */
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 44px 52px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .22), transparent 50%),
    radial-gradient(80% 120% at 0% 100%, rgba(10, 8, 80, .35), transparent 60%),
    var(--f-grad);
  box-shadow: 0 30px 70px rgba(35, 31, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
  overflow: hidden;
}
.wh-foot__cta::after {                               /* soft ring pattern for depth */
  content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .07); pointer-events: none;
}
.wh-foot__cta-copy { position: relative; max-width: 620px; }
.wh-foot__cta-eyebrow { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em !important; text-transform: uppercase; opacity: .8; font-family: AzoSansMedium, AzoSansRegular, sans-serif; }
.wh-foot__cta-title { margin: 0; color: #fff; font-family: EnzoBold, AzoSansBold, sans-serif; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; }
.wh-foot__cta-text { margin: 12px 0 0; font-size: 17px; opacity: .88; }
.wh-foot__cta-actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
.wh-foot__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: AzoSansMedium, AzoSansRegular, sans-serif; font-size: 16px; white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease;
}
.wh-foot__btn .wh-i { width: 16px; height: 16px; transition: transform .2s ease; }
.wh-foot__btn:hover .wh-i { transform: translateX(3px); }
.wh-foot a.wh-foot__btn--light { background: #fff; color: #2b1fd9; box-shadow: 0 10px 26px rgba(10, 8, 80, .3); }
.wh-foot a.wh-foot__btn--light:hover { transform: translateY(-2px); color: #2b1fd9; }
.wh-foot a.wh-foot__btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.wh-foot a.wh-foot__btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.wh-foot--no-cta { margin-top: 0; padding-top: 16px; }

/* ---- main grid ---- */
.wh-foot__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) repeat(5, minmax(0, 1fr));
  gap: 40px 28px;
  padding: 56px 0 48px;
}
.wh-foot__logo img { height: 50px; width: auto; filter: brightness(0) invert(1); }
.wh-foot__tagline { margin: 18px 0 22px; line-height: 1.65; max-width: 360px; }
.wh-foot__contact { display: grid; gap: 12px; margin-bottom: 26px !important; }
.wh-foot__contact a, .wh-foot__contact span { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.wh-foot__contact .wh-i { color: #a78bff; margin-top: 1px; }
.wh-foot__contact a:hover { color: var(--f-ink); }

/* local variant (ADR-0013): the office's name above its contact list */
.wh-foot__office { margin: 0 0 12px; color: var(--f-ink); font-family: AzoSansMedium, AzoSansRegular, sans-serif; }
.wh-foot__legal p a { color: var(--f-muted); }

.wh-foot__news label { display: block; margin-bottom: 10px; color: var(--f-ink); font-family: AzoSansMedium, AzoSansRegular, sans-serif; }
.wh-foot__news-field {
  display: flex; max-width: 360px; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--f-line);
  transition: box-shadow .2s ease;
}
.wh-foot__news-field:focus-within { box-shadow: inset 0 0 0 1.5px rgba(167, 139, 255, .7); }
.wh-foot__news input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 14px; color: var(--f-ink); font-size: 15px; }
.wh-foot__news input::placeholder { color: var(--f-dim); }
.wh-foot__news button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--f-grad); color: #fff; cursor: pointer; }

.wh-foot__social { display: flex; gap: 10px; margin-top: 24px; }
.wh-foot__social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--f-line);
  transition: background .2s ease, transform .2s ease;
}
.wh-foot__social img { filter: brightness(0) invert(1); opacity: .85; }
.wh-foot__social a:hover { background: var(--f-grad); transform: translateY(-2px); }
.wh-foot__social a:hover img { opacity: 1; }

.wh-foot__h {
  margin: 0 0 18px; color: var(--f-ink);
  font-family: AzoSansMedium, AzoSansRegular, sans-serif; font-size: 13px; letter-spacing: .1em !important; text-transform: uppercase;
}
.wh-foot__col li + li { margin-top: 11px; }
.wh-foot__col a { position: relative; transition: color .15s ease; }
.wh-foot__col a:hover { color: var(--f-ink); }
.wh-foot__col a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: var(--f-grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.wh-foot__col a:hover::after { transform: scaleX(1); }
.wh-foot a:focus-visible, .wh-foot button:focus-visible { outline: 2px solid #a78bff; outline-offset: 3px; border-radius: 6px; }

/* ---- countries + certifications ---- */
.wh-foot__band {
  display: grid; grid-template-columns: 1.8fr 1fr; gap: 40px;
  padding: 36px 0; border-top: 1px solid var(--f-line);
}
.wh-foot__countries ul { display: flex; flex-wrap: wrap; gap: 8px; }
.wh-foot__countries a {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 14px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--f-line);
  transition: background .2s ease, color .2s ease;
}
.wh-foot__countries a:hover { color: #fff; background: rgba(167, 139, 255, .18); }
.wh-foot__trust ul { display: flex; flex-wrap: wrap; gap: 12px; }
.wh-foot__trust li {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.wh-foot__trust img { width: 54px; height: 54px; }

/* ---- legal bar ---- */
.wh-foot__legal {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px 0 30px; border-top: 1px solid var(--f-line); font-size: 14px; color: var(--f-dim);
}
.wh-foot__legal p { margin: 0; }
.wh-foot__legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.wh-foot__legal a:hover { color: var(--f-ink); }

/* oversized, faint wordmark along the bottom edge */
.wh-foot__mark {
  overflow: hidden; height: clamp(70px, 13vw, 190px);
  text-align: center; line-height: .8; white-space: nowrap; user-select: none;
  font-family: EnzoBold, AzoSansBold, sans-serif; font-size: clamp(110px, 21vw, 300px);
  background: linear-gradient(180deg, rgba(167, 139, 255, .16), rgba(167, 139, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- responsive ---- */
@media (max-width: 1199.98px) {
  .wh-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wh-foot__brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .wh-foot__brand > * { grid-column: 1; }
  .wh-foot__news, .wh-foot__social { grid-column: 2; }
  .wh-foot__news { grid-row: 1 / span 2; align-self: end; }
  .wh-foot__social { grid-row: 3; align-self: start; margin-top: 0; }
  .wh-foot__band { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767.98px) {
  .wh-foot { margin-top: 120px; }
  .wh-foot--no-cta { margin-top: 0; padding-top: 8px; }
  .wh-foot__cta { padding: 32px 26px; margin-top: -100px; }
  .wh-foot__cta-actions, .wh-foot__btn { width: 100%; }
  .wh-foot__grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .wh-foot__brand { display: block; }
  .wh-foot__social { margin-top: 24px; }
  .wh-foot__band { grid-template-columns: 1fr; }
  .wh-foot__legal { flex-direction: column; align-items: flex-start; }
}
