/* ========================================================
   ESTILOS CSS PARA MISIÓN Y VISIÓN - VERSIÓN SIN ANIMACIONES
   Color principal: #004d99
   ======================================================== */

/* RESET ESPECÍFICO PARA ESTA PÁGINA */
.mv-section-padding {
    padding: 5rem 0;
}

.mv-bg-light {
    background-color: #f8f9fa;
}

.mv-bg-primary {
    background: linear-gradient(135deg, #004d99 0%, #003366 100%);
    color: white;
}

/* HERO SECTION */
.mv-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 77, 153, 0.8)), 
                url('../img/mision-vision/portada.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 50vh;
    display: flex;
    align-items: center;
    margin-top: -20px;
}

.mv-hero-overlay {
    width: 100%;
    padding: 4rem 0;
}

.mv-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.mv-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.mv-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mv-hero-breadcrumb {
    font-size: 1.1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mv-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.mv-hero-breadcrumb a:hover {
    color: #ff9900;
}

.mv-hero-breadcrumb span {
    color: #ff9900;
    font-weight: 600;
}

.mv-hero-breadcrumb i {
    margin: 0 10px;
    opacity: 0.7;
}

/* HEADER DE SECCIONES */
.mv-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.mv-section-subtitle {
    color: #004d99;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.mv-bg-primary .mv-section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.mv-section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #003366;
    text-align: center;
}

.mv-bg-primary .mv-section-title {
    color: white;
}

.mv-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ff9900;
    border-radius: 2px;
    margin: 1rem auto;
}

.mv-bg-primary .mv-section-title::after {
    background-color: white;
}

.mv-section-description {
    color: #666666;
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
}

.mv-bg-primary .mv-section-description {
    color: rgba(255, 255, 255, 0.9);
}

/* TARJETAS DE MISIÓN Y VISIÓN */
.mv-mision-card, .mv-vision-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 77, 153, 0.1);
    border: 1px solid rgba(0, 77, 153, 0.1);
    height: 100%;
    position: relative;
}

.mv-mision-card::before, .mv-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #004d99, #ff9900);
}

.mv-vision-card::before {
    background: linear-gradient(to bottom, #ff9900, #004d99);
}

.mv-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #004d99 0%, #003366 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    /* Usar iconos locales */
    background-image: url('../icons/mision-icon.svg');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.mv-vision-card .mv-card-icon {
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    background-image: url('../icons/vision-icon.svg');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.mv-card-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.mv-card-subtitle {
    color: #ff9900;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mv-card-content {
    margin-bottom: 2rem;
}

.mv-card-content p {
    color: #333333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.mv-card-content p:last-child {
    margin-bottom: 0;
}

.mv-card-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.mv-highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #333333;
}

.mv-highlight-item i {
    color: #004d99;
    font-size: 1.2rem;
    width: 30px;
    /* Iconos locales para highlights */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Iconos específicos para highlights */
.mv-highlight-item:nth-child(1) i {
    background-image: url('../icons/check-circle.svg');
}

.mv-highlight-item:nth-child(2) i {
    background-image: url('../icons/target.svg');
}

.mv-highlight-item:nth-child(3) i {
    background-image: url('../icons/users.svg');
}

.mv-highlight-item:nth-child(4) i {
    background-image: url('../icons/shield.svg');
}

.mv-vision-card .mv-highlight-item i {
    color: #ff9900;
}

/* Iconos específicos para visión */
.mv-vision-card .mv-highlight-item:nth-child(1) i {
    background-image: url('../icons/eye.svg');
}

.mv-vision-card .mv-highlight-item:nth-child(2) i {
    background-image: url('../icons/star.svg');
}

.mv-vision-card .mv-highlight-item:nth-child(3) i {
    background-image: url('../icons/trending-up.svg');
}

.mv-vision-card .mv-highlight-item:nth-child(4) i {
    background-image: url('../icons/award.svg');
}

/* IMÁGENES */
.mv-mision-image, .mv-vision-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mv-mision-image img, .mv-vision-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Imágenes específicas para misión y visión */
.mv-mision-image img {
    content: url('../img/mision-vision/mision-imagen.jpg');
}

.mv-vision-image img {
    content: url('../img/mision-vision/vision-imagen.jpg');
}

.mv-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 77, 153, 0.9), transparent);
    color: white;
    padding: 2rem;
}

.mv-image-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.mv-image-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

/* VALORES */
.mv-values-container, .mv-objectives-container {
    margin-top: 3rem;
}

.mv-values-title, .mv-objectives-title {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 2rem;
    text-align: center;
}

.mv-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.mv-value-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 77, 153, 0.05);
    border: 1px solid #e0e0e0;
}

.mv-value-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 77, 153, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #004d99;
    font-size: 1.8rem;
    /* Iconos locales para valores */
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Iconos específicos para valores */
.mv-value-item:nth-child(1) .mv-value-icon {
    background-image: url('../icons/integridad.svg');
}

.mv-value-item:nth-child(2) .mv-value-icon {
    background-image: url('../icons/transparencia.svg');
}

.mv-value-item:nth-child(3) .mv-value-icon {
    background-image: url('../icons/compromiso.svg');
}

.mv-value-item:nth-child(4) .mv-value-icon {
    background-image: url('../icons/innovacion.svg');
}

.mv-value-item:nth-child(5) .mv-value-icon {
    background-image: url('../icons/excelencia.svg');
}

.mv-value-item:nth-child(6) .mv-value-icon {
    background-image: url('../icons/sostenibilidad.svg');
}

.mv-value-item h5 {
    color: #003366;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.mv-value-item p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* OBJETIVOS */
.mv-objectives-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mv-objective-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 77, 153, 0.05);
    border: 1px solid #e0e0e0;
}

.mv-objective-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #004d99 0%, #003366 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.mv-objective-content h5 {
    color: #003366;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.mv-objective-content p {
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

/* COMPROMISO */
.mv-compromiso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mv-compromiso-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 77, 153, 0.08);
    border: 1px solid rgba(0, 77, 153, 0.1);
}

.mv-compromiso-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #004d99 0%, #003366 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    /* Iconos locales para compromiso */
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Iconos específicos para compromiso */
.mv-compromiso-item:nth-child(1) .mv-compromiso-icon {
    background-image: url('../icons/ciudadania.svg');
}

.mv-compromiso-item:nth-child(2) .mv-compromiso-icon {
    background-image: url('../icons/desarrollo.svg');
}

.mv-compromiso-item:nth-child(3) .mv-compromiso-icon {
    background-image: url('../icons/medio-ambiente.svg');
}

.mv-compromiso-item:nth-child(4) .mv-compromiso-icon {
    background-image: url('../icons/equidad.svg');
}

.mv-compromiso-item h4 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.mv-compromiso-item p {
    color: #666666;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* FRASE INSPIRADORA */
.mv-frase-container {
    max-width: 800px;
    margin: 0 auto;
}

.mv-frase-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    /* Icono de comillas local */
    background-image: url('../icons/comillas.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.mv-frase-text {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic;
    color: white;
}

.mv-frase-author p {
    margin: 0.3rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.mv-frase-author p:first-child {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Firma del alcalde/imagen */
.mv-firma-alcalde {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mv-firma-imagen {
    width: 150px;
    height: 80px;
    background-image: url('../img/mision-vision/firma-alcalde.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 1rem;
}

/* BOTÓN SCROLL TOP */
.mv-btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #004d99;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 77, 153, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Icono de flecha arriba */
    background-image: url('../icons/arrow-up.svg');
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

.mv-btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.mv-btn-scroll-top:hover {
    background: #003366;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .mv-hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .mv-hero-title {
        font-size: 2.5rem;
    }
    
    .mv-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .mv-section-title {
        font-size: 2.2rem;
    }
    
    .mv-card-title {
        font-size: 2rem;
    }
    
    .mv-mision-card, .mv-vision-card {
        padding: 2rem;
    }
    
    .mv-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mv-hero-title {
        font-size: 2rem;
    }
    
    .mv-hero-subtitle {
        font-size: 1rem;
    }
    
    .mv-section-title {
        font-size: 2rem;
    }
    
    .mv-card-title {
        font-size: 1.8rem;
    }
    
    .mv-mision-image img, .mv-vision-image img {
        height: 300px;
    }
    
    .mv-values-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-compromiso-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-frase-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .mv-hero-title {
        font-size: 1.8rem;
    }
    
    .mv-hero {
        min-height: 40vh;
    }
    
    .mv-section-padding {
        padding: 3rem 0;
    }
    
    .mv-mision-card, .mv-vision-card {
        padding: 1.5rem;
    }
    
    .mv-card-highlights {
        flex-direction: column;
    }
    
    .mv-objective-item {
        flex-direction: column;
        text-align: center;
    }
    
    .mv-objective-number {
        margin: 0 auto;
    }
    
    .mv-frase-text {
        font-size: 1.3rem;
    }
    
    .mv-firma-imagen {
        width: 120px;
        height: 60px;
    }
}