/*==========================
        RESET
==========================*/

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

html{
    scroll-behavior:smooth;
}

body{
    background:#fff;
    color:#1F2937;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/*==========================
        HEADER
==========================*/

.menu-toggle{
    display:none;
    background:none;
    border:none;
    cursor:pointer;
    padding:5px;
}

.menu-toggle span{
    display:block;
    width:28px;
    height:3px;
    margin:5px 0;
    background:#1F2937;
    border-radius:20px;
    transition:.3s;
}


.header{
    position:fixed;
    width:100%;
    top:0;
    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    z-index:100;
}

.navbar{
    max-width:1200px;
    margin:auto;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:30px;
    font-weight:bold;
}

.logo span{
    color:#2563EB;
}

.menu{
    display:flex;
    gap:30px;
}

.menu a{
    color:#555;
    font-weight:600;
    transition:.3s;
}

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

/*==========================
        HERO
==========================*/

.hero{
    height:100vh;
    display:flex;
    align-items:center;
    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
    url("https://images.unsplash.com/photo-1512436991641-6745cdb1723f?w=1600");
    background-size:cover;
    background-position:center;
    color:#fff;
}

.hero-content{
    max-width:1200px;
    margin:auto;
    padding:8%;
}

.hero span{
    color:#93C5FD;
    letter-spacing:3px;
}

.hero h1{
    font-size:60px;
    margin:20px 0;
}

.hero p{
    max-width:600px;
    line-height:1.8;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    background:#2563EB;
    color:#fff;
    padding:15px 35px;
    border-radius:40px;
    transition:.3s;
}

.btn:hover{
    background:#1D4ED8;
    transform:translateY(-4px);
}

/*==========================
        BENEFICIOS
==========================*/

.container{
    width:min(1200px,92%);
    margin:auto;
}

.benefits{
    padding:100px 8%;
}

.benefits .container{
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.benefit{
    text-align:center;
    padding:35px;
    border:1px solid #E5E7EB;
    border-radius:20px;
    transition:.3s;
}

.benefit:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.08);
}

.benefit i{
    font-size:40px;
    color:#2563EB;
    margin-bottom:20px;
}

/*==========================
        TITULOS
==========================*/

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:#2563EB;
}

.section-title h2{
    font-size:42px;
    margin-top:10px;
}

/*==========================
        PRODUCTOS
==========================*/

.products{
    padding:100px 8%;
    background:#F8FAFC;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.card{
    background:#fff;
    padding:40px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card i{
    font-size:42px;
    color:#2563EB;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

.card p{
    color:#6B7280;
    margin-bottom:20px;
}

.card a{
    color:#2563EB;
    font-weight:bold;
}

/*==========================
        PROMOCIÓN
==========================*/

.promo{
    padding:100px 8%;
    background:#2563EB;
    color:#fff;
    text-align:center;
}

.promo h2{
    font-size:42px;
    margin-bottom:20px;
}

.promo p{
    max-width:700px;
    margin:auto;
    line-height:1.8;
    margin-bottom:35px;
}

.promo .btn{
    background:#fff;
    color:#2563EB;
}

/*==========================
        CONTACTO
==========================*/

.contact{
    padding:100px 8%;
}

form{
    max-width:650px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

input,
textarea{
    padding:16px;
    border:1px solid #D1D5DB;
    border-radius:12px;
}

textarea{
    height:150px;
    resize:none;
}

form button{

    padding:16px;
    background:#2563EB;
    color:#fff;
    border:none;
    border-radius:12px;
    cursor:pointer;

}

form button:hover{

    background:#1D4ED8;

}

/*==========================
        FOOTER
==========================*/

footer{
    background:#111827;
    color:#fff;
    text-align:center;
    padding:40px;
}

footer p{
    margin:10px 0;
    color:#CBD5E1;
}

footer span{
    color:#94A3B8;
    font-size:14px;
}

/*==========================
        RESPONSIVE
==========================*/

@media (max-width:900px){

.menu-toggle{
    display:block;
}

.menu{
    position:absolute;
    top:100%;
    left:0;

    width:100%;

    background:#fff;

    display:none;
    flex-direction:column;
    align-items:center;

    gap:25px;

    padding:25px 0;

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

.menu.active{
    display:flex;
}

.hero h1{
    font-size:42px;
}

.benefits .container,
.cards{
    grid-template-columns:1fr;
}

.section-title h2{
    font-size:34px;
}

}

/*==========================
        CATÁLOGO
==========================*/

.catalogo{
    padding:100px 8%;
    background:#ffffff;
}

.catalogo-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.producto{
    background:#fff;
    border:1px solid #E5E7EB;
    border-radius:20px;
    overflow:hidden;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.producto:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.10);
}

.producto img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.producto-info{padding:24px;}
.producto-info h3{font-size:22px;margin-bottom:10px;color:#111827;}
.producto-info p{color:#6B7280;line-height:1.6;margin-bottom:20px;}
.producto-footer{display:flex;justify-content:space-between;align-items:center;}
.producto-footer span{font-size:24px;font-weight:700;color:#2563EB;}
.btn-producto{padding:10px 22px;background:#2563EB;color:#fff;border-radius:30px;transition:.3s;}
.btn-producto:hover{background:#1D4ED8;}

@media(max-width:768px){
.catalogo{padding:80px 8%;}
.producto img{height:200px;}
.producto-footer{flex-direction:column;gap:15px;align-items:flex-start;}
.btn-producto{width:100%;text-align:center;}
}

@media(max-width:600px){

.hero h1{
    font-size:34px;
}

.hero p{
    font-size:15px;
}

.products,
.benefits,
.contact,
.promo{
    padding:80px 8%;
}

.benefits .container,
.cards{
    grid-template-columns:1fr;
}

}
.navbar .home-link{
    padding:10px 18px;
    border:1px solid rgba(0, 0, 0, 0.55);
    border-radius:999px;
    background:rgba(18, 104, 161, 0.12);
    color: black;
}

.navbar .home-link:hover{
    background:#4a6b7b;
    color:#f8f8f8;
}
.menu{
    display:flex;
    gap:30px;
}

@media (max-width:900px){

    .menu-toggle{
        display:block;
    }

    .menu{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#fff;

        display:none;
        flex-direction:column;
        align-items:center;
        gap:25px;
        padding:25px 0;

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

    .menu.active{
        display:flex;
    }
}