/* ============================================================
   MISIÓN, VISIÓN Y VALORES 
   ============================================================ */

.mv-page {
    background: #ffffff;
    min-height: auto;
}

/* --- SEGUIMIENTO (BREADCRUMBS) SUTIL --- */
.mv-breadcrumb-subtle {
    padding: 0 !important;
    margin-bottom: 20px !important;
}

.mv-breadcrumb-subtle a, 
.mv-breadcrumb-subtle span, 
.mv-breadcrumb-subtle li {
    font-size: 14px !important;
    color: #686868;
    text-decoration: none;
}

.mv-breadcrumb-subtle .current, 
.mv-breadcrumb-subtle b {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* ---- Tabs (Mismo ancho que el container) ---- */
.mv-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid #dedede;
    background: #fff;
}

.mv-tab {
    padding: 20px 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #686868;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    border-right: 1px solid #dedede;
    position: relative;
}

.mv-tab:last-child { border-right: none; }

.mv-tab.active {
    background: #fdfdfd;
    color: #000;
}

.mv-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #B80201;
}

/* ---- Panel de Contenido ---- */
.mv-panel { 
    display: none; 
    margin-bottom: 50px; /* <-- Agrega esta línea para estandarizar el espacio */
}
.mv-panel.active { 
    display: block; 
    animation: mv-fadein 0.3s ease; 
}
@keyframes mv-fadein {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Grid de Contenido (Texto + Imagen) ---- */
.mv-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px; /* Ancho de imagen controlado */
    gap: 30px;
    align-items: start;
}

.mv-text-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px;
}

.mv-text-card__body {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.mv-text-card__body p { margin-bottom: 16px; text-align: justify; }

/* ---- Tarjeta de Imagen ---- */
.mv-img-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
}

.mv-img-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.mv-img-card__caption {
    padding: 12px 16px;
    font-size: 12px;
    color: #686868;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #eee;
}

/* ---- Grid de Valores ---- */
.mv-valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mv-valor-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
}

.mv-valor-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(184,2,1,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: #B80201;
}

.mv-valor-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.mv-valor-card__text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .mv-content-grid { grid-template-columns: 1fr; }
    .mv-valores-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .mv-valores-grid { grid-template-columns: 1fr; }
    .mv-tabs { grid-template-columns: 1fr; }
    .mv-tab { border-right: none; border-bottom: 1px solid #dedede; }
}
