/* location.css */
/* ======================================================
   ARVENSIS: 7. LOCATION
   Estilos para la sección "Ubicación"
   ====================================================== */

/* Importar variables base */
@import url("base.css");

.section-location {
  padding: 3rem 0 0;
}

.section-location .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Layout mobile-first */
.location-grid {
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  gap: 1.5rem;
  width: 100%;
  min-height: 40dvh;
}

.map-frame {
  width: 100%;
  border-radius: var(--radio-borde-lg);
  overflow: hidden;
  /* Asegura que el iframe o map ocupe el espacio */
  height: 400px;
  background: #eee; /* Placeholder */
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-info {
  text-align: center;
  padding: 1rem;
}

.location-info h3 {
  font-size: 1.5rem;
  color: var(--color-primario);
  margin-bottom: 0.5rem;
}

.location-info p {
  color: var(--color-texto-secundario);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Desktop layout */
@media (min-width: 900px) {
  .section-location .container {
    align-items: stretch;
  }

  .location-grid {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }

  .map-frame {
    width: 60%;
  }

  .location-info {
    width: 40%;
    text-align: left;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .location-info h3 {
    font-size: 1.8rem;
  }

  .location-info .btn {
    align-self: flex-start;
  }
}