/* branches.css - Branches listing & maps */
.section {
  padding: 60px 20px;
  background: var(--bg-light);
  text-align: center;
}

.section h1 {
  font-size: 28px;
  color: var(--brand-red);
  margin-bottom: 20px;
}

.branch-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .branch-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.branch-card {
  width: 100%;
  background: var(--bg-white);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  border-left: 6px solid var(--brand-red);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.branch-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* iframe maps responsiveness */
.branch-card iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
}

/* responsive */
@media (max-width: 768px) {
  .section {
    padding: 40px 16px;
  }

  .branch-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .branch-card {
    padding: 20px;
  }
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.15);
}

/* h1/h2/p responsive sizing handled globally in common.css */
