/*==================================================
GRUPO KRAFT
STYLE.CSS
VERSIÓN 2.0
==================================================*/


/*==================================================
VARIABLES
==================================================*/

:root{

    --primary:#b6e525;

    --primary-dark:#99c821;

    --black:#111111;

    --white:#ffffff;

    --gray:#666666;

    --light:#f7f7f7;

    --radius:18px;

    --transition:.35s ease;

    --shadow:0 15px 40px rgba(0,0,0,.10);

}


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

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:#fff;

    color:var(--black);

    overflow-x:hidden;

    line-height:1.7;

}

img{

    display:block;

    width:100%;

}

a{

    text-decoration:none;

    transition:var(--transition);

}

ul{

    list-style:none;

}

.container{

    width:min(1200px,92%);

    margin:auto;

}


/*==================================================
PRELOADER
==================================================*/

#loader{

    position:fixed;

    inset:0;

    background:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

#loader img{

    width:170px;

}

body.loaded #loader{

    opacity:0;

    visibility:hidden;

    transition:.5s;

}


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

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

    padding:22px 0;

    transition:.35s;

}

header.active{

    background:#fff;

    padding:14px 0;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo img{

    height:60px;

    width:auto;

}

#nav ul{

    display:flex;

    gap:40px;

}

#nav a{

    color:#000000;

    font-weight:500;

    font-size:15px;

}

header.active #nav a{

    color:#111;

}

#nav a:hover{

    color:var(--primary);

}

#menu-mobile{

    display:none;

    font-size:30px;

    cursor:pointer;

}


/*==================================================
BOTONES
==================================================*/

.btn-principal{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 20px;

    background:var(--primary);

    color:#000;

    border-radius:50px;

    font-weight:700;

    transition:.35s;

}

.btn-principal:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 28px rgba(182,229,37,.35);

}

.btn-secundario{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:15px 32px;

    border:2px solid #fff;

    color:#fff;

    border-radius:50px;

    font-weight:600;

}

.btn-secundario:hover{

    background:#fff;

    color:#000;

}


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

.hero{

    width:100%;

    height:100vh;

    position:relative;

    overflow:hidden;

}

.heroSlider{

    width:100%;

    height:100%;

}

.swiper-wrapper{

    height:100%;

}

.swiper-slide{

    position:relative;

    width:100%;

    height:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

}

.hero-image{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    transform:scale(1.08);

}

.overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

    z-index:1;

}

.hero-content{

    position:relative;

    z-index:2;

    width:min(900px,90%);

    text-align:center;

    color:#fff;

}

.hero-content span{

    display:inline-block;

    color:var(--primary);

    font-size:15px;

    font-weight:700;

    letter-spacing:3px;

    margin-bottom:20px;

    text-transform:uppercase;

}

.hero-content h1{

    font-size:64px;

    line-height:1.1;

    margin-bottom:28px;

    font-weight:800;

}

.hero-content p{

    font-size:20px;

    max-width:760px;

    margin:auto;

    margin-bottom:45px;

    color:#ededed;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}


/*==================================================
SWIPER
==================================================*/

.swiper-button-next,

.swiper-button-prev{

    width:58px;

    height:58px;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    color:#fff;

}

.swiper-button-next::after,

.swiper-button-prev::after{

    font-size:22px;

    font-weight:bold;

}

.swiper-button-next:hover,

.swiper-button-prev:hover{

    background:var(--primary);

    color:#000;

}

.swiper-pagination-bullet{

    width:12px;

    height:12px;

    opacity:.5;

    background:#fff;

}

.swiper-pagination-bullet-active{

    background:var(--primary);

    opacity:1;

}
/*==================================================
SECCIONES GENERALES
==================================================*/

section{

    padding:100px 0;

}

.section-title{

    max-width:820px;

    margin:0 auto 70px;

    text-align:center;

}

.section-title span{

    display:inline-block;

    color:var(--primary);

    font-size:15px;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.section-title h2{

    font-size:44px;

    font-weight:800;

    color:#111;

    margin-bottom:22px;

}

.section-title p{

    font-size:18px;

    color:var(--gray);

    line-height:1.8;

}


/*==================================================
POR QUÉ GRUPO KRAFT
==================================================*/

.why{

    background:#fafafa;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.why-card{

    background:#fff;

    border-radius:20px;

    padding:45px 30px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.why-card:hover{

    transform:translateY(-10px);

}

.why-card i{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

    background:var(--primary);

    color:#000;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:38px;

}

.why-card h3{

    margin-bottom:18px;

    font-size:24px;

}

.why-card p{

    color:var(--gray);

}


/*==================================================
SERVICIOS
==================================================*/

.services{

    background:#fff;

}

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.service-card{

    position:relative;

    overflow:hidden;

    background:#fff;

    border-radius:20px;

    padding:45px 35px;

    text-align:center;

    border:1px solid rgba(0,0,0,.05);

    box-shadow:var(--shadow);

    transition:.35s;

}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.service-card::before{

    content:"";

    position:absolute;

    inset:0;

    border:2px solid var(--primary);

    border-radius:20px;

    opacity:0;

    transition:.35s;

}

.service-card:hover::before{

    opacity:1;

}

.service-card .icon{

    width:95px;

    height:95px;

    margin:0 auto 28px;

    border-radius:50%;

    background:var(--primary);

    display:flex;

    justify-content:center;

    align-items:center;

}

.service-card .icon i{

    font-size:40px;

    color:#000;

}

.service-card h3{

    font-size:25px;

    margin-bottom:18px;

}

.service-card p{

    color:var(--gray);

    line-height:1.8;

}


/*==================================================
GALERÍA
==================================================*/

.gallery{

    background:#f8f8f8;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}

.gallery-item{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.gallery-item img{

    width:100%;

    height:280px;

    object-fit:cover;

    transition:.45s;

}

.gallery-item:hover img{

    transform:scale(1.12);

}

.gallery-item::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.35);

    opacity:0;

    transition:.35s;

    z-index:1;

}

.gallery-item::after{

    content:"\f00e";

    font-family:"Font Awesome 6 Free";

    font-weight:900;

    position:absolute;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%);

    width:70px;

    height:70px;

    border-radius:50%;

    background:var(--primary);

    color:#000;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:26px;

    opacity:0;

    transition:.35s;

    z-index:2;

}

.gallery-item:hover::before,

.gallery-item:hover::after{

    opacity:1;

}


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

.contact{

    background:#fff;

}

.contact-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.contact-info span{

    color:var(--primary);

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

}

.contact-info h2{

    font-size:44px;

    margin:18px 0 25px;

}

.contact-info>p{

    color:var(--gray);

    margin-bottom:35px;

}

.contact-item{

    display:flex;

    gap:20px;

    margin-bottom:25px;

    align-items:flex-start;

}

.contact-item i{

    width:60px;

    height:60px;

    border-radius:50%;

    background:var(--primary);

    color:#000;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

    flex-shrink:0;

}

.contact-item h4{

    font-size:18px;

    font-weight:600;

}

.contact-form{

    background:#fff;

    border-radius:20px;

    padding:45px;

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

}

.contact-form form{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.contact-form input,

.contact-form textarea{

    width:100%;

    padding:18px 22px;

    border:1px solid #ddd;

    border-radius:12px;

    font-family:inherit;

    font-size:16px;

    outline:none;

    transition:.30s;

}

.contact-form textarea{

    resize:vertical;

    min-height:180px;

}

.contact-form input:focus,

.contact-form textarea:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(182,229,37,.20);

}

.contact-form button{

    border:none;

    cursor:pointer;

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

footer{

    background:#111;

    color:#fff;

    padding:90px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:50px;

    margin-bottom:50px;

}

.footer-logo{

    width:190px;

    margin-bottom:25px;

}

footer h3{

    color:var(--primary);

    margin-bottom:20px;

    font-size:22px;

}

footer p{

    color:#d9d9d9;

    line-height:1.9;

    margin-bottom:12px;

}

footer a{

    color:#fff;

    display:inline-flex;

    align-items:center;

    gap:12px;

}

footer a:hover{

    color:var(--primary);

}

.copyright{

    text-align:center;

    border-top:1px solid rgba(255,255,255,.10);

    padding-top:25px;

    color:#999;

    font-size:14px;

}


/*==================================================
WHATSAPP
==================================================*/

.whatsapp{

    position:fixed;

    right:30px;

    bottom:30px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

    z-index:999;

    transition:.35s;

}

.whatsapp:hover{

    transform:translateY(-6px) scale(1.08);

}


/*==================================================
BOTÓN ARRIBA
==================================================*/

#top{

    position:fixed;

    left:30px;

    bottom:30px;

    width:60px;

    height:60px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#000;

    font-size:22px;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999;

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

}

#top.show{

    opacity:1;

    visibility:visible;

}

#top:hover{

    transform:translateY(-5px);

}


/*==================================================
ANIMACIONES
==================================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero-content span{

    animation:fadeUp .7s ease;

}

.hero-content h1{

    animation:fadeUp .9s ease;

}

.hero-content p{

    animation:fadeUp 1.1s ease;

}

.hero-buttons{

    animation:fadeUp 1.3s ease;

}


/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#efefef;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-dark);

}


/*==================================================
SELECCIÓN
==================================================*/

::selection{

    background:var(--primary);

    color:#000;

}


/*==================================================
UTILIDADES
==================================================*/

.text-center{

    text-align:center;

}

.mt-30{

    margin-top:30px;

}

.mt-50{

    margin-top:50px;

}

.mb-30{

    margin-bottom:30px;

}

.mb-50{

    margin-bottom:50px;

}


/*==================================================
TRANSICIONES
==================================================*/

button,

input,

textarea{

    transition:.30s;

}


/*==================================================
IMÁGENES
==================================================*/

img{

    user-select:none;

    -webkit-user-drag:none;

}


/*==================================================
FOCUS
==================================================*/

a:focus,

button:focus,

input:focus,

textarea:focus{

    outline:none;

}


/*==================================================
FIN STYLE.CSS
VERSIÓN 2.0
==================================================*/