/* ═══════════════════════════════════════════════════════════
   FOOTER — Additions for Google Map + 2 Branches
   Giữ nguyên tone màu hiện tại (brown/gold).
   Append vào cuối file footer.css HIỆN CÓ — KHÔNG override.
═══════════════════════════════════════════════════════════ */

/* Grid 4 cột thay vì 3 */
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1.3fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

/* ─── Brand col ─── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  max-height: 100px;
  width: auto;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.85;
  margin: 0;
}

/* ─── Chi nhánh — 2 branches ─── */
.footer-branch {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px dashed currentColor;
  border-color: rgba(255, 255, 255, 0.15);  /* sẽ ghi đè theo theme */
}

.footer-branch:last-of-type {
  border-bottom: none;
  margin-bottom: 1.25rem;
  padding-bottom: 0;
}

.footer-branch-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-branch-name i {
  font-size: 1rem;
  opacity: 0.85;
}

.footer-branch-address {
  font-size: 0.85rem;
  line-height: 1.55;
  opacity: 0.8;
  margin: 0 0 0.6rem;
  padding-left: 1.4rem;
}

.footer-branch-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.25rem 0 0.25rem 1.4rem;
  transition: opacity 0.25s;
}

.footer-branch-link:hover {
  opacity: 0.85;
}

.footer-branch-link i {
  font-size: 0.85rem;
  width: 18px;
}

/* ─── Social ─── */
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.25s;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ─── Google Map col ─── */
.footer-col-map {
  /* col chiếm rộng hơn */
}

.footer-map {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.3);
  background: #f5f5f5;
}

.footer-map iframe {
  display: block;
  filter: brightness(0.95);
  transition: filter 0.4s;
}

.footer-map:hover iframe {
  filter: brightness(1);
}

.footer-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.25s;
  /* Background/color sẽ kế thừa theme footer hiện tại */
}

.footer-map-link:hover {
  opacity: 0.85;
}

.footer-map-link i {
  font-size: 0.95rem;
}

/* ═════════════════════════════════════════════════════════════
   RESPONSIVE
═════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand,
  .footer-col-map {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand,
  .footer-col-map {
    grid-column: span 1;
  }
  .footer-map iframe {
    height: 180px;
  }
}
