*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:100px;
}

body{
    font-family:Arial, Helvetica, sans-serif;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

header{

    position:fixed;
    width:100%;
    top:0;

    background:white;

    box-shadow:0 2px 10px rgba(0,0,0,.1);

    z-index:999;

}

.navbar{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 0;

}

.logo img{
    height:70px;
}

.nav-menu{

    display:flex;
    gap:25px;
    align-items:center;

}

.nav-menu a{

    text-decoration:none;
    color:#17324d;
    font-weight:bold;

}

.menu-toggle{
    display:none;
}

.btn-comprar{

    background:#a64b35;

    color:white !important;

    padding:12px 20px;

    border-radius:25px;

}

.hero{

    min-height:100vh;

    background:
    linear-gradient(
        rgba(0,0,0,.5),
        rgba(0,0,0,.5)
    ),
    url("../images/foto-cafetal-1.jpeg");

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
}

.hero-content{

    display:grid;

    grid-template-columns:1.2fr 1fr;

    gap:60px;

    align-items:center;

    color:white;
}

.hero h1{

    font-size:72px;
    margin-bottom:25px;

}

.hero p{

    font-size:22px;
    margin-bottom:15px;

}

.notas{

    font-weight:bold;
    color:#ffe6c7;

}

.hero-buttons{

    margin-top:30px;

}

.btn-principal{

    background:#a64b35;

    color:white;

    text-decoration:none;

    padding:14px 24px;

    border-radius:24px;

    margin-right:10px;

}

.btn-secundario{

    border:2px solid white;

    color:white;

    text-decoration:none;

    padding:14px 24px;

    border-radius:24px;

}

.hero-producto img{

    width:100%;
    max-width:450px;

    filter:drop-shadow(
        0 20px 35px rgba(0,0,0,.4)
    );
}

section{
    padding:100px 0;
}

.section-clara{
    background:#ffffff;
}

.texto-centro{
    max-width:900px;
    margin:0 auto 20px auto;
    text-align:center;
    font-size:18px;
    line-height:1.8;
}

h2{
    color:#17324d;
    text-align:center;
    font-size:42px;
    margin-bottom:30px;
}

.section-crema{
    background:#f6f2eb;
}

.historia-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.historia-texto h2{
    text-align:left;
}

.historia-texto p{
    margin-bottom:15px;
    font-size:18px;
    line-height:1.7;
}

.galeria{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.galeria img{
    display:block;
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
}

.nuestro-cafe{
    background:white;
}

.cafe-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.cafe-imagen{
    text-align:center;
}

.cafe-imagen img{
    display:block;
    width:100%;
    max-width:420px;
    margin:0 auto;
    filter:drop-shadow(0 20px 30px rgba(0,0,0,.20));
}

.etiqueta-cafe{
    display:inline-block;
    padding:8px 16px;
    background:#f2e3d5;
    color:#a64b35;
    border-radius:20px;
    margin-bottom:15px;
    font-size:14px;
    font-weight:bold;
}

.cafe-info h2{
    margin:12px 0 20px;
    text-align:left;
}

.cafe-info p{
    margin-bottom:15px;
    font-size:18px;
    line-height:1.7;
}

.notas-cata{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin:25px 0;
}

.nota{
    background:#f6f2eb;
    padding:10px 18px;
    border-radius:25px;
    font-weight:600;
}

.beneficios{
    list-style:none;
    margin:25px 0;
    padding:0;
}

.beneficios li{
    margin-bottom:10px;
    font-weight:500;
}

.cafe-info .btn-principal{
    display:inline-block;
}

.preparacion{
    background:#f6f2eb;
}

.titulo-seccion{
    max-width:900px;
    margin:0 auto 50px;
    text-align:center;
}

.titulo-seccion h2{
    margin:12px 0 16px;
}

.cards-preparacion{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:25px;
}

.card-preparacion{
    background:white;
    border-radius:18px;
    padding:35px 25px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

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

.card-preparacion img{
    display:block;
    width:auto;
    height:auto;
    max-width:100%;
    margin:0 auto 20px;
}

.card-preparacion h3{
    color:#17324d;
    margin-bottom:15px;
}

.card-preparacion p{
    font-size:15px;
    line-height:1.7;
}

.eventos{
    background:#17324d;
    color:white;
}

.eventos h2{
    color:white;
    text-align:center;
}

.eventos-header{
    max-width:900px;
    margin:0 auto 50px;
    text-align:center;
}

.etiqueta-evento{
    display:inline-block;
    background:rgba(255,255,255,.15);
    padding:8px 18px;
    border-radius:25px;
    margin-bottom:20px;
    font-weight:bold;
}

.eventos-header h2{
    margin-bottom:16px;
}

.evento-intro{
    max-width:800px;
    margin:auto;
    font-size:18px;
    line-height:1.7;
}

.eventos-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    max-width:900px;
    margin:40px auto;
}

.evento-columna{
    background:rgba(255,255,255,.08);
    padding:30px;
    border-radius:18px;
}

.evento-columna h3{
    color:white;
    margin-bottom:20px;
}

.evento-columna ul{
    list-style:none;
    padding:0;
}

.evento-columna li{
    margin-bottom:12px;
}

.evento-cta{
    max-width:900px;
    margin:40px auto 0;
    text-align:center;
}

.evento-cta p{
    margin-bottom:25px;
    font-size:18px;
    line-height:1.7;
}

.btn-evento{
    display:inline-block;
    background:#a64b35;
    color:white;
    font-weight:bold;
    text-decoration:none;
    padding:16px 30px;
    border-radius:30px;
    transition:.3s;
}

.btn-evento:hover{
    transform:translateY(-3px);
}

.contacto{
    background:white;
    text-align:center;
}

.contacto-intro{
    max-width:700px;
    margin:0 auto 40px;
    font-size:18px;
    line-height:1.7;
}

.contacto-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:25px;
    max-width:900px;
    margin:0 auto 40px;
}

.contacto-card{
    background:#f6f2eb;
    padding:30px;
    border-radius:18px;
}

.contacto-card h3{
    margin-bottom:10px;
    color:#17324d;
}

.contacto-card a{
    color:inherit;
    text-decoration:none;
}

.contacto-botones{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.contacto-botones .btn-principal{
    display:inline-block;
}

footer{
    background:#102135;
    color:white;
    padding:60px 0;
    text-align:center;
}

.footer-content{
    display:block;
}

.footer-logo img{
    display:block;
    width:auto;
    max-width:100%;
    height:auto;
    margin:0 auto 20px;
}

.footer-eslogan{
    font-size:22px;
    font-weight:bold;
    margin-bottom:10px;
}

.footer-links{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
    margin:30px 0;
}

.footer-links a,
.footer-contacto a{
    color:white;
    text-decoration:none;
}

.footer-links a:hover,
.footer-contacto a:hover{
    text-decoration:underline;
}

.footer-contacto{
    display:block;
}

.footer-contacto p{
    margin-bottom:8px;
}

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:28px;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
    z-index:9999;
}

@media(max-width:900px){

    header{
        position:relative;
    }

    .navbar{
        position:relative;
        justify-content:space-between;
    }

    .logo img{
        height:56px;
    }

    .menu-toggle{
        display:flex;
        width:44px;
        height:44px;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:6px;
        border:1px solid #d8dce0;
        border-radius:6px;
        background:white;
        cursor:pointer;
    }

    .menu-toggle:focus-visible{
        outline:3px solid #a64b35;
        outline-offset:2px;
    }

    .menu-toggle-line{
        width:21px;
        height:2px;
        background:#17324d;
        transition:transform .2s, opacity .2s;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-line:first-child{
        transform:translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2){
        opacity:0;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-line:last-child{
        transform:translateY(-8px) rotate(-45deg);
    }

    .nav-menu{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        z-index:1000;
        flex-direction:column;
        align-items:stretch;
        gap:0;
        width:100%;
        padding:10px 14px 14px;
        background:white;
        box-shadow:0 8px 16px rgba(0,0,0,.12);
        border-radius:0 0 8px 8px;
    }

    .nav-menu.is-open{
        display:flex;
    }

    .nav-menu a:not(.btn-comprar){
        padding:12px 8px;
        border-bottom:1px solid #e8e3dc;
    }

    .nav-menu .btn-comprar{
        text-align:center;
        margin-top:12px;
    }

    .hero-content{
        gap:32px;
    }

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

    .whatsapp{
        right:16px;
        bottom:16px;
        width:58px;
        height:58px;
    }

}

@media(max-width:768px){

    .hero-content{
        grid-template-columns:1fr;
        text-align:center;
    }

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

    .historia-grid{
        grid-template-columns:1fr;
        gap:32px;
    }

    .historia-texto h2{
        text-align:center;
    }

    .cafe-grid{
        grid-template-columns:1fr;
        gap:36px;
        text-align:center;
    }

    .cafe-info h2{
        text-align:center;
    }

    .etiqueta-cafe{
        display:block;
        text-align:center;
    }

    .notas-cata{
        justify-content:center;
    }

    .eventos-grid{
        grid-template-columns:1fr;
    }

    section{
        padding:64px 0;
    }

}

@media(max-width:480px){

    .hero-buttons{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:14px;
    }

    .hero-buttons .btn-principal{
        margin-right:0;
    }

}