.location {
  color: white;
  padding-top: 4rem;
}
.location h2 {
  color: white;
}

.location-2 {
  padding: 12px;
}

.location-div {
  display: flex;
  width: 100%;
  background-color: rgb(7, 21, 66);
  border-radius: 16px;
  height: 500px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  box-shadow: -19px 6px 9px rgba(255, 255, 255, 0.685);
}

.location-map {
  display: flex;
  padding-bottom: 30px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.location-map iframe {
  border-radius: 0.75rem;
}

.location-button {
  display: flex;
  background-color: white;
  color: black;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  gap: 10px;
  padding: 1rem;
  font-weight: 600;
  transform: scale(1);
  transition: transform 0.3s ease-in-out;
}
.location-button img {
  width: 16px;
  height: 16px;
  filter: brightness(0);
}
.location-button:hover {
  transform: scale(0.9);
}

@media (min-width: 768px) {
  .location {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }
  .location-map {
    padding-top: 5%;
    width: 100%;
    max-width: 30%;
  }
  .location-2 {
    max-width: 100%;
    width: 400px;
  }
}

@media (min-width: 1024px) {
  .location {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .location-map {
    padding-top: 5%;
    width: 600px;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 0;
  }
  .location-2 {
    max-width: 100%;
    width: 500px;
    padding: 0;
  }
  .location-map iframe {
    padding-bottom: 4rem;
  }
}

/* Sección principal */
.locations-section {
  padding: 4rem 1rem;
  background: linear-gradient(to bottom right, #f8fafc, #f1f5f9);
  font-family: sans-serif;
}

.container-location {
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid de tarjetas */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* card-location */
.card-location {
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  background: #fff;
}

.card-content {
  padding: 1rem;
  background-color: #0e3c7c;
  height: 100%;
}

.card-title {
  margin-bottom: 15px;
  color: white;
}

.card-location:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Mapa */
.map-container {
  height: 16rem;
  position: relative;
}

/* Contenido */
.card-location-content {
  background: #1e293b;
  color: #fff;
  padding: 1.5rem;
}

.card-location-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1.25rem;
}

/* Bloques de info */
.info-block {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.text-blue {
  color: #60a5fa;
}

.text-green {
  color: #34d399;
}

.text-yellow {
  color: #facc15;
}

.info-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: white;
}

.info-text {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Botón WhatsApp */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: #15be3a;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}

.btn-whatsapp:hover {
  background: rgb(15, 145, 43);
}
