@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Geist', sans-serif;
}

html{
    scroll-behavior: smooth;
}

p{
    line-height: 1.5;
}

#navbar{
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 65px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 50px;

    background: rgba(255,255,255,1);
    border-bottom: 1px solid rgb(245,244,244);

    transition:
        background .3s ease,
        box-shadow .3s ease,
        backdrop-filter .3s ease;

    z-index:1000;
}


#home{
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    background: #fff;
}
#home::before{

    content:"";

    position:absolute;

    width:1300px;
    height:900px;

    right:-350px;
    top:-180px;

    background:
    radial-gradient(circle,
        rgba(47,91,255,.12) 0%,
        rgba(47,91,255,.06) 55%,
        transparent 75%);

    border-radius:50%;

    z-index:0;
}


#menu{
    display:flex;
    align-items:center;
    gap:25px;
    color: black;
    text-decoration: none;
}

#menu a{
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

#menu a:hover{
    color: #2563EB;
}

#menu a.active{
    color:#2563EB;
    font-weight:700;
}

#demo,
#demo2{
    background-color: rgb(52, 52, 209);
    color: white;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgb(210, 210, 210);

}

#demo:hover,
#demo2:hover{

    transform:translateY(-2px);

    box-shadow:
        0 12px 24px rgba(37,99,235,.25);

}
#conocer{
    background-color: white;
    color: rgb(52, 52, 209);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgb(210, 210, 210);
    margin-left: 15px;
}
#conocer:hover{

    background:#2563EB;

    color:white;

    transform:translateY(-2px);

    box-shadow:
        0 12px 24px rgba(37,99,235,.18);

}

#logo{
    padding-top: 7px;
    align-content: start;

}

#introduction{
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px;
    border-bottom: 2px solid rgb(245, 244, 244);
}

#intl{
    width:40%;
    padding:10px;
    margin-left: 40px;
}

.inl a{
    padding: 15px;
    text-decoration: none;
    font-size: 14px;
}

.inl{
    padding: 15px;
    text-decoration: none;
}
.destacar{
    color: rgb(52, 52, 209);
}
#inl2{
    padding: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
#text1{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
#text2{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
#text3{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
#inr{
    display: flex;
    width: 50%;
    margin-top: 5px; 
    justify-content: center;
}

#inr img{
    border-radius: 12px;
    align-content: end;
}

#resume{
    display: flex;
    width: 100%;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    margin-top: 30px;
}
#resume1{
    display: flex;
    justify-content: space-around;
    border-bottom: 2px solid rgb(245,244,244);

}
.resum{
    font-size: 13px;
    padding: 10px;
    margin-top: 10px;
    width: 250px;
    min-height: 130px;
    display: flex;

    border: 2px solid rgb(245,244,244);
    border-radius: 16px;

    margin-bottom:30px;

    transition:
        transform .30s ease,
        box-shadow .30s ease,
        border-color .30s ease;

}

.resum:hover{

    transform:translateY(-8px);

    border-color:#dbeafe;

    box-shadow:
        0 15px 35px rgba(0,0,0,.08);

}

#platform{
    padding-top: 40px;
    width:100%;
    min-height:600px;
    display:flex;
    flex-direction: column;
    text-decoration: none;

    background-image: url("img/fondo-platform.png");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

#encabezado-pl{
    width:80%;
    height:30%;
    padding: 30px;
    padding-bottom: 0px;
    margin-left: 30px;
    display:flex;
    flex-direction: column;
}
.slinea{
    display: block;
    line-height: 1;
}
#tarjetas{
    width:100%;
    height:70%;
    padding:60px;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    grid-auto-rows:auto;
    align-content:center;
    gap:10px;
}
.elementos{
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 16px;
    border: 2px solid rgb(245, 244, 244);
    box-shadow:0 2px 8px rgba(0,0,0,.03);
    gap: 40px;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}
.elementos:hover{

    transform:translateY(-8px);

    border-color:#dbeafe;

    box-shadow:
        0 18px 40px rgba(0,0,0,.08);

}
.top{
    display: flex;
    gap: 20px;
}
.items-bottom{
    display: flex;
    align-items: center;
    margin-left: 20px;
    gap: 10px;
}
#us{
    padding-top: 25px;
    width:100%;
    min-height:485px;
    display:flex;
    flex-direction: column;
    text-decoration: none;
    border-top: 2px solid rgb(245, 244, 244);
    border-bottom: 2px solid rgb(245, 244, 244);

    background-color: rgba(47,91,255,.08);
}

#encabezado-us{
    width:100%;
    height:40%;
    padding: 40px;
    display:flex;
    flex-direction: column;
    text-align: center;
}

#tarjetas-us{
    width:100%;
    height:60%;
    display: flex;
    margin-bottom: 40px;
    justify-content: center;
}
.elementos-us{
    width: 350px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    padding-top: 10px;
    text-align: center;
    gap: 10px;
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.elementos-us:hover{

    transform:translateY(-6px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.06);

}

.elementos-us:not(:first-child) {
  border-left: 2px solid rgb(245, 244, 244);
}
#contact{
    width:100%;
    min-height:450px;
    display:flex;
    flex-direction: column;
    text-decoration: none;
    border-top: 2px solid rgb(245, 244, 244);
    border-bottom: 2px solid rgb(245, 244, 244);

    background:

    linear-gradient(
        180deg,
        white,
        #fbfcff);
}
#encabezado-cont{
    width:100%;
    height:40%;
    padding: 40px;
    display:flex;
    flex-direction: column;
    text-align: center;
}
#tarjetas-cont{
    width:100%;
    height:40%;
    display: flex;
    margin-bottom: 40px;
    justify-content: center;
    gap: 10px;

}
.elementos-cont{
    width: 350px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 2px solid rgb(245, 244, 244);
    border-radius: 16px;
    font-size: 13px;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}
.elementos-cont:hover{

    transform:translateY(-6px);

    border-color:#dbeafe;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}
.item-bottom-cont{
    display: flex;
    margin-top: 25px;
    justify-content: center;
}
.item-bottom-cont button{
    width: 100%;
    max-width:260px;
    height: 30px;
    border: 2px solid rgb(37, 211, 102);
    border-radius: 5px;
    background-color: transparent;
    color: rgb(37, 211, 102);
    font-weight: bold;

    transition:
        background-color .3s ease,
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.item-bottom-cont button:hover{

    background-color:rgb(37,211,102);

    color:white;

    transform:translateY(-2px);

    box-shadow:0 12px 24px rgba(37,211,102,.30);

}
#end-cont{
    width:100%;
    height:20%;
    text-align: center;
}
#footer{
    width: 100%;
    min-height: 170px;
    border-top: 2px solid rgb(245, 244, 244);
    background-color: rgb(11, 31, 51);
    color: rgb(255, 255, 255);
}
#footer p,
#footer a{
    color: rgb(200, 200, 200);
    text-decoration: none;

}
#footer a:hover{
    color: #2563EB;
}
#footer-top{
    display: flex;
    width: 100%;
    height: 80%;
    padding: 20px;
}
#footer-bottom{
    width: 100%;
    height: 20%;
    padding: 8px;
    text-align: center;
    align-content: center;
    font-size: 14px;

}
#elementos-footer1{
    width: 40%;
    height: 100%;
    padding: 20px;
}
.elementos-footer{
    display: flex;
    width: 20%;
    height: 100%;
    flex-direction: column;
    gap: 5px;
}
#elementos-footer2{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    height: 100%;
    gap: 10px;
}

#hamburger{
    display:none;
    font-size:30px;
    cursor:pointer;
    user-select:none;
}

/* ========================= */

@media (max-width: 1199px){

    #navbar{
        padding: 0 25px;
    }

    #menu{
        gap:15px;
    }

    #introduction{
        flex-direction: column;
        align-items: center;
        gap:40px;
    }

    #intl{
        width:90%;
        margin-left:0;
    }

    #inr{
        width:90%;
        margin:0;
        display:flex;
        justify-content:center;
    }

    #inr img{
        width:100%;
        height:auto;
    }

    #resume1{
        flex-wrap:wrap;
        justify-content:center;
    }

    .resum{
        width:300px;
    }

    #platform{
        height:auto;
    }

    #encabezado-pl{
        width:100%;
        margin:0;
        padding:40px;
    }

    #tarjetas{
        padding:40px;
        grid-template-columns:repeat(2,1fr);
    }

    #us{
        height:auto;
    }

    #tarjetas-us{
        flex-wrap:wrap;
    }

    .elementos-us{
        width:50%;
        border:none !important;
    }

    #contact{
        height:auto;
    }

    #tarjetas-cont{
        flex-wrap:wrap;
    }

    .elementos-cont{
        width:45%;
    }

    #footer{
        height:auto;
    }

}

/* ========================= */

@media (max-width:767px){

    #navbar{

        position:fixed;

        top:0;
        left:0;

        width:100%;

        height:65px;

        padding:0 20px;

        justify-content:space-between;

        background:white;

        z-index:1000;

    }

    #hamburger{

        display:block;
    }
    #menu{
        display: flex;
        flex-direction: column;

        position: absolute;

        top: 65px;
        left: 0;

        width: 100%;

        background: white;

        padding: 25px;

        gap: 20px;

        border-top: 1px solid rgb(240,240,240);

        box-shadow: 0 10px 20px rgba(0,0,0,.08);

        z-index: 999;

        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;

        transition:
            transform .35s ease,
            opacity .35s ease,
            visibility .35s;
    }

    #menu.active{
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    #introduction{

        flex-direction:column;

        padding:20px;

    }

    #intl{

        width:100%;

        margin:0;

        padding:0;

    }

    #inr{

        width:100%;

        margin:0;

    }

    #inr img{

        width:100%;

        height:auto;

    }

    #inl2{

        flex-direction:column;

        gap:20px;

    }

    #resume{

        padding: 20px;
        font-size:14px;

    }

    #resume1{

        flex-direction:column;

        align-items:center;

    }

    .resum{

        width:100%;

        max-width:350px;

    }

    #encabezado-pl{

        width:100%;

        margin:0;

        padding:20px;

    }

    #tarjetas{

        padding:20px;

        grid-template-columns:1fr;

    }

    #tarjetas-us{

        flex-direction:column;

        align-items:center;

    }

    .elementos-us{

        width:100%;

        border:none !important;

    }

    #tarjetas-cont{

        flex-direction:column;

        align-items:center;

    }

    .elementos-cont{

        width:95%;

    }

    .item-bottom-cont button{

        width:100%;

    }

    #footer-top{
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    }

    #elementos-footer1{
        padding: 0;
        width: 100%;
    }

    .elementos-footer{
        width: 100%;
        text-align: left;
    }

    #elementos-footer2{
        width: 100%;
        text-align: left;
    }

    #social-media{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 20px;
        margin-top: 15px;
    }

}

/*Animaciones*/
/*animaciones home*/
.hero-title,
.hero-description,
.hero-buttons,
.hero-benefits,
.hero-image{
    opacity: 0;
}

.hero-title{
    animation: fadeUp 0.7s ease forwards;
    animation-delay: 0s;
}


.hero-description{
    animation: fadeUp 0.7s ease forwards;
    animation-delay: 0.15s;
}


.hero-buttons{
    display: flex;
    animation: fadeUp 0.7s ease forwards;
    animation-delay: 0.30s;
    flex-wrap: wrap;
    gap: 15px;
}
#conocer{
    margin-left: 0;
    width: fit-content;
    break-before: always;
}

.hero-benefits{
    animation: fadeUp 0.7s ease forwards;
    animation-delay: 0.45s;
}

.hero-image{
    animation: fadeRight 0.8s ease forwards;
    animation-delay: 0.25s;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

@keyframes fadeRight{

    from{
        opacity:0;
        transform:translateX(80px);
    }

    to{
        opacity:1;
        transform:translateX(0);
    }

}

/*animacion scroll menu*/

#navbar.scrolled{
    background: rgba(255,255,255,.85);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

/*animacion tarjetas*/
.reveal{

    opacity:0;
    transform:translateY(30px);

    transition:
        opacity .6s ease,
        transform .6s ease;

}

.reveal.visible{

    opacity:1;
    transform:translateY(0);

}

#resume1 .resum:nth-child(1){
    transition-delay:0s;
}

#resume1 .resum:nth-child(2){
    transition-delay:.08s;
}

#resume1 .resum:nth-child(3){
    transition-delay:.16s;
}

#resume1 .resum:nth-child(4){
    transition-delay:.24s;
}

#resume1 .resum:nth-child(5){
    transition-delay:.32s;
}

/*animaciones platform*/
/*encabezado*/
.platform-header{
    transition-delay: .1s;
}

/*tarjetas*/
.platform-card:nth-child(1){
    transition-delay:.15s;
}

.platform-card:nth-child(2){
    transition-delay:.23s;
}

.platform-card:nth-child(3){
    transition-delay:.31s;
}

.platform-card:nth-child(4){
    transition-delay:.39s;
}

.platform-card:nth-child(5){
    transition-delay:.47s;
}

.platform-card:nth-child(6){
    transition-delay:.55s;
}
/*animaciones us*/

.us-header{
    transition-delay: .1s;
}

.us-card:nth-child(1){
    transition-delay: .15s;
}

.us-card:nth-child(2){
    transition-delay: .25s;
}

.us-card:nth-child(3){
    transition-delay: .35s;
}
/*animaciones contact*/
.contact-header{
    transition-delay: .1s;
}

.contact-card:nth-child(1){
    transition-delay: .15s;
}

.contact-card:nth-child(2){
    transition-delay: .25s;
}

.contact-card:nth-child(3){
    transition-delay: .35s;
}

.contact-footer{
    transition-delay: .45s;
}

/*animacion de botones*/
button{

    cursor:pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease;

}

button:focus-visible{

    outline:none;

    box-shadow:
        0 0 0 4px rgba(37,99,235,.20);

}
.item-bottom-cont button:active{

    background:transparent;
    color:#25D366;

    transform:translateY(0);

    box-shadow:none;

}
#demo:active,
#demo2:active{

    background:#1d4ed8;

    transform:translateY(0);

    box-shadow:none;

}
#conocer:active{

    background:white;

    color:#2563EB;

    transform:translateY(0);

    box-shadow:none;
}

/*iconos*/

.resum i{
    width:55px;
    height:55px;
    background:#EEF2FF;
    border-radius:14px;

    display:flex;
    justify-content:center;
    align-items:center;

    margin:0 auto 18px auto;
}

.resum svg{
    width:55px;
    height:55px;

    background:#EEF2FF;
    border-radius:14px;

    padding:13px;

    stroke:#4F6BFF;
}
.items-top{
    display:flex;
    align-items:center;
    justify-content:center;
}
.items-top svg{
    width:50px;
    height:50px;

    background:#EEF2FF;
    border-radius:14px;

    padding:10px;

    stroke:#4F6BFF;
    stroke-width:2;
}
.icon-small{
    padding-top: 2px;
    width: 12px;
}

.icon-small svg{
    width:15px;
    height:15px;
    stroke:#4F6BFF;
}
.bottom{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-us svg{
    width:60px;
    height:60px;

    background: rgba(47,91,255,.08);
    border-radius:100%;
    padding: 10px;

    stroke:#4F6BFF;
}

.item-top svg{
    width:65px;
    height:65px;

    background:#EEF2FF;
    border-radius:14px;
    padding:12px;

    stroke:#4F6BFF;
}

.item-top .fa-whatsapp{
    font-size:45px;
    color:#25D366;

    background:#25d3651b;
    padding:12px;
    border-radius:14px;
}
#social-media{
    display: flex;
    gap: 40px;
}

#social-media .item-foot2{
    width:42px;
    height:42px;

    display:flex;
    justify-content:center;
    align-items:center;

    border:2px solid #fff;
    border-radius:50%;

    color:#fff;
    text-decoration:none;

    transition:all .3s ease;
}

#social-media .item-foot2 i{
    font-size:18px;
}

#social-media .item-foot2:hover{
    background:#fff;
    color:#4F6BFF;
    transform:translateY(-3px);
}
#end-logo img{
    border-radius: 12px;
}
#text1 svg,
#text2 svg,
#text3 svg{
    stroke: rgb(52, 52, 209);
}
.bottom-values {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.items-bottom-values {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

.diamond-values {
    font-size: 14px;
    color: #2563eb;
    width: 16px;
    min-width: 16px;
}

.item-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}