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

body {
    background: url('../img/fondo.jpg') no-repeat center center fixed;
    background-size: cover;
}

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

.cabecera {
    width: 100%;
    background: #ffffff;
    padding: 10px 0;
}

.cabecera-flex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}

.logo img {
    height: 50px;
}

.menu-principal {
    width: 100%;
    background: #000000;
    padding: 12px 0;
    margin-bottom: 20px;
}

.menu-principal ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding-left: 20px;
}

.menu-principal ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

.menu-principal ul li a.activo {
    color: #ff0000;
}

.menu-principal ul li a:hover {
    text-decoration: underline;
}

.banner {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
    background: #ffffff;
}

.carrusel {
    width: 400%;
    height: 100%;
    display: flex;
    animation: mover 12s infinite ease-in-out;
}

.carrusel img {
    width: 25%;
    height: 100%;
    object-fit: cover;
}

@keyframes mover {
    0%    { transform: translateX(0); }
    20%   { transform: translateX(0); }
    25%   { transform: translateX(-25%); }
    45%   { transform: translateX(-25%); }
    50%   { transform: translateX(-50%); }
    70%   { transform: translateX(-50%); }
    75%   { transform: translateX(-75%); }
    95%   { transform: translateX(-75%); }
    100%  { transform: translateX(0); }
}

.puntos {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.punto {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    animation: luces 12s infinite ease-in-out;
}

.p1 { animation-name: luces1; }
.p2 { animation-name: luces2; }
.p3 { animation-name: luces3; }
.p4 { animation-name: luces4; }

@keyframes luces1 {
    0%,24% { background: red; }
    25%,100% { background: #ccc; }
}

@keyframes luces2 {
    0%,24% { background: #ccc; }
    25%,49% { background: red; }
    50%,100% { background: #ccc; }
}

@keyframes luces3 {
    0%,49% { background: #ccc; }
    50%,74% { background: red; }
    75%,100% { background: #ccc; }
}

@keyframes luces4 {
    0%,74% { background: #ccc; }
    75%,99% { background: red; }
    100% { background: #ccc; }
}

.productos {
    margin-bottom: 50px;
}

.titulo-seccion {
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    text-shadow: 1px 1px 2px #000;
}

.grilla-productos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    text-align: center;
}

.tarjeta {
    background: #ffffff;
    padding: 10px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.tarjeta:hover {
    transform: translateY(-6px);
}

.imagen-tarjeta img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.tarjeta h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.tarjeta p {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.precio {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.nosotros {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.texto-nosotros p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 16px;
    color: #333;
}

@media (max-width: 900px) {
    .grilla-productos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grilla-productos { grid-template-columns: 1fr; }
    .menu-principal ul { gap: 15px; padding-left: 10px; }
}
.descripcion-corta {
    font-size: 17px;
    color: #222;
    text-align: center;
    margin: 20px 0 30px;
    padding: 15px;
    background: rgba(255,255,255,0.85);
    border-radius: 6px;
}

.redes-sociales {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    background: rgba(255,255,255,0.85);
    border-radius: 6px;
}

.red-link {
    display: inline-block;
    margin: 0 15px;
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
}

.red-link:hover {
    text-decoration: underline;
}

.formulario-completo {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
}

.formulario-completo h3 {
    margin-bottom: 20px;
    color: #111;
    text-align: center;
}

.formulario-completo label {
    font-weight: bold;
    color: #222;
}

.formulario-completo input,
.formulario-completo textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}

.btn-enviar {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.btn-enviar:hover {
    background: #ff0000;
}