/* ==========================================
   HONDA AUTOS - SECCIÓN UBICACIÓN
   PHP + CSS / RESPONSIVE
========================================== */

#honda-ubicacion,
#honda-ubicacion * {
  box-sizing: border-box;
}

#honda-ubicacion {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
}

/* MAPA A TODO EL ANCHO */

.honda-ubicacion__mapa {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: #e8ecef;
}

.honda-ubicacion__mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FRANJA INFERIOR */

.honda-ubicacion__direccion {
  position: relative;
  width: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 35px 20px;
  background: #fff;
  text-align: center;
}

/* DECORACIÓN DE FONDO TIPO MAPA DE PUNTOS */

.honda-ubicacion__direccion::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image:
    radial-gradient(circle, rgba(130,140,150,.18) 1px, transparent 1.5px);

  background-size: 7px 7px;
  background-position: center;
  opacity: .25;

  mask-image: linear-gradient(
    90deg,
    #000 0%,
    transparent 35%,
    transparent 65%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    transparent 35%,
    transparent 65%,
    #000 100%
  );
}

/* CONTENIDO */

.honda-ubicacion__contenido {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.honda-ubicacion__etiqueta {
  display: block;
  margin-bottom: 10px;
  color: #cc172c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.honda-ubicacion__contenido h2 {
  margin: 0;
  color: #171717;
  font-family: inherit;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.4px;
}

/* TABLET */

@media (max-width: 1024px) {
  .honda-ubicacion__mapa {
    height: 320px;
  }

  .honda-ubicacion__direccion {
    min-height: 150px;
  }
}

/* MÓVIL */

@media (max-width: 767px) {
  .honda-ubicacion__mapa {
    height: 280px;
  }

  .honda-ubicacion__direccion {
    min-height: 140px;
    padding: 30px 15px;
  }

  .honda-ubicacion__etiqueta {
    font-size: 10px;
  }

  .honda-ubicacion__contenido h2 {
    font-size: 19px;
  }
}

@media (max-width: 360px) {
  .honda-ubicacion__contenido h2 {
    font-size: 17px;
  }
}
