body, html{
    background-color: #ffffff; 
    font-family: sans-serif;   
    scroll-behavior: smooth;
}

header, section, footer{
    /*PANTALLA GRANDE*/
    width: 100%;//Aca se genero el conflicto
    margin-left: auto;
    margin-right: auto;
}


#header{
    height: 139px ;
    position: sticky;
    top: 0;
    z-index: 1000;         /* Asegura que quede encima de otros elementos */
    background-color: white; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.barra-sup{
    background-color: #904897;
    height: 47px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.barra-sup a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: "Roboto", sans-serif; 
    font-weight: 300;
    font-size: 15px;
    color: #ffffff;
    margin-left: 75px;
    margin-right: 40px; 
}

.barra-sup a:hover{
    font-weight: 450;
}

.barra-sup i {
  font-size: 14px;
}

.barra-sup i:hover{
    transform: scale(1.08);
}

.contenedor-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo img{
    height: 70px;
    margin-left: 50px;
    display: block;
}

.barra-navegacion{
    background-color: #ffffff;
    height: 92px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;   
    padding-right: 40px;
}

.barra-navegacion a{
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #555555;
    border-bottom: 2px solid transparent;    
}

.barra-navegacion a:hover{
    font-weight: 500;
    border-bottom-color: currentColor  /*para ponerle bordecito en hover*/
}



#seccion-uno{
     height: 950px;
}

.contenedor-img img{
    /*width: 1520px;*/
    width: 100%;
    height: 350px;
}

img::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
}

.contenedor-txt{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.contenedor-txt h1{
  color: #000000;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 60px;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 0;    
    letter-spacing: 0.5px;
}

.contenedor-txt p{
    color: #555555;
    font-family: "Roboto", sans-serif;
    width: 1150px;
    text-align: center;
    font-size: 20px;
    font-weight: 300;
    margin-top: 5px;
}

/*todo esto es parte de la seccion-uno pero sujeto a prueba*/

.mas30{
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin-top: 125px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 45px;
  /*border: 2px solid #904897;*/
  width: 550px;
  padding: 12px;
  background-color: #f7f7f7;
}

p.txt-cta{
  font-family: "Roboto Slab", serif;
  font-size: 24px;
  font-weight: 600;
  color: #904897;
  margin-bottom: 0;
}

p.txt-cta2{
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #555555;
  margin-top: 0;
}

.flecha-bajar {
  text-align: center;
  margin-top: 40px; 
}

.flecha-bajar i {
  font-size: 48px;     
  color: #d5d5d5;        
  animation: saltar 1.5s infinite;
}

@keyframes saltar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}


.boton-wpp{
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    border-radius: 50px;
    z-index: 100; /*todo esto para dejarlo fixed abajo*/
    box-shadow: 1px 1px 1px #ccc;
}

.boton-wpp img{
    width: 50px;
    height: 50px;
    border-radius: 50px;
}

.boton-wpp:hover {
  transform: scale(1.04);
}

#seccion-dos{
  /*height: 720px;*/
  background-color: #f7f7f7;
}

h2{
    font-family: "Roboto", sans-serif;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-left: 205px;
    padding-top: 40px;
    margin-bottom: 30px;    
    text-transform: uppercase; /*versalitas*/
}

.contenedor-cartas{
  align-items: start; /*esto hace que cada carta adapte su altura al contenido*/
  display: grid;
  grid-template-columns: repeat(3, 360px); 
  gap: 24px;
  padding: 60px;
  padding-top: 20px;  
  margin: 0 auto;
  justify-content: center;
}

.carta{
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 10px;
  transition: transform 0.2s ease; /*???*/
  height: auto;
}

.carta:hover {
  transform: scale(1.04);
}

.carta h3{
  height: 80px;
  margin-top: 20px;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
}

.carta-header{
    height: 60px;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    /*align-items: center;*/
    /*justify-content: center; ACA NO PUEDO CENTRARLO, por el momento el h3 tiene margintop*/
}

.header-hoteleria{
    background-color: #224997;
}

.header-agropecuaria{
    background-color: #009E64;
}

.header-turismo{
    background-color: #249AD8;
}

.header-estetica{
    background-color: #E73A8A;
}

.header-textil{
    background-color: #914897;
}

.header-construccion{
    background-color: #4B2C78;
}

.header-diseño{
    background-color: #E23249;
}

.header-informatica{
    background-color: #FAA719;
}

.header-capacitaciones{
    background-color: #A6CA34;
}

.carta ul{
  list-style: none;
  padding-left: 0;
}

.carta li{
  margin-bottom: 12px; /* da aire entre ítems */
  line-height: 1.4;
  padding-right: 16px;
}

.carta p{
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 12px;
  padding-left: 40px;
  margin-top: 0px;
  line-height: 1;
  color: #555555;
}

.carta details{
  cursor: pointer;
}

.carta summary{
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #555555;
  font-size: 14px;
  list-style: none;
  position: relative; /*RELATIVA A QUÉ*/
  padding-left: 40px;
}

summary::before {
  content: "+"; /*esto para agregar el ícono*/               
  position: absolute;
  left: 20px; /*chequear como moverlo a la derecha*/
  top: 0;
  font-weight: 300;
  color: #555;
  transition: transform 0.3s ease;
}

details[open] summary::before{
  content: "–"; 
}              

summary:hover {
  font-weight: 600;
}



#seccion-tres{
  height: 1000px;
  margin-top: 30px;
  justify-content:center;
  align-items:center;
  //background-color:red;
}


/* Contenedor externo del carrusel */
.carrusel {
  width: 800px; 
  height: 450px;              
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid #ddd;     
  border-radius: 35px;
}

/*Contenedor interno que se desplaza*/
.carrusel-inner {
  display: flex;
  width: 100%;         
  animation: mover 30s infinite ease-in-out;
  animation-timing-function: linear;
  will-change: transform; 
} /*LA QUE VA/*


/* Cada slide (imagen envuelta en un div) */
.slide {
  min-width: 100%;           /* cada slide ocupa el 100% del contenedor visible */
  margin: 0;
  padding: 0;
}

/* Imágenes dentro del slide */
.slide img {
  width: 800px;
  height: 450px;
  object-fit: cover;          /* ajusta la imagen sin deformar */
  display: block;
}

@keyframes mover {
  0%, 14%     { transform: translateX(0); }
  16%, 30%    { transform: translateX(-100%); }
  32%, 46%    { transform: translateX(-200%); }
  48%, 62%    { transform: translateX(-300%); }
  64%, 78%    { transform: translateX(-400%); }
  80%, 94%    { transform: translateX(-500%); }
} /*HASTA AHORA, ESTA ES LA QUE MEJOR VA, CON EL CARRUSEL-INNER SEÑALADO*, CORREGIR EL LOOP (VUELVE AL PRINCIPIO MARCHA ATRÁS*/

.sumate{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 45px;
  width: 550px;
  padding: 12px;
  background-color: #f7f7f7;
}
//columnas

p.txt-cta3{
  font-family: "Roboto Slab", serif;
  font-size: 24px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 0;
}

p.txt-cta4{
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #555555;
  margin-top: 0;
}

.video-container{
  position:relative;
  width:80%;
  max-width:800px;
  aspect-ratio:16/9; /* mantiene proporción del video */
}

.video-container iframe{
  position:relative;
  top:10px;
  left:auto;
  width:100%;
  height:100%;
  border-radius:12px;
}

#footer{
    height: 180px; 
    background-color: #333;
    color: #eee; 
    
}

.contenedor-footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;  
    gap: 20px;
    padding: 60px 120px 50px 120px;
}

.logo-footer{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -10px;
}

.logo-footer img{
    width: 250px;
    height: auto;
    display: block;
}

.logo-footer a:hover{
   color: #904897; /*porqué no funciona?*/
   transform: scale(1.05);
}

.copyright{
  flex: 1;                     
  text-align: center;
  justify-content: center;
}

.copyright p{
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 100;  
  line-height: 1.4;
}

.footer-social{
    display: flex;
    gap: 30px;
}

.footer-social a{
  color: #eee;
  display: inline-block;
  align-items: center;
  font-size: 1.2rem;
  transition: color 0.2s ease;  
  gap: 50px;
}

.footer-social i{
    font-size: 28px;
}

.footer-social a:hover{
  color: #904897;
  transform: scale(1.1);
}




/*INICIO RESPONSIVE DESIGN pantalla hasta 600px*/

@media all and (min-width:600px) and (max-width:1023px){
  header, section, footer{
    width: 580px;
    margin-left: auto;
    margin-right: auto;
  }

#header{
    height: auto ;
    position: sticky;
    top: 0;
    z-index: 1000;         
    background-color: white; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.barra-sup{
    background-color: #904897;
    height: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.barra-sup a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: "Roboto", sans-serif; 
    font-weight: 300;
    font-size: 12px;
    color: #ffffff;
    margin-left: auto;
    margin-right: auto; 
}

.barra-sup a:hover{
    font-weight: 450;
}

.barra-sup i {
  font-size: 12px;
}

.barra-sup i:hover{
    transform: scale(1.08);
}

.contenedor-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo img{
    height: 50px;
    margin-left: auto;
    display: block;
}

.barra-navegacion{
    background-color: #ffffff;
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px; 
    padding-right: auto;
}

.barra-navegacion a{
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #555555;
    border-bottom: 2px solid transparent;    
}

.barra-navegacion a:hover{
    font-weight: 500;
    border-bottom-color: currentColor  /*para ponerle bordecito en hover*/
}


#seccion-uno{
     height: 710px;
}

.contenedor-img img{
    width: 100%;
    height: 180px;
}

img::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
}

.contenedor-txt{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.contenedor-txt h1{
  color: #000000;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 35px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 0;    
  letter-spacing: 0.5px;
  margin-left: auto;
  margin-right: auto;
}

.contenedor-txt p{
    color: #555555;
    font-family: "Roboto", sans-serif;
    width: 500px;
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    margin-top: 10px;
}

.mas30{
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 45px;
  width: 450px;
  padding: 12px;
  background-color: #f7f7f7;
}

p.txt-cta{
  font-family: "Roboto Slab", serif;
  font-size: 20px;
  font-weight: 600;
  color: #904897;
  margin-bottom: 0;
}

p.txt-cta2{
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #555555;
  margin-top: 0;
}

.flecha-bajar {
  text-align: center;
  margin-top: 40px; 
}

.flecha-bajar i {
  font-size: 38px;     
  color: #d5d5d5;        
  animation: saltar 1.5s infinite;
}

@keyframes saltar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}


.boton-wpp{
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    border-radius: 50px;
    z-index: 100; /*todo esto para dejarlo fixed abajo*/
    box-shadow: 1px 1px 1px #ccc;
}

.boton-wpp img{
    width: 50px;
    height: 50px;
    border-radius: 50px;
}

.boton-wpp:hover {
  transform: scale(1.04);
}

/*seccion-uno responsive media listo*/

#seccion-dos{
  /*height: 720px;*/
  background-color: #f7f7f7;
}

h2{
    font-family: "Roboto", sans-serif;
    font-size: 25px;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-left: 40px;
    margin-bottom: 10px;    
    text-transform: uppercase;
}

.contenedor-cartas{
  align-items: start; 
  grid-template-columns: repeat(2, 250px); 
  gap: 15px;
  padding: 60px;
  padding-top: 20px;  
  margin: 0 auto;
  justify-content: center;
}

.carta{
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 10px;
  transition: transform 0.2s ease;
  height: auto;
}

.carta:hover {
  transform: scale(1.04);
}

.carta h3{
  height: 80px;
  margin-top: 0;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
}

.carta-header{ /*alinear los h3*/
    height: 40px;
    padding: auto;
    border-radius: 10px 10px 0 0;
    display: flex;
    text-align: center;
    justify-content: center;
}

.header-hoteleria{
    background-color: #224997;
}

.header-agropecuaria{
    background-color: #009E64;
}

.header-turismo{
    background-color: #249AD8;
}

.header-estetica{
    background-color: #E73A8A;
}

.header-textil{
    background-color: #914897;
}

.header-construccion{
    background-color: #4B2C78;
}

.header-diseño{
    background-color: #E23249;
}

.header-informatica{
    background-color: #FAA719;
}

.header-capacitaciones{
    background-color: #A6CA34;
}

.carta ul{
  list-style: none;
  padding-left: 0;
}

.carta li{
  margin-bottom: 12px; 
  line-height: 1.4;
  padding-right: 16px;
}

.carta p{
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 12px;
  padding-left: 40px;
  margin-top: 0px;
  line-height: 1;
  color: #555555;
}

.carta details{
  cursor: pointer;
}

.carta summary{
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #555555;
  font-size: 14px;
  list-style: none;
  position: relative;
  padding-left: 40px;
}

summary::before {
  content: "+";              
  position: absolute;
  left: 20px; 
  top: 0;
  font-weight: 300;
  color: #555;
  transition: transform 0.3s ease;
}

details[open] summary::before{
  content: "–"; 
}              

summary:hover {
  font-weight: 600;
}

/*seccion-dos responsive media listo*/

#seccion-tres{
  height: 800px;
  margin-top: 20px;
  align-iframe:center;
  content-items:center;
}

h2{
  font-family: "Roboto", sans-serif;
  font-size: 25px;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-left: 40px;
  margin-bottom: 10px;    
  text-transform: uppercase;
}

.carrusel {
  width: 500px; 
  height: auto;              
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid #ddd;     
  border-radius: 35px;
}

.carrusel-inner {
  display: flex;
  width: 100%;         
  animation: mover 30s infinite ease-in-out;
  animation-timing-function: linear;
  will-change: transform; 
}

.slide {
  min-width: 100%;           
  margin:0;
  padding: 0;
}

.slide img {
  width: 500px;
  height: auto;
  object-fit: cover;          
  display: block;
}

@keyframes mover {
  0%, 14%     { transform: translateX(0); }
  16%, 30%    { transform: translateX(-100%); }
  32%, 46%    { transform: translateX(-200%); }
  48%, 62%    { transform: translateX(-300%); }
  64%, 78%    { transform: translateX(-400%); }
  80%, 94%    { transform: translateX(-500%); }
} 

.sumate{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 45px;
  width: 450px;
  padding: 12px;
  background-color: #f7f7f7;
}

p.txt-cta3{
  font-family: "Roboto Slab", serif;
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 0;
}

p.txt-cta4{
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #555555;
  margin-top: 0;
}

/*seccion-tres responsive media listo*/

#footer{
    height: 250px; 
    background-color: #333;
    color: #eee;   
    margin-left: auto;
    margin-right: auto; 
}

.contenedor-footer{
    margin-left: auto;
    margin-right: auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-footer{
    display: block;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-footer img{
    width: 150px;
    height: auto;
    display: block;    
    margin-left: auto;
    margin-right: auto;    
}

.logo-footer a:hover{
   color: #904897; 
   transform: scale(1.05);
}

.copyright{
  text-align: center;
  justify-content: center;
}

.copyright p{
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 100;  
  line-height: 1.4;
}

.footer-social{
  display: flex;
  /*gap: 30px;*/
}

.footer-social a{
  color: #eee;
  display: inline-block;
  align-items: center;
  font-size: 1.2rem;
  transition: color 0.2s ease;  
  gap: 30px;
}

.footer-social i{
    font-size: 22px;
}

.footer-social a:hover{
  color: #904897;
  transform: scale(1.1);
}

}

/*FINALIZA EL FOOTER PANTALLA MEDIANA*/

/*COMIENZO RESPONSIVE PANTALLAS -599px*/

@media all and (max-width:599px){
  /*los anchos van al 100% para que se adapte a las pantallas y los altos en auto, el sticky lo reemplazamos por Relative*/

header, section, footer{
  width: 100%;
  }
  
#header{
    height: 100%;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

.barra-sup{
    background-color: #904897;
    height: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.barra-sup a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: "Roboto", sans-serif; 
    font-weight: 300;
    font-size: 12px;
    color: #ffffff;
    margin-left: auto;
    margin-right: auto; 
}

.barra-sup a:hover{
    font-weight: 450;
}

.barra-sup i {
  font-size: 12px;
}

.barra-sup i:hover{
    transform: scale(1.08);
}

.contenedor-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo img{
    height: 45px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.barra-navegacion{
    background-color: #ffffff;
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: auto;   
}

.barra-navegacion a{
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #555555;
    border-bottom: 2px solid transparent;    
}

.barra-navegacion a:hover{
    font-weight: 500;
    border-bottom-color: currentColor;  
}

/*header mobile listo*/
 
#seccion-uno {
     height: 700px;
}

.contenedor-img img{
    width: 100%;
    height: auto;
}

img::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
}

.contenedor-txt{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.contenedor-txt h1{
  color: #000000;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 32px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 0;    
  letter-spacing: 0.5px;
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
}

.contenedor-txt p{
    color: #555555;
    font-family: "Roboto", sans-serif;
    max-width: 400px;
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    margin-top: 10px;
    line-height: 1.5;
}

.mas30{
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 45px;
  width: 400px;
  padding: 12px;
  background-color: #f7f7f7;
}

p.txt-cta{
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  font-weight: 600;
  color: #904897;
  margin-bottom: 0;
}

p.txt-cta2{
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #555555;
  margin-top: 0;
}

.flecha-bajar {
  text-align: center;
  margin-top: 40px; 
}

.flecha-bajar i {
  font-size: 38px;     
  color: #d5d5d5;        
  animation: saltar 1.5s infinite;
}

@keyframes saltar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}


.boton-wpp{
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    border-radius: 50px;
    z-index: 100; 
    box-shadow: 1px 1px 1px #ccc;
}

.boton-wpp img{
    width: 50px;
    height: 50px;
    border-radius: 50px;
}

.boton-wpp:hover {
  transform: scale(1.04);
}

/*seccion-uno mobile lista*/

#seccion-dos{
  /*height: 720px;*/
  background-color: #f7f7f7;
}

h2{
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-left: 60px;
    margin-bottom: 10px;    
    text-transform: uppercase; 
}

.contenedor-cartas{
  align-items: start; /*esto hace que cada carta adapte su altura al contenido*/
  display: grid;
  grid-template-columns: 1fr; 
  gap: 20px;
  padding: 50px;
}

.carta{
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  transition: transform 0.2s ease;
  height: auto;
  width: 100%;
  max-width: 100%;
}

.carta:hover {
  transform: scale(1.04);
}

.carta h3{
  height: 80px;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 18px;
  text-align: left;
  padding-top: 50px; /*para que queden centrados, porque no anda con align items*/
}

.carta-header{
    height: 40px;
    padding: auto;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: left;
    align-items: center;
}

.header-hoteleria{
    background-color: #224997;
}

.header-agropecuaria{
    background-color: #009E64;
}

.header-turismo{
    background-color: #249AD8;
}

.header-estetica{
    background-color: #E73A8A;
}

.header-textil{
    background-color: #914897;
}

.header-construccion{
    background-color: #4B2C78;
}

.header-diseño{
    background-color: #E23249;
}

.header-informatica{
    background-color: #FAA719;
}

.header-capacitaciones{
    background-color: #A6CA34;
}

.carta ul{
  list-style: none;
  padding-left: 0;
}

.carta li{
  margin-bottom: 12px; 
  line-height: 1.4;
  padding-right: 16px;
}

.carta p{
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 14px;
  padding-left: 40px;
  margin-top: 0px;
  line-height: 1.4;
  color: #555555;
}

.carta details{
  cursor: pointer;
}

.carta summary{
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #555555;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-left: 40px;
}

summary::before {
  content: "+";              
  position: absolute;
  left: 20px; 
  top: 0;
  font-weight: 300;
  color: #555;
  transition: transform 0.3s ease;
}

details[open] summary::before{
  content: "–"; 
}              

summary:hover {
  font-weight: 600;
}

/*seccion-dos mobile lista*/

#seccion-tres{
  height: 700px;
  margin-top: 50px;
}

h2{
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-left: 60px;
  margin-bottom: 10px;    
  text-transform: uppercase;
}

.carrusel {
  width: 400px; 
  height: auto;              
  overflow: hidden;
  margin: 40px auto 0 auto;
  border: 2px solid #ddd;     
  border-radius: 35px;
}

.carrusel-inner {
  display: flex;
  width: 100%;         
  animation: mover 30s infinite ease-in-out;
  animation-timing-function: linear;
  will-change: transform; 
}

.slide {
  min-width: 100%;          
  margin: 0;
  padding: 0;
}

.slide img {
  width: 400px;
  height: auto;
  object-fit: cover;          
  display: block;
}

@keyframes mover {
  0%, 14%     { transform: translateX(0); }
  16%, 30%    { transform: translateX(-100%); }
  32%, 46%    { transform: translateX(-200%); }
  48%, 62%    { transform: translateX(-300%); }
  64%, 78%    { transform: translateX(-400%); }
  80%, 94%    { transform: translateX(-500%); }
} 

.sumate{
 
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 45px;
  width: 400px;
  padding: 12px;
  background-color: #f7f7f7;
}

p.txt-cta3{
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 0;
}

p.txt-cta4{
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #555555;
  margin-top: 0;
}

/*seccion-tres mobile terminada*/
#seccion-cuatro{
  height:300px;
  margin-top:10px;
}

#footer{
  height: 300px; 
  background-color: #333;
  color: #eee;   
  margin-left: auto;
  margin-right: auto; 
}

.contenedor-footer{
  margin-left: auto;
  margin-right: auto; 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.logo-footer{
  display: block;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.logo-footer img{
  width: 150px;
  height: auto;
  display: block;    
  margin-left: auto;
  margin-right: auto;    
}

.logo-footer a:hover{
  color: #904897; /*porqué no funciona?*/
  transform: scale(1.05);
}

.copyright{
  text-align: center;
  justify-content: center;
}

.copyright p{
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 100;  
  line-height: 1.2;
}

.footer-social{
  display: flex;
}

.footer-social a{
  color: #eee;
  display: inline-block;
  align-items: center;
  font-size: 1.2rem;
  transition: color 0.2s ease;  
  gap: 30px;
}

.footer-social i{
    font-size: 24px;
}

.footer-social a:hover{
  color: #904897;
  transform: scale(1.1);
}

/*FINALIZA EL FOOTER MOBILE*/
}



/*PROBAR PONER TODO EL BLANK EN OTRO CSS, CON SUS RESPONSIVES*/


