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

:root {
    --terracota: #C85C3E;
    --terracota-oscuro: #A04028;
    --arcilla: #E8D5B7;
    --arcilla-claro: #F5EDE0;
    --barro: #5A3A2B;
    --barro-claro: #7A5A4B;
    --texto-oscuro: #2C1810;
    --texto-claro: #6B4C3A;
    --dorado: #C6A43F;
    --dorado-suave: #E8D5A3;
    --blanco: #FFFFFF;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--arcilla-claro) 0%, #FFF8F0 100%);
    color: var(--texto-oscuro);
    line-height: 1.6;
}

/* ========== NAVEGACIÓN ========== */
nav {
    background: linear-gradient(135deg, var(--barro) 0%, var(--texto-oscuro) 100%);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--blanco);
}

.logo span {
    color: var(--dorado);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--blanco);
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

.nav-links li a:hover {
    background: rgba(255,255,255,0.1);
}

/* ========== SECCIONES ========== */
.seccion-activa {
    display: block;
    animation: fadeIn 0.5s ease;
}

.seccion-oculta {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.seccion-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--barro);
}

/* ========== CARRUSEL ========== */
.carrusel-container {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carrusel {
    display: flex;
    transition: transform 0.5s ease;
}

.carrusel-slide {
    min-width: 100%;
    position: relative;
}

.carrusel-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
}

.carrusel-texto {
    position: absolute;
    bottom: 15%;
    left: 10%;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--dorado);
}

.carrusel-texto h2 {
    font-size: 1.8rem;
}

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
}

.carrusel-prev { left: 15px; }
.carrusel-next { right: 15px; }

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

.indicador {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.indicador.activo {
    background: var(--dorado);
    width: 25px;
    border-radius: 10px;
}

/* ========== PRODUCTOS ========== */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.producto-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    cursor: pointer;
}

.producto-card:hover {
    transform: translateY(-5px);
}

.producto-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
}

.producto-info {
    padding: 1.2rem;
}

.producto-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.producto-precio {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--terracota);
    margin: 0.5rem 0;
}

.producto-botones {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-detalle, .btn-consulta {
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.btn-detalle {
    background: var(--barro);
    color: white;
}

.btn-consulta {
    background: #25D366;
    color: white;
}

.btn-detalle:hover, .btn-consulta:hover {
    transform: translateY(-2px);
}

/* ========== FILTROS ========== */
.filtros {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--terracota);
    background: transparent;
    color: var(--terracota);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.filtro-btn.activo, .filtro-btn:hover {
    background: var(--terracota);
    color: white;
}

/* ========== EVENTOS ========== */
.eventos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.evento-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    border-left: 4px solid var(--dorado);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.evento-fecha {
    color: var(--terracota);
    font-weight: bold;
    margin: 0.5rem 0;
}

/* ========== QUIÉNES SOMOS ========== */
.quienes-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
}

.quienes-container h2 {
    color: var(--terracota);
    margin: 1.5rem 0 1rem 0;
}

.quienes-container ul {
    list-style: none;
    padding-left: 0;
}

.quienes-container li {
    margin: 0.5rem 0;
}

/* ========== CONTACTO ========== */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contacto-info, .form-contacto {
    background: white;
    padding: 2rem;
    border-radius: 20px;
}

.form-contacto input, 
.form-contacto select, 
.form-contacto textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
}

.form-contacto input:focus,
.form-contacto select:focus,
.form-contacto textarea:focus {
    outline: none;
    border-color: var(--terracota);
}

.btn {
    background: var(--terracota);
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
}

.btn:hover {
    background: var(--terracota-oscuro);
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.modal-contenido {
    background: white;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-cerrar {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
}

.modal-producto {
    padding: 2rem;
}

.modal-producto img {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 15px;
    background: #f5f0e8;
}

.modal-producto .cultura {
    display: inline-block;
    background: var(--terracota);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 0.5rem 0;
}

.modal-producto .precio {
    font-size: 1.8rem;
    color: var(--terracota);
    font-weight: bold;
}

.caracteristicas {
    background: var(--arcilla-claro);
    padding: 1rem;
    border-radius: 15px;
    margin: 1rem 0;
}

.caracteristicas ul {
    padding-left: 1.5rem;
}

.modal-botones {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* ========== WHATSAPP FLOTANTE ========== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ========== FOOTER ========== */
footer {
    background: var(--barro);
    color: var(--arcilla-claro);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--barro);
        padding: 1rem;
        text-align: center;
        gap: 0.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .carrusel-slide img {
        height: 250px;
    }
    
    .carrusel-texto h2 {
        font-size: 1rem;
    }
    
    .carrusel-texto p {
        font-size: 0.7rem;
    }
    
    .carrusel-texto {
        padding: 0.5rem 1rem;
        bottom: 10%;
        left: 5%;
        right: 5%;
    }
    
    .seccion-titulo {
        font-size: 1.5rem;
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-botones {
        flex-direction: column;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .producto-card img {
        height: 200px;
    }
    
    .modal-producto img {
        max-height: 250px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .carrusel-slide img {
        height: 350px;
    }
    
    .producto-card img {
        height: 220px;
    }
}