/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Shell ───────────────────────────────────────────────────────── */
.footer {
  background: #080808;
  border-top: 3px solid var(--accent);   /* orange top border */
  padding-top: var(--space-lg);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── 4-column grid ───────────────────────────────────────────────── */
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

/* ─── Brand column ────────────────────────────────────────────────── */
.footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer__logo img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 270px;
}

/* Social row */
.footer__socials {
  display: flex;
  gap: 8px;
}

.footer__social {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.footer__social:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ─── Link columns ────────────────────────────────────────────────── */
.footer__col-title {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover { color: var(--text); }

/* ─── Contact column ──────────────────────────────────────────────── */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer__contact-item:last-child { margin-bottom: 0; }

.footer__contact-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--accent-dim);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 1px;
}

.footer__contact-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.footer__contact-value {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.55;
}

.footer__contact-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__contact-value a:hover { color: var(--accent); }

/* ─── Bottom bar ──────────────────────────────────────────────────── */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copy {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Pulsing "Open 24 Hours" badge */
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-dim);
  border: 1px solid rgba(255, 85, 0, 0.3);
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-sm);
}

.footer__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: badgePulse 1.8s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ─── Developer credit ────────────────────────────────────────────── */
.footer__credit {
  text-align: center;
  padding: 10px 24px 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
}

.footer__credit a {
  color: rgba(255,85,0,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__credit a:hover {
  color: #FF5500;
}
