/* 
   Estilos Personalizados - Sistema Municipal Anticorrupción (SMA) 
   Tlalnepantla de Baz 2025-2027
*/

/* 1. CARGA DE FUENTE MONTSERRAT (TODOS LOS PESOS) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* 2. ENFORZAMIENTO UNIVERSAL DE TIPOGRAFÍA (MONTSERRAT) */
body, h1, h2, h3, h4, h5, h6, p, span, li, td, th, div, a, button, input, textarea, * {
    font-family: 'Montserrat', sans-serif !important;
}

/* 3. HERO SECTION */
.transparencia-hero-content {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.transparencia-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
    color: #842544;
    font-size: 2.5rem !important; 
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 2px 4px rgba(255,255,255,0.5);
}

.transparencia-description {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.25rem !important;
    line-height: 1.6;
    color: #000;
    font-weight: 700;
    text-align: justify;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .transparencia-title { font-size: 1.7rem !important; }
    .transparencia-hero-content { padding: 1.5rem; min-height: auto; margin-bottom: 1rem; }
}

/* 4. TARJETAS / CARRUSEL SMA */
.testimonial-section {
    background-color: #faf8f5 !important;
    padding: 50px 0 120px !important;
    position: relative;
}

.testimonial-block .inner-box {
    background: #ffffff !important;
    border: 2px solid rgba(132, 37, 67, 0.1) !important;
    border-radius: 35px !important;
    box-shadow: 0 20px 50px rgba(132, 37, 67, 0.06) !important;
    padding: 3rem 4.5rem !important;
    min-height: auto !important;
    height: auto !important;
    margin-top: 1.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-block .inner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(132, 37, 67, 0.1) !important;
}

.testimonial-block .name {
    font-family: 'Montserrat', sans-serif !important;
    color: #842544 !important;
    font-weight: 800 !important;
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    margin-bottom: 1.5rem !important;
    text-transform: uppercase;
    text-align: center;
}

.testimonial-block .text {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.2rem !important;
    line-height: 1.75 !important;
    color: #2b2331 !important;
    font-weight: 500 !important; /* Ajustado de 600 a 500 para que no se vea en negritas */
    text-align: left !important;
    margin-bottom: 0 !important;
}

.testimonial-block .text ul {
    list-style: none;
    padding-left: 30px;
}

.testimonial-block .text ol {
    list-style: decimal;
    padding-left: 40px;
    margin-bottom: 0;
}

.testimonial-block .text li {
    margin-bottom: 15px;
    position: relative;
}

.testimonial-block .text ul li:before {
    content: "\2022"; 
    color: #842544;
    font-size: 1.8rem;
    position: absolute;
    left: -25px;
    top: -10px;
}

.testimonial-section .thumb-layer { display: none !important; }
.testimonial-block .info-box { display: none !important; }

/* 5. RESPONSIVIDAD MÓVIL */
@media (max-width: 991px) {
    .transparencia-hero { padding: 40px 0; min-height: auto; }
    .transparencia-title { font-size: 1.8rem !important; margin-bottom: 1rem !important; }
    .transparencia-description { text-align: center; }
    .testimonial-block .inner-box { padding: 2rem 1.5rem !important; border-radius: 25px !important; }
    .testimonial-block .name { font-size: 1.35rem !important; }
    .testimonial-block .text { font-size: 1rem !important; }
}

@media (max-width: 576px) {
    .container, .large-container, .owl-carousel, .owl-stage-outer { 
        width: 100% !important; 
        max-width: 100vw !important; 
        padding-left: 10px !important; 
        padding-right: 10px !important; 
        margin: 0 auto !important;
        overflow: hidden !important; 
    }
    
    .testimonial-section { padding: 30px 0 80px !important; overflow: hidden; }

    .transparencia-hero { background-position: center !important; }
    .transparencia-hero-content { 
        padding: 0 !important; 
        background: none !important; 
        border: none !important; 
        box-shadow: none !important;
        margin: 0 !important;
        min-height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .transparencia-title { 
        font-size: 1.5rem !important; 
        color: #842544 !important; 
        text-shadow: none !important;
    }
    .transparencia-description { 
        font-size: 0.9rem !important; 
        background: none !important; 
        padding: 0 !important;
        color: #000 !important;
        text-shadow: none !important;
        font-weight: 700 !important;
    }
    
    .testimonial-block .inner-box { 
        padding: 1.2rem 1rem !important; 
        margin: 0 !important; 
        width: auto !important;
        border-radius: 20px !important; 
    }
    .testimonial-block .name { font-size: 1rem !important; margin-bottom: 0.8rem !important; }
    .testimonial-block .text { font-size: 0.8rem !important; line-height: 1.4 !important; }
    .testimonial-block .text ol, .testimonial-block .text ul { padding-left: 15px !important; }
    .testimonial-block .text ul li:before { font-size: 1.1rem; left: -16px; top: -3px; }
}

/* 6. OTROS AJUSTES (ICONOS) */
.menu-icon i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}
.menu-icon.rotated i {
    transform: rotate(90deg);
}

/* 7. REDISEÑO DE FLECHAS DE NAVEGACIÓN (CARRUSEL SMA) */
.testimonial-carousel .owl-nav {
    bottom: 70px !important;
    position: absolute !important;
    right: 75px !important;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    background-color: #ffffff !important;
    border: 2px solid rgba(133, 38, 67, 0.3) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(133, 38, 67, 0.1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    background-color: #852643 !important;
    border-color: #852643 !important;
    box-shadow: 0 8px 20px rgba(133, 38, 67, 0.3) !important;
    transform: translateY(-2px);
}

.arrow-left, .arrow-right {
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: background-image 0.3s ease !important;
}

/* Icono flecha izquierda (guinda por defecto, blanco en hover) */
.arrow-left {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23852643" width="24" height="24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"/></svg>') !important;
}
.owl-prev:hover .arrow-left {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff" width="24" height="24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"/></svg>') !important;
}

/* Icono flecha derecha (guinda por defecto, blanco en hover) */
.arrow-right {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23852643" width="24" height="24"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg>') !important;
}
.owl-next:hover .arrow-right {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff" width="24" height="24"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg>') !important;
}

