/* ==========================================================================
   HOJA DE ESTILOS EXCLUSIVA - PÁGINA NOSOTROS RESPONSIVE
   ========================================================================== */
.alimar-nosotros-section {
    width: 100%;
    min-height: calc(100vh - 70px); 
    position: relative;
    margin-top: 70px; 
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--azul-oscuro);
}

.nosotros-bg-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    display: block;
}

.nosotros-bg-fallback {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #1a1a1a;
    z-index: 1;
}

.nosotros-content-container {
    width: 100%;
    max-width: 1400px; 
    margin: 0 auto;
    padding: 60px 50px;
    box-sizing: border-box;
    position: relative;
    z-index: 5; 
    display: flex;
    align-items: center;
    justify-content: flex-start; 
}

.nosotros-info-card {
    background-color: rgba(4, 24, 51, 0.94); 
    width: 100%;
    max-width: 680px; 
    padding: 55px 50px;
    box-sizing: border-box;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nosotros-card-title {
    font-family: var(--fuente-titulos) !important;
    color: var(--verde-alimar);
    font-size: 52px; 
    line-height: 1;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 400 !important;
    margin: 0 0 30px 0;
    letter-spacing: 0.5px;
    white-space: nowrap; 
}

.nosotros-card-text p {
    font-family: 'Montserrat', sans-serif;
    color: var(--blanco);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
    font-weight: 400;
    opacity: 0.95;
}

/* ==========================================================================
   SECCIÓN 2: GRID DE MISIÓN Y VISIÓN
   ========================================================================== */
.nosotros-mv-section {
    width: 100%;
    background-color: var(--azul-oscuro); 
    padding: 100px 20px; 
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mv-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    max-width: 1100px; 
    margin: 0 auto;
    width: 100%;
    gap: 0;
}

.mv-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left; 
    padding: 0 8%;
    box-sizing: border-box;
}

.mv-icon-wrapper {
    width: 110px;
    height: 110px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start; 
}

.mv-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.mv-icon-placeholder {
    font-size: 50px;
    color: var(--verde-alimar);
}

.mv-block:nth-child(1) {
    border-right: 1px solid rgba(255, 255, 255, 0.3); 
}

.mv-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--blanco);
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
}

.mv-text {
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    max-width: 100%; 
}

/* ==========================================================================
   SECCIÓN 3: VALORES CORPORATIVOS
   ========================================================================== */
.nosotros-valores-section {
    width: 100%;
    background-color: var(--blanco); 
    padding: 100px 20px 120px 20px;
    box-sizing: border-box;
}

.valores-global-wrapper {
    width: 100%;
    max-width: 1100px; 
    margin: 0 auto;
}

.valores-main-section-title {
    font-family: var(--fuente-titulos) !important;
    color: var(--azul-oscuro);
    font-size: 46px;
    line-height: 1.1;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 400 !important;
    text-align: center;
    margin: 0 0 75px 0;
    letter-spacing: 0.5px;
}

.valores-flex-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.valor-single-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.valor-icon-box {
    width: 115px;
    height: 115px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.valor-icon-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.valor-icon-fallback {
    font-size: 50px;
    color: var(--verde-alimar);
}

.valor-item-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--azul-oscuro);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.valor-item-description {
    font-family: 'Montserrat', sans-serif;
    color: #444444; 
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 100%;
    font-weight: 500;
}

.valor-connector-line {
    flex: 1;
    max-width: 120px; 
    height: 4px; 
    margin-top: 55px; 
    background: linear-gradient(to right, rgba(65, 155, 36, 0) 0%, rgba(65, 155, 36, 1) 50%, rgba(65, 155, 36, 0) 100%);
    border-radius: 50%; 
    filter: drop-shadow(0px 3px 4px rgba(65, 155, 36, 0.45));
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVA TOTAL
   ========================================================================== */
@media (max-width: 1199px) {
    .nosotros-card-title {
        white-space: normal; 
        font-size: 42px;
    }
    .valores-main-section-title { font-size: 36px; }
    .valor-connector-line { max-width: 70px; } 
}

@media (max-width: 991px) {
    .alimar-nosotros-section {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        height: auto;
        min-height: calc(100vh - 60px);
        margin-top: 60px;
        padding: 40px 0;
    }

    .nosotros-bg-cover {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .alimar-nosotros-section::before {
        content: "";
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background-color: rgba(4, 24, 51, 0.75);
        z-index: 2;
        pointer-events: none;
    }

    .nosotros-content-container {
        padding: 30px 20px;
        justify-content: center;
        width: 100%;
        z-index: 5;
    }

    .nosotros-info-card {
        max-width: 100%;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
        border: none;
    }

    .nosotros-card-title {
        font-size: 28px;
        margin-bottom: 20px;
        text-align: center;
        white-space: normal;
    }
    
    .nosotros-card-text p {
        font-size: 14px;
        text-align: center;
        line-height: 1.6;
    }

    /* Misión y Visión Mobile */
    .nosotros-mv-section { padding: 60px 20px; }
    .mv-container { grid-template-columns: 1fr; gap: 60px; }
    .mv-block { padding: 0 10px; align-items: center; text-align: center; }
    .mv-icon-wrapper { align-self: center; }
    .mv-block:nth-child(1) { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 50px; }
    .mv-icon-wrapper { width: 90px; height: 90px; margin-bottom: 20px; }
    .mv-title { font-size: 22px; margin-bottom: 15px; }

    /* Valores Mobile */
    .nosotros-valores-section { padding: 60px 20px; }
    .valores-main-section-title { font-size: 26px; margin-bottom: 45px; }
    .valores-flex-grid { flex-direction: column; gap: 40px; align-items: center; }
    .valor-connector-line { display: none !important; }
    .valor-single-item { width: 100%; }
    .valor-icon-box { width: 95px; height: 90px; margin-bottom: 15px; }
    .valor-item-title { font-size: 20px; margin-bottom: 10px; }
    .valor-item-description { font-size: 14px; }
}