/* ====================================================================
   Nuevos Estilos para Secciones de Soluciones (Limpieza de código)
   ==================================================================== */

.soluciones-estilo {
    padding: 80px 0;
    border-bottom: 1px solid #e5e5e5;
}

.section-title {
    font-family: 'neuropolregular', sans-serif;
    font-size: 36px;
    margin-bottom: 40px;
    color: #585857;
}

.service-box p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 15px;
    color: #666;
    text-align: justify;
}

/* Estilos de la lista de beneficios (Reemplaza los estilos inline) */
.benefits-list {
    padding-left: 0;
    list-style: none;
}

.benefits-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 15px;
}

.benefits-list li i {
    color: #e94f1b;
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 18px;
}

/* Ajustes de imagen y botones */
.product-media img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-media img:hover {
    transform: scale(1.02);
}

.btn-style-three {
    margin-top: 15px;
}

/* Logos de Marcas */
.logo-container {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.brand-img {
    max-height: 60px;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(1);
}

.brand-img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* --- Fondo con imagen a la mitad (bg-imagen) --- */
.bg-imagen {
    position: relative;
}

.bg-imagen::before {
    background-image: url("../images/wrap_img.jpg"); /* Asegúrate de que esta imagen exista */
    background-position: center center;
    background-size: cover;
    bottom: 0;
    content: "";
    right: 0;
    position: absolute;
    top: 0;
    width: 50%;
}

/* En móviles quitamos la imagen de fondo para que no estorbe */
@media only screen and (max-width: 800px) {
    .bg-imagen::before {
        background: none;
    }
}

/* --- Título de la sección (.titulo) --- */
.titulo h2 { 
    position: relative; 
    padding-top: 29px; 
    text-transform: uppercase; 
    color: #585857; 
    font-family: 'neuropolregular', sans-serif; /* Tu fuente corporativa */
}

/* La rayita naranja encima del título */
.titulo h2:before { 
    position: absolute; 
    content: ''; 
    background: #e94f1b; 
    width: 30px; 
    height: 3px; 
    left: 50%; /* Centrado */
    margin-left: -15px; /* Para que quede perfectamente al medio */
    top: 0px; 
}

/* --- Animación del Slider de imágenes (.slider) --- */
.slider {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.slider img {
    display: inline-block;
    animation: slide 20s linear infinite; /* Animación continua de 20 segundos */
}

@keyframes slide {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* Utilidades globales (Generalmente ya incluidas en tu tema o Bootstrap) */
.sec-pad { padding: 80px 0; }
.gray-bg { background-color: #f7f7f7; }

/* ====================================================================
   Maxxess
==================================================================== */

/* --- 1. Contenedores y Fondos --- */
.feature-section {
    position: relative;
    padding: 80px 0px;
    background-color: #ffffff;
}

.security-information {
    position: relative;
}

.gray-bg {
    background-color: #f7f7f7 !important;
}

.sec-pad {
    padding: 80px 0px;
}

/* --- 2. Alineaciones y Textos Generales --- */
.centred {
    text-align: center;
}

.text-left {
    text-align: left !important;
}

/* Estilo para los párrafos dentro de estas secciones */
.feature-section .text-left,
.security-information {
    font-size: 16px;
    line-height: 28px;
    color: #666666;
    text-align: justify; /* Mejora la lectura en bloques de texto largos */
}

/* --- 3. Títulos (h2 y h3) --- */
.feature-section .text-left h3 {
    font-family: 'neuropolregular', sans-serif;
    font-size: 24px;
    color: #222222;
    margin-bottom: 15px;
}

.title-box.centred .sec-title {
    position: relative;
    margin-bottom: 30px;
}

.title-box.centred .sec-title h2 {
    position: relative;
    display: inline-block;
    font-family: 'neuropolregular', sans-serif;
    font-size: 36px;
    color: #222222;
    padding-top: 25px;
    text-transform: uppercase;
}

/* La característica línea naranja sobre el título centrado */
.title-box.centred .sec-title h2:before {
    position: absolute;
    content: '';
    background: #e94f1b;
    width: 40px;
    height: 3px;
    left: 50%;
    margin-left: -20px;
    top: 0;
}

.title-box .title-text {
    font-size: 17px;
    color: #666666;
    line-height: 28px;
}

/* --- 4. Textos Destacados (Sustituto de estilos en línea) --- */
.texto-destacado {
    font-size: 20px;
    font-style: italic;
    color: #444444;
    margin-bottom: 15px;
}

.texto-destacado-lista p {
    font-size: 18px;
    font-style: italic;
    color: #444444;
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.texto-destacado-lista p::before {
    content: "\f105"; /* Flechita de FontAwesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #e94f1b;
}

/* ====================================================================
    Rosslare
==================================================================== */

/* --- 1. Contenedores y Layout --- */
.feature-section,
.security-information {
    position: relative;
    padding: 80px 0px;
    background-color: #ffffff;
}

.form-section {
    position: relative;
    padding: 100px 0px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.gray-bg {
    background-color: #f7f7f7 !important;
}

.sec-pad {
    padding: 80px 0px;
}

/* --- 2. Tipografía y Textos --- */
.centred {
    text-align: center;
}

.text-left {
    text-align: left !important;
}

/* Estilo para el texto general de las descripciones */
.feature-section .text-left,
.security-information {
    font-size: 16px;
    line-height: 28px;
    color: #666666;
    text-align: justify; /* Mantiene los bloques de texto limpios */
}

.security-information p {
    margin-bottom: 15px;
}

/* --- 3. Títulos (h2, h3 y Subtítulos) --- */
.feature-section h3,
.security-information h3 {
    font-family: 'neuropolregular', sans-serif;
    font-size: 24px;
    color: #222222;
    margin-bottom: 15px;
}

/* Título principal centrado con línea naranja superior */
.title-box.centred .sec-title h2 {
    position: relative;
    display: inline-block;
    font-family: 'neuropolregular', sans-serif;
    font-size: 36px;
    color: #222222;
    padding-top: 25px;
    text-transform: uppercase;
}

.title-box.centred .sec-title h2:before {
    position: absolute;
    content: '';
    background: #e94f1b;
    width: 40px;
    height: 3px;
    left: 50%;
    margin-left: -20px;
    top: 0;
}

/* Subtítulos de las soluciones (Access control, Intrusion, etc.) */
h4.sub-title { 
    position: relative; /* CRÍTICO para que la línea se posicione bien */
    padding-left: 0px; 
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #222222;
    padding-bottom: 10px;
}

/* Línea naranja debajo del subtítulo */
h4.sub-title::before {
    content: "";
    background: #e94f1b;
    height: 2px;
    left: 0;
    position: absolute;
    bottom: 0; /* Lo coloca justo debajo del texto */
    width: 50px; /* Ancho de la línea */
}

/* Título de la sección del Formulario/Video */
.form-title h2 {
    font-family: 'neuropolregular', sans-serif;
    font-size: 30px;
    color: #ffffff; /* Letra blanca para contrastar con el fondo oscuro */
    margin-bottom: 40px;
}

/* --- 4. Imágenes --- */
.feature-section img,
.security-information img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Opcional: bordes redondeados para estética moderna */
    margin-bottom: 20px;
}

/* --- 5. Utilidad para Textos Destacados --- */
.texto-destacado {
    font-size: 20px;
    font-style: italic;
    color: #444444;
    border-left: 4px solid #e94f1b;
    padding-left: 15px;
    margin-top: 20px;
}

/* ====================================================================
   Doorking
==================================================================== */

/* --- 1. Contenedores de Sección --- */
.feature-section {
    position: relative;
    padding: 80px 0px;
    background-color: #ffffff;
}

.gray-bg {
    background-color: #f7f7f7 !important;
}

.centred {
    text-align: center;
}

.text-left {
    text-align: left !important;
}

/* Estilo del texto introductorio */
.feature-section .text-left {
    font-size: 16px;
    line-height: 28px;
    color: #666666;
    text-align: justify;
}

/* --- 2. Tarjeta del Producto (bg-box) --- */
.bg-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Mantiene el título al fondo si las imágenes varían */
    height: 100%;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    padding: 15px 15px 20px 15px;
    text-align: center;
    border-radius: 8px; /* Bordes redondeados para un look más moderno */
    transition: all 300ms ease; /* Transición suave para el hover */
    /* Sombra elegante */
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.04), 2px 2px 12px 2px rgba(0, 0, 0, 0.04);
}

/* Efecto al pasar el mouse sobre la tarjeta */
.bg-box:hover {
    transform: translateY(-5px); /* Se levanta ligeramente */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Sombra más pronunciada */
    border-color: #e94f1b; /* Borde naranja corporativo */
}

/* --- 3. Imágenes y Textos dentro de la Tarjeta --- */
.bg-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.bg-box h4 {
    margin: 15px 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    line-height: 24px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

/* Opcional: El título se vuelve naranja al hacer hover en la caja */
.bg-box:hover h4 {
    color: #e94f1b;
}

/* --- 4. Ajustes Responsivos --- */
@media only screen and (max-width: 767px) {
    .bg-box {
        margin-bottom: 30px; /* Separación entre tarjetas en celulares */
    }
    
    /* Elimina el margen inferior de la última tarjeta */
    .row > div:last-child .bg-box {
        margin-bottom: 0;
    }
}