﻿/* ===== SITE FOOTER ===== */
.site-footer {
  font-family: 'Be Vietnam Pro', Arial, sans-serif;
  width: 100%;
}

/* ---------- MAIN FOOTER ---------- */
.footer-main {
  background: linear-gradient(160deg, #1e293b 0%, #312e81 50%, #1e293b 100%);
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}

/* Watermark text mờ */
.footer-main::before {
  content: 'TEKORA';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  letter-spacing: 0.3em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Decorative blur circles */
.footer-main::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-main__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

/* Dot pattern overlay */
.footer-main__inner::before {
  content: '';
  position: absolute;
  inset: -64px -24px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}

/* Cột chung */
.footer-col { color: #94a3b8; }

/* Brand */
.footer-brand__company {
  margin: 0 0 20px;
  font-size: 1.1rem;
  font-weight: 900;
  color: #e2e8f0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-info__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: #a5b4fc;
}

/* Tiêu đề cột */
.footer-col__title {
  margin: 0 0 18px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148,163,184,0.15);
  position: relative;
}

.footer-col__title::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, #a5b4fc, #60a5fa);
  border-radius: 2px;
}

/* Links */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

.footer-links li::before {
  content: "›";
  color: #a5b4fc;
  font-size: 1.1rem;
  line-height: 1;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s, padding-left 0.15s;
}

.footer-links a:hover {
  color: #a5b4fc;
  padding-left: 4px;
}

/* Hỗ trợ */
.footer-support__label {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-support__phone {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #a5b4fc;
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.02em;
}

.footer-support__phone:hover { color: #fff; }

.footer-support__phone--alt { color: #7dd3fc; }

.footer-support__follow {
  font-size: 0.78rem;
  color: #64748b;
  margin: 18px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Social */
.footer-social { display: flex; gap: 8px; }

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #94a3b8;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.footer-social__link:hover {
  background: rgba(99,102,241,0.25);
  border-color: rgba(99,102,241,0.4);
  color: #a5b4fc;
  transform: translateY(-2px);
}

.footer-social__link svg { width: 16px; height: 16px; }

/* Fanpage */
.footer-fanpage {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ---------- DIVIDER ---------- */
.footer-divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---------- COPYRIGHT BAR ---------- */
.footer-copy {
  background: #0f172a;
  padding: 14px 24px;
  text-align: center;
  border-top: 1px solid rgba(148,163,184,0.1);
}

.footer-copy p {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-copy strong { font-weight: 700; color: #94a3b8; }

/* ---------- GOOGLE MAPS ---------- */
.footer-map { width: 100%; line-height: 0; }
.footer-map iframe { display: block; width: 100%; height: 360px; border: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .footer-main__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .footer-main__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-main { padding: 48px 0 32px; }
}

/* ===== FLOATING BUTTONS ===== */
.float-btns {
  position: fixed;
  right: 20px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.float-btn:hover { transform: scale(1.12); }
.float-btn--phone svg { width: 24px; height: 24px; }

.float-btn__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: float-pulse 2s ease-out infinite;
}

.float-btn--phone .float-btn__pulse { animation-delay: 0.6s; }

@keyframes float-pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.float-btn--phone { animation: float-shake 3s ease-in-out infinite; }

@keyframes float-shake {
  0%, 100% { transform: rotate(0deg); }
  10%  { transform: rotate(-12deg); }
  20%  { transform: rotate(12deg); }
  30%  { transform: rotate(-8deg); }
  40%  { transform: rotate(8deg); }
  50%  { transform: rotate(0deg); }
}

.float-btn--phone:hover { animation: none; transform: scale(1.12); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99,102,241,0.4);
  z-index: 9990;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(99,102,241,0.5); }
.back-to-top svg { width: 22px; height: 22px; }
