/* Coralmed | Sedes: listado alineado a la izquierda y mapa interactivo a la derecha. */
#cwFooter .cw-footer-branches--map {
  --cw-loc-accent: var(--cw-footer-accent, var(--e-global-color-primary, #93BADE));
  --cw-loc-line: var(--cw-footer-border, #dce5ec);
  --cw-loc-ink: var(--cw-footer-text, #1d1d1d);
  --cw-loc-muted: var(--cw-footer-muted, #717b85);
  max-width: min(var(--cw-footer-max-w, 1300px), 100%);
  margin: clamp(28px, 3.8vw, 48px) auto clamp(24px, 3vw, 38px);
  color: var(--cw-loc-ink);
  scroll-margin-top: 100px;
}
#cwFooter .cw-footer-branches--map .cw-footer-branches__inner {
  border-block: 1px solid var(--cw-loc-line);
  padding: clamp(22px, 2.7vw, 34px) 0;
}
#cwFooter .cw-footer-branches--map .cw-footer-branches__head h2 {
  margin: 0 0 19px !important;
  color: var(--cw-loc-ink) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}
#cwFooter .cw-footer-branches__layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 4.4vw, 62px);
  align-items: stretch;
  min-width: 0;
}
#cwFooter .cw-footer-branches__list {
  display: grid;
  grid-auto-rows: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}
#cwFooter .cw-footer-branches__office {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: clamp(13px, 1.7vw, 20px) clamp(14px, 1.8vw, 22px);
  border: 1px solid var(--cw-loc-line);
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  transition: border-color .24s ease, background-color .24s ease;
}
#cwFooter .cw-footer-branches__office.is-active {
  border-color: color-mix(in srgb, var(--cw-loc-accent) 58%, var(--cw-loc-line));
  background: color-mix(in srgb, var(--cw-loc-accent) 5%, transparent);
}
@media (hover:hover) and (pointer:fine) {
  #cwFooter .cw-footer-branches__office:hover {
    border-color: color-mix(in srgb, var(--cw-loc-accent) 58%, var(--cw-loc-line));
  }
}
#cwFooter .cw-footer-branches__office-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0 0 6px;
}
#cwFooter .cw-footer-branches__office-pin {
  flex: 0 0 21px;
  display: flex;
  color: var(--cw-loc-accent);
}
#cwFooter .cw-footer-branches__office h3 {
  min-width: 0;
  margin: 0 !important;
  color: var(--cw-loc-ink) !important;
  font-size: clamp(15px, 1.22vw, 17px) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -.015em;
}
#cwFooter .cw-footer-branches__office-address {
  margin: 0 0 9px 29px !important;
  max-width: 47ch;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--cw-loc-muted);
  overflow-wrap: anywhere;
}
#cwFooter .cw-footer-branches__office-bottom {
  display: flex;
  gap: 7px 18px;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  margin-left: 29px;
}
#cwFooter .cw-footer-branches__office-bottom a,
#cwFooter .cw-footer-branches__office-bottom button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  color: var(--cw-loc-ink);
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease;
}
#cwFooter .cw-footer-branches__office-bottom .cw-footer-branches__select {
  color: var(--cw-loc-accent);
}
#cwFooter .cw-footer-branches__office-bottom .cw-footer-branches__select[aria-pressed="true"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
#cwFooter .cw-footer-branches__office-bottom a:hover,
#cwFooter .cw-footer-branches__office-bottom button:hover { color: var(--cw-loc-accent); }
#cwFooter .cw-footer-branches__office-bottom :is(button,a):focus-visible,
#cwFooter .cw-footer-branches__map-link:focus-visible {
  outline: 2px solid var(--cw-loc-accent);
  outline-offset: 4px;
}
#cwFooter .cw-footer-branches__office-bottom svg,
#cwFooter .cw-footer-branches__map-link svg { width: 14px; height: 14px; flex: 0 0 14px; }
#cwFooter .cw-footer-branches__map {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cw-loc-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--cw-loc-accent) 5%, var(--cw-footer-bg, white));
  scroll-margin-top: 95px;
}
#cwFooter .cw-footer-branches__map-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 65px;
  padding: 11px clamp(15px, 2vw, 22px);
  border-bottom: 1px solid var(--cw-loc-line);
}
#cwFooter .cw-footer-branches__map-info { min-width: 0; display:flex; flex-direction:column; gap: 2px; }
#cwFooter .cw-footer-branches__map-info span {
  font-size: 10px;
  letter-spacing: .02em;
  color: var(--cw-loc-muted);
  line-height: 1.4;
}
#cwFooter .cw-footer-branches__map-info strong {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--cw-loc-ink);
}
#cwFooter .cw-footer-branches__map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--cw-loc-accent);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
#cwFooter .cw-footer-branches__map-link:hover {color:var(--cw-loc-ink)}
#cwFooter .cw-footer-branches__map-area {
  position: relative;
  flex: 1 1 260px;
  min-height: 236px;
  isolation: isolate;
  overflow: hidden;
  background: color-mix(in srgb, var(--cw-loc-accent) 7%, var(--cw-footer-bg, white));
}
#cwFooter .cw-footer-branches__map-frame {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  inset: 0;
  border: 0;
  opacity: 0;
  transition: opacity .25s ease;
}
#cwFooter .cw-footer-branches__map.is-loaded .cw-footer-branches__map-frame { opacity: 1; }
#cwFooter .cw-footer-branches__map-status {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--cw-loc-muted);
  font-size: 12px;
  text-align: center;
  padding: 15px;
}
#cwFooter .cw-footer-branches__map.is-loaded .cw-footer-branches__map-status { visibility: hidden; }
#cwFooter .cw-footer-branches__map-status-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cw-loc-accent) 13%, transparent);
  color: var(--cw-loc-accent);
}
#cwFooter .cw-footer-branches__map-status-icon svg {width:21px;height:21px}
[data-theme="dark"] #cwFooter .cw-footer-branches--map .cw-footer-branches__office.is-active {background:color-mix(in srgb,var(--cw-loc-accent) 10%,transparent)}
@media (max-width: 950px) {
  #cwFooter .cw-footer-branches__layout { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 22px; }
  #cwFooter .cw-footer-branches__office {padding: 14px 13px}
  #cwFooter .cw-footer-branches__office-bottom {gap: 7px 11px;}
}
@media (max-width: 720px) {
  #cwFooter .cw-footer-branches--map {max-width: 100%; width: auto; margin-inline: 6px;}
  #cwFooter .cw-footer-branches__layout {grid-template-columns: minmax(0,1fr); gap: 15px;}
  #cwFooter .cw-footer-branches__list {gap:10px; grid-auto-rows: auto;}
  #cwFooter .cw-footer-branches__office {padding: 16px 14px;}
  #cwFooter .cw-footer-branches__office-bottom {display:grid;grid-template-columns:max-content max-content;justify-content:start;gap:6px 18px;}
  #cwFooter .cw-footer-branches__office-bottom .cw-footer-branches__phone {grid-column:1 / -1;}
  #cwFooter .cw-footer-branches__map-area {min-height: 245px; flex-basis: 245px;}
}
@media (max-width: 380px) {
  #cwFooter .cw-footer-branches__office-bottom {gap: 4px 12px;}
  #cwFooter .cw-footer-branches__office-bottom a,
  #cwFooter .cw-footer-branches__office-bottom button {font-size: 11.5px;}
  #cwFooter .cw-footer-branches__map-link {font-size: 11.5px;}
}
@media (prefers-reduced-motion: reduce) {
  #cwFooter .cw-footer-branches--map * {transition:none!important;scroll-behavior:auto!important;}
}

/* Coralmed 1.0.74 | Teléfono alineado con la dirección y los enlaces en móviles. */
#cwFooter .cw-footer-branches__office-bottom .cw-footer-branches__phone {
  justify-self: start;
  justify-content: flex-start;
  text-align: left;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  #cwFooter .cw-footer-branches__office-bottom .cw-footer-branches__phone {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
