/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  gap: 40px;
  flex-wrap: wrap; /* para que baje en pantallas pequeñas */
  background-color: #f9f9f9;
}

/* COLUMNA IZQUIERDA - TEXTO */
.index-column-left {
  flex: 1;
  min-width: 300px; /* para que no se haga demasiado pequeña */
  text-align: center;
}

.index-column-left h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.index-column-left p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

.index-column-left .btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #0185C8;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.index-column-left .btn:hover {
  background-color: #628bd6;
}

/* COLUMNA DERECHA - IMAGEN */
.index-column-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.index-column-right img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* MEDIA QUERIES PARA TABLET Y MÓVIL */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column-reverse; /* texto debajo, imagen arriba */
    text-align: center;
    padding: 40px 5%;
  }

  .index-column-left h2 {
    font-size: 32px;
  }

  .index-column-left p {
    font-size: 16px;
  }

  .index-column-left .btn {
    padding: 10px 20px;
  }
}
