body{
    font-family: Arial, sans-serif;
    margin:0;
}

*{
    box-sizing:border-box;
}

/* NAVBAR */
.navbar{
    background:rgba(0,0,0,0.90);
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    padding:12px 0;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    color:#ffcc00;
    font-weight:bold;
}

.nav-container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.nav-links{
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a{
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

/* efecto moderno */
.nav-links a::after{
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #8B0000; /* rojo */
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-links a:hover{
    color: #ffcc00;
}

.nav-links a:hover::after{
    width: 100%;
}
.logo img{
    height:55px;
    border-radius:8px;
}

.logo{
    display:flex;
    align-items:center;
}

/* HERO */
.hero{
   
    height:100vh;
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url('imagenes/fondo.jpg') center/cover;

    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
}


.btn{
    padding:10px 20px;
    color:white;
    text-decoration:none;
    border-radius:5px;
}

.btn{
    background:#e53935;
    padding:12px 20px;
    color:white;
    border-radius:25px;
    font-weight:bold;
    transition:0.3s;
}

/* SECCIONES */
.section{
    padding:80px 20px;
    text-align:center;
}

.alt .card{
    background: #2c2c2c;
    color: #f5f5f5;
    border-bottom: 4px solid #ffcc00;
}

.alt{
    background: linear-gradient(rgba(0,0,0,0.7), rgba(20,10,0,0.7)),
                url('imagenes/madera.png');
    background-size: cover;
}
.alt h2,
.alt p,
.alt h3{
    color: white;
}


/* CARDS */
.cards{
    display:flex;
    gap:20px;
    justify-content:center;
}

.card{
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,0.2);
    transition:0.3s;
    border-bottom:4px solid #ffcc00;
}

.card:hover{
    transform:translateY(-8px);
}

.section-title{
    font-size:2.3rem;
    margin-bottom:20px;
    color:#8B0000; /* rojo elegante */
    position:relative;
}

.section-title::after{
    content:"";
    width:60px;
    height:3px;
    background:#ffcc00;
    display:block;
    margin:10px auto;
}

/* IMAGENES */
.imagenes{
    display:flex;
    gap:20px;
    justify-content:center;
    margin-top:20px;
}

.imagenes img{
    width:30%;
    border-radius:10px;
}

/* CONTACTO */
.contacto{
    background:#222;
    color:white;
}

/* FOOTER */
footer{
    background:black;
    color:white;
    text-align:center;
    padding:10px;
}

/* BOTÓN PRODUCTO */
.producto-btn{
    list-style:none;
    background:linear-gradient(145deg,#ffcc00,#ff9800);
    color:#000;
    padding:15px;
    border-radius:12px;
    text-align:center;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
    margin-bottom:15px;
}

.producto-btn:hover{
    transform:scale(1.03);
}

/* CONTENEDOR PRODUCTO */
.detalle-producto{
    display:none;
    flex-direction:column;
    align-items:center;
    background:linear-gradient(145deg,#ffffff,#f5f5f5);
    padding:25px;
    margin-bottom:25px;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.2);
    position:relative;
    animation:aparecer 0.3s ease;
}

/* ANIMACIÓN */
@keyframes aparecer{
    from{
        opacity:0;
        transform:translateY(-10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* BOTÓN CERRAR */
.cerrar-btn{
    position:absolute;
    top:15px;
    right:15px;
    border:none;
    background:#e53935;
    color:white;
    width:35px;
    height:35px;
    border-radius:50%;
    cursor:pointer;
    font-size:1rem;
    transition:0.3s;
}

.cerrar-btn:hover{
    background:#b71c1c;
    transform:rotate(90deg);
}

/* IMAGEN */
.detalle-producto img{
    width:100%;
    max-width:250px;
    border-radius:15px;
    margin:15px 0;
}

/* PRESENTACIONES */

.galeria-presentaciones{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    margin-top:20px;
}

.presentacion-card{
    background:white;
    border-radius:18px;
    padding:15px;
    width:170px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    transition:0.3s;
    overflow:hidden;
}

.presentacion-card:hover{
    transform:translateY(-8px) scale(1.03);
    box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.presentacion-card img{
    width:100%;
    height:180px;
    object-fit:contain;
    margin-bottom:10px;
}

.presentacion-card p{
    font-weight:bold;
    color:#222;
    font-size:1rem;
}


.precio{
    display:block;
    font-size:1.2rem;
    font-weight:bold;
    color:#e53935;
    margin:10px 0;
}


.btn:hover{
    background:#b71c1c;
    transform:scale(1.05);
}

/* SOBRE NOSOTROS */
#nosotros p{
    font-size: 1.2rem;   /* más grande */
    line-height: 1.8;
}

/* POR QUE ELEGIRNOS */
#elegirnos p{
    font-size: 1.15rem;
    line-height: 1.7;
}

.lista-recetas{
    display:flex;
    flex-direction:column; /*  uno debajo del otro */
    gap:12px;
    padding:0;
    margin-top:20px;
}

.lista-recetas li{
    list-style:none;
    background:linear-gradient(145deg, #1c1c1c, #2a2a2a);
    color:#ffcc00;
    padding:15px;
    border-radius:12px;
    text-align:left; /*  mejor lectura */
    cursor:pointer;
    transition:0.3s;
    font-weight:bold;
}

.lista-recetas li:hover{
    background:#ffcc00;
    color:#000;
    transform:translateX(8px); /*  efecto elegante */
}

.receta-detalle{
    display:none;
    margin-top:15px;
    background:white !important;
    padding:20px;
    border-radius:15px;
    color:#222;
    cursor:default;
}

.receta-detalle *{
    background:transparent !important;
    color:#222 !important;
}

.receta-detalle h3,
.receta-detalle p,
.receta-detalle li{
    color: #222; /* negro elegante */
}
.receta-detalle h3{
    display:flex;
    align-items:center;
    gap:10px;
}

.receta-img{
    width:100%;
    max-width:400px;
    border-radius:15px;
    margin:15px 0;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
    transition:0.3s;
}

.receta-img:hover{
    transform:scale(1.03);
}

.receta-detalle ul li{
    background: transparent !important;
    color: #222 !important;
    padding: 5px 0 !important;
}

/* ===== ALIADOS ===== */

#aliados{
    background:#111;
    padding:60px 20px;
    text-align:center;
}

.aliados-texto{
    color:#ddd;
    font-size:1.1rem;
    margin-bottom:40px;
}

.aliados-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
    gap:25px;
    align-items:center;
}

.aliado-card{
    background:white;
    padding:25px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
    transition:0.3s;
}

.aliado-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

.aliado-card img{
    width:100%;
    max-width:140px;
    height:auto;
    object-fit:contain;
}


/* BOTON HAMBURGUESA */
.menu-toggle{
    display:none;
    font-size:2rem;
    color:white;
    cursor:pointer;
}

/* ========================= */
/* RESPONSIVE CELULAR */
/* ========================= */

@media screen and (max-width:768px){

    *{
        max-width:100%;
    }

    body{
        overflow-x:hidden;
    }

    .container{
        width:100%;
        padding:0 15px;
    }

    /* NAVBAR */
   /* NAVBAR */
.nav-container{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
}

.logo{
    flex-direction:row;
}

.menu-toggle{
    display:block;
}

.nav-links{
    display:none;
    flex-direction:column;
    width:100%;
    background:#111;
    margin-top:15px;
    padding:10px 0;
    border-radius:10px;
}

.nav-links.active{
    display:flex;
}

.nav-links li{
    width:100%;
    text-align:center;
}

.nav-links a{
    display:block;
    padding:12px;
}
    /* HERO */
    .hero{
        min-height:auto;
        height:auto;
        padding:260px 20px 100px;
        background-position:center;
    }

    .hero-content{
        width:100%;
    }

    .hero-content h1{
        font-size:2rem;
    }

    .hero-content p{
        font-size:1rem;
    }

    /* CARDS */
    .cards{
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .card{
        width:100%;
    }

    /* IMAGENES */
    .imagenes{
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .imagenes img{
        width:100%;
    }

    /* PRODUCTOS */
    .galeria-presentaciones{
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .presentacion-card{
        width:100%;
        max-width:300px;
    }

    .presentacion-card img{
        width:100%;
        height:auto;
    }

    .detalle-producto{
        width:100%;
        padding:15px;
    }

    /* RECETAS */
    .receta-detalle{
        width:100%;
        padding:15px;
    }

    /* ALIADOS */
    .aliados-grid{
        grid-template-columns:1fr;
    }

    /* BOTONES */
    .btn{
        width:100%;
        display:block;
        text-align:center;
    }

    /* TEXTOS */
    h1,h2,h3,p,li,a{
        word-wrap:break-word;
    }
}

/* ===== HISTORIAS ===== */

.historias-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:25px;
    margin-top:40px;
}
.historia-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    transition:0.3s;
}


.historia-card img{
    width:100%;
    max-width:450px; /* antes 300 */
    height:auto;
    object-fit:contain;
    display:block;
    margin:auto;
}

.historia-card:hover{
    transform:translateY(-8px);
}




/* ===== DISTRIBUIDORES ===== */

.distribuidores-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
    gap:25px;
    margin-top:40px;
}

.distribuidor-card{
    background:white;
    border-radius:20px;
    padding:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    transition:0.3s;
    text-align:center;
}

.distribuidor-card:hover{
    transform:translateY(-8px);
}

.distribuidor-card img{
    width:100%;
    max-height:250px;
    object-fit:contain;
    margin-top:15px;
}

.distribuidor-card h3{
    color:#8B0000;
    margin-bottom:10px;
}

.telefono-distribuidor{
    margin-top:15px;
    font-weight:bold;
    color:#444;
}
/* BOTÓN VERDE SOLO DISTRIBUIDORES */

.btn-whatsapp{
    background:#25D366;
}

.btn-whatsapp:hover{
    background:#1ebe5d;
}

.receta-detalle ul{
    padding-left: 25px !important;
    margin: 15px 0 !important;
}

.receta-detalle ul li{
    display: list-item !important;
    background: none !important;
    background-image: none !important;
    color: #222 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 3px 0 !important;
    margin: 0 !important;
    font-weight: normal !important;
}

/* PUNTOS DE VENTA */

.puntos-grid,
.presentaciones-grid,
.distribuidor-promocion{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:30px;
}

.punto-card,
.presentacion-info{
    background:white;
    border-radius:20px;
    padding:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    transition:0.3s;
}

.punto-card:hover,
.presentacion-info:hover{
    transform:translateY(-8px);
}

.punto-card img,
.presentacion-info img,
.distribuidor-promocion img{
    width:100%;
    border-radius:15px;
}

.presentacion-info h3{
    color:#8B0000;
    margin-top:15px;
}

.distribuidor-promocion img{
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
}

.puntos-venta-grid{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.punto-img{
    width:100%;
    max-width:350px;
    height:250px;
    object-fit:cover;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.presentaciones-grid{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.presentacion-img{
    width:220px;
    height:220px;
    object-fit:contain;
}

.distribuidor-img{
    width:100%;
    max-width:300px;
    height:220px;
    object-fit:cover;
    border-radius:15px;
}