:root {
  --verde: #00665c;
  --verde-oscuro: #004940;
  --amarillo: #ffd100;
  --tinta: #14221f;
  --texto: #1c2826;
  --suave: #3e514c;
  --fondo: #f4f6f5;
  --blanco: #ffffff;
  --linea: #d5dedb;
  --sombra: 0 10px 28px rgba(0, 40, 36, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--texto);
  background: var(--fondo);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--verde);
}

a:hover {
  color: var(--verde-oscuro);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--amarillo);
  color: var(--verde);
  font-weight: 700;
  padding: 0.6rem 1rem;
  z-index: 20;
  border-radius: 0 0 8px 8px;
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--amarillo);
  outline-offset: 3px;
}

.contenedor {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.cabecera {
  background: var(--verde);
  color: var(--blanco);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.cabecera a {
  color: var(--blanco);
  text-decoration: none;
}

.cabecera-inner {
  display: grid;
  grid-template-columns: minmax(5.5rem, 1fr) auto minmax(5.5rem, 1fr);
  align-items: center;
  gap: 0.35rem;
  min-height: 76px;
}

.cabecera-lado {
  grid-column: 1;
}

.logo-link {
  grid-column: 2;
  justify-self: center;
  min-width: 0;
}

.cabecera .redes {
  grid-column: 3;
  justify-self: end;
}

.logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 100%;
}

.redes {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.redes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: inherit;
  text-decoration: none;
}

.redes i {
  font-size: 22px;
  line-height: 1;
}

.cabecera .redes a {
  color: #fff;
}

.cabecera .redes a:hover {
  color: var(--amarillo);
}

.pie .redes a:focus-visible {
  outline-color: var(--verde);
}

.seccion {
  padding: 1.4rem 0 0.4rem;
}

.grilla {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.sucursal {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-top: 5px solid var(--verde);
  border-radius: 0;
  padding: 0 0 1.15rem;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sucursal-foto {
  display: block;
  line-height: 0;
}

.sucursal-foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.sucursal-cuerpo {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  padding: 1rem 1.15rem 0;
}

.sucursal h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--verde);
}

.direccion {
  margin: 0;
  font-weight: 600;
  color: var(--tinta);
}

.horarios {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--suave);
}

.horarios li + li {
  margin-top: 0.15rem;
}

.tel {
  margin: 0.15rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.tel a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--verde);
  text-decoration: none;
}

.tel a:hover {
  text-decoration: underline;
}

.ico-wa {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.45rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-mapa {
  background: var(--blanco);
  color: var(--verde);
  border-color: var(--verde);
}

.btn-mapa:hover {
  background: var(--verde);
  color: var(--blanco);
}

.mapa-gral {
  padding: 1.4rem 0 2.2rem;
}

.mapa-gral iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 320px;
  border: 0;
}

.pie {
  background: var(--amarillo);
  color: var(--verde);
  padding: 1.8rem 0 1.4rem;
  text-align: center;
}

.pie .contenedor {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-pie {
  display: block;
  height: 40px;
  width: auto;
}

.pie .redes {
  margin-top: 0.65rem;
  justify-content: center;
  color: var(--verde);
}

.pie .redes a:hover {
  color: var(--verde-oscuro);
}

.copy {
  margin: 0.65rem 0 0;
  font-weight: 700;
}

@media (max-width: 420px) {
  .logo {
    height: 32px;
  }

  .cabecera-inner {
    min-height: 64px;
  }
}

@media (min-width: 700px) {
  .grilla {
    grid-template-columns: 1fr 1fr;
  }

  .mapa-gral iframe {
    height: 420px;
  }
}

@media (min-width: 1020px) {
  .grilla {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
