/* --- ESTILOS GENERALES Y FUENTES --- */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1a3a6b; /* Azul corporativo oscuro */
}

/* --- HEADER Y NAVEGACIÓN --- */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #1a3a6b;
    text-decoration: none;
}

.logo span {
    color: #00a896; /* Verde azulado para acento */
}

.nav-links a {
    color: #343a40;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00a896;
}

/* --- SECCIÓN HERO (PRINCIPAL) --- */
.hero {
    /* IMPORTANTE: Ahora la imagen se carga desde tu carpeta local 'images' */
    background: linear-gradient(rgba(44, 118, 119), rgba(139, 182, 171)), url('../images/bubbles.svg') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.cta-button {
    background-color: #ccbf0f; /* Amarillo */
    color: #ffffff;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #e07b2c;
    transform: translateY(-3px);
}

/* --- SECCIÓN DE VALOR ("POR QUÉ VETLABS") --- */
.value-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.value-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-item {
    text-align: center;
}

.value-item .icon {
    font-size: 3em;
    color: #00a896;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* --- SECCIÓN "MÁS QUE UNA FARMACIA" --- */
.feature-section {
    padding: 80px 0;
    background-color: #eaf6f5; /* Verde muy claro */
}

.feature-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.feature-content {
    flex: 1;
    min-width: 300px;
}

.feature-image {
    flex: 1;
    min-width: 300px;
}

.feature-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.feature-content p {
    margin-bottom: 15px;
}

/* --- SECCIÓN DE CATEGORÍAS DE PRODUCTOS --- */
.categories-section {
    padding: 80px 0;
    text-align: center;
}

.categories-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    padding: 20px;
    font-size: 1.2em;
    margin: 0;
    color: #1a3a6b;
}

/* --- SECCIÓN DE NOTIFICACIÓN (CTA FINAL) --- */
.notification-section {
    background-color: #2d7778;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.notification-section h2 {
    font-size: 2.2em;
    color: #ffffff;
    margin-bottom: 15px;
}

.notification-section p {
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input[type="email"] {
    flex-grow: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1em;
}

.subscribe-form button {
    background-color: #ccbf0f;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s;
}

.subscribe-form button:hover {
    background-color: #e07b2c;
}

/* --- FOOTER --- */
footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
}

.footer-logo span {
    color: #ccbf0f;
}

.footer-text {
    font-size: 0.9em;
}

.footer-text a {
    color: #00a896;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

.footer-text span {
    color: #ccbf0f;
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    .navbar { flex-direction: column; gap: 10px; }
    .feature-section .feature-container { text-align: center; }
    .subscribe-form { flex-direction: column; }
}