:root {
    --blue-primary: #0056b3;
    --blue-dark: #003d80;
    --blue-light: #eef5ff;
    --text-color: #444;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
}

/* Navbar (Ahora transparente sobre el hero) */
header {
    position: absolute; /* Importante para que flote sobre el hero */
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent; /* Fondo transparente */
    padding: 20px 50px;
    z-index: 10; /* Asegura que esté sobre la capa overlay */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: white;
    font-size: 26px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* Sombra suave para legibilidad */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a.active, .nav-links a:hover {
    color: white;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

/* --- NUEVA HERO SECTION AMIGABLE --- */
.hero-friendly {
    position: relative;
    /* REEMPLAZA ESTA URL CON TU IMAGEN LOCAL 'fondo-hogar.jpg' */
    background-image: url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    height: 70vh; /* Ocupa el 70% de la altura de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 80px; /* Espacio para el navbar absoluto */
}

/* Capa azul suave sobre la foto para legibilidad del texto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.7) 0%, rgba(0, 61, 128, 0.5) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2; /* Sobre la capa overlay */
}

.hero-text-centered h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.hero-text-centered p {
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Botones actualizados para el nuevo fondo */
.btn-primary-blue {
    background: var(--blue-primary);
    color: white;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}
.btn-primary-blue:hover {
    background: var(--blue-dark);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}
.btn-outline-white:hover {
    background: white;
    color: var(--blue-primary);
}

/* --- FIN DE LA NUEVA HERO --- */

/* Features Cards (Sin cambios, solo ajuste de margen) */
.features {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 60px 20px;
    margin-top: 0px; /* Eleva las tarjetas sobre el final de la foto */
    position: relative;
    z-index: 5;
}

.card {
    background: white;
    padding: 40px 25px;
    border-radius: 15px;
    width: 350px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.icon-circle {
    background-color: var(--blue-primary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--blue-primary);
}

.card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Bottom Section (Sin cambios) */
.bottom-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 30px;
}

.about-us, .contact-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    flex: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.about-us h2, .contact-info h2 {
    color: var(--blue-primary);
    margin-bottom: 15px;
}

.btn-blue-inline {
    display: inline-block;
    background: var(--blue-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 25px;
}

.contact-info li {
    margin-bottom: 10px;
    font-size: 15px;
}

.contact-info i {
    color: var(--blue-primary);
    margin-right: 10px;
}

.btn-whatsapp {
    background: #0061c0;
    color: white;
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Footer (Sin cambios) */
footer {
    background-color: var(--blue-dark);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    margin-top: 30px;
}

/* Responsivo Actualizado */
@media (max-width: 900px) {
    header {
        position: relative; /* Vuelve a posición normal en móviles */
        background-color: var(--blue-dark);
        padding: 15px 20px;
    }
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
    .nav-links {
        gap: 10px;
    }
    .nav-links li {
        margin-left: 0;
    }

    .hero-friendly {
        height: auto;
        padding: 60px 20px 100px; /* Más padding abajo para las tarjetas */
    }
    .hero-text-centered h1 {
        font-size: 32px;
    }
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .features {
        flex-direction: column;
        align-items: center;
        margin-top: -60px;
    }
    .card {
        width: 100%;
        max-width: 400px;
    }
    .bottom-info {
        flex-direction: column;
    }
}