/*==================================
      ESTILO CSS INDEX
==================================*/



/* ===========================
        RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{

    background:#ffffff;

    color:var(--texto);

    font-family:"Poppins",sans-serif;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;
    color:inherit;

}

section{

    width:90%;
    max-width:1300px;
    margin:auto;

}

/* ===========================
          HERO
=========================== */

.hero{

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:60px;

    padding-top:120px;

}

.hero-texto .etiqueta{

    display:inline-block;

    padding:8px 18px;

    border-radius:50px;

    background:#f1ebff;

    color:var(--principal);

    margin-bottom:25px;

    font-weight:600;

}

.hero h2{

    font-size:4rem;
    line-height:1.1;

}

.hero p{

    margin-top:25px;

    color:var(--gris);

    font-size:1.1rem;

}

/*==================================
      ANIMACIONES SCROLL
===================================*/

.oculto{

    opacity:0;

    transform:translateY(70px);

    transition:.8s;

}

.mostrar{

    opacity:1;

    transform:translateY(0);

}

/*==================================
        SCROLLBAR
===================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(#7C3AED,#FF4D8D);

    border-radius:30px;

}

::-webkit-scrollbar-track{

    background:white;

}

/* ===========================
        BOTONES
=========================== */

.botones{

    display:flex;
    gap:20px;

    margin-top:45px;

}

.btn{

    padding:15px 35px;

    border-radius:50px;

    transition:.35s;

    font-weight:600;

}

.principal{

    background:var(--degradado);

    color:white;

    box-shadow:

    0 15px 35px rgba(124,58,237,.35);

}

.principal:hover{

    transform:translateY(-6px);

    box-shadow:

    0 20px 45px rgba(124,58,237,.5);

}

.secundario{

    border:2px solid #ddd;

}

.secundario:hover{

    border-color:var(--principal);

    color:var(--principal);

}


/* ===========================
      EDITOR CODIGO
=========================== */

.editor{

    border-radius:25px;

    overflow:hidden;

    background:#111827;

    box-shadow:

    0 30px 60px rgba(0,0,0,.15);

    transform:rotate(-2deg);

    transition:.4s;

}

.editor:hover{

    transform:

    rotate(0deg)

    scale(1.02);

}

.editor-top{

    height:50px;

    display:flex;

    align-items:center;

    gap:10px;

    padding:0 20px;

    background:#1f2937;

}

.circulo{

    width:13px;
    height:13px;

    border-radius:50%;

}

.rojo{

    background:#ff5f57;

}

.amarillo{

    background:#febc2e;

}

.verde{

    background:#28c840;

}

.editor-top p{

    margin-left:20px;

    color:white;

    font-size:.9rem;

}

pre{

    color:#8aff80;

    padding:30px;

    font-size:.95rem;

    line-height:1.7;

    min-height:420px;

    overflow:hidden;

}

/* ===========================
      TITULOS
=========================== */

.titulo{

    text-align:center;

    margin-bottom:70px;

}

.titulo h2{

    font-size:3rem;

}

.titulo p{

    margin-top:15px;

    color:var(--gris);

}

/* ===========================
      ANIMACION
=========================== */

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(40px);

    }

    100%{

        transform:translateY(0px);

    }

}

/*==================================
            FOOTER
===================================*/

footer{

    background:#1a1a1a;

    color:white;

}

.footer-contenido{

    width:90%;
    max-width:1300px;

    margin:auto;

    padding:80px 0;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:40px;

}

.footer-contenido img{

    width:70px;

    margin-bottom:20px;

}

.footer-contenido h3{

    font-size:2rem;

}

.footer-contenido h4{

    margin-bottom:20px;

}

.footer-contenido p{

    color:#c5c5c5;

    margin:10px 0;

}

.footer-contenido a{

    display:block;

    margin:12px 0;

    color:#ddd;

    transition:.3s;

}

.footer-contenido a:hover{

    color:#ff77aa;

}

/* ==========================
   FUENTE
========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Poppins",sans-serif;
}

body{
    background:#f5f8ff;
    color:#1b1b1b;
}

/* ==========================
   SECCIÓN
========================== */

.comparacion{
    width:100%;
    padding:120px 8%;
}

.titulo{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.etiqueta{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:#eaf3ff;
    color:#0b74ff;
    font-weight:600;
    margin-bottom:20px;
}

.titulo h2{
    font-size:48px;
    line-height:58px;
    font-weight:700;
}

.titulo p{
    margin-top:20px;
    color:#6b7280;
    font-size:18px;
    line-height:30px;
}

/* ==========================
   CONTENEDOR
========================== */

.contenedor-comparacion{
    margin-top:80px;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;

    flex-wrap:wrap;
}

/* ==========================
   TARJETAS
========================== */

.panel{
    width:460px;
    min-height:620px;

    background:white;

    border-radius:28px;

    box-shadow:
    0 20px 60px rgba(0,0,0,.08);

    overflow:hidden;

    transition:.35s;
}

.panel:hover{

    transform:translateY(-8px);

    box-shadow:
    0 30px 80px rgba(0,0,0,.12);

}

/* ==========================
   CABECERA
========================== */

.cabecera{

    height:70px;

    display:flex;
    align-items:center;

    padding:0 25px;

    border-bottom:1px solid #ececec;

    gap:10px;

}

.estado{

    width:13px;
    height:13px;

    border-radius:50%;

}

.rojo{
    background:#ff5f56;
}

.amarillo{
    background:#ffbd2e;
}

.verde{
    background:#27c93f;
}

.cabecera h3{

    margin-left:18px;

    font-size:20px;
    font-weight:600;

}

/* ==========================
   CHAT
========================== */

.chat{

    padding:30px;

    display:flex;
    flex-direction:column;

    gap:18px;

}

.mensaje{

    max-width:80%;

    padding:15px 18px;

    border-radius:18px;

    font-size:15px;

    line-height:25px;

    animation:aparecer .6s ease;

}

.encargado{

    background:#eef4ff;

    color:#0b74ff;

    align-self:flex-start;

}

.empleado{

    background:#0b74ff;

    color:white;

    align-self:flex-end;

}

/* ==========================
   FLECHA
========================== */

.flecha{

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    gap:18px;

}

.circulo-flecha{

    width:75px;
    height:75px;

    border-radius:50%;

    background:linear-gradient(
    135deg,
    #0b74ff,
    #3eb6ff);

    color:white;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:34px;

    box-shadow:
    0 15px 35px rgba(11,116,255,.35);

    animation:mover 2s infinite;

}

/* ==========================
   PANEL DERECHO
========================== */

.panel-registro{

    padding:30px;

}

.tarjeta{

    display:flex;

    gap:20px;

    padding:22px;

    border-radius:22px;

    background:#f7faff;

    margin-bottom:22px;

    transition:.3s;

}

.tarjeta:hover{

    transform:scale(1.03);

    background:#eef6ff;

}

.icono{

    width:70px;
    height:70px;

    border-radius:18px;

    background:#0b74ff;

    color:white;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:30px;

}

.contenido{

    flex:1;

}

.contenido h4{

    margin-bottom:5px;

    font-size:20px;

}

.contenido p{

    color:#666;

    margin-bottom:12px;

}

.activo{

    display:inline-block;

    padding:8px 14px;

    border-radius:40px;

    background:#d7ffe2;

    color:#159447;

    font-weight:600;

    margin-bottom:15px;

}

.finalizado{

    display:inline-block;

    padding:8px 14px;

    border-radius:40px;

    background:#ececec;

    color:#5c5c5c;

    font-weight:600;

    margin-bottom:15px;

}

.contenido small{

    display:block;

    color:#7c7c7c;

    margin-bottom:12px;

}

.contador{

    display:block;

    color:#0b74ff;

    font-size:26px;

    font-weight:700;

}

/* ==========================
   TEXTO FINAL
========================== */

.texto-final{

    margin-top:90px;

    text-align:center;

    max-width:800px;

    margin-inline:auto;

}

.texto-final h3{

    font-size:36px;

    margin-bottom:20px;

}

.texto-final p{

    font-size:18px;

    color:#6d6d6d;

    line-height:30px;

}

/* ==========================
   ANIMACIONES
========================== */

@keyframes mover{

    0%{
        transform:translateX(0);
    }

    50%{
        transform:translateX(12px);
    }

    100%{
        transform:translateX(0);
    }

}

@keyframes aparecer{

    from{

        opacity:0;
        transform:translateY(20px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:1100px){

    .contenedor-comparacion{

        flex-direction:column;

    }

    .flecha{

        transform:rotate(90deg);

    }

}

@media(max-width:768px){

    .comparacion{

        padding:80px 25px;

    }

    .titulo h2{

        font-size:34px;
        line-height:45px;

    }

    .titulo p{

        font-size:16px;

    }

    .panel{

        width:100%;

        min-height:auto;

    }

}