/* Sucursales: mapa y selección ligera, con la identidad de SWAP. */
.locations.locations-clean { max-width: none; padding: 68px 5vw; background: #f5f7fb; }
.locations-shell { max-width: 1180px; margin: 0 auto; overflow: hidden; border: 1px solid #e0e7f1; border-radius: 24px; background: #fcfdff; }
.locations-main { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 430px; }
.locations-map { position: relative; min-width: 0; background: #eef1f5; }
.locations-map iframe { display: block; width: 100%; height: 100%; min-height: 430px; border: 0; filter: grayscale(1); }
.locations-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 46px; min-width: 0; }
.locations-clean .eyebrow { margin: 0 0 18px; font-size: 8px; font-weight: 500; letter-spacing: .16em; color: #7590b2; }
.locations.locations-clean h2 { margin: 0; font-size: clamp(32px, 3.1vw, 42px); font-weight: 500; letter-spacing: -.055em; line-height: 1.12; color: #172d4e; }
.locations-choice { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: start; margin-top: 49px; }
.location-options { display: flex; flex-direction: column; gap: 8px; }
.location-option { display: flex; align-items: center; gap: 11px; min-height: 44px; border: 1px solid transparent; border-radius: 8px; padding: 11px 13px; background: transparent; text-align: left; font-size: 12px; font-weight: 400; color: #667b95; transition: color .2s, background .2s, border-color .2s; }
.location-option::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: transparent; }
.location-option[aria-pressed='true'] { color: #174c91; font-weight: 500; background: #e8f1ff; border-color: #bad3f4; }
.location-option[aria-pressed='true']::before { background: #3588ed; }
.location-option:hover { color: #254c7e; background: #f0f5fc; }
.location-option[aria-pressed='true']:hover { background: #e0edff; }
.location-option:focus-visible { outline: 2px solid #79b7ff; outline-offset: 4px; }
.locations-visit { padding-top: 10px; }
.locations-visit small, .locations-info dt { display: block; font-size: 9px; font-weight: 400; line-height: 1.6; color: #8b98aa; }
.locations-visit p { margin: 8px 0 0; font-size: 10px; font-weight: 400; line-height: 1.8; color: #667b95; }
.locations-bottom { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 28px; padding: 28px 40px; border-top: 1px solid #edf0f5; background: #f8fafd; }
.locations-info { margin: 0; min-width: 0; }
.locations-info dd { margin: 8px 0 0; font-size: 11px; font-weight: 500; line-height: 1.6; color: #3b5273; }
#branch-name { color: #174c91; }
.locations-info a:hover { text-decoration: underline; text-underline-offset: 3px; }
.locations-directions { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid #ccd7e6; border-radius: 3px; padding: 12px 18px; min-height: 44px; font-size: 10px; font-weight: 500; color: #31577f; transition: background .2s, border-color .2s; }
.locations-directions svg { width: 14px; height: 14px; }
.locations-directions:hover { border-color: #7ca7d7; background: #edf4ff; }
.locations-noscript { display: block; margin-top: 17px; font-size: 11px; color: #31577f; }
@media (max-width: 1000px) {
  .locations-copy { padding: 38px 30px; }
  .locations-choice { grid-template-columns: 1fr; margin-top: 31px; gap: 15px; }
  .locations-visit { padding-top: 0; }
  .locations-bottom { padding: 26px 30px; gap: 20px; }
}
@media (max-width: 760px) {
  .locations.locations-clean { padding: 40px 20px; }
  .locations-shell { border-radius: 20px; }
  .locations-main { grid-template-columns: 1fr; min-height: 0; }
  .locations-copy { grid-row: 1; padding: 32px 28px; }
  .locations-choice { grid-template-columns: 1.25fr 1fr; gap: 20px; margin-top: 26px; }
  .locations-map { height: 290px; }
  .locations-map iframe { min-height: 0; height: 290px; }
  .locations-visit { padding-top: 10px; }
  .locations-bottom { grid-template-columns: 1fr 1fr; gap: 22px; padding: 26px 28px; }
  .locations-directions { justify-self: start; }
}
@media (max-width: 540px) {
  .locations.locations-clean h2 { font-size: 34px; }
  .locations-choice { grid-template-columns: 1fr; gap: 15px; }
  .locations-visit { padding-top: 0; }
  .location-option { font-size: 13px; min-height: 44px; }
  .locations-map, .locations-map iframe { height: 260px; }
  .locations-bottom { grid-template-columns: 1fr; gap: 21px; }
  .locations-info dd { font-size: 12px; }
  .locations-directions { width: 100%; margin-top: 2px; }
}
@media (max-width: 360px) {
  .locations.locations-clean { padding-left: 14px; padding-right: 14px; }
  .locations-copy, .locations-bottom { padding-left: 23px; padding-right: 23px; }
  .locations.locations-clean h2 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  .location-option, .locations-directions { transition: none; }
}
