/* Zenvora footbridge — site-wide lumen footer (self-contained, same on every page). */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=Figtree:wght@400;500;600;700&display=swap');

.zt-foot {
  /* Locked lumen palette — does not inherit page themes */
  --zt-ink: #102027;
  --zt-mute: #5b6b73;
  --zt-paper: #f3f6f4;
  --zt-mist: #d9e3df;
  --zt-panel: #ffffff;
  --zt-volt: #d6ff3f;
  --zt-oxide: #0d7377;
  --zt-signal: #ff4d2e;
  --zt-line: rgba(16, 32, 39, 0.12);
  --zt-ease: cubic-bezier(0.2, 0.9, 0.2, 1);
  --zt-display: 'Syne', sans-serif;
  --zt-body: 'Figtree', sans-serif;
  --zt-dock: 4.75rem;

  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  isolation: isolate;
  z-index: 4;
  width: 100%;
  margin: 0;
  margin-top: 0;
  padding: 3.25rem 0 6.5rem;
  font-family: var(--zt-body) !important;
  color: var(--zt-ink) !important;
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(214, 255, 63, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(13, 115, 119, 0.1), transparent 50%),
    linear-gradient(180deg, #eef3f0 0%, var(--zt-paper) 35%, #e7eeea 100%) !important;
  overflow: visible;
  clear: both;
}

.a58-chrome-lumen .zt-foot,
body.a58-chrome-lumen .zt-foot {
  padding-bottom: calc(var(--lux-dock-h, 4.75rem) + 2.75rem);
}

.zt-foot *,
.zt-foot *::before,
.zt-foot *::after {
  box-sizing: border-box;
}

.zt-foot-wash {
  position: absolute;
  inset: 0 auto auto 0;
  width: min(52vw, 520px);
  height: min(48%, 360px);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(214, 255, 63, 0.28), transparent 62%),
    radial-gradient(ellipse at 40% 80%, rgba(13, 115, 119, 0.1), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.zt-foot-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.35fr);
  gap: 1.75rem 2.25rem;
  align-items: start;
}

.zt-foot-lead {
  position: sticky;
  top: 1.25rem;
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1.3rem;
  background: var(--zt-panel);
  border: 1px solid var(--zt-line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(16, 32, 39, 0.07);
}

.zt-foot-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none !important;
  color: var(--zt-ink) !important;
  width: fit-content;
  transition: transform 0.35s var(--zt-ease);
}
.zt-foot-mark:hover {
  transform: translateX(4px);
}
.zt-foot-mark span {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--zt-ink) !important;
  color: var(--zt-volt) !important;
  font-family: var(--zt-display);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.zt-foot-mark strong {
  font-family: var(--zt-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--zt-ink) !important;
}

.zt-foot-lede {
  margin: 0;
  color: var(--zt-mute) !important;
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 28ch;
}

.zt-foot-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.zt-foot-facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(13, 115, 119, 0.08);
  color: var(--zt-mute) !important;
  font-size: 0.78rem;
  font-weight: 600;
}
.zt-foot-facts em {
  font-style: normal;
  font-family: var(--zt-display);
  color: var(--zt-oxide) !important;
  font-weight: 700;
}

.zt-foot-pulse {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--zt-line);
}
.zt-foot-pulse-label {
  font-family: var(--zt-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--zt-ink) !important;
}
.zt-foot-pulse-row {
  display: flex;
  gap: 0.4rem;
}
.zt-foot-pulse-row input {
  flex: 1 1 auto;
  min-width: 0;
  appearance: none;
  border: 1px solid var(--zt-line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-family: var(--zt-body);
  font-size: 0.9rem;
  color: var(--zt-ink) !important;
  background: #fbfcfb !important;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.zt-foot-pulse-row input::placeholder {
  color: var(--zt-mute) !important;
  opacity: 1;
}
.zt-foot-pulse-row input:focus {
  outline: none;
  border-color: var(--zt-oxide);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.15);
}
.zt-foot-pulse-row button {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-family: var(--zt-body);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  background: var(--zt-ink) !important;
  color: var(--zt-volt) !important;
  transition: transform 0.3s var(--zt-ease), background 0.25s, color 0.25s;
}
.zt-foot-pulse-row button:hover {
  background: var(--zt-volt) !important;
  color: var(--zt-ink) !important;
  transform: translateY(-2px);
}
.zt-foot-pulse-hint,
.zt-foot-pulse-done {
  margin: 0;
  font-size: 0.75rem;
  color: var(--zt-mute) !important;
  line-height: 1.4;
}
.zt-foot-pulse-done {
  color: var(--zt-oxide) !important;
  font-weight: 600;
}
.zt-foot-pulse.is-sent .zt-foot-pulse-hint { display: none; }

.zt-foot-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.zt-foot-card {
  background: var(--zt-panel) !important;
  border: 1px solid var(--zt-line);
  border-radius: 16px;
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: 0 10px 28px rgba(16, 32, 39, 0.05);
  animation: zt-foot-rise 0.55s var(--zt-ease) both;
  animation-delay: calc(var(--zt-fi, 0) * 0.07s);
  transition: transform 0.35s var(--zt-ease), border-color 0.25s, box-shadow 0.35s;
}
.zt-foot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 115, 119, 0.35);
  box-shadow: 0 16px 36px rgba(16, 32, 39, 0.09);
}
.zt-foot-card-wide,
.zt-foot-card-desk {
  grid-column: 1 / -1;
}

.zt-foot-card header {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.zt-foot-card header span {
  font-family: var(--zt-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--zt-oxide) !important;
  letter-spacing: 0.06em;
}
.zt-foot-card header h2 {
  margin: 0;
  font-family: var(--zt-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--zt-ink) !important;
}

.zt-foot-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.zt-foot-card ul a {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  color: var(--zt-mute) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.45rem;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s, transform 0.3s var(--zt-ease);
}
.zt-foot-card ul a span {
  position: relative;
}
.zt-foot-card ul a span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--zt-volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--zt-ease);
}
.zt-foot-card ul a:hover {
  color: var(--zt-ink) !important;
  background: rgba(214, 255, 63, 0.28);
  transform: translateX(4px);
}
.zt-foot-card ul a:hover span::after {
  transform: scaleX(1);
}

.zt-foot-policy-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.zt-foot-policy-rail a {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  color: var(--zt-ink) !important;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--zt-line);
  background: #fbfcfb !important;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--zt-ease), color 0.2s;
  animation: zt-foot-rise 0.45s var(--zt-ease) both;
  animation-delay: calc(0.12s + var(--zt-pi, 0) * 0.04s);
}
.zt-foot-policy-rail a:hover {
  background: var(--zt-ink) !important;
  color: var(--zt-volt) !important;
  border-color: var(--zt-ink);
  transform: translateY(-2px) rotate(-0.5deg);
}

.zt-foot-address,
.zt-foot-hours {
  margin: 0 0 0.85rem;
  color: var(--zt-mute) !important;
  font-size: 0.86rem;
  line-height: 1.5;
}
.zt-foot-hours {
  font-weight: 600;
  color: var(--zt-oxide) !important;
}

.zt-foot-social {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
}
.zt-foot-social-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.55rem;
  row-gap: 0.1rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--zt-line);
  background: linear-gradient(145deg, #fff 0%, #f4f8f6 100%) !important;
  text-decoration: none !important;
  color: var(--zt-ink) !important;
  transition: transform 0.35s var(--zt-ease), border-color 0.25s, box-shadow 0.35s;
  animation: zt-foot-rise 0.5s var(--zt-ease) both;
  animation-delay: calc(0.16s + var(--zt-si, 0) * 0.05s);
}
.zt-foot-social-tile em {
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--zt-ink) !important;
  color: var(--zt-volt) !important;
  font-style: normal;
  font-family: var(--zt-display);
  font-size: 0.72rem;
  font-weight: 800;
}
.zt-foot-social-tile strong {
  font-family: var(--zt-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--zt-ink) !important;
}
.zt-foot-social-tile span {
  grid-column: 2;
  font-size: 0.72rem;
  color: var(--zt-mute) !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zt-foot-social-tile:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--zt-oxide);
  box-shadow: 0 14px 30px rgba(13, 115, 119, 0.12);
}

.zt-foot-legal {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 1.5rem auto 0;
  padding-top: 1.15rem;
  border-top: 1px dashed var(--zt-line);
}
.zt-foot-legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}
.zt-foot-legal p {
  margin: 0;
  max-width: 46rem;
  color: var(--zt-mute) !important;
  font-size: 0.8rem;
  line-height: 1.5;
}
.zt-foot-legal strong {
  color: var(--zt-ink) !important;
  font-weight: 700;
}
.zt-foot-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.zt-foot-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: var(--zt-ink) !important;
  color: var(--zt-volt) !important;
  font-family: var(--zt-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.zt-foot-top {
  position: fixed;
  z-index: 58;
  right: 1.15rem;
  bottom: 5.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  appearance: none;
  border: 1px solid var(--zt-line);
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--zt-ink) !important;
  font-family: var(--zt-body);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(16, 32, 39, 0.14);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.35s var(--zt-ease), background 0.25s, color 0.25s;
}
.a58-chrome-lumen .zt-foot-top {
  bottom: calc(var(--lux-dock-h, 4.75rem) + 1.15rem);
}
.zt-foot-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.zt-foot-top:hover {
  background: var(--zt-volt) !important;
  color: var(--zt-ink) !important;
  transform: translateY(-3px);
}
.zt-foot-top[hidden] {
  display: none !important;
}

@keyframes zt-foot-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .a58-chrome-lumen .zt-foot,
  body.a58-chrome-lumen .zt-foot {
    --lux-dock-h: 7.5rem;
    padding-bottom: calc(7.5rem + 2.5rem);
  }
}

@media (max-width: 920px) {
  .zt-foot-shell {
    grid-template-columns: 1fr;
  }
  .zt-foot-lead {
    position: static;
  }
}

@media (max-width: 640px) {
  .zt-foot {
    padding-top: 2.25rem;
  }
  .zt-foot-shell,
  .zt-foot-legal {
    width: calc(100% - 1.5rem);
  }
  .zt-foot-matrix {
    grid-template-columns: 1fr;
  }
  .zt-foot-pulse-row {
    flex-direction: column;
  }
  .zt-foot-top {
    right: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zt-foot-card,
  .zt-foot-policy-rail a,
  .zt-foot-social-tile,
  .zt-foot-top,
  .zt-foot-mark,
  .zt-foot-card ul a {
    animation: none !important;
    transition: none !important;
  }
}
