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

.section h1 {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-family: "Inter", sans-serif;
}

.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 h3 {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 14px;
}

.branch-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

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

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

/* Branch CTA buttons */
.branch-cta {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.branch-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #25d366;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  transition: all 0.25s ease;
  flex: 1;
  justify-content: center;
}

.branch-cta-wa:hover {
  background: #1fba5a;
  transform: translateY(-1px);
  color: #fff;
}

.branch-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: transparent;
  color: var(--brand-red);
  border: 1.5px solid var(--brand-red);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  transition: all 0.25s ease;
  flex: 1;
  justify-content: center;
}

.branch-cta-call:hover {
  background: var(--brand-red);
  color: #fff;
  transform: translateY(-1px);
}

/* 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 */
