/* index.css */
.bienvenida {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bienvenida .texto h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bienvenida .texto p {
  font-size: 1.125rem;
}

.bienvenida .imagenes {
  position: relative;
  height: 500px;
}

.bienvenida .imagenes img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: absolute;
  object-fit: cover;
}

.img1 {
  width: 80%;
  height: 80%;
  top: 0;
  right: 0;
  z-index: 2;
}

.img2 {
  width: 60%;
  height: 60%;
  bottom: 0;
  left: 0;
  z-index: 1;
  border: 8px solid var(--bg-color);
}

.realizacion {
  background-color: var(--bg-surface-elevated);
  padding: 6rem 0;
  margin: 4rem 0;
  border-radius: var(--radius-lg);
  text-align: center;
}

.realizacion .texto {
  max-width: 800px;
  margin: 0 auto;
}

.resumen .contenedor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card figure {
  height: 200px;
  overflow: hidden;
}

.card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover figure img {
  transform: scale(1.05);
}

.card .contenido {
  padding: 1.5rem;
}

.card .contenido p:first-of-type {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card .contenido p:last-of-type {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.ubicacion .mapa iframe {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.finalindex {
  text-align: center;
  padding: 4rem 0;
  background-color: var(--bg-surface-elevated);
}

@media (max-width: 992px) {
  .bienvenida {
      grid-template-columns: 1fr;
  }
  .bienvenida .imagenes {
      height: 400px;
  }
}