/* HERO */

.hero {
    width: 100%;
    min-height: calc(100vh - 142px);

    padding-top: 8rem;
    padding-bottom: 2rem;

    background: linear-gradient(90deg, rgba(10, 25, 47, 0.85) 30%, rgba(10, 25, 47, 0.4) 100%), url(../media/bg_1.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

.hero_contenedor {
    max-width: 75rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero_contenedor h4 {
    font-size: 1.4rem;
    color: var(--S1);
    font-weight: 900;
    line-height: 2rem;
    letter-spacing: 4.2px;
    text-transform: uppercase;
}

.hero_contenedor h1 span:nth-child(1) {
    color: var(--S1);
    letter-spacing: -4.8px;
}

.hero_contenedor h1 span:nth-child(2) {
    color: var(--P2);
}

.hero_contenedor h1 span:nth-child(3) {
    background: linear-gradient(90deg, #136DEC 0%, #22C55E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero_contenedor h1 span:nth-child(4) {
    color: var(--S3);
}

.hero_contenedor p {
    color: var(--P2);
}

.hero_links {
    margin-top: 2.5rem;
    display: flex;
    gap: 2.5rem;
}

.hero_links a {
    cursor: pointer;
    padding: 2rem 0;
    text-align: center;
    border-radius: 5px;

    font-size: 2rem;
    line-height: 2.8rem;
    letter-spacing: 2px;
    font-weight: 900;
}

.hero_links a:nth-child(1) {
    background-color: var(--S1);
    width: 272px;
}

.hero_links a:nth-child(2) {
    width: 299px;

    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    border-radius: 8px;
}

/* Lapto - IPAD */
@media (max-width: 870px) {
    .hero {
        min-height: min-content;
        padding-bottom: 8rem;
    }

    .hero_contenedor h4 {
        font-size: 1.2rem;
        line-height: 1.6rem;
        letter-spacing: 3.6px;
    }

    .hero_contenedor h1 {
        font-size: 6rem;
        line-height: 7rem;
    }
    
    .hero_contenedor h1 span:nth-child(1) {
        letter-spacing: -3px;
    }

    .hero_contenedor p {
        font-size: 1.65rem;
        line-height: 2.6rem;
    }

    .hero_links a {
        font-size: 1.7rem;
        padding: 1.6rem 0;
    }
}
  
/* CELULAR GRANDE*/
@media (max-width: 550px) {
    .hero_links {
        gap: 1.8rem;
    }

    .hero_contenedor h4 {
        font-size: 1.2rem;
        line-height: 1.5rem;
        letter-spacing: 3.4px;
    }

    .hero_contenedor h1 {
        font-size: 4rem;
        line-height: 4.2rem;
    }
    
    .hero_contenedor h1 span:nth-child(1) {
        letter-spacing: -1.6px;
    }

    .hero_contenedor p {
        font-size: 1.55rem;
        line-height: 2.5rem;
    }

    .hero_links a {
        font-size: 1.4rem;
        padding: 1rem 0;
    }
}
/* CELULAR CHICO*/
@media (max-width: 480px) {
    .hero_links {
        flex-direction: column;
    }

    .hero_links a {
        width: 299px !important;
    }
}



/* SECTION 1 - LINEAS */

/* .lineas {} */
  
.lineas_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}
  
.lineas_header h2 {
    font-size: 48px;
    letter-spacing: -1.2px;
    font-weight: 900;
    color: var(--P3);
}
  
.lineas_header p {
    color: var(--P1);
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 10px;

    max-width: 95%;
}
  
.lineas_link {
    color: var(--S1);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1.4px;
    line-height: 2rem;
    border-bottom: 2px solid var(--S1);
    padding-bottom: 3px;
}

.lineas_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: clamp(2rem, 3vw, 6rem);
}
  
.linea_card {
    border-radius: 12px;
    overflow: hidden;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
  
.linea_card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}
  
.linea_card h3 {
    font-size: 24px;
    font-weight: 900;
    line-height: 32px;
    margin-bottom: 10px;
    color: var(--P3);
}
  
.linea_card p {
    font-size: 14px;
    line-height: 22.8px;
    font-weight: 400;
    color: rgba(13, 19, 27, 0.6);
    margin-bottom: 20px;
}
  
.linea_card button {
    background: transparent;
    border: 2px solid var(--P1);
    color: var(--P1);
    padding: 10px 40px;
    border-radius: 8px;
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 1.4px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
}
  
.linea_card button:hover {
    background: var(--P1);
    color: var(--P2);
}

@media (max-width: 1280px) {
    .lineas_grid {
        grid-template-columns: repeat(2, minmax(255px, 1fr));
    }
}

/* Lapto - IPAD */
@media (max-width: 870px) {
    .lineas_header h2 {
        font-size: 3.6rem;
        line-height: 3.6rem;
        letter-spacing: -0.8px;
    }
      
    .lineas_header p {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }
      
    .lineas_link {
        font-size: 1.2rem;
        letter-spacing: 1.2px;
        line-height: 1.8rem;
    }


    .linea_card h3 {
        font-size: 20px;
        line-height: 28px;
    }
      
    .linea_card button {
        width: 100%;
    }
}

@media (max-width: 690px) {
    .lineas_grid {
        grid-template-columns: repeat(1, minmax(255px, 1fr));
    }

    .linea_card {
        border: 1px solid #e9e9e9;
    }
}

/* CELULAR CHICO*/
@media (max-width: 480px) {
    .lineas_header {
        display: block;
        margin-bottom: 3.8rem;
    }

    .lineas_header > div {
        margin-bottom: 2rem;
    }


    .lineas_header h2 {
        font-size: 3rem;
        letter-spacing: -0.7px;
    }
      
    .lineas_header p {
        font-size: 1.5rem;
        margin-top: 0.4rem;
    }
      
    .lineas_link {
        font-size: 1rem;
    }


    .linea_card h3 {
        font-size: 1.8rem;
        line-height: 2.6rem;
    }
    
    .linea_card p {
        font-size: 1.3rem;
    }

    .linea_card button {
        font-size: 1.3rem;
    }
}





/* SECCION 2 - PORQUE */

.porque {
    position: relative;
    overflow: hidden;
    
    background: linear-gradient(rgba(23, 23, 23, 0.4), rgba(23, 23, 23, 0.4)), 
                url(../media/bg_4.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 10rem 0;
}

.porque::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: 
        radial-gradient(100.75% 115.15% at 20% 30%, rgba(233, 30, 99, 0.2) 0%, rgba(233, 30, 99, 0) 40%), 
        radial-gradient(106.3% 121.49% at 80% 20%, rgba(19, 109, 236, 0.2) 0%, rgba(19, 109, 236, 0) 45%), 
        radial-gradient(86.02% 98.31% at 50% 80%, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0) 50%), 
        radial-gradient(105.36% 120.42% at 30% 90%, rgba(249, 212, 35, 0.1) 0%, rgba(249, 212, 35, 0) 40%);
    
        mix-blend-mode: screen;
        opacity: 0.7;
        filter: blur(20px);
    
        z-index: 1;
}

.porque_container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15rem;
    align-items: center;
}

.porque_left {
    padding: 50px;
    color: #fff;

    background: rgba(13, 19, 27, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);

    border-radius: 32px;
}

.porque_left h2 {
    font-size: 7.2rem;
    font-weight: 900;
    line-height: 72px;
    letter-spacing: -3.6px;
}

.porque_left h2 span {
    color: var(--S1);
    line-height: 84px;
    letter-spacing: 0px;
    font-weight: 800;
}

.porque_left p {
    font-size: 1.8rem;
    line-height: 29.3px;
    font-weight: 400;
    color: #E2E8F0;

    margin: 20px 0 30px;
    opacity: 0.85;
}

.porque_btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 30px;
    border: solid 1px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 1.4px;
    transition: .3s ease;
}

.porque_btn:hover {
    background: var(--S1);
}

.porque_right {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.porque_card {
    background: rgba(255,255,255,0.75);
    box-shadow: 0px 8px 32px rgba(31, 38, 135, 0.1);
    backdrop-filter: blur(8px);


    padding: 4rem;
    border-radius: 24px;
    border: solid 1px rgba(255, 255, 255, 0.4);
    display: flex;
    gap: 2.5rem;
    align-items: center;
    transition: .3s ease;
}

.porque_card:hover {
    transform: translateY(-5px);
}

.porque_num {
    font-size: 7.2rem;
    font-weight: 900;

}

.pink { color: var(--S1); }
.green { color: var(--S2); }
.blue { color: #3b82f6; }
.yellow { color: var(--S3); }

.porque_content h3 {
    color: var(--P3);
    font-size: 3rem;
    font-weight: 900;
    line-height: 3.6rem;
    letter-spacing: -0.75px;

    margin-bottom: 8px;
}

.porque_content p {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 500;
    color: #404040;
}

@media (max-width: 1280px) {
    .porque_container {
        grid-template-columns: 1fr 2fr;
        gap: 8rem;
    }
}
@media (max-width: 1160px) {
    .porque_container {
        grid-template-columns: 1fr;
        gap: 6rem;
    }
}


/* Lapto - IPAD */
@media (max-width: 780px) {
    .porque_left h2 {
        font-size: 6rem;
        line-height: 4.5rem;
        letter-spacing: -3px;
    }

    .porque_left p {
        color: #f6f6f6;
        opacity: 0.9;
        font-size: 1.6rem;
        line-height: 2.6rem;
        letter-spacing: 0.5px;
    }

    .porque_btn {
        font-size: 1.3rem;
        line-height: 1.6rem;
        letter-spacing: 1.3px;
    }


    .porque_num {
        font-size: 6rem;
    }
    .porque_content h3 {
        font-size: 2.4rem;
        line-height: 2.6rem;
        letter-spacing: -0.4px;
    }
    .porque_content p {
        font-size: 1.4rem;
        line-height: 2.2rem;
    }
}
  
/* CELULAR GRANDE*/
@media (max-width: 550px) {
    .porque_left h2 {
        font-size: 4.5rem;
        line-height: 2.5rem;
        letter-spacing: -2px;
    }

    .porque_left p {
        font-size: 1.5rem;
        line-height: 2.5rem;
        letter-spacing: 0.4px;

        margin: 25px 0 20px;
    }

    .porque_btn {
        font-size: 1.2rem;
        line-height: 1.5rem;
        letter-spacing: 1.2px;
    }


    .porque_card {
        display: block;
        padding: 2rem 3rem;
    }
    .porque_card > div:nth-child(3) {
        display: none;
    }

    .porque_num {
        font-size: 5rem;
        line-height: 5rem;
        margin-bottom: 1rem;
    }
    .porque_content h3 {
        font-size: 2.2rem;
        line-height: 2.4rem;
        letter-spacing: -0.4px;
    }
    .porque_content p {
        font-size: 1.4rem;
        line-height: 2.2rem;
    }
}

/* CELULAR CHICO*/
@media (max-width: 430px) {
    .porque_left {
        padding: 4.5rem 4rem;
    }
    
    .porque_left h2 {
        font-size: 4.2rem;
        line-height: 1.8rem;
    }

    .porque_left p {
        font-size: 1.4rem;
    }

    .porque_btn {
        padding: 15px 25px;
        font-size: 1.1rem;
    }

    .porque_num {
        font-size: 4.8rem;
        line-height: 4.8rem;
    }

    .porque_content h3 {
        font-size: 2.05rem;
    }

    .porque_content p {
        font-size: 1.34rem;
    }
}




/* Seccion 3 - Encuentra tu color ideal */

.ideal_contenedor {
    background: linear-gradient(rgba(6, 19, 48, 0.8), rgba(6, 19, 48, 0.8)), 
                url(../media/bg_6.webp);

                box-shadow: 0 20px 40px rgba(0,0,0,0.15);
                
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;


    padding: 4rem 8rem;
    border-radius: 4rem;
}

.ideal_contenedor h2 {
    font-size: 6rem;
    line-height: 6rem;
    color: var(--P2);
    text-transform: uppercase;

    margin-bottom: 2rem;
}
.ideal_contenedor h2 span {
    line-height: 7rem;
    color: var(--S1);
}

.ideal_contenedor p {
    color: var(--P2);
    line-height: 3.25rem;

    margin-bottom: 2rem;

    max-width: 65rem;
    width: 100%;
}

.ideal_colores {
    display: flex;
    gap: 1.8rem;

    margin-bottom: 3rem;
}

.ideal_colores div {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;

    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.20);
}

.ideal_colores--c {background-color: var(--P1);}
.ideal_colores--r {background-color: var(--S1);}
.ideal_colores--v {background-color: var(--S2);}
.ideal_colores--a {background-color: var(--S3);}
.ideal_colores--b {background-color: var(--P2);}

.ideal_link {
    font-size: 1.8rem;
    line-height: 2.8rem;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;

    padding: 2rem;
    background-color: var(--S1);

    display: inline-flex;
    gap: 1rem;
    align-items: center;

    border-radius: 10px;
}



/* Lapto - IPAD */
@media (max-width: 890px) {
    .ideal_contenedor {
        padding: 4rem 6rem;
    }

    .ideal_contenedor h2 {
        font-size: 5rem;
        line-height: 5rem;
    }

    .ideal_contenedor p {
        font-size: 1.8rem;
        line-height: 3rem;
    }

    .ideal_colores div {
        width: 4.5rem;
        height: 4.5rem;
    }

    .ideal_link {
        font-size: 1.6rem;
        line-height: 2.6rem;
        padding: 1.6rem;

        font-weight: 800;
    }
}
  
/* CELULAR GRANDE*/
@media (max-width: 690px) {
    .ideal_contenedor {
        padding: 4rem 5rem;
    }

    .ideal_contenedor h2 {
        font-size: 4.8rem;
        line-height: 4.8rem;
    }

    .ideal_contenedor p {
        font-size: 1.6rem;
        line-height: 2.8rem;
    }

    .ideal_colores div {
        width: 4rem;
        height: 4rem;
    }

    .ideal_link {
        font-size: 1.5rem;
        line-height: 2.5rem;
        padding: 1.6rem;

        font-weight: 800;
    }
}

/* CELULAR CHICO*/
@media (max-width: 590px) {
    .ideal_link {
        font-size: 1.4rem;
        line-height: 2.4rem;
        padding: 1.45rem 1.5rem;

        font-weight: 700;
    }
}
@media (max-width: 550px) {
    .ideal_contenedor h2 {
        font-size: 4rem;
        line-height: 2.5rem;

        margin-bottom: 1.5rem;
    }

    .ideal_contenedor p {
        margin-bottom: 2.6rem;
    }
}

@media (max-width: 490px) {
    .ideal_contenedor h2 {
        font-size: 3.5rem;
        line-height: 4.5rem;
    }

    .ideal_contenedor h2 span {
        line-height: 2.5rem;
    }


    .ideal_contenedor p {
        margin-bottom: 2.6rem;
    }
}

@media (max-width: 430px) {
    .ideal_contenedor {
        padding: 4rem;
    }

    .ideal_colores {
        gap: 0.8rem;
    }

    .ideal_contenedor h2 {
        font-size: 3rem;
    }

    .ideal_link {
        font-size: 1.3rem;
    }
}




/* SECCION 4 - TESTIMONIO */

/* .distributors{} */

.distributors_contenedor {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.distributors_contenedor h2, 
.distributors_contenedor h3 {
    position: relative;
    text-align: center;
    flex: 0 0 auto;
}

.distributors_contenedor h2 {
    color: #B7B9BB;
    font-size: 1.4rem;
    line-height: 1.6rem;
    letter-spacing: 4.8px;
    text-transform: uppercase;
}

.distributors_contenedor h3 {
    color: #9DA3AC;
    font-size: 3rem;
    line-height: 3.6rem;
    text-transform: uppercase;
}


.distributors_carrusel {
    display: flex;
    justify-content: space-evenly;
    gap: 4rem;

    overflow-x: auto;
}

.distributors_carrusel h3:nth-child(3)::before {
    position: absolute;
    content: "";
    height: 1px;
    width: 100%;
    background: #9DA3AC;
    bottom: 0;
}

/* Lapto - IPAD */
@media (max-width: 780px) {
    .distributors_contenedor h2 {
        font-size: 1.3rem;
        line-height: 1.5rem;
        letter-spacing: 4.7px;
    }

    .distributors_contenedor h3 {
        font-size: 2.8rem;
        line-height: 3.4rem;
    }
}
  
/* CELULAR GRANDE*/
@media (max-width: 620px) {
    .distributors_carrusel {
        gap: 3.5rem;
    }

    .distributors_contenedor h2 {
        font-size: 1.2rem;
        line-height: 1.4rem;
        letter-spacing: 4.6px;
    }

    .distributors_contenedor h3 {
        font-size: 2.6rem;
        line-height: 3.2rem;
    }
}

/* CELULAR CHICO*/
@media (max-width: 460px) {
    .distributors_contenedor h2 {
        font-size: 1.1rem;
    }

    .distributors_contenedor h3 {
        font-size: 2.2rem;
    }
}



/* MODAL LINEA DETALLES */
body.activo {
    overflow: hidden;
}

.overlay-blanco {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(15px);
    display: none;
    z-index: 99999;
}
.overlay-blanco.activo {
    display: block;
}


.linea_card_modal {
    display: none;
    /* Mantenemos tu centrado */
    position: fixed;
    z-index: 100000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    
    /* Lo hacemos más grande */
    max-width: 700px; 
    background: white;
    padding: 3rem; /* Más espacio interno */
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    flex-direction: column;
    gap: 1.5rem;
}
.linea_card_modal.activo {
    display: flex;
}

/* Botón X en la esquina */
.btn-cerrar-modal {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.modal_imagen {
    width: 100%;
    height: 300px; /* Imagen más alta */
    object-fit: cover;
    border-radius: 8px;
}

.modal_titulo {
    font-size: 2.2rem;
    color: var(--P3);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.modal_descripcion {
    font-size: 14px;
    line-height: 22.8px;
    font-weight: 400;
    color: rgba(13, 19, 27, 0.6);
    margin-bottom: 20px;
}

.btn-ver-productos {
    background: transparent;
    border: 2px solid var(--P1);
    color: var(--P1);
    padding: 10px 40px;
    border-radius: 8px;
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 1.4px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
}

.btn-ver-productos:hover {
    background: var(--P1);
    color: var(--P2);
}