/* Estilos específicos para la página del Centro Integral de la Mujer (cim.html) */

.hero.cim-hero {
    padding: 4rem 2rem;
    background: linear-gradient(rgba(139, 26, 26, 0.92), rgba(139, 26, 26, 0.92)), 
                #892217;
    text-align: center;
}

.quick-access.cim-section {
    background: var(--blanco);
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.cim-container {
    max-width: 1000px;
    margin: 0 auto;
    display: block;
}

.cim-info {
    width: 100%;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--negro);
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-left: none;
    box-shadow: none;
}

.cim-info h3 {
    color: var(--verde-oscuro);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--dorado);
    padding-bottom: 0.5rem;
}

.cim-info h3:first-child {
    margin-top: 0;
}

.cim-info h4 {
    color: var(--verde-oscuro);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cim-info ul {
    margin-bottom: 1.5rem;
    list-style-type: none;
    padding-left: 0;
}

.cim-info ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.cim-info ul li::before {
    content: "•";
    color: var(--dorado);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1.5rem;
}

.cim-info strong {
    color: var(--verde-oscuro);
    font-weight: 700;
}

.cim-img-container {
    margin: 0 auto 3rem;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cim-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border: 3px solid var(--verde-oscuro);
    object-fit: cover;
}

.cim-img-caption {
    font-size: 0.9rem;
    color: var(--gris-medio);
    font-style: italic;
    text-align: center;
}

.whatsapp-cim {
    background: #25D366;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    transition: transform 0.3s ease;
}

.wsp-icon-small {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.whatsapp-cim:hover {
    transform: scale(1.05);
}

body.dark-theme .hero.cim-hero {
    background: linear-gradient(rgba(5,10,20,0.92), rgba(5,10,20,0.92)), #0b1220;
}

body.dark-theme .quick-access.cim-section {
    background: #0d121c;
}

body.dark-theme .cim-info {
    color: #e8eff9;
}

body.dark-theme .cim-info h3,
body.dark-theme .cim-info h4 {
    color: #f4f7fb;
}

body.dark-theme .cim-info h3 {
    border-bottom-color: #b8945f;
}

body.dark-theme .cim-info strong {
    color: #d4b871;
}

body.dark-theme .cim-info ul li::before {
    color: #b8945f;
}

body.dark-theme .cim-img-container {
    background: transparent;
}

body.dark-theme .cim-img {
    border-color: rgba(184,148,95,0.25);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}

body.dark-theme .cim-img-caption {
    color: #9bacce;
}

body.dark-theme .whatsapp-cim {
    background: #1f8f4f;
    color: #f4f7fb !important;
}

body.dark-theme .whatsapp-cim:hover {
    transform: scale(1.05);
    background: #239a55;
}

body.dark-theme .footer-professional {
    background: #10151d;
    border-top-color: #b8945f;
}

body.dark-theme .footer-tooltip,
body.dark-theme .footer-links-section a,
body.dark-theme .footer-info-section p,
body.dark-theme .footer-bottom {
    color: #b8c4d1;
}

body.dark-theme .footer-links-section a:hover {
    color: #d4b871;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .cim-img-container {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}
