/* Branches / Locations Section */
.branches-section {
  background: var(--blanco-calido);
  padding-block: var(--section-v);
}

.branches-section__header {
  text-align: center;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  margin-bottom: var(--sp-12);
}

.branches-section__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 500;
  color: var(--texto-principal);
  line-height: 1.1;
  margin-block: var(--sp-3) var(--sp-4);
}

.branches-section__subtitle {
  font-size: var(--fs-base);
  color: var(--texto-suave);
  line-height: 1.7;
  font-style: italic;
}

/* Grid */
.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Branch card */
.branch-card {
  background: var(--blanco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--ease-base), transform var(--ease-base);
}

.branch-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* Map embed */
.branch-card__map {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
  filter: saturate(0.8) contrast(1.05);
  transition: filter var(--ease-slow);
}

.branch-card:hover .branch-card__map {
  filter: saturate(1) contrast(1);
}

/* Info */
.branch-card__info {
  padding: var(--sp-6);
}

.branch-card__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--verde-palido);
  color: var(--verde-profundo);
  border-radius: var(--radius-full);
  padding: var(--sp-1) var(--sp-3);
  margin-bottom: var(--sp-3);
}

.branch-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--texto-principal);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}

.branch-card__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--texto-secundario);
  line-height: 1.55;
}

.branch-card__detail-icon {
  width: 18px;
  height: 18px;
  color: var(--verde-principal);
  flex-shrink: 0;
  margin-top: 2px;
}

.branch-card__actions {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  flex-wrap: wrap;
}

.branch-card__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  min-height: 44px;
  transition: all var(--ease-base);
  cursor: pointer;
  white-space: nowrap;
}

.branch-card__btn--wa {
  background: #25D366;
  color: var(--blanco);
}
.branch-card__btn--wa:hover { background: #1DA851; transform: translateY(-1px); }

.branch-card__btn--maps {
  background: var(--gris-calido);
  color: var(--texto-principal);
  border: 1px solid var(--gris-borde);
}
.branch-card__btn--maps:hover {
  background: var(--verde-principal);
  color: var(--blanco);
  border-color: var(--verde-principal);
  transform: translateY(-1px);
}

.branch-card__btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .branches-grid { grid-template-columns: 1fr; }
  .branch-card__map { height: 220px; }
}
