/*
    BEM = BLOCK ELEMENT MODIFIER
    BEM PERMITE REUTILIZAR CODIGOS
    CUALQUIER ETIQUETAS PUEDE TENER CLASES
*/
:root { /* Esta propiedad sirve para trabajar con variables */
    --primario: #1abc9c;
    --primarioClaro: #f39c12;
    --secundario: #16a085;
    --secundarioClaro: #f1c40f;
    --blanco: white;
    --gris: #7f8c8d;    
}


*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
font-size: 62.5%; /*Se transformo la fuente base en 10 px  */
}

.contenedor {
    max-width: 120rem;
    margin-left: auto;
    margin-right: auto;
}

body {
        font-family: 'Poppins', sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f9f9f9;
        color: #333;
    }

.header {
    background: #fff;
    padding: 1rem 1rem;
    text-transform: uppercase;
}

.header-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    
}

/* LOGO */
.logo img {
    width: 250px;
    height: auto;
    justify-content: space-between;
}

/* NAV CENTRADO */
.nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

/* LINKS */
.nav--link {
    text-decoration: none;
    color: #111;
    font-size: 1.6rem;
    padding: .7rem 1.4rem;
    font-weight: 600;
    border-radius: 2rem;
    transition: all .3s;
}

/* HOVER */
.nav--link:hover {
    background-color: #5cdbc8;
}

/* OFERTAS */
.nav--link.activos {
    background-color: red;
    color: #fff;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 900px) {

    .header-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .logo {
        text-align: center;
    }

    .logo img {
        width: 220px;
    }

    .nav {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav--link {
        width: 90%;
        text-align: center;
        font-size: 1.6rem;
    }
}





 
.ubicacion {   
    background-image: url(./img/laptop.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    .ubicacion__box {
        padding-top: 30rem;
        padding-bottom: 30rem;
        background-color: rgba(0,0,0,.6);
        display: flex;
        flex-direction: column;
        align-items: center;
        .ubicacion__box--descri {
            margin-bottom: 3rem;
            font-size: 2.4rem;
            color: white;
            text-align: center;
            width: 120rem;
        }

        .ubicacion__box--locale {
            i {
                color: var(--primario);
                font-size: 2.4rem;
                margin-right: .5rem;
            }
            span {
                color: var(--blanco);
                font-size: 1.6rem;
            }
        }
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}



/*
    Enfoque movil a escritorio -> min-width
    enfoque de escritorio a movil -> max width
*/

main {
    border-radius: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    box-shadow: 0 0 2rem 0 rgba(0,0,0, .3);
    
    .servicios {
        padding-top: 5rem;
        padding-bottom: 5rem;       
        @media (min-width: 768px) {
            display: flex;
            column-gap: 3rem;
        }
        .servicios__item {
            display: flex;
            flex-direction: column;
            align-items: center;
            &:not(:last-child) {
                margin-bottom: 4rem;
            }   
            @media (min-width:768px) {
                margin-bottom: 0;
            }         
            .servicios__item--iconBox {
                font-size: 4.2rem;
                width: 9rem;
                height: 9rem;
                border-radius: 50%;
                background-color: var(--primario);
                color: var(--blanco);
                display: flex;
                justify-content: center;
                align-items: center;
            }
            .ubicacion__item--titulo {
                font-size: 2.6rem;
                text-transform: uppercase;
                text-align: center;
                margin-top: 1rem;
                margin-bottom: 1rem;
            }
            .servicios__item--descri {
                font-size: 1.6rem;
                text-align: center;
            }
        }    
       
    }   
}

h1{
    font-size: 6rem;
    color: var(--primario);
    text-align: center;
    font-weight: 700;
    margin: 5rem;
}
h2{
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gris);
    }

h3{
    font-size: 3rem;
    color: var(--secundarioClaro);
}

.intro{
    color: #F5F7F8;
    text-align: center;
    font-size: 4rem;
}    
.galeria{
    max-width: 80%;
}
.galeria_img{
    width: 25%;
    margin-left: 5rem;
   
}

/* --- SECCIÓN HERO --- */

.hero-jl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 6%;
    background: #F5F7F8;
    font-family: "Poppins", sans-serif;
    margin-top: 3rem;
}

.hero-content {
    width: 48%;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 700;
    color: #00A884;
    margin-bottom: 20px;
    line-height: 1.2;
}

.subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #1A1A1A;
    margin-bottom: 30px;
}

.hero-services {
    margin-bottom: 25px;
}

.service {
    font-size: 16px;
    margin-bottom: 6px;
    color: #1F3A5F;
    font-weight: 600;
}

/* BOTÓN CTA */
.cta {
    background: #00A884;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.cta:hover {
    background: #008c6e;
}

/* --- IMAGEN Y ANIMACIONES --- */

.hero-image {
    width: 48%;
    position: relative;
}

.main-img {
    width: 100%;
    animation: float-main 4s ease-in-out infinite;
}

.float {
    position: absolute;
    width: 120px;
    animation: float 3.5s ease-in-out infinite;
    opacity: 0.9;
}

/* POSICIONES DE FIGURAS */
.f1 { top: -20px; left: 45%; width: 30rem;}
.f2 { bottom: -10px; right: 10%; animation-delay: 1s; width: 25rem;}
.f3 { top: 55%; left: -40px; animation-delay: 2s; width: 25rem;}

/* ANIMACIÓN GENERAL */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

@keyframes float-main {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media(max-width: 900px) {
    .hero-jl {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content, .hero-image {
        width: 100%;
    }

    .hero-image {
        margin-bottom: 30px;
    }
}

.texto-slide {
    text-align: center;
    max-width: 450px;
}

.titulo-slide {
    font-size: 40px;
    font-weight: 700;
    color: #00A884;       /* Verde elegante */
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
}

.descripcion-slide {
    font-size: 2rem;     /* Más grande */
    color: #000;           /* Negro */
    line-height: 1.6;
    font-family: "Poppins", sans-serif;
}

.brands-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    background: #f2f2f2;
    gap: 60px;
    margin-top: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap; /* permite adaptarse en pantallas pequeñas */
}

.brands-content {
    max-width: 600px;
    text-align: center;
}

.brands-content h2 {
    font-size: 3.5rem;
    color: var(--primario);
    text-align: center;
    font-weight: 700;
    margin: 2.5rem;
}

.brands-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #1A1A1A;
    margin-bottom: 30px;
}

.btn-quote {
    background: #2e6ca8;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 200px);
    gap: 20px;
}

.brand-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.brand-card img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

/* 📱 Tablets horizontales */
@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(3, 180px);
    }
}

/* 📱 Tablets verticales */
@media (max-width: 900px) {
    .brands-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 160px);
    }
}

/* 📱 Móviles grandes */
@media (max-width: 768px) {
    .brands-content h2 {
        font-size: 2.8rem;
        margin: 2rem 0;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 150px);
        gap: 15px;
    }
}

/* 📱 Móviles pequeños */
@media (max-width: 480px) {
    .brands-content p {
        font-size: 16px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 120px);
        gap: 12px;
    }

    .brand-card {
        padding: 18px;
    }

    .brand-card img {
        max-height: 80px;
    }
}

/* ===== FOOTER GENERAL ===== */
.footer {
    background: #0d1b2a;
    color: #ffffff;
    padding: 60px 40px 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: auto;
}

/* ===== COLUMNAS ===== */
.footer-col h3 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-col ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primario);
}

/* ===== LOGO + DESCRIPCION ===== */
.footer-logo {
    width: 350px;
    height: 100px;
    margin-bottom: 15px;
}

.footer-col p {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 17px;
}

/* ===== REDES SOCIALES ===== */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #1b263b;
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 22px;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--primario);
}

/* ===== CONTACTO ===== */
.contact-info li {
    color: #ddd;
    margin-bottom: 12px;
    font-size: 15px;
}

/* ===== PARTE INFERIOR ===== */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid var(--gris);
    padding-top: 15px;
    font-size: 22px;
    color: var(--secundario);
}

/* ===== RESPONSIVE ===== */

/* Tablets horizontales */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        margin-top: 15px;
    }
}

/* Tablets verticales / móviles grandes */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3 {
        font-size: 18px;
    }

    .footer-col p {
        font-size: 15px;
    }

    .footer-col ul li {
        font-size: 14px;
    }

    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 15px;
        margin-right: 8px;
    }

    .footer-logo {
        width: 130px;
        margin-bottom: 10px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-col h3 {
        font-size: 16px;
    }

    .footer-col p {
        font-size: 14px;
    }

    .footer-col ul li {
        font-size: 13px;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 6px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}


