/* ====================================================================
   AJUSTES PARA FEATURE SECTION
==================================================================== */
.feature-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.feature-section .sec-title {
    margin-bottom: 50px;
}

.feature-section .sec-title h2 {
    position: relative;
    padding-top: 29px;
    text-transform: uppercase;
    color: #585857;
}

.feature-section .sec-title h2:before {
    position: absolute;
    content: '';
    background: #e94f1b;
    width: 30px;
    height: 3px;
    left: 50%; /* Centrado */
    margin-left: -15px; /* Ajuste para centrar la línea */
    top: 0px;
}

/* Mejora de legibilidad en párrafos */
.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

.text-justified p {
  text-align: justify !important;
  text-justify: inter-word !important; /* Distribuye el espacio solo entre palabras, no letras */
  hyphens: none !important;            /* DESACTIVA el corte de palabras con guiones */
  -webkit-hyphens: none !important;    /* Para Chrome y Safari */
  -ms-hyphens: none !important;         /* Para Internet Explorer/Edge */
  word-break: normal !important;       /* Evita que las palabras se rompan */
  margin-bottom: 15px;
}

/* Ajustes responsivos para dispositivos móviles */
@media only screen and (max-width: 767px) {
    .feature-section {
        padding: 40px 0;
        text-align: center;
    }
    .feature-section .text-justified p {
        text-align: center;
    }
}

/* ====================================================================
   PRODUCT & SECTOR SECTIONS (Desacoplado)
   Ideal para mantener en un archivo separado: 'sectores.css'
==================================================================== */

/* --- 1. Contenedores Generales --- */
.product-detail-section {
    padding: 80px 0 60px;
    border-bottom: 1px solid #e5e5e5;
}

.product-detail-section:last-of-type {
    border-bottom: none;
}

/* --- 2. Títulos de Sección --- */
.product-detail-section .section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    color: #222;
    font-family: 'neuropolregular', sans-serif;
}

.product-detail-section .section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #e94f1b;
    margin-top: 12px;
}

.product-detail-section .section-title.text-right:after {
    margin-left: auto;
    margin-right: 0;
}

/* --- 3. Medios y Descripción --- */
.product-media img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service-box {
    margin-top: 25px;
    background: #f7f7f7;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #e94f1b;
}

.service-box p {
    font-size: 17px;
    line-height: 1.7;
    text-align: justify;
    color: #444;
}

/* --- 4. Cards de Sector (Service Section) --- */
.bg-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.04);
}

.bg-box h4 {
    margin: 20px 0 10px;
    font-weight: bold;
}

/* --- 5. Responsive --- */
@media (max-width: 991px) {
    .product-detail-section {
        padding: 40px 0;
    }
    .product-media {
        margin-top: 30px;
    }
    .product-detail-section .section-title.text-right {
        text-align: center;
    }
    .product-detail-section .section-title.text-right:after {
        margin: 12px auto 0;
    }
}