/* ==========================================================================
   AutoRebuildFax — Site-wide footer  (layouts/website.blade.php)
   Prefix: ft-*
   ========================================================================== */

/* ── Root ────────────────────────────────────────────────────────────── */
.ft-footer {
  background: linear-gradient(180deg, #21252f 0%, #171a21 100%);
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

/* Top-right brand glow */
.ft-footer::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,26,31,.20) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom-left secondary glow */
.ft-footer::after {
  content: '';
  position: absolute;
  bottom: 80px; left: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,26,31,.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ft-footer > * { position: relative; z-index: 1; }

/* ── CTA band ────────────────────────────────────────────────────────── */
.ft-cta-band {
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 3rem 0 3rem;
}
.ft-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.ft-cta-eyebrow {
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ft-cta-eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px; height: 1.5px;
  background: rgba(138,26,31,.70);
  border-radius: 2px;
}
.ft-cta-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.ft-cta-title em {
  font-style: normal;
  color: rgba(255,255,255,.55);
}
.ft-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.ft-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 9px;
  background: #8a1a1f;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 16px -4px rgba(138,26,31,.55);
  white-space: nowrap;
}
.ft-cta-btn-primary:hover {
  background: #a51f25;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -6px rgba(138,26,31,.60);
  color: #fff;
  text-decoration: none;
}
.ft-cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.ft-cta-btn-ghost:hover {
  border-color: rgba(255,255,255,.30);
  background: rgba(255,255,255,.10);
  color: #fff;
  text-decoration: none;
}

/* ── Stats band ──────────────────────────────────────────────────────── */
.ft-stats-band {
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
}
.ft-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ft-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1.25rem;
  border-right: 1px solid rgba(255,255,255,.07);
}
.ft-stat:last-child { border-right: none; }
.ft-stat-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(138,26,31,.15);
  border: 1px solid rgba(138,26,31,.22);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,.60);
  flex: 0 0 auto;
}
.ft-stat-text { flex: 1; }
.ft-stat-num {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.ft-stat-label {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.38);
  font-weight: 500;
}

/* ── Main links area ─────────────────────────────────────────────────── */
.ft-main {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ft-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
}

/* Brand column */
.ft-logo {
  display: inline-block;
  margin-bottom: 1rem;
}
.ft-logo img { max-width: 160px; height: auto; }

.ft-brand-tagline {
  font-size: .82rem;
  color: rgba(255,255,255,.42);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 220px;
}

.ft-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(138,26,31,.12);
  border: 1px solid rgba(138,26,31,.22);
  border-radius: 8px;
  font-size: .74rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
}
.ft-brand-badge i { color: rgba(138,26,31,.80); }

/* Rebuild indicator pulse dot */
.ft-rebuild-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  color: rgba(255,255,255,.32);
  margin-top: 10px;
}
.ft-rebuild-dot-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #14a077;
  position: relative;
  flex: 0 0 auto;
}
.ft-rebuild-dot-pulse::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(20,160,119,.30);
  animation: ft-pulse 2s ease-in-out infinite;
}
@keyframes ft-pulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.5); opacity: 0; }
}

.ft-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.25rem;
}
.ft-social-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.50);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.ft-social-btn:hover {
  border-color: rgba(138,26,31,.45);
  background: rgba(138,26,31,.12);
  color: rgba(255,255,255,.85);
  text-decoration: none;
}

/* Link columns */
.ft-col-head {
  font-size: .70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: rgba(255,255,255,.38);
  margin-bottom: 1rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.ft-link-list {
  list-style: none;
  margin: 0; padding: 0;
}
.ft-link-list li { margin-bottom: 0; }
.ft-link-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.48);
  text-decoration: none;
  transition: color .2s ease, gap .2s ease;
}
.ft-link-list a i {
  font-size: .80rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s ease, transform .2s ease;
  color: #8a1a1f;
}
.ft-link-list a:hover {
  color: rgba(255,255,255,.85);
  gap: 9px;
  text-decoration: none;
}
.ft-link-list a:hover i {
  opacity: 1;
  transform: translateX(0);
}

/* Contact items in links column */
.ft-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.48);
  text-decoration: none;
  transition: color .2s ease;
  line-height: 1.45;
}
.ft-contact-item i {
  color: rgba(138,26,31,.70);
  font-size: .90rem;
  flex: 0 0 auto;
  margin-top: 1px;
}
.ft-contact-item a {
  color: rgba(255,255,255,.48);
  text-decoration: none;
  transition: color .2s ease;
}
.ft-contact-item a:hover {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}
.ft-contact-item:not(:last-child) { margin-bottom: 4px; }

/* ── Bottom bar ──────────────────────────────────────────────────────── */
.ft-bottom {
  padding: 1.25rem 0;
}
.ft-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ft-copyright {
  font-size: .76rem;
  color: rgba(255,255,255,.28);
  margin: 0;
}
.ft-copyright span { color: rgba(255,255,255,.45); }
.ft-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ft-legal-links a {
  font-size: .76rem;
  color: rgba(255,255,255,.28);
  text-decoration: none;
  transition: color .2s ease;
}
.ft-legal-links a:hover { color: rgba(255,255,255,.65); text-decoration: none; }
.ft-legal-sep { color: rgba(255,255,255,.15); font-size: .70rem; }
.ft-arf-mark {
  font-size: .72rem;
  color: rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  gap: 5px;
}
.ft-arf-mark i { color: rgba(138,26,31,.50); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ft-main-inner { grid-template-columns: 1.2fr 1fr 1fr; }
  .ft-contact-col { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
@media (max-width: 900px) {
  .ft-stats-inner { grid-template-columns: 1fr 1fr; }
  .ft-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .ft-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.07); }
  .ft-stat:last-child, .ft-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}
@media (max-width: 767px) {
  .ft-cta-inner { flex-direction: column; align-items: flex-start; }
  .ft-cta-title { font-size: 1.25rem; }
  .ft-main-inner { grid-template-columns: 1fr 1fr; }
  .ft-contact-col { grid-column: 1 / -1; display: block; }
  .ft-bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 575px) {
  .ft-stats-inner { grid-template-columns: 1fr 1fr; }
  .ft-main-inner { grid-template-columns: 1fr; }
  .ft-cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .ft-cta-btn-primary, .ft-cta-btn-ghost { justify-content: center; }
  .ft-brand-tagline { max-width: 100%; }
}
