:root {

    --fondo: #edeee9;
    --verde_Claro: #99cb3a;
    --verde_Oscuro: #1d3b38;
    --naranja_oscuro: #fb7a00;
    --negro_oscuro:#212116
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
 /*   border: 1px solid red;*/
    font-family: "Roboto", sans-serif;
    
}

body {
    background-color: var(--fondo);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.totalBody {

    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
 
}

.section_1, .section_2,.section_3, .section_4   {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;
}

.logo_menu_dinamico {
    width: 250px;
    height: auto;
}

.contAccion {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.ilustracion_menu_dinamico {
    width: 50%;
    height: auto;
}

h1 {

    font-size: 3rem;
    font-weight: 600;
}

.strong_h1 {
    color: var(--verde_Claro);
    font-weight: 900;

}

.accionInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
       transform: translateY(-30px);

}

button {

    border: 0;
    background-color: var(--verde_Oscuro);
    font-size: 15px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 8px;
    color: var(--fondo);

}

button:hover {
    scale: 1.1;

}

button:active {
    background-color: var(--naranja_oscuro);
}
/*-------------------section_2-------------------*/

.section_2{
    background-color: var(--verde_Oscuro);
    width: 100%;
}

.section_2_conInfo{
    text-align: center;
    width: 50%;
}
h2{
  color: var(--verde_Claro);
    font-size: 3.3rem;
    font-weight: 600;
    padding: 0px 10px;
}

.section_2_P{
    color: var(--fondo);
    font-size: 1.5rem;
}

.contCard{
    display: flex;
    gap: 2rem;
        flex-wrap: wrap;
    justify-content: center;
}
.card{
    width: 270px;
    height:320px;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1rem;
    background-color: var(--fondo);
    box-shadow: 5px 5px 30px var(--negro_oscuro);
}
.card:hover{
    scale: 1.1;

}
.logo_productos{
    width: 170px;
}
h3{
    font-size: 18px;
    text-align: center;
    flex-grow: 1;   /* 🔥 clave */
    margin-top: 10px;
    font-weight: 400;
}

.card button{
    margin-top: auto; /* 🔥 clave para empujarlo abajo */
}

/*-------------section_3----------------------*/


.section_3_H2{
    color: var(--naranja_oscuro);
    text-align: center;


}

.section_3_img{
    max-width: 400px;
    height: auto;
}
.section_3_info{
    width: 40%;
        display: flex;
    flex-direction: column;
    justify-content: space-around;
      
}
.section_3_contInfo{
    display: flex;

    justify-content: center;
      flex-wrap: wrap;
        gap: 2rem;
}
.section_3_text{
    display: flex;
    gap: 1rem;
    width: 80%;
    align-items: center;
    font-size: 15px;
    
}

.section_3_text img{
    width: 150px;
    height: auto;
    display: block;
}

ul{
    
    
    font-weight: 800;
         display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 1rem;

}


li{
color: var(--naranja_oscuro);
font-size: 20px;
}

.checklist {
    list-style: none; /* Saca los puntos */
    padding-left: 0;
}

.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--verde_Claro); /* Verde */
    font-weight: bold;
    
}
/*------------------------section_4-------------------*/

.section_4{
    background-color: var(--verde_Claro);
     width: 100%;

}

.section_4 h2{
    color: var(--verde_Oscuro);
}


.contTotalPersonaje_info{
    display: flex;

    flex-wrap: wrap;
    justify-content: center;
}

.contPersonajes{
    display: flex;
    justify-content: center;
    gap: 3rem;
        margin-top: 2rem;
        flex-wrap: wrap;

         

}

.Section_4_accion{

    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
        align-items: center;
    transform: translateY(-5px);
}
.accion_tex{
    display: flex;
    flex-direction: column;
    align-items:flex-start

}
.accion_tex h3{
    flex-grow: 0;
    font-size: 25px;
    font-weight: 800;
    color: var(--verde_Oscuro);

}


.personaje{
   
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.dialogo{
    width: 200px;
    height: auto;
}

.personaje_logo{
    width: 80px;
    height: auto;
}

.dialogo{
   transform: translateY(-80px);
}


/*-----------------*/
.contPersonajes{
  position: relative;
  height: 241px; /* ajustalo a tu diseño */
  width: 400px;
}

.personaje {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  transform: translateX(-120px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.personaje.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animaciones internas */

.personaje_logo{
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s ease;
}

.dialogo {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s ease 0.3s; /* delay de 0.3s */
}

.personaje.active .personaje_logo {
  opacity: 1;
  transform: translateY(0);
}

.personaje.active .dialogo {
  opacity: 1;
  transform: translateY(0);
}

footer{
    padding:3rem 0;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
footer img{
    width: 150px;
    height: auto;
}

footer p{
    text-align: center;
      color: var(--verde_Oscuro);
}


.contContacto{
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;

}

.estudio img{
    width: 45px;
    height: auto;
}

.dinamico img {
     width: 100px;
    height: auto;
    padding-bottom: 6px;
}

.dinamico, .estudio{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.linea{
    width: 2px;
    height: 134px;
    background-color: var(--verde_Oscuro);
}



.contRedes{
    display: flex;
    gap: 0.5rem;
}


.icono1{

     color: var(--verde_Oscuro)  !important;
    font-size: 25px;
}
@media(max-width:630px){

    
.ilustracion_menu_dinamico{
    width: 65%;
}

    h2{
        text-align: center;
        font-size: 2.5rem;
    }
    .section_3_info {
        width: 90%;
                align-items: center;
        gap: 2rem;
        padding-top: 2rem;
    
    }

    .section_3_img{
    max-width: 290px;
    height: auto;
}


.contPersonajes{
  
  gap:  5rem;
       

}

.contTotalPersonaje_info{
   flex-direction: column-reverse;
}
h1{
  font-size: 2.5rem;
}

.section_2_conInfo

 {
   
    width: 90%;
}


.section_2_conInfo

 {
   
    width: 90%;
}

.section_4 {
    gap: 1rem;
}

footer{
    width: 300px;
}

}

