
  .hero-text h1 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 10px;
  }
  
  .hero-text p {
    font-size: 18px;
    line-height: 1.6;
  }
  

  
  .hero-text a:hover {
    background-color: #f3abd7;
  }
  
.image-row {
   display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centra las imágenes */
  gap: 10px;
  margin-top: 20px;
}

.thumb {
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.thumb:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .hero {
    height: auto; /* que crezca con el contenido */
    padding: 20px 10px;
    flex-direction: column;
    align-items: center;
  }

  .hero-text {
    position: relative; /* evita solapamiento */
    width: 100%;
    max-width: 100%;
    padding: 20px 10px;
    box-sizing: border-box;
    overflow-wrap: break-word;
  }

  .hero-text p,
  .hero-text h1,
  .hero-text a {
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
  }

  .image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
  }

  .thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
  }

  body {
    overflow-x: hidden;
  }
}