:root {
    --primary-brown: #3E2723;     /* Marrón café oscuro (Logo/Cintas/Botones) */
    --secondary-brown: #5D4037;   /* Un marrón un poco más claro para hovers */
    --warm-cream: #FFF8E1;        /* Crema cálido (Fondo principal) */
    --text-dark: #3E2723;         /* Usamos el marrón oscuro para el texto */
    --text-light: #8D6E63;        /* Marrón claro para detalles */
    --font-title: 'Lobster', cursive;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--warm-cream);
    background-image: radial-gradient(var(--text-light) 0.5px, transparent 0.5px);
    background-size: 20px 20px; 
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 140px; 
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background: #fff;
    border-top: 5px solid var(--primary-brown);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;  
    z-index: 1000;    
}

.brand-group {
    display: flex;
    align-items: center; 
    gap: 15px;           
}

.main-logo {
    height: 90px;        
    width: 90px;
    object-fit: contain; 
    border-radius: 50%;  
    background-color: white;
    border: 3px solid var(--primary-brown); 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative; 
    top: 5px; 
}

.ribbon {
    background: var(--primary-brown);
    color: var(--warm-cream);
    padding: 15px 25px; 
    text-align: center;
    font-family: var(--font-title);
    position: relative;
    top: -5px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.ribbon h1 {
    margin: 0;
    padding: 0;
    font-size: 1.8rem;
    line-height: 1.1;
    display: block; 
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    
    .brand-group {
        flex-direction: column; 
        gap: 5px;
    }
    
    .ribbon {
        width: 100%; 
    }
}

nav a {
    text-decoration: none;
    color: var(--primary-brown);
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-left: 25px;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

nav a:hover {
    border-bottom: 2px solid var(--primary-brown);
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.hero-text h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--primary-brown);
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--secondary-brown);
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: rotate(3deg);
}

.section-container {
    padding: 60px 20px;
    text-align: center;
}

.bg-alt {
    background-color: rgba(255, 255, 255, 0.5);
    border-top: 1px dashed var(--text-light);
    border-bottom: 1px dashed var(--text-light);
}

.section-title h3 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--primary-brown);
}

.section-title p {
    color: var(--secondary-brown);
    font-style: italic;
    margin-bottom: 40px;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 300px;
    transition: transform 0.3s;
    position: relative;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card h4 {
    color: var(--primary-brown);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.details {
    margin: 15px 0;
    color: var(--secondary-brown);
    font-size: 0.9rem;
}

.details span {
    display: inline-block;
    background: var(--warm-cream);
    padding: 4px 8px;
    border-radius: 4px;
    margin: 2px;
    border: 1px solid #eee;
}

/* Listas de bocaditos */
.product-list {
    list-style: none;
    text-align: left;
    margin: 15px 0;
    padding-left: 10px;
}

.product-list li {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--secondary-brown);
}

.product-list li::before {
    content: "•";
    color: var(--primary-brown);
    font-weight: bold;
    display: inline-block;
    width: 1em;
}

.price-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-brown);
    color: var(--warm-cream);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transform: rotate(15deg);
}

.price-tag span {
    font-size: 0.7rem;
    font-weight: normal;
}

.btn-cotizar {
    display: block;
    background-color: var(--primary-brown);
    color: var(--warm-cream);
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    transition: background 0.3s;
    font-weight: 600;
}

.btn-cotizar:hover {
    background-color: var(--secondary-brown);
    color: white;
}

footer {
    position: relative;
    background-color: var(--primary-brown);
    color: var(--warm-cream);
    padding-bottom: 30px;
    margin-top: 120px; 
}

.wave-container {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px; 
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 30px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--warm-cream);
}
.footer-col a {
    color: var(--warm-cream);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.whatsapp-link {
    color: var(--warm-cream);
    text-decoration: none;
    transition: color 0.3s;
}

.whatsapp-link:hover {
    color: brown;
    text-decoration:none;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,248,225,0.2);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.8rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px;
    }
    
    .ribbon {
        top: 0;
        width: 100%;
        margin-bottom: 15px;
    }

    nav a {
        margin: 0 10px;
        font-size: 1.1rem;
    }

    .hero-text h2 {
        font-size: 2rem;
    }
    
}