/* ═══════════════════════════════════════════════
   SA-HR UNIFIED FOOTER — shared CSS
   Used by footer.js on every page.
   Matches the homepage design we shipped; now extracted
   so all pages can use the same footer without duplicating CSS.
   ═══════════════════════════════════════════════ */

.site-foot {
  margin-top: 120px;
  padding: 72px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(62, 168, 255, 0.04), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(197, 102, 255, 0.03), transparent 55%);
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}
.site-foot::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(62, 168, 255, 0.3) 50%, transparent 95%);
}
.site-foot-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.1fr;
  gap: 56px;
  padding-bottom: 64px;
}

/* Brand column */
.site-foot-brand { display: flex; flex-direction: column; gap: 24px; }
.site-foot-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 220ms;
}
.site-foot-logo-link:hover { opacity: 0.8; }
.site-foot-logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-foot-logo-mark svg { width: 100%; height: 100%; display: block; }
.site-foot-logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.site-foot-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
  margin: 0;
}
.site-foot-tag em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
}

.site-foot-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.site-foot-contact-line {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 2px 0;
  transition: color 220ms;
}
a.site-foot-contact-line:hover { color: #00D4FF; }
.site-foot-contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* Phone row — phone number left-aligned with other rows, IM icons pushed to the right.
   Uses flex + margin-left:auto so the layout is identical on every page,
   regardless of grid track widths or parent context. */
.site-foot-contact-phone .site-foot-phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 26px;
}
.site-foot-phone-num {
  color: inherit;
  text-decoration: none;
  transition: color 220ms;
  white-space: nowrap;
}
.site-foot-phone-num:hover { color: #00D4FF; }
.site-foot-phone-icons {
  margin-left: auto;        /* push to the right edge of the row via flex auto-margin */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-foot-im-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all 220ms cubic-bezier(.2,.7,.3,1);
  flex-shrink: 0;
}
.site-foot-im-btn:hover {
  transform: translateY(-1px);
  border-color: transparent;
}
.site-foot-im-wa:hover {
  background: #25D366;
  color: #fff;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.5);
}
.site-foot-im-tg:hover {
  background: #2AABEE;
  color: #fff;
  box-shadow: 0 0 12px rgba(42, 171, 238, 0.5);
}

/* Link columns */
.site-foot-col { display: flex; flex-direction: column; gap: 18px; }
.site-foot-col-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-foot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-foot-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 220ms, transform 220ms cubic-bezier(.2,.7,.3,1);
  letter-spacing: -0.005em;
}
.site-foot-list a:hover {
  color: #fff;
  transform: translateX(3px);
}
.site-foot-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ft-c, #fff);
  box-shadow: 0 0 8px color-mix(in srgb, var(--ft-c, #fff) 60%, transparent);
  flex-shrink: 0;
}
.site-foot-list a:hover .site-foot-dot {
  box-shadow: 0 0 14px color-mix(in srgb, var(--ft-c, #fff) 85%, transparent);
}

/* Sub-item — indented child link (e.g. Atlas under Solera) */
.site-foot-sub {
  margin-top: -2px;
  margin-bottom: 2px;
}
.site-foot-sub a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  font-family: 'Fraunces', serif;
  letter-spacing: -0.01em;
}
.site-foot-sub a:hover {
  color: var(--ft-c, #fff);
}
.site-foot-sub-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.55;
}
.site-foot-sub-note a {
  color: rgba(0, 212, 255, 0.7);
  text-decoration: none;
  transition: color 200ms;
}
.site-foot-sub-note a:hover { color: #00E5FF; }

/* Status badge */
.site-foot-status {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-foot-status-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(0, 217, 126, 0.08);
  border: 1px solid rgba(0, 217, 126, 0.25);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(0, 217, 126, 0.95);
  text-decoration: none;
  transition: all 220ms;
}
.site-foot-status-link:hover {
  background: rgba(0, 217, 126, 0.14);
  border-color: rgba(0, 217, 126, 0.5);
}
.site-foot-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00D97E;
  box-shadow: 0 0 8px #00D97E;
  position: relative;
}
.site-foot-status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #00D97E;
  opacity: 0.3;
  animation: footStatusPulse 2.2s ease-in-out infinite;
}
@keyframes footStatusPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0; transform: scale(2.5); }
}
.site-foot-status-arrow {
  opacity: 0.5;
  transition: transform 220ms;
}
.site-foot-status-link:hover .site-foot-status-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* Bottom strip */
.site-foot-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-foot-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
}
.site-foot-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-foot-legal a {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 220ms;
}
.site-foot-legal a:hover { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .site-foot { margin-top: 80px; padding-top: 56px; padding-left: 20px; padding-right: 20px; }
  .site-foot-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 28px;
    padding-bottom: 48px;
  }
  .site-foot-brand { grid-column: 1 / -1; }
  .site-foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .site-foot-legal { gap: 12px 18px; }
}
@media (max-width: 540px) {
  .site-foot-inner { grid-template-columns: 1fr; gap: 36px; }
  .site-foot-contact-line { grid-template-columns: 50px 1fr; gap: 12px; font-size: 13px; }
}
