@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;700;900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.g-recaptcha {
  margin-top: 1rem;
}

body {
  font-family: 'Red Hat Display', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #43464F;
}

p {
  line-height: 1.5;
  padding-bottom: 15px;
}

li {
    padding-bottom: 10px;
}

.top-banner {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 10000;
  padding: 10px 4%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.top-banner-content {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-logo {
  height: 65px;
  object-fit: contain;
}

header.hero {
  position: relative;
  background: url("/assets/Final_landing_cce.jpg") center / cover no-repeat;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  margin-top: 85px;
  justify-content: flex-start;
  padding: 0 5%;
  box-sizing: border-box;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

#video-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  text-align: center;
}

#video-banner video {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block; ;
  margin: 0 auto;
  object-fit: cover;
}

video.hover-controls::-webkit-media-controls {
  opacity: 0;
  transition: opacity 0.3s ease;
}

video.hover-controls:hover::-webkit-media-controls {
  opacity: 1;
}


header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  z-index: 2;
}


.hero-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  text-align: left;
  color: white;
  max-width: 600px;
  z-index: 2;
}


.hero-content .cta-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

header h1 {
  font-size: 4.5rem;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 40px;
  
}

header h2 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 40px;
}



a {
  text-decoration: none;
  color: #ED696A;
}

.cta-buttons {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  background-color: #ED696A;
  color: white;
  font-weight: bold;
  margin: 1rem 0.5rem 0.5rem;
  transition: background-color 0.3s ease;
  border: 0;
}

#como-unirse .btn, #formulario .btn {
  margin: 2rem 0.5rem 0.5rem;
}

.btn:hover {
  background-color: #A13838;
}

section#que-es {
  padding-top: 60px;
}

#faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 1em;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 1em;
  width: 100%;
  text-align: left;
  font-weight: bold;
  color: #43464F;
  transition: background 0.2s;
  position: relative;
}

.faq-question::after {
  content: "▾";
  position: absolute;
  right: 1em;
  transition: transform 0.3s;
}

.faq-question.active::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1em;
  color: #444;
}

section {
  padding: 27px 20px;
  max-width: 800px;
  margin: auto;
}

section-video {
  padding: 27px 20px;
  margin: auto;
}

section h2 {
  font-size: 1.9em;
  margin-bottom: 20px;
  color: #283198;
  text-align: center;
}

ul, ol {
  margin-left: 20px;
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  background: #F5F5F5;
  padding: 1.9rem;
  border-radius: 10px;
  margin: 2rem auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

form label {
  margin-top: 10px;
}

form input, form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.2rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Red Hat Display', sans-serif;
}

select:not(:-internal-list-box):not([multiple]){
  font-family: 'Red Hat Display', sans-serif;
}

select {
  padding: 10px 5px;
  font-family: 'Red Hat Display', sans-serif;
}

button {
  font-size: 16px;font-family: 'Red Hat Display', sans-serif;
}

input[type="submit"] {
  background-color: #283198;
  color: white;
  cursor: pointer;
  border: none;
}

input[type="submit"]:hover {
  background-color: #1e255b;
}

input[type="checkbox"] {
  width: 30px;
}

form button {
  margin-top: 20px;
}

#como-unirse .btn-wrapper {
  text-align: center;
}

footer {
  background: #f8f8f8;
  text-align: center;
  padding: 20px 20px 100px 20px;
    font-size: 14px;
}

footer .logos img {
  max-height: 70px;
  margin: 10px;
}

footer a {
    text-decoration: underline;
    color:#43464F
}

footer a:hover {
    text-decoration: underline;
    color:#000000
}

.whatsapp-float {
  position: fixed;
  bottom: 65px;
  right: 20px;
  z-index: 999;
}

.whatsapp-float img {
  width: 65px;
  height: 65px;
}


#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #333;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  z-index: 1000;
}

#cookie-banner a {
  color: #ED696A;
  text-decoration: underline;
}

#cookie-banner button {
  margin-left: 10px;
  background: #ED696A;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.mensaje-gracias {
  background-color: #F5ACA4;
  padding: 2em;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  margin: 2em 6em;
}

.mensaje-gracias h2 {
  color: #fff;
}

.mensaje-gracias p {
  font-size:1.1em;
}



@media (max-width: 768px) {
  header h1 {
    font-size: 3rem;
  }

  header h2 {
    font-size: 1.2rem;
    max-width: 60%;
  }

  .btn {
    padding: 10px 20px;
  }
  
  .top-banner-content {
    justify-content: center;
    gap: 20px;
  }

  header.hero {
  min-height: 400px;
  }

  .whatsapp-float {
  position: fixed;
  bottom: 65px;
  right: 10px;
  z-index: 999;
  }

  .whatsapp-float img {
  width: 55px;
  height: 55px;
  }

  .mensaje-gracias {
  background-color: #F5ACA4;
  padding: 2em;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  margin: 1em 2em;
  }

  form {
  padding: 1rem;
}

}
