/* --- Importación de la Fuente (Nunito Sans) --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap');

/* --- Variables Globales de Diseño (Colores y Fuentes) --- */
:root {
    --font-principal: 'Nunito Sans', sans-serif;
    --color-primario: #007BFF; /* Azul brillante para llamadas a la acción */
    --color-secundario: #005C99; /* Azul oscuro para títulos y hover */
    --color-texto: #333333; /* Gris oscuro para lectura cómoda */
    --color-fondo-claro: #F8F9FA; /* Un gris muy sutil para secciones */
    --color-blanco: #FFFFFF;
    --sombra-suave: 0 4px 12px rgba(0,0,0,0.08);
}

/* --- Reseteo y Estilos Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-principal);
    color: var(--color-texto);
    background-color: var(--color-blanco);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: var(--color-secundario);
    font-weight: 700; /* Un poco más de peso para los títulos */
}

a {
    color: var(--color-primario);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secundario);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
}

/* --- Estructura Principal: Header, Main, Footer --- */
.site-header {
    background-color: var(--color-blanco);
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: var(--sombra-suave);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 50px; /* Ajusta esto al tamaño de tu logo */
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-navigation a {
    color: var(--color-texto);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a { /* Para compatibilidad con WordPress */
    color: var(--color-primario);
    border-bottom-color: var(--color-primario);
}

/* --- NUEVOS ESTILOS: Sección Hero --- */
.hero-section {
    background-image: linear-gradient(rgba(0, 92, 153, 0.6), rgba(0, 92, 153, 0.6)), url(https://placehold.co/1920x1080/EBF8FF/333333?text=Imagen+de+Fondo+Agua+Pura);
    background-size: cover;
    background-position: center;
    color: var(--color-blanco);
    padding: 120px 0;
    text-align: center;
}

.hero-section h1 {
    color: var(--color-blanco);
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-button {
    background-color: var(--color-primario);
    color: var(--color-blanco);
    padding: 15px 35px;
    border-radius: 50px; /* Botones más redondeados y modernos */
    font-weight: 700;
    font-size: 1.1em;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #0069D9;
    color: var(--color-blanco);
    transform: translateY(-3px);
}

/* --- NUEVOS ESTILOS: Sección de Beneficios --- */
.benefits-section {
    background-color: var(--color-fondo-claro);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: center;
}

.benefit-item .icon {
    font-size: 3.5em; /* Iconos más grandes */
    color: var(--color-primario);
    margin-bottom: 15px;
}

.benefit-item h3 {
    margin-bottom: 10px;
    font-size: 1.4em;
}

/* --- NUEVOS ESTILOS: Sección de Productos Destacados --- */
.products-section {
    background-color: var(--color-blanco);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--color-blanco);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card-content {
    padding: 25px;
}

.product-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.product-price {
    color: var(--color-texto);
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-button {
    background-color: #28a745;
    color: var(--color-blanco);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background-color: #218838;
    color: var(--color-blanco);
}


/* --- Footer --- */
.site-footer {
    background-color: #212529;
    color: var(--color-fondo-claro);
    padding: 50px 0;
    text-align: center;
}

.site-footer a {
    color: var(--color-blanco);
}