/* Site footer (.site-build/footer.py). Loaded on every page from the shared head block.
   Builds on .footer in style.css (black ground, top hairline and glow). */
.ft { font-family: var(--font-main); }
.ft a { color: inherit; }
.ft :focus-visible { outline: 2px solid #8c8eff; outline-offset: 3px; border-radius: 6px; }

/* brand row */
.ft-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.ft-brand { max-width: 560px; }
.ft-logo { display: inline-block; }
.ft-logo img { display: block; height: 32px; width: auto; filter: invert(1); }
.ft-tag { margin: 22px 0 0; color: rgba(255,255,255,0.62); font-size: 15.5px; line-height: 1.7; }
.ft-cta {
  position: relative; overflow: hidden; flex: none;
  display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px;
  background: #fff; color: #05060c !important; text-decoration: none;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
.ft-cta::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(106,108,255,0.35), transparent);
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.ft-cta svg { width: 16px; height: 16px; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.ft-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(140,142,255,0.28); }
.ft-cta:hover::after { transform: translateX(120%) skewX(-18deg); }
.ft-cta:hover svg { transform: translateX(3px); }
.ft-cta:active { transform: translateY(0) scale(0.97); }

/* link columns */
.ft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.45fr); gap: 40px 32px; padding: 56px 0 52px; }
.ft-h {
  margin: 0 0 20px; font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.ft-list { list-style: none; margin: 0; padding: 0; }
.ft-list li { margin: 0 0 12px; }
.ft-list a {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px;
  color: rgba(255,255,255,0.76); text-decoration: none; font-size: 14.5px; line-height: 1.45;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px;
  background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 2px;
  transition: color 0.3s, background-size 0.45s cubic-bezier(0.16,1,0.3,1);
}
.ft-list a:hover { color: #fff; background-size: 100% 1px; }
.ft-sub { color: rgba(255,255,255,0.46); font-size: 12.5px; }
.ft-ext { width: 11px; height: 11px; align-self: center; opacity: 0.6; }

.ft-reach { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ft-reach a, .ft-addr { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.ft-reach a { color: #fff; text-decoration: none; transition: color 0.3s; }
.ft-reach a span { border-bottom: 1px solid rgba(255,255,255,0.2); transition: border-color 0.3s; }
.ft-reach a:hover { color: #b9bbff; }
.ft-reach a:hover span { border-color: currentColor; }
.ft-reach svg, .ft-addr svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: #8c8eff; }
.ft-reach a.ft-wa {
  display: inline-flex; align-items: center; gap: 9px; width: max-content; margin-top: 4px; padding: 10px 18px 10px 14px;
  border-radius: 999px; background: #25d366; color: #05060c; font-weight: 600; line-height: 1.2;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
.ft-reach a.ft-wa span { border: 0; }
.ft-reach a.ft-wa svg { margin: 0; color: currentColor; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.ft-reach a.ft-wa:hover { color: #05060c; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.26); }
.ft-reach a.ft-wa:hover svg { transform: scale(1.1); }
.ft-reach a.ft-wa:active { transform: translateY(0) scale(0.97); }
.ft-addr { margin-top: 16px; font-style: normal; color: rgba(255,255,255,0.6); font-size: 13.5px; line-height: 1.65; }
.ft-social { display: flex; gap: 10px; margin-top: 22px; }
.ft-social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: rgba(255,255,255,0.78); border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.ft-social a:hover { color: #fff; border-color: rgba(140,142,255,0.6); background: rgba(106,108,255,0.14); transform: translateY(-2px); }
.ft-social a:active { transform: scale(0.94); }
.ft-social svg { width: 17px; height: 17px; display: block; }

/* trust row */
.ft-trust { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.ft-trust .certs { align-items: flex-start; gap: 10px; }
.ft-reg { margin: 0; color: rgba(255,255,255,0.56); font-size: 12.5px; line-height: 1.7; text-align: right; }

/* bottom bar */
.ft-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.07); }
.ft-copy { margin: 0; color: rgba(255,255,255,0.56); font-size: 13px; }
.ft-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.ft-legal li { display: flex; }
.ft-legal a, .ft-cookie {
  color: rgba(255,255,255,0.68); text-decoration: none; font: inherit; font-size: 13px; line-height: 1.4;
  background: none; border: 0; padding: 4px 0; cursor: pointer; transition: color 0.3s;
}
.ft-legal a:hover, .ft-cookie:hover { color: #fff; }
.ft-cookie { display: inline-flex; align-items: center; gap: 7px; }
.ft-cookie::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8c8eff; box-shadow: 0 0 10px rgba(140,142,255,0.8); }

@media (max-width: 1180px) {
  .ft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-contact { grid-column: span 2; }
  .ft-trust { flex-direction: column; align-items: flex-start; }
  .ft-reg { text-align: left; }
}
@media (max-width: 760px) {
  .ft-top { flex-direction: column; align-items: flex-start; gap: 28px; padding-bottom: 40px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding: 40px 0 36px; }
  .ft-contact { grid-column: 1 / -1; }
  .ft-trust { flex-direction: column; align-items: flex-start; }
  .ft-reg { text-align: left; }
  .ft-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .ft-legal ul { gap: 6px 20px; }
  .ft-legal a, .ft-cookie { padding: 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-cta, .ft-cta::after, .ft-cta svg, .ft-social a, .ft-list a { transition: none; }
  .ft-cta:hover, .ft-social a:hover { transform: none; }
}
