/*==================================================
    COFFEE SERVICE
    STYLE.CSS
==================================================*/

/*=========================
RESET
=========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#070707;
    color:#ffffff;

    font-family:'Inter',sans-serif;

    overflow-x:hidden;

    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;

}

/*=========================
VARIABLES
=========================*/

:root{

    --black:#090909;
    --black2:#111111;

    --white:#ffffff;

    --coffee:#5d3d29;

    --coffee-light:#9c6b47;

    --gold:#c79b5d;

    --gray:#9d9d9d;

    --transition:.45s;

    --container:1350px;

}

/*=========================
SCROLLBAR
=========================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:var(--coffee);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--gold);

}

/*=========================
SELECCION
=========================*/

::selection{

    background:var(--coffee);

    color:#fff;

}

/*=========================
CONTAINER
=========================*/

.container{

    width:min(92%,var(--container));

    margin:auto;

}

/*=========================
LINKS
=========================*/

a{

    color:inherit;

    text-decoration:none;

}

/*=========================
LISTAS
=========================*/

ul{

    list-style:none;

}

/*=========================
IMAGENES
=========================*/

img{

    max-width:100%;

    display:block;

}

/*=========================
CANVAS
=========================*/

#background{

    position:fixed;

    inset:0;

    width:100%;

    height:100%;

    z-index:-3;

}

/*=========================
OVERLAY
=========================*/

.overlay{

     position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.45);

    z-index:1;

}

/*=========================
HEADER
=========================*/

#header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

    padding:18px 0;

    background:rgba(8,8,8,.45);

    /*backdrop-filter:blur(18px);*/

    /*-webkit-backdrop-filter:blur(18px);*/

    border-bottom:1px solid rgba(255,255,255,.05);

    transition:.4s;
    box-shadow:0 10px 35px rgba(0,0,0,.25); 

}

#header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo img{

    width:150px;

}

/*=========================
MENU
=========================*/

nav ul{

    display:flex;

    gap:45px;

}

nav a{

    font-size:15px;

    letter-spacing:1px;

    text-transform:uppercase;

    transition:.3s;

    color:#d4d4d4;

}

nav a:hover{

    color:white;

}

/*=========================
BOTON HEADER
=========================*/

.btn-header{

    padding:14px 28px;

    border:1px solid rgba(255,255,255,.15);

    border-radius:40px;

    transition:.4s;

    backdrop-filter:blur(20px);

}

.btn-header:hover{

    background:var(--coffee);

    border-color:var(--coffee);

}

/*=========================
MENU MOBILE
=========================*/

.menu-mobile{

    display:none;

    flex-direction:column;

    gap:6px;

    cursor:pointer;

}

.menu-mobile span{

    width:28px;

    height:2px;

    background:white;

}

/*=========================
HERO
=========================*/

#hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    position:relative;

    overflow:hidden;

}

/*=========================
CONTENIDO HERO
=========================*/

.hero-content{

    width:min(900px,90%);

    z-index:10;

}

.subtitle{

    display:inline-block;

    margin-bottom:25px;

    color:var(--gold);

    letter-spacing:3px;

    text-transform:uppercase;

    font-size:14px;

}

.hero-content h1{

    font-family:"Space Grotesk",sans-serif;

    font-size:78px;

    line-height:1.05;

    margin-bottom:35px;

    font-weight:700;

}

.hero-content p{

    max-width:720px;

    margin:auto;

    font-size:20px;

    color:#bdbdbd;

    line-height:1.8;

}

/*=========================
BOTONES
=========================*/

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:60px;

}

.btn-primary{

    padding:18px 42px;

    border-radius:60px;

    background:var(--coffee);

    transition:.4s;

}

.btn-primary:hover{

    transform:translateY(-5px);

    background:var(--gold);

}

.btn-secondary{

    padding:18px 42px;

    border-radius:60px;

    border:1px solid rgba(255,255,255,.2);

    transition:.4s;

}

.btn-secondary:hover{

    background:white;

    color:black;

}

/*=========================
SCROLL
=========================*/

.scroll-indicator{

    position:absolute;

    bottom:45px;

    left:50%;

    transform:translateX(-50%);

    letter-spacing:5px;

    font-size:11px;

    color:#888;

}

/*=========================
SECCIONES
=========================*/

section{

    position:relative;

    padding:35px 0;

}

/*=========================================
HERO PREMIUM
=========================================*/

#hero{

    position:relative;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

}

.hero-content{

    position:relative;

    z-index:10;

    max-width:900px;

    text-align:center;

}

.hero-content h1{

    font-size:clamp(70px,9vw,140px);

    font-family:"Space Grotesk",sans-serif;

    font-weight:700;

    letter-spacing:-4px;

    line-height:1;

    margin:25px 0;

}

.hero-content h2{

    font-size:30px;

    color:#e8e8e8;

    font-weight:400;

    margin-bottom:35px;

}

.hero-content p{

    max-width:700px;

    margin:auto;

    color:#9d9d9d;

    line-height:2;

}

.subtitle{

    color:#b98b55;

    letter-spacing:4px;

    font-size:13px;

}

.hero-light{

    position:absolute;

    width:700px;

    height:700px;

    border-radius:50%;

    filter:blur(160px);

    opacity:.10;

}

.hero-light-1{

    top:-250px;

    left:-150px;

    background:#9d6235;

}

.hero-light-2{

    right:-200px;

    bottom:-250px;

    background:#6b4428;

}

.hero-lines{

    position:absolute;

    inset:0;

    background-image:

    linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),

    linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);

    background-size:70px 70px;
    
    background-position:0 1px;

    opacity:.3;

}

.scroll-indicator{

    position:absolute;

    bottom:35px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:12px;

}

.scroll-indicator span{

    width:2px;

    height:70px;

    background:linear-gradient(transparent,#ffffff);

    animation:scrollLine 2s infinite;

}

.scroll-indicator small{

    color:#888;

    letter-spacing:4px;

}

@keyframes scrollLine{

    0%{

        transform:scaleY(0);

        transform-origin:top;

    }

    50%{

        transform:scaleY(1);

        transform-origin:top;

    }

    51%{

        transform-origin:bottom;

    }

    100%{

        transform:scaleY(0);

        transform-origin:bottom;

    }

}

#coffee-beans{

    position:fixed;

    inset:0;

    pointer-events:none;

    overflow:hidden;

    z-index:1;

}

.bean{

    position:absolute;

    will-change:transform;

    animation:beanFall linear infinite;

    filter:drop-shadow(0 10px 18px rgba(0,0,0,.35));

}

@keyframes beanFall{

    from{

        transform:
            translateY(-150px)
            rotate(0deg);

    }

    to{

        transform:
            translateY(calc(100vh + 300px))
            rotate(360deg);

    }

}


/*=========================================
ABOUT
=========================================*/

#about{

    padding:180px 0;

}

.about-wrapper{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:80px;

}

.about-image{

    flex:0 0 55%;

}

.about-image img{

    width:100%;

    height:650px;

    object-fit:cover;

    border-radius:25px;

    transition:.6s;

}

.about-image img:hover{

    transform:scale(1.03);

}

.about-content{

    flex:0 0 40%;

    max-width:560px;

}

.section-subtitle{

    display:inline-block;

    color:#b98b55;

    letter-spacing:4px;

    font-size:13px;

    margin-bottom:20px;

}

.about-content h2{

    font-size:58px;

    line-height:1.05;

    max-width:520px;

    margin-bottom:35px;


}

.about-content p{

    color:#bcbcbc;

    font-size:18px;

    line-height:1.9;

    margin-bottom:25px;

max-width:520px;
}

.about-list{

    margin:40px 0;

}

.about-list li{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:18px;

    font-size:18px;

}

.about-list i{

    color:#b98b55;

}



/*======================================
SERVICES
======================================*/

#services{

     padding-top:60px;
    padding-bottom:120px;

}

.section-title{

    font-size:58px;

    margin:20px 0;

    max-width:700px;

}

.section-description{

    max-width:650px;

    color:#b7b7b7;

    line-height:1.8;

    margin-bottom:70px;

}

.services-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

}

.service-card{

    position:relative;

    height:430px;

    border-radius:28px;

    overflow:hidden;

    text-decoration:none;

    color:#fff;

    display:flex;

    align-items:flex-end;

    transition:.45s;

}

.service-card img{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    transition:1s;

}

.service-card .overlay{

   position:absolute;
    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.94) 0%,
            rgba(0,0,0,.85) 35%,
            rgba(0,0,0,.45) 70%,
            rgba(0,0,0,.15) 100%
        );

    transition:.4s;
}

.service-content{

position:relative;
    z-index:2;
    padding:40px;

    text-shadow:
        0 2px 8px rgba(0,0,0,.6),
        0 8px 20px rgba(0,0,0,.5);

}

.service-number{

    display:inline-block;

    color:#c8a96a;

    font-size:14px;

    letter-spacing:4px;

    margin-bottom:18px;

}

.service-content h3{

   font-size:36px;
    margin-bottom:18px;
    font-weight:700;

}

.service-content p{

    color:#ddd;

    line-height:1.8;

    margin-bottom:30px;

    max-width:420px;

}

.service-link{

    color:#c8a96a;

    font-weight:600;

    transition:.35s;

}

.service-card:hover img{

    transform:scale(1.08);

}

.service-card:hover{

    transform:translateY(-8px);

}

.service-card:hover .service-link{

    letter-spacing:2px;

}

.service-card:hover .overlay{

      background:linear-gradient(
        180deg,
        rgba(0,0,0,.55) 0%,
        rgba(0,0,0,.65) 30%,
        rgba(0,0,0,.82) 45%,
        rgba(0,0,0,.96) 100%
    );

}

/*======================================
GALLERY
======================================*/

#gallery{

    padding:120px 0;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}

.gallery-video{

    position:relative;

    height:520px;

    overflow:hidden;

    border-radius:28px;

    grid-column:span 2;

    text-decoration:none;

}

.gallery-video video{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:1s;

}

.gallery-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.45);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    color:#fff;

    transition:.4s;

}

.play-button{

    width:95px;

    height:95px;

    border-radius:50%;

    background:#c8a96a;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    margin-bottom:25px;

    transition:.35s;

}

.video-info{

    text-align:center;

}

.video-info h3{

    font-size:40px;

    margin-bottom:10px;

}

.video-info p{

    color:#ddd;

}

.gallery-item{

    height:340px;

    overflow:hidden;

    border-radius:24px;

    cursor:pointer;

}

.gallery-item img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:1s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

.gallery-video:hover video{

    transform:scale(1.05);

}

.gallery-video:hover .gallery-overlay{

    background:rgba(0,0,0,.58);

}

.gallery-video:hover .play-button{

    transform:scale(1.12);

}

/*======================================
CLIENTES
======================================*/

#clients{

    padding:120px 0;

    overflow:hidden;

}

.clients-slider{

    width:100%;

    overflow:hidden;

    margin-top:70px;

}

.clients-track{

    display:flex;

    gap:30px;

    width:max-content;

    animation:clientsScroll 35s linear infinite;

}

.clients-slider:hover .clients-track{

    animation-play-state:paused;

}

.client-card{

   width:250px;
    height:140px;

    flex-shrink:0;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:22px;

    background:#ffffff; /* Blanco sólido */

    border:1px solid #f0f0f0;

    box-shadow:
        0 15px 40px rgba(0,0,0,.18);

    transition:.35s;

    padding:20px;


}

.client-card:hover{

    transform:translateY(-8px);

    background:#ffffff;

    box-shadow:
        0 25px 55px rgba(0,0,0,.25);

}

.client-card img{

    width:180px;
    max-width:100%;

    max-height:90px;

    object-fit:contain;

    transition:.35s;

}

.client-card:hover img{

    transform:scale(1.08);

}

@keyframes clientsScroll{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(calc(-50% - 15px));

    }

}

/*======================================
CONTACTO
======================================*/

#contact{

    padding:120px 0;

}

.contact-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.contact-info p{

    margin-top:30px;

    color:#bdbdbd;

    line-height:1.8;

    max-width:500px;

}

.contact-items{

    margin-top:50px;

    display:flex;

    flex-direction:column;

    gap:25px;

}

.contact-item{

    display:flex;

    align-items:center;

    gap:18px;

}

.contact-item i{

    width:52px;

    height:52px;

    border-radius:50%;

    background:#C9A15C;

    color:#111;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

}

.contact-item span{

    color:#fff;

    font-size:16px;

}

.contact-form{

    background:#181818;

    border:1px solid rgba(255,255,255,.08);

    border-radius:25px;

    padding:45px;

}

.form-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

    margin-bottom:20px;

}

.contact-form input,
.contact-form textarea{

    width:100%;

    background:#101010;

    border:1px solid rgba(255,255,255,.08);

    border-radius:14px;

    padding:18px 22px;

    color:#fff;

    font-size:15px;

    outline:none;

    transition:.35s;

}

.contact-form textarea{

    resize:none;

    margin-top:20px;

}

.contact-form input:focus,
.contact-form textarea:focus{

    border-color:#C9A15C;

}

.contact-form button{

    margin-top:30px;

    width:100%;

}

/*======================================
FOOTER
======================================*/

#footer{

    padding:90px 0 35px;

    border-top:1px solid rgba(255,255,255,.08);

    background:#090909;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1.3fr 1fr;

    gap:70px;

}

.footer-about img{

    width:220px;

    margin-bottom:30px;

}

.footer-about p{

    color:#a8a8a8;

    line-height:1.9;

    max-width:380px;

}

.footer-grid h4{

    font-size:20px;

    margin-bottom:25px;

}

.footer-links ul{

    display:flex;

    flex-direction:column;

    gap:16px;

}

.footer-links a{

    color:#bcbcbc;

    transition:.3s;

}

.footer-links a:hover{

    color:#C9A15C;

}

.footer-contact p{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:18px;

    color:#bcbcbc;

}

.footer-contact i{

    color:#C9A15C;

    width:18px;

}

.social-icons{

    display:flex;

    gap:15px;

    margin-top:10px;

}

.social-icons a{

    width:48px;

    height:48px;

    border-radius:50%;

    background:#171717;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.35s;

    border:1px solid rgba(255,255,255,.08);

}

.social-icons a:hover{

    background:#C9A15C;

    color:#111;

    transform:translateY(-5px);

}

.footer-bottom{

    margin-top:70px;

    padding-top:30px;

    border-top:1px solid rgba(255,255,255,.08);

    display:flex;

    justify-content:space-between;

    color:#8b8b8b;

    font-size:14px;

}

.footer-bottom strong{

    color:#C9A15C;

}


/*======================================
WHATSAPP FLOAT
======================================*/

.whatsapp-float{

    position:fixed;

    right:30px;

    bottom:30px;

    width:68px;

    height:68px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    text-decoration:none;

    box-shadow:
        0 15px 35px rgba(37,211,102,.35);

    z-index:9999;

    transition:.35s;

    animation:whatsappPulse 2s infinite;

}

.whatsapp-float:hover{

    transform:translateY(-6px) scale(1.08);

    box-shadow:
        0 20px 45px rgba(37,211,102,.50);

}

@keyframes whatsappPulse{

    0%{

        box-shadow:
            0 0 0 0 rgba(37,211,102,.45);

    }

    70%{

        box-shadow:
            0 0 0 18px rgba(37,211,102,0);

    }

    100%{

        box-shadow:
            0 0 0 0 rgba(37,211,102,0);

    }

}