/* Hero */
.pagegen-hero-container {
  position: relative;
  width: 100%;
  border-radius: 2rem;
}

.pagegen-hero-container::before {
  position: absolute;
  content: "";
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(34, 77, 77, 0.9),
    rgba(34, 77, 77, 0)
  );
  border-radius: 2rem;
  z-index: 1;
}

.pagegen-hero-container::after {
  position: absolute;
  content: "";
  inset: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(34, 77, 77, 0.9),
    rgba(34, 77, 77, 0)
  );
  border-radius: 2rem;
  z-index: 1;
}

.pagegen-hero-container img {
  width: 100%;
  height: 30rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2rem;
}

.pagegen-hero-desc {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  max-width: 80%;
  color: var(--white);
  z-index: 10;
}

.pagegen-hero-desc h1,
.pagegen-hero-desc h2 {
  margin-block: 0;
}

.pagegen-hero-desc h1 {
  font-size: 1rem;
  font-weight: 500;
}

.pagegen-hero-desc h2,
.pagegen-hero-desc h2 span {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.pagegen-hero-desc span {
  font-size: 1rem;
  font-weight: 600;
}

.pagegen-hero-cta {
  display: flex;
  margin-top: 1rem;
  gap: 1rem;
}

.pagegen-hero-cta a {
  padding: 1rem 2rem;
  background-color: var(--sales);
  color: var(--white);
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 1rem;
}

.pagegen-hero-cta a:last-child {
  background-color: #25d366;
}

@media (max-width: 992px) {
  .pagegen-hero-container img {
    height: auto;
    aspect-ratio: 9 / 16;
  }

  .pagegen-hero-desc h2,
  .pagegen-hero-desc h2 span {
    font-size: 2rem;
  }

  .pagegen-hero-desc h2 {
    font-size: 1.25rem;
  }

  .pagegen-hero-desc span {
    font-size: 0.875rem;
  }

  .pagegen-hero-cta {
    flex-direction: column;
    text-align: center;
  }
}

/* Mapa */
#map {
  position: relative;
}

.map-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.map-grid iframe {
  border-radius: 2rem;
  box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.15);
}

.map-info-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.map-info-container .section-title {
  margin-bottom: 0;
}

.map-info-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.map-info-item {
  display: flex;
  gap: 0.5rem;
}

.map-info-item span,
.map-info-item a {
  color: var(--secundario);
  font-size: 1rem;
  text-decoration: none;
}

.map-info-item:hover a {
  text-decoration: underline;
}

.map-info-schedule {
  display: flex;
  flex-direction: column;
}

@media (max-width: 992px) {
  .map-grid {
    grid-template-columns: 1fr;
  }
}
