/* ==========================================================================
   HEADER INTERNO (EMPRESA)
   ========================================================================== */
.header-interno {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: bottom center;
    position: relative;
    display: flex;
    align-items: center;
}

.header-interno::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.header-content h1 {
    font-family: var(--fuente-titulos);
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
}

.header-volanta {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--fuente-titulos);
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   SECCIÓN HISTORIA
   ========================================================================== */
.img-historia {
    border-radius: 15px;
    box-shadow: 20px 20px 0px var(--crema-bg);
    transition: transform 0.4s ease;
}

.img-historia:hover {
    transform: translate(-5px, -5px);
}

/* ==========================================================================
   MISION, VISIÓN Y VALORES
   ========================================================================== */
.card-identidad {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    height: 100%;
    border-left: 5px solid var(--principal);
}

.img-placeholder-empresa {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}


.valor-item {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.valor-item i {
    font-size: 2.5rem;
    color: var(--secundario);
    margin-bottom: 15px;
}

.valor-item span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--negro-texto);
}

.valor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--secundario);
}

/* ==========================================================================
   SECCIÓN RESEÑA HISTÓRICA
   ========================================================================== */

.wrapper-historia-visual {
    position: relative;
    padding-right: 20px;
    padding-bottom: 20px;
}

.decoracion-historia {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 2px solid var(--crema-bg);
    z-index: -1;
    border-radius: 15px;
}

.texto-historia-enriquecido p {
    margin-bottom: 1.5rem;
    color: var(--negro-texto);
    font-size: 1.05rem;
}


.blockquote-sevedi {
    border-left: 4px solid var(--secundario);
    padding: 15px 30px;
    background-color: var(--gris-claro);
    font-family: var(--fuente-titulos);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--negro-texto);
    border-radius: 0 10px 10px 0;
}

/* ==========================================================================
   SECCIÓN EFICIENCIA
   ========================================================================== */

.lista-eficiencia {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-eficiencia li {
    position: relative;
    padding: 10px 0 10px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--negro-texto);
    font-size: 1.05rem;
}

.lista-eficiencia li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--principal);
}

.badges-eficiencia {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.badge-distribucion {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--principal);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: 50px;
}

.badge-distribucion i {
    font-size: 1rem;
}

/* ==========================================================================
   AJUSTES DE CIERRE (PARALLAX EMPRESA)
   ========================================================================== */

.seccion-empresa .display-4 {
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.opacity-75 {
    opacity: 0.75;
}

.parallax-bg {
    background-image: url('../img/fondo-empresa-parallax.webp');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* ==========================================================================
   MEDIA QUERIES (UNIFICADOS AL FINAL)
   ========================================================================== */

@media (max-width: 991px) {

    .pl-lg-5 {
        padding-left: 15px !important;
    }
}

@media (max-width: 768px) {

    .header-interno {
        height: 50vh;
    }

    .img-historia {
        box-shadow: 10px 10px 0px var(--crema-bg);
    }

    .card-identidad {
        padding: 30px;
    }
}