:root {
    --color-azul-calido: #2a2a63;
    --color-azul-violeta: #4A4A9F; 
    --color-rojo-vino: #7A2F3C;
    --color-beige-calido: #F3E9D2;
    --color-mostaza: #D4A017;
    --color-crema: #FCF8E8;
    --color-marron: #3D2B1F;
    --color-verde-jade: #6EB48F;

    --color-fondo-claro: var(--color-beige-calido);
    --color-fondo-oscuro: var(--color-rojo-vino);
    --color-fondo-acento: var(--color-verde-jade);
    
    --color-texto-principal: var(--color-marron);
    --color-texto-secundario: var(--color-crema);
    
    --color-cta: var(--color-azul-violeta);
    --color-cta-hover: var(--color-rojo-vino);

    --font-heading: "Helvetica Neue", Arial, sans-serif;
    --font-body: "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-fondo-claro);
    color: var(--color-texto-principal);
}

.fullscreen-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
    position: relative; 
}

.container {
    width: 100%;
    max-width: 900px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 20px;
}

h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 2rem; }
p { font-size: 1.1rem; line-height: 1.5; margin-bottom: 20px; }

.cta-button {
    display: inline-block;
    background-color: var(--color-cta);
    color: var(--color-crema);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
    background-color: var(--color-cta-hover);
    transform: scale(1.05);
}

#hero { 
    background-color: var(--color-fondo-claro);
    color: var(--color-rojo-vino);
    background-image: url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero .subtitle { 
    font-size: 1.2rem; 
    color: var(--color-texto-secundario);
    opacity: 0.8;
    max-width: 400px; 
    margin: auto; 
}

#solucion {
    background-color: var(--color-fondo-acento);
    background-image: url('assets/images/bg-pattern-verde.png');
    background-size: 400px;
    background-blend-mode: multiply;
    color: var(--color-texto-secundario);
    position: relative;
    overflow: hidden;
}

#solucion .container {
    position: relative;
    z-index: 2;
}

.bite-decorativo {
    position: absolute;
    z-index: 1;
    width: 150px;
    height: auto;
}

#bite-deco-1 {
    width: 100px;
    top: 15%;
    left: -20px;
    transform: rotate(-25deg);
    opacity: 1;
}

#bite-deco-2 {
    width: 150px;
    bottom: 10%;
    right: -30px;
    transform: rotate(15deg);
    opacity: 1;
}

.gauges-wrapper {
    display: flex; flex-direction: column; 
    justify-content: center; align-items: center;
    gap: 40px; width: 100%; margin: 30px 0;
}
.percentage-display { text-align: center; }
.gauge__value {
    font-size: 4.5rem; font-weight: 700;
    line-height: 1.1;
    color: #f3c041;
}
.gauge__label {
    font-size: 1.2rem;
    color: var(--color-texto-secundario);
    opacity: 0.8;
}
.solution-message {
    margin-top: 20px;
    font-size: 1.8rem;
    color: var(--color-mostaza);
    opacity: 0;
}

#ingredientes {
    background-image: url('assets/images/ingredientes.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

#ingredientes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.ingredientes-container {
    position: relative;
    z-index: 2;
    display: flex; 
    flex-direction: column; 
    gap: 40px;
    max-width: 900px; 
    margin: auto;
}
.ingredientes-sticky-visual { text-align: left; color: var(--color-mostaza);}
.ingredientes-sticky-visual h2 { font-size: 2.5rem; }
.product-placeholder {
    width: 100%; 
    height: 300px; 
    border-radius: 100px; 
    margin-top: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.ingredientes-lista { display: flex; flex-direction: column; gap: 20px; }

.ingrediente-item {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    opacity: 0.3;
    transition: opacity 0.4s ease;
    border-left: none;
    padding-left: 20px;
}

.ingrediente-item h3 { font-size: 1.8rem; color: var(--color-marron); }
.ingrediente-item p { color: var(--color-marron); opacity: 0.9; }

#productos {
    background-image: url('assets/images/bg-pattern-beige.png');
    background-size: 400px;
    background-blend-mode: multiply;
    color: var(--color-texto-secundario);
    text-align: center;
}
#productos .container { max-width: 900px; margin: auto; }
#productos h2,
#productos p {
    padding: 0;
    color: var(--color-rojo-vino);
}
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
.product-card {
    background-color: var(--color-marron);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}
.product-img-placeholder {
    width: 100%; 
    height: 200px; 
    background-color: var(--color-crema);
    border-radius: 8px; 
    margin-bottom: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.product-card h3 { font-size: 1.5rem; color: var(--color-mostaza); }
.product-card p {
    font-size: 1rem; color: var(--color-crema);
    opacity: 0.8;
    margin-bottom: 0; padding: 0;
}

#cta-final {
    background-color: var(--color-fondo-oscuro);
    color: var(--color-texto-secundario);
}

footer {
    background: var(--color-fondo-oscuro);
    color: var(--color-crema);
    padding: 60px 24px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-mostaza);
}

.footer-brand p {
    color: var(--color-crema);
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-crema);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-crema);
    opacity: 0.7;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--color-mostaza);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
}
.footer-bottom p {
    color: var(--color-crema);
    opacity: 0.6;
}


@media (min-width: 768px) {
    
    h1 { font-size: 4.5rem; }
    h2 { font-size: 3.5rem; }
    p { font-size: 1.25rem; }
    #hero .subtitle { font-size: 1.5rem; }

    .gauges-wrapper { flex-direction: row; gap: 80px; margin: 60px 0; }
    .gauge__value { font-size: 7rem; }
    .gauge__label { font-size: 1.5rem; }
    .solution-message { font-size: 2.5rem; }

    #ingredientes { padding: 100px 40px; }
    .ingredientes-container { flex-direction: row; gap: 10%; }
    .ingredientes-sticky-visual {
        width: 40%;
        height: 100vh;
    }
    .ingredientes-lista { width: 50%; gap: 150px; padding: 20vh 0; }
    .ingrediente-item {
        margin-bottom: 0;
    }

    #productos { padding: 100px 40px; }
    .products-grid {
        grid-template-columns: 1fr 1fr; 
    }

    .bite-decorativo {
        width: 300px;
        opacity: 0.15;
    }
    #bite-deco-1 {
        width: 500px;
        left: -50px;
    }
    #bite-deco-2 {
        width: 400px;
        right: -60px;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 60px;
    }
}