@import url("shared.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
}

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo {
    color: #242551;/*#642a73*/
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/* Header */

.hero-header {
    width: 100%;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(36, 37, 81, 0.76), rgba(240, 240, 242, 0.08)), url(../imagenes/imgPersona/Curriculum.png);
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 7, 24, 0.2), rgba(6, 7, 24, 0.28));
}

.hero-header .textos-header{
    position: relative;
    display: flex;
    height: 430px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
}

.textos-header h1{
    font-size: clamp(2.2rem, 4.6vw, 3.3rem);
    color:#fff;
    line-height: 1.1;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.textos-header h2{
    font-size: clamp(1.7rem, 3.9vw, 2.8rem);
    font-weight: 300;
    color:#fff;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* About us */

main .sobre-nosotros{
    padding: 48px 0 68px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}
.contenedor-sobre-nosotros{
    display: flex;
    justify-content: space-evenly;
    gap: 28px;
}

.imagen-about-us{
    width: 48%;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
}

.sobre-nosotros .contenido-textos{
    width: 48%;
}

.contenido-textos h3{
    margin-bottom: 15px;
    color: var(--color-primary);
    font-size: 1.05rem;
}

.contenido-textos h3 span{
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 8px 18px rgba(36, 37, 81, 0.2);
    margin-right: 5px;
}

.contenido-textos p{
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
    line-height: 1.75;
}

/* Galeria */


.portafolio{
    background: linear-gradient(180deg, #f7f8fb 0%, #eef0f6 100%);
    padding: 8px 0 30px;
}

.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 18px;
}

.imagen-port{
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    border-radius: 18px;
}

.imagen-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: linear-gradient(180deg, rgba(36, 37, 81, 0.15), rgba(36, 37, 81, 0.72));
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img{
    width: 50px;
}

.hover-galeria p{
    color: #fff;
}

.imagen-port:hover .hover-galeria{
    transform: scale(1);
}

/* Clients */

.cards{
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
}

.cards .card{
    background: linear-gradient(180deg, #4d4d5c 0%, #3f4155 100%);
    display: flex;
    width: 46%;
    height: 200px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.cards .card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: block;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.cards .card > .contenido-texto-card{
    width: 60%;
    color: #fff;
}

.cards .card > .contenido-texto-card p{
    font-weight: 300;
    padding-top: 5px;
}

/*  Our team */

.about-services{
    background: linear-gradient(180deg, #f7f8fb 0%, #eef0f6 100%);
    padding-bottom: 36px;
}


.servicio-cont{
    display:flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
}

.servicio-ind{
    width: 28%;
    text-align: center;
    padding: 20px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-soft);
}

.servicio-ind img{
    width: 90%;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.servicio-ind h3{
    margin: 10px 0;
}

.servicio-ind p{
    font-weight: 300;
    text-align: justify;
    line-height: 1.7;
}

/*ICONOS*/
#iconos{
    padding: 0px 50px 10px;
    background: linear-gradient(180deg, rgba(77, 77, 92, 0.92), rgba(36, 37, 81, 0.96));
    margin-top: 56px;
}
.contenido-iconos{
    padding: 50px 28px 20px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 16px;
}
.contenido-iconos div{
    flex: 1;
    margin: 20px 0px;
    border-right: 1px solid rgba(255,255,255,0.14);
    padding: 18px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.contenido-iconos div:hover{
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
}
#icono-mobile{
    border: none;
}
.contenido-iconos div i{
    color: var(--color-accent);
}
.contenido-iconos div h6{
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0px;
}
.contenido-iconos div p{
    color: rgba(255,255,255,0.55);
    font-size: 15px;
    line-height: 1.6;
}
.boton-iconos{
    text-align: center;
    padding-bottom: 50px;
}

/*boton saber más*/
.boton-saber-mas{
    display: inline-flex;/*propiedad para que no se sobreponga ensima de las demas letras*/
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-primary);
    padding: 11px 24px;
    border: 1px solid rgba(108, 193, 145, 0.6);
    border-radius: 999px;
    margin-top: 15px;
    transition: all 0.25s ease;
    background: linear-gradient(135deg, rgba(108, 193, 145, 0.12), rgba(108, 193, 145, 0.05));
    box-shadow: 0 10px 18px rgba(36, 37, 81, 0.06);
    font-weight: 700;
}
.boton-saber-mas:hover{
    background: #6cc091;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 22px rgba(108, 193, 145, 0.24);
}
.boton-saber-mas{
    display: inline-flex;/*propiedad para que no se sobreponga ensima de las demas letras*/
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-primary);
    padding: 11px 24px;
    border: 1px solid rgba(108, 193, 145, 0.6);
    border-radius: 999px;
    margin-top: 15px;
    transition: all 0.25s ease;
    background: linear-gradient(135deg, rgba(108, 193, 145, 0.12), rgba(108, 193, 145, 0.05));
    box-shadow: 0 10px 18px rgba(36, 37, 81, 0.06);
    font-weight: 700;
}
.boton-saber-mas:hover{
    background: #6cc091;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 22px rgba(108, 193, 145, 0.24);
}



/*FOOTER*/
footer{
    background: #4d4d5c;/*#4d4d5c*/
    color: rgba(255, 255, 255, 0.52);/*#cccccc4a*/
    text-align: center;
    padding: 16px 0px;
    letter-spacing: 0.04em;
}
/*WHATSHAP*/
.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;/*#242551*/
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
  z-index:100;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.float:hover {
	text-decoration: none;
	color: #25d366;
  background-color:#fff;
    transform: translateY(-3px);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.22);
}

.my-float{
	margin-top:16px;
}

@media screen and (max-width:900px){
    .hero-header{
        background-position: center;
    }

    .contenedor-sobre-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos{
        width: 90%;
    }

    .imagen-about-us{
        width: 90%;
    }

    /* Galeria */

    .imagen-port{
        width: 44%;
    }

    /* Clientes */

    .cards{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cards .card{
        width: 90%;
        height: auto;
    }

    .cards .card:first-child{
        margin-bottom: 30px;
    }

    /* servicios */

    .servicio-cont{
        justify-content: center;
        flex-direction: column;
    }

    .servicio-ind{
        width: 100%;
        text-align: center;
    }

    .servicio-ind:nth-child(1), .servicio-ind:nth-child(2){
        margin-bottom: 60px;
    }

    .servicio-ind img{
        width: 90%;
    }

    .contenido-iconos{
        flex-direction: column;
    }

    .contenido-iconos div{
        border: none;
    }
}

@media screen and (max-width:500px){
    .hero-header .textos-header h1{
        font-size: 35px;
    }

    .hero-header .textos-header h2{
        font-size: 20px;
    }

    /* ABOUT US */

    .imagen-about-us{
        margin-bottom: 60px;
        width: 99%;
    }

    .sobre-nosotros .contenido-textos{
        width: 95%;
    }

    /* Galeria */

    .imagen-port{
        width: 95%;
    }

    /* Clients */

    .cards .card{
        height: 450px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards .card img{
        width: 90px;
        height: 90px;
    }

    /* Footer */

    .contenedor-footer{
        flex-direction: column;
        border: none;
    }

    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }

    .content-foo h4{
        border: none;
    }

    .content-foo p{
        color: #ccc;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }

    .titulo-final{
        font-size: 20px;
    }
}

/*desde aqui revisar*/
/*RESPONSIVE*/
/*tabled*/
@media(max-width: 768px){
    /*header*/
    .mostrar-menu,
    .esconder-menu{
        display: block;
    }
    .menu{
        position: fixed;
        width: 100%;
        height: 100vh;
        background:#242551;/*#4d4d5c*/
        /*left: 0;*/
        right: -100%;/*volvemos a agregar esto*/
        top: 0;
        text-align: center;
        padding: 100px 0px;
        z-index: 100;
        transition: 0.8s;
    }
    .menu a{
        display: block;
        padding: 20px;
    }
    .esconder-menu{
        position: absolute;
        top: 40px;
        right: 40px;
    }
    #check:checked ~ .menu{
        right: 0;
    }
    /*BANNER*/
    .carousel-item {
        transition: opacity 1s;
        height: 300px;
        
    }
    .content {
        flex-direction: column;
        text-align: center;
    }

    .image, .text {
        padding: 10px;
    }


    /*PERSONAS*/
    #personas{
        flex-direction: column;
        padding: 0px 50px;
    }

    .mapa iframe {
        max-width: 600px; /* Ancho máximo del mapa en tablet */
      }

    /*ICONOS*/
    .contenido-iconos{
        flex-direction: column;
    }
    .contenido-iconos div{
        border: none;
    }
    /*.'FORMULARIO*/
    .datos-form{
        flex-direction: column;
    }

    .service {
        width: calc(50% - 20px); /* Dos servicios por fila en tablet */
    }

    

    
}


@media screen and (max-width: 480px) {
    .service {
        width: calc(100% - 20px); /* Un servicio por fila en móvil */
    }
    .mapa iframe {
        max-width: 400px; /* Ancho máximo del mapa en móvil */
      }
}

