.quienes-somos-section {
    background-color: #111111;
    color: #ffffff;
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.quienes-somos-section > * {
    position: relative;
    z-index: 2;
    /* Mayor que el z-index de ::before */
}

.quienes-somos-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Se coloca al fondo */

    /* Tu configuración de imagen original */
    background-image: url("../img/quien-es/logistica.jpeg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    /* 🛠️ AQUÍ AGREGAS EL FILTRO QUE TU QUIERAS */
    filter: brightness(50%);
    /* Ejemplo: oscurece la imagen al 50% */
}

.quienes-somos-section .container {
    margin: 0 auto;
}

/* Encabezado principal */
.quienes-somos-section .section-header {
    margin-bottom: 50px;
    text-align: left;
}

.quienes-somos-section .section-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
    margin: 0 0 15px 0;
}

.quienes-somos-section .section-subtitle-main {
    font-size: 18px;
    color: #b0b0b0;
    max-width: 800px;
    line-height: 1.6;
}

.text-red {
    color: #e31b23;
}

/* Grilla principal de dos columnas (Métricas y Tarjeta 25 Años) */
.quienes-somos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

/* Lista de características / métricas */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    background-color: rgba(227, 27, 35, 0.1);
    color: #e31b23;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.feature-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #e31b23;
    margin: 0 0 4px 0;
}

.feature-content p {
    font-size: 15px;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
}

.feature-subtitle {
    font-size: 13px;
    color: #999999;
    font-weight: 400;
}

/* Tarjeta de Años de Experiencia */
.experience-card {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- Misión, Visión y Valores --- */

.mision-vision-values-section {
    color: #ffffff;

    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}
.corporate-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.corporate-card {
    background-color: #181818;
    border: 1px solid #262626;
    border-radius: 6px;
    padding: 40px 30px;
    position: relative;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.corporate-card:hover {
    transform: translateY(-5px);
    border-color: #e31b23;
}

.corporate-card h3 {
    font-size: 22px;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.corporate-card h3 svg {
    width: 24px;
    height: 24px;
    fill: #e31b23;
}

.corporate-card p {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.7;
    margin: 0;
}

/* --- Especialidades de Flota y Transporte --- */
.fleet-section {
    background-color: #111111;
    color: #ffffff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}
.fleet-section-title {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: -2px 2px 3px rgba(0, 0, 0, 1);
}
.fleet-section-container {
    max-width: 80vw;
    margin: auto;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.fleet-item {
    background-color: #ffffff;

    padding: 20px 25px;
    border-radius: 0 4px 4px 0;
    transform: skewX(-20deg);
}

.fleet-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;

    background: linear-gradient(
        to bottom,
        #6c0207 0%,
        #ff000a 40%,
        #ff000a 50%,
        #ff000a 60%,
        #6c0207 100%
    );
    background-size: 100% 200%;

    /* Agregamos 'alternate' al final para que suba y baje */
    animation: borderGlowUpDown 2s ease-in-out infinite alternate;
}

/* Compensar el texto interno para mantener la lectura recta */
.fleet-item > * {
    transform: skewX(20deg);
}

@keyframes borderGlowUpDown {
    0% {
        background-position: 0% 100%; /* Inicia abajo */
    }
    100% {
        background-position: 0% 0%; /* Sube hasta arriba */
    }
}

.fleet-item h4 {
    font-size: 17px;
    color: var(--red);
    margin: 0 0 8px 0;
    font-weight: 700;
    transform: skewX(20deg);
}

.fleet-item p {
    font-size: 13px;
    color: var(--black);
    margin: 0;
    line-height: 1.5;
    transform: skewX(20deg);
}

.container-inner {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 4rem;
    border-radius: 8px;
    margin-bottom: 7rem;
}

/* --- Adaptabilidad Responsive --- */
@media (max-width: 992px) {
    .quienes-somos-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .corporate-info-grid {
        grid-template-columns: 1fr;
    }

    .quienes-somos-section .section-title {
        font-size: 34px;
    }

    .container-inner {
        padding: 2rem;
    }
}
