/* Estilos generales para la sección de detalle del estado */
.state-detail-section {
    padding: 60px 0;
    background-color: var(--light-gray); /* Fondo suave */
}

.state-detail-section .container {
    max-width: 900px; /* Ancho máximo para el contenido principal */
    margin: 0 auto;
    padding: 0 15px;
}

.state-detail-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.state-detail-section .section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.state-detail-section .section-header p {
    font-size: 1.1rem;
    color: var(--light-black);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Estilos para el contenedor principal del contenido del estado */
.state-content {
    background-color: var(--pure-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.state-content .state-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.state-content h3 {
    font-size: 2rem;
    color: var(--dark-black);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-blue);
    padding-bottom: 10px;
}

.state-content ul {
    list-style: none; /* Quita los puntos de la lista por defecto */
    padding: 0;
    margin-bottom: 30px;
}

.state-content ul li {
    font-size: 1.05rem;
    color: var(--light-black);
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px; /* Espacio para el icono personalizado */
}

.state-content ul li::before {
    content: "\f058"; /* Icono de check-circle de Font Awesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary-blue);
    position: absolute;
    left: 0;
    top: 2px;
}

/* Estilos para la información de contacto específica del estado */
.contact-info-state {
    background-color: var(--light-blue);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-gray);
    margin-top: 30px;
}

.contact-info-state p {
    font-size: 1.05rem;
    color: var(--dark-black);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info-state p i {
    color: var(--primary-blue);
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-info-state p:last-child {
    margin-bottom: 0; /* Elimina el margen inferior del último párrafo */
    font-style: italic;
    color: var(--text-gray);
    margin-top: 15px;
    border-top: 1px dashed var(--border-gray);
    padding-top: 10px;
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
    .state-detail-section {
        padding: 40px 0;
    }

    .state-detail-section .section-header h2 {
        font-size: 2.2rem;
    }

    .state-detail-section .section-header p {
        font-size: 1rem;
    }

    .state-content {
        padding: 20px;
    }

    .state-content h3 {
        font-size: 1.7rem;
    }

    .state-content ul li,
    .contact-info-state p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .state-detail-section {
        padding: 30px 0;
    }

    .state-detail-section .section-header h2 {
        font-size: 1.8rem;
    }

    .state-detail-section .section-header p {
        font-size: 0.9rem;
    }

    .state-content {
        padding: 15px;
    }

    .state-content h3 {
        font-size: 1.5rem;
    }

    .state-content ul li,
    .contact-info-state p {
        font-size: 0.9rem;
    }
}
