* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.6;
}

/* --- CONTENEDOR DE LA MARCA DE AGUA (SOLO SECCIÓN BLANCA Y FIJO) --- */
.marca-agua-container {
    position: relative;
    width: 100%;
    background-color: #fcfbfa; /* Mantiene el color claro original de fondo */
    z-index: 1; /* Crea un contexto de apilamiento para que el logo no tape el texto */
}

.marca-agua-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cargamos tu imagen de logotipo */
    background-image: url('LOGO_NEGRO.jpg');
    background-repeat: no-repeat;
    background-position: center center; /* Centrado absoluto en la sección blanca */
    background-size: 320px; /* Tamaño controlado del logotipo */
    background-attachment: fixed; /* Mantiene el logo fijo en pantalla mientras se desplaza el contenido */
    
    /* Con multiply eliminamos el fondo blanco sólido del JPG para que sea transparente */
    mix-blend-mode: multiply; 
    
    /* Opacidad elegante del 10% para que actúe como marca de agua sutil */
    opacity: 0.10; 
    
    z-index: -1; /* Posiciona el logo al fondo de los textos y tarjetas */
    pointer-events: none; /* Asegura que no interfiera con los clics del usuario */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 100; /* Asegura que la cabecera cubra el fondo */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    color: #325cf0;
    font-size: 24px;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    color: #000000;
}

.nav-menu a {
    text-decoration: none;
    color: #555555;
    margin: 0 15px;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #325cf0;
}

.nav-socials a {
    color: #000000;
    margin-left: 15px;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-socials a:hover {
    color: #325cf0;
}

.hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.45)), 
                url('images/fondohero.jpg');
    background-size: cover;
    background-position: center;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 5; /* Mantiene la sección del hero sobre la marca de agua */
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.hero-content p {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #325cf0;
    color: #ffffff;
    border: 2px solid #325cf0;
}

.btn-primary:hover {
    background-color: #2446c7;
    border-color: #2446c7;
}

.btn-outline-white {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: #000000;
}

.features {
    display: flex;
    justify-content: space-around;
    padding: 60px 10%;
    background-color: transparent; /* Volvemos transparente para revelar el logo de fondo */
    text-align: center;
    position: relative;
    z-index: 2;
}

.feature-card {
    max-width: 280px;
    transition: transform 0.3s;
    background-color: rgba(255, 255, 255, 0.85); /* Fondo sutil para mejorar la legibilidad sobre el logo */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.98);
}

.feature-icon {
    background-color: #325cf0;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #555555;
}

.split-section {
    display: flex;
    align-items: center;
    padding: 60px 10%;
    gap: 5%;
    background-color: transparent; /* Volvemos transparente para revelar el logo de fondo */
    position: relative;
    z-index: 2;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.split-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.split-text {
    flex: 1;
}

.split-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.split-text p {
    font-size: 16px;
    color: #444444;
    margin-bottom: 25px;
}

.light-bg {
    background-color: transparent; /* Volvemos transparente para revelar el logo de fondo */
}

.dark-bg {
    background-color: #1a1a1a;
    color: #ffffff;
    position: relative;
    z-index: 10; /* Bloque oscuro sólido para tapar la marca de agua en esta sección */
}

.dark-bg .split-text p {
    color: #cccccc;
}

.dark-bg .hero-buttons {
    justify-content: flex-start;
}

.testimonials {
    background-color: #325cf0;
    color: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 80px 10%;
    text-align: center;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.testimonial-card {
    flex: 1;
    max-width: 320px;
}

.testimonial-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

.testimonial-card p {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.9;
}

.testimonial-card h4 {
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-cta {
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    z-index: 10;
}

.footer-cta h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-cta p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 15px; }
    .features, .split-section, .split-section.reverse, .testimonials { flex-direction: column; text-align: center; padding: 40px 5%; }
    .dark-bg .hero-buttons { justify-content: center; }
    .split-image { margin-bottom: 20px; }
    .hero-content h1 { font-size: 38px; }
    .marca-agua-container::before {
        background-size: 85vw; /* Escala del logo en pantallas móviles */
        background-attachment: scroll; /* Scroll fluido clásico para mejor rendimiento en teléfonos */
    }
}