/* ==========================================
   HONDA MOTOS TRUJILLO
   SECCIÓN UBICACIÓN
   PHP + CSS / RESPONSIVE
========================================== */

#honda-motos-ubicacion,
#honda-motos-ubicacion * {
  box-sizing: border-box;
}

#honda-motos-ubicacion {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
}

/* ==========================================
   MAPA
========================================== */

.honda-motos-ubicacion__mapa {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: #e8ecef;
}

.honda-motos-ubicacion__mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================
   BLOQUE DIRECCIÓN
========================================== */

.honda-motos-ubicacion__direccion {
  position: relative;
  width: 100%;
  min-height: 190px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 38px 20px 42px;

  overflow: hidden;
  background: #ffffff;
  text-align: center;
}

/* FONDO DECORATIVO */

.honda-motos-ubicacion__direccion::before {
  content: "";
  position: absolute;
  inset: 0;

  pointer-events: none;

  background-image:
    radial-gradient(
      circle,
      rgba(130, 140, 150, .20) 1px,
      transparent 1.5px
    );

  background-size: 7px 7px;
  background-position: center;

  opacity: .28;

  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-motos-ubicacion__contenido {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

/* ETIQUETA */

.honda-motos-ubicacion__etiqueta {
  display: block;
  margin-bottom: 10px;

  color: #cc172c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

/* DIRECCIÓN */

.honda-motos-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;
}

/* ==========================================
   BOTÓN CÓMO LLEGAR
========================================== */

.honda-motos-ubicacion__boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  margin-top: 22px;
  padding: 12px 22px;

  background: #cc0000;
  color: #ffffff;

  border: 1px solid #cc0000;
  border-radius: 4px;

  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;

  text-decoration: none;

  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.honda-motos-ubicacion__boton:hover {
  background: #a90000;
  border-color: #a90000;
  color: #ffffff;
  transform: translateY(-2px);
}

.honda-motos-ubicacion__boton:focus-visible {
  outline: 3px solid #171717;
  outline-offset: 4px;
}

.honda-motos-ubicacion__boton svg {
  flex-shrink: 0;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

  .honda-motos-ubicacion__mapa {
    height: 320px;
  }

  .honda-motos-ubicacion__direccion {
    min-height: 180px;
  }

}

/* ==========================================
   MÓVIL
========================================== */

@media (max-width: 767px) {

  .honda-motos-ubicacion__mapa {
    height: 280px;
  }

  .honda-motos-ubicacion__direccion {
    min-height: 170px;
    padding: 32px 15px 38px;
  }

  .honda-motos-ubicacion__etiqueta {
    font-size: 10px;
  }

  .honda-motos-ubicacion__contenido h2 {
    font-size: 19px;
  }

  .honda-motos-ubicacion__boton {
    margin-top: 20px;
    padding: 11px 19px;
    font-size: 10px;
  }

}

@media (max-width: 360px) {

  .honda-motos-ubicacion__contenido h2 {
    font-size: 17px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .honda-motos-ubicacion__boton {
    transition: none;
  }

}