/* =========== RESET BÁSICO Y ESTILOS GLOBALES =========== */
:root {
    /*--color-primary: #386641; /* Verde principal */
    --color-primary: #664288; 
    /*--color-secondary: #6A994E; /* Verde más claro */
    --color-secondary: #775398; 
    --color-light-green: #F2E8CF; /* Verde muy claro para fondos */
    --color-text: #333;
    --color-text-light: #f8f9fa;
    --color-white: #ffffff;
    --color-gray: #6c757d;
    --font-family-base: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text);
    background-color: #fdfdfd;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

/* =========== CABECERA Y NAVEGACIÓN (Reutilizada) =========== */
.main-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ad8fc2;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 125px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}



/*.logo img {

    border-radius: 20%;
    width: 150px;
    position: relative    
    
} */

.logo_1 img {
  
    width: 200px;
    position: relative;
    
    
    

}

.logo_2 img {

    width: 100px;
    position: relative;
    
    
    
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-desktop a {
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.nav-desktop a:hover {
    color: var(--color-primary);
}

.menu-button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
}

.nav-mobile {
    display: none;
    background-color: var(--color-white);
    border-top: 1px solid #eee;
}

.nav-mobile.is-open {
    display: block;
}

.nav-mobile a {
    display: block;
    padding: 1rem 5%;
    font-weight: 500;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* píldora */
    font-weight: 700;
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* ========================================================== */
/* =========== INICIO: ESTILOS PÁGINA DE BENEFICIOS -- IMAGEN DE FONDO ENCABEZADO =========== */
/* ========================================================== */
.section {
    padding: 4rem 0;
}

.page-header-benefits {
    background: url('../img/porque_fondo_3.JPG?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
    position: relative;
    padding: 6rem 0;
    text-align: center;
    color: var(--color-white);
    min-height: 400px;
}

.page-header-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-benefits h1 {
    font-size: 3rem;
    font-weight: 700;
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.benefits-content h2 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.benefits-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.benefits-content p {
    margin-bottom: 1rem;
    color: var(--color-gray);
}

.nutrition-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.nutrition-card h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.nutrition-card p {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition-table th, .nutrition-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.nutrition-table th {
    font-weight: 600;
}

.nutrition-table tbody tr:last-child td {
    border-bottom: none;
}

/* --- INICIO: ESTILOS PARA LA ANIMACIÓN DEL CONTADOR --- */
.nutrition-value {
    display: inline-block;
    font-weight: bold;
    color: var(--color-primary);
}
/* --- FIN: ESTILOS PARA LA ANIMACIÓN DEL CONTADOR --- */

.testimonials-section {
    background-color: var(--color-light-green);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-primary);
    padding-left: 1.5rem;
}

.testimonial-card cite {
    font-weight: 600;
    font-style: normal;
}

.testimonial-card cite span {
    display: block;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--color-secondary);
}
/* ======================================================== */
/* =========== FIN: ESTILOS PÁGINA DE BENEFICIOS ============ */
/* ======================================================== */


/* =========== PIE DE PÁGINA COMPLETO ====== */
.main-footer {
    background-color: #212529;
    color: var(--color-text-light);
    padding: 3rem 0 2rem 0;
}

/*AGREGADO PARA QUE TODO LOS ELEMENTOS DE PIE DE PAGINA SE PONGA A LADO DEL OTRO*/
.footer-grid{

    display: flex;
    flex-wrap: wrap;
    gap: 120px;

}

/*.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
}
*/
.footer-grid h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-grid ul li {
    margin-bottom: 0.5rem;
}

.footer-grid ul a {
    color: #ced4da;
}

.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icons a svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    border-top: 1px solid #495057;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--color-gray);
}

/*----------------------MARCA PERU LOGO --------------------*/
.marca-peru {
    grid-column: span 1;
    display: flex;
    justify-content: center;
    align-items: center;
    
    
}

.marca-peru img {
    max-width: 160px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}
    
   
.marca-peru img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}
/*----------------------MARCA PERU LOGO --------------------*/

/* =========== DISEÑO RESPONSIVO (Media Queries) =========== */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    .menu-button {
        display: none;
    }
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-layout {
        grid-template-columns: 2fr 1fr; /* Dos tercios para el contenido, un tercio para la tabla */
    }
}
