/* DESARROLLADO POR R. BRAHAIM ALAVIA GALLARDO */
*
{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html 
{
  scroll-behavior: smooth;
}


/* COLORES DEL LOGO TECBA
 #ee3e01
 #f2911a
 #141416 */
:root
{
  --color-a: #22232d;
  --color-b: #333;
  --color-c: #fff;
  --color-d: #d3d3d3;
  --color-e: #828282;
  --color-f: #4c4c4c;
  --color-g: #f7f7f7;
  --color-h: #ee3e01;
}

body
{
  font-family: "Poppins", sans-serif;
  background: var(--color-a);
  background-image: url(https://video-public.canva.com/VAEGCmYChmM/v/f56afa5d6c.gif);
  background-position: center;
  background-attachment: fixed;
}

.container
{
  max-width: 100vw;
  margin: 0 auto;
}

#header
{
  background: white;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  align-items: center;
}

#header-img
{
  margin: 20px 0px 0px 20px;
  float: left;
  height: 50px;
}

nav ul
{
  overflow: hidden;
  clear: both;
  margin: 0;
  padding: 0;
  max-height: 0;
  transition: max-height .2s ease-out;
}

nav ul li
{
  list-style: none;
}

nav ul li a
{
  display: block;
  font-size: 1.15;
  text-decoration: none;
  color: black;
  padding: 10px;
}

a.highlight
{
    display: block;
  font-size: 1.15;
  text-decoration: none;
  color: black;
  padding: 10px;
}

/* menu icono */

.menu
{
  margin-left: 15px;
  transition: 0.5s;
}

#header .menu-icon 
{
    cursor: pointer;
    padding: 30px 20px 20px 0px;
    user-select: none;
    float: right;
}

#header .menu-icon .nav-icon
{
  background: #333;
  display: block;
  height: 3px;
  position: relative;
  top: 10px;
  transition: background .2s ease-out;
  width: 30px;
}

#header .menu-icon .nav-icon:before,
#header .menu-icon .nav-icon:after
{
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

#header .menu-icon .nav-icon:before
{
  top: 6px;
}

#header .menu-icon .nav-icon:after
{
  top: -6px;
}

/* menu btn */

#header .menu-btn
{
  display: none;
}

#header .menu-btn:checked ~ .menu
{
  max-height: 240px;
}

#header .menu-btn:checked ~ .menu-icon .nav-icon
{
  background: transparent;
}

#header .menu-btn:checked ~ .menu-icon .nav-icon:before
{
  transform: rotate(-45deg);
  top:0;
}

#header .menu-btn:checked ~ .menu-icon .nav-icon:after
{
  transform: rotate(45deg);
  top:0;
}
/*  hero portada*/

.hero2 {
  background-image: url('../img/hero.jpeg'); /* Imagen para escritorio */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  color: white;
  text-align: center;
  background-color: #000000;
}


/* ✅ En móvil (menor a 768px), cambia la imagen */
@media (max-width: 768px) {
  .hero2 {
    background-image: url('../img/hero movil.jpeg'); /* Imagen para móviles */
    background-size: cover;
  }
}

@media (max-width: 768px) {
  .hero {
    background-size: cover; /* ✅ en móvil que llene la pantalla */
  }
}



main
{
  display: flex;
  flex-flow: column-reverse;
  color: white;
  width: 100%;
  margin: 0;
  padding-top: 100px;
}

.hero
{
  text-align: center;
  margin-top: 50px;
}

.hero-title-primary
{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 10vmin;
  line-height: 60px;
}
.hero-title-primary-2
{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 10vmin;
  line-height: 58px;
  -webkit-text-stroke: 2px var(--color-h);
}
/* ANIMACION GLITCH */


.hero-title-sub
{
  margin: 0.2em 0 1em 0;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 4.6vmin;
}

button
{
  margin-top: 20px;
  margin-bottom: 50px;
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  color: black;
  border: none;
  border-radius: 5px;
  padding: 15px 30px;
  text-align: center;
  text-decoration: none;
  font-size: 25px;
  cursor: pointer;
}
button a
{
  text-decoration: none;
  color: black;
}
button:hover ~ button a
{
  background-color: black;
  color: white;
}
#btnbot
{
  bottom: 2%;
  right: 4%;
  width: 30px;
  height: 57px;
  border-radius: 50%;
  background: var(--color-h);
  position: fixed;
  z-index: 50;
}
#voice
{
  bottom: 9%;
  right: 4%;
  width: 60px;
  border-radius: 50%;
  display: none;
  position: fixed;
  transition: 0.5s;
  z-index: 51;
  }
}
figure
{
  text-align: center;
  padding-top: 25px;
  padding-left: 10px;
}

figure svg
{
  margin: 3em auto 0;
  width: 80vw;
  display: flex;
  align-items: center;
}

.waves
{
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px; /*Probar gap en Safari*/
  min-height: 100px;
  max-height: 150px;
}

.video-content
{
  padding-top: 80px;
  display: flex;
  align-content: center;
  flex-direction: column;
  text-align: center;
  flex-wrap: wrap;
  color: red;
  background: white;
}
.text-extra
{
  background: #22232d;
  padding: 30px 0px 30px 0px;
}

.video-title
{
  font-size: 35px;
  
}

.video-subtitle
{
  margin-top: -10px;
  color: #22232d;
  margin-bottom: 20px;
}

iframe
{
   height: 50vw;
    width: 91vw;
}

.three-dots
{
  text-align: center;
}

.three-dots span
{
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: red;
  display: inline-block;
  margin: 30px 5px;
}

.content
{
  padding: 10px 38px 10px 38px;
  background: white;
}

.content-faq
{
  padding: 10px 38px 10px 38px;
  background: #fbf7f7f0;
}
/* viñetas */
/*.bullets
{
  list-style-type: disc;
  display: list-item;
}
*/
/*
.dropdown-content 
{
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
  z-index: 1;
  opacity: 0;
  border-radius: 0px 0px 24px 24px;
  transform: translateY(-10px); 
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.dropdown-menu {
  position: absolute;
  top: 100%; 
  left: 0;
  background-color: #fff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.inner-content-title:hover .dropdown-content 
{
  display: block;
  opacity: 1;
  transform: translateY(0); 
}

.dropdown-content p
{
  margin-top: 25px;
  margin-right: 60px;
  font-size: 1.725rem;
  font-weight: 500;
  color: var(--color-a);
}
.des:hover
{
  text-decoration: underline;
  cursor: pointer;
}

*/
/*
.inner-content-title 
{
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%; 
    left: 0;
    background-color: #f9f9f9;
    padding: 10px;
    display: none; 
    transition: all 0.3s ease-in-out;
}

.des:hover .dropdown-content {
    display: block; 
}


V2

.dropdown-content 
{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.dropdown-content p
{
  margin: 10px 0;
  font-size: 1rem;
  color: #333;
}
.inner-content-title.active + .dropdown-content
{
  max-height: 500px; 
}
*/

/* MENU DESPLEGABLE */

.dropdown-content 
{
  display: none;
}
.inner-content-title.clickable .dropdown-content 
{
  display: none;
  padding: 15px 5px 15px 12px;
  font-size: 0.89rem;
  color: var(--color-a);
  background-color: #fff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  border-radius: 0px 0px 24px 24px;
}
.dropdown-content p a
{
  padding-top: 15px;
  padding-left: 25px;
  text-decoration: none;
  cursor: pointer;
}
.inner-content-title
{
  cursor: pointer;
}

/* CORRECION DE IMAGEN */



.inner-content
{
  padding-top: 50px;
}

.inner-content-text
{
  padding-right: .78125rem;
  padding-left: .78125rem;
  padding-bottom: 40px;
}

.inter-content-subtitle
{
  position: relative;
  display: inline-block;
  padding-left: 40px;
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .10938rem;
  color: #828282;
}

.inter-content-subtitle::before
{
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 25px;
    height: 5px;
    content: "";
    background-color: red;
    opacity: 0.7;
}




.inter-content-subtitle2
{
  position: relative;
  display: inline-block;
  padding-left: 40px;
  font-family: "Poppins", sans-serif;
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: .10938rem;
  color: #828282;
}

.inter-content-subtitle2::before
{
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 25px;
    height: 5px;
    content: "";
    background-color: red;
}


.inter-content-subtitle3 
{
   position: relative;
   display: inline-block;
   font-family: "Poppins", sans-serif;
   font-size: 1.5rem;
   font-style: normal;
   font-weight: 500;
   line-height: 1;
   letter-spacing: .10938rem;
   color: #828282;
}

.inner-content-title
{
  margin-top: 25px;
  margin-right: 60px;
  font-size: 1.225rem;
  font-weight: 700;
  color: red;
}

.inner-content-para
{
  margin-top: 25px;
  margin-right: 0px;
  font-size: 1rem;
  line-height: 1.875rem;
  letter-spacing: .04375rem;
  font-style: normal;
  font-weight: 400;
  color: #4c4c4c;
}
.inner-content-para2
{
  padding: 0px 40px 0px 40px;
  font-size: 1.1rem;
  line-height: 1.875rem;
  letter-spacing: .04375rem;
  font-style: normal;
  font-weight: 400;
  text-align: justify;
  color: var(--color-d);
}
.inner-content-para3
{
  padding: 0px 40px 0px 40px;
  font-size: 2rem;
  line-height: 2.59rem;
  letter-spacing: .04375rem;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  color: var(--color-d);
}
.inner-content-para4
{
  padding: 0px 40px 0px 40px;
  font-size: 2rem;
  line-height: 1.9rem;
  letter-spacing: .04375rem;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  color: red;
}

.inner-content-para p
{
  text-align: justify;
}

.inner-image-container
{
  position: sticky;
  padding-right: .78125rem;
  padding-left: .78125rem;
  flex: 0 0 100%;
  max-width: 100%;
}


.inner-content-image
{
  position: relative;
  height: 350px;
}

.section-images
{
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.horarios-container
{
  padding: 150px 38px 10px 38px;
  background: white;
  display: flex;
  flex-direction: column;
}

.horarios-title
{
  margin-bottom: 50px;
  font-size: 23px;
  color: red;
  align-self: center;
}

.horarios-title > h2
{
  font-weight: 600;
}

.flex-container
{
  max-width: 80vw;
  margin: 0 auto;
  display: flex;
  padding: 1em;
}

.flex-item
{
  flex: 1;
  width: 250px;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 8px;
}

.flex-item:not(:last-child)
{
  margin-right: 2em;
}

.package
{
  list-style-type: none;
  margin: 0;
  padding: 0;
  transition: 0.25s;
  display: flex;
  flex-direction: column;
}

.package:hover
{
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
  transform: scale(1.025);
}

.package .header
{
  color: black;
  border-bottom: 5px red solid;
  font-size: 1.6em;
  font-weight: 600;
}

.package li
{
  color: rgba(55, 53, 47, 0.6);
  background-color: #fff;
  padding: 1.2em;
}

li.materias:before,
{
  content: '✓';
  padding-right: 5px;
}

li.materias
{
  text-align: left;
  padding: 10px;
}

li.first-feat
{
  margin-top: 30px;
}

.package .gray
{
  background-color: #f7f7f7;
  color: black;
  font-weight: 600;
  font-size: 30px;
  padding: .8em;
  line-height: 80%;
}

.Bs
{
  top: -0.2em;
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: initial;
}

.month
{
  font-size: 16px;
  font-weight: normal;
}

.horarios-button
{
  background-color: white;
  border: 1px solid red;
  border-radius: 2em;
  color: red;
  cursor: pointer;
  padding: .75em 1.5em;
  font-size: 1em;
}

.subscribe-container
{
  padding-top: 80px;
  padding-bottom: 80px;
  background: white;
  display: flex;
  align-items: center;
  flex-direction: column;
}

#form
{
  display: flex;
  flex-direction: row;
}

#email
{
  width: 250px;
  height: 40px;
  border-radius: 5px 0 0 5px;
  outline: none;
  border: 1px solid red;
  text-decoration: none;
}

#submit
{
  width: 120px;
  height: 40px;
  border: none;
  background: red;
  color: white;
  font-family: "Poppins", sans-serif;
  border-radius: 5px 5px 5px 5px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

input[type="email"]
{
  padding-left: 10px;
}

.hero-newsletter
{
  margin-bottom: 20px;
}

/* Responsive */

@media only screen and (max-width: 984px)
{
  .flex-container
  {
    flex-wrap: wrap;
  }

  .flex-item
  {
    flex: 0 0 100%;
    margin-bottom: 1em;
    width: 100%;
  }

  .package:hover
  {
    box-shadow: none;
    transform: none;
  }

  .horarios-button
  {
    padding: .75em 1.5em;
  }
}


/* Animacion */

.parallax > use
{
  animation: olas-loop 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1)
{
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2)
{
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3)
{
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4)
{
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes olas-loop
{
  0%
  {
    transform: translate3d(-90px, 0, 0);
  }
  100%
  {
    transform: translate3d(85px, 0, 0);
  }
}

@media screen and (min-width: 820px)
{
  .container
  {
    max-width: 80vw;
  }
  
  .menu-container
  {
    max-width: 100vw;
  }
  
  header
  {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    flex-flow: wrap;
  }
  
  #header
  {
    background: white;
  }
  
  #header-img
  {
    margin-left: -100px;
  }
  
  .menu
  {
  margin-top: 20px;
  }
  
  nav
  {
    margin-right: -100px;
  }
  
  nav ul
  {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    transition: 0.5s;
  }
  
  nav ul li
  {
    float: left;
    list-style: none;
    padding: 0.5em 1em;
  }
  nav ul li a
  {
    font-size: 1em;
    text-decoration: none;
    color: #333;
    padding: 0;
  }
  
  a.highlight
  {
    font-size: 1em;
    text-decoration: none;
    color: #333;
    padding: 0.5em 1em;
  }
  
  #header .menu
  {
    clear: none;
    float: right;
    max-height: none;
  }
  #header .menu-icon
  {
    display: none;
  }
  
  .highlight
  {
    border: 1px solid #333;
    border-radius: 50px;
  }
  
  .highlight:hover,.special:hover
  {
    background: black;
    color: white;
    border-bottom: none;
  }
  
  main
  {
    flex-flow: row;
  }
  
  .hero
  {
    margin-top: 150px;
    text-align: left;
  }
  
  .hero h1
  {
    font-size: 2.5em;
    line-height: 55px;
  }
  
  .hero p
  {
    font-size: 1.3em;
    margin: 0.5em 0 1em 0;
    padding: 0;
  }
  
  figure svg
  {
    width: 500px;
    margin: 0;
  }
  
  iframe
  {
   height: 30vw;
    width: 55vw;
}
  
  .content
  {
  padding: 0 68px 0 68px;
  background: white;
}

  .container__ImageRight
  {
    order: 2;
    margin-left: 8.33333%;
  }
  
  .content__ImageRight
  {
    left: 0;
    position: sticky;
  }
  
  .container__ImageLeft
  {
    order: 1;
  }
  
  .content__ImageLeft
  {
    right: 0;
  }
  
  .content__TextLeft
  {
    order: 1;
  }
  
  .content__TextRight
  {
    margin-left: 8.33333%;
    order: 2;
  }

.inner-content
{
  max-width: 80vw;
  padding-top: 100px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-flow: row wrap;
}
.inner-content-faq
{
  max-width: 80vw;
  padding-top: 100px;
  margin-right: auto;
  margin-left: auto;
}
.inner-content-text
{
  padding-right: .9375rem;
  padding-left: .9375rem;
  flex: 0 0 41.66667%;
  max-width: 41.66667%;
  display: flex;
  min-height: 550px;
  padding-top: 60px;
  padding-bottom: 60px;
  flex-direction: column;
  justify-content: center;
}

.inner-content-title
{
  margin-top: 25px;
  margin-right: 60px;
  font-size: 2.125rem;
  font-weight: 700;
  color: red;
}

.inner-content-para
{
  margin-top: 25px;
  margin-right: 60px;
  font-size: 1.125rem;
  line-height: 1.875rem;
  letter-spacing: .04375rem;
  font-style: normal;
  font-weight: 400;
  color: #4c4c4c;
}

.inner-image-container
{
  position: relative;
  padding-right: .78125rem;
  padding-left: .78125rem;
  flex: 0 0 50%;
  max-width: 50%;
  height: auto;
  top: 0;
}

.inner-content-image
{
  position: absolute;
  top: 0;
  width: calc(100% - 12.5px);
  height: 100%;
}

.section-images
{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
}

/* Responsive olas */

@media (max-width: 768px)
{
  .waves
  {
    height: 40px;
    min-height: 40px;
  }
  h1
  {
    font-size: 24px;
  }
}


/* FAQ ESTILOS */
.faq-container 
{
  margin-top: 20px;
}

.faq-item 
{
  margin-bottom: 20px;
}

.faq-question 
{
  font-weight: bold;
  cursor: pointer;
}


/* Para el efecto acordeón */
.faq-item.active .faq-answer 
{
  display: block;
}


.certificado-container 
{
  padding: 40px 38px 10px 38px;
  background: white;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  align-items: baseline;
}
.card
{
  /* ... estilos existentes ... */
  padding: 0px 40px 0px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
  font-size: 1rem;
  line-height: 1.875rem;
  letter-spacing: .04375rem;
  font-style: normal;
  font-weight: 400;
  color: #4c4c4c;
}

.card img
{
  width: 40%;
  height: auto;
  margin: auto;
  padding-bottom: 10px;
}

.card-text 
{
  text-align: center;
  font-size: 1rem;
}