

.hero {
  padding: 50px 20px 10px;
  text-align: center;
  position: relative;

}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


.hero h1 {
  text-align: center;
  font-size: 3em;
  line-height: 1.2;
}

.hero h1 .line1 {
  color: #fff;
  display: block;
  font-weight: 500;
  font-size: 2rem;
}

.hero h1 .line2 {
  display: block;
  font-weight: 700;
  color: #7DDB00;
  font-size: 7rem;
}



.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #fff;
}

.hero p.event-meta {
  background-color: rgba(125, 219, 0, 0.15);
  color: #7DDB00;
  display: inline-block;
  padding: 6px 14px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  margin-bottom: 10px;

}

.hero .event-meta-2 {
  font-size: 16px;
  font-weight: 500;
  margin: 50px auto 0px;
  padding: 20px 20px 0px 20px;
  max-width: 1024px;
  letter-spacing: -.04em;
}

.hero .event-meta-2 span {
  font-size: 24px;
  font-weight: 500;
  color: var(--electricGreen);
}

.hero .event-meta-2 p{
  font-size: 20px;
  margin-top: 20px;
}

.hero .cta-main{
  margin-top: 45px;
  display: flex;          
  gap: 20px;             
  flex-wrap: wrap;        
  justify-content: center;
}

.btn-register {
  background-color: #7DDB00;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  color: #112719;
  text-decoration: none;
  text-transform: uppercase;
  border: solid 1px #7DDB00;
  transition: 0.25s ease;
}

.btn-register:hover,
.btn-register:focus {
  background-color: rgba(125, 219, 0, 1.0);
  box-shadow: 0 0 30px rgba(125, 216, 0, 0.75);
  border: solid 1px white;
  color: #082818;
}


.video-wrapper {
  position: relative;
  width: 90%;
  max-width: 1024px;
  aspect-ratio: 16 / 9;
  margin: 20px auto 20px;
  border-radius: 20px;
  overflow: hidden;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  align-items: center;
  background-color: hsl(85.8, 100%, 42.9%);
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0,0,0,.5);
  cursor: pointer;
  display: flex;
  height: 90px;
  justify-content: center;
  left: 86%;
  position: absolute;
  top: 32%;
  transform: translate(-50%,-50%);
  transition: transform .3s ease;
  width: 90px;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  width: 32px;
  height: 32px;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.video-desktop { display: block; }
.video-mobile  { display: none; }

@media (max-width: 767px){
  
    .hero {
    padding: 0px 20px 10px;
    }
  
  
/* — Mobile — */
@media (max-width:767px){
  .video-mobile{
    display:block;
    max-width:500px;
    margin:24px auto;
    text-align:center;
  }

  .video-mobile-image img{
    width:100%;
    border-radius:20px;
  }

.video-mobile-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;  /* Centra horizontalmente */
  justify-content: center;
  gap: 20px;
}

.play-button-mobile {
  align-items: center;
  background-color: hsl(85.8, 100%, 42.9%);
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: flex;
  height: 70px;
  justify-content: center;
  transition: transform 0.3s ease;
  width: 70px;
}

.play-button-mobile:hover {
  transform: scale(1.1);
}

.play-button-mobile svg {
  width: 28px;
  height: 28px;
}


  .video-desktop, video {
  display: none;
}
  
   .hero .cta-main{
    flex-direction: column;
    align-items: center;
  }
  .hero .cta-main .btn-register{
    text-align: center;
  }

  
  .hero .event-meta-2 {
  padding: 20px 10px 0px 10px;
}

.hero .event-meta-2 span {
  font-size: 22px;
}

.hero .event-meta-2 p{
  font-size: 18px;
}

  /* Texto (ajusta a tu gusto) */
  .hero h1 .line1{ font-size:1.2rem; }
  .hero h1 .line2{ font-size:3rem; }   /* antes era 7rem */
  .hero p{ font-size:16px; }

}


