
/* --- VARIABLES DE COLOR --- */
:root {
    --primary-color: #8C1D18; 
    --rojo-ladrillo: #A63A2A; 
    --text-dark: #0A2E4E;  
    --text-enegro: #0A0F1F;
    --sub-titulos:#0B3C5D; 
    --text-light: #64748b;    
    --bg-light: #f8fafc;      
    --white: #ffffff;

}
/* --- ESTILOS GLOBALES --- */
*  {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Tipografía y colores base */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-enegro);
    background-color: var(--bg-light);

}

html {
    scroll-behavior: smooth;
}

/* Clases de utilidad */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Contenedor fluido para secciones que necesitan más espacio */
.container-fluid {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}
/* Espaciado general para secciones */
.section-padding {
    padding: 60px 0;
}
/* Títulos de sección */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

/* Header y Navegación */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
/* Contenedor del header para alinear logo y menú */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo */
.logo-container a {
    display: flex;
    align-items: center;
}

/* Ajusta el tamaño del logo para que se vea bien en el header */
.logo-img {
    height: 160px;
    width: auto;
    object-fit: contain;
}

/* Menú */
nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 15px;
}

/* Estilos para los enlaces del menú */
nav ul li a {
    text-decoration: none;
    color: var(--text-enegro);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
    white-space: nowrap;
}

/* Efecto hover para los enlaces del menú */
nav ul li a:hover {
    color: var(--primary-color); 
}

/* Botón destacado en el menú */
.btn-nav {
    background: var(--rojo-ladrillo); 
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    margin-left: 10px;
}

/* --- SECCIÓN HERO --- */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../img/slider neuvia pro modificado.webp');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    background-attachment: fixed; 
}

/* Título principal en el hero */
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Resaltar parte del título con el color primario */
.hero h1 span {
    color: var(--rojo-ladrillo);
}


/* Subtítulo en el hero */
.btn-primary {
    display: inline-block;
    background: var(--primary-color); 
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 600;
    transition: transform 0.3s;
}

/* Efecto hover para el botón del hero */
.btn-primary:hover {
    transform: translateY(-3px);
}

/* --- SECCIÓN INTRODUCCIÓN A LA EMPRESA --- */
.intro-empresa {
    background-color: var(--white);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

/* Texto de introducción */
.intro-text {
    font-size: 1.25rem;
    color: var(--text-enegro);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Resaltar palabras clave en el texto de introducción */
.intro-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* --- SECCIÓN SERVICIOS --- */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Tarjetas de servicios */
.card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: box-shadow 0.3s, border-color 0.3s;
    border: 1px solid #e2e8f0;
    
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Efecto hover para las tarjetas de servicios */
.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Título de cada servicio */
.card h3 {
    margin-bottom: 15px;
    color: var(--sub-titulos);
}

/* Descripción de cada servicio */
.card-icon {
    width: 80px; 
    height: 80px; 
    object-fit: contain;
    display: block;
    margin: 0 auto 20px auto;
}

/* --- SECCIÓN FOOTER --- */
footer {
    text-align: center;
    padding: 20px;
    background: var(--text-dark);
    color: #94a3b8;
    margin-top: 50px;
}

/* --- ESTILOS ADICIONALES --- */
.main-header.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
    transition: box-shadow 0.3s ease;
}

/* --- SECCIÓN CONTENIDO DIVIDIDO --- */
.contenido-dividido {
    display: flex;           
    align-items: center;     
    justify-content: space-between; 
    gap: 50px;               
}

/* Columnas de texto e imagen */
.contenido-dividido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px; 
    padding: 0 40px; 
}

/* Ajuste de proporciones para texto e imagen */
.texto-columna {
    flex: 0.8; 
}

.imagen-columna {
    flex: 1.2;
}

.texto-columna h2 {
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 2.5rem; 
    line-height: 1.2;
}

.texto-columna p {
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: var(--text-enegro);
}

.img-final {
    width: 100%;       
    height: auto;      
    border-radius: 15px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); 
    border-left: 5px solid var(--primary-color);
    border-right: 5px solid var(--primary-color);
}

/* --- MEDIA QUERIES PARA DISEÑO RESPONSIVO --- */
@media (max-width: 900px) { 
    .contenido-dividido {
        flex-direction: column;
        text-align: center;
        padding: 0 10px;
    }
    
    .texto-columna, .imagen-columna {
        flex: 1; 
        width: 100%;
    }

    .imagen-columna {
        order: 1; 
        margin-bottom: 30px;
    }
    
    .texto-columna {
        order: 2;
    }
}
/* --- SECCIÓN ESTRUCTURA DE LA EMPRESA --- */
.seccion-estructura {
    text-align: center; 
}

/* Título de la sección */
.titulo-rojo {
    font-size: 2.6rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 700;
}

/* Imagen centrada con estilo */
.img-centro-fija {
    display: block;       
    margin: 0 auto;       
    max-width: 100%;      
    width: 450px;         
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    border-left: 5px solid var(--primary-color);
    border-right: 5px solid var(--primary-color);
}

/* --- SECCIÓN NUESTRO MÉTODO --- */
.grid-tres-columnas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    
    
    max-width: 1000px;    
    margin: 0 auto 50px auto; 
    
    text-align: center;   
}

/* Estilo para cada columna del método */
.columna-item h3 {
    color: var(--sub-titulos);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- SECCIÓN NUESTROS ALIADOS --- */
.bloque-final-ancho {
    background-color: #f1f5f9;
    padding: 40px;
    border-radius: 10px;
    
    
    max-width: 1000px; 
    margin: 0 auto;    
    
    border-left: 5px solid var(--primary-color);
    border-right: 5px solid var(--primary-color);
}

.bloque-final-ancho p {
    font-size: 1.1rem;
    color: var(--text-enegro);
    margin: 0; 
}


.subtitulo-general {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: -20px auto 50px auto; 
}


.grid-cuatro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px; 
    text-align: center;
}


.item-columna {
    padding: 20px;
    
    
}


.icono-foto {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%; 
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid var(--white); 
    background-color: var(--white);
}


.item-columna h3 {
    color: var(--sub-titulos); 
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.item-columna h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 0.85rem;
}

.item-columna p {
    font-size: 0.95rem;
    color: var(--text-enegro);
    line-height: 1.6;
}



.slider-ventana {
    width: 100%;
    overflow: hidden; 
    position: relative;
    padding: 20px 0; 
}

.slider-track {
    display: flex; 
    transition: transform 0.4s ease-in-out; 
    width: 100%;
}

.slide-item {
    
    min-width: 33.333%; 
    padding: 0 15px; 
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.slide-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .slide-item {
        min-width: 100%; 
    }
}


.flex-centrado {
    display: flex;            
    flex-direction: column;    
    align-items: center;       
    justify-content: center;   
    width: 100%;               
}

/* --- FOOTER --- */
.main-footer {
    background-color: #1e293b; 
    color: var(--white);
    padding: 60px 0 0 0;
    margin-top: 80px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-item {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 10px;
    
}

.footer-item h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-item ul {
    list-style: none;
}

.footer-item ul li {
    margin-bottom: 10px;
}

.footer-item ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-item ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: #0f172a; 
    padding: 20px 0;
    width: 100%; 
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;             
    justify-content: center;   
    align-items: center;      
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;                
    text-align: center;       
}

.btn-primary {
    display: inline-block;
    background: var(--rojo-ladrillo); 
    color: var(--white) !important; 
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    color: var(--white) !important;
    transform: translateY(-3px);
    background-color: #701812; 
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s ease; 
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Estilo para el precio */
.precio {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin: 15px 0;
}

.precio span {
    font-size: 1rem;
    color: var(--text-light);
}


.servicios-grid {
    display: flex !important;
    flex-direction: row !important; 
    justify-content: center;
    align-items: stretch; 
    gap: 20px;
    width: 100%;
    margin: 40px auto;
}

.card-ajustada {
    flex: 1; 
    max-width: 400px; 
    min-width: 300px; 
    background: var(--white);
    padding: 45px 35px;
    min-height: 100%;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column; 
    justify-content: space-between; 
}

.descripcion-justificada {
    text-align: justify;
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.modulo-item {
    margin-bottom: 15px;
}

.subtitulo-card {
    font-size: 0.95rem;
    color: var(--sub-titulos);
    margin-bottom: 10px;
}

.lista-planes li {
    flex-grow: 1;
    font-size: 0.85rem;
    list-style: none;
    padding-left: 15px;
    position: relative;
    margin-bottom: 30px;
    text-align: left;
}

.lista-planes li::before {
    content: "•";
    color: var(--text-dark);
    position: absolute;
    left: 0;
}

.card-ajustada .btn-primary {
    margin-top: auto;
    align-self: center;
    width: 90%;
    text-align: center;
    color: var(--white) !important;
    text-decoration: none;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; 
    gap: 30px;
    padding: 60px 0;
}

.footer-item {
    flex: 1; 
    min-width: 200px; 
}

.mapa-contenedor {
    width: 100%;
    margin-top: 15px;
    background: #2a3547; 
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.mapa-contenedor iframe {
    display: block; 
}

/* Responsivo para celulares */
@media (max-width: 768px) {
    .footer-item {
        flex: 1 1 100%; 
        text-align: center;
    }
}
#contacto-footer {
    margin-top: 0 !important; 
    margin-bottom: 0 !important;
    padding-top: 50px;          
    padding-bottom: 0;          
}
.footer-grid {
    margin-bottom: 0 !important;
    padding-bottom: 100px; 
}




















































































