.header {
  position: absolute;
}
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/img/testimonial_background.webp') no-repeat center center/cover;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 400;
}

.bold {
  font-weight: 600;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-button {
  display: flex;
  width: 40%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff9900 0%, #cc3300 100%);
  margin: 20px auto 0 auto;
  padding: 25px 30px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  text-decoration: none;
  outline: none;
}

.hero-button:hover {
  box-shadow: 0 0 30px #ff9900;
}

.video-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background-color: #fff;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  font-size: 2.5rem;
  color: #333;
}

.hero-button {
  display: inline-flex;
  align-items: center;
}

.hero-button__icon {
  margin-left: 8px;
  width: 20px;
  height: auto;
}

.youtube-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
  padding: 0.75% 0.75%;
  margin: 0 auto;
  margin-bottom: 2rem;
  border-radius: 32px;
  box-shadow: 0px 18px 214px 0 rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 76%;
}

.youtube-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.youtube-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.youtube-section .videos-container {
  display: flex;
  justify-content: center;
}

.youtube-section .video-wrapper {
  width: 100%;
  margin: 0 auto; /* Centrar el video */
}

.youtube-section iframe {
  width: 100%;
  height: 100%;
}

.testimonials-section {
  background-color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.testimonial-card {
  flex: 0 0 calc(50% - 1rem);
  background-color: #f9f9f9;
  border-radius: 25px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 1rem;
}

.testimonial-author h3 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 700;
}

.handle {
  font-size: 0.9rem;
  color: #888;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.testimonials-title {
  width: 35%;
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  margin: 5% auto;
  color: #2c2c2c;
  display: flex;
  justify-content: center;
  align-items: center;
}

.videos-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1440px;
  margin: 0 auto;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  width: 100%;
}

.video-card {
  background: #FFF;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: -15px 18px 24px 0 rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 430px;
}

.video-card h3 {
  margin: 0.5rem 0 0.25rem 0;
  font-size: 2.5rem;
  font-weight: 600;
}

.video-card p {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  color: #666;
}

.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
}

.newsletter-section.margin-bottom {
  margin-bottom: 2rem !important;
}

@media (max-width: 1345px) {
  .videos-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-title {
    width: 65%;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .youtube-section {
    width: 90%;
    padding: 5% 5%;
  }

  .youtube-section h2 {
    font-size: 1.8rem;
  }

  .youtube-section p {
    font-size: 1rem;
  }

  .videos-container {
    grid-template-columns: 1fr;
  }
  .testimonials-title {
    width: 75%;
    font-size: 1.4rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
  }
  .video-card {
    width: 100%;
    padding: 1rem;
  }
  .video-card h3 {
    font-size: 1.8rem;
  }
  .video-card p {
    font-size: 1rem;
  }
  .video-card video {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 8px;
  }
}

