/* css/style.css */
:root {
    --primary-color: #6f2c91; /* Púrpura Biocell */
    --secondary-color: #8cc63f; /* Verde Manzana Biocell */
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f9f9f9;
}

/* --- HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container img {
    height: 60px; /* Ajusta según tu logo */
    width: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary-color); }

.btn-login {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background 0.3s;
}

.btn-login:hover { background-color: #5a2378; }

/* --- HERO SECTION --- */
.hero {
    /* Gradiente púrpura sobre la imagen */
    background: linear-gradient(rgba(111, 44, 145, 0.8), rgba(111, 44, 145, 0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 { font-size: 3rem; margin-bottom: 1rem; font-weight: 700; line-height: 1.2; }
.hero h2 { font-size: 1.5rem; margin-bottom: 2rem; font-weight: 400; color: var(--secondary-color); }

.cta-buttons .btn {
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    margin: 10px;
    display: inline-block;
    transition: transform 0.2s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary { background-color: var(--secondary-color); color: var(--text-dark); }
.btn-secondary { background-color: transparent; border: 2px solid var(--white); color: var(--white); }
.cta-buttons .btn:hover { transform: scale(1.05); }

/* --- FEATURES / VALORES --- */
.valores {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--white);
}

.valores h2 { margin-bottom: 50px; color: var(--primary-color); font-size: 2.2rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--secondary-color);
    text-align: left;
}

.feature-card h3 { color: var(--primary-color); margin-bottom: 15px; }
.feature-card p { font-size: 0.95rem; color: #555; }

/* --- CONTACTO CTA --- */
.contacto-cta {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.btn-contact {
    display: inline-block;
    margin-top: 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* --- FOOTER --- */
footer {
    background-color: #222;
    color: #ccc;
    padding: 40px 20px;
    font-size: 0.9rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col h4 { color: var(--white); margin-bottom: 15px; border-bottom: 2px solid var(--secondary-color); display: inline-block; padding-bottom: 5px;}
.footer-col p { margin-bottom: 10px; }

/* Responsive */
@media (max-width: 768px) {
    .navbar { flex-direction: column; }
    .nav-links { margin-top: 20px; display: flex; flex-direction: column; align-items: center; }
    .nav-links a { margin: 10px 0; }
    .hero h1 { font-size: 2rem; }
}