/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}



body{
    font-family:'Segoe UI', Arial, sans-serif;
    background:#f7f8fb;
    color:#222;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

/* HEADER */

.header{
    position:sticky;
    top:0;
    z-index:1000;
    width:100%;
    height:80px;
    background:#111;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 40px;
}

.logo{
    color:#fff;
    font-size:28px;
    font-weight:700;
    letter-spacing:1px;
}

.menu{
    display:flex;
    gap:30px;
}

.menu a{
    color:#fff;
    font-size:15px;
    transition:.3s;
}

.menu a:hover{
    opacity:.7;
}

/* HERO */

.hero{
    min-height:650px;
    background:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1600");
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px 20px;
}

.hero-content{
    max-width:900px;
}

.hero-content h1{
    color:#fff;
    font-size:clamp(40px,7vw,78px);
    line-height:1.1;
    margin-bottom:20px;
}

.hero-content p{
    color:#fff;
    font-size:22px;
    margin-bottom:35px;
}

.btn-primary{
    display:inline-block;
    background:#fff;
    color:#111;
    padding:16px 34px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.btn-primary:hover{
    transform:translateY(-4px);
}

/* TITULOS */

.section-title,
.portfolio-title{
    text-align:center;
    margin-bottom:55px;
}

.section-title h2,
.portfolio-title h2{
    font-size:42px;
    color:#111;
}

/* SECCIONES */

.portfolio,
.services,
.tools,
.products,
.plans,
.logos,
.faq,
.about{
    padding:90px 25px;
}

/* PROYECTOS */

.portfolio{
    max-width:1400px;
    margin:auto;
}

.grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px;
}

.card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.card-content{
    padding:25px;
}

.card-content h3{
    font-size:24px;
    margin-bottom:10px;
}

.card-content p{
    color:#666;
}

/* SERVICIOS */

.services{
    background:#fff;
}

.services-grid{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:25px;
}

.service{
    background:#f8f9fc;
    padding:35px;
    border-radius:18px;
    text-align:center;
    font-weight:600;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

/* HERRAMIENTAS */

.tools-grid{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
}

.tools-grid div{
    background:#fff;
    padding:25px;
    text-align:center;
    border-radius:16px;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

/* PRODUCTOS */

.products{
    background:#fff;
}

.products-grid{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:25px;
}

.product-card{
    background:#f8f9fc;
    padding:35px;
    border-radius:18px;
    text-align:center;
}

.product-card h3{
    margin-bottom:15px;
}

/* PLANES */

.plans-grid{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px;
}

.plan-card{
    background:#fff;
    padding:40px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.featured{
    border:3px solid #111;
}

/* LOGOS */

.logos{
    background:#fff;
}

.logo-slider{
    max-width:1200px;
    margin:auto;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:35px;
}

.logo-slider img{
    width:120px;
    height:120px;
    object-fit:contain;
    background:#fff;
    border-radius:14px;
    padding:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

/* FAQ */

.faq{
    max-width:1000px;
    margin:auto;
}

.faq-item{
    background:#fff;
    padding:25px;
    margin-bottom:20px;
    border-radius:16px;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.faq-item h3{
    margin-bottom:10px;
}

/* CTA */

.cta{
    background:#111;
    color:#fff;
    text-align:center;
    padding:100px 25px;
}

.cta h2{
    font-size:clamp(30px,5vw,52px);
    margin-bottom:30px;
}

/* ABOUT */

.about{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.about p{
    color:#666;
    font-size:18px;
}

/* FOOTER */

.footer{
    background:#111;
    color:#fff;
    text-align:center;
    padding:60px 25px;
}

.footer h3{
    margin-bottom:15px;
}

.footer p{
    margin-bottom:8px;
}

/* TABLET */

@media(max-width:1024px){

    .grid,
    .services-grid,
    .products-grid,
    .plans-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .tools-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* MOVIL */

@media(max-width:768px){

    .header{
        height:auto;
        flex-direction:column;
        padding:15px;
    }

    .menu{
        margin-top:10px;
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .grid,
    .services-grid,
    .products-grid,
    .plans-grid,
    .tools-grid{
        grid-template-columns:1fr;
    }

    .section-title h2,
    .portfolio-title h2{
        font-size:32px;
    }

    .hero{
        min-height:500px;
    }

    .hero-content p{
        font-size:18px;
    }
}