/* AFTERTOUGE — Footer (Coal theme with brand icons)
   File: /styles/footer.css  */

.footer.at-pro.at-pro--coal{
  --ft-accent: var(--accent, var(--brand, #ff6a00));
  --ft-bg: #111316;              /* coal background */
  --ft-ink: #E9ECEF;             /* near-white text */
  --ft-muted: #A3A7AD;           /* muted text */
  --ft-bd: rgba(255,255,255,.10);
  --ft-bd-strong: rgba(255,255,255,.16);
  --ft-gap: clamp(16px, 3vw, 28px);

  color: var(--ft-ink);
  background:
    radial-gradient(120% 80% at 80% -20%, rgba(255,255,255,.04), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent),
    var(--ft-bg);
  border-top: 1px solid var(--ft-bd);
  padding-top: 24px; /* prevents margin-collapsing with section above */
}

/* Grid (top) */
.footer.at-pro .at-footer__grid{
  display: grid;
  gap: var(--ft-gap);
  padding: clamp(22px, 3vw, 32px) 0;
  grid-template-columns: 1fr;
}
@media (min-width: 960px){
  .footer.at-pro .at-footer__grid{
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: start;
  }
}

/* Brand block */
.footer.at-pro .at-footer__brand .brand{
  display: inline-flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none;
}
.footer.at-pro .brand--sm .brand__logo{
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--ft-bd-strong);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  font-weight: 800;
}
.footer.at-pro .brand--sm .brand__text{ font-weight: 900; letter-spacing: .3px; }
.footer.at-pro .at-footer__brand p{
  margin: 10px 0 0; max-width: 54ch; color: var(--ft-muted); line-height: 1.65;
}

/* Link columns */
.footer.at-pro .at-footer__links h5{
  margin: 0 0 10px; font-size: 13px; letter-spacing: .28px;
  font-weight: 900; text-transform: uppercase; color: #CDD1D6;
}
.footer.at-pro .at-footer__links ul{
  list-style: none; padding: 0; margin: 0; display: grid; gap: 10px;
}
.footer.at-pro .at-footer__links a{
  color: inherit; text-decoration: none; opacity: .92;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .15s ease, opacity .15s ease, transform .15s ease;
}
.footer.at-pro .at-footer__links a:hover{
  color: var(--ft-accent); opacity: 1; transform: translateX(2px);
}

/* Bottom bar */
.footer.at-pro .at-footer__bar{
  border-top: 1px dashed var(--ft-bd);
  padding: 12px 0 18px;
}
.footer.at-pro .at-footer__bar__row{
  display: grid; gap: 10px; align-items: center;
  grid-template-columns: 1fr auto auto;
}
@media (max-width: 760px){
  .footer.at-pro .at-footer__bar__row{ grid-template-columns: 1fr; }
}

/* Payments row — tokens + icons */
.footer.at-pro .at-footer__payments{
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  justify-content: center;
}

.footer.at-pro .pm{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 10px; height: 34px; border-radius: 9px;
  border: 1px solid var(--ft-bd);
  background: rgba(255,255,255,.03);
  color: #E5E8EC; font-weight: 700; font-size: 12px; letter-spacing: .2px;
  user-select: none;
  line-height: 0;
}
.footer.at-pro .pm:hover{ border-color: var(--ft-bd-strong); }

.footer.at-pro .pm__icon{ display: block; height: 16px; width: auto; }
.footer.at-pro .pm__chip{ fill: rgba(255,255,255,.04); }
.footer.at-pro .pm__frame{ fill: rgba(255,255,255,.02); stroke: var(--ft-bd); stroke-width: 1; }

/* Stripe */
.footer.at-pro .pm--stripe .pm__word{
  font: 800 11px/1 system-ui, -apple-system, Segoe UI, Inter, Roboto, sans-serif;
  fill: #E9ECEF;
}

/* Visa */
.footer.at-pro .pm--visa .visa__bg{ fill: #1a1f71; }
.footer.at-pro .pm--visa .visa__word{
  font: 900 12px/1 system-ui, -apple-system, Segoe UI, Inter, Roboto, sans-serif;
  fill: #fff; letter-spacing: .5px;
}

/* Mastercard */
.footer.at-pro .pm--mc .mc__left{ fill: #EB001B; }
.footer.at-pro .pm--mc .mc__right{ fill: #F79E1B; }

/* AmEx */
.footer.at-pro .pm--amex .amex__bg{ fill: #2E77BC; }
.footer.at-pro .pm--amex .amex__word{
  font: 900 12px/1 system-ui, -apple-system, Segoe UI, Inter, Roboto, sans-serif;
  fill: #fff; letter-spacing: .4px;
}

/* Apple Pay */
.footer.at-pro .pm--apple .apple__mark{ fill: #E9ECEF; }
.footer.at-pro .pm--apple .apple__word{
  font: 800 12px/1 system-ui, -apple-system, Segoe UI, Inter, Roboto, sans-serif;
  fill: #E9ECEF;
}

/* Google Pay */
.footer.at-pro .pm--gpay .gpay__word{
  font: 800 12px/1 system-ui, -apple-system, Segoe UI, Inter, Roboto, sans-serif;
  fill: #E9ECEF;
}

/* Back to top */
.footer.at-pro .to-top{
  justify-self: end;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--ft-bd); background: rgba(255,255,255,.04);
  color: var(--ft-ink); display: grid; place-items: center; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, color .15s ease, background-color .15s ease;
}
.footer.at-pro .to-top:hover{
  transform: translateY(-2px);
  border-color: var(--ft-bd-strong);
  color: var(--ft-accent);
}

/* Utilities */
.footer.at-pro .muted{ color: var(--ft-muted); }
/* Remove the back-to-top arrow and fix layout */
.footer.at-pro .to-top { 
  display: none !important; 
}

.footer.at-pro .at-footer__bar__row {
  grid-template-columns: 1fr auto; /* was: 1fr auto auto */
}



/* Remove the tile behind the footer logo */
.footer.at-pro .brand--sm .brand__logo {
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Control the actual logo image size */
.footer.at-pro .brand--sm .brand__logo .brand__mark {
  display: block;
  height: 24px;   /* mobile */
  width: auto;
}

@media (min-width: 960px) {
  .footer.at-pro .brand--sm .brand__logo .brand__mark {
    height: 28px; /* desktop size (bump to 32px if you want) */
  }
}
