/* ==========================================================================
   AdnanThemes — footer
   Added: 2026-08-15

   Why this file exists:
   sales-premium.css only ever contained footer *overrides* (colours and
   grid-template-columns). The base rules it was overriding — `display:grid`
   on the column wrapper, `display:block` + `text-decoration:none` on the
   links, the bottom-bar flex row — were never present anywhere in the theme.
   The result was an effectively unstyled footer: inline underlined links and
   dark-on-dark text.

   This file supplies that missing foundation and lifts the footer to match
   the rest of the site. Loaded after sales-premium.css so its colour
   overrides still win where they should.

   Revert: delete this file and remove its <link> from header.php.
   ========================================================================== */

/* --- Trust bar ---------------------------------------------------------- */

.ats-site-trustbar {
  background: #07101f;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 30px 0 24px;
  color: #fff;
}

.ats-site-trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ats-site-trustbar-grid a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 17px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ats-site-trustbar-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, .35);
  background: rgba(255, 255, 255, .06);
}

.ats-site-trustbar-grid b    { color: #fff; font-size: 13px; font-weight: 700; }
.ats-site-trustbar-grid span { color: #9fb0c6; font-size: 11.5px; line-height: 1.45; }

.ats-site-safety-note {
  margin-top: 16px;
  color: #8fa1b8;
  font-size: 11.5px;
  line-height: 1.65;
  text-align: center;
}

.ats-site-safety-note strong { color: #dbe7f7; }


/* --- Footer shell ------------------------------------------------------- */

.site-footer.ats-footer {
  position: relative;
  background: #040913;
  color: #91a0b5;
}

/* Thin brand gradient hairline across the top of the footer. */
.site-footer.ats-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(79, 70, 229, .55) 22%,
    rgba(124, 58, 237, .75) 50%,
    rgba(34, 211, 238, .55) 78%,
    transparent 100%);
}

.ats-footer-main {
  padding: 70px 0 54px;
}


/* --- Column grid -------------------------------------------------------- */

.ats-footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, minmax(0, 1fr));
  gap: 44px 36px;
  align-items: start;
}

.ats-footer-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ats-footer h4 {
  margin: 0 0 16px;
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ats-footer-col a {
  display: block;
  padding: 5px 0;
  color: #8b9bb2;
  font-size: 13.5px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}

.ats-footer-col a:hover,
.ats-footer-col a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.ats-footer-col a:focus-visible {
  outline: 2px solid rgba(124, 58, 237, .7);
  outline-offset: 3px;
  border-radius: 4px;
}


/* --- Brand column ------------------------------------------------------- */

.ats-footer-brand { min-width: 0; padding-right: 24px; }

.ats-footer-brand .ats-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff !important;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}

.ats-footer-brand .ats-brand small {
  display: block;
  margin-top: 3px;
  color: #7e8ea6;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: normal;
  max-width: 26ch;
  line-height: 1.5;
}

.ats-footer-brand .ats-brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.ats-footer-brand p {
  margin: 0;
  max-width: 46ch;
  color: #8b9bb2;
  font-size: 13.5px;
  line-height: 1.72;
}


/* --- Profile proof cards ------------------------------------------------ */

.ats-footer-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
  max-width: 320px;
}

.ats-footer-proof a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  color: #dbe7f7 !important;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.ats-footer-proof a:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, .35);
  background: rgba(255, 255, 255, .06);
}

.ats-footer-proof b {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #17233a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.ats-footer-proof span   { color: #8b9bb2; font-size: 10.5px; line-height: 1.4; }
.ats-footer-proof strong { display: block; color: #fff; font-size: 11.5px; }


/* --- Bottom bar --------------------------------------------------------- */

.ats-footer-bottom-wrap {
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .015);
}

.ats-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  padding: 22px 0;
}

.ats-footer-bottom > span {
  color: #7e8ea6;
  font-size: 12.5px;
}

.ats-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.ats-footer-links a {
  color: #8b9bb2;
  font-size: 12.5px;
  text-decoration: none;
  transition: color .16s ease;
}

.ats-footer-links a:hover { color: #fff; }


/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1180px) {
  .ats-footer-grid {
    grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }
}

@media (max-width: 900px) {
  .ats-footer-main { padding: 54px 0 42px; }
  .ats-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ats-footer-brand { grid-column: 1 / -1; }
  .ats-site-trustbar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .ats-footer-main { padding: 44px 0 34px; }
  .ats-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .ats-footer-proof { grid-template-columns: 1fr; }
  .ats-site-trustbar-grid { grid-template-columns: 1fr; }
  .ats-site-safety-note { text-align: left; }
  .ats-footer-bottom { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .ats-footer-col a:hover,
  .ats-footer-proof a:hover,
  .ats-site-trustbar-grid a:hover { transform: none; }
}
