body {
  background: url('logo_g.png') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  color: #333;
}

.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.overlay {
  background: rgba(255,255,255,0.8);
  text-align: center;
  padding: 50px;
}

.hero-img {
  width: 700px;
  animation: fadeIn 3s ease-in-out;
  border-radius: 30px;
}

.cta-btn {
  background: gold;
  color: #000;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.beneficios ul {
  list-style: none;
  padding: 0;
}

.beneficios li {
  margin: 10px 0;
  font-size: 18px;
}

section h2 {
      background-color: #d4af37;
      color: #fff;
      border: none;
      cursor: pointer;
      font-weight: bold;

    }

header h1 {
      font-size: 2.5em;
      color: #d4af37;
      margin-top: 20px;
    }

    header p {
      font-size: 1.2em;
      margin: 15px 0;
    }
    
.carrusel {
      background: rgba(255,255,255,0.8);
      position: relative;
      width: 80%;
      height: 60vh;
      overflow: hidden;
      display: flex;
      align-items: center; /* centra verticalmente */
      justify-content: center;
    }

.slide {
      background: rgba(255,255,255,0.8);
      position: absolute;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }

.slide.active {
      opacity: 1;
    }

.texto {
      width: 80%;
      text-align: justify;
      font-size: 1.5rem;
      padding: 20px;
      box-sizing: border-box;
    }

.imagen2 {
      max-width: 100%;    /* Nunca exceder el ancho del div */
      max-height: 100%;   /* Nunca exceder la altura del div */
      height: auto;       /* Mantener proporción */
      width: auto;
      border-radius: 10px;
      border: 3px solid black;
      }

form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
  background: #fff8e1;
}

form input, form textarea {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
}

form button {
  background: gold;
  border: none;
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
}

.cta-button {
      background-color: #d4af37;
      color: #fff;
      padding: 15px 30px;
      border: none;
      border-radius: 30px;
      font-size: 1.1em;
      cursor: pointer;
      transition: transform 0.3s;
    }

footer {
      background: #d4af37;
      color: #fff;
      text-align: center;
      padding: 20px;
    }